mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
73 lines
1.4 KiB
C
73 lines
1.4 KiB
C
#ifndef GUARD_POKEMON_DEBUG_H
|
|
#define GUARD_POKEMON_DEBUG_H
|
|
|
|
#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;
|
|
};
|
|
|
|
struct PokemonDebugOptionArrows
|
|
{
|
|
u8 arrowSpriteId[1];
|
|
u8 currentDigit;
|
|
};
|
|
|
|
struct PokemonDebugYPosModifiyArrows
|
|
{
|
|
u8 arrowSpriteId[1];
|
|
u8 currentDigit;
|
|
};
|
|
|
|
struct PokemonSpriteConstValues
|
|
{
|
|
u8 backPicCoords;
|
|
u8 frontPicCoords;
|
|
u8 frontElevation;
|
|
};
|
|
|
|
struct PokemonSpriteOffsets
|
|
{
|
|
s8 offset_back_picCoords;
|
|
s8 offset_front_picCoords;
|
|
s8 offset_front_elevation;
|
|
};
|
|
|
|
struct PokemonDebugMenu
|
|
{
|
|
u16 currentmonId;
|
|
u8 currentmonWindowId;
|
|
u8 InstructionsWindowId;
|
|
u8 frontspriteId;
|
|
u8 backspriteId;
|
|
u8 iconspriteId;
|
|
u8 frontShadowSpriteId;
|
|
bool8 isShiny;
|
|
bool8 isFemale;
|
|
struct PokemonDebugModifyArrows modifyArrows;
|
|
struct PokemonDebugOptionArrows optionArrows;
|
|
struct PokemonDebugYPosModifiyArrows yPosModifyArrows;
|
|
struct PokemonSpriteConstValues constSpriteValues;
|
|
struct PokemonSpriteOffsets offsetsSpriteValues;
|
|
u8 animIdBack;
|
|
u8 animIdFront;
|
|
u8 battleBgType;
|
|
u8 battleTerrain;
|
|
u8 currentSubmenu;
|
|
u8 submenuYpos[3];
|
|
};
|
|
|
|
void CB2_Debug_Pokemon(void);
|
|
|
|
|
|
#endif // GUARD_POKEMON_DEBUG_H
|