diff options
author | garak <garakmon@gmail.com> | 2019-07-19 22:06:42 -0400 |
---|---|---|
committer | garak <garakmon@gmail.com> | 2019-07-19 22:06:42 -0400 |
commit | f9a9297d4f1d60da027817aad89478a39907dafb (patch) | |
tree | 54261f90e7d7dde876e0a8c9a9ac075b107018c8 /src/pokenav_unk_7.c | |
parent | f6d55db5354d98e1da7f9d4fb9eceeb7ad73c284 (diff) |
decompile pokenav 7/8 data
Diffstat (limited to 'src/pokenav_unk_7.c')
-rw-r--r-- | src/pokenav_unk_7.c | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/src/pokenav_unk_7.c b/src/pokenav_unk_7.c new file mode 100644 index 000000000..0c31551fc --- /dev/null +++ b/src/pokenav_unk_7.c @@ -0,0 +1,103 @@ +#include "global.h" +#include "bg.h" +#include "window.h" +#include "pokenav.h" + +u32 sub_81CE37C(int); +u32 sub_81CE2D0(int); +u32 sub_81CE4D8(int); +u32 sub_81CE5E4(int); +u32 sub_81CE6BC(int); +u32 sub_81CE700(int); + +const u16 gUnknown_086231E8[] = INCBIN_U16("graphics/pokenav/86231E8.gbapal"); +const u16 gUnknown_08623208[] = INCBIN_U16("graphics/pokenav/8623208.gbapal"); +const u32 gUnknown_08623228[] = INCBIN_U32("graphics/pokenav/8623228.4bpp.lz"); +const u32 gUnknown_0862323C[] = INCBIN_U32("graphics/pokenav/862323C.bin.lz"); +const u16 gUnknown_08623338[] = INCBIN_U16("graphics/pokenav/8623338.gbapal"); + +const struct BgTemplate gUnknown_08623358[3] = +{ + { + .bg = 1, + .charBaseIndex = 1, + .mapBaseIndex = 0x1F, + .screenSize = 0, + .paletteMode = 0, + .priority = 1, + .baseTile = 0 + }, + { + .bg = 2, + .charBaseIndex = 3, + .mapBaseIndex = 0x1D, + .screenSize = 0, + .paletteMode = 0, + .priority = 2, + .baseTile = 0 + }, + { + .bg = 3, + .charBaseIndex = 2, + .mapBaseIndex = 0x1E, + .screenSize = 0, + .paletteMode = 0, + .priority = 3, + .baseTile = 0 + } +}; + +const struct WindowTemplate gUnknown_08623364 = +{ + .bg = 1, + .tilemapLeft = 13, + .tilemapTop = 1, + .width = 13, + .height = 4, + .paletteNum = 15, + .baseBlock = 2 +}; + +const struct WindowTemplate gUnknown_0862336C = +{ + .bg = 1, + .tilemapLeft = 1, + .tilemapTop = 6, + .width = 7, + .height = 2, + .paletteNum = 15, + .baseBlock = 0x36 +}; + +const struct WindowTemplate gUnknown_08623374 = +{ + .bg = 1, + .tilemapLeft = 1, + .tilemapTop = 0x1C, + .width = 5, + .height = 2, + .paletteNum = 15, + .baseBlock = 0x44 +}; + +const struct WindowTemplate gUnknown_0862337C = +{ + .bg = 1, + .tilemapLeft = 13, + .tilemapTop = 0x1C, + .width = 3, + .height = 2, + .paletteNum = 15, + .baseBlock = 0x44 +}; + +const LoopedTask gUnknown_08623384[] = +{ + NULL, + sub_81CE37C, + sub_81CE2D0, + sub_81CE4D8, + sub_81CE5E4, + sub_81CE6BC, + sub_81CE700 +}; |