AnimaEngine  1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
Data Structures | Typedefs | Functions
pokemon_catalog.h File Reference

Pokemon catalog structure and query database functions. More...

Go to the source code of this file.

Data Structures

struct  PokemonCatalogEntry
 Represents a single species entry in the local database catalog. More...
 

Typedefs

typedef struct PokemonCatalogEntry PokemonCatalogEntry
 Represents a single species entry in the local database catalog. More...
 

Functions

const PokemonCatalogEntryPokemonCatalog_GetEntries (int *out_count)
 Retrieves the entire catalog list of Pokemon entries. More...
 
const PokemonCatalogEntryPokemonCatalog_FindByDexId (int dex_id)
 Finds a Pokemon catalog entry matching a specific National Dex ID. More...
 

Detailed Description

Pokemon catalog structure and query database functions.

Typedef Documentation

◆ PokemonCatalogEntry

Represents a single species entry in the local database catalog.

Function Documentation

◆ PokemonCatalog_FindByDexId()

const PokemonCatalogEntry* PokemonCatalog_FindByDexId ( int  dex_id)

Finds a Pokemon catalog entry matching a specific National Dex ID.

Parameters
dex_idNational Dex ID.
Returns
Catalog entry pointer, or NULL if not found.

◆ PokemonCatalog_GetEntries()

const PokemonCatalogEntry* PokemonCatalog_GetEntries ( int *  out_count)

Retrieves the entire catalog list of Pokemon entries.

Parameters
out_countDestination pointer to store number of entries in the catalog.
Returns
Pointer to the read-only catalog array.