Code: Select all
-- PSPRR v0.1
-- MADE BY MAFIA1FT
shoot0 = Image.load("PICS/shoot0.png")
shoot1 = Image.load("PICS/shoot1.png")
shoot2 = Image.load("PICS/shoot2.png")
shoot3 = Image.load("PICS/shoot3.png")
shoot4 = Image.load("PICS/shoot4.png")
shoot5 = Image.load("PICS/shoot5.png")
shoot6 = Image.load("PICS/shoot6.png")
green = Color.new(0,255,0
variable = 14
while (variable <= 14) do
screen:clear()
variable = variable + 1
pad = Controls.read()
screen:blit(0, 0, shoot0)
if (variable==1) then
screen:blit(0, 0, shoot0)
end
if (variable==2) then
screen:blit(0, 0, shoot1)
end
if (variable==3) then
screen:blit(0, 0, shoot2)
end
if (variable==4) then
screen:blit(0, 0, shoot3)
end
if (variable==5) then
screen:blit(0, 0, shoot4)
end
if (variable==6) then
screen:blit(0, 0, shoot5)
end
if (variable==7) then
screen:blit(0, 0, shoot6)
end
if (variable==8) then
screen:blit(0, 0, shoot1)
end
if (variable==9) then
screen:blit(0, 0, shoot2)
end
if (variable==10) then
screen:blit(0, 0, shoot3)
end
if (variable==11) then
screen:blit(0, 0, shoot4)
end
if (variable==12) then
screen:blit(0, 0, shoot5)
end
if (variable==13) then
screen:blit(0, 0, shoot6)
end
if (variable==14) then
dofile("fire.lua")
end
if pad:start() then
break
end
screen.waitVblankStart(10)
screen.flip()
end