diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-22 12:42:02 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-22 12:42:02 -0500 |
commit | 0b7ed30a33fb9775b2b5e1f3245a2e28608c9fc6 (patch) | |
tree | af0317ff04420e39f8c4790791067f95b3f4e006 /pokemontools/vba/autoplayer.py | |
parent | e048f192d9a81bf99d6eb5d7f78714cc825b4859 (diff) |
go heal if level reached the target
Diffstat (limited to 'pokemontools/vba/autoplayer.py')
-rw-r--r-- | pokemontools/vba/autoplayer.py | 2 |
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) |