; Yanagi

[Constants]
global $active = 0
global $creditinfo = 0
global persist $top = 0
global persist $topArms = 0
global persist $skirt = 0
global persist $heels = 0
global persist $bra = 0
global persist $stockings = 0
global persist $bottoms = 0
global persist $belt = 0
global persist $gloves = 0
global persist $glasses = 0
global persist $pauldron = 0
global persist $shoes = 0
global persist $earpiece = 0
global persist $choker = 0

global persist $Atop = 0
global persist $AtopArms = 0
global persist $Askirt = 0
global persist $Aheels = 0
global persist $Abra = 0
global persist $Astockings = 0
global persist $Abottoms = 0
global persist $Abelt = 0
global persist $Agloves = 0
global persist $Aglasses = 0
global persist $Apauldron = 0
global persist $Ashoes = 0
global persist $Aearpiece = 0
global persist $Achoker = 0

global persist $Btop = 0
global persist $BtopArms = 0
global persist $Bskirt = 0
global persist $Bheels = 0
global persist $Bbra = 0
global persist $Bstockings = 0
global persist $Bbottoms = 0
global persist $Bbelt = 0
global persist $Bgloves = 0
global persist $Bglasses = 0
global persist $Bpauldron = 0
global persist $Bshoes = 0
global persist $Bearpiece = 0
global persist $Bchoker = 0

global persist $Ctop = 0
global persist $CtopArms = 0
global persist $Cskirt = 0
global persist $Cheels = 0
global persist $Cbra = 0
global persist $Cstockings = 0
global persist $Cbottoms = 0
global persist $Cbelt = 0
global persist $Cgloves = 0
global persist $Cglasses = 0
global persist $Cpauldron = 0
global persist $Cshoes = 0
global persist $Cearpiece = 0
global persist $Cchoker = 0

global persist $Dtop = 0
global persist $DtopArms = 0
global persist $Dskirt = 0
global persist $Dheels = 0
global persist $Dbra = 0
global persist $Dstockings = 0
global persist $Dbottoms = 0
global persist $Dbelt = 0
global persist $Dgloves = 0
global persist $Dglasses = 0
global persist $Dpauldron = 0
global persist $Dshoes = 0
global persist $Dearpiece = 0
global persist $Dchoker = 0

[KeyReset]
condition = $active == 1
key = VK_Backspace
$top 		= 0
$topArms 	= 0
$skirt 		= 0
$bra 		= 0
$stockings 	= 0
$bottoms 	= 0
$belt 		= 0
$gloves 	= 0
$glasses 	= 0
$pauldron 	= 0
$shoes 		= 0
$earpiece 	= 0
$choker 	= 0

[KeyRandomizeAll]
condition = $active == 1
key = vk_del
run = CommandListVariables

[CommandListVariables]
$top 		= 		(time*100)%6//1
$topArms 	= 		(time*200)%4//1
$skirt 		= 		(time*400)%4//1
$bra 		= 		(time*600)%3//1
$stockings 	= 		(time*650)%3//1
$bottoms 	= 		(time*660)%4//1
$belt 		= 		(time*750)%5//1
$gloves 	= 		(time*730)%2//1
$glasses 	= 		(time*340)%2//1
$pauldron 	= 		(time*230)%5//1
$shoes 		= 		(time*466)%2//1
$earpiece 	= 		(time*110)%2//1
$choker 	= 		(time*642)%4//1

[KeyRandomizeTop]
condition = $active == 1
key = vk_pgup
run = CommandListVariablesA

[CommandListVariablesA]
$top 		= 		(time*100)%6//1
$topArms 	= 		(time*200)%4//1
$bra 		= 		(time*600)%3//1
$gloves 	= 		(time*730)%2//1
$glasses 	= 		(time*340)%2//1
$pauldron 	= 		(time*230)%5//1
$earpiece 	= 		(time*110)%2//1
$choker 	= 		(time*642)%4//1

[KeyRandomizeBottom]
condition = $active == 1
key = vk_pgdn
run = CommandListVariablesB

[CommandListVariablesB]
$skirt 		= 		(time*400)%4//1
$stockings 	= 		(time*650)%3//1
$bottoms 	= 		(time*660)%4//1
$belt 		= 		(time*750)%5//1
$shoes 		= 		(time*466)%2//1

[KeyRandomizeUnderGarments]
condition = $active == 1
key = vk_end
run = CommandListVariablesC

[CommandListVariablesC]
$bra 		= 		(time*600)%3//1
$bottoms 	= 		(time*660)%4//1

[KeyGloves]
condition = $active == 1
key = 8
type = cycle
$gloves = 0,1
$creditinfo = 0

[KeyChoker]
condition = $active == 1
key = no_modifiers 7
type = cycle
$choker = 0,1,2,3
$creditinfo = 0

[KeyEarpiece]
condition = $active == 1
key = alt 7
type = cycle
$earpiece = 0,1
$creditinfo = 0

[KeyGlasses]
condition = $active == 1
key = alt 6
type = cycle
$glasses = 0,1
$creditinfo = 0

[KeyPauldron]
condition = $active == 1
key = no_modifiers 6
type = cycle
$pauldron = 0,1,2,3,4
$creditinfo = 0

[KeyStockings]
condition = $active == 1
key = no_modifiers n
type = cycle
$stockings = 0,1,2
$creditinfo = 0

[KeyShoes]
condition = $active == 1
key = alt n
type = cycle
$shoes = 0,1
$creditinfo = 0

[KeyTop]
condition = $active == 1
key = no_modifiers y
type = cycle
$top = 0,1,2,3,4,5
$creditinfo = 0

[KeyBra]
condition = $active == 1
key = alt y
type = cycle
$bra = 0,1,2
$creditinfo = 0

[KeyTopArms]
condition = $active == 1
key = ctrl y
type = cycle
$topArms = 0,1,2,3
$creditinfo = 0

[KeySkirt]
condition = $active == 1
key = no_modifiers h
type = cycle
$skirt = 0,1,2,3
$creditinfo = 0

[KeyBottoms]
condition = $active == 1
key = alt h
type = cycle
$bottoms = 0,1,2,3
$creditinfo = 0

[KeyBelt]
condition = $active == 1
key = ctrl h
type = cycle
$belt = 0,1,2,3,4
$creditinfo = 0

;SAVELOAD
[KeySaveA]
condition = $active == 1
key = shift VK_UP
run = CommandListSaveA

[KeyLoadA]
condition = $active == 1
key = Ctrl VK_UP
run =  CommandListLoadA

[KeySaveB]
condition = $active == 1
key = shift VK_DOWN
run =  CommandListSaveB

[KeyLoadB]
condition = $active == 1
key = Ctrl VK_DOWN
run =  CommandListLoadB

[KeySaveC]
condition = $active == 1
key = shift VK_LEFT
run = CommandListSaveC

[KeyLoadC]
condition = $active == 1
key = Ctrl VK_LEFT
run =  CommandListLoadC

[KeySaveD]
condition = $active == 1
key = shift VK_RIGHT
run =  CommandListSaveD

[KeyLoadD]
condition = $active == 1
key = Ctrl VK_RIGHT
run =  CommandListLoadD

[CommandListSaveA]
$Atop 			= 		$top
$AtopArms 		= 		$topArms
$Askirt 		= 		$skirt
$Abra 			= 		$bra
$Astockings 	= 		$stockings
$Abottoms 		= 		$bottoms
$Abelt 			= 		$belt
$Agloves 		= 		$gloves
$Aglasses 		= 		$glasses
$Apauldron 		= 		$pauldron
$Ashoes 		= 		$shoes
$Aearpiece 		= 		$earpiece
$Achoker 		= 		$choker
pre Resource\ShaderFixes\help.ini\Notification = ResourceSaveAInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[CommandListLoadA]
$top 			= 		$Atop
$topArms 		= 		$AtopArms
$skirt 			= 		$Askirt
$bra 			= 		$Abra
$stockings 		= 		$Astockings
$bottoms 		= 		$Abottoms
$belt 			= 		$Abelt
$gloves 		= 		$Agloves
$glasses 		= 		$Aglasses
$pauldron 		= 		$Apauldron
$shoes 			= 		$Ashoes
$earpiece 		= 		$Aearpiece
$choker 		= 		$Achoker
pre Resource\ShaderFixes\help.ini\Notification = ResourceLoadAInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[CommandListSaveB]
$Btop 			= 		$top
$BtopArms 		= 		$topArms
$Bskirt 		= 		$skirt
$Bbra 			= 		$bra
$Bstockings 	= 		$stockings
$Bbottoms 		= 		$bottoms
$Bbelt 			= 		$belt
$Bgloves 		= 		$gloves
$Bglasses 		= 		$glasses
$Bpauldron 		= 		$pauldron
$Bshoes 		= 		$shoes
$Bearpiece 		= 		$earpiece
$Bchoker 		= 		$choker
pre Resource\ShaderFixes\help.ini\Notification = ResourceSaveBInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[CommandListLoadB]
$top 			= 		$Btop
$topArms 		= 		$BtopArms
$skirt 			= 		$Bskirt
$bra 			= 		$Bbra
$stockings 		= 		$Bstockings
$bottoms 		= 		$Bbottoms
$belt 			= 		$Bbelt
$gloves 		= 		$Bgloves
$glasses 		= 		$Bglasses
$pauldron 		= 		$Bpauldron
$shoes 			= 		$Bshoes
$earpiece 		= 		$Bearpiece
$choker 		= 		$Bchoker
pre Resource\ShaderFixes\help.ini\Notification = ResourceLoadBInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[CommandListSaveC]
$Ctop 			= 		$top
$CtopArms 		= 		$topArms
$Cskirt 		= 		$skirt
$Cbra 			= 		$bra
$Cstockings 	= 		$stockings
$Cbottoms 		= 		$bottoms
$Cbelt 			= 		$belt
$Cgloves 		= 		$gloves
$Cglasses 		= 		$glasses
$Cpauldron 		= 		$pauldron
$Cshoes 		= 		$shoes
$Cearpiece 		= 		$earpiece
$Cchoker 		= 		$choker
pre Resource\ShaderFixes\help.ini\Notification = ResourceSaveCInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[CommandListLoadC]
$top 			= 		$Ctop
$topArms 		= 		$CtopArms
$skirt 			= 		$Cskirt
$bra 			= 		$Cbra
$stockings 		= 		$Cstockings
$bottoms 		= 		$Cbottoms
$belt 			= 		$Cbelt
$gloves 		= 		$Cgloves
$glasses 		= 		$Cglasses
$pauldron 		= 		$Cpauldron
$shoes 			= 		$Cshoes
$earpiece 		= 		$Cearpiece
$choker 		= 		$Cchoker
pre Resource\ShaderFixes\help.ini\Notification = ResourceLoadCInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[CommandListSaveD]
$Dtop 			= 		$top
$DtopArms 		= 		$topArms
$Dskirt 		= 		$skirt
$Dbra 			= 		$bra
$Dstockings 	= 		$stockings
$Dbottoms 		= 		$bottoms
$Dbelt 			= 		$belt
$Dgloves 		= 		$gloves
$Dglasses 		= 		$glasses
$Dpauldron 		= 		$pauldron
$Dshoes 		= 		$shoes
$Dearpiece 		= 		$earpiece
$Dchoker 		= 		$choker
pre Resource\ShaderFixes\help.ini\Notification = ResourceSaveDInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[CommandListLoadD]
$top 			= 		$Dtop
$topArms 		= 		$DtopArms
$skirt 			= 		$Dskirt
$bra 			= 		$Dbra
$stockings 		= 		$Dstockings
$bottoms 		= 		$Dbottoms
$belt 			= 		$Dbelt
$gloves 		= 		$Dgloves
$glasses 		= 		$Dglasses
$pauldron 		= 		$Dpauldron
$shoes 			= 		$Dshoes
$earpiece 		= 		$Dearpiece
$choker 		= 		$Dchoker
pre Resource\ShaderFixes\help.ini\Notification = ResourceLoadDInfo
pre run = CustomShader\ShaderFixes\help.ini\FormatText
pre $\ShaderFixes\help.ini\notification_timeout = time + 1.0

[Present]
post $active = 0
run = CommandListCreditInfo


; Overrides -------------------------

[TextureOverrideYanagiLensBlend]
hash = 6b5d6e39
handling = skip
vb2 = ResourceYanagiLensBlend
if DRAW_TYPE == 1
	vb0 = ResourceYanagiLensPosition
	draw = 144, 0

	$active = 1
endif

[TextureOverrideYanagiLensTexcoord]
hash = dd32963a
vb1 = ResourceYanagiLensTexcoord

[TextureOverrideYanagiLensVertexLimitRaise]
hash = 178a1ff8
override_vertex_count = 144
override_byte_stride = 40

[TextureOverrideYanagiHairBlend]
hash = 0bbe1d7d
handling = skip
vb2 = ResourceYanagiHairBlend
if DRAW_TYPE == 1
	vb0 = ResourceYanagiHairPosition
	draw = 19346, 0

	$active = 1
endif

[TextureOverrideYanagiHairTexcoord]
hash = 42ca0c9b
vb1 = ResourceYanagiHairTexcoord

[TextureOverrideYanagiHairVertexLimitRaise]
hash = daba2b23
override_vertex_count = 19346
override_byte_stride = 40

[TextureOverrideYanagiBodyBlend]
hash = fd363c76
handling = skip
vb2 = ResourceYanagiBodyBlend
if DRAW_TYPE == 1
	vb0 = ResourceYanagiBodyPosition
	draw = 84074, 0

	$active = 1
endif

[TextureOverrideYanagiBodyTexcoord]
hash = f4fbc5c0
vb1 = ResourceYanagiBodyTexcoord

[TextureOverrideYanagiBodyVertexLimitRaise]
hash = 2fe26340
override_vertex_count = 84074
override_byte_stride = 40

[TextureOverrideYanagiLensIB]
hash = 44d9123b
handling = skip

[TextureOverrideYanagiLensA]
hash = 44d9123b
match_first_index = 0
ib = ResourceYanagiLensAIB
run = CommandList\ZZMI\SetTextures
if $glasses == 0
; YanGlassesLensA (144)
drawindexed = 372, 0, 0
endif

[TextureOverrideYanagiHairIB]
hash = 9e12899f
handling = skip

[TextureOverrideYanagiHairA]
hash = 9e12899f
match_first_index = 0
ib = ResourceYanagiHairAIB
Resource\ZZMI\Diffuse = ref ResourceYanagiHairADiffuse
Resource\ZZMI\NormalMap = ref ResourceYanagiHairANormalMap
Resource\ZZMI\LightMap = ref ResourceYanagiHairALightMap
Resource\ZZMI\MaterialMap = ref ResourceYanagiHairAMaterialMap
run = CommandList\ZZMI\SetTextures
; Yan JawNeck (375)
drawindexed = 1356, 0, 0
; Hair
if $choker != 3 && $earpiece == 0
; YanHairA- Earpiece Wire (96)
drawindexed = 264, 1356, 0
endif
; YanHairA-Hair (3263)
drawindexed = 8499, 3096, 0
; YanHairA-HairTail (848)
drawindexed = 2316, 11595, 0

if $earpiece == 0
; YanHairA-EarPiece (583)
drawindexed = 1476, 1620, 0
endif

; Shoulder Armor
if $pauldron == 0
; YanHairA-Pauldron (2098)
drawindexed = 4578, 13911, 0
; YanHairA-ShoulderArmor.WithFabric (911)
drawindexed = 2262, 24117, 0
elif $pauldron == 1
; YanHairA-ShoulderArmor.WithFabric (911)
drawindexed = 2262, 24117, 0
elif $pauldron == 2
; YanHairA-Pauldron.Inset (2098)
drawindexed = 4578, 18489, 0
; YanHairA-ShoulderArmor.PauldronSmall.Inset (243)
drawindexed = 525, 23592, 0
elif $pauldron == 3
; YanHairA-ShoulderArmor.PauldronSmall (243)
drawindexed = 525, 23067, 0
elif $pauldron == 4
endif

if $glasses == 0
; Glasses
; Yan Glasses Frame (427)
drawindexed = 1020, 70071, 0
endif

if $gloves == 0
; YanHairA-Gloves(and Hands) (1536)
drawindexed = 7272, 62799, 0
elif $gloves == 1
Resource\ZZMI\Diffuse = ref ResourceYanagiBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceYanagiBodyANormalMap
Resource\ZZMI\LightMap = ref ResourceYanagiBodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceYanagiBodyAMaterialMap
run = CommandList\ZZMI\SetTextures
; JD Body Hands (1862)
drawindexed = 36420, 26379, 0
; JD Body Latest.Fingers (5342)
drawindexed = 26544, 36255, 0
endif

; Hands
; ; YanHairA-Gloves (1406)
; drawindexed = 6744, 62799, 0


[TextureOverrideYanagiBodyIB]
hash = f478ee4c
handling = skip

[TextureOverrideYanagiBodyA]
hash = f478ee4c
match_first_index = 0
ib = ResourceYanagiBodyAIB
Resource\ZZMI\Diffuse = ref ResourceYanagiBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceYanagiBodyANormalMap
Resource\ZZMI\LightMap = ref ResourceYanagiBodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceYanagiBodyAMaterialMap
run = CommandList\ZZMI\SetTextures

if $top == 0
; YanBodyA-Shirt (1206)
drawindexed = 4812, 23301, 0
elif $top == 1
; YanBodyA-Shirt Open Mega (3897)
drawindexed = 18552, 28113, 0
	run = CommandListDrawMidriff
elif $top == 2
; YanBodyA-CropTop (779)
drawindexed = 2430, 20871, 0
	run = CommandListDrawMidriff
elif $top == 3
; YanBodyA-Collar (197)
drawindexed = 582, 2136, 0
; YanBodyA-ShoulderHarness (434)
drawindexed = 1314, 51357, 0
	run = CommandListDrawMidriff
elif $top == 4
; YanBodyA-ShoulderHarness (434)
drawindexed = 1314, 51357, 0
	run = CommandListDrawMidriff
elif $top == 5
    if $topArms == 0
    ; Yanagi Body Shoulders (660)
    drawindexed = 2409, 96729, 0
    endif
	run = CommandListDrawMidriff
endif

if $top != 0
; Yanagi Body Upper Torso Megatits (2797)
drawindexed = 15228, 55047, 0
endif

if $top != 0
	if $bra == 0
	if $top == 1
		; Bra Megatits.UnderShirt (271)
		drawindexed = 867, 19044, 0
	else
		; Bra Megatits (5170)
		drawindexed = 15690, 3354, 0	
	endif
	elif $bra == 1
	; Nipple Pasties (244)
	drawindexed = 960, 19911, 0
	elif $bra == 2 && $top >= 2
	; Yanagi Body Nipples Megatits (434)
	drawindexed = 2376, 52671, 0
	endif
endif

if $topArms == 0
; YanBodyA-Shirt.Sleeves (1190)
drawindexed = 4752, 70275, 0
elif $topArms == 1
; Yanagi Body Sleeves (2654)
drawindexed = 10722, 99138, 0
elif $topArms == 2
; Yanagi Body Arm.L (1173)
drawindexed = 6246, 77655, 0
; Yanagi Body Arm.R.Armband (1260)
drawindexed = 6582, 90147, 0
elif $topArms == 3
; Yanagi Body Arm.L (1173)
drawindexed = 6246, 77655, 0
; Yanagi Body Arm.R (1173)
drawindexed = 6246, 83901, 0
endif

if $choker == 0
; Bell Choker (440)
drawindexed = 432, 1704, 0
; YanBodyA-Ribbon (246)
drawindexed = 636, 2718, 0
elif $choker == 1
; Bell (329)
drawindexed = 1704, 0, 0
; Bell Choker (440)
drawindexed = 432, 1704, 0
elif $choker == 2
; Bell Choker (440)
drawindexed = 432, 1704, 0
elif $choker == 3
endif

; Upper Chest
if $top <= 4
	if $belt == 0 || $belt == 1 || $belt == 2
		; YanBodyA-Shirt.BackHarness.MidWaistClips (488)
		drawindexed = 1092, 50265, 0
	endif
	; if $belt == 0
	; 	; YanBodyA-Shirt.BackHarness (1082)
	; 	drawindexed = 3600, 46665, 0
	; elif $belt == 1
	; endif
endif
; Arms
; YanBodyA-WristBands (717)
drawindexed = 2628, 75027, 0

; Midriff
if $belt == 0
	; YanBodyA-Corset (947)
	drawindexed = 2703, 114318, 0
	; YanBodyA-Belt (504)
	drawindexed = 942, 109860, 0
	; YanBodyA-Belt.Loops (1662)
	drawindexed = 3516, 110802, 0
	; YanBodyA-HipHarness (1242)
	drawindexed = 2826, 294915, 0
	run = CommandListDrawShirtLower
elif $belt == 1
	; YanBodyA-WaistBelt (1469)
	drawindexed = 5742, 128541, 0
	; YanBodyA-Belt (504)
	drawindexed = 942, 109860, 0
	; YanBodyA-Belt.Loops (1662)
	drawindexed = 3516, 110802, 0
	; YanBodyA-HipHarness (1242)
	drawindexed = 2826, 294915, 0
	run = CommandListDrawShirtLower
elif $belt == 2
	run = CommandListDrawShirtLower
	; YanBodyA-WaistBelt (1469)
	drawindexed = 5742, 128541, 0
elif $belt == 3
	; YanBodyA-HipHarness (1242)
	drawindexed = 2826, 294915, 0
	; YanBodyA-Belt.Loops (1662)
	drawindexed = 3516, 110802, 0
	run = CommandListDrawShirtLower
elif $belt == 4
	run = CommandListDrawShirtLower
endif

; Pelvis

if $bottoms == 0
; YanBodyA-Shorts (5470)
drawindexed = 23400, 195903, 0
; ; Yanagi Body PelvisCovered (7339)
; drawindexed = 37806, 219303, 0
elif $bottoms == 1
; Panties (1358)
drawindexed = 5124, 190539, 0
; Yanagi Body PelvisCovered (7339)
drawindexed = 37806, 219303, 0
elif $bottoms == 2
; Pussy Pastie (69)
drawindexed = 240, 195663, 0
; Yanagi Body PelvisCovered (7339)
drawindexed = 37806, 219303, 0
elif $bottoms == 3
; Yanagi Body PelvisSpreadable (7337)
drawindexed = 37806, 257109, 0
endif

; Skirt
if $skirt == 0
; YanBodyA-Skirt (645)
drawindexed = 2925, 297741, 0
elif $skirt == 1 
; YanBodyA-Skirt.Short (645)
drawindexed = 2925, 302814, 0
elif $skirt == 2
; YanBodyA-Skirt.Mini (512)
drawindexed = 2148, 300666, 0
elif $skirt == 3
; ; Yanagi Body Midriff (795)
; drawindexed = 4260, 134283, 0
endif

; Legs

if $stockings == 0
	if $bottoms == 0
		; Garter for shorts (4090)
		drawindexed = 15312, 175035, 0
	else
		; Garter (8858)
		drawindexed = 33354, 141681, 0
	endif
; Yanagi Body Legs.Stocking (3466)
drawindexed = 18414, 326655, 0
; Garter.Ribbon (72)
drawindexed = 192, 190347, 0
elif $stockings == 1
; Yanagi Body Legs.Stocking (3466)
drawindexed = 18414, 326655, 0
elif $stockings == 2
; Yanagi Body Legs (3746)
drawindexed = 20916, 305739, 0
endif

; Shoes
if $shoes == 0
; YanBodyA-Heels.Combat (1863)
drawindexed = 5028, 351645, 0
elif $shoes == 1
	if $stockings != 2
	; BL Stockings.Feet.YanagiHeels (762)
	drawindexed = 3120, 345069, 0
	else
	; YanBodyA-Heels.Feet (576)
	drawindexed = 2916, 356673, 0
	endif
; YanBodyA-Heels (1272)
drawindexed = 3456, 348189, 0
endif

[CommandListDrawShirtLower]
if $top == 0 || $top ==  1
	if $skirt != 3
		; YanBodyA-Shirt.Lower Half for Skirt (897)
		drawindexed = 4320, 119181, 0
	elif $bottoms == 0
		; YanBodyA-Shirt.Lower Half for shorts (1046)
		drawindexed = 5040, 123501, 0
	else
		; YanBodyA-Shirt.Lower Half (511)
		drawindexed = 2160, 117021, 0
	endif
endif

[CommandListDrawMidriff]
if $skirt < 3
	; Yanagi Body Midriff.UnderSkirt (602)
	drawindexed = 3138, 138543, 0
else
	; Yanagi Body Midriff (795)
	drawindexed = 4260, 134283, 0
endif

; CommandList -----------------------

[CommandListCreditInfo]
if $creditinfo == 0 && $active > 0
	pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
	pre run = CustomShader\ShaderFixes\help.ini\FormatText
	pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
	$creditinfo = 1
endif

; Resources -------------------------

[ResourceYanagiLensPosition]
type = Buffer
stride = 40
filename = YanagiLensPosition.buf

[ResourceYanagiLensBlend]
type = Buffer
stride = 4
filename = YanagiLensBlend.buf

[ResourceYanagiLensTexcoord]
type = Buffer
stride = 28
filename = YanagiLensTexcoord.buf

[ResourceYanagiLensAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = YanagiLensA.ib

[ResourceYanagiHairPosition]
type = Buffer
stride = 40
filename = YanagiHairPosition.buf

[ResourceYanagiHairBlend]
type = Buffer
stride = 32
filename = YanagiHairBlend.buf

[ResourceYanagiHairTexcoord]
type = Buffer
stride = 24
filename = YanagiHairTexcoord.buf

[ResourceYanagiHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = YanagiHairA.ib

[ResourceYanagiBodyPosition]
type = Buffer
stride = 40
filename = YanagiBodyPosition.buf

[ResourceYanagiBodyBlend]
type = Buffer
stride = 32
filename = YanagiBodyBlend.buf

[ResourceYanagiBodyTexcoord]
type = Buffer
stride = 20
filename = YanagiBodyTexcoord.buf

[ResourceYanagiBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = YanagiBodyA.ib

[ResourceYanagiHairADiffuse]
filename = YanagiHairADiffuse.dds

[ResourceYanagiHairANormalMap]
filename = YanagiHairANormalMap.jpg

[ResourceYanagiHairALightMap]
filename = YanagiHairALightMap.dds

[ResourceYanagiHairAMaterialMap]
filename = YanagiHairAMaterialMap.dds

[ResourceYanagiBodyADiffuse]
filename = YanagiBodyADiffuse.dds

[ResourceYanagiBodyANormalMap]
filename = YanagiBodyANormalMap.jpg

[ResourceYanagiBodyALightMap]
filename = YanagiBodyALightMap.dds

[ResourceYanagiBodyAMaterialMap]
filename = YanagiBodyAMaterialMap.dds

[ResourceSaveAInfo]
type = Buffer
data = "Yanagi Outfit A Saved"

[ResourceLoadAInfo]
type = Buffer
data = "Yanagi Outfit A Loaded"

[ResourceSaveBInfo]
type = Buffer
data = "Yanagi Outfit B Saved"

[ResourceLoadBInfo]
type = Buffer
data = "Yanagi Outfit B Loaded"

[ResourceSaveCInfo]
type = Buffer
data = "Yanagi Outfit C Saved"

[ResourceLoadCInfo]
type = Buffer
data = "Yanagi Outfit C Loaded"

[ResourceSaveDInfo]
type = Buffer
data = "Yanagi Outfit D Saved"

[ResourceLoadDInfo]
type = Buffer
data = "Yanagi Outfit D Loaded"

[ResourceCreditInfo]
type = Buffer
data = "Created by www.patreon.com/lewd_lad"

; .ini generated by XXMI (XX-Model-Importer) v1.6.1
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues






;NEW AND UNUSED

