Second-pass asset resolution
Description
This PR adds a second pass to asset resolution following high-level decompilation, which can identify and resolve switch cases past the first. Closes #1374.
Caveats
Limited testing has been performed. Improves asset resolution on 22 code entries of Undertale v1.08, but has slight errors on 2 others: incorrectly resolving obj_woshua.mycommand as a boolean due to a strange if mycommand check, and removing the accurate boolean resolution from selected2 in scr_namingscreen because the correct resolution was a happy accident of the way resolution was implemented. Speed has also not been tested.
Notes
N/A
Download the artifacts for this pull request here:
GUI:
- GUI-windows-latest-isBundled-false-isSingleFile-false
- GUI-windows-latest-isBundled-false-isSingleFile-true
CLI:
Closing now as it will be fixed by new decompiler and will thus not get merged