07-21-2017, 10:59 PM
(This post was last modified: 07-21-2017, 11:00 PM by DerVVulfman.)
That can happen if you have placed this script in your Script Library incorrectly, and/or have another Item Menu script which conflicts.
This script 'assumes' you have no other Item Menu script, and that you have it below Scene_Debug and above Main. If you have another script that also alters the Item Menu, then it would likely need to be placed below the other... something we call 'script placement'.
The script supplied (above) overrides the normal entry of the Scene_Item.new method, adding the ability to have a new value (or parameter) in the way it is called: Scene_Item.new(true). BUT.... if you have another script 'below this one' that alters either the Scene_Item class or the Window_Item class, it overrides THIS script... causing the error.
This script 'assumes' you have no other Item Menu script, and that you have it below Scene_Debug and above Main. If you have another script that also alters the Item Menu, then it would likely need to be placed below the other... something we call 'script placement'.
The script supplied (above) overrides the normal entry of the Scene_Item.new method, adding the ability to have a new value (or parameter) in the way it is called: Scene_Item.new(true). BUT.... if you have another script 'below this one' that alters either the Scene_Item class or the Window_Item class, it overrides THIS script... causing the error.