diff options
-rw-r--r-- | Increase-money-limit.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Increase-money-limit.md b/Increase-money-limit.md index 25b0611..4f5d595 100644 --- a/Increase-money-limit.md +++ b/Increase-money-limit.md @@ -18,8 +18,8 @@ The position the money amount is at is now incorrect. We can fix this by editing ```diff void PrintMoneyAmountInMoneyBox(u8 windowId, int amount, u8 speed) { -- PrintMoneyAmount(windowId, 0x26, 1, amount, speed); -+ PrintMoneyAmount(windowId, 0x20, 1, amount, speed); +- PrintMoneyAmount(windowId, 38, 1, amount, speed); ++ PrintMoneyAmount(windowId, 32, 1, amount, speed); } ``` We also need to fix the printing of the money itself, as right now, it only supports a 6 digit number. All we need to do is change 6 to 7 in the same file: @@ -95,4 +95,4 @@ And that's it!   -Note: if you want 8 digits, use `8` instead of `7` for digit count and `0x1A` instead of `0x20`. Don't forget to set `MAX_MONEY` appropriately.
\ No newline at end of file +Note: if you want 8 digits, use `8` instead of `7` for digit count and `26` instead of `32`. Don't forget to set `MAX_MONEY` appropriately.
\ No newline at end of file |