Commit Graph

76 Commits

Author SHA1 Message Date
Bryan Bishop
e9f2d7df61 saner warp parsing
original-commit-id: 01a5c61d4d7b95bda02604bd4ac3827001d4eb82
2012-04-14 13:01:20 -05:00
Bryan Bishop
f9bf4be2e9 better signpost parsing
original-commit-id: e099019701cad461988501ac65d35b053d29b800
2012-04-14 12:23:53 -05:00
Bryan Bishop
3b2b59d99c start moving signpost into a class
original-commit-id: f70650a15836170921a549539b90942dff3a193d
2012-04-14 10:54:48 -05:00
Bryan Bishop
a6ad25bd39 0xcc probably ends the script
original-commit-id: 91df3747bf0b92a47ac38feba32fca1dd351834c
2012-04-09 00:38:55 -05:00
Bryan Bishop
a0ecd40277 fix size computation in GivePoke
original-commit-id: 63c161397dda62e09d91f107b97c8880b45e8aee
2012-04-08 23:47:28 -05:00
Bryan Bishop
894a2895f8 japanese text dumper and some more script changes
original-commit-id: a06abcf9f4fa2a734b67268c9233c0bd30243078
2012-04-08 23:05:19 -05:00
Bryan Bishop
3eb33917a4 all of these scripting changes are probably wrong
original-commit-id: 36212177742d6d653c50c6333ac768cb09bb9ca8
2012-04-08 21:15:50 -05:00
Bryan Bishop
312f78c65a don't forget the custom GivePoke commad class
original-commit-id: b276eeb832659dd851c55b15dd5504d3957d96c5
2012-04-08 16:38:34 -05:00
Bryan Bishop
a598b23ede oops forgot to create a command class for writevarcode
original-commit-id: 4c3c85d2308558608c8c0f3d1e987ae908fb6948
2012-04-08 16:25:52 -05:00
Bryan Bishop
50f273c6de fix pokemart command parsing for the script at 0x9cac7
original-commit-id: 51ef61e327fba778c41c1042ddd0883c7be12402
2012-04-08 16:20:34 -05:00
Bryan Bishop
2939eb997b winlosstext does not always point to a value
original-commit-id: 247469f740e97c161cbd5f36a72e69d3c496a659
2012-04-08 16:09:00 -05:00
Bryan Bishop
67a38c5296 a working version of compare_script_parsing_methods
original-commit-id: 403652525acaf94f5078aeda945630cebe5ff515
2012-04-08 15:52:36 -05:00
Bryan Bishop
8c27050a9f begin compare_script_parsing_methods
original-commit-id: 8e6466feb711769c277c60a50cd542c2820f0b8e
2012-04-08 15:41:52 -05:00
Bryan Bishop
0c9d19daa2 text and script parsing improvements
original-commit-id: e85e71b6a6f6815456c8ddab608077699a4ea43e
2012-04-08 14:46:37 -05:00
Bryan Bishop
a650a86726 get_label_for improvements (use script_parse_table if possible)
original-commit-id: d331a28c7a437d1f7d6fe12ded986edab0b0e566
2012-04-08 13:40:55 -05:00
Bryan Bishop
395d0db9a1 make parse_text_at use script_parse_table and make 2writetext parse target texts
original-commit-id: bd33188588f43b1f3ac71f62af7155af936c8fc1
2012-04-08 13:35:35 -05:00
Bryan Bishop
c2daf4e7c8 fix bit setting/checking/clearing commands (their parameters were wrong)
original-commit-id: dd0dfc821c95ec85235c2ec6349f6fe08ef0dc83
2012-04-08 13:14:31 -05:00
Bryan Bishop
b525b4289f pass force=True/False and debug=True/False to command parsing
original-commit-id: d7ff5e5cebfb8349ef6b2263c227eb603e27f012
2012-04-08 12:19:03 -05:00
Bryan Bishop
87e3bc1b3e fixes for parse_script_with_command_classes
original-commit-id: e80f480da9dab91046b876ad02a47e6a2903b374
2012-04-08 11:48:23 -05:00
Bryan Bishop
81a0d46c49 move rom_interval into RomStr.interval
original-commit-id: 768c4c360ffdf84a2f6993703221579261f6938f
2012-04-06 14:22:35 -05:00
C Nelson
84fc578838 Making generate_diff_insert python2.7 compatible.
original-commit-id: bd06a22fb874dcc2a51255670656afec6f5e21ea
2012-04-06 13:12:30 -05:00
C Nelson
015d676f5a Adding compatibility for newer versions of json.
original-commit-id: 1d17d3e8104606da398becc8430d02aba5eea06b
2012-04-06 12:38:22 -05:00
C Nelson
cf9d55b811 Adding a real check for unittest2 features.
original-commit-id: 8dc750b1e4c3882edb42f88c72a148275c9355b8
2012-04-06 12:11:40 -05:00
C Nelson
721751dd57 Adding an exception handler around the unittest import.
original-commit-id: 4de0c12b438cf99e90070e723508ce636278e063
2012-04-06 11:54:48 -05:00
Bryan Bishop
76aab69763 fix command parsing some more
original-commit-id: 7b3b1f11b2887a58c7fd1a91345f16e2924d4879
2012-04-03 15:28:25 -05:00
Bryan Bishop
0c83eb9a98 not sure why the scripts aren't working yet
original-commit-id: 21081a08e1976a13b77057820724c2318f3f116f
2012-04-03 00:59:16 -05:00
Bryan Bishop
eb5273f538 somewhat better command parsing
original-commit-id: 2c9c2424d86522777a17b591b83e98d98ea0d871
2012-04-02 22:34:02 -05:00
Bryan Bishop
4d8bc37019 map header tests for event addresses and people-event counts
original-commit-id: 0e8510e3c2ca44102d30f7c3acdbd4cfacc09834
2012-04-02 20:27:11 -05:00
Bryan Bishop
ed9cdf971a unit tests for checking post-map parsing (overall, not individual functions)
original-commit-id: 069a4fbff4071b3ccc1c5491b0c7a9499da652c7
2012-04-02 14:22:50 -05:00
Bryan Bishop
00391b746a fix bug in generate_map_constant_labels
original-commit-id: d23ab7500bcc81eb97b658a6ce2a28c8106644b4
2012-04-02 12:44:23 -05:00
Bryan Bishop
c91755d4c3 an explicit Label class
original-commit-id: 29a3fbf75b17c0af8b3d9a51c382561bd0a0f2c1
2012-04-02 12:36:08 -05:00
Bryan Bishop
f73f41d709 make tests pass the first time they are ran
original-commit-id: 1a3aebf191f7e99a497b64bd863928bbf72b88f7
2012-04-02 11:45:42 -05:00
Bryan Bishop
87b686feb1 more unit tests, again
original-commit-id: bd7453f70cb209bd0201d2e0bdcef9d85462dd77
2012-03-30 01:20:50 -05:00
Bryan Bishop
db42f0d164 more unit tests
original-commit-id: 29dae12c89a5ca57e6aa396e91616dc24ba0dc8b
2012-03-29 23:41:06 -05:00
Bryan Bishop
d61fa0d895 more command classes
original-commit-id: bcd9794cb5025bb594770a503e59c5b3c8577269
2012-03-27 02:01:04 -05:00
Bryan Bishop
0f7ab6bc0e committing unfinished code (forgive me)
original-commit-id: 2a22a91cbb639c2eeb2644e40234bcf8a18eca4b
2012-03-26 01:47:58 -05:00
Bryan Bishop
51a84cacac refactor script parsing into a Script class
original-commit-id: 651d8017342e9bbd9f491d8df4c84a84e86a3ee4
2012-03-25 13:53:21 -05:00
Bryan Bishop
2f12cf8030 test_parse_text_engine_script_at
original-commit-id: a4b19fe60ad2044ec1eb3f51e912782dd25adba9
2012-03-25 01:43:42 -05:00
Bryan Bishop
f63b961918 more testing and debug= keyword params
original-commit-id: 12fc29529a82b47db5d039c59f104fccdb6901f3
2012-03-25 01:09:46 -05:00
Bryan Bishop
4e9d09e21a more tests related to analyze_incbins
original-commit-id: 8df5bd88562bf987269d3bf01847757b7adb619e
2012-03-24 22:59:46 -05:00
Bryan Bishop
2c230b13b4 wonderful world of testing
original-commit-id: 33d8c7a11711258843ab5abd6944453e44897b9c
2012-03-24 21:34:19 -05:00
Bryan Bishop
0814c6ca15 lots of asm-related code and tests
original-commit-id: 3bd84c1dac0dc7085287bd6a7c822dfa2663cf71
2012-03-24 18:01:37 -05:00
Bryan Bishop
3bd4ab1d6a test_load_map_group_offsets and test_calculate_pointer
original-commit-id: f93de7b1bda5c4812dc178108019fbf8a8836dad
2012-03-24 15:05:32 -05:00
Bryan Bishop
4a4cbea33d new test: test_report_untested
original-commit-id: c11794250f3611232a8c0daf4401d1657e323f70
2012-03-24 14:31:33 -05:00
Bryan Bishop
01dcbb2019 more tests about tests
original-commit-id: 890c37bcad8647cd1c2b470faee2b32764566a2d
2012-03-24 14:22:59 -05:00
Bryan Bishop
56665b7b5c AsmList and more testing
original-commit-id: 98c1b528942b4ca7fa29c7ae31345add5ea3ff01
2012-03-24 13:22:28 -05:00
Bryan Bishop
95c850ab09 tests for IntervalMap
original-commit-id: 0f5749915090b2d4055b9973ad6fa0d82ca5f040
2012-03-24 05:00:45 -05:00
Bryan Bishop
4b3deb716c even more crazy unit tests
original-commit-id: 9c723af8ffae03e7edbe18e6c084655fb4820f80
2012-03-24 04:43:06 -05:00
Bryan Bishop
e5dd8460cd fix typo (burned tower 1f)
original-commit-id: 21b95d607705c7d88c0af2da548687c977bdf070
2012-03-24 03:54:46 -05:00
Bryan Bishop
5b62e60419 unit tests
original-commit-id: e57b8a7c00895e86f8024338439e1773f71b01b8
2012-03-24 03:54:28 -05:00