shithub: pokered

Download patch

ref: 27f13ecc9a120d8fdd9f8b4bdb574e5cebc6b2e2
parent: 1cf26c32c23a44b040b0377fcdc35055235d3884
author: IIMarckus <iimarckus@gmail.com>
date: Fri Jan 20 15:59:55 EST 2012

Slight comment improvement (PP restore when healing).

hg-commit-id: df69d6aa600f


--- a/common.asm
+++ b/common.asm
@@ -9017,13 +9017,13 @@
 	push hl
 	push de
 	push bc
-	ld hl, $4000
+	ld hl, Moves
 	ld bc, $0006
 	call AddNTimes
 	ld de, $cd6d
-	ld a, $e
-	call FarCopyData
-	ld a, [$cd72]
+	ld a, BANK(Moves)
+	call FarCopyData ; copy move header to memory
+	ld a, [$cd72] ; get default PP
 	pop bc
 	pop de
 	pop hl