mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
3648afda16
New MACRO and DEF syntax
30 lines
1.4 KiB
NASM
30 lines
1.4 KiB
NASM
const_def
|
|
const PAL_TOWNMAP_BORDER ; 0
|
|
const PAL_TOWNMAP_EARTH ; 1
|
|
const PAL_TOWNMAP_MOUNTAIN ; 2
|
|
const PAL_TOWNMAP_CITY ; 3
|
|
const PAL_TOWNMAP_POI ; 4
|
|
const PAL_TOWNMAP_POI_MTN ; 5
|
|
|
|
MACRO townmappals
|
|
rept _NARG / 2
|
|
dn PAL_TOWNMAP_\2, PAL_TOWNMAP_\1
|
|
shift 2
|
|
endr
|
|
ENDM
|
|
|
|
; gfx/pokegear/town_map.png
|
|
townmappals EARTH, EARTH, EARTH, MOUNTAIN, MOUNTAIN, MOUNTAIN, BORDER, BORDER
|
|
townmappals EARTH, EARTH, CITY, EARTH, POI, POI_MTN, POI, POI_MTN
|
|
townmappals EARTH, EARTH, EARTH, MOUNTAIN, MOUNTAIN, MOUNTAIN, BORDER, BORDER
|
|
townmappals EARTH, EARTH, BORDER, EARTH, EARTH, BORDER, BORDER, BORDER
|
|
townmappals EARTH, EARTH, EARTH, MOUNTAIN, MOUNTAIN, MOUNTAIN, BORDER, BORDER
|
|
townmappals BORDER, BORDER, BORDER, BORDER, BORDER, BORDER, BORDER, BORDER
|
|
; gfx/pokegear/pokegear.png
|
|
townmappals BORDER, BORDER, BORDER, BORDER, POI, POI, POI, BORDER
|
|
townmappals BORDER, BORDER, BORDER, BORDER, BORDER, BORDER, BORDER, BORDER
|
|
townmappals CITY, CITY, CITY, CITY, CITY, CITY, CITY, CITY
|
|
townmappals CITY, CITY, CITY, CITY, CITY, CITY, CITY, BORDER
|
|
townmappals CITY, CITY, CITY, CITY, CITY, CITY, CITY, CITY
|
|
townmappals BORDER, BORDER, BORDER, BORDER, BORDER, BORDER, BORDER, BORDER
|