I'm brand new to coding in general and need help.
I'm trying to make it so that there is a 50/50 chance of getting a specific sprite to appear shortly after the game starts.
This is what I came up with, but it jus glitches and overlaps both sprites on top of eachother. Can someone let me know what I'm doing wrong?
if time()>8 then
end
if rnd(10)>5 then
cls()
map(0,0,0,0,16,12)
spr(017,px,py)
end
if rnd(10)<5 then
cls()
map(0,0,0,0,16,12)
spr(018,px,py)
end


