diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2019-09-17 00:10:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 00:10:23 -0400 |
commit | 945d3d3a27f6e5005e5481bb2ad36f1a2a220d3d (patch) | |
tree | 7dc8f5a21c6bb7640aad82de03a314b0e919f3b2 /include/global.h | |
parent | f4160ded9897f65e5ee7fa7050d195dfaa5bf5b2 (diff) | |
parent | 06af24bce58b9285166d27fc371ad3c3dbb63a29 (diff) |
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/global.h b/include/global.h index d6d18a3ab..82c53c009 100644 --- a/include/global.h +++ b/include/global.h @@ -210,7 +210,7 @@ struct BerryCrush struct ApprenticeMon { u16 species; - u16 moves[4]; + u16 moves[MAX_MON_MOVES]; u16 item; }; @@ -232,7 +232,7 @@ struct BattleTowerPokemon { u16 species; u16 heldItem; - u16 moves[4]; + u16 moves[MAX_MON_MOVES]; u8 level; u8 ppBonuses; u8 hpEV; @@ -255,6 +255,8 @@ struct BattleTowerPokemon u8 friendship; }; +#define NULL_BATTLE_TOWER_POKEMON { .nickname = __("$$$$$$$$$$$") } + struct EmeraldBattleTowerRecord { /*0x00*/ u8 lvlMode; // 0 = level 50, 1 = level 100 @@ -286,7 +288,7 @@ struct BattleTowerEReaderTrainer struct FrontierMonData { - u16 moves[4]; + u16 moves[MAX_MON_MOVES]; u8 evs[6]; u8 nature; }; @@ -942,7 +944,7 @@ struct SaveBlock1 /*0x2B94*/ u8 outbreakPokemonLevel; /*0x2B95*/ u8 outbreakUnk1; /*0x2B96*/ u16 outbreakUnk2; - /*0x2B98*/ u16 outbreakPokemonMoves[4]; + /*0x2B98*/ u16 outbreakPokemonMoves[MAX_MON_MOVES]; /*0x2BA0*/ u8 outbreakUnk4; /*0x2BA1*/ u8 outbreakPokemonProbability; /*0x2BA2*/ u16 outbreakDaysLeft; |