Split PokeBattle_Trainer into PlayerTrainer and NPCTrainer

This commit is contained in:
Maruno17
2021-01-24 17:55:39 +00:00
parent 7de034957b
commit 4098b1cd11
60 changed files with 748 additions and 648 deletions

View File

@@ -496,7 +496,7 @@ class Interpreter
when 7 # other
case @parameters[4]
when 0 then value = $game_map.map_id # map ID
when 1 then value = $Trainer.pokemonParty.length # party members
when 1 then value = $Trainer.pokemon_party.length # party members
when 2 then value = $Trainer.money # gold
# when 3 # steps
when 4 then value = Graphics.frame_count / Graphics.frame_rate # play time
@@ -955,7 +955,7 @@ class Interpreter
# * Recover All
#-----------------------------------------------------------------------------
def command_314
pbHealAll if @parameters[0] == 0
$Trainer.heal_party if @parameters[0] == 0
return true
end