diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-18 14:19:10 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-05-18 14:19:10 -0400 |
commit | 24c01b09bb2b617812bd826d1cf9ab5e3ec6a023 (patch) | |
tree | 07d2ed81b23de081f2003d9f8d50170344dd5ada /scripts/fuchsiahouse3.asm | |
parent | 4e4e72d02a5a202daea3a73363d2a4c3ba34e724 (diff) |
Pull map scripts out of main.asm
Diffstat (limited to 'scripts/fuchsiahouse3.asm')
-rwxr-xr-x | scripts/fuchsiahouse3.asm | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/scripts/fuchsiahouse3.asm b/scripts/fuchsiahouse3.asm new file mode 100755 index 00000000..ec5654ba --- /dev/null +++ b/scripts/fuchsiahouse3.asm @@ -0,0 +1,75 @@ +FuchsiaHouse3Script: ; 5617c (15:617c) + jp EnableAutoTextBoxDrawing + +FuchsiaHouse3TextPointers: ; 5617f (15:617f) + dw FuchsiaHouse3Text1 + +FuchsiaHouse3Text1: ; 56181 (15:6181) + db $08 ; asm + ld a, [$d728] + bit 4, a + jr nz, .after + + ld hl, FuchsiaHouse3Text_561bd + call PrintText + + call YesNoChoice + ld a, [$cc26] + and a + jr nz, .refused + + ld bc, (GOOD_ROD << 8) | 1 + call GiveItem + jr nc, .full + + ld hl, $d728 + set 4, [hl] + + ld hl, FuchsiaHouse3Text_561c2 + jr .talk + +.full + ld hl, FuchsiaHouse3Text_5621c + jr .talk + +.refused + ld hl, FuchsiaHouse3Text_56212 + jr .talk + +.after + ld hl, FuchsiaHouse3Text_56217 + +.talk + call PrintText + jp TextScriptEnd + +FuchsiaHouse3Text_561bd: ; 561bd (15:61bd) + TX_FAR _FuchsiaHouse3Text_561bd + db "@" + +FuchsiaHouse3Text_561c2: ; 561c2 (15:61c2) + TX_FAR _FuchsiaHouse3Text_561c2 ; 0xa06e8 + db $0B + db "@" + +UnnamedText_561c8: ; 561c8 + para "つり こそ" + line "おとこの ロマン だ!" + + para "へぼいつりざおは" + line "コイキングしか つれ なんだが" + line "この いいつりざおなら" + line "もっと いいもんが つれるんじゃ!" + done + +FuchsiaHouse3Text_56212: ; 56212 (15:6212) + TX_FAR _FuchsiaHouse3Text_56212 + db "@" + +FuchsiaHouse3Text_56217: ; 56217 (15:6217) + TX_FAR _FuchsiaHouse3Text_56217 + db "@" + +FuchsiaHouse3Text_5621c: ; 5621c (15:621c) + TX_FAR _FuchsiaHouse3Text_5621c + db "@" |