shithub: pokecrystal

Download patch

ref: 038166f97c7cc7466fd8012cfcb23fc013e025cd
parent: 183845bd73178b5d70b4186177545ef67d31016c
author: yenatch <[email protected]>
date: Wed Aug 19 17:29:58 EDT 2015

Fix some dubious comments about abandoned sram addresses.

--- a/engine/save.asm
+++ b/engine/save.asm
@@ -881,8 +881,7 @@
 	ld bc, wCrystalDataEnd - wCrystalData
 	call CopyBytes
 
-	; XXX $a60e-f is a static address left over from JP Crystal.
-	; It appears to correspond to event flags 0x160-0x16f in that version.
+	; XXX SRAM bank 7
 	ld hl, wd479
 	ld a, [hli]
 	ld [$a60e + 0], a
@@ -900,8 +899,7 @@
 	ld bc, wCrystalDataEnd - wCrystalData
 	call CopyBytes
 
-	; XXX $a60e-f is a static address left over from JP Crystal.
-	; It appears to correspond to event flags 0x160-0x16f in that version.
+	; XXX SRAM bank 7
 	ld hl, wd479
 	ld a, [$a60e + 0]
 	ld [hli], a