summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-02-11 10:22:05 -0800
committerYamaArashi <shadow962@live.com>2017-02-11 10:23:08 -0800
commit43f14a1c542e0e8522212c12b16be17b3f6ebcaf (patch)
tree3e2432fd404da856b46fb5c843ed5e5f73209a49
parent60208f4bcfd0a5dd1145ac2cb0cf1cc0275e1431 (diff)
rom_810CBB4 baserom incbins
-rw-r--r--asm/rom_810CBB4.s6
-rw-r--r--data/rom_810CBB4.s60
-rw-r--r--data/specials.inc2
-rw-r--r--graphics/misc/83F808C.pal11
-rw-r--r--graphics/misc/83F809C.pal11
5 files changed, 72 insertions, 18 deletions
diff --git a/asm/rom_810CBB4.s b/asm/rom_810CBB4.s
index 15e309739..8eacec455 100644
--- a/asm/rom_810CBB4.s
+++ b/asm/rom_810CBB4.s
@@ -1003,8 +1003,8 @@ _0810D370:
bx r1
thumb_func_end sub_810D32C
- thumb_func_start sub_810D378
-sub_810D378: @ 810D378
+ thumb_func_start UpdateShoalTideFlag
+UpdateShoalTideFlag: @ 810D378
push {lr}
bl get_map_light_from_warp0
lsls r0, 24
@@ -1038,7 +1038,7 @@ _0810D3BE:
bx r0
.align 2, 0
_0810D3C4: .4byte 0x0000083a
- thumb_func_end sub_810D378
+ thumb_func_end UpdateShoalTideFlag
thumb_func_start sub_810D3C8
sub_810D3C8: @ 810D3C8
diff --git a/data/rom_810CBB4.s b/data/rom_810CBB4.s
index 0eefbaeb9..3860788cf 100644
--- a/data/rom_810CBB4.s
+++ b/data/rom_810CBB4.s
@@ -54,11 +54,13 @@ gCaveTransitionPalette_Black:: @ 83F806C
.2byte 0x0000
.endr
+ .align 1
gUnknown_083F808C:: @ 83F808C
- .incbin "baserom.gba", 0x003f808c, 0x10
+ .incbin "graphics/misc/83F808C.gbapal"
+ .align 1
gUnknown_083F809C:: @ 83F809C
- .incbin "baserom.gba", 0x003f809c, 0x10
+ .incbin "graphics/misc/83F809C.gbapal"
.align 2
gCaveTransitionTilemap:: @ 83F80AC
@@ -69,22 +71,52 @@ gCaveTransitionTiles:: @ 83F828C
.incbin "graphics/misc/cave_transition.4bpp.lz"
gUnknown_083F8340:: @ 83F8340
- .incbin "baserom.gba", 0x003f8340, 0x18
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 1
+ .byte 1
+ .byte 1
gUnknown_083F8358:: @ 83F8358
- .incbin "baserom.gba", 0x003f8358, 0x4
+ .byte 7, 9, 8, 10
gUnknown_083F835C:: @ 83F835C
- .incbin "baserom.gba", 0x003f835c, 0x8
+ .byte 0, 1
+ .byte 1, 0
+ .byte 0, -1
+ .byte -1, 0
+ .align 2
gUnknown_083F8364:: @ 83F8364
- .incbin "baserom.gba", 0x003f8364, 0xc
+ .byte 7, 16, 0, 0
+ .byte 15, 18, 0, 0
+ .byte 11, 22, 0, 0
gUnknown_083F8370:: @ 83F8370
- .incbin "baserom.gba", 0x003f8370, 0x6
+ .byte 0, 1, 1, 1, 1
+ .align 1
gUnknown_083F8376:: @ 83F8376
- .incbin "baserom.gba", 0x003f8376, 0xa
+ .2byte 0x218, 0x219, 0x21A, 0x21B, 0x21C
.align 2
gUnknown_083F8380:: @ 83F8380
@@ -117,19 +149,19 @@ gUnknown_083F83C0:: @ 83F83C0
.4byte gOtherText_CancelNoTerminator
gUnknown_083F83E0:: @ 83F83E0
- .incbin "baserom.gba", 0x003f83e0, 0xc
+ .byte 12, 2, 4, 5, 1, 8, 7, 11, 3, 10, 9, 6
gUnknown_083F83EC:: @ 83F83EC
- .incbin "baserom.gba", 0x003f83ec, 0xc
+ .byte 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5
gUnknown_083F83F8:: @ 83F83F8
- .incbin "baserom.gba", 0x003f83f8, 0xc
+ .byte 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5
gUnknown_083F8404:: @ 83F8404
- .incbin "baserom.gba", 0x003f8404, 0x4
+ .byte 2, 1, 2, 1
gUnknown_083F8408:: @ 83F8408
- .incbin "baserom.gba", 0x003f8408, 0x8
+ .byte 8, 9, 10, 11, 12, 13, 14, 15
gUnknown_083F8410:: @ 83F8410
- .incbin "baserom.gba", 0x003f8410, 0x8
+ .byte 8, 13, 14, 11, 10, 12, 15, 9
diff --git a/data/specials.inc b/data/specials.inc
index 46fb14058..a955fe3eb 100644
--- a/data/specials.inc
+++ b/data/specials.inc
@@ -210,7 +210,7 @@ gSpecials::
.4byte SafariZoneGetPokeblockNameInFeeder
.4byte sub_810BAF4
.4byte sub_810D32C
- .4byte sub_810D378
+ .4byte UpdateShoalTideFlag
.4byte sub_810D3FC
.4byte ScriptGetPokedexInfo
.4byte ShowPokedexRatingMessage
diff --git a/graphics/misc/83F808C.pal b/graphics/misc/83F808C.pal
new file mode 100644
index 000000000..fea15a176
--- /dev/null
+++ b/graphics/misc/83F808C.pal
@@ -0,0 +1,11 @@
+JASC-PAL
+0100
+8
+148 197 172
+16 16 16
+32 32 32
+49 49 49
+65 65 65
+82 82 82
+98 98 98
+115 115 115
diff --git a/graphics/misc/83F809C.pal b/graphics/misc/83F809C.pal
new file mode 100644
index 000000000..09eb37624
--- /dev/null
+++ b/graphics/misc/83F809C.pal
@@ -0,0 +1,11 @@
+JASC-PAL
+0100
+8
+131 131 131
+148 148 148
+164 164 164
+180 180 180
+197 197 197
+213 213 213
+230 230 230
+255 255 255