Add SCL background
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled

This commit is contained in:
Mia 2025-08-20 06:41:28 +00:00 committed by Guangcong Luo
parent ea95464008
commit fe0bad2d8c
2 changed files with 3 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

View File

@ -581,6 +581,9 @@ export class BattleScene implements BattleSceneStub {
} else if (typeof rated === 'string' && rated.startsWith('National Pokemon Association')) {
bg = 'fx/bg-npa.png';
this.setBgm(-101);
} else if (typeof rated === 'string' && rated.startsWith('Smogon Champions League')) {
bg = 'fx/bg-scl.png';
this.setBgm(-101);
} else {
if (gen <= 1) bg = 'fx/bg-gen1.png?';
else if (gen <= 2) bg = 'fx/bg-gen2.png?';