mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Added method $Trainer.party_full?
This commit is contained in:
@@ -147,6 +147,10 @@ class PokeBattle_Trainer
|
||||
return p[p.length - 1]
|
||||
end
|
||||
|
||||
def party_full?
|
||||
return @party.length >= MAX_PARTY_SIZE
|
||||
end
|
||||
|
||||
#=============================================================================
|
||||
# Pokédex
|
||||
#=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user