// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals integer test_z=0 endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function sideEffect takes nothing returns boolean set test_z = test_z + 1 return true endfunction function init_test takes nothing returns nothing set test_z = 0 if test_z == 1 and sideEffect() then else call testSuccess() endif endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction