shithub: pokered

Download patch

ref: a1a33933175a2c96a043f801fd0496613dc32b15
parent: 6637f8a69a0429af3f3adae9aa5ec8cbafa8bb81
author: U-Fish-PC\Daniel <corrnondacqb@yahoo.com>
date: Tue Sep 10 09:00:53 EDT 2013

un-incbin misc asm

--- a/main.asm
+++ b/main.asm
@@ -41832,7 +41832,9 @@
 	db $50
 ; 0x1e946 + 5 bytes
 
-INCBIN "baserom.gbc",$1e94b,$1e953 - $1e94b
+	call EnableAutoTextBoxDrawing
+	ld a, $39
+	jp Func_3ef5
 
 UnnamedText_1e953: ; 1e953 (7:6953)
 	TX_FAR _UnnamedText_1e953
@@ -41839,7 +41841,9 @@
 	db $50
 ; 0x1e953 + 5 bytes
 
-INCBIN "baserom.gbc",$1e958,$1e960 - $1e958
+	call EnableAutoTextBoxDrawing
+	ld a, $05
+	jp Func_3ef5
 
 UnnamedText_1e960: ; 1e960 (7:6960)
 	TX_FAR _UnnamedText_1e960
@@ -41846,7 +41850,17 @@
 	db $50
 ; 0x1e960 + 5 bytes
 
-INCBIN "baserom.gbc",$1e965,$1e97e - $1e965
+	call EnableAutoTextBoxDrawing
+    ld hl, $d2f7
+    ld b, $13
+    call CountSetBits
+    ld a, [$d11e]
+    cp $2
+    ld a, $6
+    jr c, .asm_1e97b
+    ld a, $7
+.asm_1e97b
+    jp Func_3ef5
 
 UnnamedText_1e97e: ; 1e97e (7:697e)
 	TX_FAR _UnnamedText_1e97e