diff options
| author | theo3 <arisstephenson2@gmail.com> | 2022-03-30 21:17:53 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2022-03-30 21:17:53 -0700 |
| commit | 5fedcc4e27d42be05644cbba29a793ad60a6dec8 (patch) | |
| tree | cea4dd6413422fbc81c6dfd6680f32cc62f47697 /src | |
| parent | 00b400a26f81b86643aae37714d8dcc5d526711a (diff) | |
cf
Diffstat (limited to 'src')
| -rw-r--r-- | src/npc/sturgeon.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/npc/sturgeon.c b/src/npc/sturgeon.c index 89e06fbb..a181b50c 100644 --- a/src/npc/sturgeon.c +++ b/src/npc/sturgeon.c @@ -64,36 +64,36 @@ void sub_08064B88(Entity* this) { s32 temp2; switch (this->interactType) { - case 0: - temp = sub_0806EE20(this); - this->animationState = this->knockbackDirection; - if (temp != 0) { - InitializeAnimation(this, temp & 0x7f); - } - GetNextFrame(this); - break; - case 2: - this->action = 3; - temp2 = GetAnimationState(this); - if (temp2 < 0) { - temp2 = this->animationState; - } - this->subtimer = this->animIndex; - InitializeAnimation(this, temp2); - this->interactType = 0; - sub_0806F118(this); - break; - case 1: - default: - this->action = 2; - temp2 = GetAnimationState(this); - if (temp2 < 0) { - temp2 = this->animationState; - } - this->subtimer = this->animIndex; - InitializeAnimation(this, temp2); - this->interactType = 0; - sub_08064CD8(this); + case 0: + temp = sub_0806EE20(this); + this->animationState = this->knockbackDirection; + if (temp != 0) { + InitializeAnimation(this, temp & 0x7f); + } + GetNextFrame(this); + break; + case 2: + this->action = 3; + temp2 = GetAnimationState(this); + if (temp2 < 0) { + temp2 = this->animationState; + } + this->subtimer = this->animIndex; + InitializeAnimation(this, temp2); + this->interactType = 0; + sub_0806F118(this); + break; + case 1: + default: + this->action = 2; + temp2 = GetAnimationState(this); + if (temp2 < 0) { + temp2 = this->animationState; + } + this->subtimer = this->animIndex; + InitializeAnimation(this, temp2); + this->interactType = 0; + sub_08064CD8(this); } } |
