Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Crystal Beans from Dungeon Explorer/Stat Pair

From Data Crystal
Jump to navigation Jump to search

This is a sub-page of Crystal Beans from Dungeon Explorer.

Stat Pair
Game Crystal Beans From Dungeon Explorer
Start Address varied
End Address varied
# of Entries varied (usually 35)
Entry Length 2
Total Length varied (usually 70)
Back to the ROM/RAM map

The Stat Pair is used by the game engine to store 2 byte value in a word to simplify access since all objects in the game are referenced by a word offset. For example a Strength/Intelligence stat pair array is stored 1 byte for the Strength of the first object then 1 byte for the Intelligence of the first object, followed by the Strength and Intelligence of the second object, etc.