summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-25Merge pull request #38 from kanzure/importable-map-editorBryan Bishop
Importable map editor
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-22additional words for the keyboard testingBryan Bishop
2013-09-22basic level-up stats screen detectionBryan Bishop
2013-09-22go heal if level reached the targetBryan Bishop
2013-09-22test keyboard typing functionsBryan Bishop
This tests 18 different names being typed on the keyboard. These are supposed to be typed using the shortest possible sequence of button presses to get to the right letter selection.
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-22basic keyboard writing testBryan Bishop
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-22a test for moving in circlesBryan Bishop
Well, it's more like a square.
2013-09-22remove vba.shutdown() from another testBryan Bishop
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