mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-30 05:53:57 -05:00
Fixed graphics bug with Steven double battle (#4078)
Caused the wrong palette to be used during Steven's ball throw animation in the Mossdeep Space Center fight.
This commit is contained in:
@@ -440,7 +440,7 @@ static void PlayerPartnerHandleIntroTrainerBallThrow(u32 battler)
|
||||
const u32 *trainerPal;
|
||||
|
||||
if (gPartnerTrainerId == TRAINER_STEVEN_PARTNER)
|
||||
trainerPal = gTrainerBackPicPaletteTable[TRAINER_STEVEN_PARTNER].data;
|
||||
trainerPal = gTrainerBackPicPaletteTable[TRAINER_BACK_PIC_STEVEN].data;
|
||||
else if (gPartnerTrainerId >= TRAINER_CUSTOM_PARTNER) // Custom multi battle.
|
||||
trainerPal = gTrainerBackPicPaletteTable[gPartnerSpriteId].data;
|
||||
else if (IsAiVsAiBattle())
|
||||
|
||||
Reference in New Issue
Block a user