Hi everyone, I'm poking around in some of the character stats trying to work at a few details about how the element grids function. And I think I've mostly sorted out out the bitmasks that enable grids as well as how they are initially set when a character joins your party. But I'm running into trouble understanding how the game determines which slot to open up at what level. I'm not sure if it's set explicitly in some other data block or if there's a formula related to star level.
I'll use Serge's block as an example (from :MKL122788's character gamefaq)
[ 22 ][ 31 ][ 39 ][ ][ ][ ][ ][ ]
[ 19 ][ 20 ][ 24 ][ 30 ][ ][ ][ ][ ]
[ 12 ][ 14 ][ 16 ][ 23 ][ 36 ][ ][ ][ ]
[ 07 ][ 08 ][ 09 ][ 13 ][ 21 ][ 34 ][ 46 ][ 48 ]
[ 00 ][ 00 ][ 00 ][ 05 ][ 11 ][ 18 ][ 26 ][ 37 ]
[ 01 ][ 02 ][ 03 ][ 10 ][ 15 ][ 29 ][ 35 ][ 41 ]
[ 04 ][ 06 ][ 25 ][ 28 ][ 33 ][ 40 ][ 43 ][ 44 ]
[ 17 ][ 27 ][ 32 ][ 47 ][ ][ ][ ][ ]
At star level 0, there is one open slot in level 1, 2, and 3, on the fourth row, which is basically the center of the grid. This is the case for every character, except Sprigg because she has no low level elements. The rest of the slots are denoted with a number indicating which star level they will be unlocked. I can't find anywhere that determines this growth pattern, and it's varies quite a bit character to character.
Referencing the stat data block for Serge at 0x13B721C8:
xx 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
00 - 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 - 00 00 00 00 01 40 32 00 09 05 55 08 07 07 0A 0A
02 - 20 00 96 00 00 00 00 00 00 00 00 00 00 00 00 00
03 - FC 03 FC 03 FC 03 F8 03 F0 01 E0 01 E0 01 E0 01
04 - 00 40 00 40 00 40 00 40 69 40 00 40 00 40 00 40
05 - 00 40 00 40 00 40 00 40 55 40 00 40 00 40 00 40
06 - 00 40 00 40 00 40 00 40 00 40 A0 C0 00 40 00 40
07 - 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40
08 - 00 40 00 40 A1 C0 00 40 00 40 00 40 00 40 00 40
09 - 00 40 00 40 A2 C0 00 40 00 40 00 40 00 40 00 40
0A - 00 00 7B 00 32 14 00 00 00 00 00 00 00 00 00 00
Line 03 is the bitmask series (2 bytes per grid level), that indicate the final grid shape
Line 04-09 are the specific element slot values (2 bytes per value, with the upper nibble of the high byte being a flag for slot behavior; bit 7 means occupied for stuff like a tech, bit 6 is default)
I don't see any other areas of the data block that would indicate which slots open at what level. Does anyone know more about this?