Fixed Dynamax's indicator not disappearing after Dynamax ends (#3510)

This commit is contained in:
Eduardo Quezada D'Ottone 2023-11-01 16:45:03 -03:00 committed by GitHub
parent 24bde64ddb
commit 6cce1b1873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1057,6 +1057,7 @@ static void UpdateLvlInHealthbox(u8 healthboxSpriteId, u8 lvl)
objVram = ConvertIntToDecimalStringN(text + 2, lvl, STR_CONV_MODE_LEFT_ALIGN, 3);
xPos = 5 * (3 - (objVram - (text + 2)));
MegaIndicator_SetVisibilities(healthboxSpriteId, TRUE);
}
windowTileData = AddTextPrinterAndCreateWindowOnHealthbox(text, xPos, 3, 2, &windowId);