diff --git a/engine/pokemon/evos_moves.asm b/engine/pokemon/evos_moves.asm index 794cb164da..94566db4d3 100644 --- a/engine/pokemon/evos_moves.asm +++ b/engine/pokemon/evos_moves.asm @@ -487,7 +487,7 @@ WriteMonMoves: ld de, wBuffer ld a, BANK(Moves) call FarCopyData - ld a, [wBuffer + 5] + ld a, [wBuffer + MOVE_PP] pop hl ld [hl], a pop hl diff --git a/engine/pokemon/learn_move.asm b/engine/pokemon/learn_move.asm index b57fedcd54..ebc530cc2c 100644 --- a/engine/pokemon/learn_move.asm +++ b/engine/pokemon/learn_move.asm @@ -49,7 +49,7 @@ DontAbandonLearning: ld de, wBuffer ld a, BANK(Moves) call FarCopyData - ld a, [wBuffer + 5] ; a = move's max PP + ld a, [wBuffer + MOVE_PP] pop de pop hl ld [hl], a