UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

Incorrect decompilation in deltarune repainted

Open H-A-M-G-E-R opened this issue 2 years ago • 4 comments

Describe the bug

in lines 241 and 269 in gml_Object_obj_checkers_enemy_Step_0 in nudealert (deltarune repainted) 1.0.0 data.win, there's an oddity: 241: if (acting == true && actcon == 0) 269: if (acting == 2 && actcon == 0)

Reproducing steps

look at lines 241 and 269 in gml_Object_obj_checkers_enemy_Step_0 in nudealert (deltarune repainted) 1.0.0 data.win

Setup Details

undertalemodtool version v0.5.1.0

H-A-M-G-E-R avatar May 21 '23 20:05 H-A-M-G-E-R

P.S. i used CheckDecompiler.csx in nudealert's data.win and some of them are different an odd one is gml_Script_scr_armorget.asm

H-A-M-G-E-R avatar May 21 '23 20:05 H-A-M-G-E-R

I don't get it. What would be the weird thing here...?

Romualdo666 avatar May 22 '23 12:05 Romualdo666

@H-A-M-G-E-R please provide more info on what exactly is the oddity / what you expected instead.

Miepee avatar Jun 01 '24 11:06 Miepee

The problem here is that acting is being resolved as a boolean, when it's not. This will be fixed when the Underanalyzer decompiler is merged in.

colinator27 avatar Jul 01 '24 01:07 colinator27