Closed Romualdo666 closed 7 months ago
This is because internally, they are numbers. The decompiler uses context clues and manual corrections to determine whether those numbers should be interpreted as something else. In this case, I don't think corrections have been added for the cutscene scripts yet.
Have the listed scripts been fixed? It seems like c_sprite has, at least.
c_specialsprite uses a custom index, not a resolvable asset value, and I don't see any c_instance functions. Of the remaining functions, only c_visible doesn't currently resolve (and a 0 or 1 doesn't exactly seem like top priority, but it should be easy to add).
Describe the bug
Basically the following scripts detect their arguments related to sounds and sprites as real number, therefore, on code you see them as numbers instead of their assets names. Some of the most important affected scripts are: c_sprite, c_soundplay, c_soundplay_x, c_visible, c_specialsprite, c_jump_sprite, c_instance-
Reproducing steps
open any code, utilize some of the scripts mentioned before, and for example, c_sprite(spr_krisd) will be displayed as c_sprite(661).
Setup Details
Latest Undertale mod tool bleeding edge version. Windows 11. Deltarune chapter 1 & 2 version 1.10