summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkiliwily <69381603+kiliwily@users.noreply.github.com>2022-02-09 19:23:44 +0100
committerkiliwily <69381603+kiliwily@users.noreply.github.com>2022-02-09 19:23:44 +0100
commit650b239c800954ab97bd82e205e8afe8912ac26e (patch)
treeb201ce22f28cbbf173e1b9f75fca2a126423d26b
parent8b7458eca127d29dba6f986a7db5264060d8301e (diff)
Updated Increase money limit (markdown)
-rw-r--r--Increase-money-limit.md6
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!
![](https://i.imgur.com/MfLQ3aT.png)
![](https://i.imgur.com/HxZtj9v.png)
-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