Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-14 | make get_text slightly more configurable | Bryan Bishop | |
Add params to the get_text() function to dump text tiles from screen. | |||
2013-11-13 | simplify the date/clock check in text_wait | Bryan Bishop | |
2013-11-13 | improve text_wait for in-battle situations | Bryan Bishop | |
2013-11-13 | fix a variable typo in wild prompt detector | Bryan Bishop | |
2013-11-13 | Merge branch 'master' into battle-handling | Bryan Bishop | |
2013-11-12 | add todo comment to givepoke | Bryan Bishop | |
2013-11-11 | minor function to set battle type | Bryan Bishop | |
This needs to be replaced with something that loads variable names from wram.asm instead of manually repeating everything in python. | |||
2013-11-11 | wild switch prompt detector | Bryan Bishop | |
2013-11-11 | prepare for a wild-based detector | Bryan Bishop | |
This one isn't implemented yet but might as well get the wrapper functions out of the way. | |||
2013-11-11 | rename the switch prompt detector | Bryan Bishop | |
2013-11-11 | update docstrings about the switch prompt | Bryan Bishop | |
2013-11-11 | function to check if it's the yes/no prompt | Bryan 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-11 | a quick function to set pokemon hp in battle | Bryan Bishop | |
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-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 | Merge branch 'master' into vba-automation | Bryan Bishop | |
Conflicts: pokemontools/vba/vba.py | |||
2013-11-09 | fix some configuration in vba/vba.py | Bryan Bishop | |
2013-11-09 | fix move() for lists of commands | 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-10-12 | move() can now take a list of movements to make | Bryan Bishop | |
2013-10-12 | another minor docstring | Bryan Bishop | |
2013-10-12 | even more docstrings | Bryan Bishop | |
2013-10-12 | oops, made a mistake in get_enemy_hp | Bryan Bishop | |
2013-10-12 | write get_enemy_hp to calculate current hp | Bryan Bishop | |
2013-09-22 | basic level-up stats screen detection | Bryan Bishop | |
2013-09-22 | pause a few frames before typing on a keyboard | Bryan 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-22 | weird, why was there no shutdown command? | Bryan Bishop | |
2013-09-22 | save_state_path is only on self.config | Bryan Bishop | |
2013-09-22 | implement a vba helper func for state loading | Bryan 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. |