diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-02-18 16:42:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 16:42:47 -0500 |
commit | f9c1b6101495f09cf797cf0cb466ec4cc5838e72 (patch) | |
tree | a9928af64ee6a0ee6c9409ca40d43ddefe14c27d /asm/macros | |
parent | e4d15a2338500e91e1f2a9723c48ecf25ae8111e (diff) | |
parent | 753e894b6a9aa9f51789d4e1945d310749fd6c54 (diff) |
Merge pull request #258 from GriffinRichards/doc-headers
Document some 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 |