rename: literal 190 → SPECIES_EXTENDED_MAX in func_80022A60

Upper bound of the wider species ID range accepted by func_80022A60
(maps to D_800732FF). Returns SPECIES_BLANK (already named) on
out-of-range.

Callers: func_80021D9C, func_800228F0 (src/232C0.c:121, others)
Still matching: md5 ed1378bc… (verified by `make`)
This commit is contained in:
csaldiasdev
2026-07-05 20:18:39 -04:00
parent f66751412f
commit 5c958f2892

View File

@@ -122,7 +122,7 @@ u8 func_80022A38(s32 arg0) {
}
s32 func_80022A60(s32 arg0) {
if ((arg0 <= 0) || (arg0 > 190)) {
if ((arg0 <= 0) || (arg0 > SPECIES_EXTENDED_MAX)) {
return SPECIES_BLANK;
}