summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-07 14:37:46 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-11-07 14:37:46 -0500
commit6a33add748ae7a7c0970fa190e8d381e3b32c287 (patch)
tree93f0d90f3156b95ebfa2278876a69e44f4e5d4c4 /asm/macros/event.inc
parenteb4bdaa9d7e571ca9e1619fca27021724d9eaa37 (diff)
hidemoneybox backwards compat with ruby
Diffstat (limited to 'asm/macros/event.inc')
-rw-r--r--asm/macros/event.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 71e0eaef1..19293e527 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1014,10 +1014,12 @@
.endm
@ Hides the secondary box spawned by showmoney.
- .macro hidemoneybox @, x, y
+ @ The two arguments are unused.
+ @ They are retained here for backwards compatibility with Ruby/Sapphire.
+ .macro hidemoneybox x, y
.byte 0x94
- .byte 0 @ x
- .byte 0 @ y
+ .byte \x
+ .byte \y
.endm
@ Updates the secondary box spawned by showmoney. Consumes but does not use arguments.