pmd-red/include/dungeon_pokemon_sprites.h
2021-12-17 23:38:06 -05:00

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