Commit Graph

  • 3496b81eb3 crystal.py: no more relative paths yenatch 2013-09-26 03:13:15 -04:00
  • 001b6bc850 map_editor: create any pngs that don't exist yet yenatch 2013-09-26 02:52:45 -04:00
  • 92eeee28dd map_editor: skip any nonexistent tiles in map rendering yenatch 2013-09-26 02:49:37 -04:00
  • 96574a08ee map_editor: more flexible macro handling yenatch 2013-09-26 02:26:09 -04:00
  • cff5ce9bc8 Revert "tabs to spaces (pep8)" Bryan Bishop 2013-09-26 01:24:13 -05:00
  • 907217fb90 Merge pull request #38 from kanzure/importable-map-editor Bryan Bishop 2013-09-25 23:17:28 -07:00
  • 9d1a68cce5 refactor a global constant to be set in __init__ Bryan Bishop 2013-09-26 01:09:50 -05:00
  • 3f28232f0d put the tk loop into __main__ Bryan Bishop 2013-09-26 01:06:19 -05:00
  • e4b2d2e4d2 minor formatting fix Bryan Bishop 2013-09-26 01:05:23 -05:00
  • 9bea14db79 tabs to spaces (pep8) Bryan Bishop 2013-09-26 01:04:51 -05:00
  • 27ea6f6527 grind to a higher level Bryan Bishop 2013-09-26 01:03:58 -05:00
  • 5f0bd7a2fe use config instead of configuration yenatch 2013-09-26 01:57:29 -04:00
  • 46f1a2e1c3 rename bit1/bit2 script commands to event/flag yenatch 2013-09-24 03:28:55 -04:00
  • 918adb82ba script commands wildon and wildoff got mixed up yenatch 2013-09-24 03:24:29 -04:00
  • 38ecfa8705 use explicit skips in vba autoplayer Bryan Bishop 2013-09-22 17:27:35 -05:00
  • 2268dd43b5 additional words for the keyboard testing Bryan Bishop 2013-09-22 17:27:21 -05:00
  • 3c4207d777 basic level-up stats screen detection Bryan Bishop 2013-09-22 17:26:56 -05:00
  • 0b7ed30a33 go heal if level reached the target Bryan Bishop 2013-09-22 12:42:02 -05:00
  • e048f192d9 test keyboard typing functions Bryan Bishop 2013-09-22 12:15:33 -05:00
  • 6e4c7d5a0f pause a few frames before typing on a keyboard Bryan Bishop 2013-09-22 12:14:49 -05:00
  • e3f6d91d06 basic keyboard writing test Bryan Bishop 2013-09-22 11:39:34 -05:00
  • 54579ad699 make skippable decorator not always save state Bryan Bishop 2013-09-22 11:38:35 -05:00
  • d0b0b9c5f2 only heal if HP is low or move1 PP is low Bryan Bishop 2013-09-22 11:12:38 -05:00
  • 6a1fc60771 better IsInBattle detection for level grinding Bryan Bishop 2013-09-22 10:55:44 -05:00
  • a4c418bc7a fix some func calls in the auto level grinder Bryan Bishop 2013-09-22 10:50:21 -05:00
  • c1fbb59696 a test for moving in circles Bryan Bishop 2013-09-22 10:21:09 -05:00
  • 13a1da5e84 remove vba.shutdown() from another test Bryan Bishop 2013-09-22 10:14:17 -05:00
  • 1d92396ca9 reduce some duplicated code inside some tests Bryan Bishop 2013-09-22 10:10:46 -05:00
  • 3151acd42c remove unnecessary emulator shutdown Bryan Bishop 2013-09-22 02:58:25 -05:00
  • 840e447557 change the walk test after Elm's Lab Bryan Bishop 2013-09-22 02:55:08 -05:00
  • 742bdf8c2f test that the Elm's Lab sequence works Bryan Bishop 2013-09-22 02:48:41 -05:00
  • 50997c8b38 get rid of a text_wait when talking to Elm Bryan Bishop 2013-09-22 02:48:26 -05:00
  • a04f6ceb4b fix cyndaquil selection in Elm's Lab Bryan Bishop 2013-09-22 02:46:40 -05:00
  • 7d3994ae75 test that the current map is correct Bryan Bishop 2013-09-22 02:33:02 -05:00
  • 57dc8c4fd0 add more defaults to setup_wram for testing Bryan Bishop 2013-09-22 02:27:57 -05:00
  • 3e0a674817 test the walk_into_new_bark_town vba method Bryan Bishop 2013-09-22 02:21:08 -05:00
  • 80cda61ec4 test autoplayer handle_mom Bryan Bishop 2013-09-22 02:17:02 -05:00
  • 912efe7fd0 make SpeedRunner.setup use the right config ref Bryan Bishop 2013-09-22 02:12:11 -05:00
  • ffad17245b remove old jython comments from the vba tests Bryan Bishop 2013-09-22 02:07:43 -05:00
  • f52f6148d7 combine some tests together Bryan Bishop 2013-09-22 02:06:38 -05:00
  • 5aa423ee62 make the vba tests pass Bryan Bishop 2013-09-22 01:55:26 -05:00
  • a3bab14b26 weird, why was there no shutdown command? Bryan Bishop 2013-09-22 01:28:06 -05:00
  • bf20b9982b save_state_path is only on self.config Bryan Bishop 2013-09-22 01:12:55 -05:00
  • 81504f3401 load_state was called on the wrong object Bryan Bishop 2013-09-22 01:11:53 -05:00
  • 7bfbadc568 implement a vba helper func for state loading Bryan Bishop 2013-09-22 01:10:46 -05:00
  • f83fc26b49 fix skippable decorator emulator state setter Bryan Bishop 2013-09-22 01:04:16 -05:00
  • 2614df2587 use the state property during test bootstrapping Bryan Bishop 2013-09-22 01:02:56 -05:00
  • 8e0a4f9229 use self.registers in text_wait Bryan Bishop 2013-09-22 01:01:03 -05:00
  • 6568c299fd fix how autoplayer calls hold/press on buttons Bryan Bishop 2013-09-22 00:59:19 -05:00
  • dc63d8d51d re-implement save_state Bryan Bishop 2013-09-22 00:49:44 -05:00
  • 6b56969ccf make vba.crystal accept config Bryan Bishop 2013-09-22 00:44:35 -05:00
  • c44ab9b556 make the skippable decorator use config Bryan Bishop 2013-09-22 00:28:43 -05:00
  • 713c4ceb77 fix the autoplayer bootstrapper for test_vba.py Bryan Bishop 2013-09-22 00:10:07 -05:00
  • d0c53213c4 make the vba autoplayer use the new methods Bryan Bishop 2013-09-21 23:54:55 -05:00
  • f0e75972a1 move tests into test_vba.py Bryan Bishop 2013-09-21 23:14:58 -05:00
  • 2a439694d6 combine some vba tests Bryan Bishop 2013-09-21 23:12:38 -05:00
  • e3a596e7d8 fix a vba.py test (test_PlaceString) Bryan Bishop 2013-09-21 22:12:37 -05:00
  • 8869210062 Merge branch 'master' into vba-automation Bryan Bishop 2013-09-21 21:59:44 -05:00
  • 82fb73edc3 version bump to: v1.4.1 v1.4.1 Bryan Bishop 2013-09-21 21:45:49 -05:00
  • 480593e472 also exclude .*.swp files Bryan Bishop 2013-09-21 21:39:51 -05:00
  • 0da95fe05f version bump to: v1.4.0 v1.4.0 Bryan Bishop 2013-09-21 21:37:07 -05:00
  • 4b69463fb2 Merge pull request #35 from kanzure/include-everything Bryan Bishop 2013-09-21 19:33:23 -07:00
  • 8caeec66b9 include all pokemontools/ files in installs Bryan Bishop 2013-09-21 21:32:29 -05:00
  • 7fdf53f162 switch vba.crystal to have instance methods Bryan Bishop 2013-09-21 21:24:38 -05:00
  • 8ca4bcf37e remove get_memory_range Bryan Bishop 2013-09-21 19:45:35 -05:00
  • b1c34e88d5 move call into vba.crystal Bryan Bishop 2013-09-21 19:41:41 -05:00
  • 2f9df7133f move get_stack into vba.crystal Bryan Bishop 2013-09-21 19:34:46 -05:00
  • fc3b2ded89 pass vba and registers into get_stack Bryan Bishop 2013-09-21 19:32:15 -05:00
  • 975eb02175 pass vba and registers into call() Bryan Bishop 2013-09-21 19:31:44 -05:00
  • 7f5151989b pass vba into get_memory_range Bryan Bishop 2013-09-21 19:29:52 -05:00
  • 55a436a144 fix some memory manipulation to use vba_wrapper Bryan Bishop 2013-09-21 16:07:51 -05:00
  • d29f193037 placeholder for get_memory_range Bryan Bishop 2013-09-21 16:02:10 -05:00
  • fecf601fd9 get_memory_at -> vba.read_memory_at Bryan Bishop 2013-09-21 15:57:24 -05:00
  • 645cce62c8 set_memory_at -> vba.write_memory_at Bryan Bishop 2013-09-21 15:55:37 -05:00
  • 48896b1456 replace one more step() with vba.step() Bryan Bishop 2013-09-21 15:53:34 -05:00
  • 115ce6781e use vba.step() instead of step() Bryan Bishop 2013-09-21 15:52:44 -05:00
  • ef1709a8be remove the custom press() implementation Bryan Bishop 2013-09-21 15:47:39 -05:00
  • 51ff03e952 fix up some import lines Bryan Bishop 2013-09-21 15:42:54 -05:00
  • 053520b003 Merge branch 'master' into vba-automation Bryan Bishop 2013-09-21 15:32:47 -05:00
  • 5f959fa7c8 Merge pull request #31 from yenatch/map-editor Bryan Bishop 2013-09-21 13:31:31 -07:00
  • 2374a9ce90 Merge pull request #33 from kanzure/dont-always-use-globals Bryan Bishop 2013-09-16 10:41:10 -07:00
  • b67e68c6a1 use try/except on globals.asm for preprocessing Bryan Bishop 2013-09-16 12:40:37 -05:00
  • 4b36a0c41a Merge pull request #32 from kanzure/fix-an-import Bryan Bishop 2013-09-16 10:37:39 -07:00
  • 427fbf4d04 fix how pointers are imported Bryan Bishop 2013-09-16 12:36:53 -05:00
  • 33c8e4147c map_editor: red: read tileset gfx filenames from source yenatch 2013-09-15 15:46:26 -04:00
  • bd3b608188 barely-working map editor yenatch 2013-09-14 17:10:59 -04:00
  • 6809c951ac Merge pull request #30 from kanzure/cleanup-again Bryan Bishop 2013-09-12 21:45:01 -07:00
  • 0a9ccaebbb Merge pull request #29 from kanzure/fix-json-gitignore Bryan Bishop 2013-09-12 21:40:30 -07:00
  • 9830c9dc0a Merge pull request #28 from kanzure/config-cleanup Bryan Bishop 2013-09-12 21:39:24 -07:00
  • b9955a5e40 deglobalize map_internal_ids Bryan Bishop 2013-09-12 23:33:14 -05:00
  • 03a94980d8 pass around all_movements (not a global) Bryan Bishop 2013-09-12 23:27:44 -05:00
  • 6d075ba08c run_main -> main Bryan Bishop 2013-09-12 23:00:15 -05:00
  • 30afb173f5 pretty_print_trainer_id_constants to trainers.py Bryan Bishop 2013-09-12 22:57:45 -05:00
  • 10360d114f one preprocessor macro needs trainer_group_maximum Bryan Bishop 2013-09-12 22:51:24 -05:00
  • 97da7b7922 knock out some trainer group globals Bryan Bishop 2013-09-12 22:50:04 -05:00
  • 325a1d63de convert all_map_headers from a global Bryan Bishop 2013-09-12 22:36:47 -05:00
  • b3bbd5f9cb don't use the old header parsing method Bryan Bishop 2013-09-12 22:29:56 -05:00
  • 0c1e9095d8 remove globals from some map group parsers Bryan Bishop 2013-09-12 22:27:33 -05:00
  • c6f0f7f5c9 move old parsers from 'crystal' into crystalparts/ Bryan Bishop 2013-09-12 01:37:30 -05:00
  • 463cd6197f move find_labels_without_addresses into labels.py Bryan Bishop 2013-09-12 01:15:45 -05:00