summaryrefslogtreecommitdiff
path: root/pokemontools/vba
AgeCommit message (Collapse)Author
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-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-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-09Merge branch 'master' into vba-automationBryan Bishop
Conflicts: pokemontools/vba/vba.py
2013-11-09fix some configuration in vba/vba.pyBryan Bishop
2013-11-09fix a syntax error in battle.pyBryan Bishop
2013-11-09fix move() for lists of commandsBryan Bishop
2013-11-09even more comments in the battle routinesBryan Bishop
2013-11-09add a bunch of docstrings in the battlerBryan Bishop
2013-11-03implement more parts of the battlerBryan Bishop
2013-11-03attempting a few more trainer battlesBryan Bishop
2013-11-02a broken attempt at starting random battlesBryan Bishop
2013-11-02a naive implementation of start_trainer_battleBryan Bishop
This is a really dumb way to start a battle, but the other methods aren't working yet.
2013-11-02attempt to start a trainer battleBryan Bishop
2013-11-02fix a call to vba.shutdown in bootstrap()Bryan Bishop
2013-11-02autoplayer.bootstrap to call skip_introBryan Bishop
There are situations other than just testing where making a bootstrapped game state is a useful ability.
2013-11-02fix some hook calls in Battle.runBryan Bishop
2013-11-02simplify the number of battle-related classesBryan Bishop
2013-11-02a basic battle handling frameworkBryan Bishop
2013-10-12move() can now take a list of movements to makeBryan Bishop
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.