summaryrefslogtreecommitdiff
path: root/items/item_effects.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-11-04 14:02:11 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-11-04 14:02:11 -0500
commitcf5d726b7f00633acad3cdf0c25178bde5fc14fb (patch)
tree5d9f14a2f93b4ff09e264f7352920efcb3a01127 /items/item_effects.asm
parent94c720832a577be03a471de6db27eba09a96e946 (diff)
Mon submenu, engine/menu.asm
Diffstat (limited to 'items/item_effects.asm')
-rw-r--r--items/item_effects.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index 1343eab50..480ed895f 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -2667,7 +2667,7 @@ Functionf6a7: ; f6a7
Elixer_RestorePPofAllMoves: ; f6af
xor a
- ld hl, wcfa9
+ ld hl, MenuSelection2
ld [hli], a
ld [hl], a
ld b, NUM_MOVES
@@ -2686,7 +2686,7 @@ Elixer_RestorePPofAllMoves: ; f6af
inc [hl]
.cant_restore_pp
- ld hl, wcfa9
+ ld hl, MenuSelection2
inc [hl]
pop bc
dec b
@@ -3123,7 +3123,7 @@ Functionf84c: ; f84c
ld a, [wd265]
dec a
jr nz, .asm_f876
- ld a, [wcfa9]
+ ld a, [MenuSelection2]
inc a
cp b
jr nz, .asm_f87d
@@ -3200,7 +3200,7 @@ Functionf8b9: ; f8b9
call GetPartyParamLocation
pop de
xor a ; PARTYMON
- ld [wcfa9], a
+ ld [MenuSelection2], a
ld [MonType], a
ld c, NUM_MOVES
.loop
@@ -3220,7 +3220,7 @@ Functionf8b9: ; f8b9
add b
ld [de], a
inc de
- ld hl, wcfa9
+ ld hl, MenuSelection2
inc [hl]
pop hl
dec c
@@ -3313,7 +3313,7 @@ GetMthMoveOfNthPartymon: ; f963
call AddNTimes
GetMthMoveOfCurrentMon: ; f969
- ld a, [wcfa9]
+ ld a, [MenuSelection2]
ld c, a
ld b, 0
add hl, bc