2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								from  dataclasses  import  dataclass  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								import  os . path  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  typing  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								import  logging  
						 
					
						
							
								
									
										
										
										
											2024-12-03 00:59:55 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								from  Options  import  Choice ,  Toggle ,  DefaultOnToggle ,  Range ,  FreeText ,  PerGameCommonOptions ,  OptionGroup ,  Removed  
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								from  collections  import  defaultdict  
						 
					
						
							
								
									
										
										
										
											2023-03-31 05:05:51 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								import  Utils  
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								DefaultOffToggle  =  Toggle  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								logger  =  logging . getLogger ( " Link ' s Awakening Logger " )  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  LADXROption :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    def  to_ladxr_option ( self ,  all_options ) : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        if  not  self . ladxr_name : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            return  None ,  None 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								        return  ( self . ladxr_name ,  self . name_lookup [ self . value ] . replace ( " _ " ,  " " ) ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  Logic ( Choice ,  LADXROption ) :  
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Affects  where  items  are  allowed  to  be  placed . 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    [ Normal ]  Playable  without  using  any  tricks  or  glitches .  Can  require  knowledge  from  a  vanilla  playthrough ,  such  as  how  to  open  Color  Dungeon . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Hard ]  More  advanced  techniques  may  be  required ,  but  glitches  are  not .  Examples  include  tricky  jumps ,  killing  enemies  with  only  pots . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Glitched ]  Advanced  glitches  and  techniques  may  be  required ,  but  extremely  difficult  or  tedious  tricks  are  not  required .  Examples  include  Bomb  Triggers ,  Super  Jumps  and  Jesus  Jumps . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Hell ]  Obscure  knowledge  and  hard  techniques  may  be  required .  Examples  include  featherless  jumping  with  boots  and / or  hookshot ,  sequential  pit  buffers  and  unclipped  superjumps .  Things  in  here  can  be  extremely  hard  to  do  or  very  time  consuming . """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Logic " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " logic " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # option_casual = 0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_normal  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_hard  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_glitched  =  3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_hell  =  4 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    default  =  option_normal 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  TradeQuest ( DefaultOffToggle ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ On ]  adds  the  trade  items  to  the  pool  ( the  trade  locations  will  always  be  local  items ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Off ]  ( default )  doesn ' t add them 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Trade Quest " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " tradequest " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-11-22 06:29:33 -08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  TextShuffle ( DefaultOffToggle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ On ]  Shuffles  all  the  text  in  the  game 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Off ]  ( default )  doesn ' t shuffle them. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-30 01:14:39 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Text Shuffle " 
							 
						 
					
						
							
								
									
										
										
										
											2023-11-22 06:29:33 -08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-29 10:17:50 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  Rooster ( DefaultOnToggle ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ On ]  Adds  the  rooster  to  the  item  pool . 
							 
						 
					
						
							
								
									
										
										
										
											2024-11-30 22:58:10 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Off ]  The  rooster  spot  is  still  a  check  giving  an  item .  But  you  will  never  find  the  rooster .  In  that  case ,  any  rooster  spot  is  accessible  without  rooster  by  other  means . 
							 
						 
					
						
							
								
									
										
										
										
											2023-07-29 10:17:50 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Rooster " 
							 
						 
					
						
							
								
									
										
										
										
											2023-07-29 10:17:50 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    ladxr_name  =  " rooster " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  Boomerang ( Choice ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Normal ]  requires  Magnifying  Lens  to  get  the  boomerang . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Gift ]  The  boomerang  salesman  will  give  you  a  random  item ,  and  the  boomerang  is  shuffled . 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-30 01:14:39 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Boomerang " 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    normal  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    gift  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  gift 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  EntranceShuffle ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ WARNING ]  Experimental ,  may  fail  to  fill 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    Randomizes  where  overworld  entrances  lead  to . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Simple ]  Single - entrance  caves / houses  that  have  items  are  shuffled  amongst  each  other . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    If  random  start  location  and / or  dungeon  shuffle  is  enabled ,  then  these  will  be  shuffled  with  all  the  non - connector  entrance  pool . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Note ,  some  entrances  can  lead  into  water ,  use  the  warp - to - home  from  the  save & quit  menu  to  escape  this . """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    # [Advanced] Simple, but two-way connector caves are shuffled in their own pool as well. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # [Expert] Advanced, but caves/houses without items are also shuffled into the Simple entrance pool. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # [Insanity] Expert, but the Raft Minigame hut and Mamu's cave are added to the non-connector pool. 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    option_none  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_simple  =  1 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    # option_advanced = 2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # option_expert = 3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # option_insanity = 4 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    default  =  option_none 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Experimental Entrance Shuffle " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " entranceshuffle " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  DungeonShuffle ( DefaultOffToggle ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ WARNING ]  Experimental ,  may  fail  to  fill 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Randomizes  dungeon  entrances  within  eachother 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Experimental Dungeon Shuffle " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " dungeonshuffle " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-11 00:18:33 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  APTitleScreen ( DefaultOnToggle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Enables  AP  specific  title  screen  and  disables  the  intro  cutscene 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " AP Title Screen " 
							 
						 
					
						
							
								
									
										
										
										
											2023-04-11 00:18:33 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  BossShuffle ( Choice ) :  
						 
					
						
							
								
									
										
										
										
											2024-06-30 01:14:39 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Boss Shuffle " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    none  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    shuffle  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    random  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  none 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  DungeonItemShuffle ( Choice ) :  
						 
					
						
							
								
									
										
										
										
											2024-06-30 01:14:39 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Dungeon Item Shuffle " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    option_original_dungeon  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_own_dungeons  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_own_world  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_any_world  =  3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_different_world  =  4 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    # option_delete = 5 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # option_start_with = 6 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    alias_true  =  3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    alias_false  =  0 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    ladxr_item :  str 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  ShuffleNightmareKeys ( DungeonItemShuffle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Shuffle  Nightmare  Keys 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Original  Dungeon ]  The  item  will  be  within  its  original  dungeon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  Dungeons ]  The  item  will  be  within  a  dungeon  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  World ]  The  item  will  be  somewhere  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Any  World ]  The  item  could  be  anywhere 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Different  World ]  The  item  will  be  somewhere  in  another  world 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Shuffle Nightmare Keys " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_item  =  " NIGHTMARE_KEY " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  ShuffleSmallKeys ( DungeonItemShuffle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Shuffle  Small  Keys 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Original  Dungeon ]  The  item  will  be  within  its  original  dungeon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  Dungeons ]  The  item  will  be  within  a  dungeon  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  World ]  The  item  will  be  somewhere  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Any  World ]  The  item  could  be  anywhere 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Different  World ]  The  item  will  be  somewhere  in  another  world 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Shuffle Small Keys " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_item  =  " KEY " 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  ShuffleMaps ( DungeonItemShuffle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Shuffle  Dungeon  Maps 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Original  Dungeon ]  The  item  will  be  within  its  original  dungeon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  Dungeons ]  The  item  will  be  within  a  dungeon  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  World ]  The  item  will  be  somewhere  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Any  World ]  The  item  could  be  anywhere 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Different  World ]  The  item  will  be  somewhere  in  another  world 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Shuffle Maps " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_item  =  " MAP " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  ShuffleCompasses ( DungeonItemShuffle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Shuffle  Dungeon  Compasses 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Original  Dungeon ]  The  item  will  be  within  its  original  dungeon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  Dungeons ]  The  item  will  be  within  a  dungeon  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  World ]  The  item  will  be  somewhere  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Any  World ]  The  item  could  be  anywhere 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Different  World ]  The  item  will  be  somewhere  in  another  world 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Shuffle Compasses " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_item  =  " COMPASS " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  ShuffleStoneBeaks ( DungeonItemShuffle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Shuffle  Owl  Beaks 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Original  Dungeon ]  The  item  will  be  within  its  original  dungeon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  Dungeons ]  The  item  will  be  within  a  dungeon  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  World ]  The  item  will  be  somewhere  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Any  World ]  The  item  could  be  anywhere 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Different  World ]  The  item  will  be  somewhere  in  another  world 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Shuffle Stone Beaks " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_item  =  " STONE_BEAK " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-03-10 14:48:00 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  ShuffleInstruments ( DungeonItemShuffle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Shuffle  Instruments 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Original  Dungeon ]  The  item  will  be  within  its  original  dungeon 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  Dungeons ]  The  item  will  be  within  a  dungeon  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Own  World ]  The  item  will  be  somewhere  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Any  World ]  The  item  could  be  anywhere 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Different  World ]  The  item  will  be  somewhere  in  another  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Vanilla ]  The  item  will  be  in  its  vanilla  location  in  your  world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Shuffle Instruments " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_item  =  " INSTRUMENT " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  100 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_vanilla  =  100 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    alias_false  =  100 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  Goal ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    The  Goal  of  the  game 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    [ Instruments ]  The  Wind  Fish ' s Egg will only open if you have the required number of Instruments of the Sirens, and play the Ballad of the Wind Fish. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Seashells ]  The  Egg  will  open  when  you  bring  20  seashells .  The  Ballad  and  Ocarina  are  not  needed . 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Open ]  The  Egg  will  start  pre - opened . 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Goal " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " goal " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_instruments  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_seashells  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_open  =  3 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    default  =  option_instruments 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    def  to_ladxr_option ( self ,  all_options ) : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        if  self . value  ==  self . option_instruments : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            return  ( " goal " ,  all_options [ " instrument_count " ] ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        else : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            return  LADXROption . to_ladxr_option ( self ,  all_options ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  InstrumentCount ( Range ,  LADXROption ) :  
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Sets  the  number  of  instruments  required  to  open  the  Egg 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Instrument Count " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  None 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    range_start  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    range_end  =  8 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  8 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-29 05:48:10 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  NagMessages ( DefaultOffToggle ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Controls  if  nag  messages  are  shown  when  rocks  and  crystals  are  touched .  Useful  for  glitches ,  annoying  for  everyone  else . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Nag Messages " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-29 05:48:10 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    ladxr_name  =  " nagmessages " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-29 05:48:10 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  MusicChangeCondition ( Choice ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Controls  how  the  music  changes . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Sword ]  When  you  pick  up  a  sword ,  the  music  changes 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Always ]  You  always  have  the  post - sword  music 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Music Change Condition " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-29 05:48:10 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    option_sword  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_always  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_always 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								#             Setting('hpmode', 'Gameplay', 'm', 'Health mode', options=[('default', '', 'Normal'), ('inverted', 'i', 'Inverted'), ('1', '1', 'Start with 1 heart'), ('low', 'l', 'Low max')], default='default',  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#                 description="""  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# [Normal} health works as you would expect.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# [Inverted] you start with 9 heart containers, but killing a boss will take a heartcontainer instead of giving one.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# [Start with 1] normal game, you just start with 1 heart instead of 3.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# [Low max] replace heart containers with heart pieces."""),  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-12-19 21:19:00 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  HardMode ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Oracle ]  Less  iframes  and  health  from  drops .  Bombs  damage  yourself .  Water  damages  you  without  flippers .  No  piece  of  power  or  acorn . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Hero ]  Switch  version  hero  mode ,  double  damage ,  no  heart / fairy  drops . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ One  hit  KO ]  You  die  on  a  single  hit ,  always . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Hard Mode " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " hardmode " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_none  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_oracle  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_hero  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_ohko  =  3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_none 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#             Setting('steal', 'Gameplay', 't', 'Stealing from the shop',  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#                 options=[('always', 'a', 'Always'), ('never', 'n', 'Never'), ('default', '', 'Normal')], default='default',  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#                 description="""Effects when you can steal from the shop. Stealing is bad and never in logic.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# [Normal] requires the sword before you can steal.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# [Always] you can always steal from the shop  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# [Never] you can never steal from the shop."""),  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  Bowwow ( Choice ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ Allows BowWow to be taken into any area.  Certain enemies and bosses are given a new weakness to BowWow. 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Normal ]  BowWow  is  in  the  item  pool ,  but  can  be  logically  expected  as  a  damage  source . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Swordless ]  The  progressive  swords  are  removed  from  the  item  pool . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-30 01:14:39 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " BowWow " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    normal  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    swordless  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  normal 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  Overworld ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Open  Mabe ]  Replaces  rock  on  the  east  side  of  Mabe  Village  with  bushes ,  allowing  access  to  Ukuku  Prairie  without  Power  Bracelet . 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Overworld " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " overworld " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_normal  =  0 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    option_open_mabe  =  1 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    default  =  option_normal 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# Setting('superweapons', 'Special', 'q', 'Enable super weapons', default=False,  
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								#    description='All items will be more powerful, faster, harder, bigger stronger. You name it.'),  
						 
					
						
							
								
									
										
										
										
											2024-12-19 21:19:00 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  Quickswap ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Adds  that  the  SELECT  button  swaps  with  either  A  or  B .  The  item  is  swapped  with  the  top  inventory  slot .  The  map  is  not  available  when  quickswap  is  enabled . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Quickswap " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " quickswap " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_none  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_a  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_b  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_none 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  TextMode ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Fast ]  Makes  text  appear  twice  as  fast 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Text Mode " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " textmode " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_normal  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_fast  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_fast 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  LowHpBeep ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Slows  or  disables  the  low  health  beeping  sound . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Low HP Beep " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " lowhpbeep " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_default  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_slow  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_none  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_default 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  NoFlash ( DefaultOnToggle ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Remove  the  flashing  light  effects  from  Mamu ,  shopkeeper  and  MadBatter .  Useful  for  capture  cards  and  people  that  are  sensitive  to  these  things . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " No Flash " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " noflash " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-04-13 18:21:55 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  BootsControls ( Choice ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Adds  additional  button  to  activate  Pegasus  Boots  ( does  nothing  if  you  haven ' t picked up your boots!) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Vanilla ]  Nothing  changes ,  you  have  to  equip  the  boots  to  use  them 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Bracelet ]  Holding  down  the  button  for  the  bracelet  also  activates  boots  ( somewhat  like  Link  to  the  Past ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Press  A ]  Holding  down  A  activates  boots 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Press  B ]  Holding  down  B  activates  boots 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Boots Controls " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_vanilla  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_bracelet  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_press_a  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_press_b  =  3 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-04-13 18:21:55 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  LinkPalette ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    Sets  link ' s palette 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    A - D  are  color  palettes  usually  used  during  the  damage  animation  and  can  change  based  on  where  you  are . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Link ' s Palette " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    ladxr_name  =  " linkspalette " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_normal  =  - 1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_green  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_yellow  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_red  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_blue  =  3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_invert_a  =  4 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_invert_b  =  5 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_invert_c  =  6 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_invert_d  =  7 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_normal 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    def  to_ladxr_option ( self ,  all_options ) : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        return  self . ladxr_name ,  str ( self . value ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  TrendyGame ( Choice ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Easy ]  All  of  the  items  hold  still  for  you 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Normal ]  The  vanilla  behavior 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Hard ]  The  trade  item  also  moves 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Harder ]  The  items  move  faster 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Hardest ]  The  items  move  diagonally 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Impossible ]  The  items  move  impossibly  fast ,  may  scroll  on  and  off  the  screen 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Trendy Game " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    option_easy  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_normal  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_hard  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_harder  =  3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_hardest  =  4 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_impossible  =  5 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_normal 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-07-26 16:16:00 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  GfxMod ( DefaultOffToggle ) :  
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2025-07-26 16:16:00 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    If  enabled ,  the  patcher  will  prompt  the  user  for  a  modification  file  to  change  sprites  in  the  game  and  optionally  some  text . 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " GFX Modification " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class  Palette ( Choice ) :  
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    Sets  the  palette  for  the  game . 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-23 13:22:42 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    Note :  A  few  places  aren ' t patched, such as the menu and a few color dungeon tiles. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Normal ]  The  vanilla  palette 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ 1 - Bit ]  One  bit  of  color  per  channel 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ 2 - Bit ]  Two  bits  of  color  per  channel 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Greyscale ]  Shades  of  grey 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Pink ]  Aesthetic 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Inverted ]  Inverted 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-07 12:36:22 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Palette " 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    option_normal  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_1bit  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_2bit  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_greyscale  =  3 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_pink  =  4 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_inverted  =  5 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-01 16:16:25 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-01-19 12:14:26 -08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  Music ( Choice ,  LADXROption ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Vanilla ]  Regular  Music 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Shuffled ]  Shuffled  Music 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Off ]  No  music 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-30 01:14:39 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Music " 
							 
						 
					
						
							
								
									
										
										
										
											2024-01-19 12:14:26 -08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    ladxr_name  =  " music " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_vanilla  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_shuffled  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_off  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    def  to_ladxr_option ( self ,  all_options ) : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        s  =  " " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        if  self . value  ==  self . option_shuffled : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            s  =  " random " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        elif  self . value  ==  self . option_off : 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            s  =  " off " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        return  self . ladxr_name ,  s 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-12-03 00:59:55 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  Warps ( Choice ) :  
						 
					
						
							
								
									
										
										
										
											2023-10-01 16:16:25 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-03 00:59:55 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    [ Improved ]  Adds  remake  style  warp  screen  to  the  game .  Choose  your  warp  destination  on  the  map  after  jumping  in  a  portal  and  press  B  to  select . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Improved  Additional ]  Improved  warps ,  and  adds  a  warp  point  at  Crazy  Tracy ' s house (the Mambo teleport spot) and Eagle ' s  Tower . 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-01 16:16:25 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-03 00:59:55 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    display_name  =  " Warps " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_vanilla  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_improved  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_improved_additional  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_vanilla 
							 
						 
					
						
							
								
									
										
										
										
											2023-10-01 16:16:25 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-12-05 06:03:16 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  InGameHints ( DefaultOnToggle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    When  enabled ,  owl  statues  and  library  books  may  indicate  the  location  of  your  items  in  the  multiworld . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " In-game Hints " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-03-07 19:24:58 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  TarinsGift ( Choice ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Local  Progression ]  Forces  Tarin ' s gift to be an item that immediately opens up local checks. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Has  little  effect  in  single  player  games ,  and  isn ' t always necessary with randomized entrances. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Bush  Breaker ]  Forces  Tarin ' s gift to be an item that can destroy bushes. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Any  Item ]  Tarin ' s gift can be any item for any world 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Tarin ' s Gift " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_local_progression  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_bush_breaker  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_any_item  =  2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_local_progression 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-01-15 21:42:19 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  StabilizeItemPool ( DefaultOffToggle ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    By  default ,  rupees  in  the  item  pool  may  be  randomly  swapped  with  bombs ,  arrows ,  powders ,  or  capacity  upgrades .  This  option  disables  that  swapping ,  which  is  useful  for  plando . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Stabilize Item Pool " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-12-13 16:49:30 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								class  ForeignItemIcons ( Choice ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    Choose  how  to  display  foreign  items . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Guess  By  Name ]  Foreign  items  can  look  like  any  Link ' s Awakening item. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    [ Indicate  Progression ]  Foreign  items  are  either  a  Piece  of  Power  ( progression )  or  Guardian  Acorn  ( non - progression ) . 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    """ 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    display_name  =  " Foreign Item Icons " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_guess_by_name  =  0 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    option_indicate_progression  =  1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    default  =  option_guess_by_name 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-06-19 08:40:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								ladx_option_groups  =  [  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    OptionGroup ( " Goal Options " ,  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Goal , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        InstrumentCount , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ] ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    OptionGroup ( " Shuffles " ,  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        ShuffleInstruments , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        ShuffleNightmareKeys , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        ShuffleSmallKeys , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        ShuffleMaps , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        ShuffleCompasses , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        ShuffleStoneBeaks 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ] ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    OptionGroup ( " Warp Points " ,  [ 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-03 00:59:55 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        Warps , 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-19 08:40:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    ] ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    OptionGroup ( " Miscellaneous " ,  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        TradeQuest , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Rooster , 
							 
						 
					
						
							
								
									
										
										
										
											2025-03-07 19:24:58 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        TarinsGift , 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        Overworld , 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-19 08:40:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        TrendyGame , 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-05 06:03:16 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        InGameHints , 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-19 08:40:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        NagMessages , 
							 
						 
					
						
							
								
									
										
										
										
											2025-01-15 21:42:19 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        StabilizeItemPool , 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-19 21:19:00 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        Quickswap , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        HardMode , 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-19 08:40:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        BootsControls 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ] ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    OptionGroup ( " Experimental " ,  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        DungeonShuffle , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        EntranceShuffle 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ] ) , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    OptionGroup ( " Visuals & Sound " ,  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        LinkPalette , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Palette , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        TextShuffle , 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-13 16:49:30 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        ForeignItemIcons , 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-19 08:40:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        APTitleScreen , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        GfxMod , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        Music , 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-19 21:19:00 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								        MusicChangeCondition , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        LowHpBeep , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        TextMode , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        NoFlash , 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-19 08:40:10 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    ] ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								]  
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								@dataclass  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								class  LinksAwakeningOptions ( PerGameCommonOptions ) :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    logic :  Logic 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    # 'heartpiece': DefaultOnToggle, # description='Includes heart pieces in the item pool'), 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # 'seashells': DefaultOnToggle, # description='Randomizes the secret sea shells hiding in the ground/trees. (chest are always randomized)'), 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # 'heartcontainers': DefaultOnToggle, # description='Includes boss heart container drops in the item pool'), 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # 'instruments': DefaultOffToggle, # description='Instruments are placed on random locations, dungeon goal will just contain a random item.'), 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    tradequest :  TradeQuest   # description='Trade quest items are randomized, each NPC takes its normal trade quest item, but gives a random item'), 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    # 'witch': DefaultOnToggle, # description='Adds both the toadstool and the reward for giving the toadstool to the witch to the item pool'), 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    rooster :  Rooster   # description='Adds the rooster to the item pool. Without this option, the rooster spot is still a check giving an item. But you will never find the rooster. Any rooster spot is accessible without rooster by other means.'), 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    # 'boomerang': Boomerang, 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # 'randomstartlocation': DefaultOffToggle, # 'Randomize where your starting house is located'), 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    experimental_dungeon_shuffle :  DungeonShuffle   # 'Randomizes the dungeon that each dungeon entrance leads to'), 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    experimental_entrance_shuffle :  EntranceShuffle 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    # 'bossshuffle': BossShuffle, 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # 'minibossshuffle': BossShuffle, 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    goal :  Goal 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    instrument_count :  InstrumentCount 
							 
						 
					
						
							
								
									
										
										
										
											2023-03-21 01:26:03 +09:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    # 'itempool': ItemPool, 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # 'bowwow': Bowwow, 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    # 'overworld': Overworld, 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    link_palette :  LinkPalette 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-03 00:59:55 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    warps :  Warps 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    trendy_game :  TrendyGame 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    gfxmod :  GfxMod 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    palette :  Palette 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    text_shuffle :  TextShuffle 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-13 16:49:30 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    foreign_item_icons :  ForeignItemIcons 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-17 22:48:15 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    shuffle_nightmare_keys :  ShuffleNightmareKeys 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    shuffle_small_keys :  ShuffleSmallKeys 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    shuffle_maps :  ShuffleMaps 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    shuffle_compasses :  ShuffleCompasses 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    shuffle_stone_beaks :  ShuffleStoneBeaks 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    music :  Music 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    shuffle_instruments :  ShuffleInstruments 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    music_change_condition :  MusicChangeCondition 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    nag_messages :  NagMessages 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    ap_title_screen :  APTitleScreen 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    boots_controls :  BootsControls 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-19 21:19:00 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    quickswap :  Quickswap 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    hard_mode :  HardMode 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    low_hp_beep :  LowHpBeep 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    text_mode :  TextMode 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    no_flash :  NoFlash 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-05 06:03:16 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    in_game_hints :  InGameHints 
							 
						 
					
						
							
								
									
										
										
										
											2025-03-07 19:24:58 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    tarins_gift :  TarinsGift 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-20 07:55:32 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    overworld :  Overworld 
							 
						 
					
						
							
								
									
										
										
										
											2025-01-15 21:42:19 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    stabilize_item_pool :  StabilizeItemPool 
							 
						 
					
						
							
								
									
										
										
										
											2024-12-03 00:59:55 -05:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    warp_improvements :  Removed 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    additional_warp_points :  Removed