- Joined
- Sep 24, 2016
- Messages
- 10
- Reaction score
- 1
- First Language
- English
- Primarily Uses
Hi everyone. So i'm trying to make a collectible menu in javascript for my game. I have it so far displaying the menu command in the main menu, the custom menu itself and the items that are part of the custom category. When testing to see if pressing the Ok button on the item would trigger an action, I keep getting a type error for the item. It crashes on my Scene_Collectible.prototype.onPageOk function and that's where i'm completely lost on. I'll post the code I have so far to see if anyone can help.
EDIT: So I modify the script a bit to remove most of the parameters except one command slot and one position slot for testing and I added another photo of where the crash is occuring as well. I at a lost at this point of what to do.

View attachment Collectible Menu.js

EDIT: So I modify the script a bit to remove most of the parameters except one command slot and one position slot for testing and I added another photo of where the crash is occuring as well. I at a lost at this point of what to do.

View attachment Collectible Menu.js

Last edited by a moderator:

