mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Bug fixes for Illusion with 1 Pokémon in team, Magician triggering and Fake Out failing after switching in by an effect
This commit is contained in:
@@ -274,7 +274,7 @@ end
|
||||
#===============================================================================
|
||||
class PokeBattle_Move_012 < PokeBattle_FlinchMove
|
||||
def pbMoveFailed?(user,targets)
|
||||
if user.turnCount>1 || user.lastRoundMoved>=0
|
||||
if user.turnCount > 1
|
||||
@battle.pbDisplay(_INTL("But it failed!"))
|
||||
return true
|
||||
end
|
||||
|
||||
@@ -1557,7 +1557,7 @@ end
|
||||
#===============================================================================
|
||||
class PokeBattle_Move_149 < PokeBattle_Move
|
||||
def pbMoveFailed?(user,targets)
|
||||
if user.turnCount>1 || user.lastRoundMoved>=0
|
||||
if user.turnCount > 1
|
||||
@battle.pbDisplay(_INTL("But it failed!"))
|
||||
return true
|
||||
end
|
||||
@@ -2576,7 +2576,7 @@ end
|
||||
#===============================================================================
|
||||
class PokeBattle_Move_174 < PokeBattle_Move
|
||||
def pbMoveFailed?(user,targets)
|
||||
if user.turnCount>1 || user.lastRoundMoved>=0
|
||||
if user.turnCount > 1
|
||||
@battle.pbDisplay(_INTL("But it failed!"))
|
||||
return true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user