summaryrefslogtreecommitdiff
path: root/include/dungeon_pokemon_sprites.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dungeon_pokemon_sprites.h')
-rw-r--r--include/dungeon_pokemon_sprites.h39
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