Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion engine/pokemon/evos_moves.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion engine/pokemon/learn_move.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading