mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Split PokeBattle_Trainer into PlayerTrainer and NPCTrainer
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user