diff options
| author | theo3 <arisstephenson2@gmail.com> | 2020-11-17 17:29:05 -0800 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2020-11-17 17:29:05 -0800 |
| commit | d2d35118bca06a44f4617ececf6dd379ebf7ae53 (patch) | |
| tree | 9ad0b82bc9fab18d91621be2dd8b469668def0f2 /src/object | |
| parent | a933aa889e94f6154303685c2fd58541c936d380 (diff) | |
clang-format
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/objectA2.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/object/objectA2.c b/src/object/objectA2.c index 3fa6dd17..4b163b17 100644 --- a/src/object/objectA2.c +++ b/src/object/objectA2.c @@ -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) { |
