mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-21 17:46:39 -05:00
32 lines
855 B
C
32 lines
855 B
C
#ifndef GUARD_POKEMON_EVOLUTION_H
|
|
#define GUARD_POKEMON_EVOLUTION_H
|
|
|
|
#include "structs/str_pokemon.h"
|
|
|
|
enum
|
|
{
|
|
EVO_STRING_NOT_NOW,
|
|
EVO_STRING_POSSIBLE,
|
|
EVO_STRING_NO_MORE,
|
|
EVO_STRING_EMPTY,
|
|
};
|
|
|
|
// size: 0x8
|
|
typedef struct EvolveStatus
|
|
{
|
|
/* 0x0 */ u8 evoItem1;
|
|
/* 0x1 */ u8 evoItem2;
|
|
// This value is set to a random number in the range [0, 254].
|
|
// Even values produce Silcoon while odd values produce Cascoon.
|
|
/* 0x2 */ u8 wurmpleVal;
|
|
/* 0x4 */ u16 evolutionConditionStatus;
|
|
/* 0x6 */ s16 targetEvolveSpecies;
|
|
} EvolveStatus;
|
|
|
|
void SetMonEvolveStatus(Pokemon *pokemon, EvolveStatus *evolveStatus,bool8 param_3);
|
|
s32 GetMonSummaryScreenEvoStringId(Pokemon *pokemon);
|
|
Pokemon *sub_808F734(Pokemon *pokemon, s16 _species);
|
|
Pokemon *sub_808F798(Pokemon *pokemon, s16 _species);
|
|
|
|
#endif // GUARD_POKEMON_EVOLUTION_H
|