@sc
var Call = $gameVariables.value(507); 
if(Call === "義妹") {
    ランダム乱数([3,1,3]);
} else if(Call === "恋人") {
    ランダム乱数([3,4,6]);
} else if(Call === "肉奴隷") {
    ランダム乱数([3,7,9]);
}
@end

@if $gameVariables.value(3) === 1
@sc
口 = "開け";
$gameVariables.setValue(23, 997);
@end
\n[2]:2:もう寝るの？　別に構わないわよ。

@sc
目 = "閉じ2";
$gameVariables.setValue(23, 998);
@end
\n[2]::これで静かに過ごせるわ。
@endif

@if $gameVariables.value(3) === 2
@sc
目 = "閉じ2";
口 = "開け";
$gameVariables.setValue(23, 999);
@end
\n[2]:2:はいはい、おやすみ。

@sc
目 = "閉じ1";
口 = "笑い2";
$gameVariables.setValue(23, 1000);
@end
\n[2]::そのままずっと起きてこなくてもいいわよ。
@endif

@if $gameVariables.value(3) === 3
@sc
$gameVariables.setValue(23, 1001);
@end
\n[2]:2:…………。

@sc
目 = "半目";
口 = "開け";
$gameVariables.setValue(23, 1002);
@end
\n[2]::なに？　寝るならさっさと寝れば？
@endif

@if $gameVariables.value(3) === 4
@sc
口 = "開け";
$gameVariables.setValue(23, 1003);
@end
\n[2]:2:もう寝ちゃうの？

@sc
眉 = "困り";
目 = "閉じ2";
口 = "閉じ";
$gameVariables.setValue(23, 1004);
@end
\n[2]::……わかったわ。少し寂しいけど、休息は必要だものね。
@endif

@if $gameVariables.value(3) === 5
@sc
目 = "閉じ1";
口 = "笑い";
$gameVariables.setValue(23, 1005);
@end
\n[2]:2:おやすみなさい。良い夢が見られると良いわね。

@endif

@if $gameVariables.value(3) === 6
@sc
眉 = "困り";
目 = "半目";
口 = "開け";
$gameVariables.setValue(23, 1006);
@end
\n[2]:2:……その、寝るのは構わないけど……。

@sc
目 = "閉じ1";
口 = "開け2";
頬 = "赤";
$gameVariables.setValue(23, 1007);
@end
\n[2]::私も……\n[1]と一緒に眠っても良いかしら……？

@sc
目 = "半目";
口 = "笑い";
$gameVariables.setValue(23, 1008);
@end
\n[2]::ふふっ。ありがとう。それじゃ行きましょうか。
@endif

@if $gameVariables.value(3) === 7
@sc
眉 = "困り";
目 = "閉じ2";
口 = "開け";
アニメ更新 = [1,10,30,"ため息2","000"];
$gameVariables.setValue(23, 1009);
@end
\n[2]:2:わかったわ。おやすみなさい……。

@endif

@if $gameVariables.value(3) === 8
@sc
眉 = "困り";
口 = "開け";
$gameVariables.setValue(23, 1010);
@end
\n[2]:2:あ、あの……。

@sc
目 = "困り";
アニメ更新 = [1,10,30,"ため息2","000"];
$gameVariables.setValue(23, 1011);
@end
\n[2]::いえ……なんでもない……。おやすみ、なさい……。
@endif

@if $gameVariables.value(3) === 9
@sc
眉 = "困り";
目 = "閉じ2";
口 = "開け";
$gameVariables.setValue(23, 1012);
@end
\n[2]:2:……はぁ。

@sc
目 = "通常";
口 = "開け3";
$gameVariables.setValue(23, 1013);
@end
\n[2]::あ、いえ。おやすみなさい。
@endif

@sc
$gameVariables.setValue(1,3);
@end