|
|
@ -1994,8 +1994,18 @@ void SeasonI::keyUpdates() { |
|
|
|
switch (GAME_STATE) { |
|
|
|
switch (GAME_STATE) { |
|
|
|
case GameState::FILE_LOAD_SELECT:{ |
|
|
|
case GameState::FILE_LOAD_SELECT:{ |
|
|
|
CursorControl(SAVE_FILE_CURSOR,3); |
|
|
|
CursorControl(SAVE_FILE_CURSOR,3); |
|
|
|
if (ACTIONKEYPRESSED&&SAVE_FILE_DATA[SAVE_FILE_CURSOR].chapterNumber!=-1) { |
|
|
|
if (ACTIONKEYPRESSED) { |
|
|
|
|
|
|
|
if (SAVE_FILE_DATA[SAVE_FILE_CURSOR].chapterNumber!=-1) { |
|
|
|
StartCutscene(CUTSCENES[CutsceneName::LOAD_FILE_CUTSCENE]); |
|
|
|
StartCutscene(CUTSCENES[CutsceneName::LOAD_FILE_CUTSCENE]); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
//This is a new game.
|
|
|
|
|
|
|
|
GAME_STATE=GameState::GAME_WORLD; |
|
|
|
|
|
|
|
MapTransitionCutscene*scene=(MapTransitionCutscene*)CUTSCENES[CutsceneName::TRANSFER_MAP_CUTSCENE]; |
|
|
|
|
|
|
|
std::vector<CutsceneAction*>actions=scene->GetActions(); |
|
|
|
|
|
|
|
class LoadMap*mapLoadAction=(class LoadMap*)actions[1]; |
|
|
|
|
|
|
|
mapLoadAction->SetTargetMap(MAPS[MapName::ONETT]); |
|
|
|
|
|
|
|
StartCutscene(CUTSCENES[CutsceneName::TRANSFER_MAP_CUTSCENE]); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}break; |
|
|
|
}break; |
|
|
|
case GameState::TILE_SELECT:{ |
|
|
|
case GameState::TILE_SELECT:{ |
|
|
|