Fix a title screen label that accidentally made its way into bank 1.

Somehow, a title screen (bank 0x43) function had its label put in bank 1.
This caused changes to either bank to break the compiled rom.

fixes 61a3d145
This commit is contained in:
yenatch 2014-04-09 18:27:29 -04:00
parent 5153360215
commit 0eb49d5941
2 changed files with 12 additions and 17 deletions

View File

@ -119,14 +119,14 @@ _TitleScreen: ; 10ed67
ld bc, $0714 ; 20x7 ld bc, $0714 ; 20x7
ld d, $80 ld d, $80
ld e, $14 ld e, $14
call DrawGraphic call DrawTitleGraphic
; Draw copyright text ; Draw copyright text
ld hl, $9c03 ; BGMap1(3,0) ld hl, $9c03 ; BGMap1(3,0)
ld bc, $010d ; 13x1 ld bc, $010d ; 13x1
ld d, $c ld d, $c
ld e, $10 ld e, $10
call DrawGraphic call DrawTitleGraphic
; Initialize running Suicune? ; Initialize running Suicune?
ld d, $0 ld d, $0
@ -286,7 +286,13 @@ Function10eed2: ; 10eed2
ret ret
; 10eeef ; 10eeef
Function10eeef: ; 10eeef DrawTitleGraphic: ; 10eeef
; input:
; hl: draw location
; b: height
; c: width
; d: tile to start drawing from
; e: number of tiles to advance for each row
.asm_10eeef .asm_10eeef
push de push de
push bc push bc

View File

@ -5809,27 +5809,16 @@ Function6ec1: ; 6ec1
.asm_6ee9 .asm_6ee9
bit 6, [hl] bit 6, [hl]
jr nz, Function6ef5 jr nz, .asm_6ef5
push hl push hl
push bc push bc
; fallthrough
; 6eef
DrawGraphic: ; 6eef
; input:
; hl: draw location
; b: height
; c: width
; d: tile to start drawing from
; e: number of tiles to advance for each row
call Function7009 call Function7009
pop bc pop bc
pop hl pop hl
ret c ret c
; fallthrough
; 6ef5
Function6ef5: ; 6ef5 .asm_6ef5
bit 5, [hl] bit 5, [hl]
jr nz, .asm_6f05 jr nz, .asm_6f05
push hl push hl