Added method $Trainer.party_full?

This commit is contained in:
Maruno17
2021-01-11 23:41:35 +00:00
parent f72ce06654
commit 2ab552ad3c
11 changed files with 40 additions and 28 deletions

View File

@@ -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
#=============================================================================