Start decompiling data

This commit is contained in:
PikalaxALT 2017-11-24 19:06:01 -05:00
parent f54f2c424f
commit 2280614a14
6 changed files with 51 additions and 25 deletions

View File

@ -63,5 +63,4 @@ sSpriteTemplate_PokeBall:: @ 85B1F28
.incbin "baserom.gba", 0x5b1f28, 0x18 .incbin "baserom.gba", 0x5b1f28, 0x18
gUnknown_085B1F40:: @ 85B1F40 gUnknown_085B1F40:: @ 85B1F40
.incbin "baserom.gba", 0x5b1f40, 0x294 .incbin "baserom.gba", 0x5b1f40, 0x18

View File

@ -5,23 +5,8 @@
.section .rodata .section .rodata
gUnknown_085B21D4:: @ 85B21D4 gUnknown_085B2230:: @ 85B2230
.incbin "baserom.gba", 0x5b21d4, 0x8 .incbin "baserom.gba", 0x5b2230, 0x20
gUnknown_085B21DC:: @ 85B21DC
.incbin "baserom.gba", 0x5b21dc, 0x18
gUnknown_085B21F4:: @ 85B21F4
.incbin "baserom.gba", 0x5b21f4, 0x8
gUnknown_085B21FC:: @ 85B21FC
.incbin "baserom.gba", 0x5b21fc, 0xc
gUnknown_085B2208:: @ 85B2208
.incbin "baserom.gba", 0x5b2208, 0x10
gUnknown_085B2218:: @ 85B2218
.incbin "baserom.gba", 0x5b2218, 0x38
gUnknown_085B2250:: @ 85B2250 gUnknown_085B2250:: @ 85B2250
.incbin "baserom.gba", 0x5b2250, 0x18 .incbin "baserom.gba", 0x5b2250, 0x18

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

View File

@ -0,0 +1,7 @@
JASC-PAL
0100
4
0 0 0
74 180 189
255 255 255
0 0 0

View File

@ -426,6 +426,7 @@ SECTIONS {
src/battle_ai_script_commands.o(.rodata); src/battle_ai_script_commands.o(.rodata);
data/data4.o(.rodata); data/data4.o(.rodata);
data/starter_choose.o(.rodata); data/starter_choose.o(.rodata);
src/wallclock.o(.rodata);
data/wallclock.o(.rodata); data/wallclock.o(.rodata);
data/data4c.o(.rodata); data/data4c.o(.rodata);
src/battle_controller_link_partner.o(.rodata); src/battle_controller_link_partner.o(.rodata);

View File

@ -22,11 +22,45 @@
// rodata // rodata
extern const u16 gUnknown_085B21D4[]; const u8 gUnknown_085B1F58[] = INCBIN_U8("graphics/wallclock/graphics_85b1f58.4bpp.lz");
extern const struct BgTemplate gUnknown_085B21FC[]; const u16 gUnknown_085B21D4[] = INCBIN_U16("graphics/wallclock/palette_85b21d4.gbapal");
extern const struct WindowTemplate gUnknown_085B21DC[]; const struct WindowTemplate gUnknown_085B21DC[] = {
extern const struct CompressedSpriteSheet gUnknown_085B2208; { 0x00, 0x03, 0x11, 0x18, 0x02, 0x0e, 0x200 },
extern const struct SpritePalette gUnknown_085B2218; { 0x02, 0x18, 0x10, 0x06, 0x02, 0x0c, 0x230 },
DUMMY_WIN_TEMPLATE
};
const struct WindowTemplate gUnknown_085B21F4 = {
0x00, 0x18, 0x09, 0x05, 0x04, 0x0e, 0x23c
};
const struct BgTemplate gUnknown_085B21FC[] = {
{
.bg = 0,
.charBaseIndex = 2,
.mapBaseIndex = 31,
.priority = 0
},
{
.bg = 2,
.charBaseIndex = 1,
.mapBaseIndex = 8,
.priority = 1
},
{
.bg = 3,
.charBaseIndex = 0,
.mapBaseIndex = 7,
.priority = 2
}
};
const struct CompressedSpriteSheet gUnknown_085B2208 = {
gUnknown_085B1F58, 0x2000, 0x1000
};
const u32 filler_85B2210[2] = {};
const struct SpritePalette gUnknown_085B2218[] = {
{ gUnknown_08DCC01C, 0x1000 },
{ gUnknown_08DCC03C, 0x1001 },
{}
};
// text // text
@ -79,5 +113,5 @@ void LoadWallClockGraphics(void)
ResetPaletteFade(); ResetPaletteFade();
FreeAllSpritePalettes(); FreeAllSpritePalettes();
LoadCompressedObjectPic(&gUnknown_085B2208); LoadCompressedObjectPic(&gUnknown_085B2208);
LoadSpritePalettes(&gUnknown_085B2218); LoadSpritePalettes(gUnknown_085B2218);
} }