Last active
January 7, 2020 14:26
-
-
Save jiro4989/4cd3f2e71aaf3c520aa2633ba59592e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var upstream_Game_Party_gainItem = Game_Party.prototype.gainItem; | |
| Game_Party.prototype.gainItem = function (item, amount, includeEquip) { | |
| upstream_Game_Party_gainItem.apply(this, arguments); | |
| if (amount > 0) { | |
| TextLastGet.item = item; | |
| $gameVariables.setValue(1, item.id); // 追加した処理。変数99にアイテムのIDを格納したいのであれば1を99に変更する | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment