summaryrefslogtreecommitdiff
path: root/include/pokemon.h
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2020-12-17 13:17:58 -0600
committerGitHub <noreply@github.com>2020-12-17 13:17:58 -0600
commit096de8d9b2ffd90c52e790296bfd7c5436d45ca3 (patch)
tree9c5af2e04dea05221c71946a5dfc06471f77801d /include/pokemon.h
parentbc504264f1e54b3c1e482710c592e5549828bfe1 (diff)
parentf90f3affeb9b0a66aa7df68f5fdecd692033faf9 (diff)
Merge pull request #12 from SethBarberee/master
Merge work from SethBarberee/pmd-red into pret.
Diffstat (limited to 'include/pokemon.h')
-rw-r--r--include/pokemon.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/include/pokemon.h b/include/pokemon.h
new file mode 100644
index 0000000..6c18f7d
--- /dev/null
+++ b/include/pokemon.h
@@ -0,0 +1,61 @@
+#ifndef POKEMON_H
+#define POKEMON_H
+
+struct EvolveStruct1
+{
+ u16 evolve_from;
+ u16 evolve_type;
+};
+
+struct EvolveNeeds
+{
+ u16 evolve_need1;
+ u16 evolve_need2;
+};
+
+struct gPokemon
+{
+ /* 0x0 */ u8* species;
+ /* 0x4 */ u8* category;
+ /* 0x8 */ u8 overworld_sprite;
+ /* 0x9 */ u8 size;
+ /* 0xA */ u8 unkA;
+ /* 0xB */ u8 unkB;
+ /* 0xC */ s32 move_speed;
+ /* 0x10 */ u16 dialogue_sprites;
+ /* 0x12 */ u8 unk12;
+ /* 0x13 */ u8 type_1;
+ /* 0x14 */ u8 type_2;
+ /* 0x15 */ u8 walkable_tiles;
+ /* 0x16 */ u8 friend_area;
+ /* 0x17 */ u8 ability_1;
+ /* 0x18 */ u8 ability_2;
+ /* 0x19 */ u8 shadow_size;
+ /* 0x1A */ u8 unk1A;
+ /* 0x1B */ u8 unk1B;
+ /* 0x1C */ bool8 isMoving;
+ /* 0x1D */ u8 unk1D;
+ /* 0x1E */ u16 base_hp;
+ /* 0x20 */ u16 base_exp;
+ /* 0x22 */ u16 unk22; // verified
+ /* 0x24 */ u16 base_att;
+ /* 0x26 */ u16 base_spatt;
+ /* 0x28 */ u16 base_def;
+ /* 0x2A */ u16 base_spdef;
+ /* 0x2C */ u16 lowkick_dmg;
+ /* 0x2E */ u16 sizeorb_dmg;
+ /* 0x30 */ u8 unk30;
+ /* 0x31 */ u8 unk31;
+ /* 0x32 */ u8 unk32;
+ /* 0x33 */ bool8 unk33;
+ /* 0x34 */ struct EvolveStruct1 pre;
+ /* 0x38 */ struct EvolveNeeds need;
+ /* 0x3C */ u16 dexNo;
+ /* 0x3E */ u16 internalNo; // verified
+ /* 0x40 */ s16 base_recruit; // verified
+ /* 0x42 */ u16 alphabetNo;
+ /* 0x44 */ u16 parentNo;
+ /* 0x46 */ u16 unk46;
+};
+
+#endif // POKEMON_H