diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-08-26 22:54:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-26 22:54:11 -0400 |
| commit | a71b28e5b724564fe19f329f5cbb474f8b111acb (patch) | |
| tree | 0fbb1d3add4c64eb72e9c6790bf35b884fbcee8a /engine/events | |
| parent | 3eacab563d0e1ab5557c2443556a7a5e58d14cad (diff) | |
| parent | b42ba692c49f09bb51b2fd233a8a97e7eb3208db (diff) | |
Merge pull request #557 from Rangi42/master
Miscellaneous changes
Diffstat (limited to 'engine/events')
| -rw-r--r-- | engine/events/magikarp.asm | 2 | ||||
| -rw-r--r-- | engine/events/treemons.asm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/magikarp.asm b/engine/events/magikarp.asm index 8f0c8d39a..155ebfde5 100644 --- a/engine/events/magikarp.asm +++ b/engine/events/magikarp.asm @@ -205,7 +205,7 @@ CalcMagikarpLength: ldh [hDivisor], a ld b, 2 call Divide - ldh a, [hQuotient + 2] + ldh a, [hQuotient + 3] ld c, a ; de = c + 100 × (2 + i) diff --git a/engine/events/treemons.asm b/engine/events/treemons.asm index d3c0b672a..680a9d7f5 100644 --- a/engine/events/treemons.asm +++ b/engine/events/treemons.asm @@ -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 |
