diff options
author | Shakib2001 <shakibafzali@gmail.com> | 2020-03-27 14:31:38 -0400 |
---|---|---|
committer | Shakib2001 <shakibafzali@gmail.com> | 2020-03-27 14:31:38 -0400 |
commit | 3d8e949d373a828fee370b08d005f131abb67333 (patch) | |
tree | e200b8d12dbbbcb7683560fb904b32a5c5a1c9a7 /macros.asm | |
parent | ab7c9634be9c7d26c66ebd69b2fcfe3994d627be (diff) |
Added warp, warp_to and sign compatibility
Diffstat (limited to 'macros.asm')
-rw-r--r-- | macros.asm | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -715,6 +715,27 @@ endchannel: MACRO db $FF ENDM +;\1 x position +;\2 y position +;\3 destination warp id +;\4 destination map ($ff = wLastMap) +warp: MACRO + db \2, \1, \3, \4 +ENDM + +;\1 x position +;\2 y position +;\3 sign id +sign: MACRO + db \2, \1, \3 +ENDM + +;\1 x position +;\2 y position +;\3 map width +warp_to: MACRO + EVENT_DISP \3, \2, \1 +ENDM ;\1 (byte) = current map id ;\2 (byte) = connected map id |