Chao General

This page lists all of the basic, general, or miscellanous chao offsets.

Basics

Name

Offset (hex)0x12
Offset (decimal)18
Data typeString (7 chars)
The name of the chao. See the Chao Name Encoding page for more information.

Chao garden

Offset (hex)0x81
Offset (decimal)129
Data typeByte (SADXChaoGarden enum or SA2BChaoGarden enum)
A value representing the chao garden that the chao currently resides in. See the SADXChaoGarden enum or SA2BChaoGarden enum (depending on the game) for more information.

Happiness

Offset (hex)0x82
Offset (decimal)130
Data typeSigned byte
A value from -100 to +100 representing the chao’s happiness. In SADX, a chao must have over 30 happiness in order to reincarnate, and over 50 happiness in order to transform into a Chaos chao. In SA2B, a chao must have over 50 happiness in order to reincarnate, and over 80 happiness in order to transform into a Chaos chao.

Reset trigger

Offset (hex)0x438
Offset (decimal)1080
Data typeBoolean
A boolean value which triggers an immediate reset of the chao when set to false. This value is normally set to true, but when it is changed to false, the chao is instantly reinitialised to a child state based on its current DNA settings; the value then also changes back to true automatically.

Life

Remaining lifespan 1

Offset (hex)0x8A
Offset (decimal)138
Data typeShort
A value from 0-9,999 representing the chao’s remaining lifespan. This normally starts off around 3,800 (varying per chao), and only counts down when the chao is an adult. When this value reaches 0, the chao dies or reincarnates. This value cannot increase beyond the value of “Remaining lifespan 2” (see below).

Remaining lifespan 2

Offset (hex)0x8C
Offset (decimal)140
Data typeShort
A value from 0-9,999 representing the chao’s remaining lifespan. This normally starts off around 3,800 (varying per chao), and only counts down when the chao is an adult. When this value reaches 0, the chao dies or reincarnates.

Reincarnations

Offset (hex)0x8E
Offset (decimal)142
Data typeShort
A value representing the chao’s total number of reincarnations. A chao needs to have had at least two reincarnations in order to transform into a Chaos chao.

Learnt abilities

SADX animal behaviours

Offset (hex)0x4E0
Offset (decimal)1248
Data typeShort (SADXAnimalFlags enum)
A value representing the SADX animal behaviours that the chao has learnt. This is a flag field, where every bit in the value represents a different animal behaviour as a boolean value. See the SADXAnimalFlags enum for more information.
Note that both SADX and SA2B store this data, as it is retained when transferring the chao between games.
In SADX, a chao must have learnt every SADX animal behaviour in order to transform into a Chaos chao.

SA2B animal behaviours

Offset (hex)0x118
Offset (decimal)280
Data typeShort (SA2BAnimalFlags enum)
A value representing the SA2B animal behaviours that the chao has learnt. This is a flag field, where every bit in the value represents a different animal behaviour as a boolean value. See the SADXAnimalFlags enum for more information.
Note that both SADX and SA2B store this data, as it is retained when transferring the chao between games.
In SA2B, a chao must have learnt every SA2B animal behaviour in order to transform into a Chaos chao.

SA2B classroom skills

Offset (hex)0x160
Offset (decimal)352
Data typeInt (ClassroomLessonFlags enum)
A value representing the SA2B classroom skills that the chao has learnt. This is a flag field, where every bit in the value represents a different lesson as a boolean value. See the ClassroomLessonFlags enum for more information.
Note that both SADX and SA2B store this data, as it is retained when transferring the chao between games.

SA2B toys

Offset (hex)0x164
Offset (decimal)356
Data typeShort (ToyFlags enum)
A value representing the SA2B animal behaviours that the chao has learnt. This is a flag field, where every bit in the value represents a different animal behaviour as a boolean value. See the ToyFlags enum for more information.
Note that both SADX and SA2B store this data, as it is retained when transferring the chao between games.

PC Chao Hacking Guide

Coco the Mascot Chao