summaryrefslogtreecommitdiff
path: root/scripts/FuchsiaGoodRodHouse.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 15:06:23 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 23:33:10 -0500
commitc7796024590fec48ac79756793c1a6e3b54daf8f (patch)
tree0d61caa7ebe429995a61e800d1d78c3a82aec886 /scripts/FuchsiaGoodRodHouse.asm
parent90430e6dee9e207dc0b618d07566f83617343f60 (diff)
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/FuchsiaGoodRodHouse.asm')
-rwxr-xr-xscripts/FuchsiaGoodRodHouse.asm75
1 files changed, 75 insertions, 0 deletions
diff --git a/scripts/FuchsiaGoodRodHouse.asm b/scripts/FuchsiaGoodRodHouse.asm
new file mode 100755
index 00000000..93a20e80
--- /dev/null
+++ b/scripts/FuchsiaGoodRodHouse.asm
@@ -0,0 +1,75 @@
+FuchsiaGoodRodHouse_Script:
+ jp EnableAutoTextBoxDrawing
+
+FuchsiaGoodRodHouse_TextPointers:
+ dw FuchsiaHouse3Text1
+
+FuchsiaHouse3Text1:
+ TX_ASM
+ ld a, [wd728]
+ bit 4, a
+ jr nz, .after
+
+ ld hl, FuchsiaHouse3Text_561bd
+ call PrintText
+
+ call YesNoChoice
+ ld a, [wCurrentMenuItem]
+ and a
+ jr nz, .refused
+
+ lb bc, GOOD_ROD, 1
+ call GiveItem
+ jr nc, .full
+
+ ld hl, wd728
+ 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:
+ TX_FAR _FuchsiaHouse3Text_561bd
+ db "@"
+
+FuchsiaHouse3Text_561c2:
+ TX_FAR _FuchsiaHouse3Text_561c2
+ TX_SFX_ITEM_1
+ db "@"
+
+UnusedText_561c8:
+ para "つり こそ"
+ line "おとこの ロマン だ!"
+
+ para "へぼいつりざおは"
+ line "コイキングしか つれ なんだが"
+ line "この いいつりざおなら"
+ line "もっと いいもんが つれるんじゃ!"
+ done
+
+FuchsiaHouse3Text_56212:
+ TX_FAR _FuchsiaHouse3Text_56212
+ db "@"
+
+FuchsiaHouse3Text_56217:
+ TX_FAR _FuchsiaHouse3Text_56217
+ db "@"
+
+FuchsiaHouse3Text_5621c:
+ TX_FAR _FuchsiaHouse3Text_5621c
+ db "@"