diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-12-26 16:08:02 -0600 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2017-12-26 16:08:40 -0600 |
commit | 82230589d1170e14c48b6d8b5ccadd8ded5465ce (patch) | |
tree | f57f111781e20af16d748a02098237ec95fcdc10 /asm/macros/map.inc | |
parent | 80cddf0cd4946d85e5e23ec90c530ca2ea54732d (diff) |
Add bg_secret_base_event macro, and define secret base id constants
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 6e4005f7d..db37d9346 100644 --- a/asm/macros/map.inc +++ b/asm/macros/map.inc @@ -61,6 +61,10 @@ bg_event \x, \y, \height, 7, 0, \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, 0, \secret_base_id, 0, 0 + .endm + .macro map_events npcs, warps, traps, signs .byte _num_npcs, _num_warps, _num_traps, _num_signs .4byte \npcs, \warps, \traps, \signs |