diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-06-09 22:54:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 22:54:21 -0500 |
commit | 377bd14ea67d6177250fb401e12d7dfcf44e2cf6 (patch) | |
tree | 5440970e02a7890791b234aa233e91e5c1d65b40 /src/code_8027C84_pre.c | |
parent | eaa141c612dd1689936a21bd57018a55ff686b69 (diff) |
Dungeon pokemon/Floor ID JSON Part 1 (#39)
* move Thunderwave and Tiny Woods pokemon to json
* rule tweaking to actually build tool before parsing JSON
* delete .inc pokemon for tiny Woods and Thunderwave
* silence git complaining about br_ips and ips_patch
* use defines for species and pass the header file for species
* convert sinister woods
* convert MtThunderPeak
* convert silent chasm
* add trial floor_id w/ tiny woods
* change make rule name to fix compile
* MtSteel converted and bugfix
* convert few floor headers and great canyon pokemon
* code cleanup
* unify unkData into UnkTextStruct2
* more code cleanup and some text decomp
* doc more funcs and decomp/split some stuff
* document more save stuff
* more save work and move some data
* pika sniped UpdateNatureTotal
* decomp a litle and convert a few more dungeons
* better scanning for json files
* mt freeze and peak
Diffstat (limited to 'src/code_8027C84_pre.c')
-rw-r--r-- | src/code_8027C84_pre.c | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/src/code_8027C84_pre.c b/src/code_8027C84_pre.c deleted file mode 100644 index 9ff107e..0000000 --- a/src/code_8027C84_pre.c +++ /dev/null @@ -1,86 +0,0 @@ -#include "global.h" - - -struct UnkOtherStructTemp -{ - /* 0x0 */ u32 unk0; - /* 0x4 */ u32 unk4; - /* 0x8 */ u32 unk8; - /* 0xC */ u32 unkC; - /* 0x10 */ u32 unk10; - /* 0x14 */ u32 unk14; - /* 0x18 */ u32 unk18; - /* 0x1C */ u32 unk1C; - /* 0x20 */ u16 *unk20; - /* 0x24 */ u16 unk24; - /* 0x26 */ u16 unk26; - /* 0x28 */ u16 unk28; - /* 0x2A */ u16 unk2A; -}; - -struct UnkStructTemp -{ - /* 0x0 */ u32 unk0; - /* 0x4 */ u32 unk4; - /* 0x8 */ u32 unk8; - /* 0xC */ u32 unkC; - /* 0x10 */ u32 unk10; - /* 0x14 */ u32 unk14; - /* 0x18 */ u32 unk18; - /* 0x1C */ u32 unk1C; - /* 0x20 */ u32 unk20; - /* 0x24 */ u16 unk24; - /* 0x26 */ u16 unk26; - /* 0x28 */ u16 unk28; - /* 0x2A */ u16 *unk2A; -}; - - -extern struct UnkStructTemp *gUnknown_203B2BC; -u32 sub_801B410(); -void sub_801B450(); -void sub_8027184(u8 r0); -u32 sub_801EF38(u8 r0); -struct UnkOtherStructTemp *sub_801F194(); -void sub_8027184(u8 r0); -void sub_801F214(); - -void sub_8027C84() -{ - u32 temp = sub_801B410(); - if(temp <= 1) - return; - if(temp > 3) - return; - sub_801B450(); - sub_8027184(0xB); -} - -//void sub_8027CA0() -//{ -// struct UnkOtherStructTemp *temp_store; -// u32 temp = sub_801EF38(1); -// if(temp > 4) -// return; -// switch(temp) -// { -// case 0: -// case 1: -// break; -// case 2: -// sub_801F214(); -// sub_8027184(0x2); -// return; -// case 3: -// case 4: -// temp_store = sub_801F194(); -// gUnknown_203B2BC->unk20 = temp_store; -// // TODO missing -// // lsls r0, 3 -// // adds r0, r1, r0 -// // Why are we shifting the pointer by 3? -// gUnknown_203B2BC->unk24 = temp_store->unk2A[temp_store]; -// sub_8027184(0x10); -// break; -// } -//} |