shithub: pokecrystal

Download patch

ref: 282c08bf724899519312688bbd294eba99d94652
parent: 7bf2c3d7589a46f512f3364376bb917cdcab9a42
author: padz <yenatch@github.com>
date: Sun Jul 22 21:24:37 EDT 2012

fix local pointers in map headers

--- a/main.asm
+++ b/main.asm
@@ -32872,6 +32872,9 @@
 	closetext
 	loadmovesprites
 	applymovement $4, MovementData_0x6d267
+; 0x6d073
+
+UnknownScript_0x6d073: ; 0x6d073
 	disappear $4
 	applymovement $0, MovementData_0x6d271
 	end
@@ -33688,8 +33691,8 @@
 	xy_trigger 0, $d, $4, $0, UnknownScript_0x6d08b, $0, $0
 	xy_trigger 1, $b, $e, $0, UnknownScript_0x6cf95, $0, $0
 	xy_trigger 1, $b, $f, $0, UnknownScript_0x6cf9c, $0, $0
-	xy_trigger 2, $c, $e, $0, $5075, $0, $0
-	xy_trigger 2, $c, $f, $0, $5075, $0, $0
+	xy_trigger 2, $c, $e, $0, UnknownScript_0x6d073, $0, $0
+	xy_trigger 2, $c, $f, $0, UnknownScript_0x6d073, $0, $0
 	xy_trigger 2, $3, $c, $0, UnknownScript_0x6d07a, $0, $0
 	xy_trigger 2, $a, $c, $0, UnknownScript_0x6d07a, $0, $0
 	xy_trigger 2, $b, $c, $0, UnknownScript_0x6d07a, $0, $0
@@ -40581,6 +40584,9 @@
 
 UnknownScript_0x751e7: ; 0x751e7
 	moveperson $5, $14, $6
+; 0x751eb
+
+UnknownScript_0x751eb: ; 0x751eb
 	appear $5
 	applymovement $5, MovementData_0x7521b
 	playsound $0041
@@ -40767,7 +40773,7 @@
 
 	; xy triggers
 	db 2
-	xy_trigger 2, $6, $18, $0, $51eb, $0, $0
+	xy_trigger 2, $6, $18, $0, UnknownScript_0x751eb, $0, $0
 	xy_trigger 2, $6, $19, $0, UnknownScript_0x751e7, $0, $0
 
 	; signposts
@@ -44716,6 +44722,9 @@
 
 UnknownScript_0x78f12: ; 0x78f12
 	applymovement $0, MovementData_0x78f72
+; 0x78f16
+
+UnknownScript_0x78f16: ; 0x78f16
 	applymovement $0, MovementData_0x78f74
 	spriteface $7, $2
 	loadfont
@@ -45471,7 +45480,7 @@
 	db 8
 	xy_trigger 1, $6, $4, $0, UnknownScript_0x78c65, $0, $0
 	xy_trigger 1, $6, $5, $0, UnknownScript_0x78c65, $0, $0
-	xy_trigger 3, $5, $4, $0, $4f16, $0, $0
+	xy_trigger 3, $5, $4, $0, UnknownScript_0x78f16, $0, $0
 	xy_trigger 3, $5, $5, $0, UnknownScript_0x78f12, $0, $0
 	xy_trigger 5, $8, $4, $0, UnknownScript_0x78e7f, $0, $0
 	xy_trigger 5, $8, $5, $0, UnknownScript_0x78e8e, $0, $0
@@ -45529,6 +45538,9 @@
 
 UnknownScript_0x7a4d8: ; 0x7a4d8
 	setbit1 $0000
+; 0x7a4db
+
+UnknownScript_0x7a4db: ; 0x7a4db
 	playmusic $004e
 	showemote $0, $2, 15
 	spriteface $0, $2
@@ -45902,7 +45914,7 @@
 	; xy triggers
 	db 2
 	xy_trigger 0, $4, $8, $0, UnknownScript_0x7a4d8, $0, $0
-	xy_trigger 0, $4, $9, $0, $64db, $0, $0
+	xy_trigger 0, $4, $9, $0, UnknownScript_0x7a4db, $0, $0
 
 	; signposts
 	db 4
@@ -95591,6 +95603,9 @@
 
 UnknownScript_0x19c0aa: ; 0x19c0aa
 	moveperson $3, $27, $7
+; 0x19c0ae
+
+UnknownScript_0x19c0ae: ; 0x19c0ae
 	spriteface $0, $3
 	showemote $0, $0, 15
 	special $006a
@@ -96042,7 +96057,7 @@
 
 	; xy triggers
 	db 2
-	xy_trigger 1, $6, $21, $0, $40ae, $0, $0
+	xy_trigger 1, $6, $21, $0, UnknownScript_0x19c0ae, $0, $0
 	xy_trigger 1, $7, $21, $0, UnknownScript_0x19c0aa, $0, $0
 
 	; signposts
--