Jump to content

War of the Commonwealth 2.0


SMB92

Recommended Posts

Just to post a bit of an update, well there hasn't been anyway work on the mod this week but there will be some today. Unfortunately time got away from me again, and it's looking like that might remain the case for a couple of weeks at least. So bits and pieces here and there for now. See what happens to today, I still want to post a teaser for ya'll to try out :smile:

 

We can't wait :)

We appreciate the work!

Link to comment
Share on other sites

  • Replies 261
  • Created
  • Last Reply

Top Posters In This Topic

OK so finished the Master menu. Mod is usable without advanced settings, just with presets I have set up. We've run into a road block with Ai packages however so that's why we aren't posting an teaser/alpha. In the meantime I will start making the advanced menu for NPCs and the main Random Spawns system menu.
Link to comment
Share on other sites

BTW folks if anyone is interested in what the menu code looks like so far, have a go at this mammoth:

 

 

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
Scriptname SOTC:Fragments:Quests:ASC_MasterQuest_QFScript Extends Quest Hidden Const

;BEGIN FRAGMENT Fragment_Stage_0000_Item_00
Function Fragment_Stage_0000_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Game.GetPlayer().AddItem(kmyQuest.ASC_MasterMenuItem, 1, True)
kmyQuest.SetStage(1)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0100_Item_00
Function Fragment_Stage_0100_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iMessage = -1
Int iMainMenu = -1

while iMessage != 0
	iMessage = kmyQuest.ASC_ExitPipboyMessage.Show()
	if iMessage == 0
	endif
endwhile

Utility.Wait(1)

while iMainMenu != 4
	iMainMenu = kmyQuest.ASC_MainMenu.Show()
	
	if iMainMenu == 0
		kmyQuest.SetStage(101)
		iMainMenu = 4
	
	elseif iMainMenu == 1
		kmyQuest.SetStage(102)
		iMainMenu = 4
		
	elseif iMainMenu == 2  ;Exit Button
		kmyQuest.SetStage(1)
		iMainMenu = 4

	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0101_Item_00
Function Fragment_Stage_0101_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iMenu = -1
while iMenu != 15
	iMenu = kmyQuest.ASC_MasterMenu.Show(kmyQuest.bModEnabled as Int)
	
	if iMenu == 0 ;Master Presets Menu
		kmyQuest.SetStage(110)
		iMenu = 15
		
	elseif iMenu == 1 ;Master Difficulty Menu
		kmyQuest.SetStage(115)
		iMenu = 15
	
	elseif iMenu == 2 ;Master Spawn Chance Settings
		kmyQuest.SetStage(120)
		iMenu = 15
	
	elseif iMenu == 3 ;Reset Timer Settings
		kmyQuest.SetStage(125)
		iMenu = 15
		
	elseif iMenu == 4 ;Cleanup Timer Settings
		kmyQuest.SetStage(130)
		iMenu = 15
		
	elseif iMenu == 5 ;DisableOnBlock Setting
		kmyQuest.SetStage(135)
		iMenu = 15
		
	elseif iMenu == 6 ;Force Update/Reset AllArrays
		kmyQuest.SetStage(990)
		iMenu = 15
		
	elseif iMenu == 7 ;Force Update/Reset All SP's
		kmyQuest.SetStage(993)
		iMenu = 15
		
	elseif iMenu == 8 ;Force Update/Reset All SP's and Arrays
		kmyQuest.SetStage(996)
		iMenu = 15
		
	elseif iMenu == 9 ;Master IO Switch Menu
		kmyQuest.SetStage(997)
		iMenu = 15
	
	elseif iMenu == 10 ;Back Button
		kmyQuest.SetStage(100)
		iMenu = 15
		
	elseif iMenu == 11 ;Exit
		kmyQuest.SetStage(1)
		iMenu = 15
		
	endif
	
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0102_Item_00
Function Fragment_Stage_0102_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iMenu = -1
while iMenu != 15
	iMenu = kmyQuest.ASC_SystemsMenu.Show()
	
	if iMenu == 0
		kmyQuest.SetStage(1)
		iMenu = 15
	
	elseif iMenu == 1
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 2
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 3
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 4
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 5
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 6
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 7
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 8
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 9
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 10
		kmyQuest.SetStage(1)
		iMenu = 15
		
	elseif iMenu == 11 ;Back Button
		kmyQuest.SetStage(100)
		iMenu = 15
		
	elseif iMenu == 12 ;Exit Button
		kmyQuest.SetStage(1)
		iMenu = 15

	endif

endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0103_Item_00
Function Fragment_Stage_0103_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int isub
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0110_Item_00
Function Fragment_Stage_0110_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1    ;Master Preset Menu
while iSub1 != 8
	iSub1 = kmyQuest.ASC_MasterPresetMenu.Show(kmyQuest.iCurrentMasterPresetAll)
	
	if iSub1 == 0 ;Presets Per Region
		kmyQuest.SetStage(111)
		iSub1 = 8	
	elseif iSub1 == 1 ;FOTC
		kmyQuest.SetPresetFOTC_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
	elseif iSub1 == 2 ;BOTC
		kmyQuest.SetPresetBOTC_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
	elseif iSub1 == 3 ;WOTC
		kmyQuest.SetPresetWOTC_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
	elseif iSub1 == 4 ;COTC
		kmyQuest.SetPresetCOTC_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
	elseif iSub1 == 5 ;Back Button
		kmyQuest.SetStage(101)
		iSub1 = 8
	elseif iSub1 == 6
		kmyQuest.SetStage(1)
		iSub1 = 8
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0111_Item_00
Function Fragment_Stage_0111_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub2 = -1
while iSub2 != 20
	iSub2 = kmyQuest.ASC_RegionSelectionSubMenu.Show()

			
	if iSub2 == 0 ;Back
		kmyQuest.SetStage(110)
		iSub2 = 20
		
	elseif iSub2 == 1 ;R1
		kmyQuest.iCurrentMenuRegion = 1
		kmyQuest.SetStage(112)
		iSub2 = 20
	
	elseif iSub2 == 2 ;R2
		kmyQuest.iCurrentMenuRegion = 2
		kmyQuest.SetStage(112)
		iSub2 = 20
		
	elseif iSub2 == 3 ;R3
		kmyQuest.iCurrentMenuRegion = 3
		kmyQuest.SetStage(112)
		iSub2 = 20
	
	elseif iSub2 == 4 ;R4
		kmyQuest.iCurrentMenuRegion = 4
		kmyQuest.SetStage(112)
		iSub2 = 20
	
	elseif iSub2 == 5 ;R5
		kmyQuest.iCurrentMenuRegion = 5
		kmyQuest.SetStage(112)
		iSub2 = 20
	
	elseif iSub2 == 6 ;R6
		kmyQuest.iCurrentMenuRegion = 6
		kmyQuest.SetStage(112)
		iSub2 = 20
		
	elseif iSub2 == 7 ;R7
		kmyQuest.iCurrentMenuRegion = 7
		kmyQuest.SetStage(112)
		iSub2 = 20
		
	elseif iSub2 == 8 ;R8
		kmyQuest.iCurrentMenuRegion = 8
		kmyQuest.SetStage(112)
		iSub2 = 20
		
	elseif iSub2 == 9 ;R9
		kmyQuest.iCurrentMenuRegion = 9
		kmyQuest.SetStage(112)
		iSub2 = 20
		
	elseif iSub2 == 10 ;R10
		kmyQuest.iCurrentMenuRegion = 10
		kmyQuest.SetStage(112)
		iSub2 = 20
		
	elseif iSub2 == 11 ;R11
		kmyQuest.iCurrentMenuRegion = 11
		kmyQuest.SetStage(112)
		iSub2 = 20
		
	elseif iSub2 == 12 ;R12
		kmyQuest.iCurrentMenuRegion = 12
		kmyQuest.SetStage(112)
		iSub2 = 20
	
	elseif iSub2 == 13 ;Exit
		kmyQuest.SetStage(1)
		iSub2 = 20
		
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0112_Item_00
Function Fragment_Stage_0112_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub3 = -1

	if kmyQuest.iCurrentMenuRegion == 1
		
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR1)
				
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7

				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 2
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR2)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7

				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 3
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR3)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7

				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 4
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR4)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7

				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 5
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR5)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 6
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR6)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 7
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR7)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 8
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR8)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 9
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR9)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7

				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 10
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR10)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 11
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR11)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7

				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 12
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalPresetMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterPresetR12)
			
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetPresetFOTC_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetPresetBOTC_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 3
					kmyQuest.SetPresetWOTC_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
				
				elseif iSub3 == 4
					kmyQuest.SetPresetCOTC_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(111)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				
				endif
		endwhile
	endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0115_Item_00
Function Fragment_Stage_0115_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1
while iSub1 != 8
	iSub1 = kmyQuest.ASC_MasterDiffMenu.Show(kmyQuest.iCurrentMasterDiffAll)
	
	if iSub1 == 0 ;Easy
		
		kmyQuest.SetDiffEasy_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
		
	elseif iSub1 == 1 ;Medium

		kmyQuest.SetDiffMedium_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
		
	elseif iSub1 == 2 ;Hard
		
		kmyQuest.SetDiffHard_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
		
	elseif iSub1 == 3 ;Veteran
		
		kmyQuest.SetDiffVeteran_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 8
		
	elseif iSub1 == 4 ;Regional Selection Menu
		
		kmyQuest.SetStage(116)
		iSub1 = 8
		
	elseif iSub1 == 5 ;Back Button
		kmyQuest.SetStage(101)
		iSub1 = 8
		
	elseif iSub1 == 6 ;Exit Button
		kmyQuest.SetStage(1)
		iSub1 = 8
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0116_Item_00
Function Fragment_Stage_0116_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub2 = -1
while iSub2 != 20
	iSub2 = kmyQuest.ASC_RegionSelectionSubMenu.Show()
	
	if iSub2 == 0 ;R1
		kmyQuest.iCurrentMenuRegion = 1
		kmyQuest.SetStage(117)
		iSub2 = 20
	
	elseif iSub2 == 1 ;R2
		kmyQuest.iCurrentMenuRegion = 2
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 2 ;R3
		kmyQuest.iCurrentMenuRegion = 3
		kmyQuest.SetStage(117)
		iSub2 = 20
	
	elseif iSub2 == 3 ;R4
		kmyQuest.iCurrentMenuRegion = 4
		kmyQuest.SetStage(117)
		iSub2 = 20
	
	elseif iSub2 == 4 ;R5
		kmyQuest.iCurrentMenuRegion = 5
		kmyQuest.SetStage(117)
		iSub2 = 20
	
	elseif iSub2 == 5 ;R6
		kmyQuest.iCurrentMenuRegion = 6
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 6 ;R7
		kmyQuest.iCurrentMenuRegion = 7
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 7 ;R8
		kmyQuest.iCurrentMenuRegion = 8
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 8 ;R9
		kmyQuest.iCurrentMenuRegion = 9
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 9 ;R10
		kmyQuest.iCurrentMenuRegion = 10
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 10 ;R11
		kmyQuest.iCurrentMenuRegion = 11
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 11 ;R12
		kmyQuest.iCurrentMenuRegion = 12
		kmyQuest.SetStage(117)
		iSub2 = 20
		
	elseif iSub2 == 12 ;Back
		kmyQuest.SetStage(115)
		iSub2 = 20
	
	elseif iSub2 == 13 ;Exit
		kmyQuest.SetStage(1)
		iSub2 = 20
		
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0117_Item_00
Function Fragment_Stage_0117_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub3 = -1

	if kmyQuest.iCurrentMenuRegion == 1
		
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR1)
				
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 2
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR2)

				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 3
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR3)

				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 4
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR4)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 5
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR5)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 6
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR6)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 7
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR7)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 8
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR8)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 9
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR9)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 10
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR10)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 11
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR11)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 12
		while iSub3 != 7
			iSub3 = kmyQuest.ASC_MasterRegionalDiffMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterDiffR12)
			
				if iSub3 == 0
					kmyQuest.SetDiffEasy_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 1
					kmyQuest.SetDiffMedium_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 2
					kmyQuest.SetDiffHard_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
				
				elseif iSub3 == 3
					kmyQuest.SetDiffVeteran_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 4 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(116)
					iSub3 = 7
					
				elseif iSub3 == 5 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 7
					
				elseif iSub3 == 6 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 7
				
				endif
		endwhile
	endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0120_Item_00
Function Fragment_Stage_0120_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1    ;Master Spawn Chance Menu
while iSub1 != 20
	iSub1 = kmyQuest.ASC_MasterSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCAll)
	
	if iSub1 == 0 ;Back to Spawn Chance Per Region
		kmyQuest.SetStage(121)
		iSub1 = 20
		
	elseif iSub1 == 1 ;1%
		kmyQuest.SetSpawnChance01Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 2 ;5%
		kmyQuest.SetSpawnChance05Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 3 ;10%
		kmyQuest.SetSpawnChance10Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 4 ;15%
		kmyQuest.SetSpawnChance15Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 5 ;20%
		kmyQuest.SetSpawnChance20Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 6 ;25%
		kmyQuest.SetSpawnChance25Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 7 ;30%
		kmyQuest.SetSpawnChance30Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 8 ;35%
		kmyQuest.SetSpawnChance35Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 9 ;40%
		kmyQuest.SetSpawnChance40Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 10 ;50%
		kmyQuest.SetSpawnChance50Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 11 ;60%
		kmyQuest.SetSpawnChance60Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 12 ;65%
		kmyQuest.SetSpawnChance65Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 13 ;70%
		kmyQuest.SetSpawnChance70Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 14 ;75%
		kmyQuest.SetSpawnChance75Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 15 ;80%
		kmyQuest.SetSpawnChance80Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 16 ;90%
		kmyQuest.SetSpawnChance90Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 17 ;100%
		kmyQuest.SetSpawnChance100Pcnt_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20

	elseif iSub1 == 18 ;Back Button
		kmyQuest.SetStage(101)
		iSub1 = 20
	
	elseif iSub1 == 19 ;Exit Button
		kmyQuest.SetStage(1)
		iSub1 = 20
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0121_Item_00
Function Fragment_Stage_0121_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub2 = -1
while iSub2 != 20
	iSub2 = kmyQuest.ASC_RegionSelectionSubMenu.Show()

			
	if iSub2 == 0 ;Back
		kmyQuest.SetStage(120)
		iSub2 = 20
		
	elseif iSub2 == 1 ;R1
		kmyQuest.iCurrentMenuRegion = 1
		kmyQuest.SetStage(122)
		iSub2 = 20
	
	elseif iSub2 == 2 ;R2
		kmyQuest.iCurrentMenuRegion = 2
		kmyQuest.SetStage(122)
		iSub2 = 20
		
	elseif iSub2 == 3 ;R3
		kmyQuest.iCurrentMenuRegion = 3
		kmyQuest.SetStage(122)
		iSub2 = 20
	
	elseif iSub2 == 4 ;R4
		kmyQuest.iCurrentMenuRegion = 4
		kmyQuest.SetStage(122)
		iSub2 = 20
	
	elseif iSub2 == 5 ;R5
		kmyQuest.iCurrentMenuRegion = 5
		kmyQuest.SetStage(122)
		iSub2 = 20
	
	elseif iSub2 == 6 ;R6
		kmyQuest.iCurrentMenuRegion = 6
		kmyQuest.SetStage(122)
		iSub2 = 20
		
	elseif iSub2 == 7 ;R7
		kmyQuest.iCurrentMenuRegion = 7
		kmyQuest.SetStage(122)
		iSub2 = 20
		
	elseif iSub2 == 8 ;R8
		kmyQuest.iCurrentMenuRegion = 8
		kmyQuest.SetStage(122)
		iSub2 = 20
		
	elseif iSub2 == 9 ;R9
		kmyQuest.iCurrentMenuRegion = 9
		kmyQuest.SetStage(122)
		iSub2 = 20
		
	elseif iSub2 == 10 ;R10
		kmyQuest.iCurrentMenuRegion = 10
		kmyQuest.SetStage(122)
		iSub2 = 20
		
	elseif iSub2 == 11 ;R11
		kmyQuest.iCurrentMenuRegion = 11
		kmyQuest.SetStage(122)
		iSub2 = 20
		
	elseif iSub2 == 12 ;R12
		kmyQuest.iCurrentMenuRegion = 12
		kmyQuest.SetStage(122)
		iSub2 = 20
	
	elseif iSub2 == 13 ;Exit
		kmyQuest.SetStage(1)
		iSub2 = 20
		
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0122_Item_00
Function Fragment_Stage_0122_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub3 = -1	
	
	if kmyQuest.iCurrentMenuRegion == 1
		
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR1) ;Master Spawn Chance Selected Region Menu
					
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR1()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 2
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR2)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR2()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 3
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR3)

				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR3()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 4
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR4)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR4()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 5
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR5)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR5()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 6
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR6)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR6()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 7
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR7)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR7()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 8
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR8)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR8()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 9
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR9)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR9()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 10
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR10)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR10()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 11
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR11)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR11()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	elseif kmyQuest.iCurrentMenuRegion == 12
		while iSub3 != 20
			iSub3 = kmyQuest.ASC_MasterRegionalSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCR12)
			
				if iSub3 == 0 ;Back to Region Selection
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 1
					kmyQuest.SetSpawnChance01Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 2
					kmyQuest.SetSpawnChance05Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 3
					kmyQuest.SetSpawnChance10Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 4
					kmyQuest.SetSpawnChance15Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 5
					kmyQuest.SetSpawnChance20Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 6
					kmyQuest.SetSpawnChance25Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 7
					kmyQuest.SetSpawnChance30Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 8
					kmyQuest.SetSpawnChance35Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 9
					kmyQuest.SetSpawnChance40Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 10
					kmyQuest.SetSpawnChance50Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 11
					kmyQuest.SetSpawnChance60Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 12
					kmyQuest.SetSpawnChance65Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 13
					kmyQuest.SetSpawnChance70Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 14
					kmyQuest.SetSpawnChance75Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 15
					kmyQuest.SetSpawnChance80Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 16
					kmyQuest.SetSpawnChance90Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 17
					kmyQuest.SetSpawnChance100Pcnt_MasterR12()
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(121)
					iSub3 = 20
					
				elseif iSub3 == 18 ;Back to Master Menu
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(101)
					iSub3 = 20
					
				elseif iSub3 == 19 ;Exit
					kmyQuest.iCurrentMenuRegion = 0
					kmyQuest.SetStage(1)
					iSub3 = 20
				endif
		endwhile
		
	endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0125_Item_00
Function Fragment_Stage_0125_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1    ;Master Reset Timer Menu
while iSub1 != 20
	iSub1 = kmyQuest.ASC_MasterSpawnChanceMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iCurrentMasterSCAll)
	
	if iSub1 == 0 ;Reset Timer Per Region
		kmyQuest.SetStage(126)
		iSub1 = 20
		
	elseif iSub1 == 1 ;12hrs
		kmyQuest.SetRT12Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 2 ;24hrs
		kmyQuest.SetRT24Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 3 ;36hrs
		kmyQuest.SetRT36Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 4 ;48hrs
		kmyQuest.SetRT48Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 5 ;72hrs
		kmyQuest.SetRT72Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 6 ;96hrs
		kmyQuest.SetRT96Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 7 ;120hrs
		kmyQuest.SetRT120Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 8 ;144hrs
		kmyQuest.SetRT144Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 9 ;168hrs
		kmyQuest.SetRT168Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 10 ;240hrs
		kmyQuest.SetRT240Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 11 ;336hrs
		kmyQuest.SetRT336Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 12 ;672hrs
		kmyQuest.SetRT672Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20

	elseif iSub1 == 13 ;Back Button
		kmyQuest.SetStage(101)
		iSub1 = 20
	
	elseif iSub1 == 14 ;Exit Button
		kmyQuest.SetStage(1)
		iSub1 = 20
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0126_Item_00
Function Fragment_Stage_0126_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub2 = -1
while iSub2 != 20
	iSub2 = kmyQuest.ASC_RegionSelectionSubMenu.Show()

			
	if iSub2 == 0 ;Back
		kmyQuest.SetStage(125)
		iSub2 = 20
		
	elseif iSub2 == 1 ;R1
		kmyQuest.iCurrentMenuRegion = 1
		kmyQuest.SetStage(127)
		iSub2 = 20
	
	elseif iSub2 == 2 ;R2
		kmyQuest.iCurrentMenuRegion = 2
		kmyQuest.SetStage(127)
		iSub2 = 20
		
	elseif iSub2 == 3 ;R3
		kmyQuest.iCurrentMenuRegion = 3
		kmyQuest.SetStage(127)
		iSub2 = 20
	
	elseif iSub2 == 4 ;R4
		kmyQuest.iCurrentMenuRegion = 4
		kmyQuest.SetStage(127)
		iSub2 = 20
	
	elseif iSub2 == 5 ;R5
		kmyQuest.iCurrentMenuRegion = 5
		kmyQuest.SetStage(127)
		iSub2 = 20
	
	elseif iSub2 == 6 ;R6
		kmyQuest.iCurrentMenuRegion = 6
		kmyQuest.SetStage(127)
		iSub2 = 20
		
	elseif iSub2 == 7 ;R7
		kmyQuest.iCurrentMenuRegion = 7
		kmyQuest.SetStage(127)
		iSub2 = 20
		
	elseif iSub2 == 8 ;R8
		kmyQuest.iCurrentMenuRegion = 8
		kmyQuest.SetStage(127)
		iSub2 = 20
		
	elseif iSub2 == 9 ;R9
		kmyQuest.iCurrentMenuRegion = 9
		kmyQuest.SetStage(127)
		iSub2 = 20
		
	elseif iSub2 == 10 ;R10
		kmyQuest.iCurrentMenuRegion = 10
		kmyQuest.SetStage(127)
		iSub2 = 20
		
	elseif iSub2 == 11 ;R11
		kmyQuest.iCurrentMenuRegion = 11
		kmyQuest.SetStage(127)
		iSub2 = 20
		
	elseif iSub2 == 12 ;R12
		kmyQuest.iCurrentMenuRegion = 12
		kmyQuest.SetStage(127)
		iSub2 = 20
	
	elseif iSub2 == 13 ;Exit
		kmyQuest.SetStage(1)
		iSub2 = 20
		
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0127_Item_00
Function Fragment_Stage_0127_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1    ;Master Regional Reset Timer Menu
if kmyQuest.iCurrentMenuRegion == 1
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR1)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 2
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR2)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 3
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR3)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 4
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR4)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 5
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR5)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 6
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR6)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 7
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR7)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 8
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR8)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 9
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR9)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 10
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR10)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 11
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR11)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 12
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalResetTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerResetR12)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 1 ;12hrs
			kmyQuest.SetRT12Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 2 ;24hrs
			kmyQuest.SetRT24Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 3 ;36hrs
			kmyQuest.SetRT36Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 4 ;48hrs
			kmyQuest.SetRT48Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 5 ;72hrs
			kmyQuest.SetRT72Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 6 ;96hrs
			kmyQuest.SetRT96Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 7 ;120hrs
			kmyQuest.SetRT120Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 8 ;144hrs
			kmyQuest.SetRT144Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 9 ;168hrs
			kmyQuest.SetRT168Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 10 ;240hrs
			kmyQuest.SetRT240Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 11 ;336hrs
			kmyQuest.SetRT336Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20
			
		elseif iSub1 == 12 ;672hrs
			kmyQuest.SetRT672Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(126)
			iSub1 = 20

		elseif iSub1 == 13 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 14 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0130_Item_00
Function Fragment_Stage_0130_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1    ;Master Cleanup Timer Menu
while iSub1 != 20
	iSub1 = kmyQuest.ASC_MasterCleanupTimerMenu.Show(kmyQuest.iCurrentMasterCTAll)
	
	if iSub1 == 0 ;Cleanup Timer Per Region
		kmyQuest.SetStage(131)
		iSub1 = 20
		
	elseif iSub1 == 1 ;1hrs
		kmyQuest.SetCT1Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 2 ;2hrs
		kmyQuest.SetCT2Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 3 ;3hrs
		kmyQuest.SetCT3Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 4 ;4hrs
		kmyQuest.SetCT4Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 5 ;6hrs
		kmyQuest.SetCT6Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 6 ;8hrs
		kmyQuest.SetCT8Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 7 ;12hrs
		kmyQuest.SetCT12Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 8 ;24hrs
		kmyQuest.SetCT24Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 9 ;48hrs
		kmyQuest.SetCT48Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20
		
	elseif iSub1 == 10 ;72hrs
		kmyQuest.SetCT72Hrs_MasterAllRegions()
		kmyQuest.SetStage(101)
		iSub1 = 20

	elseif iSub1 == 11 ;Back Button
		kmyQuest.SetStage(101)
		iSub1 = 20
	
	elseif iSub1 == 12 ;Exit Button
		kmyQuest.SetStage(1)
		iSub1 = 20
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0131_Item_00
Function Fragment_Stage_0131_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub2 = -1
while iSub2 != 20
	iSub2 = kmyQuest.ASC_RegionSelectionSubMenu.Show()

			
	if iSub2 == 0 ;Back
		kmyQuest.SetStage(130)
		iSub2 = 20
		
	elseif iSub2 == 1 ;R1
		kmyQuest.iCurrentMenuRegion = 1
		kmyQuest.SetStage(132)
		iSub2 = 20
	
	elseif iSub2 == 2 ;R2
		kmyQuest.iCurrentMenuRegion = 2
		kmyQuest.SetStage(132)
		iSub2 = 20
		
	elseif iSub2 == 3 ;R3
		kmyQuest.iCurrentMenuRegion = 3
		kmyQuest.SetStage(132)
		iSub2 = 20
	
	elseif iSub2 == 4 ;R4
		kmyQuest.iCurrentMenuRegion = 4
		kmyQuest.SetStage(132)
		iSub2 = 20
	
	elseif iSub2 == 5 ;R5
		kmyQuest.iCurrentMenuRegion = 5
		kmyQuest.SetStage(132)
		iSub2 = 20
	
	elseif iSub2 == 6 ;R6
		kmyQuest.iCurrentMenuRegion = 6
		kmyQuest.SetStage(132)
		iSub2 = 20
		
	elseif iSub2 == 7 ;R7
		kmyQuest.iCurrentMenuRegion = 7
		kmyQuest.SetStage(132)
		iSub2 = 20
		
	elseif iSub2 == 8 ;R8
		kmyQuest.iCurrentMenuRegion = 8
		kmyQuest.SetStage(132)
		iSub2 = 20
		
	elseif iSub2 == 9 ;R9
		kmyQuest.iCurrentMenuRegion = 9
		kmyQuest.SetStage(132)
		iSub2 = 20
		
	elseif iSub2 == 10 ;R10
		kmyQuest.iCurrentMenuRegion = 10
		kmyQuest.SetStage(132)
		iSub2 = 20
		
	elseif iSub2 == 11 ;R11
		kmyQuest.iCurrentMenuRegion = 11
		kmyQuest.SetStage(132)
		iSub2 = 20
		
	elseif iSub2 == 12 ;R12
		kmyQuest.iCurrentMenuRegion = 12
		kmyQuest.SetStage(132)
		iSub2 = 20
	
	elseif iSub2 == 13 ;Exit
		kmyQuest.SetStage(1)
		iSub2 = 20
		
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0132_Item_00
Function Fragment_Stage_0132_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1    ;Master Regional Cleanup Timer Menu
if kmyQuest.iCurrentMenuRegion == 1	
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR1)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR1()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 2
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR2)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR2()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 3
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR3)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR3()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 4
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR4)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR4()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 5
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR5)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR5()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 6
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR6)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR6()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 7
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR7)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR7()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 8
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR8)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR8()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 9
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR9)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR9()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 10
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR10)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR10()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 11
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR11)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR11()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
elseif kmyQuest.iCurrentMenuRegion == 12
	while iSub1 != 20
		iSub1 = kmyQuest.ASC_MasterRegionalCleanupTimerMenu.Show(kmyQuest.iCurrentMenuRegion, kmyQuest.iTimerCleanupR12)
		
		if iSub1 == 0 ;Back to Region Selection
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 1 ;1hrs
			kmyQuest.SetCT1Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 2 ;2hrs
			kmyQuest.SetCT2Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 3 ;3hrs
			kmyQuest.SetCT3Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 4 ;4hrs
			kmyQuest.SetCT4Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 5 ;6hrs
			kmyQuest.SetCT6Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 6 ;8hrs
			kmyQuest.SetCT8Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 7 ;12hrs
			kmyQuest.SetCT12Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 8 ;24hrs
			kmyQuest.SetCT24Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 9 ;48hrs
			kmyQuest.SetCT48Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20
			
		elseif iSub1 == 10 ;72hrs
			kmyQuest.SetCT72Hrs_MasterR12()
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(131)
			iSub1 = 20

		elseif iSub1 == 11 ;Back to Master Menu
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(101)
			iSub1 = 20
		
		elseif iSub1 == 12 ;Exit Button
			kmyQuest.iCurrentMenuRegion = 0
			kmyQuest.SetStage(1)
			iSub1 = 20
		
		endif
	endwhile
endif
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0135_Item_00
Function Fragment_Stage_0135_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1   ;Menu for setting DisableOnBlock or CooldownTimer
while iSub1 != 5
	iSub1 = kmyQuest.ASC_MasterDOBSettingMenu.Show(kmyQuest.bDisableOnBlock as int, kmyQuest.bCooldownTimerEnabled as int, kmyQuest.iCooldownTimer as float)
	
	if iSub1 == 0 ;Turn On DOB
		
		kmyQuest.bDisableOnBlock = true
		kmyQuest.bCooldownTimerEnabled = false
		kmyQuest.iCooldownTimer = 0
		kmyQuest.SetStage(101)
		iSub1 = 5
		
	elseif iSub1 == 1 ;Turn On Cooldown Timer

		kmyQuest.bDisableOnBlock = false
		kmyQuest.bCooldownTimerEnabled = true
		kmyQuest.iCooldownTimer = 1
		kmyQuest.SetStage(136)
		iSub1 = 5

	elseif iSub1 == 2 ;Select Cooldown Timer Value
		kmyQuest.SetStage(136)
		iSub1 = 5
		
	elseif iSub1 == 3 ;Back Button
		kmyQuest.SetStage(101)
		iSub1 = 5
		
	elseif iSub1 == 4 ;Exit Button
		kmyQuest.SetStage(1)
		iSub1 = 5
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0136_Item_00
Function Fragment_Stage_0136_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub2 = -1   ;Sub Menu for setting Cooldown Timer Value
while iSub2 != 6
	iSub2 = kmyQuest.ASC_MasterCooldownTimerMenu.Show(kmyQuest.iCooldownTimer)

	if iSub2 == 0
		kmyQuest.iCooldownTimer = 1
		kmyQuest.SetStage(135)
		iSub2 = 6
		
	elseif iSub2 == 1
		kmyQuest.iCooldownTimer = 2
		kmyQuest.SetStage(135)
		iSub2 = 6
		
	elseif iSub2 == 2
		kmyQuest.iCooldownTimer = 3
		kmyQuest.SetStage(135)
		iSub2 = 6
		
	elseif iSub2 == 3
		kmyQuest.SetStage(135)
		iSub2 = 6
		
	elseif iSub2 == 4
		kmyQuest.SetStage(1)
		iSub2 = 6
		
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0990_Item_00
Function Fragment_Stage_0990_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub1 = -1    ;Resets All Actor Arrays and Repopulate with current settings
while iSub1 != 3
	iSub1 = kmyQuest.ASC_MasterConfirmResetArrays.Show()
	
	if iSub1 == 0
		kmyQuest.ClearAllArrays()
		kmyQuest.FillAllArrays()
		kmyQuest.SetStage(101)
		iSub1 = 3
		
	elseif iSub1 == 1
		kmyQuest.SetStage(101)
		iSub1 = 3
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0993_Item_00
Function Fragment_Stage_0993_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub1 = -1   ;Reset Spawnpoints Options Menu
while iSub1 != 20
	iSub1 = kmyQuest.ASC_MasterResetSPs.Show()
	
	if iSub1 == 0
		kmyQuest.iCurrentMenuRegion = 50
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 1
		kmyQuest.iCurrentMenuRegion = 1
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 2
		kmyQuest.iCurrentMenuRegion = 2
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 3
		kmyQuest.iCurrentMenuRegion = 3
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 4
		kmyQuest.iCurrentMenuRegion = 4
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 5
		kmyQuest.iCurrentMenuRegion = 5
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 6
		kmyQuest.iCurrentMenuRegion = 6
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 7
		kmyQuest.iCurrentMenuRegion = 7
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 8
		kmyQuest.iCurrentMenuRegion = 8
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 9
		kmyQuest.iCurrentMenuRegion = 9
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 10
		kmyQuest.iCurrentMenuRegion = 10
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 11
		kmyQuest.iCurrentMenuRegion = 11
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 12
		kmyQuest.iCurrentMenuRegion = 12
		kmyQuest.SetStage(994)
		iSub1 = 20
		
	elseif iSub1 == 13
		kmyQuest.SetStage(101)
		iSub1 = 20
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0994_Item_00
Function Fragment_Stage_0994_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
int iSub2 = -1
while iSub2 != 2
	
	if kmyQuest.iCurrentMenuRegion == 50
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPs.Show()
			if iSub2 == 0
				kmyQuest.CancelAllTimers()
				kmyQuest.ResetAllFormlistsAndSPs()
				kmyQuest.StartAllTimers()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 1
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR1()
				kmyQuest.ResetFormlistAndSPsR1()
				kmyQuest.StartTimerR1()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 2
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR2()
				kmyQuest.ResetFormlistAndSPsR2()
				kmyQuest.StartTimerR2()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 3
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR3()
				kmyQuest.ResetFormlistAndSPsR3()
				kmyQuest.StartTimerR3()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 4
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR4()
				kmyQuest.ResetFormlistAndSPsR4()
				kmyQuest.StartTimerR4()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 5
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR5()
				kmyQuest.ResetFormlistAndSPsR5()
				kmyQuest.StartTimerR5()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 6
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR6()
				kmyQuest.ResetFormlistAndSPsR6()
				kmyQuest.StartTimerR6()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 7
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR7()
				kmyQuest.ResetFormlistAndSPsR7()
				kmyQuest.StartTimerR7()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 8
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR8()
				kmyQuest.ResetFormlistAndSPsR8()
				kmyQuest.StartTimerR8()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 9
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR9()
				kmyQuest.ResetFormlistAndSPsR9()
				kmyQuest.StartTimerR9()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 10
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR10()
				kmyQuest.ResetFormlistAndSPsR10()
				kmyQuest.StartTimerR10()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 11
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR11()
				kmyQuest.ResetFormlistAndSPsR11()
				kmyQuest.StartTimerR11()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	elseif kmyQuest.iCurrentMenuRegion == 12
		iSub2 = kmyQuest.ASC_MasterConfirmResetSPsRegional.Show(kmyQuest.iCurrentMenuRegion)
			if iSub2 == 0
				kmyQuest.CancelTimerR12()
				kmyQuest.ResetFormlistAndSPsR12()
				kmyQuest.StartTimerR12()			
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(101)
				iSub2 = 2
			
			elseif iSub2 == 1
				kmyQuest.iCurrentMenuRegion = 0
				kmyQuest.SetStage(993)
				iSub2 = 2
			endif
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0996_Item_00
Function Fragment_Stage_0996_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub1 = -1   ;Resets All Arrays in all REgions and Spawnpoints/Timers
while iSub1 != 3
	iSub1 = kmyQuest.ASC_MasterConfirmResetArraysSPs.Show()
	
	if iSub1 == 0
		kmyQuest.ClearAllArrays()
		kmyQuest.FillAllArrays()
		kmyQuest.CancelAllTimers()
		kmyQuest.ResetAllFormlistsAndSPs()
		kmyQuest.StartAllTimers()
		kmyQuest.SetStage(100)
		iSub1 = 3
		
	elseif iSub1 == 1
		kmyQuest.SetStage(101)
		iSub1 = 3
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0997_Item_00
Function Fragment_Stage_0997_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub1 = -1
while iSub1 != 4
	iSub1 = kmyQuest.ASC_MasterIOMenu.Show(kmyQuest.bModEnabled as Int)
	
	if iSub1 == 0 ;Turn On from Temp
		kmyQuest.bModEnabled == true
		kmyQuest.SetStage(101)
		iSub1 = 4
	
	elseif iSub1 == 1  ;Turn Off Temporarily
		kmyQuest.bModEnabled = false
		kmyQuest.SetStage(101)
		iSub1 = 4
	
	elseif iSub1 == 2 ;Turn Off Completely
		kmyQuest.SetStage(998)
		iSub1 = 4
		
	elseif iSub1 == 3 ; Back
		kmyQuest.SetStage(101)
		iSub1 = 4
	
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0998_Item_00
Function Fragment_Stage_0998_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Int iSub1 = -1
while iSub1 != 2
	iSub1 = kmyQuest.ASC_MasterUninstallConfirm.Show()
	
	if iSub1 == 0  ;Turn Off Completely
		kmyQuest.Stop()
		iSub1 = 2
		
	elseif iSub1 == 1
		kmyQuest.SetStage(997)
		iSub1 == 2
		
	endif
endwhile
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_Stage_0999_Item_00
Function Fragment_Stage_0999_Item_00()
;BEGIN AUTOCAST TYPE SOTC:ASC_MasterQuestScript
Quest __temp = self as Quest
SOTC:ASC_MasterQuestScript kmyQuest = __temp as SOTC:ASC_MasterQuestScript
;END AUTOCAST
;BEGIN CODE
Game.GetPlayer().RemoveItem(kmyQuest.ASC_MasterMenuItem, 1, True, None)
kmyQuest.bModEnabled = false
kmyQuest.ClearAllArrays()
kmyQuest.CancelAllTimers()
kmyQuest.ResetAllFormlistsAndSPs()
kmyQuest.ASC_IOQuest.Start()
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

 

 

Link to comment
Share on other sites

Thanks so much SMB92 .....

 

... got a question please .... are the Synth ( automatically ) hostile or do I have to change that in the menu ? Do I still need to install the script file to fix that or not ?

 

Do you think I should wait for the upcoming update or not ? I started a new game and I would love to have this mod already installed.

 

Thanks for your response.

Link to comment
Share on other sites

With WOTC as it is now, if you use my faction script fix before activating the mid they should always be hostile. However there is still problems with other inter faction relations but hopefully they will be enemies with your neutral factions out of the box with my fix because they are hostile from the start always then.

 

My new mod will not have a story faction scheme in the beginning, I will observe vanilla factions and adjust the game accordingly as users make reports. What I doing however, is not including story factions in the Random Spawns system at all, they will be separate system that can be turned on. This is because I am tired of seeing story faction everywhere instead of enemies in the main system, and I think some users are too. So instead I will offer both separately, win win.

Link to comment
Share on other sites

With WOTC as it is now, if you use my faction script fix before activating the mid they should always be hostile. However there is still problems with other inter faction relations but hopefully they will be enemies with your neutral factions out of the box with my fix because they are hostile from the start always then.

 

My new mod will not have a story faction scheme in the beginning, I will observe vanilla factions and adjust the game accordingly as users make reports. What I doing however, is not including story factions in the Random Spawns system at all, they will be separate system that can be turned on. This is because I am tired of seeing story faction everywhere instead of enemies in the main system, and I think some users are too. So instead I will offer both separately, win win.

 

 

" if you use my faction script fix before activating the mid" ...

 

There is a main file and the optional file to fix the Synth issue ..... I am sorry for my ignorance but I do not understand the meaning of your sentence .... what does "mid" means ?

 

Do I still need to install that optional file to fix the Synth's issue ?

 

Sorry but you did not answer my other question : do I need to wait for the upcoming update ( new mod ) or not ? If I install now what it is available, when you post your new mod, it will be an upgrade I guess ... at that point, what would be the procedure to install the new one, can you give me a heads up ?

 

What I am trying to find out is if I would have to uninstall the actual version and re-install the new mod ... this might conflict with my game and probably generate CTD's and I am trying to avoid that .... ( uninstalling a mod mid game is not recommended ) how are you planning to implement this so we can download your new mod without any problem ? Will be a simple overwrite or the "uninstall and re-install" procedure ?

 

Going back to the optional file to fix the Synth's issue, I guess that your new mod will fix that so we would not have the need to download an extra file, am I right ? So, if I am right, what would happen with that file ( the one we have now to fix the Synths ) ? Can we leave it in our load order or we would have to uninstall it once your new mod is available ?

 

... and last but not the least ... I do agree with you about the story faction ... what we need are enemies to fight and kill, obviously, the opposite of the faction we are sticking with. You cannot join the Institute from the beginning because the game story makes you fight them even if you would wanted to, so they are always hostiles.

Link to comment
Share on other sites

Sorry mid = mod, was a spelling mistake from my phone keyboard.

 

You do not have to wait, the new mod/update is a completely new mod and it is compatible with pretty much anything including WOTC as it is now. The new mod is very safe to install whenever you want.

 

If you want to install WOTC now that is fine, when you uninstall it remember to go into an interior and wait a few hours (in game wait that is) and then save and then remove the mod. This will make sure that the game won't CTD instantly when going to cells that had enemies from WOTC in them because game will clean them when it loads again. Well this usually works.

 

The optional file for Synths fix only edits a single number on a script in WOTC to make sure they stay hostile when you first install the mod. You would need to remove this file if you remove WOTC. There is no Esp for this, just a script to overwrite the one in WOTC. The other faction fix file contains an esp that makes Brahman and Radstag friends with Vertibird. You can keep using this file without WOTC if you like.

 

So again it is fine for you to use WOTC now while you wait, new mod is built completely differently, and very very safely in terms of installing it and using it with other mods.

Link to comment
Share on other sites

No idea yet, it's a very big mod. I think we will be forced into going down the route of making an official release as a beta and then adding each system on as I go. At least if main Random Spawns system is ready, users will be mostly happy :)
Link to comment
Share on other sites

Finally thanks for the update. Your mod is the only mod the I'll need before continuing my FO4 Playthrough. Once it's out then I'll be back for more FO4. Currently playing modded Skyrim while I wait. :D

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...