summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pokemontools/vba/autoplayer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/vba/autoplayer.py b/pokemontools/vba/autoplayer.py
index c1e36bc..0049021 100644
--- a/pokemontools/vba/autoplayer.py
+++ b/pokemontools/vba/autoplayer.py
@@ -418,7 +418,7 @@ class SpeedRunner(Runner):
# if pokemon health is >20, just continue
# if move 1 PP is 0, just continue
- if cur_hp > 20 and move_pp > 5:
+ if cur_hp > 20 and move_pp > 5 and self.cry.vba.memory[0xdcfe] < level:
self.cry.move("u")
return self.new_bark_level_grind(level, walk_to_grass=False, skip=False)