// MTE MK1 (la Churrera) v5.0
// Copyleft 2010-2014, 2020 by the Mojon Twins

// Spriteset mappings. 
// One entry per sprite face in the spriteset!

#define SWsprites_ALL  16

// unsigned char sm_cox [] = { 
	// 0, 0, 0, 0, 0, 0, 0, 0,
	// 0, 0, 0, 0, 0, 0, 0, 0
// };

// unsigned char sm_coy [] = { 
	// -8, -8, -8, -8, -8, -8, -8, -8,
	// -8, -8, -8, -8, -8, -8, -8, -8, -8
// };

void *sm_invfunc [] = {
	cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x16, cpc_PutSpTileMap8x16
};
	// cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, 
	// cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24,
	// cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24,	
	// cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24,
	// cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24, cpc_PutSpTileMap8x24
// };

void *sm_updfunc [] = {
	cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x16TileMap2b, cpc_PutTrSp8x16TileMap2b
};
	// cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b,
	// cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b,
	// cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b,
	// cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b,
	// cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b, cpc_PutTrSp8x24TileMap2b
// };

extern void *sm_sprptr [0];  // CADA FRAME DE 8X24 PESA 96 BYTES, LOS DE 8X16 PESABAN 64 BYTES
#asm
	._sm_sprptr
		defw _sprites + 0x000, _sprites + 0x060, _sprites + 0x0C0, _sprites + 0x120 // 0-3
		defw _sprites + 0x180, _sprites + 0x1E0, _sprites + 0x240, _sprites + 0x2A0 // 4-7
		defw _sprites + 0x300, _sprites + 0x360, _sprites + 0x3C0, _sprites + 0x420 // 8-11
		defw _sprites + 0x480, _sprites + 0x4E0, _sprites + 0x540, _sprites + 0x5A0 // 12-15
		defw _sprites + 0x600, _sprites + 0x660, _sprites + 0x6C0, _sprites + 0x720 // 16-19 MUMMY
		defw _sprites + 0x780, _sprites + 0x7E0, _sprites + 0x840, _sprites + 0x8A0, _sprite_17_a // 20-24
		defw _sprites_enems + 0x000, _sprites_enems + 0x040, _sprites_enems + 0x080, _sprites_enems + 0x0C0 // 25-28 COBRA
		defw _sprites_enems + 0x100, _sprites_enems + 0x140, _sprites_enems + 0x180, _sprites_enems + 0x1C0 // 29-32 
		defw _sprites_enems + 0x200, _sprites_enems + 0x240, _sprites_enems + 0x280, _sprites_enems + 0x2C0 // 33-36 SPIDER
		defw _sprites_enems + 0x300, _sprites_enems + 0x340, _sprites_enems + 0x380, _sprites_enems + 0x3c0 // 37-40 
#endasm
