mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 19:24:16 +01:00
Start decompiling data
This commit is contained in:
parent
f54f2c424f
commit
2280614a14
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
BIN
graphics/wallclock/graphics_85b1f58.png
Normal file
BIN
graphics/wallclock/graphics_85b1f58.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 204 B |
7
graphics/wallclock/palette_85b21d4.pal
Normal file
7
graphics/wallclock/palette_85b21d4.pal
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
JASC-PAL
|
||||||
|
0100
|
||||||
|
4
|
||||||
|
0 0 0
|
||||||
|
74 180 189
|
||||||
|
255 255 255
|
||||||
|
0 0 0
|
@ -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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user