summaryrefslogtreecommitdiff
path: root/battle/ai/items.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-10-07 13:19:41 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-10-07 13:19:41 -0400
commitedf42a54d5b95780725e50605672fec29a9936f1 (patch)
treec3c9fd0799a1f91a0804a315ec0ffdffaf5b2c13 /battle/ai/items.asm
parent7176eff7aafda5378305a593c459d158ac27601f (diff)
More labels, including fns responsible for partymon generation
Diffstat (limited to 'battle/ai/items.asm')
-rw-r--r--battle/ai/items.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/battle/ai/items.asm b/battle/ai/items.asm
index 46f04bf65..c56f389ca 100644
--- a/battle/ai/items.asm
+++ b/battle/ai/items.asm
@@ -787,17 +787,17 @@ Function38511: ; 38511
; 3851e
Function3851e: ; 3851e
- ld [hMultiplier], a
+ ld [hDivisor], a
ld hl, EnemyMonMaxHP
ld a, [hli]
- ld [hProduct], a
+ ld [hDividend], a
ld a, [hl]
- ld [hMultiplicand], a
+ ld [hDividend + 1], a
ld b, $2
call Divide
- ld a, [$ffb6]
+ ld a, [hQuotient + 2]
ld c, a
- ld a, [$ffb5]
+ ld a, [hQuotient + 1]
ld b, a
ld hl, EnemyMonHP + 1
ld a, [hld]