summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rwxr-xr-xmacros/data_macros.asm22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/data_macros.asm b/macros/data_macros.asm
index 4c6457be..ee5cb8f0 100755
--- a/macros/data_macros.asm
+++ b/macros/data_macros.asm
@@ -118,6 +118,28 @@ object: MACRO
ENDC
ENDM
+;\1 x position
+;\2 y position
+;\3 destination warp id
+;\4 destination map (-1 = 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
;\3 (byte) = x movement of connection strip