Renamed/rearranged some script files

This commit is contained in:
Maruno17
2023-04-23 18:04:32 +01:00
parent ce549ab62a
commit b7a40d0344
34 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
class Battle::AI
# Decide whether the opponent should Mega Evolve.
# TODO: Where relevant, pretend the user is Mega Evolved if it isn't but can
# be.
def pbEnemyShouldMegaEvolve?
if @battle.pbCanMegaEvolve?(@user.index) # Simple "always should if possible"
PBDebug.log_ai("#{@user.name} will Mega Evolve")
return true
end
return false
end
end