Fixed bugs with Multi-Attack, Illusion, Nature's Madness's definition and Slow Start

This commit is contained in:
Maruno17
2020-10-01 17:54:46 +01:00
parent f640f96551
commit 25d48e3837
5 changed files with 25 additions and 25 deletions

View File

@@ -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))