:: portnoi
<<set $here = 'portnoi'>>
<<set $ARGS = $location_var[$here]>>
<<set $poshvalldrop = 0>>
<<set $selltot = 0>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :gm_outfitsmet'>>
<<if getvar("$gm_outfits["+$i+"]") == 1 and getvar("$gm_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'gm_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('gm_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump gm_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :gm_dressmet'>>
<<if getvar("$gm_dress["+$i+"]") == 1 and getvar("$gm_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'gm_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('gm_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump gm_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :officemet'>>
<<if getvar("$gm_office["+$i+"]") == 1 and getvar("$gm_office_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'office', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('office')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump officemet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :gm_maidmet'>>
<<if getvar("$gm_maid["+$i+"]") == 1 and getvar("$gm_maid_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'gm_maid', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('gm_maid')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump gm_maidmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :gm_servermet'>>
<<if getvar("$gm_server["+$i+"]") == 1 and getvar("$gm_server_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'gm_server', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('gm_server')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump gm_servermet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :schoolmet'>>
<<if getvar("$gm_school["+$i+"]") == 1 and getvar("$gm_school_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'school', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('school')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump schoolmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :misc_outfitsmet'>>
<<if getvar("$misc_outfits["+$i+"]") == 1 and getvar("$misc_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'misc_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('misc_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump misc_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :cats_outfitsmet'>>
<<if getvar("$cats_outfits["+$i+"]") == 1 and getvar("$cats_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'cats_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('cats_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump cats_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :cats_dressmet'>>
<<if getvar("$cats_dress["+$i+"]") == 1 and getvar("$cats_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'cats_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('cats_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump cats_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :flamingos_dressmet'>>
<<if getvar("$flamingos_dress["+$i+"]") == 1 and getvar("$flamingos_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'flamingos_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('flamingos_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump flamingos_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :flamingos_outfitsmet'>>
<<if getvar("$flamingos_outfits["+$i+"]") == 1 and getvar("$flamingos_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'flamingos_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('flamingos_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump flamingos_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :coco_dressmet'>>
<<if getvar("$coco_dress["+$i+"]") == 1 and getvar("$coco_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'coco_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('coco_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump coco_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :coco_outfitsmet'>>
<<if getvar("$coco_outfits["+$i+"]") == 1 and getvar("$coco_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'coco_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('coco_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump coco_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :fashionistamet'>>
<<if getvar("$fashionista["+$i+"]") == 1 and getvar("$fashionista_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'fashionista', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('fashionista')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump fashionistamet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :fashionista_outfitsmet'>>
<<if getvar("$fashionista_outfits["+$i+"]") == 1 and getvar("$fashionista_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'fashionista_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('fashionista_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump fashionista_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :moncheri_dressmet'>>
<<if getvar("$moncheri_dress["+$i+"]") == 1 and getvar("$moncheri_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'moncheri_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('moncheri_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump moncheri_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :moncheri_gownmet'>>
<<if getvar("$moncheri_gown["+$i+"]") == 1 and getvar("$moncheri_gown_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'moncheri_gown', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('moncheri_gown')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump moncheri_gownmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :scandalicious_dressmet'>>
<<if getvar("$scandalicious_dress["+$i+"]") == 1 and getvar("$scandalicious_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'scandalicious_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('scandalicious_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump scandalicious_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :scandalicious_outfitsmet'>>
<<if getvar("$scandalicious_outfits["+$i+"]") == 1 and getvar("$scandalicious_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'scandalicious_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('scandalicious_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump scandalicious_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :scandalicious_bikinismet'>>
<<if getvar("$scandalicious_bikinis["+$i+"]") == 1 and getvar("$scandalicious_bikinis_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'scandalicious_bikinis', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('scandalicious_bikinis')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump scandalicious_bikinismet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :scandalicious_swimsuitmet'>>
<<if getvar("$scandalicious_swimsuit["+$i+"]") == 1 and getvar("$scandalicious_swimsuit_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'scandalicious_swimsuit', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('scandalicious_swimsuit')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump scandalicious_swimsuitmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :allure_bikinismet'>>
<<if getvar("$allure_bikinis["+$i+"]") == 1 and getvar("$allure_bikinis_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'allure_bikinis', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('allure_bikinis')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump allure_bikinismet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :allure_swimsuitmet'>>
<<if getvar("$allure_swimsuit["+$i+"]") == 1 and getvar("$allure_swimsuit_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'allure_swimsuit', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('allure_swimsuit')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump allure_swimsuitmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :fancy_burlesquemet'>>
<<if getvar("$fancy_burlesque["+$i+"]") == 1 and getvar("$fancy_burlesque_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'fancy_burlesque', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('fancy_burlesque')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump fancy_burlesquemet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :eroto_dressmet'>>
<<if getvar("$eroto_dress["+$i+"]") == 1 and getvar("$eroto_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'eroto_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('eroto_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump eroto_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :eroto_outfitsmet'>>
<<if getvar("$eroto_outfits["+$i+"]") == 1 and getvar("$eroto_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'eroto_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('eroto_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump eroto_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :eroto_stripmet'>>
<<if getvar("$eroto_strip["+$i+"]") == 1 and getvar("$eroto_strip_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'eroto_strip', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('eroto_strip')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump eroto_stripmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :salacious_dressmet'>>
<<if getvar("$salacious_dress["+$i+"]") == 1 and getvar("$salacious_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'salacious_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('salacious_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump salacious_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :salacious_outfitsmet'>>
<<if getvar("$salacious_outfits["+$i+"]") == 1 and getvar("$salacious_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'salacious_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('salacious_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump salacious_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :dolls_outfitsmet'>>
<<if getvar("$dolls_outfits["+$i+"]") == 1 and getvar("$dolls_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'dolls_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('dolls_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump dolls_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :dolls_dressmet'>>
<<if getvar("$dolls_dress["+$i+"]") == 1 and getvar("$dolls_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'dolls_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('dolls_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump dolls_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :bomba_outfitsmet'>>
<<if getvar("$bomba_outfits["+$i+"]") == 1 and getvar("$bomba_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'bomba_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('bomba_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump bomba_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :bomba_dressmet'>>
<<if getvar("$bomba_dress["+$i+"]") == 1 and getvar("$bomba_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'bomba_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('bomba_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump bomba_dressmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :nerdvana_outfitsmet'>>
<<if getvar("$nerdvana_outfits["+$i+"]") == 1 and getvar("$nerdvana_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'nerdvana_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('nerdvana_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump nerdvana_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :nerdvana_cosplaymet'>>
<<if getvar("$nerdvana_cosplay["+$i+"]") == 1 and getvar("$nerdvana_cosplay_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'nerdvana_cosplay', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('nerdvana_cosplay')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump nerdvana_cosplaymet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :nerdvana_bikinismet'>>
<<if getvar("$nerdvana_bikinis["+$i+"]") == 1 and getvar("$nerdvana_bikinis_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'nerdvana_bikinis', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('nerdvana_bikinis')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump nerdvana_bikinismet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :nerdvana_swimsuitmet'>>
<<if getvar("$nerdvana_swimsuit["+$i+"]") == 1 and getvar("$nerdvana_swimsuit_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'nerdvana_swimsuit', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('nerdvana_swimsuit')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump nerdvana_swimsuitmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :danilovichmet'>>
<<if getvar("$danilovich_outfits["+$i+"]") == 1 and getvar("$danilovich_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'danilovich_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('danilovich_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump danilovichmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :danilovich_swimsuitmet'>>
<<if getvar("$danilovich_swimsuit["+$i+"]") == 1 and getvar("$danilovich_swimsuit_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'danilovich_swimsuit', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('danilovich_swimsuit')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump danilovich_swimsuitmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :market_outfitsmet'>>
<<if getvar("$market_outfits["+$i+"]") == 1 and getvar("$market_outfits_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'market_outfits', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('market_outfits')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump market_outfitsmet'>>

<</if>>
<<set $i = 1>>
<<warn 'JUMP MARKER ENCOUNTERED: :materinstvo_dressmet'>>
<<if getvar("$materinstvo_dress["+$i+"]") == 1 and getvar("$materinstvo_dress_s["+$i+"]") == 2>>
	dynamic($batch_sell, 'materinstvo_dress', i)

<</if>>
<<set $i += 1>>
<<if $i <= ARRSIZE('materinstvo_dress')>>
	<<warn 'JUMP COMMAND ENCOUNTERED: jump materinstvo_dressmet'>>

<</if>>
<<set $batch_sell to null>>
<p>You sold poshvalldrop items of unwanted clothing for a total of selltot <b>₽</b>.</p>
:: batch_sell_macro[widget]
<<widget 'batch_sell'>>
	<<set $poshvalldrop += 1>>
	<<set RESULT = _args[0]_h[_args[1]]>>
	<<if getvar("$result") > 100>>
		<<run State.setVar($ARGS[0]+'['+$ARGS[1]+']',0)>>
		<<run State.setVar($ARGS[0]+'_s['+$ARGS[1]+']',0)>>
		<<set $finances.cash += 750>>
		<<set $selltot += 750>>
	<<elseif getvar("$result") > 45>>
		<<run State.setVar($ARGS[0]+'['+$ARGS[1]+']',0)>>
		<<run State.setVar($ARGS[0]+'_s['+$ARGS[1]+']',0)>>
		<<set $finances.cash += 500>>
		<<set $selltot += 500>>
	<<elseif getvar("$result") > 30>>
		<<run State.setVar($ARGS[0]+'['+$ARGS[1]+']',0)>>
		<<run State.setVar($ARGS[0]+'_s['+$ARGS[1]+']',0)>>
		<<set $finances.cash += 300>>
		<<set $selltot += 300>>
	<<elseif getvar("$result") > 0>>
		<<run State.setVar($ARGS[0]+'['+$ARGS[1]+']',0)>>
		<<run State.setVar($ARGS[0]+'_s['+$ARGS[1]+']',0)>>
		<<set $finances.cash += 100>>
		<<set $selltot += 100>>
	<<else>>
		<<run State.setVar($ARGS[0]+'['+$ARGS[1]+']',0)>>
		<<run State.setVar($ARGS[0]+'_s['+$ARGS[1]+']',0)>>
	<</if>>
<</widget>>
