--[[----------------------------------------------------------------------------
This file is part of Friday Night Funkin' Rewritten

Copyright (C) 2021  HTV04

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
------------------------------------------------------------------------------]]

return graphics.newSprite(
	love.graphics.newImage(graphics.imagePath("week6/spirit")),
	-- Automatically generated from spirit.txt
	{
		{x = 0, y = 1028, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 1: idle spirit_0
		{x = 0, y = 1157, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 2: idle spirit_1
		{x = 1542, y = 0, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 3: idle spirit_2
		{x = 643, y = 900, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 4: idle spirit_3
		{x = 387, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 5: idle spirit_4
		{x = 772, y = 771, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 6: idle spirit_5
		{x = 129, y = 1415, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 7: idle spirit_6
		{x = 258, y = 1286, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 8: idle spirit_7
		{x = 0, y = 1544, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 9: idle spirit_8
		{x = 387, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 10: idle spirit_9
		{x = 129, y = 1028, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 11: idle spirit_10
		{x = 514, y = 771, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 12: idle spirit_11
		{x = 129, y = 1157, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 13: idle spirit_12
		{x = 258, y = 1028, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 14: idle spirit_13
		{x = 0, y = 1286, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 15: idle spirit_14
		{x = 514, y = 900, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 16: idle spirit_15
		{x = 643, y = 771, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 17: idle spirit_16
		{x = 0, y = 1415, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 18: idle spirit_17
		{x = 129, y = 1286, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 19: idle spirit_18
		{x = 258, y = 1157, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 20: idle spirit_19
		{x = 0, y = 0, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 21: spirit down_0
		{x = 257, y = 0, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 22: spirit down_1
		{x = 771, y = 514, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 23: spirit down_2
		{x = 1028, y = 257, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 24: spirit down_3
		{x = 1285, y = 0, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 25: spirit down_4
		{x = 1285, y = 257, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 26: spirit down_5
		{x = 1028, y = 514, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 27: spirit down_6
		{x = 1285, y = 514, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 28: spirit down_7
		{x = 0, y = 771, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 29: spirit down_8
		{x = 257, y = 771, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 30: spirit down_9
		{x = 514, y = 0, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 31: spirit down_10
		{x = 0, y = 257, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 32: spirit down_11
		{x = 257, y = 257, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 33: spirit down_12
		{x = 0, y = 514, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 34: spirit down_13
		{x = 257, y = 514, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 35: spirit down_14
		{x = 514, y = 257, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 36: spirit down_15
		{x = 514, y = 514, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 37: spirit down_16
		{x = 771, y = 0, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 38: spirit down_17
		{x = 771, y = 257, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 39: spirit down_18
		{x = 1028, y = 0, width = 256, height = 256, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 40: spirit down_19
		-- Rearranged left frames because they were out of order
		{x = 516, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 41: left_0
		{x = 1542, y = 129, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 42: left_1
		{x = 258, y = 1544, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 43: left_2
		{x = 516, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 44: left_3
		{x = 387, y = 1416, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 45: left_4
		{x = 645, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 46: left_5
		{x = 774, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 47: left_6
		{x = 1542, y = 387, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 48: left_7
		{x = 1030, y = 900, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 49: left_8
		{x = 1159, y = 771, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 50: left_9
		{x = 772, y = 900, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 51: left_10
		{x = 901, y = 771, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 52: left_11
		{x = 258, y = 1415, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 53: left_12
		{x = 129, y = 1544, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 54: left_13
		{x = 387, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 55: left_14
		{x = 645, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 56: left_15
		{x = 516, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 57: left_16
		{x = 1542, y = 258, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 58: left_17
		{x = 1030, y = 771, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 59: left_18
		{x = 901, y = 900, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 60: left_19
		{x = 903, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 61: right_0
		{x = 774, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 62: right_1
		{x = 1032, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 63: right_2
		{x = 1542, y = 645, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 64: right_3
		{x = 1288, y = 900, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 65: right_4
		{x = 774, y = 1416, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 66: right_5
		{x = 1032, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 67: right_6
		{x = 903, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 68: right_7
		{x = 1161, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 69: right_8
		{x = 645, y = 1545, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 70: right_9
		{x = 516, y = 1416, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 71: right_10
		{x = 387, y = 1545, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 72: right_11
		{x = 645, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 73: right_12
		{x = 1542, y = 516, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 74: right_13
		{x = 1288, y = 771, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 75: right_14
		{x = 1159, y = 900, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 76: right_15
		{x = 645, y = 1416, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 77: right_16
		{x = 516, y = 1545, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 78: right_17
		{x = 774, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 79: right_18
		{x = 903, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 80: right_19
		{x = 1417, y = 774, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 81: up_0
		{x = 903, y = 1416, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 82: up_1
		{x = 1419, y = 1032, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 83: up_2
		{x = 1548, y = 903, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 84: up_3
		{x = 1290, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 85: up_4
		{x = 1161, y = 1416, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 86: up_5
		{x = 1032, y = 1545, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 87: up_6
		{x = 1548, y = 1032, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 88: up_7
		{x = 1419, y = 1161, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 89: up_8
		{x = 1161, y = 1545, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 90: up_9
		{x = 1290, y = 1029, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 91: up_10
		{x = 1161, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 92: up_11
		{x = 774, y = 1545, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 93: up_12
		{x = 1032, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 94: up_13
		{x = 1546, y = 774, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 95: up_14
		{x = 903, y = 1545, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 96: up_15
		{x = 1161, y = 1287, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 97: up_16
		{x = 1032, y = 1416, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 98: up_17
		{x = 1290, y = 1158, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 99: up_18
		{x = 1419, y = 903, width = 128, height = 128, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0} -- 100: up_19
	},
	{
		["idle"] = {start = 1, stop = 20, speed = 24, offsetX = 2, offsetY = 0},
		["down"] = {start = 21, stop = 40, speed = 24, offsetX = 2, offsetY = 0},
		["left"] = {start = 41, stop = 60, speed = 24, offsetX = 2, offsetY = 0},
		["right"] = {start = 61, stop = 80, speed = 24, offsetX = 2, offsetY = 0},
		["up"] = {start = 81, stop = 100, speed = 24, offsetX = 2, offsetY = 0},
	},
	"idle",
	false
)
