mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
322 lines
5.1 KiB
NASM
322 lines
5.1 KiB
NASM
Route9_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
TrainerCamperDean:
|
|
; bit/flag number
|
|
dw EVENT_BEAT_CAMPER_DEAN
|
|
|
|
; trainer group && trainer id
|
|
db CAMPER, DEAN
|
|
|
|
; text when seen
|
|
dw CamperDeanSeenText
|
|
|
|
; text when trainer beaten
|
|
dw CamperDeanBeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw CamperDeanScript
|
|
|
|
CamperDeanScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1aafd9
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerPicnickerHeidi:
|
|
; bit/flag number
|
|
dw EVENT_BEAT_PICNICKER_HEIDI
|
|
|
|
; trainer group && trainer id
|
|
db PICNICKER, HEIDI
|
|
|
|
; text when seen
|
|
dw PicnickerHeidiSeenText
|
|
|
|
; text when trainer beaten
|
|
dw PicnickerHeidiBeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw PicnickerHeidiScript
|
|
|
|
PicnickerHeidiScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ab07c
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerCamperSid:
|
|
; bit/flag number
|
|
dw EVENT_BEAT_CAMPER_SID
|
|
|
|
; trainer group && trainer id
|
|
db CAMPER, SID
|
|
|
|
; text when seen
|
|
dw CamperSidSeenText
|
|
|
|
; text when trainer beaten
|
|
dw CamperSidBeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw CamperSidScript
|
|
|
|
CamperSidScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ab0f6
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerPicnickerEdna:
|
|
; bit/flag number
|
|
dw EVENT_BEAT_PICNICKER_EDNA
|
|
|
|
; trainer group && trainer id
|
|
db PICNICKER, EDNA
|
|
|
|
; text when seen
|
|
dw PicnickerEdnaSeenText
|
|
|
|
; text when trainer beaten
|
|
dw PicnickerEdnaBeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw PicnickerEdnaScript
|
|
|
|
PicnickerEdnaScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ab15f
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerHikerTim:
|
|
; bit/flag number
|
|
dw EVENT_BEAT_HIKER_TIM
|
|
|
|
; trainer group && trainer id
|
|
db HIKER, TIM
|
|
|
|
; text when seen
|
|
dw HikerTimSeenText
|
|
|
|
; text when trainer beaten
|
|
dw HikerTimBeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw HikerTimScript
|
|
|
|
HikerTimScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ab210
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerHikerSidney:
|
|
; bit/flag number
|
|
dw EVENT_BEAT_HIKER_SIDNEY
|
|
|
|
; trainer group && trainer id
|
|
db HIKER, SIDNEY
|
|
|
|
; text when seen
|
|
dw HikerSidneySeenText
|
|
|
|
; text when trainer beaten
|
|
dw HikerSidneyBeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw HikerSidneyScript
|
|
|
|
HikerSidneyScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ab278
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
MapRoute9Signpost0Script:
|
|
jumptext UnknownText_0x1ab2a2
|
|
|
|
MapRoute9SignpostItem1:
|
|
dw $00f2
|
|
db ETHER
|
|
|
|
|
|
CamperDeanSeenText:
|
|
text "I came to explore"
|
|
line "ROCK TUNNEL."
|
|
done
|
|
|
|
CamperDeanBeatenText:
|
|
text "Whoa! Danger, man."
|
|
done
|
|
|
|
UnknownText_0x1aafd9:
|
|
text "My #MON were"
|
|
line "hurt before even"
|
|
|
|
para "entering ROCK"
|
|
line "TUNNEL."
|
|
|
|
para "I'd better take"
|
|
line "them to a #MON"
|
|
cont "CENTER right away."
|
|
done
|
|
|
|
PicnickerHeidiSeenText:
|
|
text "Have you ever been"
|
|
line "to a picnic?"
|
|
|
|
para "They're so much"
|
|
line "fun!"
|
|
done
|
|
|
|
PicnickerHeidiBeatenText:
|
|
text "Ohhhh!"
|
|
done
|
|
|
|
UnknownText_0x1ab07c:
|
|
text "We bake lots of"
|
|
line "goodies and share"
|
|
|
|
para "them all around."
|
|
line "They're delicious!"
|
|
done
|
|
|
|
CamperSidSeenText:
|
|
text "Hey, you!"
|
|
line "Don't litter!"
|
|
done
|
|
|
|
CamperSidBeatenText:
|
|
text "I was just point-"
|
|
line "ing out…"
|
|
done
|
|
|
|
UnknownText_0x1ab0f6:
|
|
text "Sorry. You weren't"
|
|
line "littering. It was"
|
|
cont "my mistake."
|
|
done
|
|
|
|
PicnickerEdnaSeenText:
|
|
text "People shouldn't"
|
|
line "leave any litter"
|
|
cont "behind."
|
|
done
|
|
|
|
PicnickerEdnaBeatenText:
|
|
text "Ohh… I lost…"
|
|
done
|
|
|
|
UnknownText_0x1ab15f:
|
|
text "Conserving energy"
|
|
line "is important, but"
|
|
|
|
para "the environment is"
|
|
line "even more vital."
|
|
done
|
|
|
|
HikerTimSeenText:
|
|
text "She'll be coming"
|
|
line "'round MT.SILVER"
|
|
cont "when she comes…"
|
|
|
|
para "MT.SILVER is in"
|
|
line "JOHTO, right?"
|
|
done
|
|
|
|
HikerTimBeatenText:
|
|
text "I was too busy"
|
|
line "singing…"
|
|
done
|
|
|
|
UnknownText_0x1ab210:
|
|
text "Battles are about"
|
|
line "concentration."
|
|
done
|
|
|
|
HikerSidneySeenText:
|
|
text "I'll tell you a"
|
|
line "secret."
|
|
|
|
para "But first, we"
|
|
line "battle!"
|
|
done
|
|
|
|
HikerSidneyBeatenText:
|
|
text "Oh, dang!"
|
|
line "I lost that…"
|
|
done
|
|
|
|
UnknownText_0x1ab278:
|
|
text "The POWER PLANT is"
|
|
line "across a small"
|
|
cont "river."
|
|
done
|
|
|
|
UnknownText_0x1ab2a2:
|
|
text "ROUTE 9"
|
|
|
|
para "CERULEAN CITY -"
|
|
line "ROCK TUNNEL"
|
|
done
|
|
|
|
Route9_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 1
|
|
warp_def $f, $30, 1, GROUP_ROCK_TUNNEL_1F, MAP_ROCK_TUNNEL_1F
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 2
|
|
signpost 7, 15, $0, MapRoute9Signpost0Script
|
|
signpost 15, 41, $7, MapRoute9SignpostItem1
|
|
|
|
; people-events
|
|
db 6
|
|
person_event SPRITE_YOUNGSTER, 15, 27, $8, $0, 255, 255, $a2, 3, TrainerCamperDean, $ffff
|
|
person_event SPRITE_LASS, 12, 43, $a, $0, 255, 255, $a2, 3, TrainerPicnickerHeidi, $ffff
|
|
person_event SPRITE_YOUNGSTER, 8, 15, $a, $0, 255, 255, $a2, 5, TrainerCamperSid, $ffff
|
|
person_event SPRITE_LASS, 19, 16, $7, $0, 255, 255, $a2, 1, TrainerPicnickerEdna, $ffff
|
|
person_event SPRITE_POKEFAN_M, 7, 32, $9, $0, 255, 255, $b2, 2, TrainerHikerTim, $ffff
|
|
person_event SPRITE_POKEFAN_M, 19, 40, $9, $0, 255, 255, $b2, 4, TrainerHikerSidney, $ffff
|