mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 15:08:23 +00:00
insert $8 asm for Route5GateText1
hg-commit-id: 85a92f85a4aa
This commit is contained in:
parent
364636ca80
commit
9dc95999a7
1 changed files with 30 additions and 1 deletions
31
pokered.asm
31
pokered.asm
|
@ -8763,7 +8763,36 @@ Route5Gate_h: ; 0x1df27 to 0x1df33 (12 bytes) (bank=7) (id=70)
|
|||
|
||||
dw $5ffb ; objects
|
||||
|
||||
INCBIN "baserom.gbc",$1df33,$1dffb - $1df33
|
||||
INCBIN "baserom.gbc",$1df33,$1dfaa - $1df33
|
||||
Route5GateText1: ; 0x1dfaa
|
||||
db $8
|
||||
ld a, [$d728]
|
||||
bit 6, a
|
||||
jr nz, .asm_88856 ; 0x1dfb0 $2c
|
||||
ld b, $16
|
||||
ld hl, $659f
|
||||
call Bankswitch
|
||||
ld a, [$ff00+$db]
|
||||
and a
|
||||
jr nz, .asm_768a2 ; 0x1dfbd $11
|
||||
ld hl, $5fe7
|
||||
call PrintText
|
||||
call $5f43
|
||||
ld a, $1
|
||||
ld [$d662], a
|
||||
jp $24d7
|
||||
.asm_768a2 ; 0x1dfd0
|
||||
ld hl, $5fec
|
||||
call PrintText
|
||||
ld hl, $d728
|
||||
set 6, [hl]
|
||||
jp $24d7
|
||||
.asm_88856 ; 0x1dfde
|
||||
ld hl, $5ff6
|
||||
call PrintText
|
||||
jp $24d7
|
||||
; 0x1dfe7
|
||||
INCBIN "baserom.gbc",$1dfe7,$14
|
||||
Route5GateObject: ; 0x1dffb (size=42)
|
||||
db $a ; border tile
|
||||
|
||||
|
|
Loading…
Reference in a new issue