Compare commits
8 Commits
86e5bb6db6
...
f9ac4bd666
Author | SHA1 | Date |
---|---|---|
podar | f9ac4bd666 | |
Madmadness65 | ec09186264 | |
NightKev | e88b8aeb6f | |
AJ Fontaine | 8d20b7b5e0 | |
damocleas | d14a5b8819 | |
NightKev | 7563a6cd0b | |
AJ Fontaine | 9fb9bb7e5d | |
damocleas | 7ee573937e |
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"version": "1.5.0",
|
"version": "1.5.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"version": "1.5.0",
|
"version": "1.5.2",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@material/material-color-utilities": "^0.2.7",
|
"@material/material-color-utilities": "^0.2.7",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "pokemon-rogue-battle",
|
"name": "pokemon-rogue-battle",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.5.0",
|
"version": "1.5.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "vite",
|
"start": "vite",
|
||||||
|
|
Binary file not shown.
|
@ -2084,8 +2084,11 @@ export default class BattleScene extends SceneBase {
|
||||||
return sound;
|
return sound;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** The loop point of any given battle, mystery encounter, or title track, read as seconds and milliseconds. */
|
||||||
getBgmLoopPoint(bgmName: string): number {
|
getBgmLoopPoint(bgmName: string): number {
|
||||||
switch (bgmName) {
|
switch (bgmName) {
|
||||||
|
case "title": //Firel PokéRogue Title
|
||||||
|
return 46.500;
|
||||||
case "battle_kanto_champion": //B2W2 Kanto Champion Battle
|
case "battle_kanto_champion": //B2W2 Kanto Champion Battle
|
||||||
return 13.950;
|
return 13.950;
|
||||||
case "battle_johto_champion": //B2W2 Johto Champion Battle
|
case "battle_johto_champion": //B2W2 Johto Champion Battle
|
||||||
|
|
|
@ -890,7 +890,7 @@ export function getRandomEncounterSpecies(level: number, isBoss: boolean = false
|
||||||
|
|
||||||
if (eventEncounters.length > 0 && randSeedInt(2) === 1) {
|
if (eventEncounters.length > 0 && randSeedInt(2) === 1) {
|
||||||
const eventEncounter = randSeedItem(eventEncounters);
|
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;
|
isEventEncounter = true;
|
||||||
bossSpecies = getPokemonSpecies(levelSpecies);
|
bossSpecies = getPokemonSpecies(levelSpecies);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -695,6 +695,7 @@ export class Arena {
|
||||||
globalScene.loadBgm(this.bgm);
|
globalScene.loadBgm(this.bgm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** The loop point of any given biome track, read as seconds and milliseconds. */
|
||||||
getBgmLoopPoint(): number {
|
getBgmLoopPoint(): number {
|
||||||
switch (this.biomeType) {
|
switch (this.biomeType) {
|
||||||
case Biome.TOWN:
|
case Biome.TOWN:
|
||||||
|
|
|
@ -102,7 +102,7 @@ const timedEvents: TimedEvent[] = [
|
||||||
endDate: new Date(Date.UTC(2025, 1, 3, 0)),
|
endDate: new Date(Date.UTC(2025, 1, 3, 0)),
|
||||||
bannerKey: "yearofthesnakeevent-",
|
bannerKey: "yearofthesnakeevent-",
|
||||||
scale: 0.21,
|
scale: 0.21,
|
||||||
availableLangs: [],
|
availableLangs: [ "en", "de", "it", "fr", "ja", "ko", "es-ES", "pt-BR", "zh-CN" ],
|
||||||
eventEncounters: [
|
eventEncounters: [
|
||||||
{ species: Species.EKANS },
|
{ species: Species.EKANS },
|
||||||
{ species: Species.ONIX },
|
{ species: Species.ONIX },
|
||||||
|
|
Loading…
Reference in New Issue