psound -- priority-aware channel-3-only sfx playback
This commit is contained in:
parent
8d24c6a0a9
commit
0597ee6860
@ -275,6 +275,13 @@ function font_special()
|
||||
poke(0x5f58, 0x81)
|
||||
end
|
||||
|
||||
-- play sound n on channel 3 iff
|
||||
-- 3 doesn't already have a
|
||||
-- greater index sound going
|
||||
function psound(n, off, len)
|
||||
if (stat(49) < n) sfx(n, 3, off, len)
|
||||
end
|
||||
|
||||
-->8
|
||||
-- text rendering
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user