pokeemerald/asm/macros.s

31 lines
570 B
ArmAsm
Raw Normal View History

2015-10-19 18:42:57 +02:00
.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"
2015-10-19 18:42:57 +02:00
2015-10-18 14:11:30 +02:00
.macro region_map_entry x, y, width, height, name
.byte \x
.byte \y
.byte \width
.byte \height
.4byte gMapName_\name
.endm
2015-11-08 00:09:26 +01:00
.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