diff options
| author | JimB16 <f1@jimb.de> | 2015-09-06 23:38:01 +0200 |
|---|---|---|
| committer | JimB16 <f1@jimb.de> | 2015-09-06 23:38:01 +0200 |
| commit | 0d4c2776d927e5d3162d9a4430fc82f35bf50be5 (patch) | |
| tree | 2ab9e19e9f85d1894b42cb93dd969fa57327b0ed /items | |
| parent | c76a3c6ecd36d650a1715c0f5520c2336bd27f9c (diff) | |
changed varlabels for multiply- and divide-func, renamed battletext-labels
Diffstat (limited to 'items')
| -rw-r--r-- | items/item_effects.asm | 10 |
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 |
