mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
Merge pull request #1635 from sphericalice/battle-pyramind
Rename GetBattlePyramindTrainerEncounterMusicId to fix typo
This commit is contained in:
commit
3765c1e7f1
@ -14,7 +14,7 @@ void SoftResetInBattlePyramid(void);
|
|||||||
void CopyPyramidTrainerSpeechBefore(u16 trainerId);
|
void CopyPyramidTrainerSpeechBefore(u16 trainerId);
|
||||||
void CopyPyramidTrainerWinSpeech(u16 trainerId);
|
void CopyPyramidTrainerWinSpeech(u16 trainerId);
|
||||||
void CopyPyramidTrainerLoseSpeech(u16 trainerId);
|
void CopyPyramidTrainerLoseSpeech(u16 trainerId);
|
||||||
u8 GetBattlePyramindTrainerEncounterMusicId(u16 trainerId);
|
u8 GetTrainerEncounterMusicIdInBattlePyramid(u16 trainerId);
|
||||||
void GenerateBattlePyramidFloorLayout(u16 *mapArg, bool8 setPlayerPosition);
|
void GenerateBattlePyramidFloorLayout(u16 *mapArg, bool8 setPlayerPosition);
|
||||||
void LoadBattlePyramidObjectEventTemplates(void);
|
void LoadBattlePyramidObjectEventTemplates(void);
|
||||||
void LoadBattlePyramidFloorObjectEventScripts(void);
|
void LoadBattlePyramidFloorObjectEventScripts(void);
|
||||||
|
@ -1465,7 +1465,7 @@ void CopyPyramidTrainerLoseSpeech(u16 trainerId)
|
|||||||
FrontierSpeechToString(gFacilityTrainers[trainerId].speechLose);
|
FrontierSpeechToString(gFacilityTrainers[trainerId].speechLose);
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 GetBattlePyramindTrainerEncounterMusicId(u16 trainerId)
|
u8 GetTrainerEncounterMusicIdInBattlePyramid(u16 trainerId)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -5810,7 +5810,7 @@ s32 GetBattlerMultiplayerId(u16 a1)
|
|||||||
u8 GetTrainerEncounterMusicId(u16 trainerOpponentId)
|
u8 GetTrainerEncounterMusicId(u16 trainerOpponentId)
|
||||||
{
|
{
|
||||||
if (InBattlePyramid())
|
if (InBattlePyramid())
|
||||||
return GetBattlePyramindTrainerEncounterMusicId(trainerOpponentId);
|
return GetTrainerEncounterMusicIdInBattlePyramid(trainerOpponentId);
|
||||||
else if (InTrainerHillChallenge())
|
else if (InTrainerHillChallenge())
|
||||||
return GetTrainerEncounterMusicIdInTrainerHill(trainerOpponentId);
|
return GetTrainerEncounterMusicIdInTrainerHill(trainerOpponentId);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user