Help modifying menu parameters

Hello everyone! I have been creating a Resident Evil style menu and I need your help, it happens that the game I am creating has SaS IV as a combat system, and everything is fine but I would like to show the abilities within the menu, because they work as weapons I would like to create a display that they are equipped next to the real weapon. The problem is, the skill shows up, but it removes my inventory.

Example of what I have done so far; If the character has obtained objects, at the time of obtaining the ability and showing it within the menu, the objects that previously resided there disappear, another problem is that the ability is shown in both menus, being in the menu of common and important objects, I hope you can help me.

I attach a demo in which are the files that help in the behavior of the script. Greetings and thank you very much in advance!

Original thread: https://forums.rpgmakerweb.com/threads/help-modifying-menu-parameters.121361/