initial commit

This commit is contained in:
Bartek Dobrowolski-Nowakowski
2022-04-11 12:44:39 +02:00
parent ec68b3688e
commit e0a219a727
41 changed files with 19489 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
GoTo EndCheckTyresDef
CheckTyresOverheating:
tc := BitGrab(tyreX, tyreY, box_size)
for i, c in tc
{
td := Distance(c, color_tyre_overheat)
if (td < tolerance ){
tyres_overheating := true
break
}
}
return
RetryRace:
Gosub, PauseLoop
Sleep 500
tyres_overheating := false
controller.Buttons.Options.SetState(true)
Sleep 200
controller.Buttons.Options.SetState(false)
Sleep, 500
controller.Dpad.SetState("Right")
Sleep, 200
controller.Dpad.SetState("None")
Goto, AFKLoop
return
EndCheckTyresDef: