Gen 1: Fix sleep cure priority (#8819)

This commit is contained in:
Kris Johnson 2022-06-24 19:30:42 -06:00 committed by GitHub
parent 3a18259674
commit 235c67d12d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,7 @@ export const Conditions: {[id: string]: ModdedConditionData} = {
pokemon.lastMove = null;
return false;
},
onAfterMoveSelfPriority: 3,
onAfterMoveSelf(pokemon) {
if (pokemon.statusState.time <= 0) pokemon.cureStatus();
},