diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-12-26 14:03:01 -0600 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2017-12-26 16:08:40 -0600 |
commit | 80cddf0cd4946d85e5e23ec90c530ca2ea54732d (patch) | |
tree | b186f9e1c1b4924663ad4e30c6d91f0aa4c5d253 /asm/macros/map.inc | |
parent | 6000e19e94c36b5d4b8c45b829b0506191282b44 (diff) |
Add bg_hidden_item_event macro, and define hidden item flags
Diffstat (limited to 'asm/macros/map.inc')
-rw-r--r-- | asm/macros/map.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/macros/map.inc b/asm/macros/map.inc index a80a662b4..6e4005f7d 100644 --- a/asm/macros/map.inc +++ b/asm/macros/map.inc @@ -57,6 +57,10 @@ inc _num_signs .endm + .macro bg_hidden_item_event x, y, height, item, flag + bg_event \x, \y, \height, 7, 0, \item, ((\flag) - FLAG_HIDDEN_ITEMS_START), 0 + .endm + .macro map_events npcs, warps, traps, signs .byte _num_npcs, _num_warps, _num_traps, _num_signs .4byte \npcs, \warps, \traps, \signs |