summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_fganon.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-20 20:06:40 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-20 20:06:40 -0400
commitce8d17ec0835c9679e54dc7a6700c042825352f9 (patch)
tree0748434bc0497fce52875a93477a3377afeefdcd /src/d/actor/d_a_fganon.cpp
parent7e77fd23e3f7019d62a89f74bbc448852e166aaf (diff)
Add an enum for action button icon status
Diffstat (limited to 'src/d/actor/d_a_fganon.cpp')
-rw-r--r--src/d/actor/d_a_fganon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_fganon.cpp b/src/d/actor/d_a_fganon.cpp
index e92539e9..04c948f3 100644
--- a/src/d/actor/d_a_fganon.cpp
+++ b/src/d/actor/d_a_fganon.cpp
@@ -174,7 +174,7 @@ void fly_se_set(fganon_class* i_this) {
cXyz local_34 = i_this->current.pos - i_this->old.pos;
uint uVar2 = (uint)(local_34.abs() * 3.5f);
if (uVar2 > 100) {
- uVar2 = 100;
+ uVar2 = 100;
}
fopAcM_seStart(i_this, JA_SE_CM_PG_FLYING, uVar2);
}
@@ -333,8 +333,8 @@ void shot(fganon_class* i_this) {
pos_move(i_this, 0);
fly_se_set(i_this);
if ((i_this->m388 >= 2) && (i_this->m408 == 0)) {
- i_this->m386 = 5;
- i_this->m388 = 0;
+ i_this->m386 = 5;
+ i_this->m388 = 0;
}
if ((i_this->m388 == 3) || (i_this->m388 == 4)) {
mDoAud_monsSeStart(JA_SE_OBJ_PG_EBALL_FLY_S, &i_this->m3E0, 100, dComIfGp_getReverb(fopAcM_GetRoomNo(i_this)));
@@ -2295,7 +2295,7 @@ void energy_ball_move(fganon_class* i_this) {
local_5c = a_this->home.pos - i_this->m3E0;
if (local_5c.abs() > 10000.0f) {
- i_this->m408 = 35;
+ i_this->m408 = 35;
}
}