This commit is contained in:
André Bastos Dias 2026-06-02 14:06:18 +01:00 committed by GitHub
commit 773549d147
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,13 @@ export const Conditions: import('../../../sim/dex-conditions').ModdedConditionDa
}
},
},
choicelock: {
inherit: true,
onStart(pokemon) {
if (!pokemon.lastMove || ['mimic', 'sketch', 'transform'].includes(pokemon.lastMove.id)) return false;
this.effectState.move = pokemon.lastMove.id;
},
},
sandstorm: {
inherit: true,
onModifySpD: undefined, // no inherit