summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-06-19 21:06:15 -0700
committerMarcus Huderle <huderlem@gmail.com>2017-06-19 21:06:15 -0700
commit89491749b28d37c15dc408dd20bdd87ab358e441 (patch)
tree430624a5500eb92b54e4c5b44d6dde7b62ec672f
parent9e3e04c007befee68d1cbef303d3dfdd1897e288 (diff)
Dump remaining pokedex gfx data
-rwxr-xr-xgfx/bgattr/pokedex.bgattrbin0 -> 1024 bytes
-rwxr-xr-xgfx/bgattr/pokedex_2.bgattrbin0 -> 1024 bytes
-rwxr-xr-xgfx/tilemaps/pokedex.mapbin0 -> 1024 bytes
-rwxr-xr-xgfx/tilemaps/pokedex_2.mapbin0 -> 1024 bytes
-rwxr-xr-xmain.asm58
5 files changed, 25 insertions, 33 deletions
diff --git a/gfx/bgattr/pokedex.bgattr b/gfx/bgattr/pokedex.bgattr
new file mode 100755
index 0000000..0514c68
--- /dev/null
+++ b/gfx/bgattr/pokedex.bgattr
Binary files differ
diff --git a/gfx/bgattr/pokedex_2.bgattr b/gfx/bgattr/pokedex_2.bgattr
new file mode 100755
index 0000000..d019b3b
--- /dev/null
+++ b/gfx/bgattr/pokedex_2.bgattr
Binary files differ
diff --git a/gfx/tilemaps/pokedex.map b/gfx/tilemaps/pokedex.map
new file mode 100755
index 0000000..c7e0fbe
--- /dev/null
+++ b/gfx/tilemaps/pokedex.map
Binary files differ
diff --git a/gfx/tilemaps/pokedex_2.map b/gfx/tilemaps/pokedex_2.map
new file mode 100755
index 0000000..0950d64
--- /dev/null
+++ b/gfx/tilemaps/pokedex_2.map
Binary files differ
diff --git a/main.asm b/main.asm
index 40b3863..c1130d6 100755
--- a/main.asm
+++ b/main.asm
@@ -42049,13 +42049,13 @@ Data_280a6: ; 0x280a6
dab PokedexInitialGfx
dw vTilesOB
dw $6000
- dab Data_c5000
+ dab PokedexTilemap2
dw $9800
dw $1000
- dab Data_c4800
+ dab PokedexTilemap
dw vBGWin
dw $800
- dab Data_c4800
+ dab PokedexTilemap
dw $9e00
dw $800
dw $FFFF ; terminators
@@ -42064,22 +42064,22 @@ Data_280c4: ; 0x280c4
dab PokedexInitialGfx
dw vTilesOB
dw $6000
- dab Data_c5000
+ dab PokedexTilemap2
dw $9800
dw $1000
- dab Data_c5400
+ dab PokedexBGAttributes2
dw $9800
dw $1002
- dab Data_c4800
+ dab PokedexTilemap
dw vBGWin
dw $800
- dab Data_c4800
+ dab PokedexTilemap
dw $9e00
dw $800
- dab Data_c4c00
+ dab PokedexBGAttributes
dw vBGWin
dw $802
- dab Data_c4c00
+ dab PokedexBGAttributes
dw $9e00
dw $802
dab PokedexPalettes
@@ -42418,15 +42418,15 @@ Func_282e9: ; 0x282e9
ld a, [hNewlyPressedButtons]
and $6
jr z, .asm_28367
- ld a, BANK(Data_c4800)
- ld hl, Data_c4800
+ ld a, BANK(PokedexTilemap)
+ ld hl, PokedexTilemap
ld de, vBGWin
ld bc, $0200
call LoadVRAMData
ld a, $1
ld [rVBK], a
- ld a, BANK(Data_c4c00)
- ld hl, Data_c4c00
+ ld a, BANK(PokedexBGAttributes)
+ ld hl, PokedexBGAttributes
ld de, vBGWin
ld bc, $0200
call LoadVRAMData
@@ -43216,8 +43216,8 @@ Func_2885c: ; 0x2885c
ret
Func_2887c: ; 0x2887c
- ld a, BANK(Data_c5120)
- ld hl, Data_c5120
+ ld a, BANK(PokedexTilemap2)
+ ld hl, PokedexTilemap2 + $120
deCoord 0, 8, vBGMap
ld bc, $0100
call LoadVRAMData
@@ -43255,8 +43255,8 @@ Func_288a2: ; 0x288a2
ld a, $3b
ld [hLYC], a
ld [hNextLYCSub], a
- ld a, BANK(Data_c5100)
- ld hl, Data_c5100
+ ld a, BANK(PokedexTilemap2)
+ ld hl, PokedexTilemap2 + $100
deCoord 0, 8, vBGMap
ld bc, $0020
call LoadVRAMData
@@ -49494,23 +49494,15 @@ StageBlueFieldBottomCollisionAttributes: ; 0xc4000
INCBIN "data/collision/maps/blue_stage_bottom.collision"
INCBIN "data/collision/unused_trailing_data.bin"
-Data_c4800:
- dr $c4800, $c4c00
+PokedexTilemap:
+ INCBIN "gfx/tilemaps/pokedex.map"
+PokedexBGAttributes:
+ INCBIN "gfx/bgattr/pokedex.bgattr"
-Data_c4c00:
- dr $c4c00, $c5000
-
-Data_c5000:
- dr $c5000, $c5100
-
-Data_c5100:
- dr $c5100, $c5120
-
-Data_c5120:
- dr $c5120, $c5400
-
-Data_c5400:
- dr $c5400, $c5800
+PokedexTilemap2:
+ INCBIN "gfx/tilemaps/pokedex_2.map"
+PokedexBGAttributes2:
+ INCBIN "gfx/bgattr/pokedex_2.bgattr"
TitlescreenTilemap: ; 0xc5800
INCBIN "gfx/tilemaps/titlescreen.map"