summaryrefslogtreecommitdiff
path: root/src/object/lilypadLarge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/lilypadLarge.c')
-rw-r--r--src/object/lilypadLarge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/lilypadLarge.c b/src/object/lilypadLarge.c
index d90c1610..b34360a2 100644
--- a/src/object/lilypadLarge.c
+++ b/src/object/lilypadLarge.c
@@ -125,8 +125,8 @@ void LilypadLarge_Action1(LilypadLargeEntity* this) {
this->unk_70 = 0;
this->unk_6c = 0;
}
- if (gPlayerState.field_0x1c == 3) {
- tmp = gUnk_08120620[gPlayerState.gustJarSpeed - 1];
+ if (gPlayerState.gustJarState == PL_JAR_3) {
+ tmp = gUnk_08120620[gPlayerState.gustJarCharge - 1];
switch (gPlayerEntity.base.animationState & 6) {
case 4:
this->unk_70 -= tmp;
@@ -154,7 +154,7 @@ void LilypadLarge_Action1(LilypadLargeEntity* this) {
uVar4 = gPlayerEntity.base.y.HALF.HI + gUnk_08126EE4[gPlayerEntity.base.animationState | 1];
super->direction = CalculateDirectionTo(super->x.HALF.HI, super->y.HALF.HI, sVar10, uVar4);
- switch (gPlayerState.gustJarSpeed) {
+ switch (gPlayerState.gustJarCharge) {
case 3:
tmp = 0x400;
break;