Merge branch 'beta' into keybind-migrator

This commit is contained in:
Madmadness65 2025-02-27 15:48:14 -06:00 committed by GitHub
commit 965f4d1e33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 40 additions and 13 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 507 B

After

Width:  |  Height:  |  Size: 528 B

View File

@ -3,12 +3,12 @@
"838394": "4d7dc5",
"62ace6": "8363af",
"7bcdff": "9c75c2",
"ffec8c": "ddfff9",
"fdea88": "ddfff9",
"a1a1c4": "7ab7ec",
"c9b241": "97d6e2",
"dfcf77": "bae7e8",
"ccbd70": "bae7e8",
"174592": "37408c",
"fdfdfd": "b1e5ff",
"f8f8f8": "b1e5ff",
"9c9cc5": "5385c7",
"cdcde6": "7eb7e8",
"396a83": "362864",
@ -18,12 +18,12 @@
"838394": "cc6845",
"62ace6": "c44848",
"7bcdff": "dd6155",
"ffec8c": "ddfff9",
"fdea88": "ddfff9",
"a1a1c4": "f7c685",
"c9b241": "97d6e2",
"dfcf77": "bae7e8",
"ccbd70": "bae7e8",
"174592": "198158",
"fdfdfd": "fff4bd",
"f8f8f8": "fff4bd",
"9c9cc5": "c96a48",
"cdcde6": "f7b785",
"396a83": "5c0d33",

View File

@ -1,17 +1,17 @@
{
"1": {
"838394": "4d7dc5",
"848496": "4d7dc5",
"7bcdff": "9c75c2",
"62ace6": "8363af",
"ffffff": "b1e5ff",
"396a83": "362864",
"9c9cc5": "5385c7",
"cdcde6": "7eb7e8",
"174592": "198158",
"174592": "37408c",
"5a94cd": "7054a4"
},
"2": {
"838394": "cc6845",
"848496": "cc6845",
"7bcdff": "dd6155",
"62ace6": "c44848",
"ffffff": "fff4bd",

View File

@ -250,9 +250,9 @@ export class LoadingScene extends SceneBase {
}
const availableLangs = [ "en", "de", "it", "fr", "ja", "ko", "es-ES", "pt-BR", "zh-CN" ];
if (lang && availableLangs.includes(lang)) {
this.loadImage("valentines2025event-" + lang, "events");
this.loadImage("pkmnday2025event-" + lang, "events");
} else {
this.loadImage("valentines2025event-en", "events");
this.loadImage("pkmnday2025event-en", "events");
}
this.loadAtlas("statuses", "");

View File

@ -2554,7 +2554,7 @@ export function getPartyLuckValue(party: Pokemon[]): number {
return DailyLuck.value;
}
const eventSpecies = globalScene.eventManager.getEventLuckBoostedSpecies();
const luck = Phaser.Math.Clamp(party.map(p => p.isAllowedInBattle() ? p.getLuck() + (eventSpecies.includes(p.species.speciesId) ? 3 : 0) : 0)
const luck = Phaser.Math.Clamp(party.map(p => p.isAllowedInBattle() ? p.getLuck() + (eventSpecies.includes(p.species.speciesId) ? 1 : 0) : 0)
.reduce((total: number, value: number) => total += value, 0), 0, 14);
return Math.min(globalScene.eventManager.getEventLuckBoost() + (luck ?? 0), 14);
}

View File

@ -169,7 +169,7 @@ const timedEvents: TimedEvent[] = [
{ species: Species.WOOBAT },
{ species: Species.FRILLISH },
{ species: Species.ALOMOMOLA },
{ species: Species.FURFROU, formIndex: 1 }, // Heart trim
{ species: Species.FURFROU, formIndex: 1 }, // Heart Trim
{ species: Species.ESPURR },
{ species: Species.SPRITZEE },
{ species: Species.SWIRLIX },
@ -180,6 +180,33 @@ const timedEvents: TimedEvent[] = [
{ species: Species.ENAMORUS }
],
luckBoostedSpecies: [ Species.LUVDISC ]
},
{
name: "PKMNDAY2025",
eventType: EventType.LUCK,
startDate: new Date(Date.UTC(2025, 1, 27)),
endDate: new Date(Date.UTC(2025, 2, 4)),
classicFriendshipMultiplier: 4,
bannerKey: "pkmnday2025event-",
scale: 0.21,
availableLangs: [ "en", "de", "it", "fr", "ja", "ko", "es-ES", "pt-BR", "zh-CN" ],
eventEncounters: [
{ species: Species.PIKACHU, formIndex: 1, blockEvolution: true }, // Partner Form
{ species: Species.EEVEE, formIndex: 1, blockEvolution: true }, // Partner Form
{ species: Species.CHIKORITA },
{ species: Species.TOTODILE },
{ species: Species.TEPIG }
],
luckBoostedSpecies: [
Species.PICHU, Species.PIKACHU, Species.RAICHU, Species.ALOLA_RAICHU,
Species.PSYDUCK, Species.GOLDUCK,
Species.EEVEE, Species.FLAREON, Species.JOLTEON, Species.VAPOREON, Species.ESPEON, Species.UMBREON, Species.LEAFEON, Species.GLACEON, Species.SYLVEON,
Species.CHIKORITA, Species.BAYLEEF, Species.MEGANIUM,
Species.TOTODILE, Species.CROCONAW, Species.FERALIGATR,
Species.TEPIG, Species.PIGNITE, Species.EMBOAR,
Species.ZYGARDE,
Species.ETERNAL_FLOETTE
]
}
];