You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Add anchor points to support manual movement between spaces (#26)
This commit is contained in:
@@ -62,6 +62,21 @@ MACRO warp_event
|
||||
DEF {_NUM_WARP_EVENTS} += 1
|
||||
ENDM
|
||||
|
||||
MACRO def_anchor_events
|
||||
REDEF _NUM_ANCHOR_EVENTS EQUS "_NUM_ANCHOR_EVENTS_\@"
|
||||
db {_NUM_ANCHOR_EVENTS}
|
||||
DEF {_NUM_ANCHOR_EVENTS} = 0
|
||||
ENDM
|
||||
|
||||
MACRO anchor_event
|
||||
;\1: x coord
|
||||
;\2: y coord
|
||||
;\3: next space
|
||||
; there is no \4. An anchor point can't act as an space with an effect (neither as a branch space)
|
||||
db \1, \2, \3
|
||||
DEF {_NUM_ANCHOR_EVENTS} += 1
|
||||
ENDM
|
||||
|
||||
MACRO def_coord_events
|
||||
REDEF _NUM_COORD_EVENTS EQUS "_NUM_COORD_EVENTS_\@"
|
||||
db {_NUM_COORD_EVENTS}
|
||||
|
Reference in New Issue
Block a user