SUB(ФОНТАН)
сброс()
на карту()
сброс()
$time = $_time_t + 10
WHILE($time > $_time_t)
WAITMS(500)
MOVE(266,280)
WAITMS(500)
LDOWN(266,280)
WAITMS(500)
m_move(266,66)
WAITMS(500)
LUP(266,66)
WAITMS(3000)
GETSCREEN
COLORMODE(6)
IF_PICTURE_IN (150,220, 330,410, "banner free wishes.bmp", -1, 60)
$time = 0
WAITMS(500)
LCLICK($_return1+2, $_return2+5)
WAITMS(500)
ELSE
print("Нет бесплатных желаний в фонтане")
END_IF
GETSCREEN
COLORMODE(6)
повтор сбора:
IF_PICTURE_IN (231,420, 354,515, "gold in the fountain.bmp", -1, 60)
WAITMS(2000)
сброс()
ELSE
GETSCREEN
COLORMODE(6)
IF_PICTURE_IN (355,193, 400,250, "fountain.bmp", -1, 60)
IF_PICTURE_IN (231,420, 354,515, "mithril in the fountain.bmp", -1, 60)
LCLICK($_return1+50, $_return2)
WAITMS(2500)
goto(повтор сбора)
ELSE
print("Не нашел картинку")
сброс()
WAITMS(500)
END_IF
END_IF
END_IF
END_CYC
END_SUB
Чуть подшаманил) Верно ?