mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-10 03:48:27 +00:00
Replace Title BGM with custom BGM by Firel
Also added descriptions for the battle scene and arena's getBgmLoopPoint methods.
This commit is contained in:
parent
33982c311e
commit
15f88fcc39
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
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user