Changes

Jump to navigation Jump to search

FF7/Battle/Battle Mechanics

3,852 bytes added, 22:38, 30 September 2013
Another memory block. Lots of gaps in this one, though.
|-
|}
 
==Actor Battle Data==
Similar to Active Character Data, but more detailed. This data is dependent on who is performing the current action and only one instance of it exists during each action and all stats are relative to the performing actor and current action unless otherwise noted. Addresses 200h and above will change for each target of the action.
 
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" align="center" | Offset
! style="background:rgb(204,204,204)" | Value
|-
| 0h
| Index
|-
| 4h
| Level
|-
| 8h
| Formation Entry (Enemy A, Enemy B, etc)
|-
| 0Ch
| Command Index
|-
| 10h
| Action Index
|-
| 14h
| Action Animation Base (for relative to absolute animation indexes)
|-
| 18h
| Allowed Targets (Active and targetable)
|-
| 1Ch
| Active Allies?
|-
| 20h
| Command Animation (player characters only)
|-
| 24h
| [[FF7/Battle/Attack Effect Id List|Attack Effect]]
|-
| 28h
| Command Index (again)
|-
| 2Ch
| Action Index (again)
|-
| 30h
| Self Mask
|-
| 38h
| MP Cost
|-
| 3Ch
| Action Accuracy
|-
| 40h
| [[FF7/Battle/Damage Calculation|Damage Calculation]]
|-
| 44h
| Action's Element
|-
| 48h
| Action's Power
|-
| 4Ch
| Phys/Mag Attack Power
|-
| 50h
| Action's Target(s) Mask
|-
| 54h
| Normal Impact Sound
|-
| 58h
| Critical Impact Sound
|-
| 5Ch
| Miss Sound
|-
| 60h
| Single Target Camera
|-
| 64h
| Multi Target Camera
|-
| 68h
| Action Reaction Animation Index
|-
| 6Ch
| [[FF7/Battle/Attack_Special_Effects|Attack Special Effects]]
|-
| 78h
| Non-self target mask?
|-
| 80h
| Inflicting Status(es)
|-
| 84h
| Curing Status(es)
|-
| 88h
| Toggling Status(es)
|-
| 8Ch
| Chance to inflict Status
|-
| 90h
| Command Properties (details pending)
|-
| 94h
| Target Mask
|-
| 98h
| Attack Index position in scene data (enemy only)
|-
| A0h
| Action Accuracy function (upper nybble of [[FF7/Battle/Damage Calculation|Damage Calculation]])
|-
| A4h
| Action Damage function (lower nybble of [[FF7/Battle/Damage Calculation|Damage Calculation]])
|-
| ACh
| Quad Magic Count?
|-
| B0h
| Number of attack damage calculations?
|-
| B4h
| Follow-up action count (Tifa's Limits, Finishing Touch, etc)
|-
| B8h
| Number of Targets?
|-
| BCh
| [[FF7/Battle/Attack_Special_Effects|Attack Additional Effects]]
|-
| C0h
| Additional Effect Modifier
|-
| C4h
| Attack Power
|-
| C8h
| Actor's current status
|-
| D0h - D7h
| Follow-up Action(s)
|-
| D8h
| Actor's Strength
|-
| DCh
| Used during String display?
|-
| E0h
| Number of successful hits
|-
| F0h
| Character-specific action properties (mp absorb, hp absorb, etc)
|-
| F8h
| Related to enabled magic. Also ACh above.
|-
| FCh
| Multiple hit count
|-
| 100h - 1FFh
| large unused gap
|-
| 200h
| ???
|-
| 204h
| Character Map (players only)
|-
| 208h
| Current Target Index
|-
| 20Ch
| Formation Slot
|-
| 210h
| Target's Phys/Mag Def (whichever attack type is)
|-
| 214h
| Damage done to target
|-
| 218h
| Properties of attack (miss, magic, physical, steal, always hit, activate barriers, morph, etc)
|-
| 220h
| More properties (heal, critical, damage MP, etc)
|-
| 224h
| Target's reaction animation
|-
| 228h
| Target's status
|-
| 22Ch
| Target's status immunities
|-
| 230h
| Damage level to current Action (double, normal, half, etc)
|-
| 234h
| Target condition flags (back exposed, multiple targets, etc)
|-
| 238h
| Status(es) to add to Target
|-
| 23Ch
| Status(es) to Cure from Target
|-
| 240h
| Status(es) to Toggle from Target
|-
| 244h
| All Target's statuses that will be affected from action
|-
| 248h
| Sound to play (determined from hit/critical/miss sounds above)
|-
| 24Ch
| Action Animation to use (varies from single/multiple targets)
|-
| 254h
| Target's Level
|-
| 258h
| Target's HP
|-
| 25Ch
| Target's MP
|-
| 260h
| Action's final Accuracy
|-}
Anonymous user

Navigation menu