Fixed "new trainer id" option, thanks to Lunos and Deokishisu
This commit is contained in:
parent
40ebd66084
commit
c8c81e4156
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue