Skip to content

Commit

Permalink
Fixed Dynamax's indicator not disappearing after Dynamax ends (#3510)
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Nov 1, 2023
1 parent 24bde64 commit 6cce1b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/battle_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6cce1b1

Please sign in to comment.