diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-07-08 15:43:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 15:43:45 -0400 |
commit | 8b80b417e2172a44098a22473717da20585bd15d (patch) | |
tree | 2568b0dadaaf9dc2351da835bfaeacd11000b694 /src/battle_controller_link_opponent.c | |
parent | 550875757b6bbe3cde41c928c6bbef863b5492bf (diff) | |
parent | e50777042528a667b4196ed6879b39e573457494 (diff) |
Merge pull request #1069 from GriffinRichards/doc-link
Document linking
Diffstat (limited to 'src/battle_controller_link_opponent.c')
-rw-r--r-- | src/battle_controller_link_opponent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_controller_link_opponent.c b/src/battle_controller_link_opponent.c index 6604fa142..ce22c605f 100644 --- a/src/battle_controller_link_opponent.c +++ b/src/battle_controller_link_opponent.c @@ -1267,9 +1267,9 @@ static void LinkOpponentHandleDrawTrainerPic(void) else { xPos = 176; - if (gTrainerBattleOpponent_A == TRAINER_OPPONENT_C00) + if (gTrainerBattleOpponent_A == TRAINER_UNION_ROOM) { - trainerPicId = sub_8068B48(); + trainerPicId = GetUnionRoomTrainerPic(); } else if ((gLinkPlayers[GetMultiplayerId() ^ BIT_SIDE].version & 0xFF) == VERSION_FIRE_RED || (gLinkPlayers[GetMultiplayerId() ^ BIT_SIDE].version & 0xFF) == VERSION_LEAF_GREEN) |