mirror of
https://github.com/SplatooD/splatood.git
synced 2026-04-24 23:36:54 -05:00
use OAM_FLIP_H instead of hardcoded flipped sprites
This commit is contained in:
parent
36c3a378f4
commit
1ee18facab
72
game.c
72
game.c
|
|
@ -130,10 +130,10 @@ const unsigned char sprPlayerA1[][17]={
|
|||
128
|
||||
},
|
||||
{
|
||||
0,-1,0x4c,0,
|
||||
8,-1,0x4d,0,
|
||||
0, 7,0x5c,0,
|
||||
8, 7,0x5d,0,
|
||||
0,-1,0x45,0|OAM_FLIP_H,
|
||||
8,-1,0x44,0|OAM_FLIP_H,
|
||||
0, 7,0x55,0|OAM_FLIP_H,
|
||||
8, 7,0x54,0|OAM_FLIP_H,
|
||||
128
|
||||
},
|
||||
{
|
||||
|
|
@ -161,10 +161,10 @@ const unsigned char sprPlayerA2[][17]={
|
|||
128
|
||||
},
|
||||
{
|
||||
0,-1,0x4e,0,
|
||||
8,-1,0x4f,0,
|
||||
0, 7,0x5e,0,
|
||||
8, 7,0x5f,0,
|
||||
0,-1,0x47,0|OAM_FLIP_H,
|
||||
8,-1,0x46,0|OAM_FLIP_H,
|
||||
0, 7,0x57,0|OAM_FLIP_H,
|
||||
8, 7,0x56,0|OAM_FLIP_H,
|
||||
128
|
||||
},
|
||||
{
|
||||
|
|
@ -192,10 +192,10 @@ const unsigned char sprPlayerB1[][17]={
|
|||
128
|
||||
},
|
||||
{
|
||||
0,-1,0x4c,1,
|
||||
8,-1,0x4d,1,
|
||||
0, 7,0x5c,1,
|
||||
8, 7,0x5d,1,
|
||||
0,-1,0x45,1|OAM_FLIP_H,
|
||||
8,-1,0x44,1|OAM_FLIP_H,
|
||||
0, 7,0x55,1|OAM_FLIP_H,
|
||||
8, 7,0x54,1|OAM_FLIP_H,
|
||||
128
|
||||
},
|
||||
{
|
||||
|
|
@ -223,10 +223,10 @@ const unsigned char sprPlayerB2[][17]={
|
|||
128
|
||||
},
|
||||
{
|
||||
0,-1,0x4e,1,
|
||||
8,-1,0x4f,1,
|
||||
0, 7,0x5e,1,
|
||||
8, 7,0x5f,1,
|
||||
0,-1,0x47,1|OAM_FLIP_H,
|
||||
8,-1,0x46,1|OAM_FLIP_H,
|
||||
0, 7,0x57,1|OAM_FLIP_H,
|
||||
8, 7,0x56,1|OAM_FLIP_H,
|
||||
128
|
||||
},
|
||||
{
|
||||
|
|
@ -300,29 +300,29 @@ const unsigned char judd_tie[] = {
|
|||
};
|
||||
|
||||
const unsigned char judd_right[] = {
|
||||
32,0,0x60,2+(1<<6),
|
||||
24,0,0x61,2+(1<<6),
|
||||
16,0,0x62,0+(1<<6),
|
||||
8,0,0x63,0+(1<<6),
|
||||
0,0,0x64,0+(1<<6),
|
||||
32,0,0x60,2|OAM_FLIP_H,
|
||||
24,0,0x61,2|OAM_FLIP_H,
|
||||
16,0,0x62,0|OAM_FLIP_H,
|
||||
8,0,0x63,0|OAM_FLIP_H,
|
||||
0,0,0x64,0|OAM_FLIP_H,
|
||||
|
||||
32,8,0x70,2+(1<<6),
|
||||
24,8,0x71,2+(1<<6),
|
||||
16,8,0x72,0+(1<<6),
|
||||
8,8,0x73,0+(1<<6),
|
||||
0,8,0x74,0+(1<<6),
|
||||
32,8,0x70,2|OAM_FLIP_H,
|
||||
24,8,0x71,2|OAM_FLIP_H,
|
||||
16,8,0x72,0|OAM_FLIP_H,
|
||||
8,8,0x73,0|OAM_FLIP_H,
|
||||
0,8,0x74,0|OAM_FLIP_H,
|
||||
|
||||
32,16,0x80,2+(1<<6),
|
||||
24,16,0x81,2+(1<<6),
|
||||
16,16,0x82,0+(1<<6),
|
||||
8,16,0x83,0+(1<<6),
|
||||
0,16,0x84,0+(1<<6),
|
||||
32,16,0x80,2|OAM_FLIP_H,
|
||||
24,16,0x81,2|OAM_FLIP_H,
|
||||
16,16,0x82,0|OAM_FLIP_H,
|
||||
8,16,0x83,0|OAM_FLIP_H,
|
||||
0,16,0x84,0|OAM_FLIP_H,
|
||||
|
||||
32,24,0x90,2+(1<<6),
|
||||
24,24,0x91,2+(1<<6),
|
||||
16,24,0x92,0+(1<<6),
|
||||
8,24,0x93,0+(1<<6),
|
||||
0,24,0x94,0+(1<<6),
|
||||
32,24,0x90,2|OAM_FLIP_H,
|
||||
24,24,0x91,2|OAM_FLIP_H,
|
||||
16,24,0x92,0|OAM_FLIP_H,
|
||||
8,24,0x93,0|OAM_FLIP_H,
|
||||
0,24,0x94,0|OAM_FLIP_H,
|
||||
|
||||
128,
|
||||
};
|
||||
|
|
|
|||
BIN
tileset.chr
BIN
tileset.chr
Binary file not shown.
Loading…
Reference in New Issue
Block a user