Skip to content

Commit f358560

Browse files
committed
Prevent accidentally skipping fishman hint
1 parent dc51e1b commit f358560

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tweaks.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,14 @@ def update_fishmen_hints(self):
10321032
hint_lines.append(
10331033
"I've heard from my sources that \\{1A 06 FF 00 00 01}%s\\{1A 06 FF 00 00 00} is located in \\{1A 06 FF 00 00 01}%s\\{1A 06 FF 00 00 00}." % (item_hint_name, island_hint_name)
10341034
)
1035+
# Add a two-second wait command (delay) to prevent the player from skipping over the hint accidentally.
1036+
hint_lines[-1] += "\\{1A 07 00 00 07 00 3C}"
1037+
10351038
hint_lines.append("Could be worth a try checking that place out. If you know where it is, of course.")
1039+
if self.options.get("instant_text_boxes"):
1040+
# If instant text mode is on, we need to reset the text speed to instant after the wait command messed it up.
1041+
hint_lines[-1] = "\\{1A 05 00 00 01}" + hint_lines[-1]
1042+
10361043
hint = ""
10371044
for hint_line in hint_lines:
10381045
hint_line = word_wrap_string(hint_line)

0 commit comments

Comments
 (0)