Fixes checking wrong move's Dynamic Move Type in Summary Screen (#6975)

This commit is contained in:
PhallenTree 2025-05-24 14:13:08 +01:00 committed by GitHub
parent 87cbb457f1
commit 0b67aa7546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4308,7 +4308,7 @@ static void SetMoveTypeIcons(void)
if (P_SHOW_DYNAMIC_TYPES)
{
enum MonState state = gMain.inBattle ? MON_IN_BATTLE : MON_OUTSIDE_BATTLE;
type = CheckDynamicMoveType(mon, sMonSummaryScreen->newMove, 0, state); // Bug: in battle, this only shows the dynamic type of battler in position 0
type = CheckDynamicMoveType(mon, summary->moves[i], 0, state); // Bug: in battle, this only shows the dynamic type of battler in position 0
}
SetTypeSpritePosAndPal(type, 85, 32 + (i * 16), i + SPRITE_ARR_ID_TYPE);