pokecrystal/maps/Route8.asm

272 lines
4.7 KiB
NASM
Raw Normal View History

2015-07-10 08:20:21 +00:00
Route8_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 08:20:21 +00:00
TrainerBikerDwayne:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_BIKER_DWAYNE
; trainer group && trainer id
db BIKER, DWAYNE
; text when seen
dw BikerDwayneSeenText
; text when trainer beaten
dw BikerDwayneBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerDwayneScript
2015-07-10 08:20:21 +00:00
BikerDwayneScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c0c8
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerBikerHarris:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_BIKER_HARRIS
; trainer group && trainer id
db BIKER, HARRIS
; text when seen
dw BikerHarrisSeenText
; text when trainer beaten
dw BikerHarrisBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerHarrisScript
2015-07-10 08:20:21 +00:00
BikerHarrisScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c143
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerBikerZeke:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_BIKER_ZEKE
; trainer group && trainer id
db BIKER, ZEKE
; text when seen
dw BikerZekeSeenText
; text when trainer beaten
dw BikerZekeBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerZekeScript
2015-07-10 08:20:21 +00:00
BikerZekeScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c1a3
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerSupernerdSam:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_SUPER_NERD_SAM
; trainer group && trainer id
db SUPER_NERD, SAM
; text when seen
dw SupernerdSamSeenText
; text when trainer beaten
dw SupernerdSamBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdSamScript
2015-07-10 08:20:21 +00:00
SupernerdSamScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c219
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerSupernerdTom:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_SUPER_NERD_TOM
; trainer group && trainer id
db SUPER_NERD, TOM
; text when seen
dw SupernerdTomSeenText
; text when trainer beaten
dw SupernerdTomBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdTomScript
2015-07-10 08:20:21 +00:00
SupernerdTomScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6c27e
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
MapRoute8Signpost1Script:
jumptext UnknownText_0x6c2aa
2015-07-10 08:20:21 +00:00
MapRoute8Signpost0Script:
jumptext UnknownText_0x6c2b7
2015-07-10 08:20:21 +00:00
FruitTreeScript_0x6c06c:
fruittree $1b
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
2015-07-10 08:20:21 +00:00
UnknownText_0x6c2aa:
text "It's locked…"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6c2b7:
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, GROUP_ROUTE_8_SAFFRON_GATE, MAP_ROUTE_8_SAFFRON_GATE
warp_def $5, $4, 4, GROUP_ROUTE_8_SAFFRON_GATE, MAP_ROUTE_8_SAFFRON_GATE
; xy triggers
db 0
; signposts
db 2
signpost 7, 11, SIGNPOST_READ, MapRoute8Signpost0Script
signpost 5, 10, SIGNPOST_READ, MapRoute8Signpost1Script
; people-events
db 6
person_event SPRITE_BIKER, 12, 14, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_RED << 4) | $82, 5, TrainerBikerDwayne, -1
person_event SPRITE_BIKER, 13, 14, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 5, TrainerBikerHarris, -1
person_event SPRITE_BIKER, 14, 14, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 5, TrainerBikerZeke, -1
person_event SPRITE_SUPER_NERD, 6, 27, UP << 2 | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 3, TrainerSupernerdSam, -1
person_event SPRITE_SUPER_NERD, 16, 35, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 4, TrainerSupernerdTom, -1
person_event SPRITE_FRUIT_TREE, 9, 37, DOWN << 2 | $1, $0, -1, -1, $0, 0, FruitTreeScript_0x6c06c, -1