summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-05-09 16:14:52 -0400
committergarak <garakmon@gmail.com>2019-05-09 16:14:52 -0400
commitfc324b774f18f727b53de1202f2d2e4e9bb6a7cd (patch)
treeb6bd0860f4b06d1aba889bac486058a2fda64b86
parent4e5d818f89caae9153dd53ba321900e0d4e16c1e (diff)
dump tileset headers
-rw-r--r--data/data.s2
-rw-r--r--data/graphics.s12
-rw-r--r--data/maps.s3
-rw-r--r--data/tilesets/graphics.inc383
-rw-r--r--data/tilesets/headers.inc643
-rw-r--r--data/tilesets/metatiles.inc407
6 files changed, 1358 insertions, 92 deletions
diff --git a/data/data.s b/data/data.s
index 3ae49a2ce..1106adee3 100644
--- a/data/data.s
+++ b/data/data.s
@@ -917,5 +917,3 @@ gUnknown_826D374:: @ 826D374
.4byte sub_805874C
.4byte sub_8058754
-gUnknown_826D37C:: @ 826D37C
- .incbin "baserom.gba", 0x26D37C, 0x67718
diff --git a/data/graphics.s b/data/graphics.s
index 12cb6a33f..ddb14b823 100644
--- a/data/graphics.s
+++ b/data/graphics.s
@@ -16212,7 +16212,7 @@ gUnknown_8EA1958:: @ 8EA1958
gUnknown_8EA1A50:: @ 8EA1A50
.incbin "baserom.gba", 0xEA1A50, 0x118
-gUnknown_8EA1B68:: @ 8EA1B68
+gTilesetPalettes_8EA1B68:: @ 8EA1B68
.incbin "baserom.gba", 0xEA1B68, 0xE0 @UNKNOWN
gUnknown_8EA1C48:: @ 8EA1C48
@@ -16221,7 +16221,7 @@ gUnknown_8EA1C48:: @ 8EA1C48
gUnknown_8EA1CD8:: @ 8EA1CD8
.incbin "baserom.gba", 0xEA1CD8, 0x90 @UNKNOWN
-gUnknown_8EA1D68:: @ 8EA1D68
+gTilesetTiles_8EA1D68:: @ 8EA1D68
.incbin "baserom.gba", 0xEA1D68, 0x28D4
gUnknown_8EA463C:: @ 8EA463C
@@ -16278,7 +16278,7 @@ gUnknown_8EA8F40:: @ 8EA8F40
gUnknown_8EA9588:: @ 8EA9588
.incbin "graphics/berry_fix/window.bin.lz"
-gUnknown_8EA97F4:: @ 8EA97F4
+gTilesetPalettes_8EA97F4:: @ 8EA97F4
.incbin "baserom.gba", 0xEA97F4, 0x120 @UNKNOWN
gUnknown_8EA9914:: @ 8EA9914
@@ -16287,13 +16287,13 @@ gUnknown_8EA9914:: @ 8EA9914
gUnknown_8EA99A4:: @ 8EA99A4
.incbin "baserom.gba", 0xEA99A4, 0x50 @UNKNOWN
-gUnknown_8EA99F4:: @ 8EA99F4
+gTilesetTiles_8EA99F4:: @ 8EA99F4
.incbin "baserom.gba", 0xEA99F4, 0x394
-gUnknown_8EA9D88:: @ 8EA9D88
+gTilesetPalettes_8EA9D88:: @ 8EA9D88
.incbin "baserom.gba", 0xEA9D88, 0x200 @UNKNOWN
-gUnknown_8EA9F88:: @ 8EA9F88
+gTilesetTiles_8EA9F88:: @ 8EA9F88
.incbin "baserom.gba", 0xEA9F88, 0xA68
gUnknown_8EAA9F0:: @ 8EAA9F0
diff --git a/data/maps.s b/data/maps.s
index 82902858a..c530fc693 100644
--- a/data/maps.s
+++ b/data/maps.s
@@ -10,7 +10,8 @@
.section .rodata
- @ 2D4A94
+ .include "data/tilesets/graphics.inc"
+ .include "data/tilesets/metatiles.inc"
.include "data/tilesets/headers.inc"
.include "data/layouts/layouts.inc"
diff --git a/data/tilesets/graphics.inc b/data/tilesets/graphics.inc
new file mode 100644
index 000000000..6b2dd00a2
--- /dev/null
+++ b/data/tilesets/graphics.inc
@@ -0,0 +1,383 @@
+gTilesetTiles_826D37C:: @ 826D37C
+ .incbin "baserom.gba", 0x26D37C, 0x444
+
+gTilesetPalettes_826D7C0:: @ 826D7C0
+ .incbin "baserom.gba", 0x26D7C0, 0x200
+
+gTilesetTiles_826D9C0:: @ 826D9C0
+ .incbin "baserom.gba", 0x26D9C0, 0x600
+
+gTilesetPalettes_826DFC0:: @ 826DFC0
+ .incbin "baserom.gba", 0x26DFC0, 0x200
+
+gTilesetTiles_826E1C0:: @ 826E1C0
+ .incbin "baserom.gba", 0x26E1C0, 0x8F8
+
+gTilesetPalettes_826EAB8:: @ 826EAB8
+ .incbin "baserom.gba", 0x26EAB8, 0x200
+
+gTilesetTiles_826ECB8:: @ 826ECB8
+ .incbin "baserom.gba", 0x26ECB8, 0x800
+
+gTilesetPalettes_826F4B8:: @ 826F4B8
+ .incbin "baserom.gba", 0x26F4B8, 0x200
+
+gTilesetTiles_826F6B8:: @ 826F6B8
+ .incbin "baserom.gba", 0x26F6B8, 0xD80
+
+gTilesetPalettes_8270438:: @ 8270438
+ .incbin "baserom.gba", 0x270438, 0x200
+
+gTilesetTiles_8270638:: @ 8270638
+ .incbin "baserom.gba", 0x270638, 0x768
+
+gTilesetPalettes_8270DA0:: @ 8270DA0
+ .incbin "baserom.gba", 0x270DA0, 0x200
+
+gTilesetTiles_8270FA0:: @ 8270FA0
+ .incbin "baserom.gba", 0x270FA0, 0xCD4
+
+gTilesetPalettes_8271C74:: @ 8271C74
+ .incbin "baserom.gba", 0x271C74, 0x200
+
+gTilesetTiles_8271E74:: @ 8271E74
+ .incbin "baserom.gba", 0x271E74, 0xBE8
+
+gTilesetPalettes_8272A5C:: @ 8272A5C
+ .incbin "baserom.gba", 0x272A5C, 0x200
+
+gTilesetTiles_8272C5C:: @ 8272C5C
+ .incbin "baserom.gba", 0x272C5C, 0x6FC
+
+gTilesetPalettes_8273358:: @ 8273358
+ .incbin "baserom.gba", 0x273358, 0x200
+
+gTilesetTiles_8273558:: @ 8273558
+ .incbin "baserom.gba", 0x273558, 0xD78
+
+gTilesetPalettes_82742D0:: @ 82742D0
+ .incbin "baserom.gba", 0x2742D0, 0x200
+
+gTilesetTiles_82744D0:: @ 82744D0
+ .incbin "baserom.gba", 0x2744D0, 0xBC4
+
+gTilesetPalettes_8275094:: @ 8275094
+ .incbin "baserom.gba", 0x275094, 0x200
+
+gTilesetTiles_8275294:: @ 8275294
+ .incbin "baserom.gba", 0x275294, 0x2400
+
+gTilesetPalettes_8277694:: @ 8277694
+ .incbin "baserom.gba", 0x277694, 0x200
+
+gTilesetTiles_8277894:: @ 8277894
+ .incbin "baserom.gba", 0x277894, 0x1C8
+
+gTilesetPalettes_8277A5C:: @ 8277A5C
+ .incbin "baserom.gba", 0x277A5C, 0x200
+
+gTilesetTiles_8277C5C:: @ 8277C5C
+ .incbin "baserom.gba", 0x277C5C, 0x1068
+
+gTilesetPalettes_8278CC4:: @ 8278CC4
+ .incbin "baserom.gba", 0x278CC4, 0x200
+
+gTilesetTiles_8278EC4:: @ 8278EC4
+ .incbin "baserom.gba", 0x278EC4, 0x12E4
+
+gTilesetPalettes_827A1A8:: @ 827A1A8
+ .incbin "baserom.gba", 0x27A1A8, 0x200
+
+gTilesetTiles_827A3A8:: @ 827A3A8
+ .incbin "baserom.gba", 0x27A3A8, 0x10
+
+gTilesetPalettes_827A3B8:: @ 827A3B8
+ .incbin "baserom.gba", 0x27A3B8, 0x200
+
+gTilesetTiles_827A5B8:: @ 827A5B8
+ .incbin "baserom.gba", 0x27A5B8, 0x85C
+
+gTilesetPalettes_827AE14:: @ 827AE14
+ .incbin "baserom.gba", 0x27AE14, 0x200
+
+gTilesetTiles_827B014:: @ 827B014
+ .incbin "baserom.gba", 0x27B014, 0x4F00
+
+gTilesetPalettes_827FF14:: @ 827FF14
+ .incbin "baserom.gba", 0x27FF14, 0x200
+
+gTilesetTiles_8280114:: @ 8280114
+ .incbin "baserom.gba", 0x280114, 0x3D8
+
+gTilesetPalettes_82804EC:: @ 82804EC
+ .incbin "baserom.gba", 0x2804EC, 0x200
+
+gTilesetTiles_82806EC:: @ 82806EC
+ .incbin "baserom.gba", 0x2806EC, 0x614
+
+gTilesetPalettes_8280D00:: @ 8280D00
+ .incbin "baserom.gba", 0x280D00, 0x200
+
+gTilesetTiles_8280F00:: @ 8280F00
+ .incbin "baserom.gba", 0x280F00, 0x14A4
+
+gTilesetPalettes_82823A4:: @ 82823A4
+ .incbin "baserom.gba", 0x2823A4, 0x200
+
+gTilesetTiles_82825A4:: @ 82825A4
+ .incbin "baserom.gba", 0x2825A4, 0xA18
+
+gTilesetPalettes_8282FBC:: @ 8282FBC
+ .incbin "baserom.gba", 0x282FBC, 0x200
+
+gTilesetTiles_82831BC:: @ 82831BC
+ .incbin "baserom.gba", 0x2831BC, 0x7F4
+
+gTilesetPalettes_82839B0:: @ 82839B0
+ .incbin "baserom.gba", 0x2839B0, 0x200
+
+gTilesetTiles_8283BB0:: @ 8283BB0
+ .incbin "baserom.gba", 0x283BB0, 0x448
+
+gTilesetPalettes_8283FF8:: @ 8283FF8
+ .incbin "baserom.gba", 0x283FF8, 0x200
+
+gTilesetTiles_82841F8:: @ 82841F8
+ .incbin "baserom.gba", 0x2841F8, 0x7C0
+
+gTilesetPalettes_82849B8:: @ 82849B8
+ .incbin "baserom.gba", 0x2849B8, 0x200
+
+gTilesetTiles_8284BB8:: @ 8284BB8
+ .incbin "baserom.gba", 0x284BB8, 0x598
+
+gTilesetPalettes_8285150:: @ 8285150
+ .incbin "baserom.gba", 0x285150, 0x200
+
+gTilesetTiles_8285350:: @ 8285350
+ .incbin "baserom.gba", 0x285350, 0x454
+
+gTilesetPalettes_82857A4:: @ 82857A4
+ .incbin "baserom.gba", 0x2857A4, 0x200
+
+gTilesetTiles_82859A4:: @ 82859A4
+ .incbin "baserom.gba", 0x2859A4, 0x3EC
+
+gTilesetPalettes_8285D90:: @ 8285D90
+ .incbin "baserom.gba", 0x285D90, 0x200
+
+gTilesetTiles_8285F90:: @ 8285F90
+ .incbin "baserom.gba", 0x285F90, 0x644
+
+gTilesetPalettes_82865D4:: @ 82865D4
+ .incbin "baserom.gba", 0x2865D4, 0x200
+
+gTilesetTiles_82867D4:: @ 82867D4
+ .incbin "baserom.gba", 0x2867D4, 0x3F4
+
+gTilesetPalettes_8286BC8:: @ 8286BC8
+ .incbin "baserom.gba", 0x286BC8, 0x200
+
+gTilesetTiles_8286DC8:: @ 8286DC8
+ .incbin "baserom.gba", 0x286DC8, 0xDB8
+
+gTilesetPalettes_8287B80:: @ 8287B80
+ .incbin "baserom.gba", 0x287B80, 0x200
+
+gTilesetTiles_8287D80:: @ 8287D80
+ .incbin "baserom.gba", 0x287D80, 0x14
+
+gTilesetPalettes_8287D94:: @ 8287D94
+ .incbin "baserom.gba", 0x287D94, 0x200
+
+gTilesetTiles_8287F94:: @ 8287F94
+ .incbin "baserom.gba", 0x287F94, 0x4B0
+
+gTilesetPalettes_8288444:: @ 8288444
+ .incbin "baserom.gba", 0x288444, 0x200
+
+gTilesetTiles_8288644:: @ 8288644
+ .incbin "baserom.gba", 0x288644, 0x61C
+
+gTilesetPalettes_8288C60:: @ 8288C60
+ .incbin "baserom.gba", 0x288C60, 0x200
+
+gTilesetTiles_8288E60:: @ 8288E60
+ .incbin "baserom.gba", 0x288E60, 0x1168
+
+gTilesetPalettes_8289FC8:: @ 8289FC8
+ .incbin "baserom.gba", 0x289FC8, 0x200
+
+gTilesetTiles_828A1C8:: @ 828A1C8
+ .incbin "baserom.gba", 0x28A1C8, 0x1088
+
+gTilesetPalettes_828B250:: @ 828B250
+ .incbin "baserom.gba", 0x28B250, 0x200
+
+gTilesetTiles_828B450:: @ 828B450
+ .incbin "baserom.gba", 0x28B450, 0x1650
+
+gTilesetPalettes_828CAA0:: @ 828CAA0
+ .incbin "baserom.gba", 0x28CAA0, 0x200
+
+gTilesetTiles_828CCA0:: @ 828CCA0
+ .incbin "baserom.gba", 0x28CCA0, 0x61C
+
+gTilesetPalettes_828D2BC:: @ 828D2BC
+ .incbin "baserom.gba", 0x28D2BC, 0x200
+
+gTilesetTiles_828D4BC:: @ 828D4BC
+ .incbin "baserom.gba", 0x28D4BC, 0xEE8
+
+gTilesetPalettes_828E3A4:: @ 828E3A4
+ .incbin "baserom.gba", 0x28E3A4, 0x200
+
+gTilesetTiles_828E5A4:: @ 828E5A4
+ .incbin "baserom.gba", 0x28E5A4, 0x6CC
+
+gTilesetPalettes_828EC70:: @ 828EC70
+ .incbin "baserom.gba", 0x28EC70, 0x200
+
+gTilesetTiles_828EE70:: @ 828EE70
+ .incbin "baserom.gba", 0x28EE70, 0x508
+
+gTilesetPalettes_828F378:: @ 828F378
+ .incbin "baserom.gba", 0x28F378, 0x200
+
+gTilesetTiles_828F578:: @ 828F578
+ .incbin "baserom.gba", 0x28F578, 0x460
+
+gTilesetPalettes_828F9D8:: @ 828F9D8
+ .incbin "baserom.gba", 0x28F9D8, 0x200
+
+gTilesetTiles_828FBD8:: @ 828FBD8
+ .incbin "baserom.gba", 0x28FBD8, 0x11F8
+
+gTilesetPalettes_8290DD0:: @ 8290DD0
+ .incbin "baserom.gba", 0x290DD0, 0x200
+
+gTilesetTiles_8290FD0:: @ 8290FD0
+ .incbin "baserom.gba", 0x290FD0, 0x2A4
+
+gTilesetPalettes_8291274:: @ 8291274
+ .incbin "baserom.gba", 0x291274, 0x200
+
+gTilesetTiles_8291474:: @ 8291474
+ .incbin "baserom.gba", 0x291474, 0x688
+
+gTilesetPalettes_8291AFC:: @ 8291AFC
+ .incbin "baserom.gba", 0x291AFC, 0x200
+
+gTilesetTiles_8291CFC:: @ 8291CFC
+ .incbin "baserom.gba", 0x291CFC, 0x3F4
+
+gTilesetPalettes_82920F0:: @ 82920F0
+ .incbin "baserom.gba", 0x2920F0, 0x200
+
+gTilesetTiles_82922F0:: @ 82922F0
+ .incbin "baserom.gba", 0x2922F0, 0xD00
+
+gTilesetPalettes_8292FF0:: @ 8292FF0
+ .incbin "baserom.gba", 0x292FF0, 0x200
+
+gTilesetTiles_82931F0:: @ 82931F0
+ .incbin "baserom.gba", 0x2931F0, 0x470
+
+gTilesetPalettes_8293660:: @ 8293660
+ .incbin "baserom.gba", 0x293660, 0x200
+
+gTilesetTiles_8293860:: @ 8293860
+ .incbin "baserom.gba", 0x293860, 0x2AC
+
+gTilesetPalettes_8293B0C:: @ 8293B0C
+ .incbin "baserom.gba", 0x293B0C, 0x200
+
+gTilesetTiles_8293D0C:: @ 8293D0C
+ .incbin "baserom.gba", 0x293D0C, 0x438
+
+gTilesetPalettes_8294144:: @ 8294144
+ .incbin "baserom.gba", 0x294144, 0x200
+
+gTilesetTiles_8294344:: @ 8294344
+ .incbin "baserom.gba", 0x294344, 0x9C4
+
+gTilesetPalettes_8294D08:: @ 8294D08
+ .incbin "baserom.gba", 0x294D08, 0x200
+
+gTilesetTiles_8294F08:: @ 8294F08
+ .incbin "baserom.gba", 0x294F08, 0x10
+
+gTilesetPalettes_8294F18:: @ 8294F18
+ .incbin "baserom.gba", 0x294F18, 0x200
+
+gTilesetTiles_8295118:: @ 8295118
+ .incbin "baserom.gba", 0x295118, 0x14
+
+gTilesetPalettes_829512C:: @ 829512C
+ .incbin "baserom.gba", 0x29512C, 0x200
+
+gTilesetTiles_829532C:: @ 829532C
+ .incbin "baserom.gba", 0x29532C, 0x14A8
+
+gTilesetPalettes_82967D4:: @ 82967D4
+ .incbin "baserom.gba", 0x2967D4, 0x200
+
+gTilesetTiles_82969D4:: @ 82969D4
+ .incbin "baserom.gba", 0x2969D4, 0x4BC
+
+gTilesetPalettes_8296E90:: @ 8296E90
+ .incbin "baserom.gba", 0x296E90, 0x200
+
+gTilesetTiles_8297090:: @ 8297090
+ .incbin "baserom.gba", 0x297090, 0x132C
+
+gTilesetPalettes_82983BC:: @ 82983BC
+ .incbin "baserom.gba", 0x2983BC, 0x200
+
+gTilesetTiles_82985BC:: @ 82985BC
+ .incbin "baserom.gba", 0x2985BC, 0x3B4
+
+gTilesetPalettes_8298970:: @ 8298970
+ .incbin "baserom.gba", 0x298970, 0x200
+
+gTilesetTiles_8298B70:: @ 8298B70
+ .incbin "baserom.gba", 0x298B70, 0xF34
+
+gTilesetPalettes_8299AA4:: @ 8299AA4
+ .incbin "baserom.gba", 0x299AA4, 0x200
+
+gTilesetTiles_8299CA4:: @ 8299CA4
+ .incbin "baserom.gba", 0x299CA4, 0xE60
+
+gTilesetPalettes_829AB04:: @ 829AB04
+ .incbin "baserom.gba", 0x29AB04, 0x200
+
+gTilesetTiles_829AD04:: @ 829AD04
+ .incbin "baserom.gba", 0x29AD04, 0x1060
+
+gTilesetPalettes_829BD64:: @ 829BD64
+ .incbin "baserom.gba", 0x29BD64, 0x200
+
+gTilesetTiles_829BF64:: @ 829BF64
+ .incbin "baserom.gba", 0x29BF64, 0xF80
+
+gTilesetPalettes_829CEE4:: @ 829CEE4
+ .incbin "baserom.gba", 0x29CEE4, 0x200
+
+gTilesetTiles_829D0E4:: @ 829D0E4
+ .incbin "baserom.gba", 0x29D0E4, 0x7B0
+
+gTilesetPalettes_829D894:: @ 829D894
+ .incbin "baserom.gba", 0x29D894, 0x200
+
+gTilesetTiles_829DA94:: @ 829DA94
+ .incbin "baserom.gba", 0x29DA94, 0xFBC
+
+gTilesetPalettes_829EA50:: @ 829EA50
+ .incbin "baserom.gba", 0x29EA50, 0x200
+
+gTilesetTiles_829EC50:: @ 829EC50
+ .incbin "baserom.gba", 0x29EC50, 0x878
+
+gTilesetPalettes_829F4C8:: @ 829F4C8
+ .incbin "baserom.gba", 0x29F4C8, 0x200
diff --git a/data/tilesets/headers.inc b/data/tilesets/headers.inc
index 7c1186204..d40b3a5e6 100644
--- a/data/tilesets/headers.inc
+++ b/data/tilesets/headers.inc
@@ -1,272 +1,749 @@
+
.align 2
gTileset_82D4A94::
- .incbin "baserom.gba", 0x2D4A94, 0x18
+ .byte TRUE @ is compressed
+ .byte FALSE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8EA1D68
+ .4byte gTilesetPalettes_8EA1B68
+ .4byte gMetatiles_829F6C8
+ .4byte sub_8070154
+ .4byte gMetatileAttributes_82A1EC8
.align 2
gTileset_82D4AAC::
- .incbin "baserom.gba", 0x2D4AAC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826D37C
+ .4byte gTilesetPalettes_826D7C0
+ .4byte gMetatiles_82A28C8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A2E58
.align 2
gTileset_82D4AC4::
- .incbin "baserom.gba", 0x2D4AC4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826D9C0
+ .4byte gTilesetPalettes_826DFC0
+ .4byte gMetatiles_82A2FBC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A35AC
.align 2
gTileset_82D4ADC::
- .incbin "baserom.gba", 0x2D4ADC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826E1C0
+ .4byte gTilesetPalettes_826EAB8
+ .4byte gMetatiles_82A3728
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A3C18
.align 2
gTileset_82D4AF4::
- .incbin "baserom.gba", 0x2D4AF4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826ECB8
+ .4byte gTilesetPalettes_826F4B8
+ .4byte gMetatiles_82A3D54
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A45B4
.align 2
gTileset_82D4B0C::
- .incbin "baserom.gba", 0x2D4B0C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_826F6B8
+ .4byte gTilesetPalettes_8270438
+ .4byte gMetatiles_82A47CC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A556C
.align 2
gTileset_82D4B24::
- .incbin "baserom.gba", 0x2D4B24, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8270638
+ .4byte gTilesetPalettes_8270DA0
+ .4byte gMetatiles_82A58D4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A6354
.align 2
gTileset_82D4B3C::
- .incbin "baserom.gba", 0x2D4B3C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8270FA0
+ .4byte gTilesetPalettes_8271C74
+ .4byte gMetatiles_82A65F4
+ .4byte sub_80701D8
+ .4byte gMetatileAttributes_82A74F4
.align 2
gTileset_82D4B54::
- .incbin "baserom.gba", 0x2D4B54, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8271E74
+ .4byte gTilesetPalettes_8272A5C
+ .4byte gMetatiles_82A78B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A84B4
.align 2
gTileset_82D4B6C::
- .incbin "baserom.gba", 0x2D4B6C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8272C5C
+ .4byte gTilesetPalettes_8273358
+ .4byte gMetatiles_82A87B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A8BB4
.align 2
gTileset_82D4B84::
- .incbin "baserom.gba", 0x2D4B84, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8273558
+ .4byte gTilesetPalettes_82742D0
+ .4byte gMetatiles_82A8CB4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82A97B4
.align 2
gTileset_82D4B9C::
- .incbin "baserom.gba", 0x2D4B9C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82744D0
+ .4byte gTilesetPalettes_8275094
+ .4byte gMetatiles_82A9A74
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AA6F4
.align 2
gTileset_82D4BB4::
- .incbin "baserom.gba", 0x2D4BB4, 0x18
+ .byte TRUE @ is compressed
+ .byte FALSE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8275294
+ .4byte gTilesetPalettes_8277694
+ .4byte gMetatiles_82AD7B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AFFB4
.align 2
gTileset_82D4BCC::
- .incbin "baserom.gba", 0x2D4BCC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8277894
+ .4byte gTilesetPalettes_8277A5C
+ .4byte gMetatiles_82B3524
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B3954
.align 2
gTileset_82D4BE4::
- .incbin "baserom.gba", 0x2D4BE4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8277C5C
+ .4byte gTilesetPalettes_8278CC4
+ .4byte gMetatiles_82B3A60
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B4A50
.align 2
gTileset_82D4BFC::
- .incbin "baserom.gba", 0x2D4BFC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8278EC4
+ .4byte gTilesetPalettes_827A1A8
+ .4byte gMetatiles_82B502C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B5A3C
.align 2
gTileset_82D4C14::
- .incbin "baserom.gba", 0x2D4C14, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_827A3A8
+ .4byte gTilesetPalettes_827A3B8
+ .4byte gMetatiles_82B09B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B09D4
.align 2
gTileset_82D4C2C::
- .incbin "baserom.gba", 0x2D4C2C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_827A5B8
+ .4byte gTilesetPalettes_827AE14
+ .4byte gMetatiles_82C5738
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C5FA8
.align 2
gTileset_82D4C44::
- .incbin "baserom.gba", 0x2D4C44, 0x18
+ .byte FALSE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_827B014
+ .4byte gTilesetPalettes_827FF14
+ .4byte gMetatiles_82C61C4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C71C4
.align 2
gTileset_82D4C5C::
- .incbin "baserom.gba", 0x2D4C5C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8280114
+ .4byte gTilesetPalettes_82804EC
+ .4byte gMetatiles_82B31DC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B347C
.align 2
gTileset_82D4C74::
- .incbin "baserom.gba", 0x2D4C74, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8EA99F4
+ .4byte gTilesetPalettes_8EA97F4
+ .4byte gMetatiles_82B4E4C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B4FCC
.align 2
gTileset_82D4C8C::
- .incbin "baserom.gba", 0x2D4C8C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82806EC
+ .4byte gTilesetPalettes_8280D00
+ .4byte gMetatiles_82B68A0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B7390
.align 2
gTileset_82D4CA4::
- .incbin "baserom.gba", 0x2D4CA4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8285350
+ .4byte gTilesetPalettes_82857A4
+ .4byte gMetatiles_82AC364
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AC584
.align 2
gTileset_82D4CBC::
- .incbin "baserom.gba", 0x2D4CBC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82867D4
+ .4byte gTilesetPalettes_8286BC8
+ .4byte gMetatiles_82AD124
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AD664
.align 2
gTileset_82D4CD4::
- .incbin "baserom.gba", 0x2D4CD4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8280F00
+ .4byte gTilesetPalettes_82823A4
+ .4byte gMetatiles_82B09DC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B29DC
.align 2
gTileset_82D4CEC::
- .incbin "baserom.gba", 0x2D4CEC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82825A4
+ .4byte gTilesetPalettes_8282FBC
+ .4byte gMetatiles_82B5CC0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B6640
.align 2
gTileset_82D4D04::
- .incbin "baserom.gba", 0x2D4D04, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82831BC
+ .4byte gTilesetPalettes_82839B0
+ .4byte gMetatiles_82AAA14
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AB064
.align 2
gTileset_82D4D1C::
- .incbin "baserom.gba", 0x2D4D1C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8283BB0
+ .4byte gTilesetPalettes_8283FF8
+ .4byte gMetatiles_82AB1F8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AB738
.align 2
gTileset_82D4D34::
- .incbin "baserom.gba", 0x2D4D34, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82841F8
+ .4byte gTilesetPalettes_82849B8
+ .4byte gMetatiles_82AB888
+ .4byte sub_807031C
+ .4byte gMetatileAttributes_82ABD38
.align 2
gTileset_82D4D4C::
- .incbin "baserom.gba", 0x2D4D4C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8284BB8
+ .4byte gTilesetPalettes_8285150
+ .4byte gMetatiles_82ABE64
+ .4byte sub_8070380
+ .4byte gMetatileAttributes_82AC264
.align 2
gTileset_82D4D64::
- .incbin "baserom.gba", 0x2D4D64, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82859A4
+ .4byte gTilesetPalettes_8285D90
+ .4byte gMetatiles_82AC60C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82AC8EC
.align 2
gTileset_82D4D7C::
- .incbin "baserom.gba", 0x2D4D7C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8285F90
+ .4byte gTilesetPalettes_82865D4
+ .4byte gMetatiles_82AC9A4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82ACFA4
.align 2
gTileset_82D4D94::
- .incbin "baserom.gba", 0x2D4D94, 0x18
-
- .align 2
-gTileset_82D4DAC:: @ unreferenced
- .incbin "baserom.gba", 0x2D4DAC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8286DC8
+ .4byte gTilesetPalettes_8287B80
+ .4byte gMetatiles_82B764C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B8B4C
+
+ .align 2
+gTileset_82D4DAC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8287D80
+ .4byte gTilesetPalettes_8287D94
+ .4byte gMetatiles_82B908C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B90AC
.align 2
gTileset_82D4DC4::
- .incbin "baserom.gba", 0x2D4DC4, 0x18
-
- .align 2
-gTileset_82D4DDC:: @ unused
- .incbin "baserom.gba", 0x2D4DDC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8287F94
+ .4byte gTilesetPalettes_8288444
+ .4byte gMetatiles_82B90B4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B9364
+
+ .align 2
+gTileset_82D4DDC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8288644
+ .4byte gTilesetPalettes_8288C60
+ .4byte gMetatiles_82B9410
+ .4byte 0x0
+ .4byte gMetatileAttributes_82B9B30
.align 2
gTileset_82D4DF4::
- .incbin "baserom.gba", 0x2D4DF4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8288E60
+ .4byte gTilesetPalettes_8289FC8
+ .4byte gMetatiles_82B9CF8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BA678
.align 2
gTileset_82D4E0C::
- .incbin "baserom.gba", 0x2D4E0C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828A1C8
+ .4byte gTilesetPalettes_828B250
+ .4byte gMetatiles_82BA8D8
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BB2A8
.align 2
gTileset_82D4E24::
- .incbin "baserom.gba", 0x2D4E24, 0x18
-
- .align 2
-gTileset_82D4E3C:: @ unused
- .incbin "baserom.gba", 0x2D4E3C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828B450
+ .4byte gTilesetPalettes_828CAA0
+ .4byte gMetatiles_82BB51C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BC49C
+
+ .align 2
+gTileset_82D4E3C::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828CCA0
+ .4byte gTilesetPalettes_828D2BC
+ .4byte gMetatiles_82BC87C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BCF9C
.align 2
gTileset_82D4E54::
- .incbin "baserom.gba", 0x2D4E54, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828D4BC
+ .4byte gTilesetPalettes_828E3A4
+ .4byte gMetatiles_82BD164
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BD9C4
.align 2
gTileset_82D4E6C::
- .incbin "baserom.gba", 0x2D4E6C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8EA9F88
+ .4byte gTilesetPalettes_8EA9D88
+ .4byte gMetatiles_82BDBDC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BEB3C
.align 2
gTileset_82D4E84::
- .incbin "baserom.gba", 0x2D4E84, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828E5A4
+ .4byte gTilesetPalettes_828EC70
+ .4byte gMetatiles_82BEF14
+ .4byte 0x0
+ .4byte gMetatileAttributes_82BFA94
.align 2
gTileset_82D4E9C::
- .incbin "baserom.gba", 0x2D4E9C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828EE70
+ .4byte gTilesetPalettes_828F378
+ .4byte gMetatiles_82BFD74
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C0704
.align 2
gTileset_82D4EB4::
- .incbin "baserom.gba", 0x2D4EB4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828F578
+ .4byte gTilesetPalettes_828F9D8
+ .4byte gMetatiles_82C0968
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C0D18
.align 2
gTileset_82D4ECC::
- .incbin "baserom.gba", 0x2D4ECC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828FBD8
+ .4byte gTilesetPalettes_8290DD0
+ .4byte gMetatiles_82C0E04
+ .4byte sub_8070250
+ .4byte gMetatileAttributes_82C25A4
.align 2
gTileset_82D4EE4::
- .incbin "baserom.gba", 0x2D4EE4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8290FD0
+ .4byte gTilesetPalettes_8291274
+ .4byte gMetatiles_82C2B8C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C300C
.align 2
gTileset_82D4EFC::
- .incbin "baserom.gba", 0x2D4EFC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8291474
+ .4byte gTilesetPalettes_8291AFC
+ .4byte gMetatiles_82C312C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C377C
.align 2
gTileset_82D4F14::
- .incbin "baserom.gba", 0x2D4F14, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8291CFC
+ .4byte gTilesetPalettes_82920F0
+ .4byte gMetatiles_82C3910
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C4110
.align 2
gTileset_82D4F2C::
- .incbin "baserom.gba", 0x2D4F2C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82922F0
+ .4byte gTilesetPalettes_8292FF0
+ .4byte gMetatiles_82C4310
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C5330
.align 2
gTileset_82D4F44::
- .incbin "baserom.gba", 0x2D4F44, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82931F0
+ .4byte gTilesetPalettes_8293660
+ .4byte gMetatiles_82C75C4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C7C44
.align 2
gTileset_82D4F5C::
- .incbin "baserom.gba", 0x2D4F5C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8293860
+ .4byte gTilesetPalettes_8293B0C
+ .4byte gMetatiles_82C7DE4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C80C4
.align 2
gTileset_82D4F74::
- .incbin "baserom.gba", 0x2D4F74, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8293D0C
+ .4byte gTilesetPalettes_8294144
+ .4byte gMetatiles_82C817C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C8C1C
.align 2
gTileset_82D4F8C::
- .incbin "baserom.gba", 0x2D4F8C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_828FBD8
+ .4byte gTilesetPalettes_8290DD0
+ .4byte gMetatiles_82C8EC4
+ .4byte 0x0
+ .4byte gMetatileAttributes_82C9C34
.align 2
gTileset_82D4FA4::
- .incbin "baserom.gba", 0x2D4FA4, 0x18
-
- .align 2
-gTileset_82D4FBC:: @ unused
- .incbin "baserom.gba", 0x2D4FBC, 0x18
-
- .align 2
-gTileset_82D4FD4:: @ unused
- .incbin "baserom.gba", 0x2D4FD4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8294344
+ .4byte gTilesetPalettes_8294D08
+ .4byte gMetatiles_82C9F90
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CA320
+
+ .align 2
+gTileset_82D4FBC::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8294F08
+ .4byte gTilesetPalettes_8294F18
+ .4byte gMetatiles_82CA404
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CA424
+
+ .align 2
+gTileset_82D4FD4::
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8295118
+ .4byte gTilesetPalettes_829512C
+ .4byte gMetatiles_82CA42C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CA44C
.align 2
gTileset_82D4FEC::
- .incbin "baserom.gba", 0x2D4FEC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829532C
+ .4byte gTilesetPalettes_82967D4
+ .4byte gMetatiles_82CA454
+ .4byte sub_80702B4
+ .4byte gMetatileAttributes_82CB274
.align 2
gTileset_82D5004::
- .incbin "baserom.gba", 0x2D5004, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82969D4
+ .4byte gTilesetPalettes_8296E90
+ .4byte gMetatiles_82CB5FC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CB89C
.align 2
gTileset_82D501C::
- .incbin "baserom.gba", 0x2D501C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8297090
+ .4byte gTilesetPalettes_82983BC
+ .4byte gMetatiles_82CB944
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CC704
.align 2
gTileset_82D5034::
- .incbin "baserom.gba", 0x2D5034, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_82985BC
+ .4byte gTilesetPalettes_8298970
+ .4byte gMetatiles_82CCA74
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CD054
.align 2
gTileset_82D504C::
- .incbin "baserom.gba", 0x2D504C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8298B70
+ .4byte gTilesetPalettes_8299AA4
+ .4byte gMetatiles_82CD1CC
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CE39C
.align 2
gTileset_82D5064::
- .incbin "baserom.gba", 0x2D5064, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_8299CA4
+ .4byte gTilesetPalettes_829AB04
+ .4byte gMetatiles_82CE810
+ .4byte 0x0
+ .4byte gMetatileAttributes_82CF190
.align 2
gTileset_82D507C::
- .incbin "baserom.gba", 0x2D507C, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829AD04
+ .4byte gTilesetPalettes_829BD64
+ .4byte gMetatiles_82CF3F0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D02F0
.align 2
gTileset_82D5094::
- .incbin "baserom.gba", 0x2D5094, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829BF64
+ .4byte gTilesetPalettes_829CEE4
+ .4byte gMetatiles_82D06B0
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D18B0
.align 2
gTileset_82D50AC::
- .incbin "baserom.gba", 0x2D50AC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829D0E4
+ .4byte gTilesetPalettes_829D894
+ .4byte gMetatiles_82D1D30
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D2220
.align 2
gTileset_82D50C4::
- .incbin "baserom.gba", 0x2D50C4, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829DA94
+ .4byte gTilesetPalettes_829EA50
+ .4byte gMetatiles_82D235C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D3B5C
.align 2
gTileset_82D50DC::
- .incbin "baserom.gba", 0x2D50DC, 0x18
+ .byte TRUE @ is compressed
+ .byte TRUE @ is secondary
+ .2byte 0 @ padding
+ .4byte gTilesetTiles_829EC50
+ .4byte gTilesetPalettes_829F4C8
+ .4byte gMetatiles_82D415C
+ .4byte 0x0
+ .4byte gMetatileAttributes_82D48BC
diff --git a/data/tilesets/metatiles.inc b/data/tilesets/metatiles.inc
new file mode 100644
index 000000000..60d78c179
--- /dev/null
+++ b/data/tilesets/metatiles.inc
@@ -0,0 +1,407 @@
+gMetatiles_829F6C8:: @ 829F6C8
+ .incbin "baserom.gba", 0x29F6C8, 0x2800
+
+gMetatileAttributes_82A1EC8:: @ 82A1EC8
+ .incbin "baserom.gba", 0x2A1EC8, 0xA00
+
+gMetatiles_82A28C8:: @ 82A28C8
+ .incbin "baserom.gba", 0x2A28C8, 0x590
+
+gMetatileAttributes_82A2E58:: @ 82A2E58
+ .incbin "baserom.gba", 0x2A2E58, 0x164
+
+gMetatiles_82A2FBC:: @ 82A2FBC
+ .incbin "baserom.gba", 0x2A2FBC, 0x5F0
+
+gMetatileAttributes_82A35AC:: @ 82A35AC
+ .incbin "baserom.gba", 0x2A35AC, 0x17C
+
+gMetatiles_82A3728:: @ 82A3728
+ .incbin "baserom.gba", 0x2A3728, 0x4F0
+
+gMetatileAttributes_82A3C18:: @ 82A3C18
+ .incbin "baserom.gba", 0x2A3C18, 0x13C
+
+gMetatiles_82A3D54:: @ 82A3D54
+ .incbin "baserom.gba", 0x2A3D54, 0x860
+
+gMetatileAttributes_82A45B4:: @ 82A45B4
+ .incbin "baserom.gba", 0x2A45B4, 0x218
+
+gMetatiles_82A47CC:: @ 82A47CC
+ .incbin "baserom.gba", 0x2A47CC, 0xDA0
+
+gMetatileAttributes_82A556C:: @ 82A556C
+ .incbin "baserom.gba", 0x2A556C, 0x368
+
+gMetatiles_82A58D4:: @ 82A58D4
+ .incbin "baserom.gba", 0x2A58D4, 0xA80
+
+gMetatileAttributes_82A6354:: @ 82A6354
+ .incbin "baserom.gba", 0x2A6354, 0x2A0
+
+gMetatiles_82A65F4:: @ 82A65F4
+ .incbin "baserom.gba", 0x2A65F4, 0xF00
+
+gMetatileAttributes_82A74F4:: @ 82A74F4
+ .incbin "baserom.gba", 0x2A74F4, 0x3C0
+
+gMetatiles_82A78B4:: @ 82A78B4
+ .incbin "baserom.gba", 0x2A78B4, 0xC00
+
+gMetatileAttributes_82A84B4:: @ 82A84B4
+ .incbin "baserom.gba", 0x2A84B4, 0x300
+
+gMetatiles_82A87B4:: @ 82A87B4
+ .incbin "baserom.gba", 0x2A87B4, 0x400
+
+gMetatileAttributes_82A8BB4:: @ 82A8BB4
+ .incbin "baserom.gba", 0x2A8BB4, 0x100
+
+gMetatiles_82A8CB4:: @ 82A8CB4
+ .incbin "baserom.gba", 0x2A8CB4, 0xB00
+
+gMetatileAttributes_82A97B4:: @ 82A97B4
+ .incbin "baserom.gba", 0x2A97B4, 0x2C0
+
+gMetatiles_82A9A74:: @ 82A9A74
+ .incbin "baserom.gba", 0x2A9A74, 0xC80
+
+gMetatileAttributes_82AA6F4:: @ 82AA6F4
+ .incbin "baserom.gba", 0x2AA6F4, 0x320
+
+gMetatiles_82AAA14:: @ 82AAA14
+ .incbin "baserom.gba", 0x2AAA14, 0x650
+
+gMetatileAttributes_82AB064:: @ 82AB064
+ .incbin "baserom.gba", 0x2AB064, 0x194
+
+gMetatiles_82AB1F8:: @ 82AB1F8
+ .incbin "baserom.gba", 0x2AB1F8, 0x540
+
+gMetatileAttributes_82AB738:: @ 82AB738
+ .incbin "baserom.gba", 0x2AB738, 0x150
+
+gMetatiles_82AB888:: @ 82AB888
+ .incbin "baserom.gba", 0x2AB888, 0x4B0
+
+gMetatileAttributes_82ABD38:: @ 82ABD38
+ .incbin "baserom.gba", 0x2ABD38, 0x12C
+
+gMetatiles_82ABE64:: @ 82ABE64
+ .incbin "baserom.gba", 0x2ABE64, 0x400
+
+gMetatileAttributes_82AC264:: @ 82AC264
+ .incbin "baserom.gba", 0x2AC264, 0x100
+
+gMetatiles_82AC364:: @ 82AC364
+ .incbin "baserom.gba", 0x2AC364, 0x220
+
+gMetatileAttributes_82AC584:: @ 82AC584
+ .incbin "baserom.gba", 0x2AC584, 0x88
+
+gMetatiles_82AC60C:: @ 82AC60C
+ .incbin "baserom.gba", 0x2AC60C, 0x2E0
+
+gMetatileAttributes_82AC8EC:: @ 82AC8EC
+ .incbin "baserom.gba", 0x2AC8EC, 0xB8
+
+gMetatiles_82AC9A4:: @ 82AC9A4
+ .incbin "baserom.gba", 0x2AC9A4, 0x600
+
+gMetatileAttributes_82ACFA4:: @ 82ACFA4
+ .incbin "baserom.gba", 0x2ACFA4, 0x180
+
+gMetatiles_82AD124:: @ 82AD124
+ .incbin "baserom.gba", 0x2AD124, 0x540
+
+gMetatileAttributes_82AD664:: @ 82AD664
+ .incbin "baserom.gba", 0x2AD664, 0x150
+
+gMetatiles_82AD7B4:: @ 82AD7B4
+ .incbin "baserom.gba", 0x2AD7B4, 0x2800
+
+gMetatileAttributes_82AFFB4:: @ 82AFFB4
+ .incbin "baserom.gba", 0x2AFFB4, 0xA00
+
+gMetatiles_82B09B4:: @ 82B09B4
+ .incbin "baserom.gba", 0x2B09B4, 0x20
+
+gMetatileAttributes_82B09D4:: @ 82B09D4
+ .incbin "baserom.gba", 0x2B09D4, 0x8
+
+gMetatiles_82B09DC:: @ 82B09DC
+ .incbin "baserom.gba", 0x2B09DC, 0x2000
+
+gMetatileAttributes_82B29DC:: @ 82B29DC
+ .incbin "baserom.gba", 0x2B29DC, 0x800
+
+gMetatiles_82B31DC:: @ 82B31DC
+ .incbin "baserom.gba", 0x2B31DC, 0x2A0
+
+gMetatileAttributes_82B347C:: @ 82B347C
+ .incbin "baserom.gba", 0x2B347C, 0xA8
+
+gMetatiles_82B3524:: @ 82B3524
+ .incbin "baserom.gba", 0x2B3524, 0x430
+
+gMetatileAttributes_82B3954:: @ 82B3954
+ .incbin "baserom.gba", 0x2B3954, 0x10C
+
+gMetatiles_82B3A60:: @ 82B3A60
+ .incbin "baserom.gba", 0x2B3A60, 0xFF0
+
+gMetatileAttributes_82B4A50:: @ 82B4A50
+ .incbin "baserom.gba", 0x2B4A50, 0x3FC
+
+gMetatiles_82B4E4C:: @ 82B4E4C
+ .incbin "baserom.gba", 0x2B4E4C, 0x180
+
+gMetatileAttributes_82B4FCC:: @ 82B4FCC
+ .incbin "baserom.gba", 0x2B4FCC, 0x60
+
+gMetatiles_82B502C:: @ 82B502C
+ .incbin "baserom.gba", 0x2B502C, 0xA10
+
+gMetatileAttributes_82B5A3C:: @ 82B5A3C
+ .incbin "baserom.gba", 0x2B5A3C, 0x284
+
+gMetatiles_82B5CC0:: @ 82B5CC0
+ .incbin "baserom.gba", 0x2B5CC0, 0x980
+
+gMetatileAttributes_82B6640:: @ 82B6640
+ .incbin "baserom.gba", 0x2B6640, 0x260
+
+gMetatiles_82B68A0:: @ 82B68A0
+ .incbin "baserom.gba", 0x2B68A0, 0xAF0
+
+gMetatileAttributes_82B7390:: @ 82B7390
+ .incbin "baserom.gba", 0x2B7390, 0x2BC
+
+gMetatiles_82B764C:: @ 82B764C
+ .incbin "baserom.gba", 0x2B764C, 0x1500
+
+gMetatileAttributes_82B8B4C:: @ 82B8B4C
+ .incbin "baserom.gba", 0x2B8B4C, 0x540
+
+gMetatiles_82B908C:: @ 82B908C
+ .incbin "baserom.gba", 0x2B908C, 0x20
+
+gMetatileAttributes_82B90AC:: @ 82B90AC
+ .incbin "baserom.gba", 0x2B90AC, 0x8
+
+gMetatiles_82B90B4:: @ 82B90B4
+ .incbin "baserom.gba", 0x2B90B4, 0x2B0
+
+gMetatileAttributes_82B9364:: @ 82B9364
+ .incbin "baserom.gba", 0x2B9364, 0xAC
+
+gMetatiles_82B9410:: @ 82B9410
+ .incbin "baserom.gba", 0x2B9410, 0x720
+
+gMetatileAttributes_82B9B30:: @ 82B9B30
+ .incbin "baserom.gba", 0x2B9B30, 0x1C8
+
+gMetatiles_82B9CF8:: @ 82B9CF8
+ .incbin "baserom.gba", 0x2B9CF8, 0x980
+
+gMetatileAttributes_82BA678:: @ 82BA678
+ .incbin "baserom.gba", 0x2BA678, 0x260
+
+gMetatiles_82BA8D8:: @ 82BA8D8
+ .incbin "baserom.gba", 0x2BA8D8, 0x9D0
+
+gMetatileAttributes_82BB2A8:: @ 82BB2A8
+ .incbin "baserom.gba", 0x2BB2A8, 0x274
+
+gMetatiles_82BB51C:: @ 82BB51C
+ .incbin "baserom.gba", 0x2BB51C, 0xF80
+
+gMetatileAttributes_82BC49C:: @ 82BC49C
+ .incbin "baserom.gba", 0x2BC49C, 0x3E0
+
+gMetatiles_82BC87C:: @ 82BC87C
+ .incbin "baserom.gba", 0x2BC87C, 0x720
+
+gMetatileAttributes_82BCF9C:: @ 82BCF9C
+ .incbin "baserom.gba", 0x2BCF9C, 0x1C8
+
+gMetatiles_82BD164:: @ 82BD164
+ .incbin "baserom.gba", 0x2BD164, 0x860
+
+gMetatileAttributes_82BD9C4:: @ 82BD9C4
+ .incbin "baserom.gba", 0x2BD9C4, 0x218
+
+gMetatiles_82BDBDC:: @ 82BDBDC
+ .incbin "baserom.gba", 0x2BDBDC, 0xF60
+
+gMetatileAttributes_82BEB3C:: @ 82BEB3C
+ .incbin "baserom.gba", 0x2BEB3C, 0x3D8
+
+gMetatiles_82BEF14:: @ 82BEF14
+ .incbin "baserom.gba", 0x2BEF14, 0xB80
+
+gMetatileAttributes_82BFA94:: @ 82BFA94
+ .incbin "baserom.gba", 0x2BFA94, 0x2E0
+
+gMetatiles_82BFD74:: @ 82BFD74
+ .incbin "baserom.gba", 0x2BFD74, 0x990
+
+gMetatileAttributes_82C0704:: @ 82C0704
+ .incbin "baserom.gba", 0x2C0704, 0x264
+
+gMetatiles_82C0968:: @ 82C0968
+ .incbin "baserom.gba", 0x2C0968, 0x3B0
+
+gMetatileAttributes_82C0D18:: @ 82C0D18
+ .incbin "baserom.gba", 0x2C0D18, 0xEC
+
+gMetatiles_82C0E04:: @ 82C0E04
+ .incbin "baserom.gba", 0x2C0E04, 0x17A0
+
+gMetatileAttributes_82C25A4:: @ 82C25A4
+ .incbin "baserom.gba", 0x2C25A4, 0x5E8
+
+gMetatiles_82C2B8C:: @ 82C2B8C
+ .incbin "baserom.gba", 0x2C2B8C, 0x480
+
+gMetatileAttributes_82C300C:: @ 82C300C
+ .incbin "baserom.gba", 0x2C300C, 0x120
+
+gMetatiles_82C312C:: @ 82C312C
+ .incbin "baserom.gba", 0x2C312C, 0x650
+
+gMetatileAttributes_82C377C:: @ 82C377C
+ .incbin "baserom.gba", 0x2C377C, 0x194
+
+gMetatiles_82C3910:: @ 82C3910
+ .incbin "baserom.gba", 0x2C3910, 0x800
+
+gMetatileAttributes_82C4110:: @ 82C4110
+ .incbin "baserom.gba", 0x2C4110, 0x200
+
+gMetatiles_82C4310:: @ 82C4310
+ .incbin "baserom.gba", 0x2C4310, 0x1020
+
+gMetatileAttributes_82C5330:: @ 82C5330
+ .incbin "baserom.gba", 0x2C5330, 0x408
+
+gMetatiles_82C5738:: @ 82C5738
+ .incbin "baserom.gba", 0x2C5738, 0x870
+
+gMetatileAttributes_82C5FA8:: @ 82C5FA8
+ .incbin "baserom.gba", 0x2C5FA8, 0x21C
+
+gMetatiles_82C61C4:: @ 82C61C4
+ .incbin "baserom.gba", 0x2C61C4, 0x1000
+
+gMetatileAttributes_82C71C4:: @ 82C71C4
+ .incbin "baserom.gba", 0x2C71C4, 0x400
+
+gMetatiles_82C75C4:: @ 82C75C4
+ .incbin "baserom.gba", 0x2C75C4, 0x680
+
+gMetatileAttributes_82C7C44:: @ 82C7C44
+ .incbin "baserom.gba", 0x2C7C44, 0x1A0
+
+gMetatiles_82C7DE4:: @ 82C7DE4
+ .incbin "baserom.gba", 0x2C7DE4, 0x2E0
+
+gMetatileAttributes_82C80C4:: @ 82C80C4
+ .incbin "baserom.gba", 0x2C80C4, 0xB8
+
+gMetatiles_82C817C:: @ 82C817C
+ .incbin "baserom.gba", 0x2C817C, 0xAA0
+
+gMetatileAttributes_82C8C1C:: @ 82C8C1C
+ .incbin "baserom.gba", 0x2C8C1C, 0x2A8
+
+gMetatiles_82C8EC4:: @ 82C8EC4
+ .incbin "baserom.gba", 0x2C8EC4, 0xD70
+
+gMetatileAttributes_82C9C34:: @ 82C9C34
+ .incbin "baserom.gba", 0x2C9C34, 0x35C
+
+gMetatiles_82C9F90:: @ 82C9F90
+ .incbin "baserom.gba", 0x2C9F90, 0x390
+
+gMetatileAttributes_82CA320:: @ 82CA320
+ .incbin "baserom.gba", 0x2CA320, 0xE4
+
+gMetatiles_82CA404:: @ 82CA404
+ .incbin "baserom.gba", 0x2CA404, 0x20
+
+gMetatileAttributes_82CA424:: @ 82CA424
+ .incbin "baserom.gba", 0x2CA424, 0x8
+
+gMetatiles_82CA42C:: @ 82CA42C
+ .incbin "baserom.gba", 0x2CA42C, 0x20
+
+gMetatileAttributes_82CA44C:: @ 82CA44C
+ .incbin "baserom.gba", 0x2CA44C, 0x8
+
+gMetatiles_82CA454:: @ 82CA454
+ .incbin "baserom.gba", 0x2CA454, 0xE20
+
+gMetatileAttributes_82CB274:: @ 82CB274
+ .incbin "baserom.gba", 0x2CB274, 0x388
+
+gMetatiles_82CB5FC:: @ 82CB5FC
+ .incbin "baserom.gba", 0x2CB5FC, 0x2A0
+
+gMetatileAttributes_82CB89C:: @ 82CB89C
+ .incbin "baserom.gba", 0x2CB89C, 0xA8
+
+gMetatiles_82CB944:: @ 82CB944
+ .incbin "baserom.gba", 0x2CB944, 0xDC0
+
+gMetatileAttributes_82CC704:: @ 82CC704
+ .incbin "baserom.gba", 0x2CC704, 0x370
+
+gMetatiles_82CCA74:: @ 82CCA74
+ .incbin "baserom.gba", 0x2CCA74, 0x5E0
+
+gMetatileAttributes_82CD054:: @ 82CD054
+ .incbin "baserom.gba", 0x2CD054, 0x178
+
+gMetatiles_82CD1CC:: @ 82CD1CC
+ .incbin "baserom.gba", 0x2CD1CC, 0x11D0
+
+gMetatileAttributes_82CE39C:: @ 82CE39C
+ .incbin "baserom.gba", 0x2CE39C, 0x474
+
+gMetatiles_82CE810:: @ 82CE810
+ .incbin "baserom.gba", 0x2CE810, 0x980
+
+gMetatileAttributes_82CF190:: @ 82CF190
+ .incbin "baserom.gba", 0x2CF190, 0x260
+
+gMetatiles_82CF3F0:: @ 82CF3F0
+ .incbin "baserom.gba", 0x2CF3F0, 0xF00
+
+gMetatileAttributes_82D02F0:: @ 82D02F0
+ .incbin "baserom.gba", 0x2D02F0, 0x3C0
+
+gMetatiles_82D06B0:: @ 82D06B0
+ .incbin "baserom.gba", 0x2D06B0, 0x1200
+
+gMetatileAttributes_82D18B0:: @ 82D18B0
+ .incbin "baserom.gba", 0x2D18B0, 0x480
+
+gMetatiles_82D1D30:: @ 82D1D30
+ .incbin "baserom.gba", 0x2D1D30, 0x4F0
+
+gMetatileAttributes_82D2220:: @ 82D2220
+ .incbin "baserom.gba", 0x2D2220, 0x13C
+
+gMetatiles_82D235C:: @ 82D235C
+ .incbin "baserom.gba", 0x2D235C, 0x1800
+
+gMetatileAttributes_82D3B5C:: @ 82D3B5C
+ .incbin "baserom.gba", 0x2D3B5C, 0x600
+
+gMetatiles_82D415C:: @ 82D415C
+ .incbin "baserom.gba", 0x2D415C, 0x760
+
+gMetatileAttributes_82D48BC:: @ 82D48BC
+ .incbin "baserom.gba", 0x2D48BC, 0x1D8