summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-12-19 17:17:48 -0600
committerGitHub <noreply@github.com>2018-12-19 17:17:48 -0600
commitd7755fda6ce16f17254c8d5158d01fca42f13932 (patch)
tree0f5dd6f2d65f78ec4ff496ff48745694837ddae7
parentb2ac3b6d6f06ed4a2d64af90e97796c66bcdeb5f (diff)
parente15c7fc7cf770231548de57ef55f0747e6d63fd7 (diff)
Merge pull request #459 from Deokishisu/patch-1
Add requirements to the fields of the object_event macro
-rw-r--r--asm/macros/map.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/macros/map.inc b/asm/macros/map.inc
index 9a028b2e5..94caeb697 100644
--- a/asm/macros/map.inc
+++ b/asm/macros/map.inc
@@ -14,7 +14,7 @@
.4byte \address
.endm
- .macro object_event index, gfx, replacement, x, y, elevation, movement_type, x_radius, y_radius, trainer_type, sight_radius_tree_etc, script, event_flag
+ .macro object_event index:req, gfx:req, replacement:req, x:req, y:req, elevation:req, movement_type:req, x_radius:req, y_radius:req, trainer_type:req, sight_radius_tree_etc:req, script:req, event_flag:req
.byte \index, \gfx, \replacement, 0
.2byte \x
.2byte \y