10-07-2011, 02:02 AM
(10-06-2011, 08:10 PM)Zeriab Wrote: Made a fix for the default battle system where it in some cases would refresh the status windows every frame -_-
Thinking about making a topic for it, but I am probably too lazy >_>
... so that's what causes that lag. I remember the UMS demo goes "wtf" about it, noting it's present even in the default message system. Stuck it in and it was fine.
Okay so what causes aside, why does it happen? What makes that window get refreshed endlessly?
EDIT: ... well okay it seems to be incompatable with XRXS' bitmap number system. Refreshing still seems to happen when it should (numbers changed colour when low stats) but they didn't change. ... hrm, it might be an issue on my end somewhere, no idea where.
EDIT 2: Got another way around it that worked for me.
Added def message_window; return @message_window; end to Scene_Battle, and swapped around @message_window and @status_window in the initialisation - so @message_window was defined first.
Then I added return if $scene.message_window.visible to the start of Window_BattleStatus' refresh.