You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
All map triggers use the maptrigger macro, not dw
.MapTriggers and .MapCallbacks lists are formatted consistently with .Warps, .XYTriggers, .Signposts, and .PersonEvents
This commit is contained in:
@@ -4,20 +4,17 @@ Route16_MapScriptHeader:
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
dbw MAPCALLBACK_NEWMAP, .AlwaysOnBike
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x1ad318
|
||||
|
||||
UnknownScript_0x1ad318:
|
||||
.AlwaysOnBike:
|
||||
checkcode VAR_YCOORD
|
||||
if_less_than $5, UnknownScript_0x1ad328
|
||||
if_less_than $5, .CanWalk
|
||||
checkcode VAR_XCOORD
|
||||
if_greater_than $d, UnknownScript_0x1ad328
|
||||
if_greater_than $d, .CanWalk
|
||||
setflag ENGINE_ALWAYS_ON_BIKE
|
||||
return
|
||||
|
||||
UnknownScript_0x1ad328:
|
||||
.CanWalk:
|
||||
clearflag ENGINE_ALWAYS_ON_BIKE
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user