summaryrefslogtreecommitdiff
path: root/src/object/bigVortex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/bigVortex.c')
-rw-r--r--src/object/bigVortex.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/object/bigVortex.c b/src/object/bigVortex.c
index 91b510b9..ded88e94 100644
--- a/src/object/bigVortex.c
+++ b/src/object/bigVortex.c
@@ -6,13 +6,16 @@
*/
#include "entity.h"
#include "flags.h"
-#include "functions.h"
#include "object.h"
+#include "effects.h"
+#include "physics.h"
+#include "player.h"
+#include "asm.h"
typedef struct {
/*0x00*/ Entity base;
/*0x68*/ u8 unused1[30];
- /*0x86*/ u16 unk_86;
+ /*0x86*/ u16 flag;
} BigVortexEntity;
void sub_08098E3C(Entity*);
@@ -39,7 +42,7 @@ void BigVortex_Init(BigVortexEntity* this) {
super->action = 1;
super->z.HALF.HI = -0x10;
- temp = this->unk_86;
+ temp = this->flag;
if ((temp != 0) && !CheckFlags(temp)) {
super->action = 1;
@@ -55,7 +58,7 @@ void BigVortex_Init(BigVortexEntity* this) {
void BigVortex_Action1(BigVortexEntity* this) {
Entity* fx;
- if (CheckFlags(this->unk_86)) {
+ if (CheckFlags(this->flag)) {
super->action = 2;
super->timer = 45;
fx = CreateFx(super, FX_BIG_EXPLOSION2, 0);