summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2019-09-03 22:22:14 -0400
committerGitHub <noreply@github.com>2019-09-03 22:22:14 -0400
commit6b04ea0727973e66227b31caa2ccdcb6f2b4891f (patch)
tree4d5e4e5d1b6e480bd195d8a9a29703e6475cc2e9 /asm/macros
parentecf2097abb1481109578b7b8260fd40606f27abe (diff)
parent1f4c88c95243e8d75f25d5b7868c837c47aa578d (diff)
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/event.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index e00bdb600..bf1b8ce76 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -765,7 +765,8 @@
.2byte \y
.endm
- .macro moveobjectoffscreen index:req
+ @ Copies a live event object's xy position to its template, so that if the sprite goes off screen, it'll still be there when it comes back on screen.
+ .macro copyobjectxytoperm index:req
.byte 0x64
.2byte \index
.endm
@@ -1089,6 +1090,7 @@
.byte 0x95
.byte \x
.byte \y
+ .byte 0 @ 1 = don't perform this command. Always 0 in vanilla. Why this is a thing is beyond me.
.endm
@ Gets the price reduction for the index given. In FireRed, this command is a nop.