Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HisuianZoroark committed Jan 10, 2024
1 parent b88d3c9 commit a818128
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions data/mods/gen9ssb/conditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,14 @@ export const Conditions: {[k: string]: ModdedConditionData & {innateName?: strin
const tier = this.sample(['pic', 'sketch', 'ggsp']);
switch (tier) {
case 'pic':
friends = ['chromate', 'yuki', 'YoBuddyTheBaker', 'zoe', 'jasprose'];
break;
case 'sketch':
friends = ['Eggs', 'career ended', 'ponchlake'];
break;
default:
friends = ['roonie217', 'chromate', 'tkhanh', 'lilyhii'];
break;
friends = ['chromate', 'yuki', 'YoBuddyTheBaker', 'zoe', 'jasprose'];
break;
case 'sketch':
friends = ['Eggs', 'career ended', 'ponchlake'];
break;
default:
friends = ['roonie217', 'chromate', 'tkhanh', 'lilyhii'];
break;
}
this.add(`c:|${getName('HiZo')}|/pm ${this.sample(friends)}, ${tier}?`);
},
Expand Down
5 changes: 3 additions & 2 deletions data/mods/gen9ssb/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@ export const Scripts: ModdedBattleScriptsData = {
let reviveSwitch = false; // Used to ignore the fake switch for Revival Blessing
if (switches[i] && !this.canSwitch(this.sides[i])) {
for (const pokemon of this.sides[i].active) {
if (this.sides[i].slotConditions[pokemon.position]['revivalblessing'] || this.sides[i].slotConditions[pokemon.position]['scapegoat']) {
if (this.sides[i].slotConditions[pokemon.position]['revivalblessing'] ||
this.sides[i].slotConditions[pokemon.position]['scapegoat']) {
reviveSwitch = true;
continue;
}
Expand Down Expand Up @@ -987,7 +988,7 @@ export const Scripts: ModdedBattleScriptsData = {
case 'switch':
case 'instaswitch':
case 'revivalblessing':
// @ts-ignore custom status
// @ts-ignore custom status falls through
case 'scapegoat':
return `switch ${action.target!.position + 1}`;
case 'team':
Expand Down

0 comments on commit a818128

Please sign in to comment.