// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals integer foo_return_a=0 endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function foo takes boolean b returns integer if b then set foo_return_a = 2 return foo_return_a endif set foo_return_a = 3 return foo_return_a endfunction function init_test takes nothing returns nothing local integer tuple_temp = foo(true) local integer a_a = tuple_temp if a_a == 2 then call testSuccess() endif endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction