// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366 globals integer array test_statSubstat endglobals native testSuccess takes nothing returns nothing function getStat takes integer s returns integer if test_statSubstat[s] != -1 then call getStat(1) endif return 0 endfunction function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing call initGlobals() if getStat(0) == 0 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction