Skip to content

Commit

Permalink
Fix mistake in AI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
BuffelSaft committed Jul 10, 2021
1 parent 8dd52f2 commit 2a3f90a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions data/battle_ai_scripts.s
Original file line number Diff line number Diff line change
Expand Up @@ -1411,17 +1411,6 @@ AI_CV_Sleep1: @ 82DCAAD
score +2
end

@ Sleep OP, use it if possible
AI_CV_Sleep1: @ 82DCAAD
get_last_used_bank_move AI_USER
get_move_effect_from_result
if_equal EFFECT_SLEEP, AI_CV_Sleep_End @ If you just missed a sleep move, try something else
score +3
if_random_less_than 128, AI_CV_Sleep_End
score +2
end


AI_CV_Sleep_End:
end

Expand Down

0 comments on commit 2a3f90a

Please sign in to comment.