pokecrystal/maps/Route18.asm

100 lines
1.9 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const ROUTE18_YOUNGSTER1
const ROUTE18_YOUNGSTER2
2015-07-10 08:20:21 +00:00
Route18_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:20:21 +00:00
TrainerBird_keeperBoris:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_BIRD_KEEPER_BORIS, BIRD_KEEPER, BORIS, Bird_keeperBorisSeenText, Bird_keeperBorisBeatenText, 0, Bird_keeperBorisScript
2015-07-10 08:20:21 +00:00
Bird_keeperBorisScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext Bird_keeperBorisAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerBird_keeperBob:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_BIRD_KEEPER_BOB, BIRD_KEEPER, BOB, Bird_keeperBobSeenText, Bird_keeperBobBeatenText, 0, Bird_keeperBobScript
2015-07-10 08:20:21 +00:00
Bird_keeperBobScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext Bird_keeperBobAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2016-04-07 04:59:45 +00:00
Route18Sign:
jumptext Route18SignText
2015-07-10 08:20:21 +00:00
Bird_keeperBorisSeenText:
text "If you're looking"
line "for #MON, you"
para "have to look in"
line "the tall grass."
done
2015-07-10 08:20:21 +00:00
Bird_keeperBorisBeatenText:
text "Ayieee!"
done
2017-12-10 20:36:58 +00:00
Bird_keeperBorisAfterBattleText:
text "Since you're so"
line "strong, it must be"
cont "fun to battle."
done
2015-07-10 08:20:21 +00:00
Bird_keeperBobSeenText:
text "CYCLING ROAD is a"
line "quick shortcut to"
cont "CELADON."
done
2015-07-10 08:20:21 +00:00
Bird_keeperBobBeatenText:
text "…Whew!"
done
2017-12-10 20:36:58 +00:00
Bird_keeperBobAfterBattleText:
text "If you don't have"
line "a BICYCLE, you're"
para "not allowed to use"
line "the shortcut."
done
2016-04-07 04:59:45 +00:00
Route18SignText:
text "ROUTE 18"
para "CELADON CITY -"
line "FUCHSIA CITY"
done
2015-07-10 08:20:21 +00:00
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
2016-04-07 04:59:45 +00:00
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