summaryrefslogtreecommitdiff
path: root/data/palettes
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-15 17:22:52 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-15 17:22:52 -0500
commit59fe4078124f0fa8d1613a3f715861d9c6f2d449 (patch)
tree5b54cb5abb2955509e63f6ef0c202c6cbae5fed8 /data/palettes
parentdc76bf804f86f884933e9d5a8820e3122b2771ae (diff)
Copy pokered's organization some more, with further constant and data files
Diffstat (limited to 'data/palettes')
-rw-r--r--data/palettes/town_map.asm34
1 files changed, 34 insertions, 0 deletions
diff --git a/data/palettes/town_map.asm b/data/palettes/town_map.asm
new file mode 100644
index 000000000..88621a2fb
--- /dev/null
+++ b/data/palettes/town_map.asm
@@ -0,0 +1,34 @@
+ const_def
+ const PAL_TOWNMAP_BORDER ; 0
+ const PAL_TOWNMAP_EARTH ; 1
+ const PAL_TOWNMAP_MTN ; 2
+ const PAL_TOWNMAP_CITY ; 3
+ const PAL_TOWNMAP_POI ; 4
+ const PAL_TOWNMAP_POI_MTN ; 5
+
+townmappals: macro
+rept _NARG / 2
+ dn PAL_TOWNMAP_\2, PAL_TOWNMAP_\1
+ shift
+ shift
+endr
+endm
+
+; gfx/pokegear/town_map.png
+ townmappals EARTH, EARTH, EARTH, MTN, MTN, MTN
+ townmappals BORDER, BORDER, EARTH, EARTH, CITY, EARTH
+ townmappals POI, POI_MTN, POI, POI_MTN, EARTH, EARTH
+ townmappals EARTH, MTN, MTN, MTN, BORDER, BORDER
+ townmappals EARTH, EARTH, BORDER, EARTH, EARTH, BORDER
+ townmappals BORDER, BORDER, EARTH, EARTH, EARTH, MTN
+ townmappals MTN, MTN, BORDER, BORDER, BORDER, BORDER
+ townmappals BORDER, BORDER, BORDER, BORDER, BORDER, BORDER
+; gfx/pokegear/pokegear.png
+ townmappals BORDER, BORDER, BORDER, BORDER, POI, POI
+ townmappals POI, BORDER, BORDER, BORDER, BORDER, BORDER
+ townmappals BORDER, BORDER, BORDER, BORDER, CITY, CITY
+ townmappals CITY, CITY, CITY, CITY, CITY, CITY
+ townmappals CITY, CITY, CITY, CITY, CITY, CITY
+ townmappals CITY, BORDER, CITY, CITY, CITY, CITY
+ townmappals CITY, CITY, CITY, CITY, BORDER, BORDER
+ townmappals BORDER, BORDER, BORDER, BORDER, BORDER, BORDER