diff --git a/src/battle-scene.ts b/src/battle-scene.ts index 667f2537b17..6ccbaacb4cc 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -107,7 +107,7 @@ export default class BattleScene extends SceneBase { * @remarks * The `expParty` can have several modes: * - `0` - Default: The normal experience gain display, nothing changed. - * - `1` - Only level up: Displays the level up in the small frame instead of a message. + * - `1` - Level Up Notification: Displays the level up in the small frame instead of a message. * - `2` - Skip: No level up frame nor message. * * Modes `1` and `2` are still compatible with stats display, level up, new move, etc. diff --git a/src/phases.ts b/src/phases.ts index cebd44a7667..b96db053b08 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3678,7 +3678,7 @@ export class ShowPartyExpBarPhase extends PlayerPartyMemberPokemonPhase { } else if (this.scene.expParty === 1) { // 1 - Only level up - we display the level up in the small frame instead of a message if (newLevel > lastLevel) { // this means if we level up // instead of displaying the exp gain in the small frame, we display the new level - // we use the same method for the normal and the only up, by giving a parameter saying to display the exp or the level + // we use the same method for mode 0 & 1, by giving a parameter saying to display the exp or the level this.scene.partyExpBar.showPokemonExp(pokemon, exp.value, this.scene.expParty === 1, newLevel).then(() => { setTimeout(() => this.end(), 500 / Math.pow(2, this.scene.expGainsSpeed)); }); diff --git a/src/system/settings.ts b/src/system/settings.ts index 2f5a54ee735..e93e5ce0627 100644 --- a/src/system/settings.ts +++ b/src/system/settings.ts @@ -21,7 +21,7 @@ export enum Setting { Move_Animations = "MOVE_ANIMATIONS", Show_Stats_on_Level_Up = "SHOW_LEVEL_UP_STATS", EXP_Gains_Speed = "EXP_GAINS_SPEED", - EXP_Party = "EXP_PARTY", + EXP_Party_Display = "EXP_PARTY_DISPLAY", HP_Bar_Speed = "HP_BAR_SPEED", Fusion_Palette_Swaps = "FUSION_PALETTE_SWAPS", Player_Gender = "PLAYER_GENDER", @@ -54,7 +54,7 @@ export const settingOptions: SettingOptions = { [Setting.Move_Animations]: [ 'Off', 'On' ], [Setting.Show_Stats_on_Level_Up]: [ 'Off', 'On' ], [Setting.EXP_Gains_Speed]: [ 'Normal', 'Fast', 'Faster', 'Skip' ], - [Setting.EXP_Party]: [ 'Normal', 'Only Up', 'Skip' ], + [Setting.EXP_Party_Display]: [ 'Normal', 'Level Up Notification', 'Skip' ], [Setting.HP_Bar_Speed]: [ 'Normal', 'Fast', 'Faster', 'Instant' ], [Setting.Fusion_Palette_Swaps]: [ 'Off', 'On' ], [Setting.Player_Gender]: [ 'Boy', 'Girl' ], @@ -79,7 +79,7 @@ export const settingDefaults: SettingDefaults = { [Setting.Move_Animations]: 1, [Setting.Show_Stats_on_Level_Up]: 1, [Setting.EXP_Gains_Speed]: 0, - [Setting.EXP_Party]: 0, + [Setting.EXP_Party_Display]: 0, [Setting.HP_Bar_Speed]: 0, [Setting.Fusion_Palette_Swaps]: 1, [Setting.Player_Gender]: 0, @@ -137,7 +137,7 @@ export function setSetting(scene: BattleScene, setting: Setting, value: integer) case Setting.EXP_Gains_Speed: scene.expGainsSpeed = value; break; - case Setting.EXP_Party: + case Setting.EXP_Party_Display: scene.expParty = value; break; case Setting.HP_Bar_Speed: