Yharon roars before charging out of bullet hells

This commit is contained in:
CongratsIsTrash authored and Cameron Ewell committed 2026-06-01 18:44:23 -04:00
1 parent 04d19e4c1f
commit 9482b27433
1 file changed
+8
+8
View File
@@ -845,6 +845,10 @@ namespace CalamityMod.NPCs.Yharon
NPC.spriteDirection = -NPC.direction;
}
// Play a roar sound before charging out of bullet hell
if (NPC.ai[2] == -45f)
RoarSoundSlot = SoundEngine.PlaySound(ShortRoarSound, NPC.Center);
NPC.ai[2] += 1f;
if (NPC.ai[2] >= phaseSwitchTimer || slowChargeAfterBulletHell)
{
@@ -1211,6 +1215,10 @@ namespace CalamityMod.NPCs.Yharon
NPC.spriteDirection = -NPC.direction;
}
// Play a roar sound before charging out of bullet hell
if (NPC.ai[2] == -45f)
RoarSoundSlot = SoundEngine.PlaySound(ShortRoarSound, NPC.Center);
NPC.ai[2] += 1f;
if (NPC.ai[2] >= phaseSwitchTimer || slowChargeAfterBulletHell)
{