Advertisement
Guest User

F&H Translation Fix

a guest
Dec 1st, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.61 KB | Source Code | 0 0
  1. // If not using "Detailed Equipment Stats" mod
  2. Window_StatCompare.prototype.refresh = function() {
  3.     this.contents.clear();
  4.     if (!this._actor) return;
  5.     for (var i = 0; i < 7; ++i) {
  6.         this.drawItem(0, this.lineHeight() * 0.9 * i, i);
  7.     }
  8. };
  9.  
  10. // If using "Detailed Equipment Stats" mod
  11. // NOTE: Only use this if facing problems with the mod
  12. Window_StatCompare.prototype.drawParamList = function() {
  13.     var params = this.paramIdArray();
  14.     for (var i = 0; i < params.length; i++) {
  15.         var paramId = params[i];
  16.         var posY = this.lineHeight() * 0.9 * i;
  17.         this.drawParam(0, posY, paramId);
  18.     }
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement