Commit Graph

211 Commits

Author SHA1 Message Date
Bryan Bishop
0d4b34cb32 to_asm output for $50 and unknown bytes in texts
original-commit-id: 55e40b520ec498630398ad302085868df870cf49
2012-05-04 17:25:48 -05:00
Bryan Bishop
42a0e91d15 fix was_comma statement (gah)
original-commit-id: 2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901
2012-05-04 16:51:27 -05:00
Bryan Bishop
9522b694a7 improve MainText.to_asm output
original-commit-id: cb0bcb77b93eebd16be8ee188e1bfb3a6a8ac80b
2012-05-04 16:49:16 -05:00
Bryan Bishop
58282e9cd8 update some comments
original-commit-id: e867ed7469451912306f09786d79da021624ec5c
2012-05-04 14:39:31 -05:00
Bryan Bishop
7072918c98 fix another readme comment about labels
original-commit-id: 6518a20a1b845467fa567c521b037ba1ae2b97fd
2012-05-03 00:47:21 -05:00
Bryan Bishop
e92a37e5bb fix minor inaccuracy
original-commit-id: 343ccc909a50dbb8758f1ffa60f1646739b8e503
2012-05-03 00:12:47 -05:00
Bryan Bishop
fc6f086adf fix typo in readme
original-commit-id: f2b0779feb299eb13cfa895e52bd5be3f76c263c
2012-05-02 17:11:23 -05:00
Bryan Bishop
8ace5d13a7 fix language specifier
original-commit-id: ea379f3d9361ec93edceefabbe752cdd69f12e89
2012-05-02 13:59:12 -05:00
Bryan Bishop
2a54b57e6f slightly improved example
original-commit-id: 404dca19e15ccb63a8c8e22f7cb6fccc236e1b73
2012-05-02 13:57:56 -05:00
Bryan Bishop
53d61c5e49 nope.. more formatting
original-commit-id: b1d25e089d61f9005506f888ffc3cf98d6f91cf2
2012-05-02 13:56:40 -05:00
Bryan Bishop
32dae82b41 formatting?
original-commit-id: 220a9d8346a2fe873d346618da3eb0f068a44411
2012-05-02 13:55:59 -05:00
Bryan Bishop
662b3e35f3 investigating bytes in the ROM
original-commit-id: d1ddb5902883faac61f642847bb4e1a2995ae821
2012-05-02 13:55:29 -05:00
Bryan Bishop
e3d1faaf6f map_name -> map_id
original-commit-id: b871e6c54db65021115bab822826f50d675ab6b6
2012-05-02 13:47:36 -05:00
Bryan Bishop
7e2d5980ff get_dependencies does not return a list of labels nor strings
original-commit-id: 6ec59c81936deeb3b2595e3d9b243a3b5301ba59
2012-05-02 13:43:17 -05:00
Bryan Bishop
52f0dd7300 show the map event header in the readme
original-commit-id: f51cde725088984ac6f437112437274082f7cfeb
2012-05-02 13:40:16 -05:00
Bryan Bishop
e6a7beb013 figuring out where a script appears based on a known address
original-commit-id: 6973ec82ba5f7e6cc978a73c44887c416fbaa498
2012-05-02 13:37:11 -05:00
Bryan Bishop
8ae6d1089f investigating scripts from a known address
original-commit-id: faa73c5a4702dead1b40ffa492d1f45acb607b08
2012-05-02 13:28:11 -05:00
Bryan Bishop
b0b45fb899 extras/output.asm -> extras/output.txt
original-commit-id: 7d6626ee691067ee2c98c297fba88706fae35465
2012-05-02 01:41:24 -05:00
Bryan Bishop
6d5360aa60 clarify a sentence
original-commit-id: b6122070d921f381df61b4caf8e985c98361b75a
2012-05-02 01:40:23 -05:00
Bryan Bishop
78fb1059bb fix readme typo
original-commit-id: 0406a12fdfaaa860336ad2bffb2411357dcd0448
2012-05-02 01:39:01 -05:00
Bryan Bishop
36e44c52ea basic README to explain crystal.py
original-commit-id: 6fa7fbc357722bccbfe5d2756f1d4b6821b2e476
2012-05-02 01:38:19 -05:00
Bryan Bishop
226a499414 move the text command classes around
original-commit-id: 81208d51a078247fa0f83ee649932e1c9025e3e1
2012-05-01 11:25:05 -05:00
Bryan Bishop
e64f4eda58 basic TextCommand skeleton from yesterday
original-commit-id: 37e808b43a54046c1f56313261a8f9bacc6b7427
2012-04-30 02:21:43 -05:00
Bryan Bishop
a4b53ae3c4 begin to rewrite the text parser
original-commit-id: 9189b3f6e02296e5dac76641543db92f59e720cc
2012-04-29 15:15:48 -05:00
Bryan Bishop
af8ceefd76 clean up comments in Script.parse method
original-commit-id: 6eb1478f1b89eea93744ac67cd2d198d951ac9ca
2012-04-29 10:40:34 -05:00
Bryan Bishop
bcaf73c046 remove old comment
original-commit-id: a06cb374ef12552ffd2404eac561c5eb1810b324
2012-04-29 10:26:27 -05:00
Bryan Bishop
e2cfea3598 temporary fix to prevent TextScript from appending @s
original-commit-id: d4508d9beda76be00c79296e88129a5dcfd908d2
2012-04-28 11:08:05 -05:00
Bryan Bishop
e112ac9898 top-level dependency bug fix.. actual problem not solved ?
original-commit-id: ef56a46e8118d7532721516635b9fb2c8085d2ff
2012-04-28 01:34:20 -05:00
Bryan Bishop
7cdec46427 still having trouble with UnknownText_0x580c7 not in main.asm
original-commit-id: 94e486be8983dfea18cb97b767447e0c2a551877
2012-04-27 18:50:13 -05:00
Bryan Bishop
86cb81a9d5 TextPointerLabelParam sometimes doesn't point to anything useful
original-commit-id: 90cee9191e01720656819eef906fb5053108e606
2012-04-27 17:38:49 -05:00
Bryan Bishop
ed02842315 TextPointerLabelParam.get_dependencies() now returns the text pointer
original-commit-id: 6321bf121f0afc5a16a510e08c688bcb6bf5ab15
2012-04-27 17:35:06 -05:00
Bryan Bishop
4d06e74973 words/pointers should point within bank
original-commit-id: 94a6e1b0ccb531474e662a522940241a785b4739
2012-04-27 17:16:45 -05:00
Bryan Bishop
9160959451 fix MoneyByteParam formatting
original-commit-id: d9a2680c71f06bd4c9134b02b1aaaa0286c0567c
2012-04-27 16:48:25 -05:00
Bryan Bishop
368b3b843d possibly fix preprocessor/checkmoney issues
original-commit-id: 45c41795f517f420bc0b6cef4d061f767d90915c
2012-04-27 16:33:37 -05:00
Bryan Bishop
a309c6d9ac reverse byte output in RAMAddressParam.to_asm()
original-commit-id: 14a35baa3fdc794c3a4f037530554768926e6465
2012-04-27 16:04:16 -05:00
Bryan Bishop
d1c933696b redo item constants (some were missed?)
original-commit-id: 09a0e3aa85b22769a959e8c5b6abec38d2d770b2
2012-04-27 15:52:57 -05:00
Bryan Bishop
02ce32f563 add newlines to generate_item_constants output
original-commit-id: b0eee4c06b5d84161da04a4eb9cb05f53a8d3655
2012-04-27 15:47:51 -05:00
Bryan Bishop
22e7806635 fix RAMAddressParam.to_asm() (no [] characters)
original-commit-id: 9672e960ee6822fd4cb7488412635c85751a1c3d
2012-04-27 15:39:41 -05:00
Bryan Bishop
322442b3d6 fix label lookup
original-commit-id: d319aea119145ecb03cc28f5877c2d9393944965
2012-04-27 15:33:37 -05:00
Bryan Bishop
a7d0c22860 minor fixes for insert_single_with_dependencies
original-commit-id: 9ed1a474d08569654e1136836cf2ecea4d5c5ad0
2012-04-27 15:02:53 -05:00
Bryan Bishop
06463be369 prevent dependency loops in script at 0x18d0a9, 0x18d023 and 0x943ca
original-commit-id: a58aeae5cc5c2efeb321e4ac47edeadebaa04e94
2012-04-27 14:58:57 -05:00
Bryan Bishop
05e1ff323e better debugging for a max recursion depth error
original-commit-id: 9e92ebd40b6880ac41c639824aaa389592297dab
2012-04-27 13:58:02 -05:00
Bryan Bishop
41575878c1 pass 'recompute' parameter through get_dependencies() calls
original-commit-id: 7ed1bebc01b9c5e31713f5bc65dec45c66b2c31d
2012-04-27 13:46:57 -05:00
Bryan Bishop
29c48e02fd prevent dependencies from being recomputed
original-commit-id: 39a71c55c7dbfe2147f5ce4016c062be8a08ff1f
2012-04-27 13:41:44 -05:00
Bryan Bishop
c6ac50a633 faster get_dependencies on Script
original-commit-id: ce35b436ed2a8317bd02e931de03cb5ab356ded5
2012-04-27 13:29:41 -05:00
Bryan Bishop
f1aa58eabc checkmonkey -> checkmoney
original-commit-id: 34ff5fc4cecc782f909c86084b6b4a1fa71cbd43
2012-04-27 01:07:30 -05:00
Bryan Bishop
23117cb35a speed up asm insertion
original-commit-id: 1098757c4af82380ef0cadeaf7e37ad0186e76b6
2012-04-27 01:06:31 -05:00
Bryan Bishop
1682a95f57 Asm.insert_multiple_with_dependencies
original-commit-id: 226e964f1d2251b9fdab1fa54262ad81e6d39599
2012-04-27 00:59:05 -05:00
Bryan Bishop
847531c985 caught a self.label -> self.label.name
original-commit-id: bde9cb3b5731e82aa7b694c0005d12f053dc9e06
2012-04-26 18:45:53 -05:00
Bryan Bishop
9a2408a864 refactor all labels to be Label instances
original-commit-id: ddbfc016c1e3e1acd8ba291ccedfb16d3a3c48fb
2012-04-26 18:41:13 -05:00