addHook("PlayerThink", function(player)
	if player.mo and player.playerstate == PST_LIVE and player.mo.skin == "fang" then
		
		if (player.cmd.buttons & BT_CUSTOM1) and not (player.mo.state == S_PLAY_BOUNCE) then
			if (player.mo.eflags & MFE_UNDERWATER) then
			P_SetObjectMomZ(player.mo,5*FRACUNIT)
			player.mo.state = S_PLAY_SPRING
			player.pflags = $|PF_JUMPED
			end
		end
		if player.mo.state == S_PLAY_BOUNCE then
		player.powers[pw_strong] = $|STR_SPRING
		end
	end
end)

