summaryrefslogtreecommitdiff
path: root/pokemontools/vba/vba.py
AgeCommit message (Collapse)Author
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
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-22use self.registers in text_waitBryan 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-21move tests into test_vba.pyBryan Bishop
They didn't belong in pokemontools/vba/vba.py in the first place.
2013-09-21combine some vba testsBryan Bishop
2013-09-21fix a vba.py test (test_PlaceString)Bryan Bishop
2013-09-21switch vba.crystal to have instance methodsBryan Bishop
2013-09-21remove get_memory_rangeBryan Bishop
2013-09-21move call into vba.crystalBryan Bishop
2013-09-21move get_stack into vba.crystalBryan Bishop
2013-09-21pass vba and registers into get_stackBryan Bishop
2013-09-21pass vba and registers into call()Bryan Bishop
2013-09-21pass vba into get_memory_rangeBryan Bishop
2013-09-21fix some memory manipulation to use vba_wrapperBryan Bishop