Here is my adjusted version dan.
Simba Code:
function IsSpawned(): Boolean;
var
tpa:TPointArray;
ATPA:T2DPointArray;
i, x, y:integer;
Bounds:Tbox;
begin
if FindColorsTolerance(tpa, 714213, 595, 51, 700, 159, 37) then
begin
FilterPointsDist(TPA, 0, 63, 651, 125);
ATPA := ClusterTPAEx(TPA, 1, 1);
FilterTPAsBetween(ATPA, 40, 100000);
if Length(ATPA) < 1 then Exit;
for i := 0 to high(ATPA) do
begin
Bounds := GetTPABounds(ATPA[i]);
Bounds := [Bounds.X1-1, Bounds.Y1-1, Bounds.X2+1, Bounds.Y2+1];
if FindColorTolerance(x, y, 4149321, Bounds.X1, Bounds.Y1, Bounds.X2, Bounds.Y2, 20) and not FindColorTolerance(x, y, 5791587, Bounds.X1, Bounds.Y1, Bounds.X2, Bounds.Y2, 20) then
begin
MiddleTPA(ATPA[i]);
//writeln('zulrah is spawned');
exit(true);
end;
end;
result := false;
writeln('zulrah is not spawned');
end;
end;
Works pretty flawlessly for me, thanks for the setup!!