shithub: pokecrystal

Download patch

ref: 8da8dff7cf00647e9c33e10ceb10908a5411ef2a
parent: 2afb247caa266c27ffb0160da41ec84e77a46138
author: yenatch <[email protected]>
date: Mon Sep 23 23:31:00 EDT 2013

use a label in wildon/wildoff script command asm

--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -2773,7 +2773,7 @@
 Script_wildoff: ; 0x979f5
 ; script command 0x38
 
-	ld hl, $d84c
+	ld hl, StatusFlags
 	set 5, [hl]
 	ret
 ; 0x979fb
@@ -2781,7 +2781,7 @@
 Script_wildon: ; 0x979fb
 ; script command 0x37
 
-	ld hl, $d84c
+	ld hl, StatusFlags
 	res 5, [hl]
 	ret
 ; 0x97a01