summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-12-31 02:30:30 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-12-31 02:30:30 -0600
commitd004ce065c9cc6425df6f567dff39eb831f84875 (patch)
tree2c20338324f10a553e78e731d999dd58669266c3 /asm/macros
parentec780bb2098be75e591b212e85947f88c91d4e37 (diff)
parent58f130d007b97623dd5c7a3b373800c138f75c5e (diff)
Merge branch 'master' of github.com:pret/pokeemerald into trade
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/map.inc4
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