// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals integer test_x=0 endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing local integer y local integer r local integer temp call initGlobals() set test_x = 1 set temp = test_x set r = 2 set test_x = 4 set y = temp + r if y == 3 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction