//animation behaviors. all animation related tweaks go here
addHook("ThinkFrame", do
	for player in players.iterate
		if player.mo.skin == "xmas96tails" and player.mo.valid
			if player.mo.sprung == nil
			or (player.mo.eflags & MFE_JUSTHITFLOOR)
				player.mo.sprung = false
			end
			if (player.mo.eflags & MFE_SPRUNG)
				player.mo.sprung = true
			end

		//spring falling animation handler
			if (player.mo.skin == "xmas96tails" and player.mo.valid)
				if (player.mo.state == S_PLAY_FALL)
				and not (player.pflags & PF_JUMPED)
				and not (player.pflags & PF_THOKKED)
				and player.mo.sprung == true
					player.mo.state = S_PLAY_WALK
				end
			end
		end
	end
end)

//What if i write a whole story here?
//I don't care if no one looks at this, I'll have a reason to cancel this mod.
//'OMG FILESIZE TOO BEEG CANNOT CONTINUE MOD SORRY'
//Yeah this will probably happen someday.
//Let's start my big story!!
//Once upon a time, a little boi called Johnny Wallbank (get it? get it? pffhaha im so funny)
//Walks with his friend A.J. Freda (pfft!) in the forest.
//And what did they see?
//A PINETREE SONIC!!!!!!! enjoy your mod that's as big as your mom (pffffft!!!!)
//I might copy-paste this in the lua scripts.. this will be fun
