Use map_header_flags macro (#483)

This commit is contained in:
Marcus Huderle
2018-12-26 12:20:15 -06:00
committed by GitHub
parent 7480a41cfe
commit a1ea3b5e39
519 changed files with 522 additions and 518 deletions
+4
View File
@@ -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