pokeemerald/src/data/trainer_graphics/back_pic_tables.h

39 lines
2.0 KiB
C
Raw Normal View History

2018-08-27 00:26:54 +01:00
const struct MonCoords gTrainerBackPicCoords[] =
2018-08-22 14:34:36 +01:00
{
2019-04-04 23:08:53 +02:00
[TRAINER_BACK_PIC_BRENDAN] = {.size = 8, .y_offset = 4},
[TRAINER_BACK_PIC_MAY] = {.size = 8, .y_offset = 4},
[TRAINER_BACK_PIC_RED] = {.size = 8, .y_offset = 5},
[TRAINER_BACK_PIC_LEAF] = {.size = 8, .y_offset = 5},
[TRAINER_BACK_PIC_RUBY_SAPPHIRE_BRENDAN] = {.size = 8, .y_offset = 4},
[TRAINER_BACK_PIC_RUBY_SAPPHIRE_MAY] = {.size = 8, .y_offset = 4},
[TRAINER_BACK_PIC_WALLY] = {.size = 8, .y_offset = 4},
[TRAINER_BACK_PIC_STEVEN] = {.size = 8, .y_offset = 4},
2018-08-22 14:34:36 +01:00
};
2018-10-21 02:24:57 -05:00
// this table goes functionally unused, since none of these pics are compressed
// and the place they would get extracted to gets overwritten later anyway
// the casts are so they'll play nice with the strict struct definition
2018-08-22 14:34:36 +01:00
const struct CompressedSpriteSheet gTrainerBackPicTable[] =
{
2019-02-02 15:53:47 -06:00
(const u32 *)gTrainerBackPic_Brendan, 0x2000, TRAINER_BACK_PIC_BRENDAN,
(const u32 *)gTrainerBackPic_May, 0x2000, TRAINER_BACK_PIC_MAY,
(const u32 *)gTrainerBackPic_Red, 0x2800, TRAINER_BACK_PIC_RED,
(const u32 *)gTrainerBackPic_Leaf, 0x2800, TRAINER_BACK_PIC_LEAF,
(const u32 *)gTrainerBackPic_RubySapphireBrendan, 0x2000, TRAINER_BACK_PIC_RUBY_SAPPHIRE_BRENDAN,
(const u32 *)gTrainerBackPic_RubySapphireMay, 0x2000, TRAINER_BACK_PIC_RUBY_SAPPHIRE_MAY,
(const u32 *)gTrainerBackPic_Wally, 0x2000, TRAINER_BACK_PIC_WALLY,
(const u32 *)gTrainerBackPic_Steven, 0x2000, TRAINER_BACK_PIC_STEVEN,
2018-08-22 14:34:36 +01:00
};
2019-04-04 23:08:53 +02:00
const struct CompressedSpritePalette gTrainerBackPicPaletteTable[] =
2018-08-22 14:34:36 +01:00
{
2019-04-04 23:08:53 +02:00
TRAINER_BACK_PAL(BRENDAN, gTrainerPalette_Brendan),
TRAINER_BACK_PAL(MAY, gTrainerPalette_May),
TRAINER_BACK_PAL(RED, gTrainerBackPicPalette_Red),
TRAINER_BACK_PAL(LEAF, gTrainerBackPicPalette_Leaf),
TRAINER_BACK_PAL(RUBY_SAPPHIRE_BRENDAN, gTrainerPalette_RubySapphireBrendan),
TRAINER_BACK_PAL(RUBY_SAPPHIRE_MAY, gTrainerPalette_RubySapphireMay),
TRAINER_BACK_PAL(WALLY, gTrainerPalette_Wally),
TRAINER_BACK_PAL(STEVEN, gTrainerPalette_Steven),
2018-08-22 14:34:36 +01:00
};