use get_enemy_hp instead of a custom check

This commit is contained in:
Bryan Bishop 2013-10-12 16:22:53 -05:00
parent de5a585e5e
commit 80fe5be906

View File

@ -387,7 +387,7 @@ class SpeedRunner(Runner):
# wait for the move to be over
self.cry.text_wait()
hp = ((self.cry.vba.memory[0xd218] << 8) | self.cry.vba.memory[0xd217])
hp = self.cry.get_enemy_hp()
print "enemy hp is: " + str(hp)
if hp == 0: