Hjælp til omskrivning af lingo
Hej alle.Hvordan omskriver jeg dette stykke lingo så det bliver lidt mere overskueligt.
property t
on beginSprite me
t=0
end beginSprite me
on exitFrame me
if t = 5 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 10 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 15 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 20 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 25 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 30 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 35 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 40 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 45 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 50 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 55 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 60 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 65 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 70 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 75 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 80 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 85 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 90 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 95 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 100 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 105 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 110 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 115 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 120 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 125 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 130 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 135 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 140 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 145 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 150 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 155 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 160 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 165 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 170 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 175 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 180 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 185 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 190 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 195 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
if t = 200 then
set the locV of sprite(2) to the locV of sprite(2) - 1
end if
t=t+1
end exitFrame me
alpapa
