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
79 lines
1.2 KiB
NASM
79 lines
1.2 KiB
NASM
Route6SaffronGate_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 1
|
|
|
|
; triggers
|
|
dw UnknownScript_0x1926e9, $0000
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
UnknownScript_0x1926e9:
|
|
end
|
|
|
|
OfficerScript_0x1926ea:
|
|
faceplayer
|
|
loadfont
|
|
checkevent EVENT_RETURNED_MACHINE_PART
|
|
iftrue UnknownScript_0x1926f8
|
|
writetext UnknownText_0x1926fe
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownScript_0x1926f8:
|
|
writetext UnknownText_0x1927cb
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownText_0x1926fe:
|
|
text "Welcome to SAFFRON"
|
|
line "CITY, home of the"
|
|
cont "MAGNET TRAIN!"
|
|
|
|
para "…That's what I'd"
|
|
line "normally say, but"
|
|
|
|
para "the MAGNET TRAIN"
|
|
line "isn't running now."
|
|
|
|
para "It's not getting"
|
|
line "any electricity"
|
|
|
|
para "because there's"
|
|
line "something wrong"
|
|
|
|
para "with the POWER"
|
|
line "PLANT."
|
|
done
|
|
|
|
UnknownText_0x1927cb:
|
|
text "The MAGNET TRAIN"
|
|
line "is the most famous"
|
|
|
|
para "thing about SAF-"
|
|
line "FRON."
|
|
done
|
|
|
|
Route6SaffronGate_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 4
|
|
warp_def $0, $4, 12, SAFFRON_CITY
|
|
warp_def $0, $5, 13, SAFFRON_CITY
|
|
warp_def $7, $4, 2, ROUTE_6
|
|
warp_def $7, $5, 2, ROUTE_6
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 0
|
|
|
|
.PersonEvents:
|
|
db 1
|
|
person_event SPRITE_OFFICER, 8, 4, OW_LEFT | $1, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, OfficerScript_0x1926ea, -1
|