Skip to content

Commit e51e884

Browse files
committed
Merge branch 'Dev' into dev-fenhl
# Conflicts: # CI.py # Messages.py
2 parents 8147c89 + a821705 commit e51e884

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* Big poe souls can now be collected while riding Epona.
2222
* Ice traps have a new item model that's displayed instead of nothing after being picked up.
2323
* The professor in the lakeside lab now only takes 1 second instead of 6 to prepare the eyeball frog.
24+
* The text box that appears when collecting a gold skulltula token is no longer shuffled when `Text Shuffle` is set to `Shuffled except Important Text`.
2425

2526
# 8.3
2627

CI.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from typing import NoReturn
1414

1515
from Main import resolve_settings
16-
from Messages import ITEM_MESSAGES, KEYSANITY_MESSAGES, MISC_MESSAGES
16+
from Messages import ITEM_MESSAGES, IMPORTANT_ITEM_MESSAGES, MISC_MESSAGES
1717
from Patches import get_override_table, get_override_table_bytes
1818
from Rom import Rom
1919
from SettingsList import SettingInfos, logic_tricks, validate_settings
@@ -159,7 +159,7 @@ def check_for_duplicates(new_item_messages: list[tuple[int, str]]) -> None:
159159
if message_id1 == message_id2:
160160
error(f'Duplicate MessageID found: {hex(message_id1)}, {message1}, {message2}', False)
161161

162-
messages = ITEM_MESSAGES + KEYSANITY_MESSAGES + MISC_MESSAGES
162+
messages = ITEM_MESSAGES + IMPORTANT_ITEM_MESSAGES + MISC_MESSAGES
163163
check_for_duplicates(messages)
164164

165165

Messages.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@
217217
(0x00AD, "\x08\x13\x05You got \x05\x41Din's Fire\x05\x40!\x01Its fireball engulfs everything!"),
218218
(0x00AE, "\x08\x13\x0DYou got \x05\x42Farore's Wind\x05\x40!\x01This is warp magic you can use!"),
219219
(0x00AF, "\x08\x13\x13You got \x05\x43Nayru's Love\x05\x40!\x01Cast this to create a powerful\x01protective barrier."),
220-
(0x00B4, "\x08You got a \x05\x41Gold Skulltula Token\x05\x40!\x01You've collected \x05\x41\x19\x05\x40 tokens in total."), # fast text (worlds without shuffled tokens)
221-
(0x00B5, "\x08You got a \x05\x41Gold Skulltula Token\x05\x40!\x01You've collected \x05\x41\x19\x05\x40 tokens in total."), # normal text (worlds with shuffled tokens)
222220
(0x9047, "\x08You got a \x05\x41Gold Skulltula Token\x05\x40!"), # tokens for other players
223221
(0x00C2, "\x08\x13\x73You got a \x05\x41Piece of Heart\x05\x40!\x01Collect four pieces total to get\x01another Heart Container."),
224222
(0x90C2, "\x08\x13\x73You got a \x05\x41Piece of Heart\x05\x40!\x01You are already at\x01maximum health."),
@@ -297,7 +295,7 @@
297295
(0x90B5, "\x08You found \x05\x43literally nothing\x05\x40!"),
298296
]
299297

300-
KEYSANITY_MESSAGES: list[tuple[int, str]] = [
298+
IMPORTANT_ITEM_MESSAGES: list[tuple[int, str]] = [
301299
(0x001C, "\x13\x74\x08You got the \x05\x41Boss Key\x05\x40\x01for the \x05\x41Fire Temple\x05\x40!\x09"),
302300
(0x0006, "\x13\x74\x08You got the \x05\x41Boss Key\x05\x40\x01for the \x05\x42Forest Temple\x05\x40!\x09"),
303301
(0x001D, "\x13\x74\x08You got the \x05\x41Boss Key\x05\x40\x01for the \x05\x43Water Temple\x05\x40!\x09"),
@@ -334,6 +332,8 @@
334332
(0x00A5, "\x13\x76\x08You found the \x05\x41Dungeon Map\x05\x40\x01for the \x05\x45Bottom of the Well\x05\x40!\x09"),
335333
(0x00A6, "\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for the \x05\x46Spirit Temple\x05\x40!\x09"),
336334
(0x00A9, "\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for the \x05\x45Shadow Temple\x05\x40!\x09"),
335+
(0x00B4, "\x08You got a \x05\x41Gold Skulltula Token\x05\x40!\x01You've collected \x05\x41\x19\x05\x40 tokens in total."), # fast text (worlds without shuffled tokens)
336+
(0x00B5, "\x08You got a \x05\x41Gold Skulltula Token\x05\x40!\x01You've collected \x05\x41\x19\x05\x40 tokens in total."), # normal text (worlds with shuffled tokens)
337337
(0x00F3, "\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for the \x05\x44Treasure Box Shop\x05\x40!\x09"),
338338
# 0x9019 and 0x901A used above
339339
# Silver Rupee Messages with count.
@@ -481,24 +481,24 @@
481481

482482
for dungeon_name in dungeon_names:
483483
if dungeon_name is not None:
484-
KEYSANITY_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for {dungeon_name}!\x01It's your \x05\x41first\x05\x40 one!\x09"))
484+
IMPORTANT_ITEM_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for {dungeon_name}!\x01It's your \x05\x41first\x05\x40 one!\x09"))
485485
i += 1
486486
c = 0
487487
for dungeon_name in dungeon_names:
488488
if dungeon_name is not None:
489-
KEYSANITY_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for {dungeon_name}!\x01You've collected \x05\x41" + "\xF1" + c.to_bytes(1, 'big').decode() + "\x05\x40 of them.\x09"))
489+
IMPORTANT_ITEM_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for {dungeon_name}!\x01You've collected \x05\x41" + "\xF1" + c.to_bytes(1, 'big').decode() + "\x05\x40 of them.\x09"))
490490
i += 1
491491
c += 1
492492
for dungeon_name in dungeon_names:
493493
if dungeon_name is not None:
494-
KEYSANITY_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for {dungeon_name}!\x01You already have enough keys.\x09"))
494+
IMPORTANT_ITEM_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key\x05\x40\x01for {dungeon_name}!\x01You already have enough keys.\x09"))
495495
i += 1
496496

497497
# Add key ring messages starting at 0x9200
498498
i = 0x9200
499499
for dungeon_name in dungeon_names:
500500
if dungeon_name is not None:
501-
KEYSANITY_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key Ring\x05\x40\x01for {dungeon_name}!\x09"))
501+
IMPORTANT_ITEM_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Small Key Ring\x05\x40\x01for {dungeon_name}!\x09"))
502502
i += 1
503503

504504
key_rings_with_bk_dungeon_names = [
@@ -509,7 +509,7 @@
509509
"the \x05\x45Shadow Temple\x05\x40"
510510
]
511511
for dungeon_name in key_rings_with_bk_dungeon_names:
512-
KEYSANITY_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Key Ring\x05\x40\x01for {dungeon_name}!\x09\x01It includes the \x05\x41Boss Key\x05\x40!"))
512+
IMPORTANT_ITEM_MESSAGES.append((i, f"\x13\x77\x08You found a \x05\x41Key Ring\x05\x40\x01for {dungeon_name}!\x09\x01It includes the \x05\x41Boss Key\x05\x40!"))
513513
i += 1
514514

515515
COLOR_MAP: dict[str, str] = {
@@ -1166,7 +1166,7 @@ def make_player_message(text: str) -> str:
11661166
# reduce item message sizes and add new item messages
11671167
# make sure to call this AFTER move_shop_item_messages()
11681168
def update_item_messages(messages: list[Message], world: World) -> None:
1169-
new_item_messages = ITEM_MESSAGES + KEYSANITY_MESSAGES
1169+
new_item_messages = ITEM_MESSAGES + IMPORTANT_ITEM_MESSAGES
11701170
for id, text in new_item_messages:
11711171
if world.settings.world_count > 1:
11721172
update_message_by_id(messages, id, make_player_message(text), 0x23)
@@ -1337,7 +1337,7 @@ def shuffle_messages(messages: list[Message], except_hints: bool = True) -> list
13371337
GOSSIP_STONE_MESSAGES + TEMPLE_HINTS_MESSAGES +
13381338
[data['id'] for data in misc_item_hint_table.values()] +
13391339
[data['id'] for data in misc_location_hint_table.values()] +
1340-
[message_id for (message_id, message) in KEYSANITY_MESSAGES] + shuffle_messages.shop_item_messages +
1340+
[message_id for (message_id, message) in IMPORTANT_ITEM_MESSAGES] + shuffle_messages.shop_item_messages +
13411341
shuffle_messages.scrubs_message_ids +
13421342
[0x5036, 0x70F5] # Chicken count and poe count respectively
13431343
)
@@ -1349,7 +1349,7 @@ def is_exempt(m: Message) -> bool:
13491349
GOSSIP_STONE_MESSAGES + TEMPLE_HINTS_MESSAGES +
13501350
[data['id'] for data in misc_item_hint_table.values()] +
13511351
[data['id'] for data in misc_location_hint_table.values()] +
1352-
[message_id for (message_id, message) in KEYSANITY_MESSAGES] +
1352+
[message_id for (message_id, message) in IMPORTANT_ITEM_MESSAGES] +
13531353
shuffle_messages.shop_item_messages +
13541354
shuffle_messages.scrubs_message_ids +
13551355
[0x5036, 0x70F5] # Chicken count and poe count respectively

data/Glitched World/Water Temple MQ.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
"Water Temple Bottom Gates Switch": "can_use(Iron_Boots) and Hookshot",
369369
"Water Temple Boss Key Spout": "can_weirdshot or can_gdv or has_fire_source",
370370
"Water Temple Dragon Head Room": "can_weirdshot or
371-
((can_gdv or has_fire_source) and (can_use(Hover_Boots) or has_projectile_adult)
371+
((can_gdv or has_fire_source) and (can_use(Hover_Boots) or has_projectile(adult))
372372
)"
373373
}
374374
},

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '8.3.31'
1+
__version__ = '8.3.33'
22

33
# This is a supplemental version number for branches based off of main dev.
44
supplementary_version = 1

0 commit comments

Comments
 (0)