summaryrefslogtreecommitdiff
path: root/items
diff options
context:
space:
mode:
authorJimB16 <f1@jimb.de>2015-09-06 23:38:01 +0200
committerJimB16 <f1@jimb.de>2015-09-06 23:38:01 +0200
commit0d4c2776d927e5d3162d9a4430fc82f35bf50be5 (patch)
tree2ab9e19e9f85d1894b42cb93dd969fa57327b0ed /items
parentc76a3c6ecd36d650a1715c0f5520c2336bd27f9c (diff)
changed varlabels for multiply- and divide-func, renamed battletext-labels
Diffstat (limited to 'items')
-rw-r--r--items/item_effects.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index 27fb17dee..6ad0d8947 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -273,7 +273,7 @@ endr
jp z, .asm_e98e
ld a, b
- ld [$ffb6], a
+ ld [hMultiplicand + 2], a
ld hl, EnemyMonHP
ld b, [hl]
@@ -318,9 +318,9 @@ endr
sub c
ld [hMultiplier], a
xor a
- ld [hProduct], a
- ld [hMultiplicand], a
- ld [$ffb5], a
+ ld [hDividend + 0], a
+ ld [hMultiplicand + 0], a
+ ld [hMultiplicand + 1], a
call Multiply
pop bc
@@ -329,7 +329,7 @@ endr
ld b, $4
call Divide
- ld a, [$ffb6]
+ ld a, [hQuotient + 2]
and a
jr nz, .statuscheck
ld a, 1