mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-24 06:57:18 -05:00
* 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
29 lines
554 B
C
29 lines
554 B
C
#include "global.h"
|
|
#include "text.h"
|
|
|
|
struct unkStruct_203B360
|
|
{
|
|
// size: 0x1b4
|
|
u32 currMenu;
|
|
u32 unk4;
|
|
u32 unk8;
|
|
u8 fill8[0x148 - 0xC];
|
|
struct UnkTextStruct2 unk148[4];
|
|
u16 unk1A8;
|
|
u16 unk1AA;
|
|
u16 unk1AC;
|
|
u16 unk1AE;
|
|
u32 unk1B0; // Sprite count?
|
|
};
|
|
|
|
extern struct unkStruct_203B360 *gUnknown_203B360;
|
|
extern void AddSprite(u16 *, u32, u32, u32);
|
|
|
|
void sub_80384D0(void)
|
|
{
|
|
if ((gUnknown_203B360->unk1B0 & 8) != 0) {
|
|
AddSprite(&gUnknown_203B360->unk1A8, 0x100, 0, 0);
|
|
}
|
|
gUnknown_203B360->unk1B0++;
|
|
}
|