Site Tools


atb_system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
atb_system [2021/12/31 21:56] – [What happens in each tick] clarification - pointer increments after a timer is handled wylematb_system [2022/05/05 19:46] – Corrections wylem
Line 28: Line 28:
     * If the menu is currently open, the game checks for any conditions that would automatically close it (auto-hide or equipping the Avenger)     * If the menu is currently open, the game checks for any conditions that would automatically close it (auto-hide or equipping the Avenger)
     * If the player has just entered a menu command, it is queued at this point, setting that character's Action Timer accordingly.     * If the player has just entered a menu command, it is queued at this point, setting that character's Action Timer accordingly.
-    * Otherwise, if the menu was not open and any characters are in the Menu Queue, the first is pulled off that queue, and if they are eligible to act, their menu will start to open on the next frame.+    * Otherwise, if the menu was not open and any characters are in the Menu Queue, //and if L+R are not currently being held//, the first is pulled off that queue. If they are eligible to act, their menu will start to open on the next frame.
       * If the character has fired their last arrow, it will be removed here.       * If the character has fired their last arrow, it will be removed here.
       * If the character was Parrying, that status is removed here.       * If the character was Parrying, that status is removed here.
Line 53: Line 53:
  
 The game then finds the lowest Action Timer value, and subtracts one less than that value from all Action Timers. (This effectively skips ahead until the lowest Action Timer is 1) The game then finds the lowest Action Timer value, and subtracts one less than that value from all Action Timers. (This effectively skips ahead until the lowest Action Timer is 1)
 +
 +=====Running=====
 +Immediately after the battle victory/defeat conditions are checked, the game checks if the L and R buttons are both held down during that frame. If so, it first checks whether the party is ready to run.
 +
 +For fights where the enemy in the first slot is less than level 97:
 +  * If a character has entered the menu queue, the party is ready to run.
 +For fights where the enemy in the first slot is level 97 or higher:
 +  * At the start of battle, a run delay timer is set to a value depending on this monster's level.
 +    * This value is 3, 7, or 10 for levels 97, 98, and 99, respectively.
 +  * If the timer has reached zero, the party is ready to run. Otherwise, the run delay timer is decremented, and will be checked again on the next tick.
 +  * Note that if the enemy in the first slot is level 99, then if at any point the player is not holding L+R, the delay timer is set to 15.
 +
 +When the party is ready to run:
 +  * If running is enabled in this fight, the party runs away.
 +  * If running is disabled in this fight, display the "Can't run" message immediately, effectively freezing the ATB for the duration that it's displayed.((The duration is dependent on the Battle Message Speed setting, though some fights automatically use the slowest speed))
 +
 +Note that character menus will not appear while L and R are being held.
atb_system.txt · Last modified: 2023/12/26 20:45 by A User Not Logged in