/*
 * EarthBound Text Dump
 * Time: 15:39:19 - 22/06/2022
 * Generated using CCScriptWriter.
 */

command e(label) "{long label}"

// Text Data
l_0xc58813: //Heals all statuses, then inflicts Unconscious
    "{load_registers}[19 05 00 01 01][19 05 00 01 02]{swap}[1E 01 00 64][1E 05 00 64]{sound(32)}" goto(data_06.l_0xc58718)

l_0xc5882e:
    eob

l_0xc5882f: //Heals all statuses, then inflicts Diamondize
    "{load_registers}[19 05 00 01 01][19 05 00 01 03]{sound(32)}" goto(data_06.l_0xc58718)

l_0xc58840:
    eob

l_0xc58841: //Inflicts Paralysis
    "{load_registers}[19 05 00 01 04]{sound(83)}" goto(data_06.l_0xc58718)

l_0xc5884d:
    eob

l_0xc5884e: //Inflicts Nausea
    "{load_registers}[19 05 00 01 05]{sound(83)}" goto(data_06.l_0xc58718)

l_0xc5885a:
    eob

l_0xc5885b: //Inflicts Poison
    "{load_registers}[19 05 00 01 06]{sound(83)}" goto(data_06.l_0xc58718)

l_0xc58867:
    eob

l_0xc58868: //Inflicts Sunstroke
    "{load_registers}[19 05 00 01 07]{sound(83)}" goto(data_06.l_0xc58718)

l_0xc58874:
    eob

l_0xc58875: //Inflicts Sniffling
    "{load_registers}[19 05 00 01 08]{sound(83)}" goto(data_06.l_0xc58718)

l_0xc58881:
    eob

l_0xc58882: //Inflicts Mushroomize
    "{load_registers}[19 05 00 02 02]{sound(82)}" goto(data_06.l_0xc58718)

l_0xc5888e:
    eob

l_0xc5888f: //Inflicts Diamondize
    "{load_registers}[19 05 00 02 03]{sound(96)}" goto(data_06.l_0xc58718)

l_0xc5889b:
    eob

l_0xc5889c: //Inflicts Homesick
    "{load_registers}[19 05 00 06 02]" goto(data_06.l_0xc58718)

l_0xc588a8:
    eob

l_0xc588a9: //Inflicts HP rolldown
    "{load_registers}{swap}[1E 00 00 64][1E 01 00 5E]{sound(46)}" goto(data_06.l_0xc58718)

l_0xc588ba:
    eob

l_0xc588bb: //Inflicts PP rolldown
    "{load_registers}{swap}[1E 04 00 64][1E 05 00 63]{sound(29)}" goto(data_06.l_0xc58718)

l_0xc588cc:
    eob

l_0xc588cd:
    "@Where to?{window_open(8)}[19 02]Onett[02][19 02]Twoson[02][19 02]Happy Happy[02][19 02]Peaceful Rest[02][19 02]Threed[02][19 02]Winters[02][19 02]Saturn Valley[02][19 02]Belch's Base[02][19 02]Dusty Dunes[02][19 02]Fourside[02][19 02]Moonside[02][19 02]Summers[02][19 02]Dalaam[02][19 02]Scaraba[02][19 02]Deep Darkness[02][19 02]Tenda Village[02][19 02]Underworld[02][19 02]Magicant[02][19 02]The Cliff[02][19 02]Cave of the Past[02][1C 0C 03][11][1B 05]{window_closetop}{window_switch(1)}" newline
    "[1B 06][09 14 {e(l_0xc589e6)} {e(l_0xc589ea)} {e(l_0xc589ee)} {e(l_0xc589f2)} {e(l_0xc589f6)} {e(l_0xc589fa)} {e(l_0xc589fe)} {e(l_0xc58a02)} {e(l_0xc58a06)} {e(l_0xc58a0a)} {e(l_0xc58a0e)} {e(l_0xc58a12)} {e(l_0xc58a16)} {e(l_0xc58a1a)} {e(l_0xc58a1e)} {e(l_0xc58a22)} {e(l_0xc58a2e)} {e(l_0xc58a32)} {e(l_0xc58a26)} {e(l_0xc58a2a)}]" goto(data_06.l_0xc58000)

l_0xc589e6:
    "[1F 21 19]" eob

l_0xc589ea:
    "[1F 21 1D]" eob

l_0xc589ee:
    "[1F 21 B9]" eob

l_0xc589f2:
    "[1F 21 15]" eob

l_0xc589f6:
    "[1F 21 1C]" eob

l_0xc589fa:
    "[1F 21 1E]" eob

l_0xc589fe:
    "[1F 21 8F]" eob

l_0xc58a02:
    "[1F 21 64]" eob

l_0xc58a06:
    "[1F 21 90]" eob

l_0xc58a0a:
    "[1F 21 14]" eob

l_0xc58a0e:
    "[1F 21 18]" eob

l_0xc58a12:
    "[1F 21 1F]" eob

l_0xc58a16:
    "[1F 21 1B]" eob

l_0xc58a1a:
    "[1F 21 20]" eob

l_0xc58a1e:
    "[1F 21 AC]" eob

l_0xc58a22:
    "[1F 21 16]" eob

l_0xc58a26:
    "[1F 21 91]" eob

l_0xc58a2a:
    "[1F 21 1A]" eob

l_0xc58a2e:
    "[1F 21 21]" eob

l_0xc58a32:
    "[1F 21 17]" eob

l_0xc58a36:
    "@Now what?" linebreak
    "[19 02]All the friends[02][19 02]One friend[02][1C 07 02][11]{clearline}[09 02 {e(l_0xc58a61)} {e(l_0xc58a93)}]" goto(data_06.l_0xc58000)

l_0xc58a61:
    call(l_0xc58add) "[1B 02 {e(l_0xc58a8d)}]{swap}[1E 08 01 00][1E 08 02 00][1E 08 03 00][1E 08 04 00]" goto(l_0xc58a8d)

l_0xc58a8d:
    goto(data_06.l_0xc58000)

l_0xc58a92:
    eob

l_0xc58a93:
    newline
    "@To whom?[1A 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01][1B 02 {e(l_0xc58ad7)}]{swap}" call(l_0xc58add) "[1B 02 {e(l_0xc58ad7)}]{swap}[1E 08 00 00]" goto(l_0xc58a93)

l_0xc58ad7:
    goto(data_06.l_0xc58000)

l_0xc58adc:
    eob

l_0xc58add:
    newline
    "{open_hp}@How many levels? (1-99)" linebreak
    "   [1F 52 02]{clearline}" eob

l_0xc58afb:
    "@Now what?[18 02]{open_wallet}{window_open(7)}[19 02]Account MAX[02][19 02]Cash MAX[02][19 02]Any amount[02][19 02]Empty wallet[02][1C 0C 01][11][1B 05]{window_closetop}{window_switch(1)}[1B 06]" newline
    "[09 04 {e(l_0xc58b6c)} {e(l_0xc58bac)} {e(l_0xc58bd2)} {e(l_0xc58c30)}]" goto(data_06.l_0xc58000)

l_0xc58b6c:
    "@Ca-ching!  $9999999 was deposited into your bank account!{sound(118)}{counter(1)}" next goto(l_0xc58b88)

l_0xc58b88:
    "{ctoarg}{swap}{result_is(200)}[1B 03 {e(l_0xc58ba0)}][1D 06 50 C3 00 00]{inc}" goto(l_0xc58b88)

l_0xc58ba0:
    "[1D 06 4F C3 00 00]" goto(data_06.l_0xc58000)

l_0xc58bab:
    eob

l_0xc58bac:
    "@Ca-ching!  You got $99999!{sound(118)}" next
    " [1D 08 60 EA][1D 08 40 9C]{open_wallet}" goto(data_06.l_0xc58000)

l_0xc58bd1:
    eob

l_0xc58bd2:
    "@How much?" linebreak
    "[18 05 04 0A]&[18 05 04 02]$[1F 52 05]{clearline}[1B 02 {e(l_0xc58c2a)}]{store_registers}" call(l_0xc58c55) "{load_registers}{swap}[1D 08 00 00]{open_wallet}" "@Ca-ching!  You got $[1C 0A 00 00 00 00]!{sound(118)}" next goto(l_0xc58c2a)

l_0xc58c2a:
    goto(data_06.l_0xc58000)

l_0xc58c2f:
    eob

l_0xc58c30:
    call(l_0xc58c55) "@Ca-ching!  All your money vanished out of nowhere!" next goto(data_06.l_0xc58000)

l_0xc58c55:
    "[1D 09 10 27][1B 02 {e(l_0xc58c55)}]" goto(l_0xc58c5f)

l_0xc58c5f:
    "[1D 09 E8 03][1B 02 {e(l_0xc58c5f)}]" goto(l_0xc58c69)

l_0xc58c69:
    "[1D 09 64 00][1B 02 {e(l_0xc58c69)}]" goto(l_0xc58c73)

l_0xc58c73:
    "[1D 09 0A 00][1B 02 {e(l_0xc58c73)}]" goto(l_0xc58c7d)

l_0xc58c7d:
    "[1D 09 01 00][1B 02 {e(l_0xc58c7d)}]" eob

l_0xc58c88:
    "@Now what?" linebreak
    "[18 02]{open_wallet}{window_open(7)}[19 02]Escargo delivery[02][19 02]Escargo pick-up[02][19 02]Pizza delivery[02][19 02]C. D. Man[02][19 02]Ay-go Stikke[02][1C 0C 01][11][1B 05]{window_closetop}{window_switch(1)}" newline
    "[1B 06][1F C0 05 {e(data_18.l_0xc642a3)} {e(data_18.l_0xc63eb0)} {e(data_18.l_0xc64bbf)} {e(data_19.l_0xc65243)} {e(data_19.l_0xc655b1)}]" goto(data_06.l_0xc58000)

l_0xc58d09:
	"@Now what?" linebreak
    "[18 02]{window_open(37)}[19 02]Music tracks[02][19 02]Sound effects[02][19 02]Audio effects[02][1C 0C 01][11][1B 05]{window_closetop}{window_switch(1)}[1B 06][09 03 {e(l_0xc58d46)} {e(l_0xc58d70)} {e(l_0xc58d96)}]" goto(data_06.l_0xc58000)

l_0xc58d46:
    newline
    "@Which music track will ya listen to? (1-191)" linebreak
    goto(l_0xc58d58)

l_0xc58d58:
    "    [1F 52 03]{clearline}[1B 02 {e(data_06.l_0xc58000)}]{swap}[18 07 {192} 01][1B 03 {l_0xc58d58}]{music(0)}" goto(l_0xc58d58)

l_0xc58d70:
    newline
    "@Which sound effect will ya listen to? (1-126)" linebreak
    goto(l_0xc58d80)

l_0xc58d80:
    "   [1F 52 03]{clearline}[1B 02 {e(data_06.l_0xc58000)}]{swap}[18 07 {127} 01][1B 03 {l_0xc58d80}]{sound(0)}" goto(l_0xc58d80)

 l_0xc58d96:
	clearline
	"@How will ya listen?" linebreak
	"[19 02]"
	"Apple"
	"[02][19 02]"
	"Banana"
	"[02][1C 07 02][11]{clearline}[09 02 {e(Direct_input)} {e(Toggle_individually)}]" goto(data_06.l_0xc58000)
	
Direct_input:
		{
			window_clear
			"@Which audio effect will ya listen to? (1-29)" newline
			goto(l_0xc58da9)
		} 
		goto(l_0xc58d09)
		
Toggle_individually:
	window_closeall //This was glitching, writing to a window in the background after running once.
	window_open(7) //So every time this runs, it'll close everything first.
	window_clear
	menu 1
			{
				"Volume normal": {music_effect(24)}
				"Volume medium": {music_effect(7)}
				"Volume low": {music_effect(23)}
				"Helium": {music_effect(21)}
				"Oxygen?": {music_effect(22)}
				"Fast-forward": {music_effect(5)}
				"Quick fade out": {music_effect(2)}
				"Slow fade out": {music_effect(3)}
			}
			goto(data_06.l_0xc58000)
			
	
l_0xc58da9:
    "    [1F 52 02]{clearline}[1B 02 {e(data_06.l_0xc58000)}]{swap}[18 07 {30} 01][1B 03 {l_0xc58da9}][1F 07 00]" goto(l_0xc58da9)

//This entire section was reworked so it would reset if certain inputs were entered
//For compare_reg
	define REG_RESULT   = 0
	define REG_ARGUMENT = 1
	define REG_COUNTER  = 2
	define REG_LOOP     = 2 // alias

	command compare_reg(n, reg)  "[18 07 {n} {byte reg}]"

	command store_registers      "[1B 00]"
	command load_registers       "[1B 01]"
	command goto_false(target)   "[1B 02 {target}]"
	command goto_true(target)    "[1B 03 {target}]"

	command number(n)            "[1C 0A {n}]"

	command number_input(digits) "[1F 52 {byte digits}]"

l_0xc58e13: {
	"@Accessing the Hint Archives... (1-80)" linebreak
  
l_0xc58e31:
	    "   [1F 52 02]"
	clearline
	store_registers              // Backup window registers
	goto_false(data_06.l_0xc58000) // aka l_0xc58000 - The player cancelled the input
	compare_reg(81, REG_RESULT)  // RESULT = (0 if RESULT < 81) else (1 if RESULT == 81) else 2
	goto_false(l_0xc58e4a)         // Input number was less than 81
	// Input number was greater or equal to 81
	goto(l_0xc58e31)

l_0xc58e4a:
	window_clear
	load_registers               // Restore window registers (RESULT = input number)
	rtoarg
	"@Hint [1C 0A 00 00 00 00] was selected!" next
	"@The Hint Guy's words echoed from somewhere:" next
	call(data_25.l_0xc70000) linebreak
	goto(l_0xc58e13)
}

l_0xc58e31:
	//This is where the stuff for "l_0xc58e31" used to be before it was reworked
	eob

l_0xc58e4a:
	//This is where the stuff for "l_0xc58e4a" used to be before it was reworked
	eob

l_0xc58e73:
	"@Now what?" linebreak
	window_open(7)
	menu 1
	{
		"[8B]":
		{
			goto(l_0xc58e9f)
		}
		"[8C]":
		{
			goto(l_0xc58ea6)
		}
		"Cutscene":
		{
			goto(l_0xc58eb4)
		}				
		" ":
		{
			goto(l_0xc58ead)
		}
		
	}
	"{window_closetop}" goto(data_06.l_0xc58000)
	
l_0xc58dbf: //This handles the makeup of the boss battle menu, which I dubbed the Arena
    "{open_hp}@Which boss will ya duke it out with? (1-27)" linebreak
	goto(The_arena)
	
The_arena:
    "   [1F 52 02]"
	{clearline}
	"[1B 02 {e(data_06.l_0xc58000)}]{swap}[18 07 {28} 01][1B 03 {The_arena}]{swap}"
	"[09 27 {e(StarmanJr_fight)} {e(Frank_fight)} {e(FrankysteinMarkII_fight)} {e(TitanicAnt_fight)} {e(CaptainStrong_fight)} {e(Everdred_fight)} {e(MrCarpainter_fight)} {e(MondoMole_fight)} {e(BoogeyTent_fight)} {e(MiniBarf_fight)} {e(MasterBelch_fight)} {e(TrillionageSprout_fight)} {e(GuardianDigger_fight)} {e(DeptStoreSpook_fight)} {e(EvilManiMani_fight)} {e(ClumsyRobot_fight)} {e(Shrooom_fight)} {e(PlagueRatOfDoom_fight)} {e(ThunderAndStorm_fight)} {e(Kraken_fight)} {e(GuardianGeneral_fight)} {e(MasterBarf_fight)} {e(StarmanDeluxe_fight)} {e(ElectroSpecter_fight)} {e(CarbonDogAndDiamondDog_fight)} {e(TheNightmare_fight)} {e(HeavilyArmedPokeyAndGiygas_fight)}"
	
Boss_not_now:
	goto(l_0xc58dbf)

StarmanJr_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Starman Jr.!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_1))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_1:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc685b4) eob
	
Frank_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Frank!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_2))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_2:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc683fb) eob
	
FrankysteinMarkII_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Frankystein Mark II!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_3))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_3:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68402) eob
	
TitanicAnt_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Titanic Ant!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_4))} {e(Boss_not_now)}]" goto(Boss_not_now)

Boss_fight_4:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68409) eob

CaptainStrong_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Captain Strong!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_5))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_5:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68464) eob
	
Everdred_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Everdred!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_6))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_6:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc6846b) eob
	
MrCarpainter_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Mr. Carpainter!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_7))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_7:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc6847a) eob
	
MondoMole_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Mondo Mole!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_8))} {e(Boss_not_now)}]" goto(Boss_not_now)

Boss_fight_8:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68410) eob
	
BoogeyTent_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Boogey Tent!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_9))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_9:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68538) eob
	
MiniBarf_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Mini Barf!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_10))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_10:
	"{pause(15)}{window_closeall}[1F 23 E2 01]" eob
	
MasterBelch_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Master Belch!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_11))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_11:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68554) eob
	
TrillionageSprout_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Trillionage Sprout!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_12))} {e(Boss_not_now)}]" goto(Boss_not_now)

Boss_fight_12:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc6841e) eob

GuardianDigger_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Guardian Digger!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_13))} {e(Boss_not_now)}]" goto(Boss_not_now)

Boss_fight_13:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68591) eob

DeptStoreSpook_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Dept. Store Spook!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_14))} {e(Boss_not_now)}]" goto(Boss_not_now)

Boss_fight_14:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc6855b) eob

EvilManiMani_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Evil Mani-Mani!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_15))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_15:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68583) eob

ClumsyRobot_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Clumsy Robot!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_16))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_16:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68569) eob

Shrooom_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Shrooom!!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_17))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_17:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68417) eob
	
PlagueRatOfDoom_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Plague Rat of Doom!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_18))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_18:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68425) eob
	
ThunderAndStorm_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Thunder and Storm!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_19))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_19:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc6842c) eob
	
Kraken_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Kraken!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_20))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_20:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc685ad) eob
	
GuardianGeneral_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Guardian General!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_21))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_21:
	"{pause(15)}{window_closeall}[1F 23 D4 01]" eob
	
MasterBarf_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Master Barf!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_22))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_22:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68570) eob
	
StarmanDeluxe_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Starman Deluxe!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_23))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_23:
	"{pause(15)}{window_closeall}[1F 23 D2 01]" eob
	
ElectroSpecter_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Electro Specter!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_24))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_24:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68433) eob
	
CarbonDogAndDiamondDog_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Carbon Dog and Diamond Dog!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_25))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_25:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc6843a) eob
	
TheNightmare_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@[1C 02 01]'s Nightmare!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_26))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_26:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc6857c) eob
	
HeavilyArmedPokeyAndGiygas_fight:
	window_clear
	"@Versus..." next
	"{pause(15)}@Heavily Armed Pokey and Giygas!" next
	"[19 02]Challenge[02][19 02]Not now[02][1C 07 02][11]{clearline}[09 02 {e(data_07.Boss_fight_27))} {e(Boss_not_now)}]" goto(Boss_not_now)
	
Boss_fight_27:
	"{pause(15)}{window_closeall}" call(data_21.l_0xc68577) eob

l_0xc58df1:
    //This is where the stuff for "Enable" used to be
	eob

l_0xc58e02:
    //This is where the stuff for "Disable" used to be
	eob

l_0xc58e9f:
    "{window_closeall}[1F 20 04 01]" eob

l_0xc58ea6:
    "{window_closeall}[1F 20 04 02]" eob

l_0xc58ead:
    "{window_closeall}[1F 20 04 03]" eob

l_0xc58eb4:
    "{window_closeall}[1F 20 04 04]" eob

l_0xc58ebb:
    "@What the hey is this?{wait}" call(data_06.l_0xc58555) eob

l_0xc58ed1:
    "{swap}[1D 0E 00 B1]{sound(116)}" eob

l_0xc58edd:
    "[18 02]{window_open(7)}[1C 0C 01][11][09 06 {e(l_0xc58f07)} {e(l_0xc58f37)} {e(l_0xc58f61)} {e(l_0xc58f93)} {e(l_0xc58fc1)} {e(l_0xc58feb)}]{window_closetop}{window_switch(1)}" newline
    eob

l_0xc58f07:
    "{window_open(7)}[1C 0C 01]" call(data_08.l_0xc59070) "[1B 02 {e(l_0xc58f35)}][1F C0 05 {e(l_0xc59019)} {e(data_08.l_0xc5901c)} {e(data_08.l_0xc5901f)} {e(data_08.l_0xc59022)} {e(data_08.l_0xc59025)}]" call(data_08.l_0xc59082) eob

l_0xc58f35:
    newline
    eob

l_0xc58f37:
    "{window_open(6)}[1C 0C 01]" call(data_08.l_0xc59070) "[1B 02 {e(l_0xc58f35)}][1F C0 04 {e(data_08.l_0xc59028)} {e(data_08.l_0xc5902b)} {e(data_08.l_0xc5902e)} {e(data_08.l_0xc59031)}]" call(data_08.l_0xc59082) eob

l_0xc58f61:
    "{window_open(6)}[1C 0C 01]" call(data_08.l_0xc59070) "[1B 02 {e(l_0xc58f35)}][1F C0 06 {e(data_08.l_0xc59034)} {e(data_08.l_0xc59037)} {e(data_08.l_0xc5903a)} {e(data_08.l_0xc5903d)} {e(data_08.l_0xc59040)} {e(data_08.l_0xc59043)}]" call(data_08.l_0xc59082) eob

l_0xc58f93:
    "{window_open(6)}[1C 0C 01]" call(data_08.l_0xc59070) "[1B 02 {e(l_0xc58f35)}][1F C0 05 {e(data_08.l_0xc59046)} {e(data_08.l_0xc59049)} {e(data_08.l_0xc5904c)} {e(data_08.l_0xc5904f)} {e(data_08.l_0xc59052)}]" call(data_08.l_0xc59082) eob

l_0xc58fc1:
    "{window_open(6)}[1C 0C 01]" call(data_08.l_0xc59070) "[1B 02 {e(l_0xc58f35)}][1F C0 04 {e(data_08.l_0xc59055)} {e(data_08.l_0xc59058)} {e(data_08.l_0xc5905b)} {e(data_08.l_0xc5905e)}]" call(data_08.l_0xc59082) eob

l_0xc58feb:
    "{window_open(6)}[1C 0C 01]" call(data_08.l_0xc59070) "[1B 02 {e(l_0xc58f35)}][1F C0 05 {e(data_08.l_0xc59061)} {e(data_08.l_0xc59064)} {e(data_08.l_0xc59067)} {e(data_08.l_0xc5906a)} {e(data_08.l_0xc5906d)}]" call(data_08.l_0xc59082) eob

l_0xc59019:
    "{counter(10)}" eob

