• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 19, 2024, 03:59:28 pm

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


Allowing FFTPatcher to edit unknown bytes?

Started by nitwit, September 10, 2016, 01:43:19 pm

nitwit

http://ffhacktics.com/wiki/Data/Table_Locations

While scrolling through this page in the wiki, I noticed that there are a few unused/unknown bytes in several data tables.

80062eb8 - Item Data Start (12 bytes each)
0x00 - Palette
0x01 - Sprite ID
0x02 - Required Level (for random generation)
0x03: Type Flags
0x80 - Weapon
0x40 - Shield
0x20 - Headgear
0x10 - Armor
0x08 - Accessory
0x04 -
0x02 - Rare
0x01 -
0x04 - Second Table ID
0x05: Item Type
01 - Knife
02 - Ninja Blade
03 - Sword
04 - Knight Sword
05 - Katana
06 - Axe
07 - Rod
08 - Staff
09 - Flail
0a - Gun
0b - Crossbow
0c - Bow
0d - Instrument
0e - Book
0f - Polearm
10 - Pole
11 - Bag
12 - Cloth
13 - Shield
14 - Helmet
15 - Hat
16 - Hair Adornment
17 - Armor
18 - Clothing
19 - Robe
1a - Shoes
1b - Armguard
1c - Ring
1d - Armlet
1e - Cloak
1f - Perfume
20 - Throwing
21 - Bomb
22 - Item
0x06 -                         //unknown/unused
0x07 - Item Attributes
0x08 - Price
0x0a - Shop Availability
0x0b -                         //unknown/unused


80063ab8 - Weapon Secondary Data
0x00 - Range
0x01 - Attack Flags
0x80 - Striking
0x40 - Lunging
0x20 - Direct
0x10 - Arc
0x08 - 2 Swords
0x04 - 2 Hands
0x02 - Throwable
0x01 - Forced 2 Hands
0x02 - Formula
0x03 -                         //unknown/unused
0x04 - Weapon Power
0x05 - Evade
0x06: Element
0x80 - Fire
0x40 - Lightning
0x20 - Ice
0x10 - Wind
0x08 - Earth
0x04 - Water
0x02 - Holy
0x01 - Dark
0x07 - Inflict Status/Cast Spell