From a0bcdbff42c3597ae3b9901852015195bc6d1a50 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Mon, 29 Jan 2024 13:31:42 -0300 Subject: [PATCH] Workflow test worked, undoing changes --- src/battle_interface.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/battle_interface.c b/src/battle_interface.c index b8bde1b25d34..d3751f702f42 100644 --- a/src/battle_interface.c +++ b/src/battle_interface.c @@ -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]; @@ -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)); }