mirror of https://github.com/zeldaret/tmc.git
clang-format
This commit is contained in:
parent
a933aa889e
commit
d2d35118bc
|
@ -10,25 +10,16 @@ void sub_0809F3E8(Entity*);
|
|||
void sub_0809F408(Entity*);
|
||||
void sub_0809F448(Entity*);
|
||||
|
||||
void (* const gUnk_081246F4[])(Entity*) = {
|
||||
sub_0809F318,
|
||||
sub_0809F374,
|
||||
sub_0809F3E8,
|
||||
sub_0809F408
|
||||
};
|
||||
void (*const gUnk_081246F4[])(Entity*) = { sub_0809F318, sub_0809F374, sub_0809F3E8, sub_0809F408 };
|
||||
|
||||
const u8 gUnk_08124704[] = {
|
||||
0, 1, 2, 4
|
||||
};
|
||||
const u8 gUnk_08124704[] = { 0, 1, 2, 4 };
|
||||
|
||||
typedef struct {
|
||||
u8 unk_0;
|
||||
u8 unk_1;
|
||||
} PACKED struct_08124708;
|
||||
|
||||
const struct_08124708 gUnk_08124708[5] = {
|
||||
{0, 0x2F}, {1, 0x20}, {1, 0x16}, {2, 0x10}, {3, 0x01}
|
||||
};
|
||||
const struct_08124708 gUnk_08124708[5] = { { 0, 0x2F }, { 1, 0x20 }, { 1, 0x16 }, { 2, 0x10 }, { 3, 0x01 } };
|
||||
|
||||
extern u32 sub_080045DA(s32, u32);
|
||||
|
||||
|
@ -70,7 +61,7 @@ void sub_0809F374(Entity* this) {
|
|||
case 0:
|
||||
this->action = 2;
|
||||
InitializeAnimation(this, 1);
|
||||
//fall through
|
||||
// fall through
|
||||
case 1:
|
||||
this->actionDelay = 0;
|
||||
sub_0809F448(this);
|
||||
|
@ -102,7 +93,7 @@ void sub_0809F408(Entity* this) {
|
|||
void sub_0809F448(Entity* this) {
|
||||
s32 tmp;
|
||||
int rand = Random();
|
||||
const struct_08124708 *tmp2 = &gUnk_08124708[this->field_0xf];
|
||||
const struct_08124708* tmp2 = &gUnk_08124708[this->field_0xf];
|
||||
this->field_0xf++;
|
||||
tmp = 0x280000 - this->x.WORD;
|
||||
switch (tmp2->unk_0) {
|
||||
|
|
Loading…
Reference in New Issue