Fix FREE_POKEMON_JUMP
This commit is contained in:
parent
26a4c56843
commit
90be8436d9
@ -12,7 +12,7 @@
|
||||
// saveblock1 total: 1846 bytes
|
||||
//free saveblock 2 defines
|
||||
#define FREE_BATTLE_TOWER_E_READER FALSE //frees up battle tower e reader trainer data. 188 bytes. WARNING THIS HAS BEEN SHOWN TO BREAK THE POKÉ MARTS' QUESTIONNAIRE
|
||||
#define FREE_POKEMON_JUMP FALSE //frees up pokemon jump data. 16 bytes
|
||||
#define FREE_POKEMON_JUMP FALSE // Frees up Pokémon Jump data (16 bytes).
|
||||
#define FREE_RECORD_MIXING_HALL_RECORDS FALSE //frees up hall records for record mixing. 1032 bytes
|
||||
// saveblock2 total: 1236 bytes
|
||||
|
||||
|
||||
@ -415,7 +415,7 @@ static void DoPokeJumpCountdown(void);
|
||||
static void Msg_CommunicationStandby(void);
|
||||
static void Task_ShowPokemonJumpRecords(u8);
|
||||
static void PrintRecordsText(u16, int);
|
||||
static void TruncateToFirstWordOnly(u8 *);
|
||||
static inline void TruncateToFirstWordOnly(u8 *);
|
||||
|
||||
EWRAM_DATA static struct PokemonJump *sPokemonJump = NULL;
|
||||
EWRAM_DATA static struct PokemonJumpGfx *sPokemonJumpGfx = NULL;
|
||||
@ -4332,12 +4332,12 @@ static bool32 RecvPacket_MemberStateToMember(struct PokemonJump_Player *player,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#if FREE_POKEMON_JUMP == FALSE
|
||||
static struct PokemonJumpRecords *GetPokeJumpRecords(void)
|
||||
{
|
||||
#if FREE_POKEMON_JUMP == FALSE
|
||||
return &gSaveBlock2Ptr->pokeJump;
|
||||
#endif //FREE_POKEMON_JUMP
|
||||
}
|
||||
#endif //FREE_POKEMON_JUMP
|
||||
|
||||
void ResetPokemonJumpRecords(void)
|
||||
{
|
||||
@ -4481,7 +4481,7 @@ static void PrintRecordsText(u16 windowId, int width)
|
||||
#endif //FREE_POKEMON_JUMP
|
||||
}
|
||||
|
||||
static void TruncateToFirstWordOnly(u8 *str)
|
||||
static inline void TruncateToFirstWordOnly(u8 *str)
|
||||
{
|
||||
for (;*str != EOS; str++)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user