summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-22reduce some duplicated code inside some testsBryan Bishop
Those movement checks are now collapsed into a single function that each test can individually call.
2013-09-22remove unnecessary emulator shutdownBryan Bishop
2013-09-22change the walk test after Elm's LabBryan Bishop
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.
2013-09-22test that the Elm's Lab sequence worksBryan Bishop
2013-09-22get rid of a text_wait when talking to ElmBryan Bishop
2013-09-22fix cyndaquil selection in Elm's LabBryan Bishop
2013-09-22test that the current map is correctBryan Bishop
2013-09-22add more defaults to setup_wram for testingBryan Bishop
This is sorta absurd, it should just load these values by parsing wram.asm on its own.
2013-09-22test the walk_into_new_bark_town vba methodBryan Bishop
2013-09-22test autoplayer handle_momBryan Bishop
2013-09-22make SpeedRunner.setup use the right config refBryan Bishop
2013-09-22remove old jython comments from the vba testsBryan Bishop
2013-09-22combine some tests togetherBryan Bishop
2013-09-22make the vba tests passBryan Bishop
2013-09-22weird, why was there no shutdown command?Bryan Bishop
2013-09-22save_state_path is only on self.configBryan Bishop
2013-09-22load_state was called on the wrong objectBryan Bishop
2013-09-22implement a vba helper func for state loadingBryan Bishop
This re-implements the load_state method that previously existed. I forget why it was removed, but basically a similar function is needed again, and it doesn't entirely belong in the emulator or in the emulator wrapper because these save states are game-specific.
2013-09-22fix skippable decorator emulator state setterBryan Bishop
2013-09-22use the state property during test bootstrappingBryan Bishop
2013-09-22use self.registers in text_waitBryan Bishop
2013-09-22fix how autoplayer calls hold/press on buttonsBryan Bishop
2013-09-22re-implement save_stateBryan Bishop
This can be used to dump state to a file based on the current configuration of the running instance.
2013-09-22make vba.crystal accept configBryan Bishop
2013-09-22make the skippable decorator use configBryan Bishop
Use the pokemontools configuration to determine where to save the save states.
2013-09-22fix the autoplayer bootstrapper for test_vba.pyBryan Bishop
2013-09-21make the vba autoplayer use the new methodsBryan Bishop
2013-09-21move tests into test_vba.pyBryan Bishop
They didn't belong in pokemontools/vba/vba.py in the first place.
2013-09-21combine some vba testsBryan Bishop
2013-09-21fix a vba.py test (test_PlaceString)Bryan Bishop
2013-09-21Merge branch 'master' into vba-automationBryan Bishop
2013-09-21version bump to: v1.4.1v1.4.1Bryan Bishop
The previous version was uploaded with .swp files and a large libvba.so that was in my working directory. I regret everything.
2013-09-21also exclude .*.swp filesBryan Bishop
2013-09-21version bump to: v1.4.0v1.4.0Bryan Bishop
2013-09-21Merge pull request #35 from kanzure/include-everythingBryan Bishop
Include all pokemontools/ files in installs
2013-09-21include all pokemontools/ files in installsBryan Bishop
2013-09-21switch vba.crystal to have instance methodsBryan Bishop
2013-09-21remove get_memory_rangeBryan Bishop
2013-09-21move call into vba.crystalBryan Bishop
2013-09-21move get_stack into vba.crystalBryan Bishop
2013-09-21pass vba and registers into get_stackBryan Bishop
2013-09-21pass vba and registers into call()Bryan Bishop
2013-09-21pass vba into get_memory_rangeBryan Bishop
2013-09-21fix some memory manipulation to use vba_wrapperBryan Bishop
2013-09-21placeholder for get_memory_rangeBryan Bishop
But really, the old calls to get_memory_range should just be replaced with code that uses vba.memory[:] directly.
2013-09-21get_memory_at -> vba.read_memory_atBryan Bishop
2013-09-21set_memory_at -> vba.write_memory_atBryan Bishop
The set_memory_at function was moved into vba_wrapper. There's no reason for that one to be defined in pokemontools.
2013-09-21replace one more step() with vba.step()Bryan Bishop
2013-09-21use vba.step() instead of step()Bryan Bishop
2013-09-21remove the custom press() implementationBryan Bishop
This is now handled in vba_wrapper.