I've spent the last 2 weeks working on what I would call the perfect game, I had all the enemy stats fleshed out and I just needed to add a few skills, Suddenly I noticed that for some strange reason the enemies and players are doing astronomical amounts of damage to each other. I even adjusted the enemies attack to 0 and turned off of all my scripts, and he's still dishing out like 32 damage points.
So I had to start a new project and move all of my scripts over. Things were going fine until I starting testing out the gameplay aspect, I was using Yanfly's ItemUpgradeSlots and his X_EquipCustomize. When I try to put an item into an Upgrade slot, sometimes I get an error screen saying. "Cannot read property 'iconIndex' of undefined", but here's the strange thing, sometimes it equips the item normally without this screen coming up, also on my old project, I can't seem to replicate this error, despite the fact that these 2 projects are now identical and have identical scripts turned on. I'm starting to wonder if there's a ghost in my computer. Does anyone know what "cannot read property 'iconIndex' of undefined" could possibly be referring too?
Update Solved* After further investigation, the problem was with Yanfly's message code. I used a \it[3] symbol which shows the icon of a state, but since my states are in different order now and that state number didn't exist, it couldn't show an icon for that state.
So I had to start a new project and move all of my scripts over. Things were going fine until I starting testing out the gameplay aspect, I was using Yanfly's ItemUpgradeSlots and his X_EquipCustomize. When I try to put an item into an Upgrade slot, sometimes I get an error screen saying. "Cannot read property 'iconIndex' of undefined", but here's the strange thing, sometimes it equips the item normally without this screen coming up, also on my old project, I can't seem to replicate this error, despite the fact that these 2 projects are now identical and have identical scripts turned on. I'm starting to wonder if there's a ghost in my computer. Does anyone know what "cannot read property 'iconIndex' of undefined" could possibly be referring too?
Update Solved* After further investigation, the problem was with Yanfly's message code. I used a \it[3] symbol which shows the icon of a state, but since my states are in different order now and that state number didn't exist, it couldn't show an icon for that state.