UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

Wrong decompilation - infinite loop

Open Archie-osu opened this issue 3 years ago • 2 comments

gml_Object_obj_spamton_neo_enemy_Step_2 : line 47

The decompiler completely fails and decompiles nonsense like

var _temp_local_var_5 = 6
if (6 <= 0)
{
}

not to mention this code will cause an infinite loop when compiled, and will softlock the game.

image

Archie-osu avatar Oct 17 '21 16:10 Archie-osu

That should decompile as repeat (6). It has trouble with repeat loops.

Grossley avatar Oct 17 '21 16:10 Grossley

Has this been fixed with Jacky's commits?

Miepee avatar Jun 12 '22 17:06 Miepee

Yes.

Jacky720 avatar Feb 19 '24 22:02 Jacky720