summaryrefslogtreecommitdiff
path: root/tests/test_vba_battle.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_vba_battle.py')
-rw-r--r--tests/test_vba_battle.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_vba_battle.py b/tests/test_vba_battle.py
index 61c0297..8b02cef 100644
--- a/tests/test_vba_battle.py
+++ b/tests/test_vba_battle.py
@@ -67,8 +67,7 @@ class BattleTests(unittest.TestCase):
self.vba.press(["a"], after=20)
# set partymon1 hp to very low
- self.vba.write_memory_at(0xc63c, 0)
- self.vba.write_memory_at(0xc63d, 1)
+ self.cry.set_battle_mon_hp(1)
# let the enemy attack and kill the pokemon
self.battle.skip_until_input_required()