mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Added decent spacing to all scripts thanks to Rubocop
This commit is contained in:
@@ -98,7 +98,7 @@ class BattleChallenge
|
||||
opponent = pbGenerateBattleTrainer(self.nextTrainer, self.rules)
|
||||
bttrainers = pbGetBTTrainers(@id)
|
||||
trainerdata = bttrainers[self.nextTrainer]
|
||||
ret = pbOrganizedBattleEx(opponent,self.rules,
|
||||
ret = pbOrganizedBattleEx(opponent, self.rules,
|
||||
pbGetMessageFromHash(MessageTypes::EndSpeechLose, trainerdata[4]),
|
||||
pbGetMessageFromHash(MessageTypes::EndSpeechWin, trainerdata[3]))
|
||||
return ret
|
||||
|
||||
@@ -105,7 +105,7 @@ end
|
||||
#===============================================================================
|
||||
def pbRecordLastBattle
|
||||
$PokemonGlobal.lastbattle = $game_temp.last_battle_record
|
||||
$game_temp.last_battle_record = nil
|
||||
$game_temp.last_battle_record = nil
|
||||
end
|
||||
|
||||
def pbPlayLastBattle
|
||||
|
||||
@@ -115,7 +115,7 @@ class BattleSwapScene
|
||||
end
|
||||
|
||||
def pbSwapChosen(_pkmnindex)
|
||||
commands=pbGetCommands(@newPokemon, [])
|
||||
commands = pbGetCommands(@newPokemon, [])
|
||||
commands.push(_INTL("PKMN FOR SWAP"))
|
||||
commands.push(_INTL("CANCEL"))
|
||||
@sprites["help"].text = _INTL("Select Pokémon to accept.")
|
||||
|
||||
Reference in New Issue
Block a user