mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 21:19:53 +00:00
40 lines
882 B
C
40 lines
882 B
C
#ifndef GUARD_DUNGEON_POKEMON_SPRITES_H
|
|
#define GUARD_DUNGEON_POKEMON_SPRITES_H
|
|
|
|
#include "position.h"
|
|
|
|
struct DungeonPokemonStatusSprite
|
|
{
|
|
u32 status;
|
|
u32 frame;
|
|
};
|
|
|
|
struct DungeonPokemonSprite
|
|
{
|
|
/* 0x0000 */ u8 exists;
|
|
/* 0x0004 */ u32 id;
|
|
/* 0x0008 */ u16 species; // Or sprite ID?
|
|
/* 0x000A */ u16 unkA;
|
|
/* 0x000C */ u32 status;
|
|
/* 0x0010 */ u8 visible;
|
|
/* 0x0011 */ u8 unk11;
|
|
/* 0x0014 */ struct Position pos;
|
|
/* 0x0018 */ struct Position statusOffsets[2];
|
|
/* 0x0020 */ u32 unk20;
|
|
/* 0x0024 */ u32 unk24;
|
|
/* 0x0028 */ struct DungeonPokemonStatusSprite statusSprites[2];
|
|
/* 0x0038 */ u8 unk38;
|
|
/* 0x003C */ u16 unk3C;
|
|
/* 0x003E */ u16 unk3E;
|
|
}
|
|
|
|
struct DungeonPokemonSprites
|
|
{
|
|
u32 frame;
|
|
struct DungeonPokemonSprites sprites[22];
|
|
};
|
|
|
|
extern struct DungeonPokemonSprites *gDungeonPokemonSprites;
|
|
|
|
#endif
|