Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second-pass asset resolution #1689

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Jacky720
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

switch expression value type error.
1 participant