mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
OoT: Add warp song text replacement
This commit is contained in:
@@ -9,7 +9,7 @@ from .LocationList import business_scrubs
|
||||
from .Hints import writeGossipStoneHints, buildAltarHints, \
|
||||
buildGanonText, getSimpleHintNoPrefix
|
||||
from .Utils import data_path
|
||||
from .Messages import read_messages, update_message_by_id, read_shop_items, \
|
||||
from .Messages import read_messages, update_message_by_id, read_shop_items, update_warp_song_text, \
|
||||
write_shop_items, remove_unused_messages, make_player_message, \
|
||||
add_item_messages, repack_messages, shuffle_messages, \
|
||||
get_message_by_id
|
||||
@@ -1747,6 +1747,10 @@ def patch_rom(world, rom):
|
||||
elif world.text_shuffle == 'complete':
|
||||
permutation = shuffle_messages(messages, except_hints=False)
|
||||
|
||||
# If Warp Song ER is on, update text boxes
|
||||
if world.warp_songs:
|
||||
update_warp_song_text(messages, world)
|
||||
|
||||
repack_messages(rom, messages, permutation)
|
||||
|
||||
# output a text dump, for testing...
|
||||
|
Reference in New Issue
Block a user