View Single Post
  #25    
Old May 8th, 2008 (02:27 AM).
glenn14256 glenn14256 is offline
 
Join Date: May 2008
Gender:
Posts: 3
Quote originally posted by Wichu:
After line 506 in PokeBattle_AI (def pbEnemyShouldWithdraw?(index)), add this to a new line:
Code:
 attacker=@battlers[index]
It should look like this:
Code:
def pbEnemyShouldWithdraw?(index)
 attacker=@battlers[index]
 shouldswitch=false
 typecheck=false
 movetype=-1
Thnx, the problem is indeed solved =)