summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-08-25 21:49:26 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-08-25 21:49:26 -0400
commitb2adcd6d6ff91efc764a6ecc65147be7b9cda9e8 (patch)
tree2e7aab609cb4424e74d71da7ad9493419a04f2d6 /engine/events
parent919ed1d4f586e5e64a0f565513937fb47e4f8fba (diff)
Reorganize math-related HRAM union (ffb3)
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/treemons.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/treemons.asm b/engine/events/treemons.asm
index c02884ce3..d3c0b672a 100644
--- a/engine/events/treemons.asm
+++ b/engine/events/treemons.asm
@@ -259,7 +259,7 @@ GetTreeScore:
ld b, 2
call Divide
- ldh a, [hQuotient + 3]
+ ldh a, [hRemainder]
ret
.OTIDScore:
@@ -271,5 +271,5 @@ GetTreeScore:
ldh [hDivisor], a
ld b, 2
call Divide
- ldh a, [hQuotient + 3]
+ ldh a, [hRemainder]
ret