Add session scores

This commit is contained in:
Flashfyre committed 2024-03-17 11:36:19 -04:00
1 parent dd03be2646
commit 0701598be6
7 files changed
+95 -24

No files matched your search

+15
View File
@@ -165,6 +165,21 @@ export abstract class PokemonSpeciesForm {
return false;
}
getBaseExp(): integer {
let ret = this.baseExp;
switch (this.getFormSpriteKey()) {
case SpeciesFormKey.MEGA:
case SpeciesFormKey.MEGA_X:
case SpeciesFormKey.MEGA_Y:
case SpeciesFormKey.PRIMAL:
case SpeciesFormKey.GIGANTAMAX:
case SpeciesFormKey.ETERNAMAX:
ret *= 1.5;
break;
}
return ret;
}
getSpriteAtlasPath(female: boolean, formIndex?: integer, shiny?: boolean): string {
return this.getSpriteId(female, formIndex, shiny).replace(/\_{2}/g, '/');
}