Update src/battle_debug.c
Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
This commit is contained in:
parent
3a12cdb8cb
commit
8005db5040
1 changed files with 2 additions and 1 deletions
|
@ -1834,11 +1834,12 @@ static bool32 TryMoveDigit(struct BattleDebugModifyArrows *modArrows, bool32 mov
|
|||
if (charDigits[modArrows->currentDigit] == CHAR_0)
|
||||
{
|
||||
charDigits[modArrows->currentDigit] = CHAR_9;
|
||||
|
||||
for (i = modArrows->currentDigit - 1; i >= 0; i--)
|
||||
{
|
||||
if (charDigits[i] == CHAR_0)
|
||||
{
|
||||
charDigits[i] = CHAR_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
charDigits[i]--;
|
||||
|
|
Loading…
Reference in a new issue