summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm21
1 files changed, 21 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 28aad1e5..2835c99a 100644
--- a/macros.asm
+++ b/macros.asm
@@ -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