mirror of
https://github.com/zeldaret/tmc
synced 2026-07-02 12:36:27 -04:00
sort out most of functions.h
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user