- script WoeTime -1,{
OnInit:
setarray .maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05","gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05","payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05","prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
for(.@i = 0; .@i < getarraysize(.maps$); .@i++){
setmapflag .maps$[.@i], mf_loadevent;
}
end;
OnPCLoadMapEvent:
getmapxy @map$,@x,@y,0;
dispbottom @map$ + " : " + @old$;
if(@map$ == @old$) end;
while(agitcheck() || agitcheck2()){
if(#TimeWoe > 100) end;
for(.@i = 0; .@i < getarraysize(.maps$); .@i++){
getmapxy @map$,@x,@y,0;
if(@map$ == .maps$[.@i]){
set @old$, @map$;
set #TimeWoe, #TimeWoe +1;
dispbottom "Your current points: " + #TimeWoe;
sleep2 10000;
break;
}
set @old$, @map$;
}
}
}