ENTD
Jump to navigation
Jump to search
Contains unit data for specific battle. ENTD1.ENT goes from 0x000 to 0x07F, ENTD2.ENT goes from 0x080 to 0x0FF, ENTD3.ENT goes from 0x100 to 0x17F and ENTD4.ENT goes from 0x180 to 0x1FF. Each battle contains 16 slots for units, with 40 bytes for each. So 640 bytes per battle with 128 battles per ENT file equals 80kB. The 40 byte data structure goes like this:
Offset(h) | Size | Description |
---|---|---|
0x00 | 1 | Sprite set. |
0x01 | 1 | Flags = Male-Female-Monster-JoinA-Load-HideStats-unknown-Save. |
0x02 | 1 | Name. |
0x03 | 1 | Level. FE = party level - random. |
0x04 | 2 | Birthday. Month (first byte) - Day (second byte). |
0x06 | 1 | Bravery. FE = random. |
0x07 | 1 | Faith. FE = random. |
0x08 | 1 | Job unlock. Base = 00, Chemist = 01. |
0x09 | 1 | Level of job. |
0x0A | 1 | Main job. |
0x0B | 1 | Secondary skill set. 00 = none. |
0x0C | 2 | Reaction. FE01 = random. |
0x0E | 2 | Support. FE01 = random. |
0x10 | 2 | Movement. FE01 = random. |
0x12 | 1 | Head. |
0x13 | 1 | Body. |
0x14 | 1 | Accessory. |
0x15 | 1 | Right hand. |
0x16 | 1 | Left hand. |
0x17 | 1 | Palette. |
0x18 | 1 | Flags = AlwaysP-RandomlyP-TeamC(2bit)-Control-Immortal-unknown-unknown. |
0x19 | 1 | Position, x value. |
0x1A | 1 | Position, y value. |
0x1B | 1 | Initial direction. South = 00, East = 01, North = 02, West = 03. Upper level ?. |
0x1C | 1 | Experience. |
0x1D | 1 | ???. Value is FF. |
0x1E | 2 | ???. Spoilers? 2 zeros. |
0x20 | 1 | ???. Unit ID. |
0x21 | 2 | ???. 2 zeros. |
0x23 | 1 | Flags = unknown-FocusU-StayNearXY-Aggresive-Defensive-unknown-unknown-unknown. |
0x24 | 1 | Target unit ID. |
0x25 | 3 | ???. 3 zeros. |