06-03-2015, 01:00 AM
That seems excessive even then. You know that the stats will change after an attack/spell/item, so you should just have the refresh for that window there. Otherwise, it's just refreshing every few frames without a need to.
i still can't work out why my item window has a lag/jump when opening ;; ... It doesn't seem to even be any of the edits to it or Window_Selectable, I'm confused...
EDIT: It seems to be the items themselves. I don't know why, but the presence of a bunch of "loot" items, that aren't even included in-battle because they have a Never use condition, is what causes a heavier jump. x -x
EDIT: This is the sequence VXAce seems to go through to check if an item should be drawn in the BattleItem window. Here's each definition, and the definition/s referenced:
i still can't work out why my item window has a lag/jump when opening ;; ... It doesn't seem to even be any of the edits to it or Window_Selectable, I'm confused...
EDIT: It seems to be the items themselves. I don't know why, but the presence of a bunch of "loot" items, that aren't even included in-battle because they have a Never use condition, is what causes a heavier jump. x -x
EDIT: This is the sequence VXAce seems to go through to check if an item should be drawn in the BattleItem window. Here's each definition, and the definition/s referenced:
PHP Code:
<?php
# Window_BattleItem
def include?(item)
$game_party.usable?(item)
end
PHP Code:
<?php
# Game_Party
def usable?(item)
members.any? {|actor| actor.usable?(item) }
end