Hi all, I'm having trouble getting MOG's treasure popup to work in certain circumstances. When I use an event's Change Items command (or weapons, or armour, or gold) it works perfectly.
However, when I try to add items using the $gameParty.gainItem command, MOG's treasure popup ignore it. That's because the event command calls Game_Interpreter.prototype.command126, and it is in the modified MOG's command126 (or 127 or 128) that the popup is called (after command126 calls gainItem).
MOG did this because these commands indicate the source event, whereas gainItem does not (or appears to not).
So, I want a script call that lets me access command126, and not just gainitem because I need to pass the event id so my treasure popups show up over the events in question (and therefore look good).
Hope this makes sense, and hope you all can help.
Thanks!
However, when I try to add items using the $gameParty.gainItem command, MOG's treasure popup ignore it. That's because the event command calls Game_Interpreter.prototype.command126, and it is in the modified MOG's command126 (or 127 or 128) that the popup is called (after command126 calls gainItem).
MOG did this because these commands indicate the source event, whereas gainItem does not (or appears to not).
So, I want a script call that lets me access command126, and not just gainitem because I need to pass the event id so my treasure popups show up over the events in question (and therefore look good).
Hope this makes sense, and hope you all can help.
Thanks!