// 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 init_test takes nothing returns nothing local integer a = 0 local integer b = 0 local integer c = 0 local integer d = 0 local integer 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 main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction