The point where insert the call is at 1037 line; inside the turn() function, before doing the action of turn:
EndIf
Sleep(20)
If search_enemy() Then
ReturnEndIf
If $cot = 1 Then
I removed both actions of move, after turn:
(removethis code)
If $wl > 1 Then
ControlSend($title, "", "", "{W down}")_Interrupt_Sleep($wl);moveControlSend($title, "", "", "{W up}")EndIf