mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 03:57:38 +01:00
c042e5148b
* SetDecorationInventoriesPointers * ClearDecorationInventories * CheckHasDecoration * DecorationAdd * DecorationCheckSpace * DecorationRemove * sub_8161A38 * CountDecorations; Funcion renaming * Disassemble decoration data structs, tilemaps, and descriptions * sub_8126968 * sub_81269D4 * through sub_8126A88 * through sub_8126B2C * sub_8126B80 * sub_8126C08 * sub_8126C48 * sub_8126CA4 * sub_8126D10 * sub_8126E44 * sub_8126E8C * sub_8126F68 * sub_8127058 * sub_8127088 * sub_81270E8 * through sub_8127208 * through sub_8127268 * sub_8127284 * through sub_81272F8 * sub_8127330 * through sub_8127480 * sub_81274A0 * sub_8127500; makefile now tells scaninc to scan headers * Actual real fix to mapfile being in build/emerald instead of wd * through sub_812759C * through sub_812764C * through sub_8127744 * through sub_81277BC * sub_81277E8 * sub_8127814 * through sub_81279C4 * through sub_8127ACC * sub_8127B04 * sub_8127B54 * sub_8127B90 * sub_8127D38 * sub_8127E18 * sub_8127F68 * sub_8128060 * ConfigureCameraObjectForPlacingDecoration * SetUpPlacingDecorationPlayerAvatar * sub_812826C * through sub_8128414 * through sub_81284F4 * sub_812853C * sub_8128950 * through sub_8128AAC * through sub_8128BBC * c1_overworld_prev_quest * sub_8128C64 * sub_8128CD4 * sub_8128D10 * sub_8128DB4 * through sub_8128E18 * through sub_8129068 * sub_8129088 * through sub_81291E8 * sub_812925C * sub_81292D0 * sub_81292E8 * gpu_pal_decompress_alloc_tag_and_upload * AddDecorationIconObjectFromIconTable * GetDecorationIconPicOrPalette * AddDecorationIconObjectFromFieldObject * AddDecorationIconObject * through sub_8129708 * sub_81297F8 * sub_81298EC * SetUpPuttingAwayDecorationPlayerAvatar * sub_8129ABC * sub_8129B34 * sub_8129BCC * through sub_8129C74 * through sub_8129D8C * sub_8129E0C * sub_8129E74 * sub_8129F20 * sub_8129FC8 * sub_812A040 * nonmatching sub_812A0E8 * through sub_812A22C * sub_812A25C * sub_812A2C4 * through sub_812A39C * Remaining fns in decoration.s * Decompile decoration headers * Decompile all remaining decoration data that had already been disassembled * Disassemble two data objects * Suggest structure of list menu template * decompile through decoration list menu template * Disassemble decoration icon graphics table * Rip icon gfx * Decompile deco icon table * Decompile more data related to drawing decorations * Decompile gUnknown_085A7250 structs * Decompile two sprite templates * Decompile remaining data in decoration.s * Decompile decoration ewram * deco -> decor
240 lines
5.5 KiB
C
240 lines
5.5 KiB
C
//
|
|
// Created by scott on 10/21/2017.
|
|
//
|
|
|
|
#ifndef GUARD_TILEMAPS_H
|
|
#define GUARD_TILEMAPS_H
|
|
|
|
const u8 Unknown_085A6FB0[] = {
|
|
0x00, 0x01, 0x02, 0x03
|
|
};
|
|
|
|
const u8 Unknown_085A6FB4[] = {
|
|
0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
|
|
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d
|
|
};
|
|
|
|
const u8 Unknown_085A6FC0[] = {
|
|
0x00, 0x01, 0x02, 0x03,
|
|
0x04, 0x05, 0x06, 0x07,
|
|
0x08, 0x09, 0x0a, 0x0b,
|
|
0x0c, 0x0d, 0x0e, 0x0f
|
|
};
|
|
|
|
const u8 Unknown_085A6FD0[] = {
|
|
0x00, 0x01, 0x04, 0x05,
|
|
0x08, 0x09, 0x0c, 0x0d,
|
|
0x10, 0x11, 0x14, 0x15
|
|
};
|
|
|
|
const u8 Unknown_085A6FDC[] = {
|
|
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A6FE4[] = {
|
|
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
|
|
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
|
|
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
|
|
0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f
|
|
};
|
|
|
|
const u8 Unknown_085A7004[] = {
|
|
0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
|
|
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
|
|
0x10, 0x11, 0x12, 0x13, 0x14, 0x15,
|
|
0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d,
|
|
0x20, 0x21, 0x22, 0x23, 0x24, 0x25,
|
|
0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d
|
|
};
|
|
|
|
const u8 Unknown_085A7028[] = {
|
|
0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
|
|
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
|
|
0x10, 0x11, 0x12, 0x13, 0x14, 0x15,
|
|
0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d
|
|
};
|
|
|
|
const u8 Unknown_085A7040[] = {
|
|
0x00, 0x00, 0x00, 0x00
|
|
};
|
|
|
|
const u8 Unknown_085A7044[] = {
|
|
0x00, 0x00, 0x01, 0x01,
|
|
0x00, 0x00, 0x01, 0x01
|
|
};
|
|
|
|
const u8 Unknown_085A704C[] = {
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02,
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02
|
|
};
|
|
|
|
const u8 Unknown_085A7058[] = {
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x03,
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x03, 0x03,
|
|
0x04, 0x04, 0x05, 0x05, 0x06, 0x06, 0x07, 0x07,
|
|
0x04, 0x04, 0x05, 0x05, 0x06, 0x06, 0x07, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7078[] = {
|
|
0x00, 0x00, 0x01, 0x01,
|
|
0x00, 0x00, 0x01, 0x01,
|
|
0x02, 0x02, 0x03, 0x03,
|
|
0x02, 0x02, 0x03, 0x03
|
|
};
|
|
|
|
const u8 Unknown_085A7088[] = {
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x01, 0x01, 0x01, 0x01
|
|
};
|
|
|
|
const u8 Unknown_085A7090[] = {
|
|
0x00, 0x00, 0x00, 0x00,
|
|
0x01, 0x01, 0x01, 0x01,
|
|
0x02, 0x02, 0x02, 0x02
|
|
};
|
|
|
|
const u8 Unknown_085A709C[] = {
|
|
0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01,
|
|
0x02, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03,
|
|
0x04, 0x04, 0x05, 0x05, 0x04, 0x04, 0x05, 0x05,
|
|
0x06, 0x06, 0x07, 0x07, 0x06, 0x06, 0x07, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A70BC[] = {
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02,
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02,
|
|
0x03, 0x03, 0x04, 0x04, 0x05, 0x05,
|
|
0x03, 0x03, 0x04, 0x04, 0x05, 0x05,
|
|
0x06, 0x06, 0x07, 0x07, 0x08, 0x08,
|
|
0x06, 0x06, 0x07, 0x07, 0x08, 0x08
|
|
};
|
|
|
|
const u8 Unknown_085A70E0[] = {
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02,
|
|
0x00, 0x00, 0x01, 0x01, 0x02, 0x02,
|
|
0x03, 0x03, 0x04, 0x04, 0x05, 0x05,
|
|
0x03, 0x03, 0x04, 0x04, 0x05, 0x05
|
|
};
|
|
|
|
const u8 Unknown_085A70F8[] = {
|
|
0x04, 0x05, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A70FC[] = {
|
|
0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7104[] = {
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7110[] = {
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7130[] = {
|
|
0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7140[] = {
|
|
0x04, 0x05, 0x06, 0x07,
|
|
0x04, 0x05, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7148[] = {
|
|
0x04, 0x05, 0x06, 0x07,
|
|
0x04, 0x05, 0x06, 0x07,
|
|
0x04, 0x05, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7154[] = {
|
|
0x04, 0x05, 0x04, 0x05, 0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05, 0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05, 0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05, 0x06, 0x07, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7174[] = {
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07
|
|
};
|
|
|
|
const u8 Unknown_085A7198[] = {
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07,
|
|
0x04, 0x05, 0x04, 0x05, 0x04, 0x05,
|
|
0x06, 0x07, 0x06, 0x07, 0x06, 0x07
|
|
};
|
|
|
|
const struct {
|
|
const u8 *tiles;
|
|
const u8 *y;
|
|
const u8 *x;
|
|
u8 size;
|
|
} gUnknown_085A71B0[] = {
|
|
{
|
|
Unknown_085A6FB0,
|
|
Unknown_085A7040,
|
|
Unknown_085A70F8,
|
|
0x04
|
|
}, {
|
|
Unknown_085A6FDC,
|
|
Unknown_085A7044,
|
|
Unknown_085A70FC,
|
|
0x08
|
|
}, {
|
|
Unknown_085A6FB4,
|
|
Unknown_085A704C,
|
|
Unknown_085A7104,
|
|
0x0c
|
|
}, {
|
|
Unknown_085A6FE4,
|
|
Unknown_085A7058,
|
|
Unknown_085A7110,
|
|
0x20
|
|
}, {
|
|
Unknown_085A6FC0,
|
|
Unknown_085A7078,
|
|
Unknown_085A7130,
|
|
0x10
|
|
}, {
|
|
Unknown_085A6FDC,
|
|
Unknown_085A7088,
|
|
Unknown_085A7140,
|
|
0x08
|
|
}, {
|
|
Unknown_085A6FD0,
|
|
Unknown_085A7090,
|
|
Unknown_085A7148,
|
|
0x0c
|
|
}, {
|
|
Unknown_085A6FE4,
|
|
Unknown_085A709C,
|
|
Unknown_085A7154,
|
|
0x20
|
|
}, {
|
|
Unknown_085A7004,
|
|
Unknown_085A70BC,
|
|
Unknown_085A7174,
|
|
0x24
|
|
}, {
|
|
Unknown_085A7028,
|
|
Unknown_085A70E0,
|
|
Unknown_085A7198,
|
|
0x18
|
|
}};
|
|
|
|
#endif //GUARD_TILEMAPS_H
|