JappaWakkaP3D 9723820427 SFX & Battle Animations
Ported Battle Animation Code
Ported Battle Animations for Tackle, Pound, Growl, Ember and Poison Sting
Normalized all SFX by Perceived Loudness (-11.0 LUFS)
Renamed and moved a bunch of the SFX so they make more sense
Added a jingle when you register a Phone Number
Added a soundeffect for when an elevator reaches its destination
2021-08-22 16:10:06 +02:00

28 lines
856 B
VB.net

Namespace Items.Repels
Public MustInherit Class RepelItem
Inherits Item
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
Public MustOverride ReadOnly Property RepelSteps As Integer
Public Overrides Sub Use()
If Core.Player.RepelSteps <= 0 Then
Core.Player.Inventory.RemoveItem(ID, 1)
Player.Temp.LastUsedRepel = ID
SoundManager.PlaySound("Use_Repel", False)
Screen.TextBox.Show(Core.Player.Name & " used a~" & Name, {}, True, True)
Core.Player.RepelSteps = RepelSteps
PlayerStatistics.Track("[42]Repels used", 1)
Else
Screen.TextBox.Show("The Repel is still~in effect.", {}, True, True)
End If
End Sub
End Class
End Namespace