Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=============================================================================
- // MenuNextExp.js
- //=============================================================================
- /*:
- * @plugindesc Displays actors required exp to next level in the main menu.
- * @author Jeremy Cannady
- *
- * @help Displays actors required exp to next level in the main menu.
- *
- *
- *
- */
- (function(){
- var copyOfDrawActorSimpleStatus = Window_Base.prototype.drawActorSimpleStatus;
- Window_Base.prototype.drawActorSimpleStatus = function(actor, x, y, width) {
- copyOfDrawActorSimpleStatus.call(this,actor,x,y,width);
- this.drawActorExp(actor, x, y + this.lineHeight() * 2);
- };
- Window_Base.prototype.drawActorExp = function(actor, x, y, width) {
- width = width || 150;
- this.changeTextColor(this.hpColor(actor));
- this.drawText("To next: " + actor.nextRequiredExp(), x, y, width, 'center');
- };
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement