mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
432df825d4
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
96 lines
1.8 KiB
NASM
96 lines
1.8 KiB
NASM
Route18_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TrainerBird_keeperBoris:
|
|
trainer EVENT_BEAT_BIRD_KEEPER_BORIS, BIRD_KEEPER, BORIS, Bird_keeperBorisSeenText, Bird_keeperBorisBeatenText, $0000, Bird_keeperBorisScript
|
|
|
|
Bird_keeperBorisScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1acfa5
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerBird_keeperBob:
|
|
trainer EVENT_BEAT_BIRD_KEEPER_BOB, BIRD_KEEPER, BOB, Bird_keeperBobSeenText, Bird_keeperBobBeatenText, $0000, Bird_keeperBobScript
|
|
|
|
Bird_keeperBobScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ad00d
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
MapRoute18Signpost0Script:
|
|
jumptext UnknownText_0x1ad051
|
|
|
|
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
|
|
|
|
UnknownText_0x1acfa5:
|
|
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
|
|
|
|
UnknownText_0x1ad00d:
|
|
text "If you don't have"
|
|
line "a BICYCLE, you're"
|
|
|
|
para "not allowed to use"
|
|
line "the shortcut."
|
|
done
|
|
|
|
UnknownText_0x1ad051:
|
|
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, MapRoute18Signpost0Script
|
|
|
|
.PersonEvents:
|
|
db 2
|
|
person_event SPRITE_YOUNGSTER, 16, 13, OW_LEFT | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerBird_keeperBoris, -1
|
|
person_event SPRITE_YOUNGSTER, 10, 17, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerBird_keeperBob, -1
|