Voltorb Flip coin case cap won't prevent game

This commit is contained in:
JappaWakka 2023-08-01 20:05:52 +02:00
parent 2e85705bf8
commit e8e27c727e

View File

@ -284,10 +284,6 @@
CanContinue = False
Case "voltorbflip"
If Core.Player.Inventory.GetItemAmount(54.ToString) > 0 Then
If CInt(GameModeManager.GetGameRuleValue("CoinCaseCap", "0")) > 0 AndAlso Core.Player.Coins > CInt(GameModeManager.GetGameRuleValue("CoinCaseCap", "0")) Then
Screen.TextBox.Show(Localization.GetString("VoltorbFlip_BeforeGame_FullCoinCase", "Your Coin Case is already full!"))
IsReady = True
Else
If VoltorbFlip.VoltorbFlipScreen.TotalCoins = -1 Then
Core.SetScreen(New VoltorbFlip.VoltorbFlipScreen(CurrentScreen))
End If
@ -306,7 +302,6 @@
IsReady = True
End If
End If
End If
Else
Screen.TextBox.Show(Localization.GetString("VoltorbFlip_BeforeGame_NoCoinCase", "You don't have a Coin Case!~Come back when you have one!"))
IsReady = True