FANDOM


# Effect Code # Effect Code
1 Check Locals and Globals for initial effects
2 Check Battlers' ATB Cost (Lightning Returns Final Fantasy XIII)
var l:int = battler.length;
for (var i:int=0; i < l; i++)
{
if battler[i].time >= 100
{
#3
}
else
{
#4
}
}
#5
3 Add battler to act list
actlist.push(battlers[i])
4 Increase battler time
battlers[i].time += battlers[i].speed
5 Check if act list is empty
if actlist.length
{
#6
#7
}
else
{
#2
}
6 Sort act list
actlist.sort("time","turns"(reversed),"speed")
7 Double check and execute acts
var l:int = actlist.length
for (var i:int=0; i < l; i++)
{
if actlist[i].time >= 100 then
{
actlist[i].act();
actlist.remove(i);
}
else
{
actlist.remove(i);
}
}
#2

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.