Hello, I'm trying to make various custom image based menus ( just so that I can make them look more customized and pretty), but I've been running into a problem where if I try to continue/load a game from my custom title menu (located on a map, I'm using ZainWD title skip plugin), it gives me an error saying "Cannot read propety 'pages' of undefined". I tried some other ways of loading the game but they either give the same error or they just don't load anything, just goes back to the title menu and resets it.
(Btw when I put 2 events on a map that call the Save common event and Load common event, and save from one of them and load using the other, it works perfectly, loads everything as it should be as far as I can see it, I think this is an important bit of information that might narrow down where the problem is coming from. Also, when I push scene load, instead of calling my Load common event, and load the file I saved using my custom Save common event, it works as intended, so I'm guessing the problem is not with how the save event is set up.)
I'll attach some images that hopefully could help show more information.
This is how I save the game (this is inside the "!save menu" common event):
This is how I'm trying to load the game (this is inside the "!Load menu" common event):
[Translation: condition: SaveLoad_menu_cursor = 1]
This is how I call the Load common event inside the title menu event (event is set to parallel)
[Translation: Condition: Title_menu_cursor = 2
Condition: Script: DataManager.isAnySavefileExists()
Wait 10 frames
Common event: !Load Menu ]
This is the error message:
And this is the console thing:
I'm sorry if I said anything wrong, English isn't my first language.
I'm very sad that I wasn't able to fix this even though I researched for alot of days, I couldn't fix the problem, thank you for anyone who decides to reply or try to help.
(Btw when I put 2 events on a map that call the Save common event and Load common event, and save from one of them and load using the other, it works perfectly, loads everything as it should be as far as I can see it, I think this is an important bit of information that might narrow down where the problem is coming from. Also, when I push scene load, instead of calling my Load common event, and load the file I saved using my custom Save common event, it works as intended, so I'm guessing the problem is not with how the save event is set up.)
I'll attach some images that hopefully could help show more information.
This is how I save the game (this is inside the "!save menu" common event):
This is how I'm trying to load the game (this is inside the "!Load menu" common event):
[Translation: condition: SaveLoad_menu_cursor = 1]
This is how I call the Load common event inside the title menu event (event is set to parallel)
[Translation: Condition: Title_menu_cursor = 2
Condition: Script: DataManager.isAnySavefileExists()
Wait 10 frames
Common event: !Load Menu ]
This is the error message:
And this is the console thing:
I'm sorry if I said anything wrong, English isn't my first language.
I'm very sad that I wasn't able to fix this even though I researched for alot of days, I couldn't fix the problem, thank you for anyone who decides to reply or try to help.