Ah sweet success! the problem has been resolved (forgot to close my functions). anyhow in case you were curious here is the corrected code.
hide mouse
load bitmap "kirbyrender.jpg",1
`set current bitmap 1
`set current bitmap 0
do
copy bitmap 1,0
if controlkey() = 1 then cls
`set current bitmap 1
`if upkey() = 1 then fade()
`if downkey() = 1 then blur()
blur()
fade()
mirror()
flip()
if escapekey() = 1 then exit
loop
function mirror()
`performs a repeat loop that mirrors image over n over again - breaks with escape
repeat
mirror bitmap 0
wait 500
mirror bitmap 0
wait 500
until returnkey() = 1
endfunction
function flip()
`performs a repeat loop that flips image over n over again - breaks with escape
repeat
flip bitmap 0
wait 500
flip bitmap 0
wait 500
until returnkey() = 1
endfunction
function fade()
`performs a loop that fades image
while upkey() = 1
for x = 1 to 100
fade bitmap 0,x
wait 500
next x
endwhile
endfunction
function blur()
`performs loop that blurs image
while downkey() = 1
for x = 1 to 6
blur bitmap 0,x
wait 500
next x
endwhile
endfunction
`exit sequence
print "Press any key to exit!"
wait key
end
btw, the only thing fixed is that the program will compile. functions fade(), and blur() still dont work the way i thought they would, but i'll keep hacking away at it.