bitmap = data/melee.png
palettes = [
	data/elf_normal_pal.png, 
	data/elf_cold_pal.png, data/elf_fire_pal.png, data/elf_lightning_pal.png, data/elf_misc_pal.png,
	data/elf_rare_1_pal.png, data/elf_rare_2_pal.png, data/elf_rare_3_pal.png, data/elf_rare_4_pal.png
]
width = 32
height = 32
center_offt_y = 12

ATTACK_FRAME_MS = [500, 500]

animations = [
	[
		StandDown,
		{
			frames = [1],
		},
	],
	[
		StandLeft,
		{
			frames = [2],
		},
	],
	[
		StandUp,
		{
			frames = [3],
		},
	],
	[
		StandRight,
		{
			frames = [4],
		},
	],
	[
		JumpDown,
		{
			frames = [1],
		},
	],
	[
		JumpLeft,
		{
			frames = [2],
		},
	],
	[
		JumpUp,
		{
			frames = [3],
		},
	],
	[
		JumpRight,
		{
			frames = [4],
		},
	],
	[
		FallDown,
		{
			frames = [1],
		},
	],
	[
		FallLeft,
		{
			frames = [2],
			frame_ms = [50],
		},
	],
	[
		FallUp,
		{
			frames = [3],
			frame_ms = [50],
		},
	],
	[
		FallRight,
		{
			frames = [4],
		},
	],
	[
		AttackDown,
		{
			frames = [5, 6],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		AttackLeft,
		{
			frames = [7, 8],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		AttackUp,
		{
			frames = [9, 10],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		AttackRight,
		{
			frames = [11, 12],
			frame_ms = $ATTACK_FRAME_MS,
			active_frame = 1
		},
	],
	[
		MoveDown,
		{
			frames = [13, 14, 15, 16],
			frame_ms = [50],
		},
	],
	[
		MoveLeft,
		{
			frames = [17, 18, 19, 20],
			frame_ms = [50],
		},

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