# \[FE12\] Encryption Documentation for Kris's Growth Rate Bonuses

**URL:** <https://feuniverse.us/t/fe12-encryption-documentation-for-kriss-growth-rate-bonuses/26222>\
**Category:** Documentation\
**Tags:** dsfe\
**Created:** [July 10, 2024, 11:28pm UTC](https://feuniverse.us/t/fe12-encryption-documentation-for-kriss-growth-rate-bonuses/26222 "2024-07-10T23:28:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MathIsFun7225](https://feuniverse.us/user_avatar/feuniverse.us/mathisfun7225/32/100977_2.png) [@MathIsFun7225](https://feuniverse.us/u/MathIsFun7225)\
**Post date:** [July 10, 2024, 11:28pm UTC](https://feuniverse.us/t/fe12-encryption-documentation-for-kriss-growth-rate-bonuses/26222/1 "2024-07-10T23:28:30Z")

</div>

This is a follow-up to SciresM’s post on Serenes Forest from a few years ago documenting FE12 growth rate encryption (can’t add links yet). Someone else has probably figured it out already, but I couldn’t find it anywhere, so I’m posting it just in case.

As you probably know, Kris gains bonuses to their base stats and growth rates depending on your choices for their past, present, and future during avatar creation. This data is stored at `0xEF80` in the decompressed `FE12Data.bin` in the form of 15 rows of 16 bytes each, where the first 8 bytes are the base stat bonuses and the next 8 bytes are the growth rate bonuses. The usual stat ordering (HP, Str, Mag, Skl, Spd, Lck, Def, Res) is used. The rows correspond to the past/present/future choices; in order, they are

```plaintext
(Past)
 0 Noble's child
 1 Orphan
 2 Farmer's child
 3 Clergy/Priest's child
 4 Merchant's child

(Present)
 5 Beautiful/Beauty
 6 Diverse/Diversity
 7 Strong/Strength
 8 Kind/Kindness
 9 Wise/Wisdom

(Future)
10 Honorable
11 Recluse
12 Truth-seeker/Enlightened
13 Humanitarian/Humane
14 Rich/Wealthy

```

The growth rate bonuses are encrypted in a similar way to the character/class growth rates. The decryption function is located at `0x2049814` in the DS RAM; it uses the same lookup table as in SciresM’s post, and the index is computed as

```C
index = (encrypted_growth_rate - (0xB7 ^ (0xE1 * ((row_index ^ 0x7B) - 9 * growth_rate_index)))) & 0xFF

```

This information isn’t super useful since it only applies to Kris, but it could be used to edit these growth rates if someone wanted to do so.

---

<div class="post-metadata">

**Author:** ![PurpleMage](https://feuniverse.us/user_avatar/feuniverse.us/purplemage/32/65829_2.png) [@PurpleMage](https://feuniverse.us/u/PurpleMage)\
**Post date:** [July 11, 2024, 9:48am UTC](https://feuniverse.us/t/fe12-encryption-documentation-for-kriss-growth-rate-bonuses/26222/2 "2024-07-11T09:48:15Z")

</div>

Thanks so much for this info! Really wish DSFE hacking could see more progress in general. Pretty sure there was a guy working on a DS equivalent of FEBuilder but he seems to have pretty much stopped working on it. 😢
