mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-27 12:01:08 -05:00
oops, made a mistake in get_enemy_hp
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user