[DECOHack] Global Labels for Filled State Sets #34
Labels
enhancement
Nice-to-haves and things that can actually help current behavior.
low priority
Rarer issues with workarounds, or nice-to-haves that are not-so-important.
The
state fill <INTEGER>
blocks can fill arbitrary states, but if you have a large range of freed states, it makes little sense to care about the index, especially if it may be filled by the time this clause is reached in code.Proposal:
The first index of the filled block will be assigned
<IDENTIFIER>
, which is checked for non-use. If not used yet, it is assigned and available to the rest of DECOHack from that point forward. Label references can now have a scope outside Things and Weapons.But how to refer to these later? Maybe take a page from Issue #31:
For example:
This will make the reference clear in Things and Weapons, to ensure label references do not get shadowed.
The text was updated successfully, but these errors were encountered: