Commit Graph

949 Commits

Author SHA1 Message Date
Bryan Bishop
211da4dcb3 attempt to start a trainer battle 2013-11-02 14:41:48 -05:00
Bryan Bishop
185856adb4 fix a call to vba.shutdown in bootstrap() 2013-11-02 14:01:01 -05:00
Bryan Bishop
1f185185ca autoplayer.bootstrap to call skip_intro
There are situations other than just testing where making a bootstrapped
game state is a useful ability.
2013-11-02 14:00:04 -05:00
Bryan Bishop
016d0b8864 fix some hook calls in Battle.run 2013-11-02 13:54:35 -05:00
Bryan Bishop
9eb78d9c5a simplify the number of battle-related classes 2013-11-02 00:14:37 -05:00
Bryan Bishop
0283856044 a basic battle handling framework 2013-11-02 00:05:57 -05:00
Bryan Bishop
dafb5518df Merge pull request #44 from dannye/master
Red Music Tools
2013-11-01 07:48:48 -07:00
U-Fish-PC\Daniel
71204998ed Update red music tools 2013-11-01 10:25:40 -04:00
U-Fish-PC\Daniel
ed174d2432 Update redmusicdisasm and redsfxdisasm 2013-10-22 02:24:37 -04:00
U-Fish-PC\Daniel
c57e0f0706 Add pokered music tools 2013-10-13 10:50:09 -04:00
U-Fish-PC\Daniel
1b56d95aa0 Add pokered music commands 2013-10-13 10:49:07 -04:00
Bryan Bishop
5fdd27030e move() can now take a list of movements to make 2013-10-12 16:41:50 -05:00
Bryan Bishop
e13cdeab11 another minor docstring 2013-10-12 16:33:52 -05:00
Bryan Bishop
49c51e03d0 even more docstrings 2013-10-12 16:31:05 -05:00
Bryan Bishop
819d16726e improve some VBA-related docstrings 2013-10-12 16:29:03 -05:00
Bryan Bishop
2328b2bd3a call super __init__() in SpeedRunner 2013-10-12 16:25:39 -05:00
Bryan Bishop
80fe5be906 use get_enemy_hp instead of a custom check 2013-10-12 16:22:53 -05:00
Bryan Bishop
de5a585e5e oops, made a mistake in get_enemy_hp 2013-10-12 16:18:52 -05:00
Bryan Bishop
c2d13dab14 write get_enemy_hp to calculate current hp 2013-10-12 16:17:57 -05:00
Bryan Bishop
87c9bef30d Merge branch 'master' into vba-automation 2013-10-12 16:09:12 -05:00
Bryan Bishop
1089cf99d0 Merge pull request #42 from yenatch/script-commands
rename some event script commands
2013-09-30 21:43:28 -07:00
yenatch
bcb3295dbd use 'wait' for events instead of move effects 2013-10-01 00:36:39 -04:00
yenatch
a0397cad28 event script command 0xaa doesnt exist 2013-09-30 22:40:21 -04:00
yenatch
7268b91c23 fix up the last few event scirpt commands 2013-09-30 22:40:14 -04:00
yenatch
f4b04ff8e9 if_greater_than and if_less_than commands were swapped 2013-09-26 18:22:27 -04:00
Bryan Bishop
f3fb1f24ea Merge pull request #41 from kanzure/fix-crystal-config
Fix crystal.py configuration
2013-09-26 15:19:20 -07:00
Bryan Bishop
f7b6808797 fix configuration typo 2013-09-26 17:18:46 -05:00
Bryan Bishop
97fdec37ec fix crystal.py configuration
Ugh, it's still a global?
2013-09-26 17:17:18 -05:00
Bryan Bishop
c02c65fe74 Merge branch 'yenatch/map-editor' into master
Conflicts:
	pokemontools/crystal.py

Fixes #40.
2013-09-26 10:46:04 -05:00
yenatch
3496b81eb3 crystal.py: no more relative paths 2013-09-26 03:13:15 -04:00
yenatch
001b6bc850 map_editor: create any pngs that don't exist yet 2013-09-26 02:52:45 -04:00
yenatch
92eeee28dd map_editor: skip any nonexistent tiles in map rendering 2013-09-26 02:49:37 -04:00
yenatch
96574a08ee map_editor: more flexible macro handling
makes less assumptions about the structure of a header
2013-09-26 02:27:01 -04:00
Bryan Bishop
cff5ce9bc8 Revert "tabs to spaces (pep8)"
This reverts commit 9bea14db79.

Conflicts:
	pokemontools/map_editor.py
2013-09-26 01:24:13 -05:00
Bryan Bishop
907217fb90 Merge pull request #38 from kanzure/importable-map-editor
Importable map editor
2013-09-25 23:17:28 -07:00
Bryan Bishop
9d1a68cce5 refactor a global constant to be set in __init__ 2013-09-26 01:09:50 -05:00
Bryan Bishop
3f28232f0d put the tk loop into __main__ 2013-09-26 01:06:19 -05:00
Bryan Bishop
e4b2d2e4d2 minor formatting fix 2013-09-26 01:05:23 -05:00
Bryan Bishop
9bea14db79 tabs to spaces (pep8) 2013-09-26 01:04:51 -05:00
Bryan Bishop
27ea6f6527 grind to a higher level 2013-09-26 01:03:58 -05:00
yenatch
5f0bd7a2fe use config instead of configuration
this was kind of overzealous
2013-09-26 01:57:29 -04:00
yenatch
46f1a2e1c3 rename bit1/bit2 script commands to event/flag 2013-09-24 03:28:55 -04:00
yenatch
918adb82ba script commands wildon and wildoff got mixed up
this was a mistake in the original pksv spec and tauwasser's notes
2013-09-24 03:24:29 -04:00
Bryan Bishop
38ecfa8705 use explicit skips in vba autoplayer 2013-09-22 17:27:35 -05:00
Bryan Bishop
2268dd43b5 additional words for the keyboard testing 2013-09-22 17:27:21 -05:00
Bryan Bishop
3c4207d777 basic level-up stats screen detection 2013-09-22 17:26:56 -05:00
Bryan Bishop
0b7ed30a33 go heal if level reached the target 2013-09-22 12:42:02 -05:00
Bryan Bishop
e048f192d9 test keyboard typing functions
This tests 18 different names being typed on the keyboard. These are
supposed to be typed using the shortest possible sequence of button
presses to get to the right letter selection.
2013-09-22 12:15:33 -05:00
Bryan Bishop
6e4c7d5a0f pause a few frames before typing on a keyboard
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 12:14:49 -05:00
Bryan Bishop
e3f6d91d06 basic keyboard writing test 2013-09-22 11:39:34 -05:00