shithub: pokecrystal

Download patch

ref: ae319020740918973849652a5d0ab8ff7f8dbbd7
parent: e96330e66a6017f558d83004a15906edf70b2da9
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Mar 3 10:07:00 EST 2019

hFFEC is not an HRAM location

--- a/hram.asm
+++ b/hram.asm
@@ -160,4 +160,3 @@
 hMobile:: db ; ffe9
 hSystemBooted:: db ; ffea
 hClockResetTrigger:: db ; ffeb
-hFFEC:: db ; ffec
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -3286,7 +3286,7 @@
 	ld h, a
 	bccoord 0, 0
 	add hl, bc
-	ld bc, hFFEC
+	ld bc, $ffec
 	add hl, bc
 	ld a, [wMobileInactivityTimerSeconds]
 	ld c, a