hQuotient is a four-byte buffer (fixes #558)
This commit is contained in:
@@ -250,9 +250,9 @@ GetTreeScore:
|
||||
ld b, 2
|
||||
call Divide
|
||||
|
||||
ldh a, [hQuotient + 1]
|
||||
ldh [hDividend], a
|
||||
ldh a, [hQuotient + 2]
|
||||
ldh [hDividend], a
|
||||
ldh a, [hQuotient + 3]
|
||||
ldh [hDividend + 1], a
|
||||
ld a, 10
|
||||
ldh [hDivisor], a
|
||||
|
Reference in New Issue
Block a user