Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Encounter

1,378 bytes added, 22:01, 20 March 2005
no edit summary
=== Section 7 ([[User:Terrence Ferguson|Terrence Ferguson]]) ===

As stated, Section 7 is the Encounter listing, and is generally 48 bytes long (not including the Length dword). I've not even started to decrpyt what the other bytes mean around there... I suspect encounter rates and other things. Each encounter is stored something like: xxxxxxxx yyyyyyxx, where the 'x's are the standard Battle ID we're familiar with, and the 'y's are something connected to that specific encounter. Encounters where you can get ambushed appear to be held seperately from the others, too, starting at... what... 0x14? Unsure.

First, every Field file's Encounter section is 48 bytes long (52 if you include the size). It's then split into definite partitions:

0x00: Encounter Data 1, possibly enounter rate in 2nd bytes? (2 bytes)
0x02-0x0D: Encounter+Chance(?) bytes, as stated before. The total of the 'Chance(?)' bytes for this part always adds up to 64 if encounters are possible.
0x0E-0x17: Secondary encounters. Sometimes blank, sometimes gaps. No clue on the chance bytes, or how it relates to previous data.
0x18: Encounter Data 2, same setup as Encounter Data 1. Very often blank, no idea what this data is for.
0x1A-0x25: Encounter+Chance(?) bytes for Encounter Data 2. Again, adds up to 64.
0x26-0x2F: Secondary encounters for Encounter Data 2. Again, no idea what it's used for.