public void TakeDamage() { state.TakeDamage(); if (!isDead) { SoundManager.shrink.Play(); invicibilityFrames = ValueHolder.maxInvinciblityTime; } if (isNinja) { SoundManager.PlaySong(SoundManager.songs.overworld); } isFireball = false; isBig = false; isFire = false; isNinja = false; }