function _init()
y=64
end
function _draw()
cls()
circ(26,y-4,4,8)
end
function _init()
y=64
dy=2
end
function _update()
dy-=.6
if(btnp(O)) dy=5
y-=dy
end
function _draw()
cls()
circ(26,y-4,4,8)
end
function _init()
y=64
dy=2
dx=2
pw=16
create_pipe()
end
function create_pipe()
x=128
p=50
bp=p+20
end
function _update()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,bp,x+pw,128,3)
end
function _init()
y=64
dy=2
dx=2
pw=16
create_pipe()
end
function create_pipe()
x=128
p=50
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,bp,x+pw,128,3)
end
function _init()
y=64
dy=2
dx=2
pw=16
create_pipe()
end
function create_pipe()
x=128
p=50
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
if x<=30 then
if y>=bp then
_init()
end
end
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,bp,x+pw,128,3)
end
function _init()
y=64
dy=2
dx=2
pw=16
create_pipe()
end
function create_pipe()
x=128
p=50
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
if x<=30 and x+pw>=22 then
if y>=bp then
_init()
end
end
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,bp,x+pw,128,3)
end
function _init()
y=64
dy=2
dx=2
pw=16
s=0
create_pipe()
end
function create_pipe()
x=128
p=50
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
if x<=30 and x+pw>=22 then
if y>=bp then
_init()
end
end
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,bp,x+pw,128,3)
?s,64,0,7
end
function _init()
y=64
dy=2
dx=2
pw=16
s=0
create_pipe()
end
function create_pipe()
x=128
p=50
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
if x<=30 and x+pw>=22 then
if y>=bp then
_init()
end
end
if(x+pw==22-2) s+=1
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,bp,x+pw,128,3)
?s,64,0,7
end
function _init()
y=64
dy=2
dx=2
pw=16
s=0
create_pipe()
end
function create_pipe()
x=128
p=50
tp=p-20
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
if x<=30 and x+pw>=22 then
if y>=bp or y-8<=tp then
_init()
end
end
if(x+pw==22-2) s+=1
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,tp,x+pw,-1,3)
rect(x,bp,x+pw,128,3)
?s,64,0,7
end
function _init()
y=64
dy=2
dx=2
pw=16
s=0
create_pipe()
end
function create_pipe()
x=128
p=20+flr(rnd(88))
tp=p-20
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
if x<=30 and x+pw>=22 then
if y>=bp or y-8<=tp then
_init()
end
end
if(x+pw==22-2) s+=1
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,tp,x+pw,-1,3)
rect(x,bp,x+pw,128,3)
?s,64,0,7
end
function _init()
y=64
dy=2
dx=2
pw=16
s=0
create_pipe()
end
function create_pipe()
x=128
p=20+flr(rnd(88))
tp=p-20
bp=p+20
end
function _update()
if(x<-pw) create_pipe()
dy-=.6
if(btnp(O)) dy=5
y-=dy
x-=dx
if x<=30 and x+pw>=22 then
if y>=bp or y-8<=tp then
_init()
end
end
if(x+pw==22-2) s+=1
end
function _draw()
cls()
circ(26,y-4,4,8)
rect(x,tp,x+pw,-1,3)
rect(x,bp,x+pw,128,3)
?s,64,0,7
end