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
110 lines
2.2 KiB
NASM
110 lines
2.2 KiB
NASM
Route6_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TrainerPokefanmRex:
|
|
trainer EVENT_BEAT_POKEFANM_REX, POKEFANM, REX, PokefanmRexSeenText, PokefanmRexBeatenText, $0000, PokefanmRexScript
|
|
|
|
PokefanmRexScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ad9ff
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerPokefanmAllan:
|
|
trainer EVENT_BEAT_POKEFANM_ALLAN, POKEFANM, ALLAN, PokefanmAllanSeenText, PokefanmAllanBeatenText, $0000, PokefanmAllanScript
|
|
|
|
PokefanmAllanScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1ada88
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
PokefanMScript_0x1ad951:
|
|
jumptextfaceplayer UnknownText_0x1ad957
|
|
|
|
MapRoute6Signpost0Script:
|
|
jumptext UnknownText_0x1ad99b
|
|
|
|
UnknownText_0x1ad957:
|
|
text "The road is closed"
|
|
line "until the problem"
|
|
|
|
para "at the POWER PLANT"
|
|
line "is solved."
|
|
done
|
|
|
|
UnknownText_0x1ad99b:
|
|
text "UNDERGROUND PATH"
|
|
|
|
para "CERULEAN CITY -"
|
|
line "VERMILION CITY"
|
|
done
|
|
|
|
PokefanmRexSeenText:
|
|
text "My PHANPY is the"
|
|
line "cutest in the"
|
|
cont "world."
|
|
done
|
|
|
|
PokefanmRexBeatenText:
|
|
text "My PHANPY!"
|
|
done
|
|
|
|
UnknownText_0x1ad9ff:
|
|
text "Look how adorable"
|
|
line "my PHANPY acts!"
|
|
|
|
para "Isn't it cute"
|
|
line "enough to make"
|
|
cont "your heart melt?"
|
|
done
|
|
|
|
PokefanmAllanSeenText:
|
|
text "My TEDDIURSA is"
|
|
line "the cutest in the"
|
|
cont "world."
|
|
done
|
|
|
|
PokefanmAllanBeatenText:
|
|
text "My TEDDIURSA!"
|
|
done
|
|
|
|
UnknownText_0x1ada88:
|
|
text "Look how adorable"
|
|
line "my TEDDIURSA acts!"
|
|
|
|
para "Isn't it cute"
|
|
line "enough to make"
|
|
cont "your heart melt?"
|
|
done
|
|
|
|
Route6_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $3, $11, 1, ROUTE_6_UNDERGROUND_ENTRANCE
|
|
warp_def $1, $6, 3, ROUTE_6_SAFFRON_GATE
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 5, 19, SIGNPOST_READ, MapRoute6Signpost0Script
|
|
|
|
.PersonEvents:
|
|
db 3
|
|
person_event SPRITE_POKEFAN_M, 8, 21, OW_UP | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 2, PokefanMScript_0x1ad951, EVENT_ROUTE_5_6_POKEFAN_M_BLOCKS_UNDERGROUND_PATH
|
|
person_event SPRITE_POKEFAN_M, 16, 13, OW_LEFT | $1, $0, -1, -1, (PAL_OW_RED << 4) | $82, 0, TrainerPokefanmRex, -1
|
|
person_event SPRITE_POKEFAN_M, 16, 14, OW_LEFT | $0, $0, -1, -1, (PAL_OW_RED << 4) | $82, 0, TrainerPokefanmAllan, -1
|