Preserve global variable index when disassembling with extra info
x87 opened this issue · 1 comments
x87 commented
{$CLEO .cs}
Alloc($Hidden_Greenwood_2,2771) // Duplicate always hidden Greenwood at the Jefferson Hotel
0ace: "Index %d" $Hidden_Greenwood_2
0A93: terminate_this_custom_script
compile with extra info, then decompile, then compile without extra info, then decompile
{$CLEO .cs}
print_help_formatted "Index %d" $4 <------ should be $2771
terminate_this_custom_script
x87 commented
if VAR section has a custom variable which is not in CustomVariables.ini add Alloc(name, index)