summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2019-08-17 22:38:28 -0500
committerGitHub <noreply@github.com>2019-08-17 22:38:28 -0500
commit40fa9ddbb853c4d825e4dd8eb6f5c5e40cd53dd3 (patch)
treef6ea0af0d9a8189d2a5cb67cd6c9823250c5e03a /asm/macros
parent4663564e028cd5a4f271ce34835ee2939593c99f (diff)
parent18dee141704daa10313f27890d0f97a2a083a496 (diff)
Merge pull request #782 from tustin2121/trihard-giveback2
Giving back from TriHard Emerald development
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.