summaryrefslogtreecommitdiff
path: root/pokemontools
AgeCommit message (Collapse)Author
2013-11-11handle wild yes/no prompt during battleBryan Bishop
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-11handle the yes/no prompt in the battle run loopBryan Bishop
2013-11-11add is_switch_prompt to the input poll 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-11version bump to: v1.6.0v1.6.0Bryan Bishop
2013-11-11Merge branch 'github/master' into masterBryan Bishop
2013-11-11version bump to: v1.5.0v1.5.0Bryan 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-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-09Merge branch 'master' into vba-automationBryan Bishop
2013-11-09Merge pull request #46 from kanzure/fix-old-parsers-test-importsBryan Bishop
Fix a few imports for testing an old func
2013-11-09fix a few imports for testing an old funcBryan 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-08cry_names: zfill(2)yenatch
2013-11-08audio: less ambiguous tuple unpackingyenatch
2013-11-08audio: sfx and cries are contiguousyenatch
songs for the most part are independent sfx/cry headers are grouped together and most sound data is shared
2013-11-07oops forgot the criesyenatch
2013-11-07fix spacing for pokered music command classesyenatch
2013-11-07add some extra music command classesyenatch
2013-11-07crystal: use rom.interval instead of rom_intervalyenatch
rom_interval got broken when globals got nuked it's probably a bad idea to keep the function around but it's supposed to work eventually
2013-11-07preprocessor: from_asm method and is_rgbasm_macro in command classesyenatch
enjoy this half-assed implementation