Commit Graph

8 Commits

Author SHA1 Message Date
haven1433
f14b44eb5e decompiled scripts now have sections appearing in address order
instead of labeling sections based on what address calls them, label section based on what order they appear in memory.
2023-07-01 21:40:59 -05:00
haven1433
348e1e5b96 don't combine scripts if an anchor has multiple pointers 2023-06-26 23:08:27 -05:00
haven1433
cc383f59a3 allow decompiled scripts to use anchor names 2023-06-26 22:22:21 -05:00
haven1433
d072b42e57 Track multi-pointer commands correctly when using multiple <auto> 2023-06-21 20:26:21 -05:00
haven1433
224c9462ec improve <auto> and <section> logic
* don't allow streams to have <section> labels
* update the <auto> algorithm to allow stream pointers to be picked up in the middle of a script. This will get changed if the script is recompiled to put the streams at the end, but it allows longer scripts to be read no matter where the streams were placed.
2023-04-25 08:08:01 -05:00
haven1433
11db60e5d2 use number section headers rather than addresses as section headers
* better for experts because they can more easily parse a handful of section headers compared to random hex addresses
* Better for new users because it helps them learn that they can use whatever names they want for the headers of scripts and for pointers.
2023-03-21 19:59:01 -05:00
haven1433
2b8c35c1d5 <auto> improvements
if the last thing is a label, make sure to include an end command for it
if the last thing isn't an end command (or goto, etc) make sure to include an end command for it
2023-01-22 21:25:31 -06:00
haven1433
f74c1abd45 include unused labels at end of script 2023-01-22 20:20:16 -06:00