Skip to content

Commit

Permalink
Workflow test worked, undoing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Jan 29, 2024
1 parent e8a6c46 commit a0bcdbf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/battle_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -3070,19 +3070,14 @@ static void ClearAbilityName(u8 spriteId1, u8 spriteId2)
7, 9, 1);
}

static void PrintBattlerOnAbilityPopUp(u8 battlerId, u8 spriteId1, u8 spriteId2, u8 prueba4)
static void PrintBattlerOnAbilityPopUp(u8 battlerId, u8 spriteId1, u8 spriteId2)
{
u8 prueba1;
u8 prueba2 = 2;
const u8 prueba3 = 3;
u8 prueba5;
int i;
u8 lastChar;
u8* textPtr;
u8 monName[POKEMON_NAME_LENGTH + 3] = {0};
u8* nick = gBattleMons[battlerId].nickname; // This needs to be updated for Illusion support

prueba5 = 5;
for (i = 0; i < POKEMON_NAME_LENGTH; ++i)
{
monName[i] = nick[i];
Expand Down Expand Up @@ -3314,7 +3309,7 @@ void CreateAbilityPopUp(u8 battlerId, u32 ability, bool32 isDoubleBattle)
StartSpriteAnim(&gSprites[spriteId1], 0);
StartSpriteAnim(&gSprites[spriteId2], 0);

PrintBattlerOnAbilityPopUp(battlerId, spriteId1, spriteId2, 0);
PrintBattlerOnAbilityPopUp(battlerId, spriteId1, spriteId2);
PrintAbilityOnAbilityPopUp(ability, spriteId1, spriteId2);
RestoreOverwrittenPixels((void*)(OBJ_VRAM0) + (gSprites[spriteId1].oam.tileNum * 32));
}
Expand Down

0 comments on commit a0bcdbf

Please sign in to comment.