Commit Graph

265 Commits

Author SHA1 Message Date
Bryan Bishop
e64cd9cd9e work towards parsable trainer group headers
original-commit-id: a17ef09e100c5a570adbc7a55e84d69e55370af6
2012-05-18 21:31:14 -05:00
Bryan Bishop
ad4b930010 fixing up trainer names
original-commit-id: 9c9d6a22869f3a108c0d888d047d76e0d0b2889f
2012-05-18 20:33:15 -05:00
Bryan Bishop
d2111fe95f initial work on trainer name parsing
original-commit-id: 235b123666136ce582431efd746fb40ac9d833c6
2012-05-18 16:48:39 -05:00
Bryan Bishop
c89493fe80 generate helpful labels for maps
original-commit-id: 979b3767410248893bf0411706aca9e3a68196da
2012-05-17 00:40:40 -05:00
Bryan Bishop
6459f0195c use db instead of item_frag on ItemFragment remote chunks
original-commit-id: a049ef74f88a98a0925f5b918578608945445c8e
2012-05-16 21:16:28 -05:00
Bryan Bishop
97c5e9c136 don't repeat-parse movement scripts, and set bank=1 for $4000 <= x <= $7FFF
original-commit-id: ac19eb28262800ab26ffd466c4f47b407f893ba5
2012-05-16 18:33:24 -05:00
Bryan Bishop
9671a0daa9 handle dragon shrine recursion (but not others?)
original-commit-id: a53b5ae051d0d1d054da2ff0ee64247ea1663ee2
2012-05-16 15:22:39 -05:00
Bryan Bishop
69d502d6cf tool to help narrow down the problem in a bank
original-commit-id: 34c6b38da6026b3a877c68541d0d7bd0ec1373e9
2012-05-16 14:37:30 -05:00
Bryan Bishop
87e6810337 correct for two route 10 maps
original-commit-id: dc3fd295c0397fbbaafb13bc02524e86f67c67ac
2012-05-16 14:24:18 -05:00
Bryan Bishop
d0aaf36be9 fix preprocessor/givepoke for variable-number-of-parameter macros
original-commit-id: 079afeea4626d21a179f3c836e3f1d1c9a1f6d83
2012-05-16 12:44:55 -05:00
Bryan Bishop
30af3020f2 fix zzyyxx output for MoneyByteParam (checkmoney, takemoney)
original-commit-id: 2d763b53a6071b232794795c510363b280f45a89
2012-05-16 12:07:20 -05:00
Bryan Bishop
9ea58a8824 only recalculate a PointerLabelParam parsed_address if necessary
original-commit-id: 7244cb256ee7a7c2fd3b56061dc4541bd5245734
2012-05-15 22:15:08 -05:00
Bryan Bishop
6b8b380535 improve extras/README.md opening sentence
original-commit-id: 3afb9602ebce53fa14c7360a22fb8b6ae5e4f557
2012-05-14 10:42:43 -05:00
Bryan Bishop
f50df4df67 better asm output for SignpostRemoteItem
original-commit-id: bde4f489df7dd6039f880811d9b10bdaa02d3b06
2012-05-14 00:58:11 -05:00
Bryan Bishop
11442b84eb fix PointerLabelParams in signposts
original-commit-id: f43de05607d2e65bc20ea571b7ce5cfb61a300bd
2012-05-14 00:51:16 -05:00
Bryan Bishop
893efe957d fix movement param get_dependencies
original-commit-id: 984597d1aa34646166e8c79a1680c83bb6c70268
2012-05-13 22:48:35 -05:00
Bryan Bishop
2223ed1cfe remove some output that clutters up the preprocessor output
original-commit-id: 604843604603d8f76b2731d62c7e5a4edb986cff
2012-05-13 21:59:25 -05:00
Bryan Bishop
6bbf42ed48 better movement command/macro support
original-commit-id: e905f9f1f1b00c38f28b7d5034f52731e935f443
2012-05-13 21:53:48 -05:00
Bryan Bishop
effedab1d3 fix unknown MovementCommand parsing
original-commit-id: eaff513b474d01ffe52052a0fe9b7f9d6179b2e9
2012-05-13 21:32:28 -05:00
Bryan Bishop
8fffbe86b3 use deepcopy to create applymovement commands
original-commit-id: 251fb52d8ae9cc1b99389528dd27db7528aa8d8b
2012-05-13 18:53:11 -05:00
Bryan Bishop
933ecf3823 let create_movement_commands access a debug parameter
original-commit-id: b41da5fe1c6a5cfd6c01bdfd89b263c454e048a8
2012-05-12 14:15:42 -05:00
Bryan Bishop
bde9d3f21e slightly better applymovement parsing
original-commit-id: 1a8257995677828041f6150d63d70377e73236fe
2012-05-12 02:18:27 -05:00
Bryan Bishop
3d40673c9c apply_movement_command classes doesn't exist
original-commit-id: 3f5955b453e479f3594c04105092337bd191f84a
2012-05-12 00:59:15 -05:00
Bryan Bishop
4fc77cd823 quick tool for dumping a segment of ApplyMovementData objects into a bank
original-commit-id: feab0b56bc77e7788c93e5f16592470dcd8ded60
2012-05-11 16:30:12 -05:00
Bryan Bishop
ba334bbe17 set dependencies and get_dependencies on ApplyMovementData for asm dumping
original-commit-id: 4b1540623a9043bc7edc1c94a7663565e13d7bd9
2012-05-11 16:26:36 -05:00
Bryan Bishop
9e70ed5132 waitbutton in scripts is not the same as waitbutton in texts
original-commit-id: a548ffdd3576f04ab7b67c5c766b6dce68262d43
2012-05-11 15:09:26 -05:00
Bryan Bishop
25e4f54e5a never show a comma in front of a 7 on a newline
original-commit-id: e04a7aa37585162d366d2075b378946ca8484429
2012-05-11 14:50:53 -05:00
Bryan Bishop
7d420327f2 fix a TextScript/MainText bug where '@' on a newline had an extra comma/param to db
original-commit-id: 66b65c854b09545fa24973e41bc2fe250a4dd068
2012-05-11 14:29:19 -05:00
Bryan Bishop
3bbe68dbfa text_from_ram isn't limited to <$8000 like in the text at 0x549a3
original-commit-id: f305b27025562df97aa35e0f535a0b6892f4f101
2012-05-11 13:40:54 -05:00
Bryan Bishop
00bf81347b fix TextScript bug - to_asm should not modify self.size
original-commit-id: 55c174d3424cf314cfb0fc278de8b0d12e372329
2012-05-11 13:05:02 -05:00
Bryan Bishop
7076a4d6e5 insert_blah_with -> insert_with in extras/README.md
original-commit-id: e7913e7a904649a63961d9c63dee17e5c7ec79a4
2012-05-10 09:19:05 -05:00
Bryan Bishop
8bb4e10856 debugging to figure out the TextScript at 0x5daf1
original-commit-id: 7dd429fdf461082d04a518f3186d7b20d38c035b
2012-05-10 09:18:23 -05:00
Bryan Bishop
0c489f274f consolidate insert_multiple and insert_single on the Asm class
original-commit-id: 6ff6f93397f18f8764caa4e4de4a85c23942ef81
2012-05-08 18:34:27 -05:00
Bryan Bishop
1c4ab37b85 tool to dump texts from a particular bank into asm
original-commit-id: 03ce919b58a20fb65d658bd389beabb5c77fde93
2012-05-05 17:04:49 -05:00
Bryan Bishop
e290600cd6 fix $58 parsing in texts for the text at 0x192f34
original-commit-id: ec102bc62d5fae3135ad4fdf53103af922503fb2
2012-05-05 15:01:42 -05:00
Bryan Bishop
9434936f35 set TextInlineAsm to size=1 for now
original-commit-id: fa63fe8ab211035395690fd7cdcc5f901f082568
2012-05-05 02:46:46 -05:00
Bryan Bishop
e229ba5fa9 possible fix for movement scripts (many broken?)
original-commit-id: 47d1e412b9199d97c148abd8019b071c14039f2e
2012-05-05 02:29:41 -05:00
Bryan Bishop
b38bec53b3 temporary and horrible fix to applymovement scripts
original-commit-id: 0357e1e2f0846d9ccbf199d22de005e1b24fd13d
2012-05-05 02:15:47 -05:00
Bryan Bishop
36f6f40728 make a broken MovementCommand parser
original-commit-id: a9d376719882f7e6dcaa4ebb272ef47dfab40054
2012-05-05 02:01:01 -05:00
Bryan Bishop
5bae2ec3bb by default allow MovementCommand to handle <$45s
original-commit-id: d16a6debfff13f28547a18e305f5a6820bd9f2dd
2012-05-05 01:42:34 -05:00
Bryan Bishop
da26805d73 fix MovementCommand.to_asm return value for id>$45
original-commit-id: a9a1e084a1aeb8235e93351d2ed5dbac66461fe6
2012-05-05 01:40:28 -05:00
Bryan Bishop
939d6c24b0 starting ApplyMovementData and MovementCommand
original-commit-id: adf55937c0c7db80bdd202d6ae176b73fcc08205
2012-05-05 01:38:14 -05:00
Bryan Bishop
e87333f1e3 use a $50 macro to stop some text scripts
original-commit-id: 8a064dfb4538319e6e8f860e99700db298933dde
2012-05-04 23:03:03 -05:00
Bryan Bishop
7869d2d3ad fix the use of text_command_classes (not the same format as command_classes)
original-commit-id: 2489165312a0ee2cc45d2a03edbed7623f124b73
2012-05-04 22:03:52 -05:00
Bryan Bishop
c988390334 to_asm and some constructor changes
original-commit-id: 927d96621a543e4f27d570983259920db4625429
2012-05-04 21:50:24 -05:00
Bryan Bishop
bd0e552985 new TextScript.parse is almost exactly Script.parse
original-commit-id: 6ee0c38b3c4188c9edfce08f313abe257e74588f
2012-05-04 21:44:57 -05:00
Bryan Bishop
75dad32bc2 a better get_dependencies for NewTextScript
original-commit-id: 82d7043accd00c3b1260e3a23c2619e1fdb36ca5
2012-05-04 21:29:07 -05:00
Bryan Bishop
4852179683 use inspect to gather members for text_command_classes
original-commit-id: f5e5c110d1301745c4137e4c8c3fe66155a330d2
2012-05-04 21:05:59 -05:00
Bryan Bishop
837d10d9c0 add param_types to configure each text script command macro
original-commit-id: fde936ac463bce1c5e36dc33b4596ce676da6deb
2012-05-04 20:47:43 -05:00
Bryan Bishop
e69402f48a make sure the bytes don't run out with no ending byte in MainText
original-commit-id: 7d17027ffbc9a84cfb981bcadd76d5f2a052b7fa
2012-05-04 20:14:00 -05:00