freeslot("S_PLAY_FANGLAFF") states[S_PLAY_FANGLAFF] = { sprite = SPR_PLAY, frame = SPR2_MLEL, tics = 70, nextstate = S_PLAY_STND } addHook("PlayerThink", function(player) if player.mo then if player.mo.skin == "fang" then if player.cmd.buttons & BT_CUSTOM1 and player.mo.state ~= S_PLAY_FANGLAFF then player.mo.state = S_PLAY_FANGLAFF end if player.mo.state == S_PLAY_FANGLAFF then player.powers[pw_nocontrol] = 1 player.mo.frame = FF_ANIMATE | (((70 - player.mo.tics)/5) % 2) end else if player.mo.state == S_PLAY_FANGLAFF then player.mo.state = S_PLAY_STND end end end end)