Published using Google Docs
Pokerogue Complete Unlock
Updated automatically every 5 minutes

**New Game**

1. Press **F12** to enter Developer Tools.

2. Go to the **Sources** tab.

3. Right-click on **(pokrogue.net)** and select **Search in All Files**.

4. Search for **"showusecandies"**.

5. Add a break-point above the searched line.

6. While still in Developer Tools (F12), attempt to use candy. This will cause a "Paused in Debugger" notification.

7. Go to the **Console** tab in Developer Tools.

8. Copy and paste this command:

 for (let i = 1; i <= 1025; i++) {

    this.scene.gameData.starterData[i] = {

        abilityAttr: 7,

        candyCount: 200,

        eggMoves: 15,

        friendship: 90,

        passiveAttr: 3,

        valueReduction: 2

    };

    this.scene.gameData.dexData[i] = {

        caughtAttr: 255n,

        ivs: [31, 31, 31, 31, 31, 31],

        seenAttr: 479n,

        caughtcount: 3,

        hatchedCount: 3,

        seenCount: 3,

        natureAttr: 67108862

    };

}

const targetIndices = [

    2019, 2020, 2026, 2027, 2028, 2037, 2038, 2050, 2051, 2052, 2053,

    2074, 2075, 2076, 2088, 2089, 2103, 2105, 2670, 4052, 4077,

    4078, 4079, 4080, 4083, 4110, 4122, 4144, 4145, 4146, 4199,

    4222, 4263, 4264, 4554, 4555, 4562, 4618, 6058, 6059, 6100,

    6101, 6157, 6211, 6215, 6503, 6549, 6570, 6571, 6628, 6705,

    6706, 6713, 6724, 8128, 8194, 8901

];

for (let i = 0; i < targetIndices.length; i++) {

    const index = targetIndices[i];

    this.scene.gameData.starterData[index] = {

        abilityAttr: 7,

        candyCount: 200,

        eggMoves: 15,

        friendship: 90,

        passiveAttr: 3,

        valueReduction: 2

    };

    this.scene.gameData.dexData[index] = {

        caughtAttr: 255n,

        ivs: [31, 31, 31, 31, 31, 31],

        seenAttr: 479n,

        caughtCount: 3,

        hatchedCount: 3,

        seenCount: 3,

        natureAttr: 67108862

    };

}

9. Navigate back to the **Sources** tab in Developer Tools.

10. Remove the break-point.

11. Confirm with the blue arrow (top right).

12. Exit Developer Tools (further top right).

13. Complete a battle to save.



BLACK SCREEN FIX

first one excludes the pokes with baby pre evolution (including galarian mr mime)

second unlock those pokes
third unlocks only galarian mr mime without their passives

It's the passives of these pokemon that make the game black screen


First:

 const excludeIndices = [25, 35, 39, 106, 107, 113, 122, 124, 125, 126, 143, 183, 185, 202, 226, 315, 358, 412];

 for (let i = 1; i <= 1025; i++) {

    if (excludeIndices.includes(i)) {

        continue;

    }

    this.scene.gameData.starterData[i] = {

        abilityAttr: 7,

        candyCount: 200,

        eggMoves: 15,

        friendship: 90,

        passiveAttr: 3,

        valueReduction: 2

    };

    this.scene.gameData.dexData[i] = {

        caughtAttr: 255n,

        ivs: [31, 31, 31, 31, 31, 31],

        seenAttr: 479n,

        caughtCount: 3,

        hatchedCount: 3,

        seenCount: 3,

        natureAttr: 67108862

    };

}

const targetIndices = [

    2019, 2020, 2026, 2027, 2028, 2037, 2038, 2050, 2051, 2052, 2053,

    2074, 2075, 2076, 2088, 2089, 2103, 2105, 2670, 4052, 4077,

    4078, 4079, 4080, 4083, 4110, 4144, 4145, 4146, 4199,

    4222, 4263, 4264, 4554, 4555, 4562, 4618, 6058, 6059, 6100,

    6101, 6157, 6211, 6215, 6503, 6549, 6570, 6571, 6628, 6705,

    6706, 6713, 6724, 8128, 8194, 8901

];

for (let i = 0; i < targetIndices.length; i++) {

    const index = targetIndices[i];

    this.scene.gameData.starterData[index] = {

        abilityAttr: 7,

        candyCount: 200,

        eggMoves: 15,

        friendship: 90,

        passiveAttr: 3,

        valueReduction: 2

    };

    this.scene.gameData.dexData[index] = {

        caughtAttr: 255n,

        ivs: [31, 31, 31, 31, 31, 31],

        seenAttr: 479n,

        caughtCount: 3,

        hatchedCount: 3,

        seenCount: 3,

        natureAttr: 67108862

    };

}

Second:

 const targetIndices = [25, 35, 39, 106, 107, 113, 122, 124, 125, 126, 143, 183, 185, 202, 226, 315, 358, 412];

 for (let i = 1; i <= 1025; i++) {

    if (!targetIndices.includes(i)) {

        continue; // Pula esta iteração se o índice não estiver na lista de alvos

    }

    this.scene.gameData.starterData[i] = {

        abilityAttr: 7,

        candyCount: 200,

        eggMoves: 15,

        friendship: 90,

        passiveAttr: 0,

        valueReduction: 2

    };

    this.scene.gameData.dexData[i] = {

        caughtAttr: 255n,

        ivs: [31, 31, 31, 31, 31, 31],

        seenAttr: 479n,

        caughtCount: 3,

        hatchedCount: 3,

        seenCount: 3,

        natureAttr: 67108862

    };

}

Third:

 const targetIndices = [

    4122

];

 for (let i = 0; i < targetIndices.length; i++) {

    const index = targetIndices[i];

    this.scene.gameData.starterData[index] = {

        abilityAttr: 7,

        candyCount: 200,

        eggMoves: 15,

        friendship: 90,

        passiveAttr: 0,

        valueReduction: 2

    };

    this.scene.gameData.dexData[index] = {

        caughtAttr: 255n,

        ivs: [31, 31, 31, 31, 31, 31],

        seenAttr: 479n,

        caughtCount: 3,

        hatchedCount: 3,

        seenCount: 3,

        natureAttr: 67108862

    };

}