summaryrefslogtreecommitdiff
path: root/src/new_game.c
diff options
context:
space:
mode:
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 c43c6ae9f..05d86aa8c 100644
--- a/src/new_game.c
+++ b/src/new_game.c
@@ -87,7 +87,7 @@ void CopyTrainerId(u8 *dst, u8 *src)
static void InitPlayerTrainerId(void)
{
- u32 trainerId = (Random() << 0x10) | GetGeneratedTrainerIdLower();
+ u32 trainerId = (Random() << 16) | GetGeneratedTrainerIdLower();
SetTrainerId(trainerId, gSaveBlock2Ptr->playerTrainerId);
}