From 377bd14ea67d6177250fb401e12d7dfcf44e2cf6 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 9 Jun 2021 22:54:21 -0500 Subject: 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 --- src/text_1.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/text_1.c (limited to 'src/text_1.c') diff --git a/src/text_1.c b/src/text_1.c new file mode 100644 index 0000000..068417c --- /dev/null +++ b/src/text_1.c @@ -0,0 +1,27 @@ +#include "global.h" +#include "text.h" + +extern struct UnkTextStruct2 gUnknown_202AFC0[4]; +extern u32 gUnknown_80B8814[]; + +void nullsub_152(void) +{ +} + +void sub_8006518(struct UnkTextStruct2 *unkData) +{ + s32 iVar2; + for(iVar2 = 0; iVar2 < 4; iVar2++) + { + unkData[iVar2] = gUnknown_202AFC0[iVar2]; + } +} + +void nullsub_153(void) +{ +} + +u32 sub_8006544(u32 index) +{ + return gUnknown_80B8814[index]; +} -- cgit v1.2.3