jump sfx
This commit is contained in:
parent
7f2242e057
commit
5bbf5c1768
|
@ -170,7 +170,10 @@ do -- Player
|
|||
self:goRight()
|
||||
else self:stop()
|
||||
end
|
||||
if btnp(4) and self.vy == 0 then self.vy = j end
|
||||
if btnp(4) and self.vy == 0 then
|
||||
sfx(2,54,15)
|
||||
self.vy = j
|
||||
end
|
||||
end
|
||||
|
||||
function Player:goLeft()
|
||||
|
@ -689,6 +692,7 @@ end
|
|||
-- <SFX>
|
||||
-- 000:0040004000a000a000f000f010f020f030f040f050f060f070f080f090f0a0f0b0f0c0f0d0f0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0400000000000
|
||||
-- 001:01f011f021f031f041f061f081f0a1f0c1f0d1f0e1f0f1f0f100010001001100110011002100310041005100610071008100a100c100d100e100f100577000000000
|
||||
-- 002:02000200020002101210122022303250428062a072d092f0b2f0d2f0e2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0f2f0415000000000
|
||||
-- </SFX>
|
||||
|
||||
-- <PALETTE>
|
||||
|
|
Loading…
Reference in a new issue