mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
100 lines
1.9 KiB
NASM
100 lines
1.9 KiB
NASM
const_value set 2
|
|
const ROUTE18_YOUNGSTER1
|
|
const ROUTE18_YOUNGSTER2
|
|
|
|
Route18_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TrainerBird_keeperBoris:
|
|
trainer EVENT_BEAT_BIRD_KEEPER_BORIS, BIRD_KEEPER, BORIS, Bird_keeperBorisSeenText, Bird_keeperBorisBeatenText, 0, Bird_keeperBorisScript
|
|
|
|
Bird_keeperBorisScript:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext Bird_keeperBorisAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerBird_keeperBob:
|
|
trainer EVENT_BEAT_BIRD_KEEPER_BOB, BIRD_KEEPER, BOB, Bird_keeperBobSeenText, Bird_keeperBobBeatenText, 0, Bird_keeperBobScript
|
|
|
|
Bird_keeperBobScript:
|
|
end_if_just_battled
|
|
opentext
|
|
writetext Bird_keeperBobAfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
Route18Sign:
|
|
jumptext Route18SignText
|
|
|
|
Bird_keeperBorisSeenText:
|
|
text "If you're looking"
|
|
line "for #MON, you"
|
|
|
|
para "have to look in"
|
|
line "the tall grass."
|
|
done
|
|
|
|
Bird_keeperBorisBeatenText:
|
|
text "Ayieee!"
|
|
done
|
|
|
|
Bird_keeperBorisAfterBattleText:
|
|
text "Since you're so"
|
|
line "strong, it must be"
|
|
cont "fun to battle."
|
|
done
|
|
|
|
Bird_keeperBobSeenText:
|
|
text "CYCLING ROAD is a"
|
|
line "quick shortcut to"
|
|
cont "CELADON."
|
|
done
|
|
|
|
Bird_keeperBobBeatenText:
|
|
text "…Whew!"
|
|
done
|
|
|
|
Bird_keeperBobAfterBattleText:
|
|
text "If you don't have"
|
|
line "a BICYCLE, you're"
|
|
|
|
para "not allowed to use"
|
|
line "the shortcut."
|
|
done
|
|
|
|
Route18SignText:
|
|
text "ROUTE 18"
|
|
|
|
para "CELADON CITY -"
|
|
line "FUCHSIA CITY"
|
|
done
|
|
|
|
Route18_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $6, $2, 3, ROUTE_17_18_GATE
|
|
warp_def $7, $2, 4, ROUTE_17_18_GATE
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 5, 9, SIGNPOST_READ, Route18Sign
|
|
|
|
.PersonEvents:
|
|
db 2
|
|
person_event SPRITE_YOUNGSTER, 12, 9, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, TrainerBird_keeperBoris, -1
|
|
person_event SPRITE_YOUNGSTER, 6, 13, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, TrainerBird_keeperBob, -1
|