2024-06-09 17:12:35 +01:00
|
|
|
#ifndef GUARD_POKEMON_SPRITE_VISUALIZER_H
|
|
|
|
#define GUARD_POKEMON_SPRITE_VISUALIZER_H
|
2021-11-29 21:52:08 +00:00
|
|
|
|
2024-06-09 17:12:35 +01:00
|
|
|
#include "constants/pokemon_sprite_visualizer.h"
|
2021-12-11 11:13:14 +00:00
|
|
|
|
|
|
|
//Structs
|
2024-06-09 17:12:35 +01:00
|
|
|
struct PokemonSpriteVisualizerModifyArrows
|
2021-12-11 11:13:14 +00:00
|
|
|
{
|
|
|
|
u8 arrowSpriteId[2];
|
|
|
|
u16 minValue;
|
|
|
|
u16 maxValue;
|
|
|
|
int currValue;
|
|
|
|
u8 currentDigit;
|
|
|
|
u8 maxDigits;
|
|
|
|
u8 charDigits[MODIFY_DIGITS_MAX];
|
|
|
|
void *modifiedValPtr;
|
|
|
|
u8 typeOfVal;
|
|
|
|
};
|
|
|
|
|
2024-06-09 17:12:35 +01:00
|
|
|
struct PokemonSpriteVisualizerOptionArrows
|
2021-12-11 14:03:56 +00:00
|
|
|
{
|
2021-12-13 21:31:37 +00:00
|
|
|
u8 arrowSpriteId[1];
|
2021-12-11 14:03:56 +00:00
|
|
|
u8 currentDigit;
|
2021-12-13 21:31:37 +00:00
|
|
|
};
|
|
|
|
|
2024-06-09 17:12:35 +01:00
|
|
|
struct PokemonSpriteVisualizerYPosModifiyArrows
|
2021-12-13 21:31:37 +00:00
|
|
|
{
|
|
|
|
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;
|
2021-12-11 14:03:56 +00:00
|
|
|
};
|
|
|
|
|
2024-06-09 17:12:35 +01:00
|
|
|
struct PokemonSpriteVisualizer
|
2021-12-11 11:13:14 +00:00
|
|
|
{
|
|
|
|
u16 currentmonId;
|
|
|
|
u8 currentmonWindowId;
|
|
|
|
u8 InstructionsWindowId;
|
|
|
|
u8 frontspriteId;
|
|
|
|
u8 backspriteId;
|
|
|
|
u8 iconspriteId;
|
2024-01-18 15:00:11 +00:00
|
|
|
u8 followerspriteId;
|
2021-12-13 14:05:17 +00:00
|
|
|
u8 frontShadowSpriteId;
|
2021-12-11 11:13:14 +00:00
|
|
|
bool8 isShiny;
|
|
|
|
bool8 isFemale;
|
2024-06-09 17:12:35 +01:00
|
|
|
struct PokemonSpriteVisualizerModifyArrows modifyArrows;
|
|
|
|
struct PokemonSpriteVisualizerOptionArrows optionArrows;
|
|
|
|
struct PokemonSpriteVisualizerYPosModifiyArrows yPosModifyArrows;
|
2021-12-13 21:31:37 +00:00
|
|
|
struct PokemonSpriteConstValues constSpriteValues;
|
|
|
|
struct PokemonSpriteOffsets offsetsSpriteValues;
|
2021-12-11 11:13:14 +00:00
|
|
|
u8 animIdBack;
|
|
|
|
u8 animIdFront;
|
|
|
|
u8 battleBgType;
|
|
|
|
u8 battleTerrain;
|
2021-12-13 21:31:37 +00:00
|
|
|
u8 currentSubmenu;
|
|
|
|
u8 submenuYpos[3];
|
2021-12-11 11:13:14 +00:00
|
|
|
};
|
|
|
|
|
2024-06-09 17:12:35 +01:00
|
|
|
void CB2_Pokemon_Sprite_Visualizer(void);
|
2021-11-29 21:52:08 +00:00
|
|
|
|
|
|
|
|
2024-06-09 17:12:35 +01:00
|
|
|
#endif // GUARD_POKEMON_SPRITE_VISUALIZER_H
|