Special Trainer IDs

This commit is contained in:
Eduardo Quezada
2022-08-18 12:58:27 -04:00
parent e37c78c73f
commit 26e8d57ba1
7 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -1122,7 +1122,7 @@ static void OpponentHandleDrawTrainerPic(void)
{
u32 trainerPicId;
if (gTrainerBattleOpponent_A == 0x400)
if (gTrainerBattleOpponent_A == TRAINER_SECRET_BASE)
trainerPicId = GetSecretBaseTrainerPicIndex();
else if (gBattleTypeFlags & BATTLE_TYPE_BATTLE_TOWER)
trainerPicId = GetBattleTowerTrainerFrontSpriteId();
@@ -1152,7 +1152,7 @@ static void OpponentHandleTrainerSlide(void)
{
u32 trainerPicId;
if (gTrainerBattleOpponent_A == 0x400)
if (gTrainerBattleOpponent_A == TRAINER_SECRET_BASE)
trainerPicId = GetSecretBaseTrainerPicIndex();
else if (gBattleTypeFlags & BATTLE_TYPE_BATTLE_TOWER)
trainerPicId = GetBattleTowerTrainerFrontSpriteId();