summaryrefslogtreecommitdiff
path: root/pokemontools/vba
AgeCommit message (Collapse)Author
2013-10-12another minor docstringBryan Bishop
2013-10-12even more docstringsBryan Bishop
2013-10-12improve some VBA-related docstringsBryan Bishop
2013-10-12call super __init__() in SpeedRunnerBryan Bishop
2013-10-12use get_enemy_hp instead of a custom checkBryan Bishop
2013-10-12oops, made a mistake in get_enemy_hpBryan Bishop
2013-10-12write get_enemy_hp to calculate current hpBryan Bishop
2013-09-26grind to a higher levelBryan Bishop
2013-09-22use explicit skips in vba autoplayerBryan Bishop
2013-09-22basic level-up stats screen detectionBryan Bishop
2013-09-22go heal if level reached the targetBryan Bishop
2013-09-22pause a few frames before typing on a keyboardBryan Bishop
For names that weren't starting with a capletter, the "select" button to switch to downcase was happening too soon. So add in a small delay to get the keyboard writing to work.
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