rem Horizon
rem This droid moves side to side while scanning.  Catch me if u can!

10  xvel = -80*(xpos>250) + 80*(xpos<=250)
    aim  = aim+17
    if scan(aim)<0 then shot=-scan(aim)
    repair:repair
    aim  = aim+17
    if scan(aim)<0 then shot=-scan(aim)
    repair:repair
    goto 10


