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"
|
2015-10-26 06:56:06 +01:00
|
|
|
.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
|