I'm trying to make a mini game and save the score of the game at the end of the game with the following script call:
$gameSystem.onBeforeSave();DataManager.saveGame(1);I used Yami_SkipTitle plugin and I tried to load the game/score on a new game if I use the following script call:
DataManager.loadGame(1);SceneManager.goto(Scene_Map);I get the error message Type Error, Cannot Read Property 'pages' of undefined.
I also tried the following:
DataManager.loadGame(1);$gameSystem.onAfterLoad();SceneManager.goto(Scene_Map);But also receive the same error.
Can anyone help me with this error?
$gameSystem.onBeforeSave();DataManager.saveGame(1);I used Yami_SkipTitle plugin and I tried to load the game/score on a new game if I use the following script call:
DataManager.loadGame(1);SceneManager.goto(Scene_Map);I get the error message Type Error, Cannot Read Property 'pages' of undefined.
I also tried the following:
DataManager.loadGame(1);$gameSystem.onAfterLoad();SceneManager.goto(Scene_Map);But also receive the same error.
Can anyone help me with this error?
