2021-11-29 21:52:08 +00:00
|
|
|
#ifndef GUARD_POKEMON_DEBUG_H
|
|
|
|
#define GUARD_POKEMON_DEBUG_H
|
|
|
|
|
2021-12-11 11:13:14 +00:00
|
|
|
#include "constants/pokemon_debug.h"
|
|
|
|
|
|
|
|
//Structs
|
|
|
|
struct PokemonDebugModifyArrows
|
|
|
|
{
|
|
|
|
u8 arrowSpriteId[2];
|
|
|
|
u16 minValue;
|
|
|
|
u16 maxValue;
|
|
|
|
int currValue;
|
|
|
|
u8 currentDigit;
|
|
|
|
u8 maxDigits;
|
|
|
|
u8 charDigits[MODIFY_DIGITS_MAX];
|
|
|
|
void *modifiedValPtr;
|
|
|
|
u8 typeOfVal;
|
|
|
|
};
|
|
|
|
|
2021-12-11 14:03:56 +00:00
|
|
|
struct PokemonDebugOptionArrows
|
|
|
|
{
|
|
|
|
u8 arrowSpriteId[2];
|
|
|
|
u8 currentDigit;
|
|
|
|
void *modifiedValPtr;
|
|
|
|
};
|
|
|
|
|
2021-12-11 11:13:14 +00:00
|
|
|
struct PokemonDebugMenu
|
|
|
|
{
|
|
|
|
u16 currentmonId;
|
|
|
|
u8 currentmonWindowId;
|
|
|
|
u8 InstructionsWindowId;
|
|
|
|
u8 frontspriteId;
|
|
|
|
u8 backspriteId;
|
|
|
|
u8 iconspriteId;
|
2021-12-13 14:05:17 +00:00
|
|
|
u8 frontShadowSpriteId;
|
2021-12-11 11:13:14 +00:00
|
|
|
bool8 isShiny;
|
|
|
|
bool8 isFemale;
|
|
|
|
struct PokemonDebugModifyArrows modifyArrows;
|
2021-12-11 14:03:56 +00:00
|
|
|
struct PokemonDebugOptionArrows optionArrows;
|
2021-12-11 11:13:14 +00:00
|
|
|
u8 animIdBack;
|
|
|
|
u8 animIdFront;
|
|
|
|
u8 battleBgType;
|
|
|
|
u8 battleTerrain;
|
2021-12-11 14:03:56 +00:00
|
|
|
bool8 inSubmenu;
|
|
|
|
u8 submenuYpos;
|
2021-12-11 11:13:14 +00:00
|
|
|
};
|
|
|
|
|
2021-11-29 21:52:08 +00:00
|
|
|
void CB2_Debug_Pokemon(void);
|
|
|
|
|
|
|
|
|
|
|
|
#endif // GUARD_POKEMON_DEBUG_H
|