pokestadium/include/pokemon.h
csaldiasdev 780c9949d3 add: include/pokemon.h with species ID constants
Defines:
- SPECIES_NONE         = 0
- NATIONAL_DEX_COUNT   = 151
- SPECIES_BLANK        = 152  (out-of-range sentinel)
- SPECIES_EXTENDED_MAX = 190  (Stadium-internal species ID range)

Still matching: md5 ed1378bc… (verified by `make`, header currently unused)
2026-07-05 20:17:53 -04:00

24 lines
1.0 KiB
C

#ifndef _POKEMON_H_
#define _POKEMON_H_
#include "global.h"
// ----------------------------------------------------------------------------
// Species IDs
//
// The codebase uses 1-indexed species IDs throughout. ID 0 is reserved as
// "no species / invalid". The canonical Gen-1 range is 1..NATIONAL_DEX_COUNT.
//
// Several internal APIs (func_80022A60, the moves/effects tables) accept a
// wider range up to SPECIES_EXTENDED_MAX to accommodate Pokemon Stadium-
// specific IDs beyond the national dex (glitch forms, event Pokemon, etc.).
// SPECIES_BLANK is the sentinel returned when a lookup fails or the input
// is out of range.
// ----------------------------------------------------------------------------
#define SPECIES_NONE 0 // invalid / unset / no Pokemon
#define NATIONAL_DEX_COUNT 151 // total Pokemon in Gen 1 national dex
#define SPECIES_BLANK 152 // out-of-range sentinel (returned on lookup failure)
#define SPECIES_EXTENDED_MAX 190 // upper bound of internal species ID range
#endif