shithub: pokecrystal

Download patch

ref: eebf069839aab570b4bdf13032f0c6d69893a0a2
parent: 162826625ae542b4d87b380f093b8f955044dd59
author: yenatch <[email protected]>
date: Mon Sep 30 21:01:43 EDT 2013

missed some bit2 script commands

--- a/main.asm
+++ b/main.asm
@@ -19116,9 +19116,9 @@
 INCBIN "baserom.gbc", $11e5d, $122c1 - $11e5d
 
 UnknownScript_0x122c1: ; 0x122c1
-	checkbit2 $0011
+	checkflag $0011
 	iffalse .script_122cd
-	setbit2 $0051
+	setflag $0051
 	special $0017
 .script_122cd
 	end
@@ -19409,7 +19409,7 @@
 	special $002e
 	pause 40
 	special $001b
-	checkbit2 $0011
+	checkflag $0011
 	iftrue .script_64f2
 	3callasm BANK(HalveMoney), HalveMoney
 	3callasm BANK(Function12527), Function12527
@@ -54426,7 +54426,7 @@
 	closetext
 	3callasm BANK(Function506ef), Function506ef
 	iffalse UnknownScript_0x506e9
-	checkbit2 $0011
+	checkflag $0011
 	iftrue UnknownScript_0x506e5
 	battlecheck
 	startbattle