summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
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