mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-09 02:35:11 -05:00
go heal if level reached the target
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user