diff options
author | Daniel Harding <33dannye@gmail.com> | 2020-03-27 14:11:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 14:11:59 -0500 |
commit | e2e8bf6a8477af254ea7057028f72ac918b62005 (patch) | |
tree | ffed0137cf81880afa4b0ec2fa30300565996f4b /macros.asm | |
parent | ab7c9634be9c7d26c66ebd69b2fcfe3994d627be (diff) | |
parent | dc503346cab810ad976c3943ad1acca13c69693d (diff) |
Merge pull request #47 from ValientOrc98/master
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 |