UndertaleModTool
UndertaleModTool copied to clipboard
Fix continue statements inside of switch statements which are inside of a loop
Here's an example:
while (a < b)
{
switch abc
{
case 123:
a = b
continue
}
}
The switch detector isn't able to handle this, because it expects the next block to be the end of the switch statement, which it clearly isn't. This can probably be detected easily.
Current Decompilation:
while (a < b)
{
switch abc
{
case 123:
a = b
break
default:
break
}
}