mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Removes Flashing instances in game (#168)
* Added reduced flashing, triforce hud and cutscene options * Corrected parameters and replacement order * Mixed up rom byte * Removed triforce hud, smoothed cutscene speed and reset tables * Removed triforcehud line and added bird cutscene speedup * Added options to yaml * Added check for race rom generation (is not internal asm) * Added options to GUI (check sprite adjust crash) * Fixed inconsistency in setting weight * A "slow" setting for the cutscenespeed (#1) * Slow wall setting * Slow wall setting * Slow wall setting * Slow wall setting * Slow wall setting * Slow wall setting * Update playerSettings.yaml * Remove instances of cutscene speed modification * Changed command to remove to mitigate frame advantage * Antiepilepsy enabled for default/race roms, param change, RTL byte * Found a frame independent antiflashing patch for real * Further ASM patching style * Reduce these changes to just two bytes * Added patches for Dark Mountain and Ether Flashing palette reveal Co-authored-by: StructuralMike <66819228+StructuralMike@users.noreply.github.com>
This commit is contained in:
@@ -28,9 +28,10 @@ def adjust(args):
|
||||
palettes_options['sword']=args.sword_palettes
|
||||
palettes_options['shield']=args.shield_palettes
|
||||
# palettes_options['link']=args.link_palettesvera
|
||||
racerom = rom.read_byte(0x180213) > 0
|
||||
|
||||
apply_rom_settings(rom, args.heartbeep, args.heartcolor, args.quickswap, args.fastmenu, args.disablemusic,
|
||||
args.sprite, palettes_options)
|
||||
args.sprite, palettes_options, reduceflashing=args.reduceflashing if not racerom else True)
|
||||
path = output_path(f'{os.path.basename(args.rom)[:-4]}_adjusted.sfc')
|
||||
rom.write_to_file(path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user