diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-10-12 16:18:52 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-10-12 16:18:52 -0500 |
commit | de5a585e5e1f1829ee26bca6e5b7d8aa9dceee25 (patch) | |
tree | d85589d971daac61a540fb0969753005a08290b2 | |
parent | c2d13dab14153c405657471d44e49d83f36e00e6 (diff) |
oops, made a mistake in get_enemy_hp
-rw-r--r-- | pokemontools/vba/vba.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py index 433df40..007c132 100644 --- a/pokemontools/vba/vba.py +++ b/pokemontools/vba/vba.py @@ -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 |