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
61 lines
1.2 KiB
NASM
61 lines
1.2 KiB
NASM
Route5_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
PokefanMScript_0x1adb19:
|
|
jumptextfaceplayer UnknownText_0x1adb22
|
|
|
|
MapRoute5Signpost0Script:
|
|
jumptext UnknownText_0x1adb66
|
|
|
|
MapRoute5Signpost1Script:
|
|
jumptext UnknownText_0x1adb97
|
|
|
|
UnknownText_0x1adb22:
|
|
text "The road is closed"
|
|
line "until the problem"
|
|
|
|
para "at the POWER PLANT"
|
|
line "is solved."
|
|
done
|
|
|
|
UnknownText_0x1adb66:
|
|
text "UNDERGROUND PATH"
|
|
|
|
para "CERULEAN CITY -"
|
|
line "VERMILION CITY"
|
|
done
|
|
|
|
UnknownText_0x1adb97:
|
|
text "What's this?"
|
|
|
|
para "House for Sale…"
|
|
line "Nobody lives here."
|
|
done
|
|
|
|
Route5_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 4
|
|
warp_def $f, $11, 1, ROUTE_5_UNDERGROUND_ENTRANCE
|
|
warp_def $11, $8, 1, ROUTE_5_SAFFRON_CITY_GATE
|
|
warp_def $11, $9, 2, ROUTE_5_SAFFRON_CITY_GATE
|
|
warp_def $b, $a, 1, ROUTE_5_CLEANSE_TAG_SPEECH_HOUSE
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 2
|
|
signpost 17, 17, SIGNPOST_READ, MapRoute5Signpost0Script
|
|
signpost 11, 10, SIGNPOST_READ, MapRoute5Signpost1Script
|
|
|
|
.PersonEvents:
|
|
db 1
|
|
person_event SPRITE_POKEFAN_M, 20, 21, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, PokefanMScript_0x1adb19, EVENT_ROUTE_5_6_POKEFAN_M_BLOCKS_UNDERGROUND_PATH
|