From 172a1488defdb83b342046ec24fa25388f5a5f3b Mon Sep 17 00:00:00 2001 From: JimB16 Date: Sun, 30 Aug 2015 13:17:14 +0200 Subject: renamed labels and added comments --- items/item_effects.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'items') diff --git a/items/item_effects.asm b/items/item_effects.asm index 8c574da88..27fb17dee 100644 --- a/items/item_effects.asm +++ b/items/item_effects.asm @@ -618,7 +618,7 @@ endr .asm_eb3c call ClearSprites - predef Functionde6e + predef SentPkmnIntoBox callba Function4db83 -- cgit v1.2.3 From 0d4c2776d927e5d3162d9a4430fc82f35bf50be5 Mon Sep 17 00:00:00 2001 From: JimB16 Date: Sun, 6 Sep 2015 23:38:01 +0200 Subject: changed varlabels for multiply- and divide-func, renamed battletext-labels --- items/item_effects.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'items') 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 -- cgit v1.2.3