shithub: pokecrystal

Download patch

ref: 2cafe3522bbfa6a787c3cfe65b8c425522f5385a
parent: f7e25beee645c6dff02714ad7b83115d507f8f29
author: yenatch <[email protected]>
date: Fri Dec 26 15:04:09 EST 2014

Fix static banks for save text and bedroom poster scripts.

--- a/main.asm
+++ b/main.asm
@@ -24386,7 +24386,7 @@
 ; 14baf
 
 Function14baf: ; 14baf
-	ld b, $5
+	ld b, BANK(UnknownText_0x15283)
 	call Function269a
 	call Function1d58
 	lb bc, 0, 7
@@ -35658,11 +35658,11 @@
 	call IsInArray
 	jr c, .asm_26f7d
 	ld de, UnknownScript_0x26fb8
-	ld b, $9
+	ld b, BANK(UnknownScript_0x26fb8)
 	ret
 
 .asm_26f7d
-	ld b, $9
+	ld b, BANK(UnknownScript_0x26f91)
 	inc hl
 	ld a, [hli]
 	ld d, [hl]
@@ -82071,9 +82071,9 @@
 .asm_91b4e
 	ld a, [DefaultFlypoint]
 	ld l, a
-	ld h, $0
+	ld h, 0
 	add hl, hl
-	ld de, $5c5f
+	ld de, Flypoints + 1
 	add hl, de
 	ld a, [hl]