oops, made a mistake in get_enemy_hp

This commit is contained in:
Bryan Bishop 2013-10-12 16:18:52 -05:00
parent c2d13dab14
commit de5a585e5e

View File

@ -557,5 +557,5 @@ class crystal(object):
"""
Returns the HP of the current enemy.
"""
hp = ((self.cry.vba.memory[0xd218] << 8) | self.cry.vba.memory[0xd217])
hp = ((self.vba.memory[0xd218] << 8) | self.vba.memory[0xd217])
return hp