// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing local integer a local integer b local integer c local integer d local integer e call initGlobals() set a = 0 set b = 0 set c = 0 set d = 0 set e = 0 loop exitwhen not (c < 1000) set d = a + 2 set b = d - 1 if b < a then set c = c + b else set c = c - b endif set e = b * 4 set d = e + 1 set e = d - 1 set a = e / 2 if a >= 20 then exitwhen true endif endloop if c == -26 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction