LADX: Add options for sword music and nag messages (#1621)

This commit is contained in:
zig-for
2023-03-29 05:48:10 -07:00
committed by GitHub
parent 99bd525c8e
commit 53b3cd029e
2 changed files with 20 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ from . import hints
from .locations.keyLocation import KeyLocation
from .patches import bank34
from ..Options import TrendyGame, Palette
from ..Options import TrendyGame, Palette, MusicChangeCondition
# Function to generate a final rom, this patches the rom with all required patches
@@ -181,7 +181,8 @@ def generateRom(args, settings, ap_settings, auth, seed_name, logic, rnd=None, m
# patches.reduceRNG.slowdownThreeOfAKind(rom)
patches.reduceRNG.fixHorseHeads(rom)
patches.bomb.onlyDropBombsWhenHaveBombs(rom)
# patches.aesthetics.noSwordMusic(rom)
if ap_settings['music_change_condition'] == MusicChangeCondition.option_always:
patches.aesthetics.noSwordMusic(rom)
patches.aesthetics.reduceMessageLengths(rom, rnd)
patches.aesthetics.allowColorDungeonSpritesEverywhere(rom)
if settings.music == 'random':