//Fucking win anim (where is the state bro...)
//Update, Rafael go fuck yourself bro
freeslot("S_PLAY_WIN", "SPR2_WINS")

states[S_PLAY_WIN] = {SPR_PLAY, SPR2_WINS, 3, nil, 0, 0, S_PLAY_WIN}

addHook("PlayerThink", function(player)
	if not (player.mo and player.mo.valid and player.mo.skin == "jbpedro") return end
	if player.exiting and player.mo.state == S_PLAY_STND
		if player.mo.state != S_PLAY_WIN
			player.mo.state = S_PLAY_WIN
		end
		player.mo.momx = 0 player.mo.momy = 0
	end
end)