diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-12-26 12:20:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-26 12:20:15 -0600 |
commit | a1ea3b5e394bc115ba9b86348c161094a00dcca7 (patch) | |
tree | c2e389fa4bf9f134079c9b4a5e23a8077281e2d0 /asm/macros | |
parent | 7480a41cfe9b7d871e7217e4f46378fa4ccda8cd (diff) |
Use map_header_flags macro (#483)
Diffstat (limited to 'asm/macros')
-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 94caeb697..c98364ccc 100644 --- a/asm/macros/map.inc +++ b/asm/macros/map.inc @@ -101,3 +101,7 @@ map \map .space 2 .endm + + .macro map_header_flags allow_bike:req, allow_escape_rope:req, allow_run:req, show_map_name:req + .byte ((\show_map_name & 1) << 3) | ((\allow_run & 1) << 2) | ((\allow_escape_rope & 1) << 1) | \allow_bike + .endm |