diff options
| author | theo3 <arisstephenson2@gmail.com> | 2022-03-30 00:52:53 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2022-03-30 00:52:53 -0700 |
| commit | a633efd88ca533b8d601eb9a673c5eb7e68dd19d (patch) | |
| tree | 9bc7eb383d88bb2023a6fd69c982915931a33d30 /src/object/lightableSwitch.c | |
| parent | 65b80571b230d08426e6329dc7eb4348ca5012d1 (diff) | |
sort out most of functions.h
Diffstat (limited to 'src/object/lightableSwitch.c')
| -rw-r--r-- | src/object/lightableSwitch.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/object/lightableSwitch.c b/src/object/lightableSwitch.c index 3c5aefd0..a3680f93 100644 --- a/src/object/lightableSwitch.c +++ b/src/object/lightableSwitch.c @@ -6,11 +6,16 @@ #include "flags.h" #include "functions.h" #include "hitbox.h" +#include "object.h" extern void (*const gUnk_081243B4[])(Entity*); extern void (*const gUnk_081243BC[])(Entity*); extern void (*const gUnk_081243C4[])(Entity*); +static void sub_0809EB30(Entity* this); +static void sub_0809EAD8(Entity* this); +static void sub_0809EABC(Entity* this); + void LightableSwitch(Entity* this) { gUnk_081243B4[this->type](this); sub_0809EB30(this); @@ -47,7 +52,7 @@ void sub_0809EA80(Entity* this) { sub_0809EABC(this); } -void sub_0809EABC(Entity* this) { +static void sub_0809EABC(Entity* this) { bool32 anySet = 0; if (CheckFlags(this->field_0x86.HWORD)) { @@ -58,7 +63,7 @@ void sub_0809EABC(Entity* this) { } } -void sub_0809EAD8(Entity* this) { +static void sub_0809EAD8(Entity* this) { u8 bVar1; Entity* pEVar2; @@ -72,7 +77,7 @@ void sub_0809EAD8(Entity* this) { } } -void sub_0809EB30(Entity* this) { +static void sub_0809EB30(Entity* this) { u16 uVar1; u16* puVar2; |
