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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user