diff --git a/abad.lua b/abad.lua index 73a7e7a..dbb39c6 100644 --- a/abad.lua +++ b/abad.lua @@ -51,6 +51,9 @@ function abad_hurt(howmuch) abad.x=abad.safe.x abad.y=abad.safe.y abad.hurting=60 + abad.update=abad_state_normal + abad.bb.y=0 + abad.bb.h=16 abad.respawning=240 cls(3) end @@ -195,6 +198,7 @@ function abad_state_walking() elseif btn(KEY_DOWN) then abad.update=abad_state_crouch elseif btn(KEY_SPACE) and cacau.hab==-1 then + playsnd(audio_abad_shot) abad.update=abad_state_fire abad.wait=0 cacau.init(abad.hab,abad.x+8,abad.y+8,abad.flip)