summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-10-24 14:35:06 -0500
committerDiegoisawesome <diego@domoreaweso.me>2017-10-24 14:35:06 -0500
commit32bf0849d2c12c3ccca97c3570e931d76101e9a6 (patch)
tree3b4a1ad4e9b934ca2171f957f61ab53cd6bf1cad
parent3b4093640e3dcbd6785aba99aaab2113524f2401 (diff)
Test
-rw-r--r--asm/macros/map.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/asm/macros/map.inc b/asm/macros/map.inc
index 41844b5cd..5367ad712 100644
--- a/asm/macros/map.inc
+++ b/asm/macros/map.inc
@@ -44,13 +44,15 @@
.4byte \address
.endm
- .macro object_event byte1, word1, byte2, byte3, byte4, byte5, byte6, byte7, byte8, byte9, byte10, byte11, byte12, byte13, byte14, script, word2, byte15, byte16
- .byte \byte1
- .2byte \word1
- .byte \byte2, \byte3, \byte4, \byte5, \byte6, \byte7, \byte8, \byte9, \byte10, \byte11, \byte12, \byte13, \byte14
+ .macro object_event index, gfx, replacement, filler1, x, y, elevation, movement_type, radius, filler2, trainer_type, sight_radius_tree_etc, script, event_flag, filler3, filler4
+ .byte \index, \gfx, \replacement, \filler1
+ .2byte \x
+ .2byte \y
+ .byte \elevation, \movement_type, \radius, \filler2
+ .2byte \trainer_type, \sight_radius_tree_etc
.4byte \script
- .2byte \word2
- .byte \byte15, \byte16
+ .2byte \event_flag
+ .byte \filler3, \filler4
inc _num_npcs
.endm