summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-11function to check if it's the yes/no promptBryan Bishop
This is the prompt that appears during battles for whether or not to switch pokemon when the other trainer is sending something else out.
2013-11-11a quick function to set pokemon hp in battleBryan Bishop
2013-11-11Merge pull request #48 from kanzure/various-readme-updatesBryan Bishop
README: update introduction to pokemontools
2013-11-11README: update introduction to pokemontoolsBryan Bishop
The previous version of the README was leftover from when all of the source code was just files inside of extras/ in the pokecrystal repo.
2013-11-11version bump to: v1.6.0v1.6.0Bryan Bishop
2013-11-11Merge branch 'github/master' into masterBryan Bishop
2013-11-11version bump to: v1.5.0v1.5.0Bryan Bishop
2013-11-11Merge pull request #39 from kanzure/vba-automationBryan Bishop
More VBA automation
2013-11-11detect the "mandatory switch" menuvba-automationBryan Bishop
This requires a slightly slower text_wait function. There is probably a way to refactor that function in a way that doesn't cause cancer.
2013-11-11switch tests to use new battle starterBryan Bishop
2013-11-10bootstrap the battle tests with more monsBryan Bishop
Use the givepoke function to add a few more pokemon to the team before starting the battle-related tests. There are some features of the battle handling code that require more than one pokemon to be present in the party.
2013-11-10remove more dead codeBryan Bishop
2013-11-10remove old functionsBryan Bishop
2013-11-10remove a dead functionBryan Bishop
2013-11-10start_trainer_battle spawns a battleBryan Bishop
2013-11-10simplify givepoke by using inject_script_into_romBryan Bishop
2013-11-10write script to ROM and executeBryan Bishop
This handles all of the usual tasks that will be required for injecting and running custom scripts.
2013-11-10make givepoke work (h/t padz)Bryan Bishop
2013-11-10an attempt at givepokeBryan Bishop
2013-11-10function to start a battle by rocksmashBryan Bishop
01:04 < padz> u cunt
2013-11-10method to lower enemy hp during battleBryan Bishop
2013-11-10implement call_script to call CallScriptBryan Bishop
This is the entry point for calling in-game scripts.
2013-11-10write inject_asm_into_romBryan Bishop
This method injects asm straight into the ROM loaded in the emulator. It does not overwrite the ROM on the file system. This method is much slower than the wram version because it involves copying memory multiples and copying the entire ROM into python and then sending it back to the emulator.
2013-11-10a working inject_asm implementationBryan Bishop
2013-11-10crude attempt at injecting asm into wramBryan Bishop
2013-11-10allow bank=0 in call()Bryan Bishop
2013-11-10fix a few call() callsBryan Bishop
2013-11-10stop writing 0x4000 everywhereBryan Bishop
2013-11-10make call() calculate bank addressesBryan Bishop
2013-11-10broken attempt at calling givepokeBryan Bishop
2013-11-09make sure an attack works (new test)Bryan Bishop
2013-11-09draw the menu in skip_until_input_requiredBryan Bishop
Step forward 10 frames so that the menu actually draws. Otherwise the user will probably be confused about the actual state of the battle.
2013-11-09write another quick battle testBryan Bishop
2013-11-09simplify the battle testsBryan Bishop
2013-11-09simplify the vba-related testsBryan Bishop
The imports for the emulator-related tests are now simplified in the tests/ folder. The bootstrapping.py file contains some shared functions that multiple test files might choose to use. Those functions probably belong in the actual module instead of in tests/. The battle-related tests have been separated from the other emulator tests.
2013-11-09Merge branch 'master' into vba-automationBryan Bishop
Conflicts: pokemontools/vba/vba.py
2013-11-09Merge pull request #47 from kanzure/testing-fixupsBryan Bishop
Testing fixups
2013-11-09fix an import in tests.pyBryan Bishop
2013-11-09fix some configuration in vba/vba.pyBryan Bishop
2013-11-09fix a syntax error in battle.pyBryan Bishop
2013-11-09Merge branch 'master' into vba-automationBryan Bishop
2013-11-09import Battle for testingBryan Bishop
2013-11-09Merge pull request #46 from kanzure/fix-old-parsers-test-importsBryan Bishop
Fix a few imports for testing an old func
2013-11-09fix a few imports for testing an old funcBryan Bishop
2013-11-09fix move() for lists of commandsBryan Bishop
2013-11-09a basic battle testBryan Bishop
2013-11-09even more comments in the battle routinesBryan Bishop
2013-11-09add a bunch of docstrings in the battlerBryan Bishop
2013-11-08cry_names: zfill(2)yenatch
2013-11-08audio: less ambiguous tuple unpackingyenatch