summaryrefslogtreecommitdiff
path: root/include/mon_markings.h
blob: d062648651b43ae877b85b9088cbc1a9978ef5a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef POKERUBY_MON_MARKINGS_H
#define POKERUBY_MON_MARKINGS_H

struct PokemonMarkMenu
{
    /*0x0000*/ u16 baseTileTag;
    /*0x0002*/ u16 basePaletteTag;
    /*0x0004*/ u8 markings; // bit flags
    /*0x0005*/ s8 cursorPos;
    /*0x0006*/ bool8 markingsArray[4];
    /*0x000A*/ u8 cursorBaseY;
    /*0x000B*/ bool8 spriteSheetLoadRequired;
    /*0x000C*/ struct Sprite *menuWindowSprites[2]; // upper and lower halves of menu window
    /*0x0014*/ struct Sprite *menuMarkingSprites[4];
    /*0x0024*/ struct Sprite *menuTextSprite;
    /*0x0028*/ const u8 *frameTiles;
    /*0x002C*/ const u16 *framePalette;
    /*0x0030*/ u8 menuWindowSpriteTiles[0x1000];
    /*0x1030*/ u8 filler1030[0x80];
    /*0x10B0*/ u8 tileLoadState;
}; // 10b4

void sub_80F727C(struct PokemonMarkMenu *ptr);
void sub_80F7404(void);
void sub_80F7418(u8 markings, s16 x, s16 y);
void sub_80F7470(void);
bool8 sub_80F7500(void);
struct Sprite *sub_80F7940(u16 tileTag, u16 paletteTag, const u16 *palette);
void sub_80F7A10(u8 markings, void *dest);

#endif //POKERUBY_MON_MARKINGS_H