mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 05:40:41 +01:00
Fixed "new trainer id" option, thanks to Lunos and Deokishisu
This commit is contained in:
parent
40ebd66084
commit
c8c81e4156
@ -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 New Issue
Block a user