summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2018-10-17 22:07:23 -0400
committergarak <garakmon@gmail.com>2018-10-17 22:07:23 -0400
commitd1b7f32b0ae88e3f2c4d9ed03513cbd30f8f4a74 (patch)
tree71524c7f2409f54816a9a6cbbaa2c409e5c3724e /asm/macros
parent7d88b9647f92d099177fc734f32e94fc472f2cbf (diff)
begin event flag names, add temporary hidden item macro
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/map.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/macros/map.inc b/asm/macros/map.inc
index 23806b4cc..aa54c9001 100644
--- a/asm/macros/map.inc
+++ b/asm/macros/map.inc
@@ -68,6 +68,10 @@
bg_event \x, \y, \height, 7, \item, \flag, 0
.endm
+ .macro bg_hidden_item_event_new x, y, height, item, flag
+ bg_event \x, \y, \height, 7, \item, ((\flag) - FLAG_HIDDEN_ITEMS_START), 0
+ .endm
+
.macro bg_secret_base_event x, y, height, secret_base_id
bg_event \x, \y, \height, 8, \secret_base_id, 0, 0
.endm