Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var opacityfix_slotWindow = Window_IngredientSlot.prototype.drawItem
- Window_IngredientSlot.prototype.drawItem = function(index){
- var item = (this._ingList) ? this._ingList[index] : null
- if (item){
- if (item.meta.hasOwnProperty('iconHue')) {
- this.contents.__forceHue = Number(item.meta.iconHue);
- }
- }
- opacityfix_slotWindow.call(this, index);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement