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