From 087405b9d975b447ef7b17afd1e73e449cc7881b Mon Sep 17 00:00:00 2001 From: mid-kid Date: Mon, 13 Dec 2021 15:09:53 +0100 Subject: Dump and document status sprites --- include/dungeon_pokemon_sprites.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 include/dungeon_pokemon_sprites.h (limited to 'include/dungeon_pokemon_sprites.h') 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 -- cgit v1.2.3