Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-11 | detect the "mandatory switch" menuvba-automation | Bryan 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-11 | switch tests to use new battle starter | Bryan Bishop | |
2013-11-10 | bootstrap the battle tests with more mons | Bryan 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-10 | remove more dead code | Bryan Bishop | |
2013-11-10 | remove old functions | Bryan Bishop | |
2013-11-10 | remove a dead function | Bryan Bishop | |
2013-11-10 | start_trainer_battle spawns a battle | Bryan Bishop | |
2013-11-10 | simplify givepoke by using inject_script_into_rom | Bryan Bishop | |
2013-11-10 | write script to ROM and execute | Bryan Bishop | |
This handles all of the usual tasks that will be required for injecting and running custom scripts. | |||
2013-11-10 | make givepoke work (h/t padz) | Bryan Bishop | |
2013-11-10 | an attempt at givepoke | Bryan Bishop | |
2013-11-10 | function to start a battle by rocksmash | Bryan Bishop | |
01:04 < padz> u cunt | |||
2013-11-10 | method to lower enemy hp during battle | Bryan Bishop | |
2013-11-10 | implement call_script to call CallScript | Bryan Bishop | |
This is the entry point for calling in-game scripts. | |||
2013-11-10 | write inject_asm_into_rom | Bryan 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-10 | a working inject_asm implementation | Bryan Bishop | |
2013-11-10 | crude attempt at injecting asm into wram | Bryan Bishop | |
2013-11-10 | allow bank=0 in call() | Bryan Bishop | |
2013-11-10 | fix a few call() calls | Bryan Bishop | |
2013-11-10 | stop writing 0x4000 everywhere | Bryan Bishop | |
2013-11-10 | make call() calculate bank addresses | Bryan Bishop | |
2013-11-10 | broken attempt at calling givepoke | Bryan Bishop | |
2013-11-09 | make sure an attack works (new test) | Bryan Bishop | |
2013-11-09 | draw the menu in skip_until_input_required | Bryan 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-09 | write another quick battle test | Bryan Bishop | |
2013-11-09 | simplify the battle tests | Bryan Bishop | |
2013-11-09 | simplify the vba-related tests | Bryan 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-09 | Merge branch 'master' into vba-automation | Bryan Bishop | |
Conflicts: pokemontools/vba/vba.py | |||
2013-11-09 | Merge pull request #47 from kanzure/testing-fixups | Bryan Bishop | |
Testing fixups | |||
2013-11-09 | fix an import in tests.py | Bryan Bishop | |
2013-11-09 | fix some configuration in vba/vba.py | Bryan Bishop | |
2013-11-09 | fix a syntax error in battle.py | Bryan Bishop | |
2013-11-09 | Merge branch 'master' into vba-automation | Bryan Bishop | |
2013-11-09 | import Battle for testing | Bryan Bishop | |
2013-11-09 | Merge pull request #46 from kanzure/fix-old-parsers-test-imports | Bryan Bishop | |
Fix a few imports for testing an old func | |||
2013-11-09 | fix a few imports for testing an old func | Bryan Bishop | |
2013-11-09 | fix move() for lists of commands | Bryan Bishop | |
2013-11-09 | a basic battle test | Bryan Bishop | |
2013-11-09 | even more comments in the battle routines | Bryan Bishop | |
2013-11-09 | add a bunch of docstrings in the battler | Bryan Bishop | |
2013-11-03 | implement more parts of the battler | Bryan Bishop | |
2013-11-03 | attempting a few more trainer battles | Bryan Bishop | |
2013-11-02 | a broken attempt at starting random battles | Bryan Bishop | |
2013-11-02 | a naive implementation of start_trainer_battle | Bryan Bishop | |
This is a really dumb way to start a battle, but the other methods aren't working yet. | |||
2013-11-02 | attempt to start a trainer battle | Bryan Bishop | |
2013-11-02 | fix a call to vba.shutdown in bootstrap() | Bryan Bishop | |
2013-11-02 | autoplayer.bootstrap to call skip_intro | Bryan Bishop | |
There are situations other than just testing where making a bootstrapped game state is a useful ability. | |||
2013-11-02 | fix some hook calls in Battle.run | Bryan Bishop | |
2013-11-02 | simplify the number of battle-related classes | Bryan Bishop | |
2013-11-02 | a basic battle handling framework | Bryan Bishop | |