From 6abacc1024dd2c9684cf2fcaaab6ffa674a2b990 Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Tue, 25 Mar 2025 13:12:50 -0400 Subject: [PATCH] Fix the player state flag that Tailparasan checks for for Damage Effect (#5211) * Fix the player state flag that Tailparasan checks for * Updated comment for accuracy --- soh/src/overlays/actors/ovl_En_Tp/z_en_tp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/src/overlays/actors/ovl_En_Tp/z_en_tp.c b/soh/src/overlays/actors/ovl_En_Tp/z_en_tp.c index 20966eac4..33449e4a0 100644 --- a/soh/src/overlays/actors/ovl_En_Tp/z_en_tp.c +++ b/soh/src/overlays/actors/ovl_En_Tp/z_en_tp.c @@ -657,7 +657,7 @@ void EnTp_Update(Actor* thisx, PlayState* play) { Player* player = GET_PLAYER(play); s16 yawToWall; - if (player->stateFlags1 & PLAYER_STATE1_SHIELDING) { // Shielding + if (player->stateFlags1 & PLAYER_STATE1_DAMAGED) { // Damaged this->damageEffect = TAILPASARAN_DMGEFF_NONE; }