Split out movement radius in object_event macro

This commit is contained in:
Marcus Huderle
2018-06-14 22:00:27 -05:00
parent 2807abe3ba
commit f807eb1f2d
429 changed files with 2778 additions and 2778 deletions
+2 -2
View File
@@ -14,11 +14,11 @@
.4byte \address
.endm
.macro object_event index, gfx, replacement, x, y, elevation, movement_type, radius, trainer_type, sight_radius_tree_etc, script, event_flag
.macro object_event index, gfx, replacement, x, y, elevation, movement_type, x_radius, y_radius, trainer_type, sight_radius_tree_etc, script, event_flag
.byte \index, \gfx, \replacement, 0
.2byte \x
.2byte \y
.byte \elevation, \movement_type, \radius, 0
.byte \elevation, \movement_type, ((\y_radius << 4) | \x_radius), 0
.2byte \trainer_type, \sight_radius_tree_etc
.4byte \script
.2byte \event_flag