Got the top 8 showing. Now to just figure out why the order doesn't match
Almost had it. in your clean project it is a bit off.
Inspecting the order glitch - I see that the original script is not correct.
I removed everything I made and it still does not show the correct icon when selecting the enemy.
So it's not me. The script does not align the correct battler to the icon shown.
*tested PCTB option and it worked fine.
Its the one you didn't want right from the start.
That's why I wrote the extra scripts. You don't want PCTB you want DTB.
When I tested the PCTB in default horizontal mode, it work perfectly.
When I tested DTB in horizontal it did not. Probably a fault in the script since PCTB tells you who is next and you do the action for that actor. It doesn't move the icons for selecting the enemy.
But the DTB does move the icons, and it's not aligning.
What I'm seeing is that the attack order right now in my test is correct for the icons, but the enemy selection is not correct. When you choose to attack the bat, the icon for the slime move out. When you select the rat the bat move out. The enemy window is not getting passed to the battle order to tell it what icon to highlight when selecting the enemy (or actor).
I would like to figure this out as much as you, but it's making me go in circles looking for where the data is not correct.
I... have come up with a way to turn it on and off!
if self.y > 27 && $game_switches[980] == false
self.opacity = 255 unless @battler.hidden? || (!@show_dead && @battler.dead?)
@first_time = true
else
self.opacity = -255
@update_ordergauge = true
end
-
next if i <= 2 unless $game_switches[980] == true
next if i > 7 unless $game_switches[980] == false
So what this is:
If this switch is on, it will cut the extra icons if there are more than 8 battlers, leaving only the top eight visible since reversing the original array did that for some reason.
If it's off, then it will display like normal for fights with less than 8 battlers.
Tweaking my code is proving that it is possible for 8+ battlers to properly work, but I haven't gotten it down pat. The icons work at turn 0 and they update when the turn actually starts, but they stay glitched and weird when you choose actions. Likely because they just stack on each other and don't actually move forward.
I took part of what you did and combined it with mine.
I got the selecting the correct icons working, but now I actual realize that the order is incorrect.
Working on it.
Do you have the icons showing the correct order?
I've tried putting this into my project and only had to make one small adjustment.
I was surprised. I use Victor Sant Animated Battlers and it still worked.
Now to decide if I want to use it.