diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2022-01-09 15:49:02 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2022-01-10 13:48:08 -0500 |
commit | 08a18d6e32d5e9d02c42eed46ef7356c3ad41df7 (patch) | |
tree | 44d3ad18d681d6e3328c411cf8fc7e23cbd9a2f6 /src/battle_controller_link_opponent.c | |
parent | d0c79e4e479d633b65cb5a821de882416946a975 (diff) |
Sync/update trainer classes
Diffstat (limited to 'src/battle_controller_link_opponent.c')
-rw-r--r-- | src/battle_controller_link_opponent.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/battle_controller_link_opponent.c b/src/battle_controller_link_opponent.c index 410fd2e4c..b2dc31480 100644 --- a/src/battle_controller_link_opponent.c +++ b/src/battle_controller_link_opponent.c @@ -13,7 +13,7 @@ #include "battle_message.h" #include "constants/battle_anim.h" #include "constants/songs.h" -#include "constants/facility_trainer_classes.h" +#include "constants/trainers.h" static void LinkOpponentHandleGetMonData(void); static void LinkOpponentHandleGetRawMonData(void); @@ -1117,9 +1117,9 @@ static void LinkOpponentHandleDrawTrainerPic(void) || (gLinkPlayers[GetBattlerMultiplayerId(gActiveBattler)].version & 0xFF) == VERSION_EMERALD) { if (gLinkPlayers[GetBattlerMultiplayerId(gActiveBattler)].gender != MALE) - trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_5]; + trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_MAY]; else - trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_2]; + trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_BRENDAN]; } else if (gLinkPlayers[GetBattlerMultiplayerId(gActiveBattler)].gender != MALE) { @@ -1142,9 +1142,9 @@ static void LinkOpponentHandleDrawTrainerPic(void) || (gLinkPlayers[GetMultiplayerId() ^ BIT_SIDE].version & 0xFF) == VERSION_EMERALD) { if (gLinkPlayers[GetMultiplayerId() ^ BIT_SIDE].gender != MALE) - trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_5]; + trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_MAY]; else - trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_2]; + trainerPicId = gFacilityClassToPicIndex[FACILITY_CLASS_PKMN_TRAINER_BRENDAN]; } else if (gLinkPlayers[GetMultiplayerId() ^ BIT_SIDE].gender != MALE) { |