shithub: pokered

Download patch

ref: 3f70c5fc1b496232bbcbc4b71082c3c07d6367f3
parent: 22eb324fefdff68723a12c3765cfabf6b1ab7c00
author: luckytyphlosion <alan.rj.huang@gmail.com>
date: Sun Apr 26 12:00:50 EDT 2015

Update save.asm

--- a/engine/save.asm
+++ b/engine/save.asm
@@ -604,7 +604,7 @@
 	ld a,[S_SAVEDMAINDATACHECKSUM]
 	cp c
 	jr nz,.next
-	ld hl,S_SAVEDPLAYERID
+	ld hl,S_SAVEDMAINDATA + 98 ; player ID
 	ld a,[hli]
 	ld h,[hl]
 	ld l,a