Anonymous

Changes

From Final Fantasy Inside

FF7/Coordinates encoding

298 bytes added, 05:11, 23 May 2019
m
5 revisions imported
* Y is an unsigned value ranging from 0 to 0x37FFF
* Z is signed
* Direction is multiplied by 0x10 after reading from save-game, but that's not affecting anything so we can think of it as a byte value.e.g: 00: South, 40: East, 80: North, C0: West
|-
| 0x00
| PartyCloud|-| 0x01| Tifa|-| 0x02| Cid
|-
| 0x03
| Highwind
|-
| 0x04
| Yellow Chocobo
|-
| 0x05
| 0x06
| Buggy
|-
| 0x07
| Cannon from Junon
|-
| 0x0C
| Phoenix from Fort Condor
|-
| 0x0D
| Submarine
|-
| 0x0E
| Gold Saucer
|-
| 0x0F
| Rocket
|-
| 0x10
| Rocket launch pad
|-
| 0x13
| Chocobo
|-
| 0x18
| North crater dome
|-
| 0x19
| Ancient Forest
|-
| 0x1D
== How to decode coordinates in C ==
Assuming ''1st'' and ''2nd'' are respectively the first and second DWords :