mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-08 18:34:12 -05:00
use set_battle_mon_hp in a test
This commit is contained in:
parent
18449eea21
commit
e61643e681
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user