EDIT: I have tried also disabling the party system plugin and it still produces the same error.
I am using Yanfly Party system, although I do not think that is what is causing the error I just wanted to clarify.
The way I want my game to work is I will only have 4 followers and 4 battle members, but using the Yanfly Party system a player should be able to switch between active and inactive party members.
The problem, as soon as the 5th character is added to the party (whom does not show as a follower) and I hit 'ESC' to bring up the menu I get the error "number is not a function"
I have pulled up the console and here is the entire error
None of these seem to be coming from the Yanfly Party System plugin, but I do not know much about the structuring of how to JS is complied for the game maker etc.
So what am I doing wrong? Why is it not allowing me to implement the 5th party member without the error? Is there a way to add the character to a list of select-able characters in the Party System (Yanfly says nothing about this in the help file or website so if there is I have no idea how to do it)
Any help would be greatly appreciated, thank you so much.
I am using Yanfly Party system, although I do not think that is what is causing the error I just wanted to clarify.
The way I want my game to work is I will only have 4 followers and 4 battle members, but using the Yanfly Party system a player should be able to switch between active and inactive party members.
The problem, as soon as the 5th character is added to the party (whom does not show as a follower) and I hit 'ESC' to bring up the menu I get the error "number is not a function"
I have pulled up the console and here is the entire error
Code:
TypeError: number is not a function
at Window_MenuCommand.isFormationEnabled (rpg_windows.js:1660)
at Window_MenuCommand.addFormationCommand (rpg_windows.js:1607)
at Window_MenuCommand.makeCommandList (rpg_windows.js:1582)
at Window_MenuCommand.Window_Command.initialize (rpg_windows.js:1295)
at Window_MenuCommand.initialize (rpg_windows.js:1562)
at new Window_MenuCommand (rpg_windows.js:1555)
at Scene_Menu.createCommandWindow (rpg_scenes.js:780)
at Scene_Menu.create (rpg_scenes.js:769)
at Function.SceneManager.changeScene (rpg_managers.js:1654)
at Function.SceneManager.updateMain (rpg_managers.js:1640)
So what am I doing wrong? Why is it not allowing me to implement the 5th party member without the error? Is there a way to add the character to a list of select-able characters in the Party System (Yanfly says nothing about this in the help file or website so if there is I have no idea how to do it)
Any help would be greatly appreciated, thank you so much.
Last edited: