bitmap = data/player.png
palettes = [data/player_pal.png, data/player_pal2.png]
width = 32
height = 32
center_offt_y = 14

ATTACK_FRAME_MS = [200, 200, 200]

animations = [
	[
		StandDown,
		{
			frames = [1],
		},
	],
	[
		StandLeft,
		{
			frames = [2],
		},
	],
	[
		StandUp,
		{
			frames = [3],
		},
	],
	[
		StandRight,
		{
			frames = [4],
		},
	],
	[
		JumpDown,
		{
			frames = [34, 35],
			frame_ms = [50],
		},
	],
	[
		JumpLeft,
		{
			frames = [36, 37],
			frame_ms = [50],
		},
	],
	[
		JumpUp,
		{
			frames = [38, 39],
			frame_ms = [50],
		},
	],
	[
		JumpRight,
		{
			frames = [40, 41],
			frame_ms = [50],
		},
	],
	[
		FallDown,
		{
			frames = [42, 43],
			frame_ms = [50],
		},
	],
	[
		FallLeft,
		{
			frames = [44, 45],
			frame_ms = [50],
		},
	],
	[
		FallUp,
		{
			frames = [46, 47],
			frame_ms = [50],
		},
	],
	[
		FallRight,
		{
			frames = [48, 49],
			frame_ms = [50],
		},
	],
	[
		AttackDown,
		{
			frames = [1, 5, 5],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		AttackLeft,
		{
			frames = [2, 6, 6],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		AttackUp,
		{
			frames = [3, 7, 7],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		AttackRight,
		{
			frames = [4, 8, 8],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		MoveDown,
		{
			frames = [9, 10, 11, 12, 13, 14],
			frame_ms = [50],
		},
	],
	[
		MoveLeft,
		{
			frames = [15, 16, 17, 18, 19, 20],
			frame_ms = [50],
		},

	],
	[
		MoveUp,
		{
			frames = [21, 22, 23, 24, 25, 26],
			frame_ms = [50],
		},
	],
	[
		MoveRight,
		{
			frames = [27, 28, 29, 30, 31, 32],
			frame_ms = [50],
		},
	],
	[
		Dead,
		{
			frames = [33],
		},
	],
]
