function S2I(str) return CallApi("S2I","i",str) end function I2S(int) return CallApi("I2S","s",int) end 存档增加("ITongGuanN",1) 存档保存("Scaidan01","1111111") 存档保存("Scaidan02","1111110") 存档保存("SPLRKEY01","1") 存档保存("maptest2020","1") 存档保存("prebook2023","1") 存档保存("pretest2024","1") --防守僵尸岛 --通关次数 tgcs={} tgcs[1]=整数读取("ITongGuanTN1") tgcs[2]=整数读取("ITongGuanTN2") tgcs[3]=整数读取("ITongGuanTN3") tgcs[4]=整数读取("ITongGuanTN4") tgcs[5]=整数读取("ITongGuanTN5") tgcs[6]=整数读取("ITongGuanTN6") tgcs[100]=tgcs[1]+tgcs[2]+tgcs[3]+tgcs[4]+tgcs[5]+tgcs[6] tgcs[101]=整数读取("ITongGuanN")+1 tgcssx={} tgcssx[1]=1 tgcssx[2]=5 tgcssx[3]=10 tgcssx[4]=20 tgcssx[5]=30 tgcssx[6]=50 tgcssx[7]=75 tgcssx[8]=100 tgcssx[9]=125 tgcssx[10]=150 tgcssx[11]=175 tgcssx[12]=200 tgcssx[13]=225 tgcssx[14]=250 tgcssx[15]=275 tgcssx[16]=300 tgcssx[17]=999 if(tgcs[101]>tgcs[100])then zs1=1 for b=1,17,1 do for a=1,6,1 do if((tgcs[a]