aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/menus/party_menu.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/menus/party_menu.asm b/engine/menus/party_menu.asm
index 5a473ccf..46b828eb 100644
--- a/engine/menus/party_menu.asm
+++ b/engine/menus/party_menu.asm
@@ -121,19 +121,19 @@ RedrawPartyMenu_::
rl b
ld c, a
add hl, bc
- ld de, wEvosMoves
+ ld de, wcd6d
ld a, BANK(EvosMovesPointerTable)
ld bc, 2
call FarCopyData
- ld hl, wEvosMoves
+ ld hl, wcd6d
ld a, [hli]
ld h, [hl]
ld l, a
- ld de, wEvosMoves
+ ld de, wcd6d
ld a, BANK(EvosMovesPointerTable)
- ld bc, wEvosMovesEnd - wEvosMoves
+ ld bc, 4 * 3 + 1 ; enough for Eevee's three 4-byte evolutions and 0 terminator
call FarCopyData
- ld hl, wEvosMoves
+ ld hl, wcd6d
ld de, .notAbleToEvolveText
; loop through the pokemon's evolution entries
.checkEvolutionsLoop