summaryrefslogtreecommitdiff
path: root/pokemontools/vba/vba.py
AgeCommit message (Collapse)Author
2016-08-24Fix most Python 3 compat issues with futurize --stage1Eevee (Lexy Munroe)
2013-11-14make get_text slightly more configurableBryan Bishop
Add params to the get_text() function to dump text tiles from screen.
2013-11-13simplify the date/clock check in text_waitBryan Bishop
2013-11-13improve text_wait for in-battle situationsBryan Bishop
2013-11-13fix a variable typo in wild prompt detectorBryan Bishop
2013-11-13Merge branch 'master' into battle-handlingBryan Bishop
2013-11-12add todo comment to givepokeBryan Bishop
2013-11-11minor function to set battle typeBryan Bishop
This needs to be replaced with something that loads variable names from wram.asm instead of manually repeating everything in python.
2013-11-11wild switch prompt detectorBryan Bishop
2013-11-11prepare for a wild-based detectorBryan Bishop
This one isn't implemented yet but might as well get the wrapper functions out of the way.
2013-11-11rename the switch prompt detectorBryan Bishop
2013-11-11update docstrings about the switch promptBryan Bishop
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-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-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 move() for lists of commandsBryan 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-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-12oops, made a mistake in get_enemy_hpBryan Bishop
2013-10-12write get_enemy_hp to calculate current hpBryan Bishop
2013-09-22basic level-up stats screen detectionBryan 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-22weird, why was there no shutdown command?Bryan Bishop
2013-09-22save_state_path is only on self.configBryan Bishop