View Single Post
  #24    
Old May 8th, 2008 (2:18 AM).
Wichu's Avatar
Wichu Wichu is offline
Project Amethyst
     
    Join Date: Sep 2007
    Location: North Herts, England
    Age: 24
    Gender: Male
    Nature: Naive
    Posts: 2,051
    After line 506 in PokeBattle_AI (def pbEnemyShouldWithdraw?(index)), add this to a new line:
    Code:
     [email protected][index]
    It should look like this:
    Code:
    def pbEnemyShouldWithdraw?(index)
     [email protected][index]
     shouldswitch=false
     typecheck=false
     movetype=-1
    __________________