Merge branch 'beta' into bgm-changes
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "pokemon-rogue-battle",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "pokemon-rogue-battle",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.2",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@material/material-color-utilities": "^0.2.7",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "pokemon-rogue-battle",
|
||||
"private": true,
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.2",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
|
BIN
public/images/events/yearofthesnakeevent-de.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
public/images/events/yearofthesnakeevent-en.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/images/events/yearofthesnakeevent-es-ES.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/images/events/yearofthesnakeevent-fr.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/images/events/yearofthesnakeevent-it.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/images/events/yearofthesnakeevent-ja.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/images/events/yearofthesnakeevent-ko.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/images/events/yearofthesnakeevent-pt-BR.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/images/events/yearofthesnakeevent-zh-CN.png
Normal file
After Width: | Height: | Size: 43 KiB |
@ -1 +1 @@
|
||||
Subproject commit e07ab625f2080afe36b61fad291b0ec5eff4000c
|
||||
Subproject commit 5ef993b95fa8248adc0fb7d9489baccf546bf8e3
|
@ -890,7 +890,7 @@ export function getRandomEncounterSpecies(level: number, isBoss: boolean = false
|
||||
|
||||
if (eventEncounters.length > 0 && randSeedInt(2) === 1) {
|
||||
const eventEncounter = randSeedItem(eventEncounters);
|
||||
const levelSpecies = getPokemonSpecies(eventEncounter.species).getWildSpeciesForLevel(level, !isNullOrUndefined(eventEncounter.blockEvolution), isBoss, globalScene.gameMode);
|
||||
const levelSpecies = getPokemonSpecies(eventEncounter.species).getWildSpeciesForLevel(level, !eventEncounter.blockEvolution, isBoss, globalScene.gameMode);
|
||||
isEventEncounter = true;
|
||||
bossSpecies = getPokemonSpecies(levelSpecies);
|
||||
} else {
|
||||
|
@ -246,9 +246,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("winter_holidays2024-event-" + lang, "events");
|
||||
this.loadImage("yearofthesnakeevent-" + lang, "events");
|
||||
} else {
|
||||
this.loadImage("winter_holidays2024-event-en", "events");
|
||||
this.loadImage("yearofthesnakeevent-en", "events");
|
||||
}
|
||||
|
||||
this.loadAtlas("statuses", "");
|
||||
|
@ -29,7 +29,7 @@ export class TrainerVictoryPhase extends BattlePhase {
|
||||
globalScene.unshiftPhase(new ModifierRewardPhase(modifierRewardFunc));
|
||||
}
|
||||
|
||||
if (globalScene.eventManager.getShinyMultiplier() > 1) { //If a shiny boosting event is active
|
||||
if (globalScene.eventManager.isEventActive()) {
|
||||
for (const rewardFunc of globalScene.currentBattle.trainer?.config.eventRewardFuncs!) {
|
||||
globalScene.unshiftPhase(new ModifierRewardPhase(rewardFunc));
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ const timedEvents: TimedEvent[] = [
|
||||
endDate: new Date(Date.UTC(2025, 1, 3, 0)),
|
||||
bannerKey: "yearofthesnakeevent-",
|
||||
scale: 0.21,
|
||||
availableLangs: [],
|
||||
availableLangs: [ "en", "de", "it", "fr", "ja", "ko", "es-ES", "pt-BR", "zh-CN" ],
|
||||
eventEncounters: [
|
||||
{ species: Species.EKANS },
|
||||
{ species: Species.ONIX },
|
||||
|