Merge pull request #1940 from LOuroboros/copyMonToPC
Renamed SendMonToPC to CopyMonToPC instead
This commit is contained in:
commit
2e1fe4c82b
1 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ static void Task_PlayMapChosenOrBattleBGM(u8 taskId);
|
|||
static bool8 ShouldGetStatBadgeBoost(u16 flagId, u8 battlerId);
|
||||
static u16 GiveMoveToBoxMon(struct BoxPokemon *boxMon, u16 move);
|
||||
static bool8 ShouldSkipFriendshipChange(void);
|
||||
static u8 SendMonToPC(struct Pokemon *mon);
|
||||
static u8 CopyMonToPC(struct Pokemon *mon);
|
||||
|
||||
EWRAM_DATA static u8 sLearningMoveTableID = 0;
|
||||
EWRAM_DATA u8 gPlayerPartyCount = 0;
|
||||
|
@ -4405,14 +4405,14 @@ u8 GiveMonToPlayer(struct Pokemon *mon)
|
|||
}
|
||||
|
||||
if (i >= PARTY_SIZE)
|
||||
return SendMonToPC(mon);
|
||||
return CopyMonToPC(mon);
|
||||
|
||||
CopyMon(&gPlayerParty[i], mon, sizeof(*mon));
|
||||
gPlayerPartyCount = i + 1;
|
||||
return MON_GIVEN_TO_PARTY;
|
||||
}
|
||||
|
||||
static u8 SendMonToPC(struct Pokemon *mon)
|
||||
static u8 CopyMonToPC(struct Pokemon *mon)
|
||||
{
|
||||
s32 boxNo, boxPos;
|
||||
|
||||
|
|
Loading…
Reference in a new issue