From 692b76fd27bf0b74a3fe871864c5d77387c05618 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 12 Aug 2020 19:35:47 -0400 Subject: Resolve warnings --- include/pokemon.h | 3 +-- include/save_block_2.h | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/pokemon.h b/include/pokemon.h index cf5d3377..1ab3c401 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -9,6 +9,7 @@ #include "seals.h" #include "constants/pokemon.h" #include "string16.h" +#include "save_block_2.h" struct BaseStats { /* 0x00 */ u8 hp; @@ -198,8 +199,6 @@ struct PlayerParty struct Pokemon mons[PARTY_SIZE]; }; -#include "save_block_2.h" - void ZeroMonData(struct Pokemon * pokemon); void ZeroBoxMonData(struct BoxPokemon * boxmon); u32 SizeOfStructPokemon(void); diff --git a/include/save_block_2.h b/include/save_block_2.h index bb2fb2df..e969bde7 100644 --- a/include/save_block_2.h +++ b/include/save_block_2.h @@ -1,7 +1,6 @@ #ifndef POKEDIAMOND_SAVE_BLOCK_2_H #define POKEDIAMOND_SAVE_BLOCK_2_H -#include "pokemon.h" #include "MATH_crc.h" struct Options { @@ -32,6 +31,8 @@ struct PlayerData /* 0x1C */ u8 field_1C; /* 0x1D */ u8 field_1D_0:1; u8 field_1D_1:1; + u8 field_1D_pad:6; + /* 0x1E */ u8 padding_1E[2]; }; struct PlayerDataSav -- cgit v1.2.3