diff --git a/src/debug.c b/src/debug.c index df0573574..29a0d06d6 100644 --- a/src/debug.c +++ b/src/debug.c @@ -950,7 +950,7 @@ static void DebugAction_Util_Trainer_Gender(u8 taskId) } static void DebugAction_Util_Trainer_Id(u8 taskId) { - u32 trainerId = (Random() << 0x10) | GetGeneratedTrainerIdLower(); + u32 trainerId = ((Random() << 16) | Random()); SetTrainerId(trainerId, gSaveBlock2Ptr->playerTrainerId); Debug_DestroyMenu(taskId); EnableBothScriptContexts();