summaryrefslogtreecommitdiff
path: root/asm/macros.s
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-10-18 05:11:30 -0700
committerYamaArashi <shadow962@live.com>2015-10-18 05:11:30 -0700
commite17df124ff5d5870b97406a934da1b275f4b710a (patch)
treec4ab3bf1f796dbce4643bd6a912c2d598e0a0dfa /asm/macros.s
parentb948fcbb0d092e1034857415330ef68416a47224 (diff)
Hoenn region map entries
Diffstat (limited to 'asm/macros.s')
-rw-r--r--asm/macros.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/macros.s b/asm/macros.s
index 7b24cb47c..3fb5c375a 100644
--- a/asm/macros.s
+++ b/asm/macros.s
@@ -128,3 +128,11 @@
.macro ec_pokemon2 name
.2byte (EC_GROUP_POKEMON2 << 9) | SPECIES_\name
.endm
+
+ .macro region_map_entry x, y, width, height, name
+ .byte \x
+ .byte \y
+ .byte \width
+ .byte \height
+ .4byte gMapName_\name
+ .endm