mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 05:42:18 +02:00
Cleanup testing / debugging code
This commit is contained in:
parent
3a3e11400f
commit
71a3d76b6a
@ -1000,9 +1000,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
options.push({
|
options.push({
|
||||||
label: `x${eggMoveCost} ${i18next.t("starterSelectUiHandler:learnEggMove")}`,
|
label: `x${eggMoveCost} ${i18next.t("starterSelectUiHandler:learnEggMove")}`,
|
||||||
handler: () => {
|
handler: () => {
|
||||||
if (candyCount >= eggMoveCost || 1==1) {
|
if (candyCount >= eggMoveCost) {
|
||||||
//starterData.valueReduction++;
|
|
||||||
console.log("Egg Move Value: " + this.scene.gameData.starterData[this.lastSpecies.speciesId].eggMoves);
|
|
||||||
for (let em = 0; em < 4; em++) {
|
for (let em = 0; em < 4; em++) {
|
||||||
if (!(this.scene.gameData.starterData[this.lastSpecies.speciesId].eggMoves & Math.pow(2, em))) {
|
if (!(this.scene.gameData.starterData[this.lastSpecies.speciesId].eggMoves & Math.pow(2, em))) {
|
||||||
this.scene.gameData.setEggMoveUnlocked(this.lastSpecies, em);
|
this.scene.gameData.setEggMoveUnlocked(this.lastSpecies, em);
|
||||||
|
Loading…
Reference in New Issue
Block a user