pokestadium/linker_scripts
csaldiasdev e2f23dd1fb rename: D_80070F84 → gSpeciesBaseStats[] + unk_D_80070F84 → PokemonStatsExtended
The per-species base-stats table (HP/Attack/Defense/Speed/Special)
and its sibling all-unk_NN struct. Used in CalculateStatValue
(src/22630.c), func_88600020 (src/fragments/27/fragment27.c),
and battle code (src/fragments/62/*).

Note: also updates linker_scripts/us/symbol_addrs.txt and
undefined_syms.ld — the original 'do not edit linker scripts'
rule from the rename plan was incomplete: when a symbol is
declared by name in symbol_addrs.txt or undefined_syms.ld, the
rename MUST propagate to the linker script, otherwise the new
symbol is undefined and the link fails. The address (0x80070F84)
is preserved.

D_80070FA0[] stays as-is (different table, different layout, kept
on the renamed PokemonStatsExtended type via the extern decl).

Still matching: md5 ed1378bc… (verified by `make`)
2026-07-05 20:28:56 -04:00
..
us rename: D_80070F84 → gSpeciesBaseStats[] + unk_D_80070F84 → PokemonStatsExtended 2026-07-05 20:28:56 -04:00
common_undef_syms.ld a 2024-08-11 05:24:23 +01:00