Update battle_debug.c

This commit is contained in:
Eduardo Quezada D'Ottone 2022-08-24 01:21:06 -04:00 committed by GitHub
parent 21867a6061
commit 2bd06dee1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1001,7 +1001,7 @@ static void Task_ShowAiParty(u8 taskId)
aiMons = AI_PARTY->mons[GET_BATTLER_SIDE(data->aiBattlerId)]; aiMons = AI_PARTY->mons[GET_BATTLER_SIDE(data->aiBattlerId)];
for (i = 0; i < AI_PARTY->count[GET_BATTLER_SIDE(data->aiBattlerId)]; i++) for (i = 0; i < AI_PARTY->count[GET_BATTLER_SIDE(data->aiBattlerId)]; i++)
{ {
u16 species = SPECIES_OLD_UNOWN_B; // Question mark u16 species = SPECIES_NONE; // Question mark
if (aiMons[i].wasSentInBattle && aiMons[i].species) if (aiMons[i].wasSentInBattle && aiMons[i].species)
species = aiMons[i].species; species = aiMons[i].species;
data->spriteIds.aiPartyIcons[i] = CreateMonIcon(species, SpriteCallbackDummy, (i * 41) + 15, 7, 1, 0, FALSE); data->spriteIds.aiPartyIcons[i] = CreateMonIcon(species, SpriteCallbackDummy, (i * 41) + 15, 7, 1, 0, FALSE);