Added collision for smaller tileset tiles. Fixed going to hub stage from overworld map (game state is required to be HUB to prevent usage of items on the field). Fix Fire bolt continuously blowing up at the end of its max range.

This commit is contained in:
2024-01-29 20:52:44 -06:00
parent 82b2b83007
commit 7a41361710
18 changed files with 5813 additions and 1810 deletions
@@ -256,8 +256,11 @@ void State_OverworldMap::StartLevel(){
game->UpdateDiscordStatus(State_OverworldMap::GetCurrentConnectionPoint().name,game->GetPlayer()->GetClassName());
SaveFile::SaveGame();
State_OverworldMap::GetCurrentConnectionPoint().SetVisited();
if(State_OverworldMap::GetCurrentConnectionPoint().map.starts_with("STORY")){
if(State_OverworldMap::GetCurrentConnectionPoint().type.starts_with("STORY")){
VisualNovel::LoadVisualNovel(State_OverworldMap::GetCurrentConnectionPoint().map);
}else
if(State_OverworldMap::GetCurrentConnectionPoint().type.starts_with("HUB")){
GameState::ChangeState(States::GAME_HUB,0.3f);
}else{
GameState::ChangeState(States::GAME_RUN,0.3f);
}