summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-01-11 15:46:14 -0600
committerBryan Bishop <kanzure@gmail.com>2012-01-11 15:46:14 -0600
commite503e4a11fa6e1a63b7c801bbc9d77f729e40712 (patch)
tree2f27f94be37679598f7f1544453e6873a53db115
parent4ce1147ea1e53af0f0b536116ec7aff8df3b5b43 (diff)
insert $8 asm for BillsHouseText1
It might be wrong in a few places. hg-commit-id: 06d15cb0916a
-rw-r--r--pokered.asm40
1 files changed, 39 insertions, 1 deletions
diff --git a/pokered.asm b/pokered.asm
index 4af08b0c..6dd0ddc3 100644
--- a/pokered.asm
+++ b/pokered.asm
@@ -9198,7 +9198,45 @@ BillsHouse_h: ; 0x1e75e to 0x1e76a (12 bytes) (bank=7) (id=88)
dw $68df ; objects
-INCBIN "baserom.gbc",$1e76a,$1e874 - $1e76a
+INCBIN "baserom.gbc",$1e76a,$1e83d - $1e76a
+
+;0x1e83d
+BillsHouseText1:
+ db $8
+ ld hl, $6865
+ call PrintText
+ call $35ec
+ ld a, [$cc26]
+ and a
+ jr nz, asm_6b196 ; 0x1e84b $d
+asm_4d03c:
+ ld hl, $686a
+ call PrintText
+ ld a, $1
+ ld [$d661], a
+ jr asm_fd4e2 ; 0x1e858 $8
+asm_6b196: ; 0x1e85a
+ ld hl, $686f
+ call PrintText
+ jr asm_4d03c ; 0x1e860 $eb
+asm_fd4e2 ; 0x1e862
+ jp $24d7
+ rla
+ ld h, a
+ ld d, d
+ inc hl
+ ld d, b
+ rla
+ ld b, l
+ ld d, e
+ inc hl
+ ld d, b
+ rla
+ sub c
+ ld d, e
+ inc hl
+ ld d, b
+
BillsHouseText2: ; 0x1e874
db $08 ; asm
ld a, [$d7f2]