summaryrefslogtreecommitdiff
path: root/asm/macros.s
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-11-07 15:09:26 -0800
committerYamaArashi <shadow962@live.com>2015-11-07 15:09:26 -0800
commit795246a93d174e783472997359888420fea71b96 (patch)
tree25f59c057224f0211d1e48d3c2f6d7e2d25a3d5e /asm/macros.s
parent6292ec87fc3458f99f63965fd643181ec5b13fca (diff)
pokemon graphics labels
Diffstat (limited to 'asm/macros.s')
-rw-r--r--asm/macros.s20
1 files changed, 16 insertions, 4 deletions
diff --git a/asm/macros.s b/asm/macros.s
index 4d44a7ac5..4a33fd82b 100644
--- a/asm/macros.s
+++ b/asm/macros.s
@@ -5,10 +5,6 @@
.include "asm/macros/ec.s"
.include "asm/macros/map.s"
- .macro include_range start, end
- .incbin "base_emerald.gba", \start, \end - \start
- .endm
-
.macro region_map_entry x, y, width, height, name
.byte \x
.byte \y
@@ -16,3 +12,19 @@
.byte \height
.4byte gMapName_\name
.endm
+
+ .macro obj_tiles address, uncompressed_size, tag
+ .4byte \address
+ .2byte \uncompressed_size
+ .2byte \tag
+ .endm
+
+ .macro obj_pal address, tag
+ .4byte \address
+ .2byte \tag
+ .2byte 0; padding
+ .endm
+
+ .macro zero_fill count
+ .fill \count
+ .endm