Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
| /*: | |
| * @plugindesc Fixes YEP_MessageCore, by making the name window (when using \n<x>) disappear immediately, instead of after a few frames. | |
| * @author Ben Hendel-Doying | |
| * | |
| * @help Must be included AFTER YEP_MessageCore, of course. | |
| * | |
| * Without the fix, if you start a battle immediately after a message box that used \n<x>, the name may remain on-screen | |
| * throughout the combat (definitely happens if you don't have a battle background; not sure about other cases.) | |
| */ | |
| (function() { | |
| const originalYEPMessageWindowTerminateMessage = Yanfly.Message.Window_Message_terminateMessage; | |
| Window_Message.prototype.terminateMessage = function() { | |
| this._nameWindow.hide(); | |
| originalYEPMessageWindowTerminateMessage.call(this); | |
| }; | |
| })(); |