I noticed in the Android version of my game, there's a gigantic amount of lag in one boss encounter, like the game drops to a snail's pace and has severe delayed input reactions. As soon as the battle is over, it's gone again. Happens nowhere else in the game, only on that one boss fight, and only when playing on mobile.
I looked at the eventing, but I can't really find anything that looked like it could cause the gigantic lag, since it's mostly the same as my other bosses except for a few different mechanics. The only mechanics used are respawning adds during certain turns, but I also have encounters with regular enemies respawning adds, and those don't lag. No plugins are used.
Anything that could possibly be the issue?
Could be a bunch of different things, honestly. It's occurring during the entire battle, right? Not just during an animation?
Does the boss have a hue? (I know animations with hues will cause lag, but I'm not sure if the same thing happens with enemies)
Dang. The only thing I could recommend is to try removing the troop''s events (just paste them somewhere else so you don't lose them) and see if that solves the issue; if so, then you know one of the event pages is causing it.
I wonder if it could be an event page triggered by "Moment" rather than battle or turn?
I do, but I have those on my other encounters as well. I suppose I could try to see how it goes if I remove it, although it would break the encounter itself, and testing for mobile is a huge pain.
After trying out some things, it seems it doesn't have anything to do with the battle events, but it's the combination of enemy sprites that's causing it. It's the RTP Goddess and the 4 Elemental Spirits that's causing it. The Sprites are hidden and get knocked out at the start of the battle, then regularly get summoned into battle again.
Not changing anything about the encounter and how it functions, but only replacing the Goddess sprite improves framerate (not perfect, but better than when using her), and keeping the Goddess, but replacing the Elemental Spirits with other enemy sprites also reduces the lag. It's just that when both are put together, it starts slowing down.
So I'm guessing there would be no fix for it?
Thanks, I'll be giving that a try.
70-80% file size reduction is nice, but it didn't solve the lag issue.
I've gone to replacing the monster sprites with mono-colour square boxes, and it still gives lag. I reduced their dimensions to like 10% of the original, and it still gives lag. I replace the 4 Elemental Spirit sprites with like the RTP Bat which are both bigger in filesize as dimensions, and suddenly the FPS is much higher (still a slight lag, but it's playable).
Removing the Elemental Spirits entirely also takes away the lag.
I honestly have no clue what the program is doing that causes this lag when using the Elemental Spirits. Even when the battle encounter has no events running, and uses the same background graphics and regular battle music that nowhere else in the game causes lag, it's messing up in this one.
Have you found any solution to this problem yet? I have the EXACT same problem with one of my encouneters...
I also thought it had to do with the database entries but had no luck replacing the resources...
EDIT: So here's what I did: After a back-up, I copied some other enemy entry on top of the one which was giving me lag issues, replacing it (I know it makes no effing' sense but hold on); I copied all stats from the back-up to this "new and shiny" enemy entry, and voilá! I had no more lag. I carefully replaced all stats, loot, exp, and everything in this new entry so as to make it identical to my original "laggy" monster.
I have NO clue what this could've been... but it worked.
EDIT2: Seems to have something to do with the Agility parameter and the ATB system. :sigh: