mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 19:54:21 +01:00
Fix ability pop-up properly updating text (#3107)
This commit is contained in:
parent
cf9b933a5f
commit
98ae1beaec
@ -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)
|
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[spriteId1].oam.tileNum * 32) + 256,
|
||||||
(void*)(OBJ_VRAM0) + (gSprites[spriteId2].oam.tileNum * 32) + 256,
|
(void*)(OBJ_VRAM0) + (gSprites[spriteId2].oam.tileNum * 32) + 256,
|
||||||
5, 12,
|
5, 12,
|
||||||
|
Loading…
Reference in New Issue
Block a user