H-A-M-G-E-R
H-A-M-G-E-R
oops wrong screenshot 
in other words for my second feature request: decompiled code respects assembly code order
That means targeting a specific compiler for the decompiler
> in other words for my second feature request: decompiled code respects assembly code order this is the only one thing ghidra needs to improve code readability
how to debug the decompiler to fix the bug
the decompiler can easily be fooled by unreachable sections
there's unreachable assembly in gml_Object_obj_heart_Step_0 look at the line that says ":[27]" of the assembly
i don't know gml assembly very well..
in lines 36-55 of gml_Object_DEVICE_CHOICE_Step_0 it should decompile to this: while move { ccc = NAME[CURX, CURY] if (ccc == ">") CURX += 1 else if (ccc == "") CURX...
there are unnessessary elses and continues in gml_Object_obj_heart_Step_0 that change the compiled assembly that's the problem