summaryrefslogtreecommitdiff
path: root/asm/macros.s
blob: 4a33fd82b586b38c6b9f111d15331bcd41e98558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
	.include "asm/macros/function.s"
	.include "asm/macros/event.s"
	.include "asm/macros/window.s"
	.include "asm/macros/pokemon_data.s"
	.include "asm/macros/ec.s"
	.include "asm/macros/map.s"

	.macro region_map_entry x, y, width, height, name
	.byte \x
	.byte \y
	.byte \width
	.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