summaryrefslogtreecommitdiff
path: root/src/daycare.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2019-09-17 00:10:23 -0400
committerGitHub <noreply@github.com>2019-09-17 00:10:23 -0400
commit945d3d3a27f6e5005e5481bb2ad36f1a2a220d3d (patch)
tree7dc8f5a21c6bb7640aad82de03a314b0e919f3b2 /src/daycare.c
parentf4160ded9897f65e5ee7fa7050d195dfaa5bf5b2 (diff)
parent06af24bce58b9285166d27fc371ad3c3dbb63a29 (diff)
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'src/daycare.c')
-rw-r--r--src/daycare.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daycare.c b/src/daycare.c
index 2d05035d7..dc44b4887 100644
--- a/src/daycare.c
+++ b/src/daycare.c
@@ -34,10 +34,10 @@ static void DaycarePrintMonInfo(u8 windowId, s32 daycareSlotId, u8 y);
// RAM buffers used to assist with BuildEggMoveset()
EWRAM_DATA static u16 sHatchedEggLevelUpMoves[EGG_LVL_UP_MOVES_ARRAY_COUNT] = {0};
-EWRAM_DATA static u16 sHatchedEggFatherMoves[4] = {0};
-EWRAM_DATA static u16 sHatchedEggFinalMoves[4] = {0};
+EWRAM_DATA static u16 sHatchedEggFatherMoves[MAX_MON_MOVES] = {0};
+EWRAM_DATA static u16 sHatchedEggFinalMoves[MAX_MON_MOVES] = {0};
EWRAM_DATA static u16 sHatchedEggEggMoves[EGG_MOVES_ARRAY_COUNT] = {0};
-EWRAM_DATA static u16 sHatchedEggMotherMoves[4] = {0};
+EWRAM_DATA static u16 sHatchedEggMotherMoves[MAX_MON_MOVES] = {0};
#include "data/pokemon/egg_moves.h"