summaryrefslogtreecommitdiff
path: root/pokemontools
AgeCommit message (Collapse)Author
2013-10-12oops, made a mistake in get_enemy_hpBryan Bishop
2013-10-12write get_enemy_hp to calculate current hpBryan Bishop
2013-10-12Merge branch 'master' into vba-automationBryan Bishop
2013-09-30Merge pull request #42 from yenatch/script-commandsBryan Bishop
rename some event script commands
2013-10-01use 'wait' for events instead of move effectsyenatch
2013-09-30event script command 0xaa doesnt existyenatch
2013-09-30fix up the last few event scirpt commandsyenatch
2013-09-26if_greater_than and if_less_than commands were swappedyenatch
2013-09-26fix configuration typoBryan Bishop
2013-09-26fix crystal.py configurationBryan Bishop
Ugh, it's still a global?
2013-09-26Merge branch 'yenatch/map-editor' into masterBryan Bishop
Conflicts: pokemontools/crystal.py Fixes #40.
2013-09-26crystal.py: no more relative pathsyenatch
2013-09-26map_editor: create any pngs that don't exist yetyenatch
2013-09-26map_editor: skip any nonexistent tiles in map renderingyenatch
2013-09-26map_editor: more flexible macro handlingyenatch
makes less assumptions about the structure of a header
2013-09-26Revert "tabs to spaces (pep8)"Bryan Bishop
This reverts commit 9bea14db798eedcb262d17562a37b1f337fb67eb. Conflicts: pokemontools/map_editor.py
2013-09-26refactor a global constant to be set in __init__Bryan Bishop
2013-09-26put the tk loop into __main__Bryan Bishop
2013-09-26minor formatting fixBryan Bishop
2013-09-26tabs to spaces (pep8)Bryan Bishop
2013-09-26grind to a higher levelBryan Bishop
2013-09-26use config instead of configurationyenatch
this was kind of overzealous
2013-09-24rename bit1/bit2 script commands to event/flagyenatch
2013-09-24script commands wildon and wildoff got mixed upyenatch
this was a mistake in the original pksv spec and tauwasser's notes
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-21Merge branch 'master' into vba-automationBryan Bishop