summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-10-15 17:58:34 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-10-15 17:58:34 -0500
commite1be97f81da68d6337ac23604eb2ce3d71a947de (patch)
tree4a08ac5f8c427d8ee2119331d8f8870f6e4f506e
parent2262c45958dd122df44d7116b1b9472d783fed3e (diff)
Dump titlescreen graphics
-rwxr-xr-xasm/main.s28
-rwxr-xr-xdata/graphics/titlescreen.inc23
-rwxr-xr-xdata/rom.s6
-rw-r--r--graphics/titlescreen/sprites.pal259
-rw-r--r--graphics/titlescreen/sprites_no_saved_game.pngbin0 -> 2183 bytes
-rw-r--r--graphics/titlescreen/sprites_saved_game.pngbin0 -> 2301 bytes
-rw-r--r--graphics/titlescreen/titlescreen_bg.pal259
-rw-r--r--graphics/titlescreen/titlescreen_bg.pngbin0 -> 12954 bytes
-rw-r--r--graphics/titlescreen/titlescreen_bg_tilemap.binbin0 -> 2048 bytes
-rw-r--r--graphics/titlescreen/unknown_081306C0.binbin0 -> 32 bytes
-rw-r--r--graphics/titlescreen/unknown_081376E0.binbin0 -> 32 bytes
11 files changed, 560 insertions, 15 deletions
diff --git a/asm/main.s b/asm/main.s
index ae1395f..2f088b2 100755
--- a/asm/main.s
+++ b/asm/main.s
@@ -32529,14 +32529,14 @@ sub_10944: @ 0x08010944
ldrh r0, [r2]
strh r0, [r4, #0x16]
ldr r5, _080109C4 @ =0x040000D4
- ldr r0, _080109C8 @ =0x081216C0
+ ldr r0, _080109C8 @ =gTitlescreenBg_Gfx
str r0, [r5]
ldr r0, _080109CC @ =0x06004000
str r0, [r5, #4]
ldr r0, _080109D0 @ =0x80005000
str r0, [r5, #8]
ldr r0, [r5, #8]
- ldr r0, _080109D4 @ =0x081214C0
+ ldr r0, _080109D4 @ =gTitlescreenBg_Pals
str r0, [r5]
movs r0, #0xa0
lsls r0, r0, #0x13
@@ -32544,7 +32544,7 @@ sub_10944: @ 0x08010944
ldr r0, _080109D8 @ =0x80000100
str r0, [r5, #8]
ldr r0, [r5, #8]
- ldr r0, _080109DC @ =0x08120CC0
+ ldr r0, _080109DC @ =gTitlescreenBgTilemap
str r0, [r5]
movs r0, #0xc0
lsls r0, r0, #0x13
@@ -32556,39 +32556,39 @@ sub_10944: @ 0x08010944
ldr r0, [r4, #0x40]
cmp r0, #1
bne _080109F4
- ldr r0, _080109E4 @ =0x08137700
+ ldr r0, _080109E4 @ =gTitlescreenSprites_Pals
str r0, [r5]
ldr r0, _080109E8 @ =0x05000200
str r0, [r5, #4]
ldr r0, _080109EC @ =0x80000050
str r0, [r5, #8]
ldr r0, [r5, #8]
- ldr r0, _080109F0 @ =0x081306E0
+ ldr r0, _080109F0 @ =gTitlescreenSpritesSavedGame_Gfx
b _08010A04
.align 2, 0
_080109BC: .4byte 0x0400000A
_080109C0: .4byte 0x0200B0C0
_080109C4: .4byte 0x040000D4
-_080109C8: .4byte 0x081216C0
+_080109C8: .4byte gTitlescreenBg_Gfx
_080109CC: .4byte 0x06004000
_080109D0: .4byte 0x80005000
-_080109D4: .4byte 0x081214C0
+_080109D4: .4byte gTitlescreenBg_Pals
_080109D8: .4byte 0x80000100
-_080109DC: .4byte 0x08120CC0
+_080109DC: .4byte gTitlescreenBgTilemap
_080109E0: .4byte 0x80000400
-_080109E4: .4byte 0x08137700
+_080109E4: .4byte gTitlescreenSprites_Pals
_080109E8: .4byte 0x05000200
_080109EC: .4byte 0x80000050
-_080109F0: .4byte 0x081306E0
+_080109F0: .4byte gTitlescreenSpritesSavedGame_Gfx
_080109F4:
- ldr r0, _08010A5C @ =0x08137700
+ ldr r0, _08010A5C @ =gTitlescreenSprites_Pals
str r0, [r5]
ldr r0, _08010A60 @ =0x05000200
str r0, [r5, #4]
ldr r0, _08010A64 @ =0x80000050
str r0, [r5, #8]
ldr r0, [r5, #8]
- ldr r0, _08010A68 @ =0x081296C0
+ ldr r0, _08010A68 @ =gTitlescreenSpritesNoSavedGame_Gfx
_08010A04:
str r0, [r5]
ldr r0, _08010A6C @ =0x06010000
@@ -32631,10 +32631,10 @@ _08010A04:
bl sub_FD5C
b _08010AAC
.align 2, 0
-_08010A5C: .4byte 0x08137700
+_08010A5C: .4byte gTitlescreenSprites_Pals
_08010A60: .4byte 0x05000200
_08010A64: .4byte 0x80000050
-_08010A68: .4byte 0x081296C0
+_08010A68: .4byte gTitlescreenSpritesNoSavedGame_Gfx
_08010A6C: .4byte 0x06010000
_08010A70: .4byte 0x80003800
_08010A74: .4byte 0x0852B668
diff --git a/data/graphics/titlescreen.inc b/data/graphics/titlescreen.inc
new file mode 100755
index 0000000..9499409
--- /dev/null
+++ b/data/graphics/titlescreen.inc
@@ -0,0 +1,23 @@
+gTitlescreenBgTilemap:: @ 0x08120CC0
+ .incbin "graphics/titlescreen/titlescreen_bg_tilemap.bin"
+
+gTitlescreenBg_Pals:: @ 0x081214C0
+ .incbin "graphics/titlescreen/titlescreen_bg.gbapal"
+
+gTitlescreenBg_Gfx:: @ 0x081216C0
+ .incbin "graphics/titlescreen/titlescreen_bg.8bpp"
+
+gTitlescreenSpritesNoSavedGame_Gfx:: @ 0x081296c0
+ .incbin "graphics/titlescreen/sprites_no_saved_game.4bpp"
+
+gUnknown_081306C0:: @ 0x08081306C0
+ .incbin "graphics/titlescreen/unknown_081306C0.bin"
+
+gTitlescreenSpritesSavedGame_Gfx:: @ 0x081306E0
+ .incbin "graphics/titlescreen/sprites_saved_game.4bpp"
+
+gUnknown_081376E0:: @ 0x08081376E0
+ .incbin "graphics/titlescreen/unknown_081376E0.bin"
+
+gTitlescreenSprites_Pals:: @ 0x08137700
+ .incbin "graphics/titlescreen/sprites.gbapal"
diff --git a/data/rom.s b/data/rom.s
index c837df7..1e8bd16 100755
--- a/data/rom.s
+++ b/data/rom.s
@@ -15,7 +15,11 @@ gIntroCopyright_Pal:: @ 0x0807A8E0
.include "data/graphics/field_select.inc"
-.incbin "baserom.gba", 0xACC60, 0x1444F4 - 0xACC60
+.incbin "baserom.gba", 0xACC60, 0x120CC0 - 0xACC60
+
+.include "data/graphics/titlescreen.inc"
+
+.incbin "baserom.gba", 0x137900, 0x1444F4 - 0x137900
.include "data/graphics/mon_hatch_sprites_pals.inc"
diff --git a/graphics/titlescreen/sprites.pal b/graphics/titlescreen/sprites.pal
new file mode 100644
index 0000000..e218ba5
--- /dev/null
+++ b/graphics/titlescreen/sprites.pal
@@ -0,0 +1,259 @@
+JASC-PAL
+0100
+256
+248 80 248
+248 248 248
+80 224 248
+0 0 0
+248 0 0
+0 0 0
+64 64 64
+248 248 248
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+104 104 104
+160 160 160
+248 248 248
+0 0 0
+248 80 248
+104 112 216
+200 248 248
+248 232 144
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+248 80 248
+248 248 248
+208 208 208
+168 168 168
+136 136 136
+88 88 88
+248 240 16
+168 136 8
+248 248 168
+248 208 0
+144 96 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+248 80 248
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+248 80 248
+0 0 216
+80 224 248
+248 200 0
+248 0 0
+0 0 0
+248 248 248
+248 248 248
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+104 104 104
+160 160 160
+248 248 248
+0 0 0
+248 80 248
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+248 80 248
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+248 80 248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saved_game.png b/graphics/titlescreen/sprites_no_saved_game.png
new file mode 100644
index 0000000..148e6f0
--- /dev/null
+++ b/graphics/titlescreen/sprites_no_saved_game.png
Binary files differ
diff --git a/graphics/titlescreen/sprites_saved_game.png b/graphics/titlescreen/sprites_saved_game.png
new file mode 100644
index 0000000..701fc69
--- /dev/null
+++ b/graphics/titlescreen/sprites_saved_game.png
Binary files differ
diff --git a/graphics/titlescreen/titlescreen_bg.pal b/graphics/titlescreen/titlescreen_bg.pal
new file mode 100644
index 0000000..02f8c54
--- /dev/null
+++ b/graphics/titlescreen/titlescreen_bg.pal
@@ -0,0 +1,259 @@
+JASC-PAL
+0100
+256
+240 32 48
+184 40 48
+104 32 40
+248 0 24
+240 24 40
+144 32 48
+248 0 32
+240 0 32
+248 8 40
+232 24 48
+208 32 56
+56 24 24
+248 0 40
+240 8 40
+232 8 40
+200 16 48
+176 16 40
+240 0 40
+248 160 176
+248 0 48
+32 24 24
+184 40 88
+168 56 96
+128 64 120
+16 8 16
+24 16 24
+248 240 248
+240 232 240
+232 224 232
+120 112 120
+88 40 88
+8 0 8
+120 112 136
+104 72 152
+48 32 96
+200 200 208
+104 104 144
+80 72 168
+80 72 176
+96 88 160
+80 80 168
+0 0 8
+64 64 176
+72 72 176
+72 72 168
+72 72 144
+48 48 104
+16 16 24
+224 224 240
+240 240 248
+24 24 24
+56 56 56
+208 208 208
+192 192 192
+80 88 176
+64 64 128
+168 168 184
+40 48 80
+64 72 184
+72 80 168
+8 8 16
+176 176 216
+64 80 176
+80 88 120
+144 144 176
+112 120 168
+160 168 216
+192 200 224
+136 152 208
+40 40 56
+152 152 160
+232 232 240
+120 136 200
+16 24 40
+88 112 192
+128 136 152
+208 216 232
+80 96 152
+176 176 192
+8 24 64
+32 72 168
+40 80 176
+24 40 96
+40 72 160
+72 104 184
+32 64 144
+24 56 128
+40 80 168
+48 88 176
+16 32 72
+56 96 184
+56 80 152
+24 72 160
+32 80 176
+32 64 136
+40 88 176
+40 56 80
+216 224 232
+64 184 232
+64 160 208
+56 136 176
+64 192 248
+56 192 240
+72 208 248
+152 160 168
+0 8 8
+224 240 248
+72 224 248
+16 24 24
+24 32 32
+200 208 208
+48 88 88
+80 96 104
+56 112 112
+8 16 16
+240 248 248
+224 232 232
+216 216 216
+200 200 200
+136 144 144
+48 168 128
+48 184 136
+168 176 176
+0 16 8
+16 24 16
+48 72 56
+216 224 216
+152 160 152
+200 208 200
+224 232 224
+48 48 48
+144 144 144
+120 216 96
+24 32 24
+160 224 96
+168 232 104
+168 232 96
+160 216 96
+160 208 96
+168 224 104
+136 176 88
+120 152 80
+168 232 88
+176 240 96
+168 224 96
+152 200 88
+104 128 72
+176 232 96
+88 112 64
+88 96 56
+248 248 8
+240 240 16
+248 248 16
+248 248 24
+232 232 24
+224 224 32
+8 8 0
+248 248 88
+248 248 96
+16 16 8
+80 80 48
+240 240 232
+232 232 224
+224 224 216
+232 224 16
+248 240 16
+248 240 24
+240 240 24
+216 216 32
+200 200 32
+240 240 96
+224 216 88
+200 192 80
+128 120 48
+248 232 16
+240 216 0
+232 208 0
+248 224 0
+152 144 40
+24 24 16
+248 216 0
+192 168 40
+112 104 40
+240 208 0
+232 192 0
+248 216 8
+240 208 8
+224 200 24
+240 208 24
+96 88 32
+184 168 80
+144 136 72
+248 208 0
+248 208 16
+216 176 16
+224 192 40
+208 184 56
+168 152 72
+248 232 152
+240 200 16
+184 152 32
+248 192 0
+168 152 96
+72 64 40
+248 184 0
+64 56 32
+224 200 144
+48 48 32
+40 40 24
+152 104 40
+144 128 104
+248 144 24
+248 152 48
+248 152 56
+248 144 48
+240 144 56
+208 120 48
+128 88 48
+96 64 40
+240 136 48
+232 136 48
+248 144 56
+184 112 56
+160 136 112
+248 104 32
+176 160 152
+208 200 192
+216 208 208
+240 232 232
+232 224 224
+208 160 152
+16 8 8
+24 16 16
+240 56 48
+8 0 0
+232 104 104
+64 32 32
+248 240 240
+128 128 128
+248 248 248
+240 240 240
+232 232 232
+224 224 224
+184 184 184
+176 176 176
+160 160 160
+136 136 136
+104 104 104
+88 88 88
+72 72 72
+40 40 40
+16 16 16
+8 8 8
+0 0 0
+0 0 0
+0 0 0
diff --git a/graphics/titlescreen/titlescreen_bg.png b/graphics/titlescreen/titlescreen_bg.png
new file mode 100644
index 0000000..210c602
--- /dev/null
+++ b/graphics/titlescreen/titlescreen_bg.png
Binary files differ
diff --git a/graphics/titlescreen/titlescreen_bg_tilemap.bin b/graphics/titlescreen/titlescreen_bg_tilemap.bin
new file mode 100644
index 0000000..6dd012b
--- /dev/null
+++ b/graphics/titlescreen/titlescreen_bg_tilemap.bin
Binary files differ
diff --git a/graphics/titlescreen/unknown_081306C0.bin b/graphics/titlescreen/unknown_081306C0.bin
new file mode 100644
index 0000000..4e4e493
--- /dev/null
+++ b/graphics/titlescreen/unknown_081306C0.bin
Binary files differ
diff --git a/graphics/titlescreen/unknown_081376E0.bin b/graphics/titlescreen/unknown_081376E0.bin
new file mode 100644
index 0000000..4e4e493
--- /dev/null
+++ b/graphics/titlescreen/unknown_081376E0.bin
Binary files differ