hQuotient is a four-byte buffer (fixes #558)

This commit is contained in:
Rangi
2018-08-26 13:49:38 -04:00
parent cb32c895e4
commit 557ce82073
22 changed files with 107 additions and 110 deletions

View File

@@ -763,9 +763,9 @@ Function3851e: ; This appears to be unused
ldh [hDividend + 1], a
ld b, 2
call Divide
ldh a, [hQuotient + 2]
ldh a, [hQuotient + 3]
ld c, a
ldh a, [hQuotient + 1]
ldh a, [hQuotient + 2]
ld b, a
ld hl, wEnemyMonHP + 1
ld a, [hld]