adjust spawning

now it runs for a little tiny bit!
This commit is contained in:
Kistaro Windrider 2023-12-20 13:23:29 -08:00
parent bef95df6a1
commit ab687f8f6d
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1179,8 +1179,6 @@ end
-->8 -->8
-- example level -- example level
function spawn_blocking_rnd_x(typ) function spawn_blocking_rnd_x(typ)
freeze += 1 freeze += 1
s = typ.new{ s = typ.new{
@ -1199,7 +1197,7 @@ function spawn_blocking_rnd_x(typ)
end end
function spawn_frownie() function spawn_frownie()
return spawn_rnd_x(frownie) return spawn_rnd(frownie)
end end
function spawn_blocking_frownie() function spawn_blocking_frownie()
@ -1207,11 +1205,11 @@ function spawn_blocking_frownie()
end end
function spawn_blocky() function spawn_blocky()
spawn_rnd_x(blocky) spawn_rnd(blocky)
end end
function spawn_blocking_blocky() function spawn_blocking_blocky()
spawn_blocking_rnd_x(blocky) spawn_rnd(blocky, 1)
end end
function spawn_spewy() function spawn_spewy()
@ -1295,6 +1293,7 @@ end
-- blocking: 1 or 0 -- blocking: 1 or 0
function spawn_rnd(typ, blocking, goodie,altspr) function spawn_rnd(typ, blocking, goodie,altspr)
blocking = blocking or 0
freeze += blocking freeze += blocking
s = typ.new{ s = typ.new{
x = rnd(104), x = rnd(104),