mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 15:54:25 +02:00
Play sound when poison pokémon lose hp when walk
This commit is contained in:
parent
b23c0455e6
commit
77cfefd598
BIN
P3D/Content/Sounds/OverworldPoison.wav
Normal file
BIN
P3D/Content/Sounds/OverworldPoison.wav
Normal file
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…
x
Reference in New Issue
Block a user