Commit Graph

224 Commits

Author SHA1 Message Date
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
Bryan Bishop
a140713e38 handle $57 in MainText.to_asm
original-commit-id: 133bcb70498f53cef584016615156cbe5bb7b447
2012-05-04 20:13:35 -05:00
Bryan Bishop
854c3d7f50 not ever -> never
original-commit-id: 0721bd42e15d60af7c259da86f11effacc6aa636
2012-05-04 19:05:33 -05:00
Bryan Bishop
7e8f830289 add quotes to MainText.to_asm output
original-commit-id: 94ea6ef442ac19f246d353f8c47bf08a4819d6d1
2012-05-04 19:00:58 -05:00
Bryan Bishop
d52f180b4b adding non-byte-encoded characters into text to_asm output
original-commit-id: 9ff78a901a160eb227c21811986a3f0ab0f72f89
2012-05-04 17:37:08 -05:00
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