summaryrefslogtreecommitdiff
path: root/pokemontools/vba
AgeCommit message (Collapse)Author
2013-09-22make skippable decorator not always save stateBryan Bishop
There are some runs where the "skippable" decorator should not save the state of the game before and after, like if the function is given different parameters and the after state should not be the canonical after state.
2013-09-22only heal if HP is low or move1 PP is lowBryan Bishop
2013-09-22better IsInBattle detection for level grindingBryan Bishop
2013-09-22fix some func calls in the auto level grinderBryan 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-22make SpeedRunner.setup use the right config refBryan 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 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-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-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.
2013-09-21fix up some import linesBryan Bishop
2013-09-09remove the Recording junkBryan Bishop
That should go into vba_wrapper if it turns out to be important.
2013-09-09vba_autoplayer.py -> autoplayer.pyBryan Bishop
2013-09-09strip out jython garbage from vba.pyBryan Bishop
2013-09-09fix keyboard.data path in keyboard.pyBryan Bishop
2013-09-09keyboard needs osBryan Bishop
2013-09-09remove some TODOsBryan Bishop
2013-09-09remove vba_config and just use pokemontools.configBryan Bishop
2013-09-09encoding -> coding in python headersBryan Bishop
2013-09-09remove jython shebangsBryan Bishop
2013-09-09move vba_keyboard.py -> keyboard.pyBryan Bishop
2013-09-09fix path in vba_keyboard.pyBryan Bishop
2013-09-08encoding -> coding in headerBryan Bishop
2013-09-08split keyboard graph data from the python fileBryan Bishop
The keyboard.data file has the information necessary to reconstruct the graph of the keyboard that appears in pokecrystal.
2013-09-08fix some imports in pokemontools/vba/vba.pyBryan Bishop
This file is meant to be run while under jython, so it's not completely fair to run it through python2.7 when testing. But whatever.