Document Pokedex Screen

This commit is contained in:
PikalaxALT
2021-04-21 09:21:53 -04:00
parent cf553c7006
commit 704dc2f913
95 changed files with 1521 additions and 1718 deletions
+20 -10
View File
@@ -1,21 +1,31 @@
#ifndef GUARD_POKEDEX_SCREEN_H
#define GUARD_POKEDEX_SCREEN_H
#define DEX_CATEGORY_GRASSLAND 0
#define DEX_CATEGORY_FOREST 1
#define DEX_CATEGORY_WATERS_EDGE 2
#define DEX_CATEGORY_SEA 3
#define DEX_CATEGORY_CAVE 4
#define DEX_CATEGORY_MOUNTAIN 5
#define DEX_CATEGORY_ROUGH_TERRAIN 6
#define DEX_CATEGORY_URBAN 7
#define DEX_CATEGORY_RARE 8
#define DEX_CATEGORY_GRASSLAND 0
#define DEX_CATEGORY_FOREST 1
#define DEX_CATEGORY_WATERS_EDGE 2
#define DEX_CATEGORY_SEA 3
#define DEX_CATEGORY_CAVE 4
#define DEX_CATEGORY_MOUNTAIN 5
#define DEX_CATEGORY_ROUGH_TERRAIN 6
#define DEX_CATEGORY_URBAN 7
#define DEX_CATEGORY_RARE 8
#define DEX_CATEGORY_COUNT 9
#define DEX_ORDER_NUMERICAL_KANTO 0
#define DEX_ORDER_ATOZ 1
#define DEX_ORDER_TYPE 2
#define DEX_ORDER_LIGHTEST 3
#define DEX_ORDER_SMALLEST 4
#define DEX_ORDER_NUMERICAL_NATIONAL 5
#define DEX_MODE(name) (DEX_CATEGORY_COUNT + DEX_ORDER_##name)
#include "pokedex.h"
extern const struct PokedexEntry gPokedexEntries[];
void CB2_OpenPokedexFromStartMenu(void);
s8 sub_8104AB0(u16 nationalDexNo, u8 caseId, bool8 indexIsSpecies);
s8 DexScreen_GetSetPokedexFlag(u16 nationalDexNo, u8 caseId, bool8 indexIsSpecies);
#endif //GUARD_POKEDEX_SCREEN_H