mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Added method $Trainer.party_full?
This commit is contained in:
@@ -48,7 +48,7 @@ class StorageSystemPC
|
||||
)
|
||||
if command>=0 && command<3
|
||||
if command==1 # Withdraw
|
||||
if $PokemonStorage.party.length >= MAX_PARTY_SIZE
|
||||
if $PokemonStorage.party_full?
|
||||
pbMessage(_INTL("Your party is full!"))
|
||||
next
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user