pokecrystal/maps/Route8.asm

200 lines
4.2 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const ROUTE8_BIKER1
const ROUTE8_BIKER2
const ROUTE8_BIKER3
const ROUTE8_SUPER_NERD1
const ROUTE8_SUPER_NERD2
const ROUTE8_FRUIT_TREE
2015-07-10 08:20:21 +00:00
Route8_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:20:21 +00:00
TrainerBikerDwayne:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_BIKER_DWAYNE, BIKER, DWAYNE, BikerDwayneSeenText, BikerDwayneBeatenText, 0, BikerDwayneScript
2015-07-10 08:20:21 +00:00
BikerDwayneScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c0c8
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerBikerHarris:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_BIKER_HARRIS, BIKER, HARRIS, BikerHarrisSeenText, BikerHarrisBeatenText, 0, BikerHarrisScript
2015-07-10 08:20:21 +00:00
BikerHarrisScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c143
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerBikerZeke:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_BIKER_ZEKE, BIKER, ZEKE, BikerZekeSeenText, BikerZekeBeatenText, 0, BikerZekeScript
2015-07-10 08:20:21 +00:00
BikerZekeScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c1a3
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSupernerdSam:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SUPER_NERD_SAM, SUPER_NERD, SAM, SupernerdSamSeenText, SupernerdSamBeatenText, 0, SupernerdSamScript
2015-07-10 08:20:21 +00:00
SupernerdSamScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c219
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSupernerdTom:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SUPER_NERD_TOM, SUPER_NERD, TOM, SupernerdTomSeenText, SupernerdTomBeatenText, 0, SupernerdTomScript
2015-07-10 08:20:21 +00:00
SupernerdTomScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c27e
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2016-04-07 04:59:45 +00:00
Route8LockedDoor:
jumptext Route8LockedDoorText
2016-04-07 04:59:45 +00:00
Route8UndergroundPathSign:
jumptext Route8UndergroundPathSignText
2015-07-10 08:20:21 +00:00
FruitTreeScript_0x6c06c:
2015-11-18 15:42:42 +00:00
fruittree FRUITTREE_ROUTE_8
2015-07-10 08:20:21 +00:00
BikerDwayneSeenText:
text "We're the KANTO"
line "#MON FEDERATION"
cont "trainer group."
para "We'll drive you"
line "under our wheels!"
done
2015-07-10 08:20:21 +00:00
BikerDwayneBeatenText:
text "S-sorry!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6c0c8:
text "The KANTO #MON"
line "FEDERATION will"
cont "never fall!"
done
2015-07-10 08:20:21 +00:00
BikerHarrisSeenText:
text "The cops shut down"
line "our UNDERGROUND"
para "PATH! That really"
line "fries me!"
done
2015-07-10 08:20:21 +00:00
BikerHarrisBeatenText:
text "F-forgive me!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6c143:
text "Wiped out by some"
line "punk from JOHTO…"
done
2015-07-10 08:20:21 +00:00
BikerZekeSeenText:
text "We're the KANTO"
line "#MON FEDERA-"
cont "TION!"
cont "Right on!"
done
2015-07-10 08:20:21 +00:00
BikerZekeBeatenText:
text "Yikes! Sorry!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6c1a3:
text "We'll try not to"
line "disturb anyone"
cont "from now on…"
done
2015-07-10 08:20:21 +00:00
SupernerdSamSeenText:
text "How does the MAG-"
line "NET TRAIN work?"
done
2015-07-10 08:20:21 +00:00
SupernerdSamBeatenText:
text "I just want to see"
line "the MAGNET TRAIN…"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6c219:
text "The power of mag-"
line "nets is awesome!"
done
2015-07-10 08:20:21 +00:00
SupernerdTomSeenText:
text "Hm… You've got"
line "many GYM BADGES."
done
2015-07-10 08:20:21 +00:00
SupernerdTomBeatenText:
text "Just as I thought…"
line "You're tough!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6c27e:
text "GYM BADGES give"
line "you advantages in"
cont "battles."
done
2016-04-07 04:59:45 +00:00
Route8LockedDoorText:
text "It's locked…"
done
2016-04-07 04:59:45 +00:00
Route8UndergroundPathSignText:
text "The flyer's torn."
para "It's impossible to"
line "read…"
done
2015-07-10 08:20:21 +00:00
Route8_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $4, $4, 3, ROUTE_8_SAFFRON_GATE
warp_def $5, $4, 4, ROUTE_8_SAFFRON_GATE
.XYTriggers:
db 0
.Signposts:
db 2
2016-04-07 04:59:45 +00:00
signpost 7, 11, SIGNPOST_READ, Route8UndergroundPathSign
signpost 5, 10, SIGNPOST_READ, Route8LockedDoor
.PersonEvents:
db 6
person_event SPRITE_BIKER, 8, 10, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 5, TrainerBikerDwayne, -1
person_event SPRITE_BIKER, 9, 10, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 5, TrainerBikerHarris, -1
person_event SPRITE_BIKER, 10, 10, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 5, TrainerBikerZeke, -1
person_event SPRITE_SUPER_NERD, 2, 23, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 3, TrainerSupernerdSam, -1
person_event SPRITE_SUPER_NERD, 12, 31, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 4, TrainerSupernerdTom, -1
person_event SPRITE_FRUIT_TREE, 5, 33, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FruitTreeScript_0x6c06c, -1