diff --git a/src/overlays/actors/ovl_En_Test/z_en_test.c b/src/overlays/actors/ovl_En_Test/z_en_test.c index 0ffafb166d..b4f2d4625b 100644 --- a/src/overlays/actors/ovl_En_Test/z_en_test.c +++ b/src/overlays/actors/ovl_En_Test/z_en_test.c @@ -1313,12 +1313,12 @@ void EnTest_SetupStunned(EnTest* this) { this->skelAnime.playSpeed = 0.0f; this->actor.speed = -4.0f; - if (this->lastDamageEffect == STALFOS_DMGREAC_LIGHT) { + if (this->lastDamageReaction == STALFOS_DMGREAC_LIGHT) { Actor_SetColorFilter(&this->actor, COLORFILTER_COLORFLAG_GRAY, 120, COLORFILTER_BUFFLAG_OPA, 80); } else { Actor_SetColorFilter(&this->actor, COLORFILTER_COLORFLAG_BLUE, 120, COLORFILTER_BUFFLAG_OPA, 80); - if (this->lastDamageEffect == STALFOS_DMGREAC_FREEZE) { + if (this->lastDamageReaction == STALFOS_DMGREAC_FREEZE) { this->iceTimer = 36; } else { Animation_PlayOnceSetSpeed(&this->skelAnime, &gStalfosFlinchFromHitFrontAnim, 0.0f); @@ -1680,7 +1680,7 @@ void EnTest_UpdateDamage(EnTest* this, PlayState* play) { if ((this->actor.colChkInfo.damageReaction != STALFOS_DMGREAC_SLING) && (this->actor.colChkInfo.damageReaction != STALFOS_DMGREAC_FIREMAGIC)) { - this->lastDamageEffect = this->actor.colChkInfo.damageReaction; + this->lastDamageReaction = this->actor.colChkInfo.damageReaction; if (this->swordState >= 1) { this->swordState = 0; } diff --git a/src/overlays/actors/ovl_En_Test/z_en_test.h b/src/overlays/actors/ovl_En_Test/z_en_test.h index 030fcf740f..28192142c5 100644 --- a/src/overlays/actors/ovl_En_Test/z_en_test.h +++ b/src/overlays/actors/ovl_En_Test/z_en_test.h @@ -90,7 +90,7 @@ typedef struct EnTest { /* 0x7DD */ char unk_7DD[0x1]; /* 0x7DE */ u8 unk_7DE; /* 0x7E0 */ s16 iceTimer; - /* 0x7E2 */ u8 lastDamageEffect; + /* 0x7E2 */ u8 lastDamageReaction; /* 0x7E4 */ s32 unk_7E4; /* 0x7E8 */ s32 timer; /* 0x7EC */ f32 unk_7EC;