summaryrefslogtreecommitdiff
path: root/engine/link/link.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-08-26 22:54:11 -0400
committerGitHub <noreply@github.com>2018-08-26 22:54:11 -0400
commita71b28e5b724564fe19f329f5cbb474f8b111acb (patch)
tree0fbb1d3add4c64eb72e9c6790bf35b884fbcee8a /engine/link/link.asm
parent3eacab563d0e1ab5557c2443556a7a5e58d14cad (diff)
parentb42ba692c49f09bb51b2fd233a8a97e7eb3208db (diff)
Merge pull request #557 from Rangi42/master
Miscellaneous changes
Diffstat (limited to 'engine/link/link.asm')
-rw-r--r--engine/link/link.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/link/link.asm b/engine/link/link.asm
index 178b18740..ee88e34b6 100644
--- a/engine/link/link.asm
+++ b/engine/link/link.asm
@@ -786,10 +786,10 @@ Link_PrepPartyData_Gen1:
pop bc
pop de
- ldh a, [hQuotient + 1]
+ ldh a, [hQuotient + 2]
ld [de], a
inc de
- ldh a, [hQuotient + 2]
+ ldh a, [hQuotient + 3]
ld [de], a
inc de
ld h, b
@@ -1059,10 +1059,10 @@ Function2868a:
predef CalcMonStatC
pop bc
pop hl
- ldh a, [hQuotient + 1]
- ld [hli], a
ldh a, [hQuotient + 2]
ld [hli], a
+ ldh a, [hQuotient + 3]
+ ld [hli], a
push hl
push bc
ld hl, MON_STAT_EXP - 1
@@ -1072,10 +1072,10 @@ Function2868a:
predef CalcMonStatC
pop bc
pop hl
- ldh a, [hQuotient + 1]
- ld [hli], a
ldh a, [hQuotient + 2]
ld [hli], a
+ ldh a, [hQuotient + 3]
+ ld [hli], a
push hl
ld hl, $1b
add hl, bc