mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Merge branch 'master' into refactor
This commit is contained in:
@@ -169,7 +169,7 @@ class PokeBattle_Battle
|
||||
idxPartyForName = idxPartyNew
|
||||
enemyParty = pbParty(idxBattler)
|
||||
if isConst?(enemyParty[idxPartyNew].ability,PBAbilities,:ILLUSION)
|
||||
idxPartyForName = pbGetLastPokeInTeam(idxBattler)
|
||||
idxPartyForName = pbLastInTeam(idxBattler)
|
||||
end
|
||||
if pbDisplayConfirm(_INTL("{1} is about to send in {2}. Will you switch your Pokémon?",
|
||||
opponent.fullname,enemyParty[idxPartyForName].name))
|
||||
@@ -245,7 +245,7 @@ class PokeBattle_Battle
|
||||
pbDisplayBrief(_INTL("{1}, switch out! Come back!",battler.name))
|
||||
end
|
||||
else
|
||||
owner = pbGetOwnerName(b.index)
|
||||
owner = pbGetOwnerName(battler.index)
|
||||
pbDisplayBrief(_INTL("{1} withdrew {2}!",owner,battler.name))
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user