Fix format

This commit is contained in:
octorock 2023-12-30 22:48:48 +01:00
parent 917ca10ba5
commit 8b69eadaef
5 changed files with 7 additions and 9 deletions

View File

@ -15,7 +15,7 @@ extern u16 gUnk_0800275C[];
extern u8 gUnk_0811BE38[]; extern u8 gUnk_0811BE38[];
void ItemPegasusBoots(ItemBehavior* this, u32 index) { void ItemPegasusBoots(ItemBehavior* this, u32 index) {
static void (*const ItemPegasusBoots_StateFunctions[])(ItemBehavior* beh, u32) = { static void (*const ItemPegasusBoots_StateFunctions[])(ItemBehavior * beh, u32) = {
sub_080768F8, sub_080768F8,
sub_08076964, sub_08076964,
sub_08076A88, sub_08076A88,

View File

@ -37,14 +37,14 @@ typedef struct struct_08108764 {
u16 unk_06; u16 unk_06;
u16 unk_08; u16 unk_08;
u16 unk_0a; u16 unk_0a;
}* unk_0c; } * unk_0c;
struct { struct {
u8 unk_00; u8 unk_00;
u8 unk_01; u8 unk_01;
u8 unk_02[2]; u8 unk_02[2];
u16 unk_04; u16 unk_04;
u16 unk_06; u16 unk_06;
}* unk_10; } * unk_10;
} struct_08108764; } struct_08108764;
extern struct_08108764 gUnk_08108764[]; extern struct_08108764 gUnk_08108764[];

View File

@ -488,9 +488,7 @@ void sub_0805A9CC(TempleOfDropletsManager* this) {
gScreen.bg3.updated = 1; gScreen.bg3.updated = 1;
} }
extern struct { extern struct { u8 unk_00[0x20]; } gUnk_085A97A0[];
u8 unk_00[0x20];
} gUnk_085A97A0[];
void sub_0805AA58(TempleOfDropletsManager* this) { void sub_0805AA58(TempleOfDropletsManager* this) {
if (--super->timer == 0) { if (--super->timer == 0) {

View File

@ -20,11 +20,11 @@ void sub_080658BC(MalonEntity* this);
void sub_08065900(MalonEntity* this); void sub_08065900(MalonEntity* this);
void Malon(MalonEntity* this) { void Malon(MalonEntity* this) {
static void (*const actionFuncs[])(Entity* this) = { static void (*const actionFuncs[])(Entity * this) = {
sub_08065864, sub_08065864,
sub_08065880, sub_08065880,
}; };
static void (*const scriptedActionFuncs[])(MalonEntity* this) = { static void (*const scriptedActionFuncs[])(MalonEntity * this) = {
sub_08065888, sub_08065888,
sub_080658BC, sub_080658BC,
sub_08065900, sub_08065900,

View File

@ -19,7 +19,7 @@ void sub_08066CCC(Entity*);
void sub_08066CF8(Entity*); void sub_08066CF8(Entity*);
void Zelda(Entity* this) { void Zelda(Entity* this) {
static void (*const gUnk_08110BD8[])(Entity* ent) = { static void (*const gUnk_08110BD8[])(Entity * ent) = {
sub_08066CCC, sub_08066CCC,
sub_08066CF8, sub_08066CF8,
}; };