Advertisement
Guest User

huepatch

a guest
Mar 17th, 2021
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. var opacityfix_slotWindow = Window_IngredientSlot.prototype.drawItem
  2. Window_IngredientSlot.prototype.drawItem = function(index){
  3. var item = this._ingList[index]
  4. if (item){
  5. if (item.meta.hasOwnProperty('iconHue')) {
  6. this.contents.__forceHue = Number(item.meta.iconHue);
  7. }
  8.  
  9. }
  10. opacityfix_slotWindow.call(this, index);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement