From 6a33add748ae7a7c0970fa190e8d381e3b32c287 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 7 Nov 2019 14:37:46 -0500 Subject: hidemoneybox backwards compat with ruby --- asm/macros/event.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'asm/macros/event.inc') 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. -- cgit v1.2.3