rename: D_800733BF → gSpeciesGrowthRate[], D_80073457 → gSpeciesEggGroup[]

Two more per-species tables (152 bytes each, 1..151 + slot 0):

  gSpeciesGrowthRate[152]  - accessed by func_80022A88
  gSpeciesEggGroup[152]     - accessed by func_80022A98

Same encoding caveat as the Type tables: stored values do not
match standard Gen-1 encodings (Growth rate is normally 0..4
in Gen-1, Egg Group is 0..14 or 0..15). Naming reflects function
context; the actual encoding is unverified.

Still matching: md5 ed1378bc… (verified by `make`)
This commit is contained in:
csaldiasdev
2026-07-05 21:52:55 -04:00
parent a8d9782d64
commit 2ee11ecfa9

View File

@@ -130,15 +130,15 @@ s32 func_80022A60(s32 arg0) {
}
u8 func_80022A88(s32 arg0) {
extern u8 D_800733BF[];
extern u8 gSpeciesGrowthRate[];
return D_800733BF[arg0];
return gSpeciesGrowthRate[arg0];
}
u8 func_80022A98(s32 arg0) {
extern u8 D_80073457[];
extern u8 gSpeciesEggGroup[];
return D_80073457[arg0];
return gSpeciesEggGroup[arg0];
}
s32 func_80022AA8(s32 arg0) {