Commit Graph

  • 6b5f469df8 read sprite images from rom Bryan Bishop 2013-11-24 19:28:56 -06:00
  • 1e2b7cc055 draw sprites on each map Bryan Bishop 2013-11-23 18:56:51 -06:00
  • de5d9bb156 sigh, use a global for caching parsed status Bryan Bishop 2013-11-23 03:40:29 -06:00
  • b7c36a0c07 attempt to improve performance by caching Bryan Bishop 2013-11-23 03:27:24 -06:00
  • a02dd03581 draw more than one map group Bryan Bishop 2013-11-23 02:33:03 -06:00
  • feef50505e generate images of maps Bryan Bishop 2013-11-23 02:11:07 -06:00
  • 0099da43b0 make a way to remember if parse_rom called Bryan Bishop 2013-11-23 01:16:14 -06:00
  • 6e1eb898b8 make parse_rom return map_names Bryan Bishop 2013-11-22 22:10:09 -06:00
  • 54f5fa07d8 fix log message with wrong variable in template Bryan Bishop 2013-11-22 22:02:02 -06:00
  • f77f2bd9b8 include pokecrystal gbhw.asm and hram.asm Bryan Bishop 2013-11-22 21:56:54 -06:00
  • 6292c574f6 parse wram labels in crystal.py Bryan Bishop 2013-11-22 21:56:24 -06:00
  • a38a86806b use default config in WRAMProcessor if available Bryan Bishop 2013-11-22 21:41:11 -06:00
  • bbebec611d fix call to item_label_by_id Bryan Bishop 2013-11-22 21:28:50 -06:00
  • 504d9cc896 fixup TextScript to store script_parse_table ref Bryan Bishop 2013-11-22 21:28:19 -06:00
  • 80588db61c fix typo in crystal.py Bryan Bishop 2013-11-22 21:16:50 -06:00
  • 7413d97cd8 rename main -> parse_rom Bryan Bishop 2013-11-22 21:12:30 -06:00
  • 8fe3f149d0 comment add_map_offsets_into_map_names Bryan Bishop 2013-11-22 21:10:58 -06:00
  • 8767c40b04 move the map offsets out of main() Bryan Bishop 2013-11-22 21:04:10 -06:00
  • 9d2a0c3b60 Merge branch 'master' into path-finding Bryan Bishop 2013-11-22 20:44:30 -06:00
  • 0efb540cd3 Merge branch 'master' into map-editor-stuff Bryan Bishop 2013-11-22 20:35:39 -06:00
  • 0cdd66e1b5 return constants after parsing Bryan Bishop 2013-11-19 22:27:50 -06:00
  • 46782bf6dc Merge pull request #56 from kanzure/map-editor-stuff Bryan Bishop 2013-11-18 22:26:54 -08:00
  • e673a9f7b2 Merge pull request #57 from yenatch/master Bryan Bishop 2013-11-18 18:13:47 -08:00
  • 3dac619f2d gfx: fix misuse of export_2bpp_to_png yenatch 2013-11-18 21:05:59 -05:00
  • dfc88b9ac0 Merge branch 'master' of github.com:kanzure/pokemon-reverse-engineering-tools yenatch 2013-11-18 21:03:31 -05:00
  • 9d01c85d3b gfx: make sure rectangular images are also divisible into 8x8 tiles yenatch 2013-11-18 20:19:18 -05:00
  • 7fa921eb65 gfx: direct png-to-1bpp yenatch 2013-11-18 17:57:07 -05:00
  • 125a58fb9a gfx: rewrite lz commands and comments yenatch 2013-11-18 17:41:55 -05:00
  • a91b349823 gfx: 1bpp-to-png yenatch 2013-11-18 05:08:38 -05:00
  • 2ffe762d17 gfx: rewrite lots yenatch 2013-11-17 18:23:49 -05:00
  • d3f19c0158 remove two unused methods from map_editor.py Bryan Bishop 2013-11-17 20:39:53 -06:00
  • fabc78f5db call it button_new instead of new Bryan Bishop 2013-11-17 20:35:44 -06:00
  • 185a29698e clean up more imports in map_editor.py Bryan Bishop 2013-11-17 19:51:04 -06:00
  • 8dcde9ae28 use pillow instead of PIL in requirements.txt Bryan Bishop 2013-11-17 19:44:49 -06:00
  • 444d1ecfc7 also import TclError into map_editor.py Bryan Bishop 2013-11-17 19:41:37 -06:00
  • 49072b9917 replace print with python logging Bryan Bishop 2013-11-17 19:41:21 -06:00
  • 712f4ce53b use explicit import of Tkinter components Bryan Bishop 2013-11-17 19:15:33 -06:00
  • 98d335438a fix up map_editor.py extra newlines Bryan Bishop 2013-11-17 19:11:54 -06:00
  • f414cf38f6 only set global constants for eval Bryan Bishop 2013-11-17 19:05:09 -06:00
  • 6920881598 factor out global configs in map_editor.py Bryan Bishop 2013-11-17 18:56:31 -06:00
  • 0dac29a91d change RomStr usage in gfx.py to use RomStr.load Bryan Bishop 2013-11-17 18:36:01 -06:00
  • 8ebf9b05b5 make ConfigException accessible Bryan Bishop 2013-11-17 18:34:57 -06:00
  • 76d47a68b3 get PIL from pypi to run map editor Bryan Bishop 2013-11-17 18:30:50 -06:00
  • 2d59e4d3e0 move import statements to top of map_editor.py Bryan Bishop 2013-11-17 17:39:02 -06:00
  • 9e3105e5c0 tabs to spaces in map_editor.py Bryan Bishop 2013-11-17 17:36:59 -06:00
  • 96088a6266 Merge branch 'master' into path-finding Bryan Bishop 2013-11-17 17:35:55 -06:00
  • 3acbf50237 refactor png-to-2bpp conversion yenatch 2013-11-17 15:11:13 -05:00
  • 45d2614aff gfx: 1bpp<->2bpp conversion yenatch 2013-11-14 17:05:13 -05:00
  • 3027746bd6 Merge pull request #55 from kanzure/fix-map-editor-import Bryan Bishop 2013-11-17 13:02:56 -08:00
  • 2ca1c4b59c fix configuration import line in map_editor.py Bryan Bishop 2013-11-17 15:01:26 -06:00
  • 7e9e9cf1e5 Merge branch 'master' into path-finding Bryan Bishop 2013-11-17 14:58:36 -06:00
  • f80e3a864a be sure to import romstr into gfx.py Bryan Bishop 2013-11-17 13:24:02 -06:00
  • 59fd9978d9 Merge pull request #54 from kanzure/fix-gfx-config Bryan Bishop 2013-11-17 11:22:27 -08:00
  • b65d8a7833 Merge pull request #53 from kanzure/fix-audio-syntax-error Bryan Bishop 2013-11-17 11:21:47 -08:00
  • 9f55db8803 make gfx.py not depend on crystal.py Bryan Bishop 2013-11-17 11:20:09 -06:00
  • 726d6f2134 fix configuration import in audio.py Bryan Bishop 2013-11-17 11:09:36 -06:00
  • af6b87ae49 fix syntax error in audio.py Bryan Bishop 2013-11-17 11:09:24 -06:00
  • fbbab0be69 groundwork for path planning implementation Bryan Bishop 2013-11-17 01:53:00 -06:00
  • 4a95f90360 Merge pull request #52 from kanzure/battle-handling Bryan Bishop 2013-11-14 18:19:52 -08:00
  • 1b9212a7e4 never learn a new move Bryan Bishop 2013-11-14 20:16:35 -06:00
  • b2785948d1 fast check for the "move to make room for" text Bryan Bishop 2013-11-14 20:04:22 -06:00
  • 3bf53fa87f detect the evolved screen text Bryan Bishop 2013-11-14 20:00:59 -06:00
  • 05faa7784a quick check for the evolved screen Bryan Bishop 2013-11-14 19:57:49 -06:00
  • 783a4916f3 Merge pull request #51 from yenatch/master Bryan Bishop 2013-11-14 11:22:31 -08:00
  • 038a9d8ec0 a quick method to detect the "is evolving" message Bryan Bishop 2013-11-14 01:44:40 -06:00
  • 1bbfb2869f a faster way to detect the stats screen in battles Bryan Bishop 2013-11-14 01:08:08 -06:00
  • dc0a7ac670 make get_text slightly more configurable Bryan Bishop 2013-11-14 00:43:52 -06:00
  • 106f45ac7a a really slow way to check for stats screen Bryan Bishop 2013-11-14 00:43:35 -06:00
  • d8ab944d43 simplify the date/clock check in text_wait Bryan Bishop 2013-11-13 23:07:44 -06:00
  • 811630a5dd a better in-battle check for text_wait Bryan Bishop 2013-11-13 23:07:26 -06:00
  • 367485303a improve text_wait for in-battle situations Bryan Bishop 2013-11-13 22:44:04 -06:00
  • dddc61e026 a really simple, broken battle strategy Bryan Bishop 2013-11-13 22:43:35 -06:00
  • 79bc508889 better "is input required" detector Bryan Bishop 2013-11-13 21:45:05 -06:00
  • 28393a5342 fix a variable typo in wild prompt detector Bryan Bishop 2013-11-13 21:44:21 -06:00
  • 257ddde525 press the "a" button (fix typo) Bryan Bishop 2013-11-13 21:02:34 -06:00
  • e8371152c9 self.vba -> self.emulator.vba Bryan Bishop 2013-11-13 19:52:40 -06:00
  • 84c106e118 battle move selection Bryan Bishop 2013-11-13 19:43:47 -06:00
  • 8be80027e8 Merge branch 'master' into battle-handling Bryan Bishop 2013-11-13 19:02:23 -06:00
  • f5ad14d634 audio: pass in a channel id to sound commands yenatch 2013-11-13 12:46:18 -05:00
  • 7c4f12dec9 audio: noise command yenatch 2013-11-13 12:45:28 -05:00
  • 4a002c193b Merge pull request #50 from kanzure/include-wram Bryan Bishop 2013-11-12 22:35:39 -08:00
  • e4067faa60 use the correct wram_labels variable in wram.py Bryan Bishop 2013-11-13 00:28:59 -06:00
  • 51b1f6e642 flip the wram labels dictionary Bryan Bishop 2013-11-13 00:24:15 -06:00
  • 2b23c09e57 include some constants for wram.asm Bryan Bishop 2013-11-13 00:09:05 -06:00
  • 9c56fcd97d make a simple join function in data/ Bryan Bishop 2013-11-12 23:42:24 -06:00
  • 4ca83d72bf store pokecrystal wram.asm in the repository Bryan Bishop 2013-11-12 21:36:31 -06:00
  • 7271993919 Merge pull request #49 from kanzure/givepoke-todo Bryan Bishop 2013-11-12 09:04:01 -08:00
  • 5355c3ce04 add todo comment to givepoke Bryan Bishop 2013-11-12 11:03:18 -06:00
  • b44e7b6dee incomplete simple battle strategy Bryan Bishop 2013-11-12 02:11:23 -06:00
  • d193e02a11 select a battle menu option Bryan Bishop 2013-11-12 02:11:09 -06:00
  • 4d5696251c make a class that shows off the handler methods Bryan Bishop 2013-11-11 23:22:09 -06:00
  • 5b35595c7a minor function to set battle type Bryan Bishop 2013-11-11 23:04:44 -06:00
  • fd5544f790 handle wild yes/no prompt during battle Bryan Bishop 2013-11-11 23:04:31 -06:00
  • 4087851f7c wild switch prompt detector Bryan Bishop 2013-11-11 22:39:37 -06:00
  • d6cf3454c4 prepare for a wild-based detector Bryan Bishop 2013-11-11 22:21:23 -06:00
  • 2ff3478bfd fix a typo in the switch prompt test Bryan Bishop 2013-11-11 21:57:08 -06:00
  • d9bb01f2c0 rename the switch prompt detector Bryan Bishop 2013-11-11 21:56:34 -06:00
  • 9f72be1a0f handle the yes/no prompt in the battle run loop Bryan Bishop 2013-11-11 21:54:06 -06:00
  • 993eaa3451 fix the is_switch_prompt test Bryan Bishop 2013-11-11 21:52:33 -06:00
  • cc4c248167 add is_switch_prompt to the input poll detector Bryan Bishop 2013-11-11 21:52:12 -06:00