Turned move flags into separate words

This commit is contained in:
Maruno17
2021-07-01 21:54:22 +01:00
parent 93b67c9047
commit 987cb7640c
9 changed files with 1585 additions and 1787 deletions

View File

@@ -1742,7 +1742,7 @@ class PokeBattle_AI
score -= 40
if skill>=PBTrainerAI.highSkill
score -= 100 if !target.lastRegularMoveUsed ||
!GameData::Move.get(target.lastRegularMoveUsed).flags[/e/] # Not copyable by Mirror Move
!GameData::Move.get(target.lastRegularMoveUsed).flags.any? { |f| f[/^CanMirrorMove$/i] }
end
#---------------------------------------------------------------------------
when "0AF"