mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-28 01:06:00 +00:00
Implemented usage of GameData::Item
This commit is contained in:
@@ -614,7 +614,7 @@ end
|
||||
|
||||
|
||||
def pbVoltorbFlip
|
||||
if hasConst?(PBItems,:COINCASE) && !$PokemonBag.pbHasItem?(:COINCASE)
|
||||
if GameData::Item.exists?(:COINCASE) && !$PokemonBag.pbHasItem?(:COINCASE)
|
||||
pbMessage(_INTL("You can't play unless you have a Coin Case."))
|
||||
elsif $PokemonGlobal.coins==MAX_COINS
|
||||
pbMessage(_INTL("Your Coin Case is full!"))
|
||||
|
||||
Reference in New Issue
Block a user