mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08: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
55 lines
897 B
NASM
55 lines
897 B
NASM
Route16_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 1
|
|
|
|
; callbacks
|
|
|
|
dbw 5, UnknownScript_0x1ad318
|
|
|
|
UnknownScript_0x1ad318:
|
|
checkcode VAR_YCOORD
|
|
if_less_than $5, UnknownScript_0x1ad328
|
|
checkcode VAR_XCOORD
|
|
if_greater_than $d, UnknownScript_0x1ad328
|
|
setflag ENGINE_ALWAYS_ON_BIKE
|
|
return
|
|
|
|
UnknownScript_0x1ad328:
|
|
clearflag ENGINE_ALWAYS_ON_BIKE
|
|
return
|
|
|
|
MapRoute16Signpost0Script:
|
|
jumptext UnknownText_0x1ad32f
|
|
|
|
UnknownText_0x1ad32f:
|
|
text "CYCLING ROAD"
|
|
|
|
para "DOWNHILL COASTING"
|
|
line "ALL THE WAY!"
|
|
done
|
|
|
|
Route16_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 5
|
|
warp_def $1, $3, 1, ROUTE_16_FUCHSIA_SPEECH_HOUSE
|
|
warp_def $6, $e, 3, ROUTE_16_GATE
|
|
warp_def $7, $e, 4, ROUTE_16_GATE
|
|
warp_def $6, $9, 1, ROUTE_16_GATE
|
|
warp_def $7, $9, 2, ROUTE_16_GATE
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 5, 5, SIGNPOST_READ, MapRoute16Signpost0Script
|
|
|
|
.PersonEvents:
|
|
db 0
|