shithub: pokecrystal

Download patch

ref: 5a0c3528939ad00b79e9b8e024e0d9a33b0789da
parent: fef00cbc59601d9a8168bb60b4dd8cb533f948f2
author: Bryan Bishop <[email protected]>
date: Mon May 21 06:48:30 EDT 2012

replace some more 1-byte incbins

--- a/main.asm
+++ b/main.asm
@@ -92865,52 +92865,44 @@
 
 UnknownScript_0x1a5b62: ; 0x1a5b62
 	jumpstd $0019
-; 0x1a5b65
+	end
+; 0x1a5b66
 
-INCBIN "baserom.gbc",$1a5b65,$1a5b66 - $1a5b65
-
 UnknownScript_0x1a5b66: ; 0x1a5b66
 	jumpstd $001a
-; 0x1a5b69
+	end
+; 0x1a5b6a
 
-INCBIN "baserom.gbc",$1a5b69,$1a5b6a - $1a5b69
-
 UnknownScript_0x1a5b6a: ; 0x1a5b6a
 	jumpstd $001b
-; 0x1a5b6d
+	end
+; 0x1a5b6e
 
-INCBIN "baserom.gbc",$1a5b6d,$1a5b6e - $1a5b6d
-
 UnknownScript_0x1a5b6e: ; 0x1a5b6e
 	jumpstd $001c
-; 0x1a5b71
+	end
+; 0x1a5b72
 
-INCBIN "baserom.gbc",$1a5b71,$01
-
 UnknownScript_0x1a5b72: ; 0x1a5b72
 	jumpstd $001d
-; 0x1a5b75
+	end
+; 0x1a5b76
 
-INCBIN "baserom.gbc",$1a5b75,$1a5b76 - $1a5b75
-
 UnknownScript_0x1a5b76: ; 0x1a5b76
 	jumpstd $001e
-; 0x1a5b79
+	end
+; 0x1a5b7a
 
-INCBIN "baserom.gbc",$1a5b79,$01
-
 UnknownScript_0x1a5b7a: ; 0x1a5b7a
 	jumpstd $0020
-; 0x1a5b7d
+	end
+; 0x1a5b7e
 
-INCBIN "baserom.gbc",$1a5b7d,$01
-
 UnknownScript_0x1a5b7e: ; 0x1a5b7e
 	jumpstd $0021
-; 0x1a5b81
+	end
+; 0x1a5b82
 
-INCBIN "baserom.gbc",$1a5b81,$01
-
 TrainerPokefanfRuth: ; 0x1a5b82
 	; bit/flag number
 	dw $4da
@@ -95870,58 +95862,49 @@
 
 UnknownScript_0x1a92f1: ; 0x1a92f1
 	jumpstd $0019
-; 0x1a92f4
+	end
+; 0x1a92f5
 
-INCBIN "baserom.gbc",$1a92f4,$1a92f5 - $1a92f4
-
 UnknownScript_0x1a92f5: ; 0x1a92f5
 	jumpstd $001a
-; 0x1a92f8
+	end
+; 0x1a92f9
 
-INCBIN "baserom.gbc",$1a92f8,$1a92f9 - $1a92f8
-
 UnknownScript_0x1a92f9: ; 0x1a92f9
 	jumpstd $001b
-; 0x1a92fc
+	end
+; 0x1a92fd
 
-INCBIN "baserom.gbc",$1a92fc,$01
-
 UnknownScript_0x1a92fd: ; 0x1a92fd
 	jumpstd $001c
-; 0x1a9300
+	end
+; 0x1a9301
 
-INCBIN "baserom.gbc",$1a9300,$1a9301 - $1a9300
-
 UnknownScript_0x1a9301: ; 0x1a9301
 	jumpstd $001d
-; 0x1a9304
+	end
+; 0x1a9305
 
-INCBIN "baserom.gbc",$1a9304,$1a9305 - $1a9304
-
 UnknownScript_0x1a9305: ; 0x1a9305
 	jumpstd $001e
-; 0x1a9308
+	end
+; 0x1a9309
 
-INCBIN "baserom.gbc",$1a9308,$1a9309 - $1a9308
-
 UnknownScript_0x1a9309: ; 0x1a9309
 	jumpstd $001f
-; 0x1a930c
+	end
+; 0x1a930d
 
-INCBIN "baserom.gbc",$1a930c,$1a930d - $1a930c
-
 UnknownScript_0x1a930d: ; 0x1a930d
 	jumpstd $0020
-; 0x1a9310
+	end
+; 0x1a9311
 
-INCBIN "baserom.gbc",$1a9310,$01
-
 UnknownScript_0x1a9311: ; 0x1a9311
 	jumpstd $0021
-; 0x1a9314
+	end
+; 0x1a9315
 
-INCBIN "baserom.gbc",$1a9314,$1a9315 - $1a9314
-
 TrainerPokemaniacShane: ; 0x1a9315
 	; bit/flag number
 	dw $4e7
@@ -96299,58 +96282,49 @@
 
 UnknownScript_0x1a974f: ; 0x1a974f
 	jumpstd $0023
-; 0x1a9752
+	end
+; 0x1a9753
 
-INCBIN "baserom.gbc",$1a9752,$01
-
 UnknownScript_0x1a9753: ; 0x1a9753
 	jumpstd $0024
-; 0x1a9756
+	end
+; 0x1a9757
 
-INCBIN "baserom.gbc",$1a9756,$01
-
 UnknownScript_0x1a9757: ; 0x1a9757
 	jumpstd $0025
-; 0x1a975a
+	end
+; 0x1a975b
 
-INCBIN "baserom.gbc",$1a975a,$1a975b - $1a975a
-
 UnknownScript_0x1a975b: ; 0x1a975b
 	jumpstd $0026
-; 0x1a975e
+	end
+; 0x1a975f
 
-INCBIN "baserom.gbc",$1a975e,$01
-
 UnknownScript_0x1a975f: ; 0x1a975f
 	jumpstd $0027
-; 0x1a9762
+	end
+; 0x1a9763
 
-INCBIN "baserom.gbc",$1a9762,$1a9763 - $1a9762
-
 UnknownScript_0x1a9763: ; 0x1a9763
 	jumpstd $0028
-; 0x1a9766
+	end
+; 0x1a9767
 
-INCBIN "baserom.gbc",$1a9766,$01
-
 UnknownScript_0x1a9767: ; 0x1a9767
 	jumpstd $0029
-; 0x1a976a
+	end
+; 0x1a976b
 
-INCBIN "baserom.gbc",$1a976a,$1a976b - $1a976a
-
 UnknownScript_0x1a976b: ; 0x1a976b
 	setbit1 $033b
 	jumpstd $002b
-; 0x1a9771
+	end
+; 0x1a9772
 
-INCBIN "baserom.gbc",$1a9771,$01
-
 UnknownScript_0x1a9772: ; 0x1a9772
 	jumpstd $002c
-; 0x1a9775
-
-INCBIN "baserom.gbc",$1a9775,$01
+	end
+; 0x1a9776
 
 TrainerHikerBailey: ; 0x1a9776
 	; bit/flag number