mirror of
https://github.com/pret/pokestadium.git
synced 2026-09-15 06:45:19 -05:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user