shithub: pokecrystal

Download patch

ref: b13ded1954721dced1335338123b2baa22d12b0d
parent: b56357cd0867dec2650c2fd472f705f73e3a91bc
author: Bryan Bishop <[email protected]>
date: Mon May 28 10:16:47 EDT 2012

replace 2call pointers with labels

--- a/main.asm
+++ b/main.asm
@@ -15728,6 +15728,7 @@
 	musicfadeout $2905, $1
 ; 0x580a2
 
+; probably not a script?
 UnknownScript_0x580a2: ; 0x580a2
 	db $e5
 	itemtotext THUNDERSTONE, $42
@@ -79718,7 +79719,7 @@
 	applymovement $0, MovementData_0x1900a7
 	stopfollow
 	spriteface $0, $3
-	2call $402f
+	2call UnknownScript_0x19002f
 	applymovement $2, MovementData_0x1900ad
 	end
 ; 0x19002e
@@ -79725,6 +79726,7 @@
 
 UnknownScript_0x19002e: ; 0x19002e
 	faceplayer
+UnknownScript_0x19002f: ; 0x19002f
 	checkbit1 $0022
 	iftrue UnknownScript_0x190039
 	2call UnknownScript_0x190040
@@ -80011,6 +80013,7 @@
 
 UnknownScript_0x19046f: ; 0x19046f
 	faceplayer
+UnknownScript_0x190470: ; 0x190470
 	loadfont
 	checkbit1 $005d
 	iftrue UnknownScript_0x1904a5
@@ -80066,7 +80069,7 @@
 	applymovement $0, MovementData_0x190789
 	stopfollow
 	spriteface $0, $0
-	2call $4470
+	2call UnknownScript_0x190470
 	applymovement $9, MovementData_0x19078c
 	applymovement $9, MovementData_0x19078e
 	end