Anonymous

Changes

From Final Fantasy Inside

FF7/Command data

649 bytes added, 07:46, 18 October 2008
no edit summary
This section contains the data for Menu commands. Each record is 16 bytes long.
<i>(Note:This information has been provided by NFITC1. Please thank him for his hard work as reversing is a stub, this information was lost when my hard drive died)long and thankless task.}</i>
--[[User:Halkun|Halkun]] 21:18, 9 Mar 2005 (CST)</i>
 {| border="0" cellpadding="3" cellspacing="1" style="background: rgb(0,0,0)" align="center"
! style="background:rgb(204,204,204); width:50px;" align="center" | Offset
! style="background:rgb(204,204,204); width:50px;" | Length
! style="background:rgb(204,204,204); width:275px;" colspan="2" | Description
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;0x00|style="background:rgb(255,255,255)" | 1 byte|style="background:rgb(255,255,255)" | Initial Cursor Action*
|style="background:rgb(255,255,255)" | &nbsp;
|-
|style="background:rgb(255,255,255)" align="center" | 0x01
|style="background:rgb(255,255,255)" | 1 byte
|style="background:rgb(255,255,255)" | Force Targeting**
|style="background:rgb(255,255,255)" | &nbsp;
|-
|style="background:rgb(255,255,255)" align="center" | 0x02
|style="background:rgb(255,255,255)" | 2 bytes
|style="background:rgb(255,255,255)" | Unknown (Always [FFh])
|style="background:rgb(255,255,255)" | &nbsp;
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;0x04|style="background:rgb(255,255,255)" | &nbsp;2 bytes|style="background:rgb(255,255,255)" | Single Target Camera
|style="background:rgb(255,255,255)" | &nbsp;
|-
|style="background:rgb(255,255,255)" align="center" | 0x04
|style="background:rgb(255,255,255)" | 2 bytes
|style="background:rgb(255,255,255)" | Multiple Targets Camera
|style="background:rgb(255,255,255)" | &nbsp;
|}
<nowiki>*Initial Cursor Action:</nowiki>
The different values will tell it what to do or what menu to bring up:
 
{|border="1"
|-
!style="background:rgb(204,204,204);" align="center" |Value
!style="background:rgb(204,204,204);" align="center" |Effect
|-
|0h
|Perform command, using selected target
|-
|1h
|Magic Menu
|-
|2h
|Summon Menu
|-
|3h
|Item Menu
|-
|4h
|E.Skill Menu
|-
|5h
|Throw Menu
|-
|6h
|Limit Menu
|-
|7h
|Start on enemy
|-
|8h
|W-Item Menu
|-
|9h
|W-Magic Menu
|-
|Ah
|W-Summon Menu
|-
|Bh
|Coin Menu
|}
 
Note: If this value is 0h and Target is NULL (FFh) then the action will be performed without showing the cursor.
 
<nowiki>** Targeting data:</nowiki>
This is the targeting data used throughout the battle engine to determine which battle participant (PCs and monsters alike) to perform damage calculation upon. It is stored as an 8-bit bitmask:
{|border="1"
|-
|!style="background:rgb(255204,255204,255204); " align="center" | &nbsp;Bitmask|!style="background:rgb(255204,255204,255204)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|stylealign="background:rgb(255,255,255)center" | &nbsp;Effect
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;01h|style="background:rgb(255Enable selection. Without this,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;the target cannot be changed from the participant performing the command.
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;02h|style="background:rgb(255,255,255)" | &nbsp;Start on Enemies. This will default the target to the first member of the opposing row.
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;04h|style="background:rgb(255,255,255)" | &nbsp;Multiple by default. This will select all targets on a row.
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;08h|style=Multiple "background:rgb(255,255,255)toggle" | &nbsp;. This will enable toggling between a single target or multiple targets.|style=Magics that have this enabled must be linked to an "background:rgb(255,255,255)All" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;to be multiple. Commands must have a Mega-All.
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;10h|style="background:rgb(255,255,255)" | &nbsp;One side only. This will not let you choose another row other than the one defined by 02h.
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;20h|style="background:rgb(255,255,255)" | &nbsp;Not used. No effect?
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;40h|style="background:rgb(255,255,255)" | &nbsp;All participants. Targets all available targets in the battle.
|-
|style="background:rgb(255,255,255)" align="center" | &nbsp;|style="background:rgb(255,255,255)" | &nbsp;80h|style="background:rgb(255Random target. Choose,255from among selected targets,255)" | &nbsp;one to perform damage calculation upon.|style="background:rgb(255,255,255)" | &nbsp;}
Anonymous user