diff options
author | mid-kid <esteve.varela@gmail.com> | 2021-12-13 15:09:53 +0100 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-12-13 10:44:48 -0600 |
commit | 087405b9d975b447ef7b17afd1e73e449cc7881b (patch) | |
tree | cfd17bc287081c885d6860559a7eddf69b1c6ce0 /include/dungeon_pokemon_sprites.h | |
parent | 8213467c2153b4a84cb8b08122dff8418f2d38b7 (diff) |
Dump and document status sprites
Diffstat (limited to 'include/dungeon_pokemon_sprites.h')
-rw-r--r-- | include/dungeon_pokemon_sprites.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/include/dungeon_pokemon_sprites.h b/include/dungeon_pokemon_sprites.h new file mode 100644 index 0000000..50595ea --- /dev/null +++ b/include/dungeon_pokemon_sprites.h @@ -0,0 +1,39 @@ +#ifndef GUARD_DUNGEON_POKEMON_SPRITES_H +#define GUARD_DUNGEON_POKEMON_SPRITES_H + +#include "map.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 |