i_liek2feesh
2013-03-16 05:34:43
So I have a world hopping procedure that works just fine, until I hit a break in the world numbers (306 to 309, 314 to 317, etc.)
Basically what will happen is it will hit 306 and the script will stop and ** Warning in SelectWorld: Invalid World ** shows up in the debug box. Anyone know how to get around this little problem. Thanks.
Edit: Forgot to mention I'm using the OSR worldswitcher https://raw.github.com/SRL/SRL-OSR/master/SRL/core/worldswitcher.simba
Procedure WorldHop;
var
CWorld:integer;
Begin
CWorld:= CurrentWorldLS;
If (FullWorld(CWorld+1)) then
begin
SelectWorld(CWorld+2)
end else
SelectWorld(CWorld+1);
End;Basically what will happen is it will hit 306 and the script will stop and ** Warning in SelectWorld: Invalid World ** shows up in the debug box. Anyone know how to get around this little problem. Thanks.
Edit: Forgot to mention I'm using the OSR worldswitcher https://raw.github.com/SRL/SRL-OSR/master/SRL/core/worldswitcher.simba