Play sound when poison pokémon lose hp when walk
This commit is contained in:
parent
b23c0455e6
commit
77cfefd598
Binary file not shown.
|
@ -18032,6 +18032,9 @@
|
|||
<Content Include="Content\Sounds\Emote_Exclamation.wav">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Content\Sounds\OverworldPoison.wav">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Content\Textures\Battle\Flying\Gust.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
|
|
@ -1883,6 +1883,7 @@
|
|||
PoisonSteps -= 4
|
||||
End If
|
||||
If PoisonAmount > 0 Then
|
||||
SoundManager.PlaySound("OverworldPoison")
|
||||
For i = 0 To Core.Player.Pokemons.Count - 1
|
||||
If Core.Player.Pokemons(i).Status = Pokemon.StatusProblems.Poison OrElse Core.Player.Pokemons(i).Status = Pokemon.StatusProblems.BadPoison Then
|
||||
If Core.Player.Pokemons(i).Ability IsNot Ability.GetAbilityByID(17) Then
|
||||
|
|
Loading…
Reference in New Issue