mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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:
parent
5153360215
commit
0eb49d5941
@ -119,14 +119,14 @@ _TitleScreen: ; 10ed67
|
||||
ld bc, $0714 ; 20x7
|
||||
ld d, $80
|
||||
ld e, $14
|
||||
call DrawGraphic
|
||||
call DrawTitleGraphic
|
||||
|
||||
; Draw copyright text
|
||||
ld hl, $9c03 ; BGMap1(3,0)
|
||||
ld bc, $010d ; 13x1
|
||||
ld d, $c
|
||||
ld e, $10
|
||||
call DrawGraphic
|
||||
call DrawTitleGraphic
|
||||
|
||||
; Initialize running Suicune?
|
||||
ld d, $0
|
||||
@ -286,7 +286,13 @@ Function10eed2: ; 10eed2
|
||||
ret
|
||||
; 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
|
||||
push de
|
||||
push bc
|
||||
|
17
main.asm
17
main.asm
@ -5809,27 +5809,16 @@ Function6ec1: ; 6ec1
|
||||
|
||||
.asm_6ee9
|
||||
bit 6, [hl]
|
||||
jr nz, Function6ef5
|
||||
jr nz, .asm_6ef5
|
||||
|
||||
push hl
|
||||
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
|
||||
pop bc
|
||||
pop hl
|
||||
ret c
|
||||
; fallthrough
|
||||
; 6ef5
|
||||
|
||||
Function6ef5: ; 6ef5
|
||||
.asm_6ef5
|
||||
bit 5, [hl]
|
||||
jr nz, .asm_6f05
|
||||
push hl
|
||||
|
Loading…
x
Reference in New Issue
Block a user