summaryrefslogtreecommitdiff
path: root/macros/legacy.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-05-09 12:47:43 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-05-09 12:47:43 -0400
commit65d1e12d6ac15937977d28651a656ff255ea0d5d (patch)
tree53cecd90548df6957851b2341cdaf2a060d68255 /macros/legacy.asm
parent2a9ae6ecefe12e798c15e7a37a77005f5373aa9d (diff)
Require rgbds 0.5.1
Use some new features: \<10> macro args, SECTION UNION, SIZEOF/STARTOF, and CHARLEN/CHARSUB
Diffstat (limited to 'macros/legacy.asm')
-rw-r--r--macros/legacy.asm7
1 files changed, 1 insertions, 6 deletions
diff --git a/macros/legacy.asm b/macros/legacy.asm
index 1c0ec2ab..8058a7ac 100644
--- a/macros/legacy.asm
+++ b/macros/legacy.asm
@@ -223,12 +223,7 @@ signpost: MACRO
ENDM
person_event: MACRO
-_s = \1
-_y = \2
-_x = \3
-_m = \4
- shift 4
- object_event _x, _y, _s, _m, \1, \2, \3, \4, \5, \6, \7, \8, \9
+ object_event \3, \2, \1, \4, \5, \6, \7, \8, \9, \<10>, \<11>, \<12>, \<13>
ENDM
PERSONTYPE_SCRIPT EQUS "OBJECTTYPE_SCRIPT"