mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
insert $8 asm for Route12GateUpstairsText3
hg-commit-id: f33babf523fe
This commit is contained in:
parent
8c4b673527
commit
9140cc9f6b
34
pokered.asm
34
pokered.asm
|
@ -19318,34 +19318,22 @@ Route12GateUpstairsText1: ; 0x49569
|
||||||
jp $24d7
|
jp $24d7
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$4959c,$495b1 - $4959c
|
INCBIN "baserom.gbc",$4959c,$495b1 - $4959c
|
||||||
|
|
||||||
Route12GateUpstairsText2: ; 0x495b1
|
Route12GateUpstairsText2: ; 0x495b1
|
||||||
db $08 ; asm
|
db $08 ; asm
|
||||||
ld hl, $55b8
|
ld hl, $55b8
|
||||||
jp $55c9
|
jp $55c9
|
||||||
rla
|
|
||||||
ld e, d
|
;TX_FAR at 0x495b8
|
||||||
ld c, c
|
db $17, $5a, $49, $23, $50
|
||||||
inc hl
|
|
||||||
ld d, b
|
Route12GateUpstairsText3: ; 0x495bd
|
||||||
ld [$c421], sp
|
db $8
|
||||||
ld d, l
|
ld hl, $55c4
|
||||||
jp $55c9
|
jp $55c9
|
||||||
rla
|
; 0x495c4
|
||||||
add [hl]
|
|
||||||
ld c, c
|
INCBIN "baserom.gbc",$495c4,$495de-$495c4
|
||||||
inc hl
|
|
||||||
ld d, b
|
|
||||||
ld a, [$c109]
|
|
||||||
cp $4
|
|
||||||
jr z, .asm_2fb7f ; 0x495ce
|
|
||||||
ld a, $1
|
|
||||||
jr .asm_b02ad ; 0x495d2
|
|
||||||
.asm_2fb7f ; 0x495d4
|
|
||||||
call PrintText
|
|
||||||
xor a
|
|
||||||
.asm_b02ad ; 0x495d8
|
|
||||||
ld [$cc3c], a
|
|
||||||
jp $24d7
|
|
||||||
|
|
||||||
Route12GateUpstairsObject: ; 0x495de (size=24)
|
Route12GateUpstairsObject: ; 0x495de (size=24)
|
||||||
db $a ; border tile
|
db $a ; border tile
|
||||||
|
|
Loading…
Reference in a new issue