shithub: pokecrystal

Download patch

ref: 45e791bb42daffe60cd2ae9c0feec1b5af9124d8
parent: 5376a0c96bd956c3338b629e4d83b7bc68cde25a
author: yenatch <[email protected]>
date: Sat Sep 7 01:08:34 EDT 2013

StdScripts label in engine/scripting.asm

--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -1787,15 +1787,15 @@
 	ld e, a
 	call GetScriptByte
 	ld d, a
-	ld hl, $4000 ; StdScripts
+	ld hl, StdScripts
 	add hl, de
 	add hl, de
 	add hl, de
-	ld a, $2f ; BANK(StdScripts)
+	ld a, BANK(StdScripts)
 	call GetFarByte
 	ld b, a
 	inc hl
-	ld a, $2f ; BANK(StdScripts)
+	ld a, BANK(StdScripts)
 	call GetFarHalfword
 	ret
 ; 0x97596