Commit Graph

  • 05e1ff323e better debugging for a max recursion depth error Bryan Bishop 2012-04-27 13:58:02 -05:00
  • 41575878c1 pass 'recompute' parameter through get_dependencies() calls Bryan Bishop 2012-04-27 13:46:57 -05:00
  • 29c48e02fd prevent dependencies from being recomputed Bryan Bishop 2012-04-27 13:41:44 -05:00
  • c6ac50a633 faster get_dependencies on Script Bryan Bishop 2012-04-27 13:29:41 -05:00
  • f1aa58eabc checkmonkey -> checkmoney Bryan Bishop 2012-04-27 01:07:30 -05:00
  • 23117cb35a speed up asm insertion Bryan Bishop 2012-04-27 01:06:31 -05:00
  • 1682a95f57 Asm.insert_multiple_with_dependencies Bryan Bishop 2012-04-27 00:59:05 -05:00
  • 847531c985 caught a self.label -> self.label.name Bryan Bishop 2012-04-26 18:45:53 -05:00
  • 9a2408a864 refactor all labels to be Label instances Bryan Bishop 2012-04-26 18:41:13 -05:00
  • 46ddc5995d refactoring some labels code Bryan Bishop 2012-04-26 18:04:20 -05:00
  • 40d2dc632d start to write the Label class and is_label_in_asm Bryan Bishop 2012-04-26 17:41:37 -05:00
  • 35cb2c4f8b rename textpre.py -> preprocessor.py Bryan Bishop 2012-04-26 16:58:20 -05:00
  • 53a9867201 make jumptextfaceplayer point to text Bryan Bishop 2012-04-26 16:50:52 -05:00
  • 38efef76a5 continue to fix off-by-one error in TextScript Bryan Bishop 2012-04-26 15:04:09 -05:00
  • 3e6944344d fix off-by-one error in TextScript Bryan Bishop 2012-04-26 14:59:24 -05:00
  • 8b46073c58 revert to dbw in MapScriptHeader.to_asm() Bryan Bishop 2012-04-26 14:46:46 -05:00
  • 16a55de2c8 revert '_' prefix to some macro_names Bryan Bishop 2012-04-26 14:37:09 -05:00
  • 28a40fac1e revert PeopleEvent to use better-looking asm output Bryan Bishop 2012-04-26 14:30:30 -05:00
  • 712b7a57ac add two filler bytes to MapEventHeader asm output Bryan Bishop 2012-04-26 14:26:16 -05:00
  • 98d72a999f gah forgot a file to let preprocessor import macros Bryan Bishop 2012-04-26 14:16:01 -05:00
  • ec5265e2e6 add map/group constants into constants.asm Bryan Bishop 2012-04-26 14:13:06 -05:00
  • 74292fa922 add DataByteWordMacro for the preprocessor Bryan Bishop 2012-04-26 14:00:55 -05:00
  • f6ec80e24e add param_types to Signpost Bryan Bishop 2012-04-26 13:55:55 -05:00
  • fa0b8571c6 change Signpost to extend Command and set byte_type in a few places Bryan Bishop 2012-04-26 13:13:24 -05:00
  • 084074fe8f return to using warp_def, signpost, person_event macros Bryan Bishop 2012-04-26 10:27:46 -05:00
  • 306e47f9de probably a bad idea - don't use macros inside event headers Bryan Bishop 2012-04-26 01:07:04 -05:00
  • 4742425068 don't delete tempt_opt_table in gbz80disasm Bryan Bishop 2012-04-26 00:32:38 -05:00
  • dc5ed571f0 simple lexer Bryan Bishop 2012-04-26 00:31:53 -05:00
  • d69fa4710e fix MapHeader size and TextScript asm output Bryan Bishop 2012-04-25 21:53:20 -05:00
  • 165304e369 fix dbw error in MapScriptHeader and add ending newline Bryan Bishop 2012-04-25 20:23:10 -05:00
  • d4f698e64d dump scripting macros into script_macros.asm Bryan Bishop 2012-04-25 20:02:40 -05:00
  • cb825e39a7 update last_address in MapScriptHeader to get asm output working again Bryan Bishop 2012-04-25 18:51:54 -05:00
  • 4096495b0f oops, make MapScriptHeader and others show up again Bryan Bishop 2012-04-25 18:18:14 -05:00
  • 9c696f260e better asm output newline logic Bryan Bishop 2012-04-25 16:11:38 -05:00
  • 3a6621642c fix bad placement of MapScriptHeader_0x70000 in asm Bryan Bishop 2012-04-25 14:05:51 -05:00
  • c1bf6e1c00 fix some parameter types Bryan Bishop 2012-04-22 20:49:00 -05:00
  • 6f486c6faa split up insertion and dumping in Asm Bryan Bishop 2012-04-22 20:33:42 -05:00
  • bd721559ef attempts to stop a recursion limit error Bryan Bishop 2012-04-22 15:48:47 -05:00
  • 3270d8a5f9 remove duplicate incbins in asm output Bryan Bishop 2012-04-22 15:13:32 -05:00
  • 9cffdb17f7 awful newline rules in asm output Bryan Bishop 2012-04-22 15:08:58 -05:00
  • 7c667e09c8 prevent scripts from appearing in MapScriptHeader.to_asm output Bryan Bishop 2012-04-22 14:04:27 -05:00
  • 34385f546b fix MapEventHeader asm formatting Bryan Bishop 2012-04-21 23:46:58 -05:00
  • 1e89af6fad remove duplicates from Asm output Bryan Bishop 2012-04-21 23:37:02 -05:00
  • dd3ec6742a hmm duplicate insertions Bryan Bishop 2012-04-21 18:59:58 -05:00
  • 4dfc10d46e TrainerFragments pointing to 0x26ef should be ignored Bryan Bishop 2012-04-21 18:24:54 -05:00
  • 8edfd8f6e2 insertion of asm dependencies Bryan Bishop 2012-04-21 18:09:03 -05:00
  • bfa0ed8d6e fix bug parsing INCBIN lines Bryan Bishop 2012-04-21 16:11:00 -05:00
  • f484df40ce probably right insertion routine for Asm Bryan Bishop 2012-04-21 16:06:22 -05:00
  • 1db4a451cc Incbin.split method similar to split_incbin_line_into_three Bryan Bishop 2012-04-21 12:38:12 -05:00
  • 61c429040f foundation for asm parsing Bryan Bishop 2012-04-21 11:33:23 -05:00
  • 55280b7f9e improve to_asm output (newlines) Bryan Bishop 2012-04-21 10:24:44 -05:00
  • 5f379579f1 fix some bugs in get_dependencies and to_asm Bryan Bishop 2012-04-21 03:15:56 -05:00
  • 126510e975 flatten a list of dependencies into one giant list Bryan Bishop 2012-04-21 02:43:19 -05:00
  • c8dd923e7e improve TrainerFragment.to_asm Bryan Bishop 2012-04-21 02:25:56 -05:00
  • 15a35a1a4a fix trainer label output Bryan Bishop 2012-04-21 02:16:12 -05:00
  • a04f88fbc0 better get_dependencies and MapEventHeader.to_asm Bryan Bishop 2012-04-20 22:19:01 -05:00
  • dc0085d375 starting dependencies work Bryan Bishop 2012-04-20 18:26:52 -05:00
  • 9b832c0012 improvements to global to_asm Bryan Bishop 2012-04-20 17:57:59 -05:00
  • 324e68af7c switch from "r" to "rb" when reading the ROM for Microsoft Windows users Bryan Bishop 2012-04-20 10:34:07 -05:00
  • 3bdade3a7f create maps directory if necessary Bryan Bishop 2012-04-19 22:16:33 -05:00
  • aaf40541b1 make unit tests work again Bryan Bishop 2012-04-18 23:20:28 -05:00
  • eecc30a3c9 add encoding to old_parse_scripts.py Bryan Bishop 2012-04-18 20:55:16 -05:00
  • f148191573 move Script.parse_old into its own file Bryan Bishop 2012-04-18 16:54:11 -05:00
  • 90de015636 spacing Bryan Bishop 2012-04-18 16:17:31 -05:00
  • 227a77ac3b Move some data back to avoid a circular import. C Nelson 2012-04-17 23:33:23 -05:00
  • 30598bd310 Fix an import. C Nelson 2012-04-17 23:32:56 -05:00
  • 127dd914a2 Move a bunch of constant data into separate files. C Nelson 2012-04-17 21:37:46 -05:00
  • 5ef14c29e5 Fixing whitespace for real this time. C Nelson 2012-04-17 20:22:28 -05:00
  • 224bb7f87a Revert "Fix whitespace." Discovered an overwritten incoming change. C Nelson 2012-04-17 20:16:42 -05:00
  • 9dcc07922d Fix whitespace. Add newlines around functions and classes, remove trailing whitespaces. C Nelson 2012-04-17 20:03:27 -05:00
  • 0ad2dfdf48 use $byte not 0xbyte Bryan Bishop 2012-04-17 19:24:18 -05:00
  • a1584535e7 to_asm adds a label and end text Bryan Bishop 2012-04-16 09:55:28 -05:00
  • 33b5f439ac better asm output for MapScriptHeader Bryan Bishop 2012-04-15 22:12:10 -05:00
  • d866246581 fix SecondMapHeader asm output Bryan Bishop 2012-04-15 21:47:12 -05:00
  • 2f4cfb0adf restrict what shows up in script_parse_table Bryan Bishop 2012-04-15 18:26:06 -05:00
  • 27c5e4c56f keep track of these headers in globals Bryan Bishop 2012-04-15 18:24:56 -05:00
  • 26e1e46945 fix MapScriptHeader parsing Bryan Bishop 2012-04-15 17:21:07 -05:00
  • 6ed474f6ae MapEventHeader address fix Bryan Bishop 2012-04-15 16:37:31 -05:00
  • aff3f45cfd SecondMapHeader looks ok Bryan Bishop 2012-04-15 14:49:24 -05:00
  • 3619373c4d MapHeader parsing looks correct Bryan Bishop 2012-04-15 14:39:13 -05:00
  • 70f42f1b10 add the old parsers back in for testing Bryan Bishop 2012-04-15 14:33:41 -05:00
  • cea041f2dd debugging statements Bryan Bishop 2012-04-15 12:26:46 -05:00
  • 4cd5daab72 more fixes (sort of) Bryan Bishop 2012-04-15 01:27:20 -05:00
  • a16d5fce34 corrections to almost make things run Bryan Bishop 2012-04-15 01:18:25 -05:00
  • 4ea9099169 MapHeader parsing and to_asm Bryan Bishop 2012-04-15 01:11:00 -05:00
  • c0187efdb7 better code for MapScriptHeader Bryan Bishop 2012-04-15 00:50:48 -05:00
  • 6ab6059684 code for MapBlockData Bryan Bishop 2012-04-15 00:06:47 -05:00
  • 13472328e1 to_asm on SecondMapHeader Bryan Bishop 2012-04-14 21:46:04 -05:00
  • 20cf5c1955 start on SecondMapHeader Bryan Bishop 2012-04-14 20:03:19 -05:00
  • 225290d8bf class for MapEventHeader Bryan Bishop 2012-04-14 18:23:55 -05:00
  • dd5144358a XYTrigger class Bryan Bishop 2012-04-14 17:58:15 -05:00
  • a9d32953a0 making things work Bryan Bishop 2012-04-14 15:48:26 -05:00
  • 39d843d9c4 PeopleEvent class code Bryan Bishop 2012-04-14 15:16:09 -05:00
  • 02e22e1795 skeleton for PeopleEvent class Bryan Bishop 2012-04-14 13:45:05 -05:00
  • e9f2d7df61 saner warp parsing Bryan Bishop 2012-04-14 13:01:20 -05:00
  • f9bf4be2e9 better signpost parsing Bryan Bishop 2012-04-14 12:23:53 -05:00
  • 3b2b59d99c start moving signpost into a class Bryan Bishop 2012-04-14 10:54:48 -05:00
  • a6ad25bd39 0xcc probably ends the script Bryan Bishop 2012-04-09 00:38:55 -05:00
  • a0ecd40277 fix size computation in GivePoke Bryan Bishop 2012-04-08 23:47:28 -05:00
  • 894a2895f8 japanese text dumper and some more script changes Bryan Bishop 2012-04-08 23:05:19 -05:00