diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-02-18 14:52:42 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-02-18 15:11:44 -0500 |
commit | e94f9c148358f2e25e6ebbd58d39eb9ddd27f7c3 (patch) | |
tree | 2eece5f6363c1c55a2d81ca1f66ef8934d1547ee /asm/macros | |
parent | 4643330fdd2f458a4f714eb7ae1a586d2d24da37 (diff) |
Name allow_escaping, allow_running, show_map_name header properties
Diffstat (limited to 'asm/macros')
-rw-r--r-- | asm/macros/map.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/asm/macros/map.inc b/asm/macros/map.inc index d903899fe..0f35bf959 100644 --- a/asm/macros/map.inc +++ b/asm/macros/map.inc @@ -88,3 +88,8 @@ map \map .space 2 .endm + + .macro map_header_flags allow_cycling:req, allow_escaping:req, allow_running:req, show_map_name:req + .byte \allow_cycling + .byte ((\show_map_name & 1) << 2) | ((\allow_running & 1) << 1) | ((\allow_escaping & 1) << 0) + .endm |