Fix ability pop-up properly updating text (#3107)

This commit is contained in:
DizzyEggg 2023-07-06 21:10:28 +02:00 committed by GitHub
parent cf9b933a5f
commit 98ae1beaec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2880,10 +2880,10 @@ static void PrintOnAbilityPopUp(const u8 *str, u8 *spriteTileData1, u8 *spriteTi
}
}
static const u8 sText_Space16[]= _(" ");
static const u8 sText_Spaces20[]= _(" ");
static void ClearAbilityName(u8 spriteId1, u8 spriteId2)
{
PrintOnAbilityPopUp(sText_Space16,
PrintOnAbilityPopUp(sText_Spaces20,
(void*)(OBJ_VRAM0) + (gSprites[spriteId1].oam.tileNum * 32) + 256,
(void*)(OBJ_VRAM0) + (gSprites[spriteId2].oam.tileNum * 32) + 256,
5, 12,