From 840e447557548b67d0c6436949d86c789f0e8fe9 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 22 Sep 2013 02:55:08 -0500 Subject: change the walk test after Elm's Lab The walk test is useful to see if the player is able to move, but it shouldn't walk down and out of the building because the test is comparing against the MapNumber for Elm's Lab and not New Bark Town. --- tests/test_vba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_vba.py') diff --git a/tests/test_vba.py b/tests/test_vba.py index 55489fb..0232b1d 100644 --- a/tests/test_vba.py +++ b/tests/test_vba.py @@ -183,7 +183,7 @@ class VbaTests(unittest.TestCase): # test again if the game is in a state where the player can walk first_map_y = self.get_wram_value("MapY") - runner.cry.move("d") + runner.cry.move("u") second_map_y = self.get_wram_value("MapY") # check that the player has moved -- cgit v1.2.3