Changes
Jump to navigation
Jump to search
→Global Values: Clarified several things
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Address
! style="background:rgb(204,204,204)" colspan="2" | Value
|-
| 0x2000
| colspan="2" | Command Index of last action performed
|-
| 0x2008
| colspan="2" | Action Index of last action performed
|-
| 0x2010
| colspan="2" | Memory 1/2 Bank access value
|-
| 0x2018
| colspan="2" | DUMMY. Used in one script in a test enemy.
|-
| 0x2020
| colspan="2" | Battle Formation (side, pincer, pre-emptive, etc.)
|-
| 0x2038
|style="background:rgb(255,255,204)" colspan="2" | Limit Level. Only used by Vincent during transformation.
|-
| 0x2050
| colspan="2" | Active Actor List. A bit mask of all active (scripts enabled) actors.
|-
| 0x2060
| colspan="2" | Single bit indicating which actor owns the script that is currently executing. Changes as scripts are triggered.
|-
| 0x2070
| colspan="2" | Bit mask of actors indicating targets of the current action. Should be set prior to any action.
|-
| 0x2080
| colspan="2" | Bit mask of actors indicating actors the current actor considers as allies. Changes as scripts are triggered.
|-
| 0x2090
| colspan="2" | Bit mask of ''active'' actors indicating actors the current actor considers as allies. Changes as scripts are triggered.
|-
| 0x20A0
| colspan="2" | Bit mask of actors indicating actors the current actor considers as enemies. Changes as scripts are triggered.
|-
| 0x20B0
| colspan="2" | Bit mask of ''active'' actors indicating actors the current actor considers as enemies. Changes as scripts are triggered.
|-
| 0x20C0
| colspan="2" | Bit mask of active player's characters
|-
| 0x20E0
| colspan="2" | Bit mask of all active and inactive actors present in the battle.
|-
| 0x2110
|style="background:rgb(255,255,204)" colspan="2" | Set of flags indicating battle rewards (some functions unknown; most won't be set until end of battle).|-| style="background:rgb(204,204,255)" rowspan="6"|| 02 | End battle; Marked as Escaped|-| 04| End battle; Pose for Victory (if 40 is unset)|-| 08 | End battle; No Reward|-| 10| End battle (unsets 8 unless escaped, unsets 2 in that case)|-| 20 | (unsets 4)|-| 40 | No Victory Pose (unsets 20)
|-
| 0x2120
| colspan="2" | Elements of last performed action.
|-
| 0x2140
| colspan="2" | Formation Index of the current battle.
|-
| 0x2150
| colspan="2" | Index of last performed action.
|-
| 0x2160
|style="background:rgb(255,255,204)" colspan="2" | Some sort of flags (unknown effect).|-| style="background:rgb(204,204,255)" rowspan="6"|| 01 ||-| 02 | Don't apply poison/regen?|-| 04 | Other battles in sequence|-| 08| Empty all players' Limit Bars (and other things)|-| 10 | Players can learn limits (never unset?)|-| 20 | No reward screen?
|-
| 0x2170
| colspan="2" | [[FF7/Battle/Special Attack Flags|Special Attack Flags]].
|-
| 0x2180
|style="background:rgb(255,255,204)" colspan="2" | Unknown(divisor of some sort)
|-
| 0x21A0
|style="background:rgb(255,255,204)" colspan="2" | Something to do with String display Does something when displaying names during battle if name label is FFFF (not sure what).
|-
| 0x21C0
| colspan="2" | Party's Gil
|}