Remove debug keys for changing class, spawning items, adding xp, and opening the consumables window. Fix XP progress bar so it doesn't loop the sound if the menu is closed early. Pause menu now pauses the game during gameplay. Release Build 7895.

This commit is contained in:
2024-03-03 22:36:37 -06:00
parent 9a6f710201
commit 93081fe7f0
12 changed files with 43 additions and 58 deletions
@@ -44,6 +44,7 @@ All rights reserved.
#include "State_OverworldMap.h"
#include "ProgressBar.h"
#include "SoundEffect.h"
#include "State_LevelComplete.h"
INCLUDE_game
@@ -72,6 +73,7 @@ void Menu::InitializeLevelCompleteWindow(){
Unlock::UnlockArea(State_OverworldMap::GetCurrentConnectionPoint().map);
Merchant::RandomizeTravelingMerchant();
}
State_LevelComplete::TurnOffXPSound();
GameState::ChangeState(States::OVERWORLD_MAP,0.25f);
return true;
};
@@ -79,6 +81,7 @@ void Menu::InitializeLevelCompleteWindow(){
auto nextButtonAction=[](MenuFuncData data){
Unlock::UnlockArea(State_OverworldMap::GetCurrentConnectionPoint().map);
Merchant::RandomizeTravelingMerchant();
State_LevelComplete::TurnOffXPSound();
GameState::ChangeState(States::GAME_HUB,0.25f);
return true;
};