Rename UnknownPokemonStruct to BattleTowerPokemon.
This commit is contained in:
+1
-1
@@ -3245,7 +3245,7 @@ static void FillPartnerParty(u16 trainerId)
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
struct EmeraldBattleTowerRecord *record = &gSaveBlock2Ptr->frontier.towerRecords[trainerId];
|
||||
struct UnknownPokemonStruct monData = record->party[gSaveBlock2Ptr->frontier.field_CB4[18 + i]];
|
||||
struct BattleTowerPokemon monData = record->party[gSaveBlock2Ptr->frontier.field_CB4[18 + i]];
|
||||
StringCopy(trainerName, record->name);
|
||||
if (record->language == LANGUAGE_JAPANESE)
|
||||
{
|
||||
|
||||
+3
-3
@@ -2755,7 +2755,7 @@ void CreateMonWithEVSpread(struct Pokemon *mon, u16 species, u8 level, u8 fixedI
|
||||
CalculateMonStats(mon);
|
||||
}
|
||||
|
||||
void sub_806819C(struct Pokemon *mon, struct UnknownPokemonStruct *src)
|
||||
void sub_806819C(struct Pokemon *mon, struct BattleTowerPokemon *src)
|
||||
{
|
||||
s32 i;
|
||||
u8 nickname[30];
|
||||
@@ -2809,7 +2809,7 @@ void sub_806819C(struct Pokemon *mon, struct UnknownPokemonStruct *src)
|
||||
CalculateMonStats(mon);
|
||||
}
|
||||
|
||||
void sub_8068338(struct Pokemon *mon, struct UnknownPokemonStruct *src, bool8 lvl50)
|
||||
void sub_8068338(struct Pokemon *mon, struct BattleTowerPokemon *src, bool8 lvl50)
|
||||
{
|
||||
s32 i;
|
||||
u8 nickname[30];
|
||||
@@ -2937,7 +2937,7 @@ void CreateMonWithEVSpreadNatureOTID(struct Pokemon *mon, u16 species, u8 level,
|
||||
CalculateMonStats(mon);
|
||||
}
|
||||
|
||||
void sub_80686FC(struct Pokemon *mon, struct UnknownPokemonStruct *dest)
|
||||
void sub_80686FC(struct Pokemon *mon, struct BattleTowerPokemon *dest)
|
||||
{
|
||||
s32 i;
|
||||
u16 heldItem;
|
||||
|
||||
+2
-2
@@ -647,7 +647,7 @@ static void ReceiveOldManData(OldMan *oldMan, size_t recordSize, u8 which)
|
||||
static void ReceiveBattleTowerData(void *battleTowerRecord, size_t recordSize, u8 which)
|
||||
{
|
||||
struct EmeraldBattleTowerRecord *dest;
|
||||
struct UnknownPokemonStruct *btPokemon;
|
||||
struct BattleTowerPokemon *btPokemon;
|
||||
u32 mixIndices[4];
|
||||
s32 i;
|
||||
|
||||
@@ -1866,7 +1866,7 @@ static void SanitizeEmeraldBattleTowerRecord(struct EmeraldBattleTowerRecord *ds
|
||||
|
||||
for (i = 0; i < 4; i++)
|
||||
{
|
||||
struct UnknownPokemonStruct *towerMon = &dst->party[i];
|
||||
struct BattleTowerPokemon *towerMon = &dst->party[i];
|
||||
if (towerMon->species != 0)
|
||||
StripExtCtrlCodes(towerMon->nickname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user