summaryrefslogtreecommitdiff
path: root/src/new_game.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/new_game.c
parentf4160ded9897f65e5ee7fa7050d195dfaa5bf5b2 (diff)
parent06af24bce58b9285166d27fc371ad3c3dbb63a29 (diff)
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'src/new_game.c')
-rw-r--r--src/new_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_game.c b/src/new_game.c
index b4d9ba9b3..1021ea96c 100644
--- a/src/new_game.c
+++ b/src/new_game.c
@@ -81,7 +81,7 @@ u32 GetTrainerId(u8 *trainerId)
void CopyTrainerId(u8 *dst, u8 *src)
{
s32 i;
- for (i = 0; i < 4; i++)
+ for (i = 0; i < TRAINER_ID_LENGTH; i++)
dst[i] = src[i];
}