--[[----------------------------------------------------------------------------
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/>.
------------------------------------------------------------------------------]]

-- NOTE: Pico's sprites are flipped horizontally as an enemy
return graphics.newSprite(
	love.graphics.newImage(graphics.imagePath("pico")),
	-- Automatically generated from Pico_FNF_assetss.xml
	{
		{x = 0, y = 0, width = 723, height = 382, offsetX = -13, offsetY = -9, offsetWidth = 736, offsetHeight = 392}, -- 1: Pico Down Note0000
		{x = 0, y = 0, width = 723, height = 382, offsetX = -13, offsetY = -9, offsetWidth = 736, offsetHeight = 392}, -- 2: Pico Down Note0001
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 3: Pico Down Note0002
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 4: Pico Down Note0003
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 5: Pico Down Note0004
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 6: Pico Down Note0005
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 7: Pico Down Note0006
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 8: Pico Down Note0007
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 9: Pico Down Note0008
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 10: Pico Down Note0009
		{x = 733, y = 0, width = 502, height = 392, offsetX = 0, offsetY = 0, offsetWidth = 736, offsetHeight = 392}, -- 11: Pico Down Note0010
		{x = 2768, y = 0, width = 435, height = 461, offsetX = -18, offsetY = -13, offsetWidth = 453, offsetHeight = 475}, -- 12: Pico Idle Dance0000
		{x = 2768, y = 0, width = 435, height = 461, offsetX = -18, offsetY = -13, offsetWidth = 453, offsetHeight = 475}, -- 13: Pico Idle Dance0001
		{x = 3213, y = 0, width = 442, height = 468, offsetX = -11, offsetY = -6, offsetWidth = 453, offsetHeight = 475}, -- 14: Pico Idle Dance0002
		{x = 3213, y = 0, width = 442, height = 468, offsetX = -11, offsetY = -6, offsetWidth = 453, offsetHeight = 475}, -- 15: Pico Idle Dance0003
		{x = 0, y = 478, width = 448, height = 469, offsetX = -1, offsetY = -6, offsetWidth = 453, offsetHeight = 475}, -- 16: Pico Idle Dance0004
		{x = 458, y = 478, width = 444, height = 469, offsetX = -1, offsetY = -6, offsetWidth = 453, offsetHeight = 475}, -- 17: Pico Idle Dance0005
		{x = 912, y = 478, width = 444, height = 474, offsetX = -1, offsetY = -1, offsetWidth = 453, offsetHeight = 475}, -- 18: Pico Idle Dance0006
		{x = 1366, y = 478, width = 442, height = 474, offsetX = -1, offsetY = -1, offsetWidth = 453, offsetHeight = 475}, -- 19: Pico Idle Dance0007
		{x = 1818, y = 478, width = 443, height = 475, offsetX = 0, offsetY = 0, offsetWidth = 453, offsetHeight = 475}, -- 20: Pico Idle Dance0008
		{x = 1818, y = 478, width = 443, height = 475, offsetX = 0, offsetY = 0, offsetWidth = 453, offsetHeight = 475}, -- 21: Pico Idle Dance0009
		{x = 1818, y = 478, width = 443, height = 475, offsetX = 0, offsetY = 0, offsetWidth = 453, offsetHeight = 475}, -- 22: Pico Idle Dance0010
		{x = 1818, y = 478, width = 443, height = 475, offsetX = 0, offsetY = 0, offsetWidth = 453, offsetHeight = 475}, -- 23: Pico Idle Dance0011
		{x = 1818, y = 478, width = 443, height = 475, offsetX = 0, offsetY = 0, offsetWidth = 453, offsetHeight = 475}, -- 24: Pico Idle Dance0012
		{x = 1818, y = 478, width = 443, height = 475, offsetX = 0, offsetY = 0, offsetWidth = 453, offsetHeight = 475}, -- 25: Pico Idle Dance0013
		{x = 2271, y = 478, width = 449, height = 462, offsetX = -6, offsetY = -2, offsetWidth = 455, offsetHeight = 464}, -- 26: Pico NOTE LEFT0000
		{x = 2271, y = 478, width = 449, height = 462, offsetX = -6, offsetY = -2, offsetWidth = 455, offsetHeight = 464}, -- 27: Pico NOTE LEFT0001
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 28: Pico NOTE LEFT0002
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 29: Pico NOTE LEFT0003
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 30: Pico NOTE LEFT0004
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 31: Pico NOTE LEFT0005
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 32: Pico NOTE LEFT0006
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 33: Pico NOTE LEFT0007
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 34: Pico NOTE LEFT0008
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 35: Pico NOTE LEFT0009
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 36: Pico NOTE LEFT0010
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 37: Pico NOTE LEFT0011
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 38: Pico NOTE LEFT0012
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 39: Pico NOTE LEFT0013
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 40: Pico NOTE LEFT0014
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 41: Pico NOTE LEFT0015
		{x = 2730, y = 478, width = 455, height = 464, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 42: Pico NOTE LEFT0016
		{x = 1409, y = 963, width = 458, height = 476, offsetX = -1, offsetY = 0, offsetWidth = 459, offsetHeight = 476}, -- 43: Pico Note Right0000
		{x = 1409, y = 963, width = 458, height = 476, offsetX = -1, offsetY = 0, offsetWidth = 459, offsetHeight = 476}, -- 44: Pico Note Right0001
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 45: Pico Note Right0002
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 46: Pico Note Right0003
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 47: Pico Note Right0004
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 48: Pico Note Right0005
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 49: Pico Note Right0006
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 50: Pico Note Right0007
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 51: Pico Note Right0008
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 52: Pico Note Right0009
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 53: Pico Note Right0010
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 54: Pico Note Right0011
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 55: Pico Note Right0012
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 56: Pico Note Right0013
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 57: Pico Note Right0014
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 58: Pico Note Right0015
		{x = 1877, y = 963, width = 442, height = 473, offsetX = 0, offsetY = -3, offsetWidth = 459, offsetHeight = 476}, -- 59: Pico Note Right0016
		{x = 455, y = 1495, width = 432, height = 495, offsetX = 0, offsetY = 0, offsetWidth = 433, offsetHeight = 495}, -- 60: pico Up note0000
		{x = 455, y = 1495, width = 432, height = 495, offsetX = 0, offsetY = 0, offsetWidth = 433, offsetHeight = 495}, -- 61: pico Up note0001
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 62: pico Up note0002
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 63: pico Up note0003
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 64: pico Up note0004
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 65: pico Up note0005
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 66: pico Up note0006
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 67: pico Up note0007
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 68: pico Up note0008
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 69: pico Up note0009
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 70: pico Up note0010
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 71: pico Up note0011
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495}, -- 72: pico Up note0012
		{x = 897, y = 1495, width = 432, height = 490, offsetX = -1, offsetY = -5, offsetWidth = 433, offsetHeight = 495} -- 73: pico Up note0013
	},
	{
		["down"] = {start = 1, stop = 11, speed = 24, offsetX = -38, offsetY = -43},
		["idle"] = {start = 12, stop = 25, speed = 24, offsetX = 0, offsetY = 0},
		["right"] = {start = 26, stop = 42, speed = 24, offsetX = 83, offsetY = -5}, -- Swapped
		["left"] = {start = 43, stop = 59, speed = 24, offsetX = -50, offsetY = 0}, -- Swapped
		["up"] = {start = 60, stop = 73, speed = 24, offsetX = 27, offsetY = 10}
	},
	"idle",
	false
)
