偘ള ᨊ枋ᜁĀ耀ꌸ﻿;b_cgmode.ks
;前のヴァージョンが使いにくいから全改修する
;ページ毎に作った方がカスタマイズしやすいかな

;デバッグ
;[eval exp="sf.BIT_std = 1"]
;[eval exp="sf.GUE_std = 1"]

[eval exp="tf.now_pos_ev = void"]
[eval exp="tf.now_pos_ev_x = void"]
[eval exp="tf.now_pos_ev_y = void"]
;オーバーサイズフラグリセット
[eval exp="sf.oversize_gra_w = void"]
[eval exp="sf.oversize_gra_h = void"]
[eval exp="tf.overXY = void"]



;[全消去]
[cgthum_int]
;m:メモリ位置要検証
; メモリ上の栞６に現在の状態を保存
[tempsave place=6]
[eval exp="tf.cg_mode = 1"]

;最初のゴチャゴチャした設定するのに必要なんだ
[call storage="&sf.addgameID + 'b_cgmode_init.ks'"]



[freeimage layer=base page=fore]
[freeimage layer=base page=back]

; サムネイルを表示する座標の配列
;２タイトル間で違うかもだからcondこれしちゃだめだ
;[eval exp="tf.CGMODE_thum_x = [sf.cg_thum_x01, sf.cg_thum_x02, sf.cg_thum_x03, sf.cg_thum_x04, sf.cg_thum_x05]"]
;[eval exp="tf.CGMODE_thum_y = [sf.cg_thum_y01, sf.cg_thum_y02, sf.cg_thum_y03, sf.cg_thum_y04, sf.cg_thum_y05]"]
[eval exp="tf.CGMODE_thum_x = [, sf.cg_thum_x01, sf.cg_thum_x02, sf.cg_thum_x03, sf.cg_thum_x04, sf.cg_thum_x05, sf.cg_thum_x06, sf.cg_thum_x07, sf.cg_thum_x08, sf.cg_thum_x09, sf.cg_thum_x10, sf.cg_thum_x11, sf.cg_thum_x12, sf.cg_thum_x13, sf.cg_thum_x14, sf.cg_thum_x15, sf.cg_thum_x16, sf.cg_thum_x17, sf.cg_thum_x18, sf.cg_thum_x19, sf.cg_thum_x20]"]
[eval exp="tf.CGMODE_thum_y = [, sf.cg_thum_y01, sf.cg_thum_y02, sf.cg_thum_y03, sf.cg_thum_y04, sf.cg_thum_y05, sf.cg_thum_y06, sf.cg_thum_y07, sf.cg_thum_y08, sf.cg_thum_y09, sf.cg_thum_y10, sf.cg_thum_y11, sf.cg_thum_y12, sf.cg_thum_y13, sf.cg_thum_y14, sf.cg_thum_y15, sf.cg_thum_y16, sf.cg_thum_y17, sf.cg_thum_y18, sf.cg_thum_y19, sf.cg_thum_y20]"]


; ページ用ボタンを表示する座標の配列 [0]は使用しない。ページ数と[n]が同じになるようにする
[eval exp="tf.b_cg_pageX = [sf.b_page00_x, sf.b_page01_x, sf.b_page02_x, sf.b_page03_x, sf.b_page04_x, sf.b_page05_x, sf.b_page06_x, sf.b_page07_x, sf.b_page08_x, sf.b_page09_x, sf.b_page10_x]"]
[eval exp="tf.b_cg_pageY = [sf.b_page00_y, sf.b_page01_y, sf.b_page02_y, sf.b_page03_y, sf.b_page04_y, sf.b_page05_y, sf.b_page06_y, sf.b_page07_y, sf.b_page08_y, sf.b_page09_y, sf.b_page10_y]"]


;;mm tfで計算で出すの危ういんだよな。設定済みフラグで一応避けないとイケナイか
;;-------------------------------------------------
;[if exp="tf.ボタン_CG設定済み != 1"]
;
;	;サムネイルの基本位置設定。タイトルごとに変更可。
;	[eval exp="sf.CGMODE_setX = 40"]
;	[eval exp="sf.CGMODE_defaddX = 250"]
;
;	;座標を配列で用意
;	[eval exp="tf.CGMODE_thum_x = []"]
;
;	;[0]に初期値入れる
;	[eval exp="tf.CGMODE_thum_x[0] = sf.CGMODE_setX"]
;
;	[eval exp="tf.CGMODE_loop = 0"]
;
;	*CGMODE_loop1
;	;ループカウント
;	[eval exp="tf.CGMODE_loop += 1"]
;	;加算用の数値にループカウントの回数をかける
;	[eval exp="tf.CGMODE_addX = sf.CGMODE_defaddX * tf.CGMODE_loop"]
;	;ループカウントの配列に初期値＋加算数を足して格納。
;	[eval exp="tf.CGMODE_thum_x[tf.CGMODE_loop] = sf.CGMODE_setX + tf.CGMODE_addX"]
;
;	[if exp="tf.CGMODE_loop == 5"]
;		[eval exp="tf.CGMODE_loop = 0"]
;		[jump target=*CGMODE_setY]
;	[endif]
;	[jump target=*CGMODE_loop1]
;
;
;	;-------------------------------------------------
;
;	*CGMODE_setY
;
;	;ボタンの基本位置設定。タイトルごとに変更可。
;	[eval exp="sf.CGMODE_addY = 100"]
;	[eval exp="sf.CGMODE_defaddY = 140"]
;
;	;座標を配列で用意
;	[eval exp="tf.CGMODE_thum_y = []"]
;
;	;[0]に初期値入れる
;	[eval exp="tf.CGMODE_thum_y[0] = sf.CGMODE_addY"]
;
;	[eval exp="tf.CGMODE_loop = 0"]
;
;	*CGMODE_loop2
;	;ループカウント
;	[eval exp="tf.CGMODE_loop += 1"]
;	;加算用の数値にループカウントの回数をかける
;	[eval exp="tf.CGMODE_addY = sf.CGMODE_defaddY * tf.CGMODE_loop"]
;	;ループカウントの配列に初期値＋加算数を足して格納。
;	[eval exp="tf.CGMODE_thum_y[tf.CGMODE_loop] = sf.CGMODE_addY + tf.CGMODE_addY"]
;
;	[if exp="tf.CGMODE_loop == 5"]
;		[eval exp="tf.CGMODE_loop = 0"]
;		[jump target=*CGMODE_menu]
;	[endif]
;	[jump target=*CGMODE_loop2]
;
;	[eval exp="tf.ボタン_CG設定済み = 1"]
;[endif]
;;-------------------------------------------------

*CGMODE_menu

; ページ用ボタンを表示する座標の配列
;[eval exp="tf.b_pageX = [1150, 1150, 1150, 1150, 1150]" cond="tf.b_pageX === void"]
;[eval exp="tf.b_pageY = [200, 240, 280, 320, 360]" cond="tf.b_pageY === void"]


; アルバム画面で使用するメッセージレイヤ
[eval exp="tf.CGMODE_message = 'message1'"]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target="*CGMODE_return" storage="b_cgmode.ks" enabled=true]

; メッセージレイヤの属性を設定
[position layer="&tf.CGMODE_message" page=fore left=0 top=0 width="&kag.scWidth" height="&kag.scHeight" frame="" color=0x000000 opacity=0 marginl=0 margint=0 marginr=0 marginb=0 draggable=false visible=true]
[current layer="&tf.CGMODE_message"]


;初回に来た時用
[if exp="sf.CG_page == void"]
	[eval exp="sf.CG_page = 1"]
[endif]

;最大ページ数定義 これはfirst_xyで定義
;[eval exp="sf.CG_page_max = 4"]

;念のタメ ページ変数がページ数より多くなっちゃったら3にしておく
[if exp="sf.CG_page > sf.CG_page_max"]
	[eval exp="sf.CG_page = sf.CG_page_max"]
[endif]
; サムネイルベースを表示

;〆必ずここなら通るかな、シーン回想でオート状態でシーン終了後CG表示止めてる[p]タグがオートで送られるので解除
[cancelautomode]

[freeimage layer="&tf.layer_cap01" page=fore cond="tf.layer_cap01 != void"]
[freeimage layer="&tf.layer_cap02" page=fore cond="tf.layer_cap02 != void"]
[freeimage layer="&tf.layer_cap03" page=fore cond="tf.layer_cap03 != void"]
[freeimage layer="&tf.layer_cap04" page=fore cond="tf.layer_cap04 != void"]
[freeimage layer="&tf.layer_cap05" page=fore cond="tf.layer_cap05 != void"]
[freeimage layer="&tf.layer_cap06" page=fore cond="tf.layer_cap06 != void"]
[freeimage layer="&tf.layer_cap07" page=fore cond="tf.layer_cap07 != void"]
[freeimage layer="&tf.layer_cap08" page=fore cond="tf.layer_cap08 != void"]
[freeimage layer="&tf.layer_cap09" page=fore cond="tf.layer_cap09 != void"]
[freeimage layer="&tf.layer_cap10" page=fore cond="tf.layer_cap10 != void"]
[freeimage layer="&tf.layer_cap11" page=fore cond="tf.layer_cap11 != void"]
[freeimage layer="&tf.layer_cap12" page=fore cond="tf.layer_cap12 != void"]
[freeimage layer="&tf.layer_cap13" page=fore cond="tf.layer_cap13 != void"]
[freeimage layer="&tf.layer_cap14" page=fore cond="tf.layer_cap14 != void"]
[freeimage layer="&tf.layer_cap15" page=fore cond="tf.layer_cap15 != void"]
[freeimage layer="&tf.layer_cap16" page=fore cond="tf.layer_cap16 != void"]
[freeimage layer="&tf.layer_cap17" page=fore cond="tf.layer_cap17 != void"]
[freeimage layer="&tf.layer_cap18" page=fore cond="tf.layer_cap18 != void"]
[freeimage layer="&tf.layer_cap19" page=fore cond="tf.layer_cap19 != void"]
[freeimage layer="&tf.layer_cap20" page=fore cond="tf.layer_cap20 != void"]

;------------------------------------------------
*CGMODE再描画
[cm]
[cgthum_int]
; 背景画像を読み込み、表示
[image storage="&sf.addgameID + 'bg_CGMODE01'" layer=base page=fore]

;オマケモード間の移動ボタン呼び出し
[call storage="b_sub.ks"]

; 「戻る」ボタンを表示
[locate x="&tf.b_menuX[3]" y="&tf.b_menuY[3]"]
[button_ecse graphic="bnsjump_back" target=*CGMODE_return]

; ページボタン表示
[pagebt_CG]
[デバッグ用開放ボタン x=0 y=660]
;------------------------------------------------
; サムネイルベースを表示



; フラグ立ってるCGがあったらサムネを描画。ボタンにして押せるようにする。
;CG_slotが0かつサムネイルvoidでなければ（つまりサムネが設定されている）サムネイルのベースを表示。

;サムネが開いてもbaseの画像は表示したままにする。外側光彩ついてるから
[if exp="sf.CG_slot01 == 0 && sf.CG_thm01 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[1]" dy="&tf.CGMODE_thum_y[1]"]
[elsif exp="sf.CG_slot01"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[1]" dy="&tf.CGMODE_thum_y[1]"]
	[pimage storage="&sf.CG_thm01+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[1] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[1] + sf.cg_thum_m_y"]
;	[locate                                                                            x="&tf.CGMODE_thum_x[1] + sf.cg_thum_m_x"  y="&tf.CGMODE_thum_y[1] + sf.cg_thum_m_y"]
;フレーム自体を色変えしたいようなのでフレーム分のずらしは入れない
	[locate                                                                            x="&tf.CGMODE_thum_x[1]"  y="&tf.CGMODE_thum_y[1]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 1"]
[endif]

[if exp="sf.CG_slot02 == 0 && sf.CG_thm02 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[2]" dy="&tf.CGMODE_thum_y[2]"]
[elsif exp="sf.CG_slot02"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[2]" dy="&tf.CGMODE_thum_y[2]"]
	[pimage storage="&sf.CG_thm02+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[2] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[2] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[2]"  y="&tf.CGMODE_thum_y[2]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 2"]
[endif]

[if exp="sf.CG_slot03 == 0 && sf.CG_thm03 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[3]" dy="&tf.CGMODE_thum_y[3]"]
[elsif exp="sf.CG_slot03"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[3]" dy="&tf.CGMODE_thum_y[3]"]
	[pimage storage="&sf.CG_thm03+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[3] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[3] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[3]"  y="&tf.CGMODE_thum_y[3]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 3"]
[endif]

[if exp="sf.CG_slot04 == 0 && sf.CG_thm04 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[4]" dy="&tf.CGMODE_thum_y[4]"]
[elsif exp="sf.CG_slot04"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[4]" dy="&tf.CGMODE_thum_y[4]"]
	[pimage storage="&sf.CG_thm04+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[4] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[4] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[4]"  y="&tf.CGMODE_thum_y[4]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 4"]
[endif]

[if exp="sf.CG_slot05 == 0 && sf.CG_thm05 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[5]" dy="&tf.CGMODE_thum_y[5]"]
[elsif exp="sf.CG_slot05"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[5]" dy="&tf.CGMODE_thum_y[5]"]
	[pimage storage="&sf.CG_thm05+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[5] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[5] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[5]"  y="&tf.CGMODE_thum_y[5]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 5"]
[endif]






[if exp="sf.CG_slot06 == 0 && sf.CG_thm06 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[6]" dy="&tf.CGMODE_thum_y[6]"]
[elsif exp="sf.CG_slot06"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[6]" dy="&tf.CGMODE_thum_y[6]"]
	[pimage storage="&sf.CG_thm06+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[6] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[6] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[6]"  y="&tf.CGMODE_thum_y[6]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 6"]
[endif]

[if exp="sf.CG_slot07 == 0 && sf.CG_thm07 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[7]" dy="&tf.CGMODE_thum_y[7]"]
[elsif exp="sf.CG_slot07"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[7]" dy="&tf.CGMODE_thum_y[7]"]
	[pimage storage="&sf.CG_thm07+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[7] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[7] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[7]"  y="&tf.CGMODE_thum_y[7]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 7"]
[endif]

[if exp="sf.CG_slot08 == 0 && sf.CG_thm08 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[8]" dy="&tf.CGMODE_thum_y[8]"]
[elsif exp="sf.CG_slot08"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[8]" dy="&tf.CGMODE_thum_y[8]"]
	[pimage storage="&sf.CG_thm08+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[8] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[8] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[8]"  y="&tf.CGMODE_thum_y[8]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 8"]
[endif]

[if exp="sf.CG_slot09 == 0 && sf.CG_thm09 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[9]" dy="&tf.CGMODE_thum_y[9]"]
[elsif exp="sf.CG_slot09"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[9]" dy="&tf.CGMODE_thum_y[9]"]
	[pimage storage="&sf.CG_thm09+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[9] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[9] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[9]"  y="&tf.CGMODE_thum_y[9]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 9"]
[endif]

[if exp="sf.CG_slot10 == 0 && sf.CG_thm10 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[10]" dy="&tf.CGMODE_thum_y[10]"]
[elsif exp="sf.CG_slot10"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[10]" dy="&tf.CGMODE_thum_y[10]"]
	[pimage storage="&sf.CG_thm10+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[10] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[10] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[10]"  y="&tf.CGMODE_thum_y[10]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 10"]
[endif]





[if exp="sf.CG_slot11 == 0 && sf.CG_thm11 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[11]" dy="&tf.CGMODE_thum_y[11]"]
[elsif exp="sf.CG_slot11"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[11]" dy="&tf.CGMODE_thum_y[11]"]
	[pimage storage="&sf.CG_thm11+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[11] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[11] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[11]"  y="&tf.CGMODE_thum_y[11]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 11"]
[endif]

[if exp="sf.CG_slot12 == 0 && sf.CG_thm12 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[12]" dy="&tf.CGMODE_thum_y[12]"]
[elsif exp="sf.CG_slot12"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[12]" dy="&tf.CGMODE_thum_y[12]"]
	[pimage storage="&sf.CG_thm12+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[12] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[12] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[12]"  y="&tf.CGMODE_thum_y[12]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 12"]
[endif]

[if exp="sf.CG_slot13 == 0 && sf.CG_thm13 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[13]" dy="&tf.CGMODE_thum_y[13]"]
[elsif exp="sf.CG_slot13"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[13]" dy="&tf.CGMODE_thum_y[13]"]
	[pimage storage="&sf.CG_thm13+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[13] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[13] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[13]"  y="&tf.CGMODE_thum_y[13]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 13"]
[endif]

[if exp="sf.CG_slot14 == 0 && sf.CG_thm14 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[14]" dy="&tf.CGMODE_thum_y[14]"]
[elsif exp="sf.CG_slot14"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[14]" dy="&tf.CGMODE_thum_y[14]"]
	[pimage storage="&sf.CG_thm14+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[14] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[14] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[14]"  y="&tf.CGMODE_thum_y[14]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 14"]
[endif]

[if exp="sf.CG_slot15 == 0 && sf.CG_thm15 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[15]" dy="&tf.CGMODE_thum_y[15]"]
[elsif exp="sf.CG_slot15"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[15]" dy="&tf.CGMODE_thum_y[15]"]
	[pimage storage="&sf.CG_thm15+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[15] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[15] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[15]"  y="&tf.CGMODE_thum_y[15]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 15"]
[endif]




[if exp="sf.CG_slot16 == 0 && sf.CG_thm16 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[16]" dy="&tf.CGMODE_thum_y[16]"]
[elsif exp="sf.CG_slot16"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[16]" dy="&tf.CGMODE_thum_y[16]"]
	[pimage storage="&sf.CG_thm16+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[16] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[16] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[16]"  y="&tf.CGMODE_thum_y[16]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 16"]
[endif]

[if exp="sf.CG_slot17 == 0 && sf.CG_thm17 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[17]" dy="&tf.CGMODE_thum_y[17]"]
[elsif exp="sf.CG_slot17"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[17]" dy="&tf.CGMODE_thum_y[17]"]
	[pimage storage="&sf.CG_thm17+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[17] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[17] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[17]"  y="&tf.CGMODE_thum_y[17]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 17"]
[endif]

[if exp="sf.CG_slot18 == 0 && sf.CG_thm18 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[18]" dy="&tf.CGMODE_thum_y[18]"]
[elsif exp="sf.CG_slot18"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[18]" dy="&tf.CGMODE_thum_y[18]"]
	[pimage storage="&sf.CG_thm18+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[18] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[18] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[18]"  y="&tf.CGMODE_thum_y[18]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 18"]
[endif]

[if exp="sf.CG_slot19 == 0 && sf.CG_thm19 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[19]" dy="&tf.CGMODE_thum_y[19]"]
[elsif exp="sf.CG_slot19"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[19]" dy="&tf.CGMODE_thum_y[19]"]
	[pimage storage="&sf.CG_thm19+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[19] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[19] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[19]"  y="&tf.CGMODE_thum_y[19]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 19"]
[endif]

[if exp="sf.CG_slot20 == 0 && sf.CG_thm20 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[20]" dy="&tf.CGMODE_thum_y[20]"]
[elsif exp="sf.CG_slot20"]
	[pimage storage="&sf.addgameID + 'thumbase_CG'" layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[20]" dy="&tf.CGMODE_thum_y[20]"]
	[pimage storage="&sf.CG_thm20+'_thum'"       layer=base page=fore visible=true dx="&tf.CGMODE_thum_x[20] + sf.cg_thum_m_x" dy="&tf.CGMODE_thum_y[20] + sf.cg_thum_m_y"]
	[locate                                                                            x="&tf.CGMODE_thum_x[20]"  y="&tf.CGMODE_thum_y[20]"]
	[button graphic="thum_mouseoverCG" storage="b_cgmode_view.ks" exp="tf.CG_click = 20"]
[endif]

[s]




;------------------------------------------------


	;
	; サムネイル画像が選択された
	;
	*album_select

	; リンクのロックを解除
	;[unlocklink]
	; ウェイト解除
	;[delay speed=user]

	; メモリ上の栞7に現在の状態を保存
	[tempsave place=10]

	;クリック待ちグリフをずらして見えなくする為にカレントのレイヤを２に。いらなかったかも
	;[position layer=message3 page=fore left=-50 top=-50 width=50 height=50 frame="" color=0x000000 opacity=255 marginl=0 margint=0 draggable=false visible=true]
	;[current layer=message3]


	[backlay layer=message0]
	[layopt layer=message0 page=back visible=false]
	[trans method="crossfade" time=0]
	[wt]

	;ブラックアウト
	[image storage="black" layer=10 page=fore visible=false]
	[image storage="black" layer=10 page=back visible=true]
	[trans time=150 method=crossfade]
	[wt]

	[call storage="&tf.album_storage[tf.album_select+20*sf.album_page]" target="&tf.album_target[tf.album_select+20*sf.album_page]"]

;------------------------------------------------

*back_from_cg
[eval exp="tf.cgmodestart = 0"]

; メモリ上の栞7を読み込み、状態復帰
;[tempload place=10]

;カレントのレイヤを元に戻す
;[current layer="&tf.album_message"]

; 栞の機能を有効化（栞をはさむ／たどる共に有効になるため、更に↓のdisablestoreタグを使う）
[store enabled=true]

; 栞にはさめなくする（タイトルメニュー画面での設定に戻す）
[disablestore store=true restore=false]
;履歴のリセット
[eval exp="kag.historyLayer.clear()"] 
; 履歴レイヤを抑止
[history output=false enabled=false]
; ノーウェイトに戻す
[delay speed=nowait]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target="*CGMODE_return" storage="b_cgmode.ks" enabled=true]


; アルバム画面で使用するメッセージレイヤ
[eval exp="tf.CGMODE_message = 'message1'"]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target="*CGMODE_return" storage="b_cgmode.ks" enabled=true]

; メッセージレイヤの属性を設定
[position layer="&tf.CGMODE_message" page=fore left=0 top=0 width="&kag.scWidth" height="&kag.scHeight" frame="" color=0x000000 opacity=0 marginl=0 margint=0 marginr=0 marginb=0 draggable=false visible=true]
[current layer="&tf.CGMODE_message"]


;m:回想から戻った時にBGMならないね。
;BGM再生
;[fadeinbgm storage="bgm01.ogg" loop=true time=100]

;邪淫用　メインタイトルと再生するの別だからgostartしたあとではなくここでやる
;BGM何も鳴ってなければ再生する
[if exp="kag.bgm.currentBuffer.status == 'stop' || kag.bgm.currentBuffer.status == 'unload'"]
	;BGM再生
	[bgmTitle]
[endif]

[jump target=*CGMODE再描画]

;------------------------------------------------




; クリックを待つ
;[waitclick]
; イベント絵の前景レイヤを非表示にする
;[layopt layer="&tf.album_layer" page=fore visible=false]
;[unlocklink]
;[s]


;
; 「戻る」が選択された
;
*CGMODE_return
;[全消去]
[ws buf="&sf.SE_click_buf"]

[cgthum_int]


[eval exp="tf.cg_mode = 0"]

; メモリ上の栞６を読み込み、状態復帰
;なぜかCGだけテンプロードしててBGM再生されなおされてた
;[tempload place=6]
; マウス右クリックされたときの動作を元に戻す
[rclick enabled=false]
;[call storage="append.ks" target=*append_menu]
;バツっと切れるから一応ちゃんと止めてみる
;[fadeoutbgm time=100][wf canskip=false][stopbgm]
;リターンだと面倒だから直にタイトルへ
;[jump storage="title.ks" target=*title_menu]
[gotostart]
;[return]

;------------------------------------------------
;------------------------------------------------
;デバッグ

*debug_on
[eval exp="tf.dialog_open_cg = 1"]
[jump storage="dialog.ks"]
;[eval exp="tf.d = 1"]
;[jump target=*debug_onoff]

*debug_off
[eval exp="tf.dialog_close_cg = 1"]
[jump storage="dialog.ks"]
;[eval exp="tf.d = 0"]
;[jump target=*debug_onoff]

﻿
*CGとサムネ設定00



;カット数が多いときはここじゃなくて、結局ページごとにやらないと重いかも？

;CGの登録順をここで決める。配列の中身は、
;[0] CG開放フラグ
;[1] サムネ名
;[2] b_cgmode_init_sub.ksとb_cgmode_view.ksでの飛び先ラベル target="&'*' + sf.CG001[1]"で書けば定義要らないか
;b_cgmode_init_sub.ksに行く前に開放フラグ決めちゃだめじゃね？
;						仕方ないからここで開放チェックして			もう1回配列[0]に定義しなおす。
;じゃあ初回定義の0は書かなくてもいいんじゃ？　イマイチ手順が間抜けだな。そんなに書き換えの手間が変わってないような？
; target="&'*' + sf.CG001[1]"で書けば飛び先ラベル定義要らないか。変則的な処理が必要なら追加してね。そのときはb_cgmode_view.ksの飛び先処理も要確認。

;evcgマクロ中で開放フラグオンになるのでb_cgmode_init_sub.ksは処理不要 2018/05/03
;最初から配列[0]に開放判定用フラグを入れる
;------------------------------------------------

;サムネやファイル名・フラグは変数で省略しないで実際ので書く

;------------------------------------------------
;                       ↓開放フラグ ↓サムネ    ↓ラベル                        ↓[4]から差分 いっぱいあると可読性は低くなるなぁ
;[eval exp="sf.CG001 = [sf.BIT_ev01,'BIT_ev01','ラベル']"]
;カットナンバーと飛ばすラベルずれてるので注意
;                                                                       ↓これはカットナンバーとは無関係でsf.CG001の名前を生成するために配列変数名と同じ値を入れる
;*cgview000_差分条件有り
;*cgview000_os_差分条件有り
;MV用 毎回差分名微妙に書き換えるの面倒　MV用の変数に入れ替えておくか
;[eval exp="sf.CG_MV = [            ,       ,     ,'ev99a','ev99b']"]
[eval exp="sf.CG001 = [sf.CG01 ,'CG01' ,'*cgview000_差分条件有り','001','CG01R_720p_A','CG01R_720p_A3','CG01R_720p_C','CG01R_720p_A2','CG01R_720p_A4','CG01R_720p_B']"]
[eval exp="sf.CG002 = [sf.CG02 ,'CG02' ,'*cgview000_差分条件有り','002','CG02_720p_1A','CG02_720p_1B','CG02_720p_1C','CG02_720p_1D','CG02_720p_1F','CG02_720p_1G','CG02_720p_1A2','CG02_720p_1B2','CG02_720p_1C2','CG02_720p_1D2','CG02_720p_1F2','CG02_720p_1G2','CG02_720p_1A3','CG02_720p_1B3','CG02_720p_1C3','CG02_720p_1D3','CG02_720p_1F3','CG02_720p_1G3','CG02_720p_1A4','CG02_720p_2A','CG02_720p_2B','CG02_720p_2C','CG02_720p_2D','CG02_720p_2E','CG02_720p_2F','CG02_720p_2G','CG02_720p_2A2','CG02_720p_2B2','CG02_720p_2C2','CG02_720p_2D2','CG02_720p_2E2','CG02_720p_2F2','CG02_720p_2G2','CG02_720p_2A3','CG02_720p_2B3','CG02_720p_2C3','CG02_720p_2D3','CG02_720p_2E3','CG02_720p_2F3','CG02_720p_2G3','CG02_720p_2A4']"]
[eval exp="sf.CG003 = [sf.CG03 ,'CG03' ,'*cgview000_差分条件有り','003','CG03R_720p_1A','CG03R_720p_1B','CG03R_720p_1C','CG03R_720p_1D','CG03R_720p_1E','CG03R_720p_1G','CG03R_720p_1UA','CG03R_720p_1UB','CG03R_720p_1UC','CG03R_720p_1UD','CG03R_720p_1UE','CG03R_720p_1UG','CG03R_720p_1UH','CG03R_720p_2A','CG03R_720p_2B','CG03R_720p_2C','CG03R_720p_2D','CG03R_720p_2E','CG03R_720p_2G','CG03R_720p_2RA','CG03R_720p_2RB','CG03R_720p_2RC','CG03R_720p_2RD','CG03R_720p_2RE','CG03R_720p_2RG','CG03R_720p_2UA','CG03R_720p_2UB','CG03R_720p_2UC','CG03R_720p_2UD','CG03R_720p_2UE','CG03R_720p_2UG','CG03R_720p_2URA','CG03R_720p_2URB','CG03R_720p_2URC','CG03R_720p_2URD','CG03R_720p_2URE','CG03R_720p_2URG']"]
[eval exp="sf.CG004 = [sf.CG04 ,'CG04' ,'*cgview000_差分条件有り','004','CG04R_720p_1A','CG04R_720p_1B','CG04R_720p_1C','CG04R_720p_1E','CG04R_720p_1F','CG04R_720p_2A','CG04R_720p_2B','CG04R_720p_2C','CG04R_720p_2E','CG04R_720p_2F','CG04R_720p_3A','CG04R_720p_3B','CG04R_720p_3E2','CG04R_720p_3F','CG04R_720p_4B','CG04R_720p_4E','CG04R_720p_4E2','CG04R_720p_4F','CG04R_720p_5A','CG04R_720p_5B','CG04R_720p_5C','CG04R_720p_5E','CG04R_720p_5F','CG04R_720p_6A','CG04R_720p_6B','CG04R_720p_6C','CG04R_720p_6D','CG04R_720p_6E','CG04R_720p_6E2','CG04R_720p_6F','CG04R_720p_7B','CG04R_720p_7C','CG04R_720p_7D','CG04R_720p_7E','CG04R_720p_7E2','CG04R_720p_7F','CG04R_720p_8A','CG04R_720p_8B','CG04R_720p_8C','CG04R_720p_8D','CG04R_720p_8E','CG04R_720p_8E2','CG04R_720p_8F']"]
[eval exp="sf.CG005 = [sf.CG05 ,'CG05' ,'*cgview000_差分条件有り','005','CG05_720p_1A','CG05_720p_1B','CG05_720p_2A','CG05_720p_2A2','CG05_720p_2B','CG05_720p_3A','CG05_720p_3A2','CG05_720p_3B','CG05_720p_4C','CG05_720p_5D','CG05_720p_5D2','CG05_720p_5E','CG05_720p_6D','CG05_720p_6D2','CG05_720p_6E','CG05_720p_7D','CG05_720p_7E','CG05_720p_8C','CG05_720p_9A','CG05_720p_9B','CG05_720p_9C']"]
[eval exp="sf.CG006 = [sf.CG06 ,'CG06' ,'*cgview000_差分条件有り','006','CG06_720p_1A','CG06_720p_1B','CG06_720p_1C','CG06_720p_2A','CG06_720p_2C','CG06_720p_2C2','CG06_720p_3D','CG06_720p_3D2','CG06_720p_4C2','CG06_720p_4D','CG06_720p_4D2','CG06_720p_5C2','CG06_720p_5D','CG06_720p_5D2','CG06_720p_5E','CG06_720p_6C2','CG06_720p_6D','CG06_720p_6D2','CG06_720p_6E','CG06_720p_7D','CG06_720p_7D2','CG06_720p_7E']"]
[eval exp="sf.CG007 = []"]
[eval exp="sf.CG008 = []"]
[eval exp="sf.CG009 = []"]
[eval exp="sf.CG010 = []"]
[eval exp="sf.CG011 = []"]
[eval exp="sf.CG012 = []"]
[eval exp="sf.CG013 = []"]
[eval exp="sf.CG014 = []"]
[eval exp="sf.CG015 = []"]
[eval exp="sf.CG016 = []"]
[eval exp="sf.CG017 = []"]
[eval exp="sf.CG018 = []"]
[eval exp="sf.CG019 = []"]
[eval exp="sf.CG020 = []"]
[eval exp="sf.CG021 = [sf.CG07 ,'CG07' ,'*cgview000_差分条件有り','021','CG07_720p_1A','CG07_720p_1B','CG07_720p_2A','CG07_720p_2B','CG07_720p_2C','CG07_720p_3B','CG07_720p_4E','CG07_720p_4E2','CG07_720p_5D','CG07_720p_5E']"]
[eval exp="sf.CG022 = [sf.CG08 ,'CG08' ,'*cgview000_差分条件有り','022','CG08_720p_1A','CG08_720p_1E','CG08_720p_2A','CG08_720p_2B','CG08_720p_2C','CG08_720p_2C2','CG08_720p_2E','CG08_720p_3A','CG08_720p_3C','CG08_720p_3C2','CG08_720p_3D','CG08_720p_3E','CG08_720p_4A','CG08_720p_4C2','CG08_720p_4E','CG08_720p_5A','CG08_720p_5B','CG08_720p_5C','CG08_720p_5C2','CG08_720p_6B','CG08_720p_6C','CG08_720p_6C2','CG08_720p_7A','CG08_720p_7B','CG08_720p_7C','CG08_720p_7C2','CG08_720p_8A','CG08_720p_8C2','CG08_720p_8D','CG08_720p_9A','CG08_720p_9E','CG08_720p_10A','CG08_720p_10B','CG08_720p_11A','CG08_720p_11B','CG08_720p_11C','CG08_720p_11C2','CG08_720p_11E','CG08_720p_12']"]
[eval exp="sf.CG023 = [sf.CG09 ,'CG09' ,'*cgview000_差分条件有り','023','CG09_720p_1A','CG09_720p_1B','CG09_720p_1C','CG09_720p_2A','CG09_720p_2B','CG09_720p_2C','CG09_720p_2D','CG09_720p_3A','CG09_720p_3B','CG09_720p_3C','CG09_720p_3D','CG09_720p_4A','CG09_720p_4B','CG09_720p_4C','CG09_720p_4D','CG09_720p_5C','CG09_720p_5D','CG09_720p_6C','CG09_720p_6D','CG09_720p_6E','CG09_720p_7C','CG09_720p_7D','CG09_720p_7E']"]
[eval exp="sf.CG024 = [sf.CG10 ,'CG10' ,'*cgview000_差分条件有り','024','CG10R_720p_1A','CG10R_720p_1A2','CG10R_720p_1B','CG10R_720p_2A','CG10R_720p_2A2','CG10R_720p_2B','CG10R_720p_3A','CG10R_720p_3B2','CG10R_720p_4A','CG10R_720p_4B2','CG10R_720p_4C','CG10R_720p_4D','CG10R_720p_5A','CG10R_720p_5B2','CG10R_720p_5C','CG10R_720p_5D','CG10R_720p_6C','CG10R_720p_7A','CG10R_720p_7B2','CG10R_720p_7C','CG10R_720p_8C','CG10R_720p_9A','CG10R_720p_9B2','CG10R_720p_9C']"]
[eval exp="sf.CG025 = [sf.CG11 ,'CG11' ,'*cgview000_差分条件有り','025','CG11_720p_1A','CG11_720p_1B','CG11_720p_1C','CG11_720p_1C2','CG11_720p_1D','CG11_720p_2A','CG11_720p_2B','CG11_720p_2C','CG11_720p_2C2','CG11_720p_2D','CG11_720p_3A','CG11_720p_3B','CG11_720p_3C','CG11_720p_3C2','CG11_720p_3D','CG11_720p_4A','CG11_720p_4B','CG11_720p_4C','CG11_720p_4C2','CG11_720p_4D','CG11_720p_5D','CG11_720p_6A','CG11_720p_6B','CG11_720p_6C','CG11_720p_6C2','CG11_720p_6D','CG11_720p_7C','CG11_720p_8E','CG11_720p_9B','CG11_720p_10B']"]
[eval exp="sf.CG026 = [sf.CG12 ,'CG12' ,'*cgview000_差分条件有り','026','CG12R_720p_1A','CG12R_720p_1B','CG12R_720p_1B2','CG12R_720p_2A','CG12R_720p_2B','CG12R_720p_2B2','CG12R_720p_3A','CG12R_720p_3B','CG12R_720p_3B2','CG12R_720p_3D','CG12R_720p_4A','CG12R_720p_4B2','CG12R_720p_4C','CG12R_720p_4C2','CG12R_720p_5','CG12R_720p_6B2','CG12R_720p_6C','CG12R_720p_6C2','CG12R_720p_7C2','CG12R_720p_7D','CG12R_720p_8D','CG12R_720p_9C2','CG12R_720p_9D']"]
[eval exp="sf.CG027 = []"]
[eval exp="sf.CG028 = []"]
[eval exp="sf.CG029 = []"]
[eval exp="sf.CG030 = []"]
[eval exp="sf.CG031 = []"]
[eval exp="sf.CG032 = []"]
[eval exp="sf.CG033 = []"]
[eval exp="sf.CG034 = []"]
[eval exp="sf.CG035 = []"]
[eval exp="sf.CG036 = []"]
[eval exp="sf.CG037 = []"]
[eval exp="sf.CG038 = []"]
[eval exp="sf.CG039 = []"]
[eval exp="sf.CG040 = []"]
[eval exp="sf.CG041 = [sf.CG13 ,'CG13' ,'*cgview000_差分条件有り','041','CG13_720p_1A','CG13_720p_1B','CG13_720p_1C','CG13_720p_2B','CG13_720p_2C','CG13_720p_3B','CG13_720p_3C','CG13_720p_3C2','CG13_720p_4C','CG13_720p_5B','CG13_720p_5C','CG13_720p_5C2','CG13_720p_6B','CG13_720p_6C2','CG13_720p_7A','CG13_720p_7D','CG13_720p_8D2','CG13_720p_9D','CG13_720p_10C2','CG13_720p_10D','CG13_720p_11B','CG13_720p_11D','CG13_720p_12B']"]
[eval exp="sf.CG042 = [sf.CG14 ,'CG14' ,'*cgview000_差分条件有り','042','CG14_720p_1A','CG14_720p_2A','CG14_720p_2B','CG14_720p_2B2','CG14_720p_3C2','CG14_720p_4C','CG14_720p_4C2','CG14_720p_5D2','CG14_720p_5D2B','CG14_720p_6D','CG14_720p_7A','CG14_720p_7C','CG14_720p_8A']"]
[eval exp="sf.CG043 = [sf.CG15 ,'CG15' ,'*cgview000_差分条件有り','043','CG15_720p_1A','CG15_720p_2A','CG15_720p_2B','CG15_720p_2C3','CG15_720p_2D','CG15_720p_3C','CG15_720p_4B','CG15_720p_4C3','CG15_720p_5B','CG15_720p_5C','CG15_720p_5C2','CG15_720p_6C2','CG15_720p_7B','CG15_720p_7C','CG15_720p_7C2','CG15_720p_8C2','CG15_720p_9C2','CG15_720p_9C4']"]
[eval exp="sf.CG044 = [sf.CG16 ,'CG16' ,'*cgview000_差分条件有り','044','CG16_720p_1A_C','CG16_720p_1B_C','CG16_720p_1C_C','CG16_720p_1C2_C','CG16_720p_1A_L','CG16_720p_1B_L','CG16_720p_1C_L','CG16_720p_1C2_L','CG16_720p_1A_R','CG16_720p_1B_R','CG16_720p_1C_R','CG16_720p_1C2_R','CG16_720p_2B_C','CG16_720p_2C_C','CG16_720p_2B_L','CG16_720p_2C_L','CG16_720p_2B_R','CG16_720p_2C_R','CG16_720p_3C_C','CG16_720p_3D_C','CG16_720p_3C_L','CG16_720p_3D_L','CG16_720p_3C_R','CG16_720p_3D_R','CG16_720p_4C_C','CG16_720p_5B','CG16_720p_5C','CG16_720p_6A','CG16_720p_6B2','CG16_720p_6C','CG16_720p_6C3','CG16_720p_7B2','CG16_720p_7C','CG16_720p_8D','CG16_720p_9C','CG16_720p_9D','CG16_720p_10B2']"]
[eval exp="sf.CG045 = [sf.CG21 ,'CG21' ,'*cgview000_差分条件有り','045','CG21_720p_A','CG21_720p_A2','CG21_720p_B','CG21_720p_C','CG21_720p_D']"]
[eval exp="sf.CG046 = [sf.CG17 ,'CG17' ,'*cgview000_差分条件有り','046','CG17_720p_1A','CG17_720p_1B','CG17_720p_2B','CG17_720p_3A2','CG17_720p_3B2','CG17_720p_3C','CG17_720p_4A2','CG17_720p_4C','CG17_720p_5A2','CG17_720p_5C','CG17_720p_5D','CG17_720p_6C','CG17_720p_6D','CG17_720p_7D']"]
[eval exp="sf.CG047 = []"]
[eval exp="sf.CG048 = []"]
[eval exp="sf.CG049 = []"]
[eval exp="sf.CG050 = []"]
[eval exp="sf.CG051 = []"]
[eval exp="sf.CG052 = []"]
[eval exp="sf.CG053 = []"]
[eval exp="sf.CG054 = []"]
[eval exp="sf.CG055 = []"]
[eval exp="sf.CG056 = []"]
[eval exp="sf.CG057 = []"]
[eval exp="sf.CG058 = []"]
[eval exp="sf.CG059 = []"]
[eval exp="sf.CG060 = []"]
[eval exp="sf.CG061 = [sf.CG18 ,'CG18' ,'*cgview000_差分条件有り','061','CG18_720p_1A3','CG18_720p_2A','CG18_720p_2A3','CG18_720p_2B','CG18_720p_2C','CG18_720p_3D','CG18_720p_4A3','CG18_720p_4B','CG18_720p_4D']"]
[eval exp="sf.CG062 = [sf.CG19 ,'CG19' ,'*cgview000_差分条件有り','062','CG19_720p_1A','CG19_720p_1B','CG19_720p_2A','CG19_720p_2B','CG19_720p_2C','CG19_720p_2D','CG19_720p_3A','CG19_720p_3B','CG19_720p_3C','CG19_720p_4','CG19_720p_5A','CG19_720p_5B','CG19_720p_6A','CG19_720p_6B','CG19_720p_7A','CG19_720p_7C','CG19_720p_8A','CG19_720p_8B','CG19_720p_8C','CG19_720p_8D','CG19_720p_8E']"]
[eval exp="sf.CG063 = [sf.CG20 ,'CG20' ,'*cgview000_差分条件有り','063','CG20_720p_1A','CG20_720p_1B','CG20_720p_1B2','CG20_720p_2C','CG20_720p_3D','CG20_720p_3E','CG20_720p_4B2','CG20_720p_4D']"]
[eval exp="sf.CG064 = [sf.CG04 ,'movie_CG04' ,'*movieview04']"]
[eval exp="sf.CG065 = [sf.CG07 ,'movie_CG07' ,'*movieview07']"]
[eval exp="sf.CG066 = [sf.CG14 ,'movie_CG14' ,'*movieview14']"]


[eval exp="sf.CG067 = []"]
[eval exp="sf.CG068 = []"]
[eval exp="sf.CG069 = []"]
[eval exp="sf.CG070 = []"]
[eval exp="sf.CG071 = []"]
[eval exp="sf.CG072 = []"]
[eval exp="sf.CG073 = []"]
[eval exp="sf.CG074 = []"]
[eval exp="sf.CG075 = []"]
[eval exp="sf.CG076 = []"]
[eval exp="sf.CG077 = []"]
[eval exp="sf.CG078 = []"]
[eval exp="sf.CG079 = []"]
[eval exp="sf.CG080 = []"]
[eval exp="sf.CG081 = [sf.CG20 ,'movie_CG20' ,'*movieview20']"]
[eval exp="sf.CG082 = [1 ,'movie_OP'  ,'*movieview001']"]
[eval exp="sf.CG083 = [sf.gameclear ,'movie_ED'  ,'*movieview002']"]
[eval exp="sf.CG084 = []"]
[eval exp="sf.CG085 = []"]
[eval exp="sf.CG086 = []"]
[eval exp="sf.CG087 = []"]
[eval exp="sf.CG088 = []"]
[eval exp="sf.CG089 = []"]
[eval exp="sf.CG090 = []"]
[eval exp="sf.CG091 = []"]
[eval exp="sf.CG092 = []"]
[eval exp="sf.CG093 = []"]
[eval exp="sf.CG094 = []"]
[eval exp="sf.CG095 = []"]
[eval exp="sf.CG096 = []"]
[eval exp="sf.CG097 = []"]
[eval exp="sf.CG098 = []"]
[eval exp="sf.CG099 = []"]
[eval exp="sf.CG100 = []"]
[eval exp="sf.CG101 = []"]
[eval exp="sf.CG102 = []"]
[eval exp="sf.CG103 = []"]
[eval exp="sf.CG104 = []"]
[eval exp="sf.CG105 = []"]
[eval exp="sf.CG106 = []"]
[eval exp="sf.CG107 = []"]
[eval exp="sf.CG108 = []"]
[eval exp="sf.CG109 = []"]
[eval exp="sf.CG110 = []"]
[eval exp="sf.CG111 = []"]
[eval exp="sf.CG112 = []"]
[eval exp="sf.CG113 = []"]
[eval exp="sf.CG114 = []"]
[eval exp="sf.CG115 = []"]
[eval exp="sf.CG116 = []"]
[eval exp="sf.CG117 = []"]
[eval exp="sf.CG118 = []"]
[eval exp="sf.CG119 = []"]
[eval exp="sf.CG120 = []"]
[return]



;---------------------------------------------
;これでここからしたの各ページの項目は今後書き換えなくていい。ページ増えたら要追加。
;---------------------------------------------
*CGとサムネ設定01
;ジャンプ先のラベルにカット名使わないで定型のラベル名にする
[eval exp="sf.CG_slot01 = sf.CG001[0] , sf.CG_thm01 = sf.CG001[1] , sf.CG_target01 = sf.CG001[2] , sf.CG_num01 = sf.CG001[3]"]
[eval exp="sf.CG_slot02 = sf.CG002[0] , sf.CG_thm02 = sf.CG002[1] , sf.CG_target02 = sf.CG002[2] , sf.CG_num02 = sf.CG002[3]"]
[eval exp="sf.CG_slot03 = sf.CG003[0] , sf.CG_thm03 = sf.CG003[1] , sf.CG_target03 = sf.CG003[2] , sf.CG_num03 = sf.CG003[3]"]
[eval exp="sf.CG_slot04 = sf.CG004[0] , sf.CG_thm04 = sf.CG004[1] , sf.CG_target04 = sf.CG004[2] , sf.CG_num04 = sf.CG004[3]"]
[eval exp="sf.CG_slot05 = sf.CG005[0] , sf.CG_thm05 = sf.CG005[1] , sf.CG_target05 = sf.CG005[2] , sf.CG_num05 = sf.CG005[3]"]
[eval exp="sf.CG_slot06 = sf.CG006[0] , sf.CG_thm06 = sf.CG006[1] , sf.CG_target06 = sf.CG006[2] , sf.CG_num06 = sf.CG006[3]"]
[eval exp="sf.CG_slot07 = sf.CG007[0] , sf.CG_thm07 = sf.CG007[1] , sf.CG_target07 = sf.CG007[2] , sf.CG_num07 = sf.CG007[3]"]
[eval exp="sf.CG_slot08 = sf.CG008[0] , sf.CG_thm08 = sf.CG008[1] , sf.CG_target08 = sf.CG008[2] , sf.CG_num08 = sf.CG008[3]"]
[eval exp="sf.CG_slot09 = sf.CG009[0] , sf.CG_thm09 = sf.CG009[1] , sf.CG_target09 = sf.CG009[2] , sf.CG_num09 = sf.CG009[3]"]
[eval exp="sf.CG_slot10 = sf.CG010[0] , sf.CG_thm10 = sf.CG010[1] , sf.CG_target10 = sf.CG010[2] , sf.CG_num10 = sf.CG010[3]"]
[eval exp="sf.CG_slot11 = sf.CG011[0] , sf.CG_thm11 = sf.CG011[1] , sf.CG_target11 = sf.CG011[2] , sf.CG_num11 = sf.CG011[3]"]
[eval exp="sf.CG_slot12 = sf.CG012[0] , sf.CG_thm12 = sf.CG012[1] , sf.CG_target12 = sf.CG012[2] , sf.CG_num12 = sf.CG012[3]"]
[eval exp="sf.CG_slot13 = sf.CG013[0] , sf.CG_thm13 = sf.CG013[1] , sf.CG_target13 = sf.CG013[2] , sf.CG_num13 = sf.CG013[3]"]
[eval exp="sf.CG_slot14 = sf.CG014[0] , sf.CG_thm14 = sf.CG014[1] , sf.CG_target14 = sf.CG014[2] , sf.CG_num14 = sf.CG014[3]"]
[eval exp="sf.CG_slot15 = sf.CG015[0] , sf.CG_thm15 = sf.CG015[1] , sf.CG_target15 = sf.CG015[2] , sf.CG_num15 = sf.CG015[3]"]
[eval exp="sf.CG_slot16 = sf.CG016[0] , sf.CG_thm16 = sf.CG016[1] , sf.CG_target16 = sf.CG016[2] , sf.CG_num16 = sf.CG016[3]"]
[eval exp="sf.CG_slot17 = sf.CG017[0] , sf.CG_thm17 = sf.CG017[1] , sf.CG_target17 = sf.CG017[2] , sf.CG_num17 = sf.CG017[3]"]
[eval exp="sf.CG_slot18 = sf.CG018[0] , sf.CG_thm18 = sf.CG018[1] , sf.CG_target18 = sf.CG018[2] , sf.CG_num18 = sf.CG018[3]"]
[eval exp="sf.CG_slot19 = sf.CG019[0] , sf.CG_thm19 = sf.CG019[1] , sf.CG_target19 = sf.CG019[2] , sf.CG_num19 = sf.CG019[3]"]
[eval exp="sf.CG_slot20 = sf.CG020[0] , sf.CG_thm20 = sf.CG020[1] , sf.CG_target20 = sf.CG020[2] , sf.CG_num20 = sf.CG020[3]"]
[return]
;---------------------------------------------
;---------------------------------------------
*CGとサムネ設定02
[eval exp="sf.CG_slot01 = sf.CG021[0] , sf.CG_thm01 = sf.CG021[1] , sf.CG_target01 = sf.CG021[2] , sf.CG_num01 = sf.CG021[3]"]
[eval exp="sf.CG_slot02 = sf.CG022[0] , sf.CG_thm02 = sf.CG022[1] , sf.CG_target02 = sf.CG022[2] , sf.CG_num02 = sf.CG022[3]"]
[eval exp="sf.CG_slot03 = sf.CG023[0] , sf.CG_thm03 = sf.CG023[1] , sf.CG_target03 = sf.CG023[2] , sf.CG_num03 = sf.CG023[3]"]
[eval exp="sf.CG_slot04 = sf.CG024[0] , sf.CG_thm04 = sf.CG024[1] , sf.CG_target04 = sf.CG024[2] , sf.CG_num04 = sf.CG024[3]"]
[eval exp="sf.CG_slot05 = sf.CG025[0] , sf.CG_thm05 = sf.CG025[1] , sf.CG_target05 = sf.CG025[2] , sf.CG_num05 = sf.CG025[3]"]
[eval exp="sf.CG_slot06 = sf.CG026[0] , sf.CG_thm06 = sf.CG026[1] , sf.CG_target06 = sf.CG026[2] , sf.CG_num06 = sf.CG026[3]"]
[eval exp="sf.CG_slot07 = sf.CG027[0] , sf.CG_thm07 = sf.CG027[1] , sf.CG_target07 = sf.CG027[2] , sf.CG_num07 = sf.CG027[3]"]
[eval exp="sf.CG_slot08 = sf.CG028[0] , sf.CG_thm08 = sf.CG028[1] , sf.CG_target08 = sf.CG028[2] , sf.CG_num08 = sf.CG028[3]"]
[eval exp="sf.CG_slot09 = sf.CG029[0] , sf.CG_thm09 = sf.CG029[1] , sf.CG_target09 = sf.CG029[2] , sf.CG_num09 = sf.CG029[3]"]
[eval exp="sf.CG_slot10 = sf.CG030[0] , sf.CG_thm10 = sf.CG030[1] , sf.CG_target10 = sf.CG030[2] , sf.CG_num10 = sf.CG030[3]"]
[eval exp="sf.CG_slot11 = sf.CG031[0] , sf.CG_thm11 = sf.CG031[1] , sf.CG_target11 = sf.CG031[2] , sf.CG_num11 = sf.CG031[3]"]
[eval exp="sf.CG_slot12 = sf.CG032[0] , sf.CG_thm12 = sf.CG032[1] , sf.CG_target12 = sf.CG032[2] , sf.CG_num12 = sf.CG032[3]"]
[eval exp="sf.CG_slot13 = sf.CG033[0] , sf.CG_thm13 = sf.CG033[1] , sf.CG_target13 = sf.CG033[2] , sf.CG_num13 = sf.CG033[3]"]
[eval exp="sf.CG_slot14 = sf.CG034[0] , sf.CG_thm14 = sf.CG034[1] , sf.CG_target14 = sf.CG034[2] , sf.CG_num14 = sf.CG034[3]"]
[eval exp="sf.CG_slot15 = sf.CG035[0] , sf.CG_thm15 = sf.CG035[1] , sf.CG_target15 = sf.CG035[2] , sf.CG_num15 = sf.CG035[3]"]
[eval exp="sf.CG_slot16 = sf.CG036[0] , sf.CG_thm16 = sf.CG036[1] , sf.CG_target16 = sf.CG036[2] , sf.CG_num16 = sf.CG036[3]"]
[eval exp="sf.CG_slot17 = sf.CG037[0] , sf.CG_thm17 = sf.CG037[1] , sf.CG_target17 = sf.CG037[2] , sf.CG_num17 = sf.CG037[3]"]
[eval exp="sf.CG_slot18 = sf.CG038[0] , sf.CG_thm18 = sf.CG038[1] , sf.CG_target18 = sf.CG038[2] , sf.CG_num18 = sf.CG038[3]"]
[eval exp="sf.CG_slot19 = sf.CG039[0] , sf.CG_thm19 = sf.CG039[1] , sf.CG_target19 = sf.CG039[2] , sf.CG_num19 = sf.CG039[3]"]
[eval exp="sf.CG_slot20 = sf.CG040[0] , sf.CG_thm20 = sf.CG040[1] , sf.CG_target20 = sf.CG040[2] , sf.CG_num20 = sf.CG040[3]"]
[return]

;---------------------------------------------
;---------------------------------------------
*CGとサムネ設定03
[eval exp="sf.CG_slot01 = sf.CG041[0] , sf.CG_thm01 = sf.CG041[1] , sf.CG_target01 = sf.CG041[2] , sf.CG_num01 = sf.CG041[3]"]
[eval exp="sf.CG_slot02 = sf.CG042[0] , sf.CG_thm02 = sf.CG042[1] , sf.CG_target02 = sf.CG042[2] , sf.CG_num02 = sf.CG042[3]"]
[eval exp="sf.CG_slot03 = sf.CG043[0] , sf.CG_thm03 = sf.CG043[1] , sf.CG_target03 = sf.CG043[2] , sf.CG_num03 = sf.CG043[3]"]
[eval exp="sf.CG_slot04 = sf.CG044[0] , sf.CG_thm04 = sf.CG044[1] , sf.CG_target04 = sf.CG044[2] , sf.CG_num04 = sf.CG044[3]"]
[eval exp="sf.CG_slot05 = sf.CG045[0] , sf.CG_thm05 = sf.CG045[1] , sf.CG_target05 = sf.CG045[2] , sf.CG_num05 = sf.CG045[3]"]
[eval exp="sf.CG_slot06 = sf.CG046[0] , sf.CG_thm06 = sf.CG046[1] , sf.CG_target06 = sf.CG046[2] , sf.CG_num06 = sf.CG046[3]"]
[eval exp="sf.CG_slot07 = sf.CG047[0] , sf.CG_thm07 = sf.CG047[1] , sf.CG_target07 = sf.CG047[2] , sf.CG_num07 = sf.CG047[3]"]
[eval exp="sf.CG_slot08 = sf.CG048[0] , sf.CG_thm08 = sf.CG048[1] , sf.CG_target08 = sf.CG048[2] , sf.CG_num08 = sf.CG048[3]"]
[eval exp="sf.CG_slot09 = sf.CG049[0] , sf.CG_thm09 = sf.CG049[1] , sf.CG_target09 = sf.CG049[2] , sf.CG_num09 = sf.CG049[3]"]
[eval exp="sf.CG_slot10 = sf.CG050[0] , sf.CG_thm10 = sf.CG050[1] , sf.CG_target10 = sf.CG050[2] , sf.CG_num10 = sf.CG050[3]"]
[eval exp="sf.CG_slot11 = sf.CG051[0] , sf.CG_thm11 = sf.CG051[1] , sf.CG_target11 = sf.CG051[2] , sf.CG_num11 = sf.CG051[3]"]
[eval exp="sf.CG_slot12 = sf.CG052[0] , sf.CG_thm12 = sf.CG052[1] , sf.CG_target12 = sf.CG052[2] , sf.CG_num12 = sf.CG052[3]"]
[eval exp="sf.CG_slot13 = sf.CG053[0] , sf.CG_thm13 = sf.CG053[1] , sf.CG_target13 = sf.CG053[2] , sf.CG_num13 = sf.CG053[3]"]
[eval exp="sf.CG_slot14 = sf.CG054[0] , sf.CG_thm14 = sf.CG054[1] , sf.CG_target14 = sf.CG054[2] , sf.CG_num14 = sf.CG054[3]"]
[eval exp="sf.CG_slot15 = sf.CG055[0] , sf.CG_thm15 = sf.CG055[1] , sf.CG_target15 = sf.CG055[2] , sf.CG_num15 = sf.CG055[3]"]
[eval exp="sf.CG_slot16 = sf.CG056[0] , sf.CG_thm16 = sf.CG056[1] , sf.CG_target16 = sf.CG056[2] , sf.CG_num16 = sf.CG056[3]"]
[eval exp="sf.CG_slot17 = sf.CG057[0] , sf.CG_thm17 = sf.CG057[1] , sf.CG_target17 = sf.CG057[2] , sf.CG_num17 = sf.CG057[3]"]
[eval exp="sf.CG_slot18 = sf.CG058[0] , sf.CG_thm18 = sf.CG058[1] , sf.CG_target18 = sf.CG058[2] , sf.CG_num18 = sf.CG058[3]"]
[eval exp="sf.CG_slot19 = sf.CG059[0] , sf.CG_thm19 = sf.CG059[1] , sf.CG_target19 = sf.CG059[2] , sf.CG_num19 = sf.CG059[3]"]
[eval exp="sf.CG_slot20 = sf.CG060[0] , sf.CG_thm20 = sf.CG060[1] , sf.CG_target20 = sf.CG060[2] , sf.CG_num20 = sf.CG060[3]"]
[return]
;---------------------------------------------
;---------------------------------------------
*CGとサムネ設定04
[eval exp="sf.CG_slot01 = sf.CG061[0] , sf.CG_thm01 = sf.CG061[1] , sf.CG_target01 = sf.CG061[2] , sf.CG_num01 = sf.CG061[3]"]
[eval exp="sf.CG_slot02 = sf.CG062[0] , sf.CG_thm02 = sf.CG062[1] , sf.CG_target02 = sf.CG062[2] , sf.CG_num02 = sf.CG062[3]"]
[eval exp="sf.CG_slot03 = sf.CG063[0] , sf.CG_thm03 = sf.CG063[1] , sf.CG_target03 = sf.CG063[2] , sf.CG_num03 = sf.CG063[3]"]
[eval exp="sf.CG_slot04 = sf.CG064[0] , sf.CG_thm04 = sf.CG064[1] , sf.CG_target04 = sf.CG064[2] , sf.CG_num04 = sf.CG064[3]"]
[eval exp="sf.CG_slot05 = sf.CG065[0] , sf.CG_thm05 = sf.CG065[1] , sf.CG_target05 = sf.CG065[2] , sf.CG_num05 = sf.CG065[3]"]
[eval exp="sf.CG_slot06 = sf.CG066[0] , sf.CG_thm06 = sf.CG066[1] , sf.CG_target06 = sf.CG066[2] , sf.CG_num06 = sf.CG066[3]"]
[eval exp="sf.CG_slot07 = sf.CG067[0] , sf.CG_thm07 = sf.CG067[1] , sf.CG_target07 = sf.CG067[2] , sf.CG_num07 = sf.CG067[3]"]
[eval exp="sf.CG_slot08 = sf.CG068[0] , sf.CG_thm08 = sf.CG068[1] , sf.CG_target08 = sf.CG068[2] , sf.CG_num08 = sf.CG068[3]"]
[eval exp="sf.CG_slot09 = sf.CG069[0] , sf.CG_thm09 = sf.CG069[1] , sf.CG_target09 = sf.CG069[2] , sf.CG_num09 = sf.CG069[3]"]
[eval exp="sf.CG_slot10 = sf.CG070[0] , sf.CG_thm10 = sf.CG070[1] , sf.CG_target10 = sf.CG070[2] , sf.CG_num10 = sf.CG070[3]"]
[eval exp="sf.CG_slot11 = sf.CG071[0] , sf.CG_thm11 = sf.CG071[1] , sf.CG_target11 = sf.CG071[2] , sf.CG_num11 = sf.CG071[3]"]
[eval exp="sf.CG_slot12 = sf.CG072[0] , sf.CG_thm12 = sf.CG072[1] , sf.CG_target12 = sf.CG072[2] , sf.CG_num12 = sf.CG072[3]"]
[eval exp="sf.CG_slot13 = sf.CG073[0] , sf.CG_thm13 = sf.CG073[1] , sf.CG_target13 = sf.CG073[2] , sf.CG_num13 = sf.CG073[3]"]
[eval exp="sf.CG_slot14 = sf.CG074[0] , sf.CG_thm14 = sf.CG074[1] , sf.CG_target14 = sf.CG074[2] , sf.CG_num14 = sf.CG074[3]"]
[eval exp="sf.CG_slot15 = sf.CG075[0] , sf.CG_thm15 = sf.CG075[1] , sf.CG_target15 = sf.CG075[2] , sf.CG_num15 = sf.CG075[3]"]
[eval exp="sf.CG_slot16 = sf.CG076[0] , sf.CG_thm16 = sf.CG076[1] , sf.CG_target16 = sf.CG076[2] , sf.CG_num16 = sf.CG076[3]"]
[eval exp="sf.CG_slot17 = sf.CG077[0] , sf.CG_thm17 = sf.CG077[1] , sf.CG_target17 = sf.CG077[2] , sf.CG_num17 = sf.CG077[3]"]
[eval exp="sf.CG_slot18 = sf.CG078[0] , sf.CG_thm18 = sf.CG078[1] , sf.CG_target18 = sf.CG078[2] , sf.CG_num18 = sf.CG078[3]"]
[eval exp="sf.CG_slot19 = sf.CG079[0] , sf.CG_thm19 = sf.CG079[1] , sf.CG_target19 = sf.CG079[2] , sf.CG_num19 = sf.CG079[3]"]
[eval exp="sf.CG_slot20 = sf.CG080[0] , sf.CG_thm20 = sf.CG080[1] , sf.CG_target20 = sf.CG080[2] , sf.CG_num20 = sf.CG080[3]"]
[return]
;---------------------------------------------
;---------------------------------------------
*CGとサムネ設定05
[eval exp="sf.CG_slot01 = sf.CG081[0] , sf.CG_thm01 = sf.CG081[1] , sf.CG_target01 = sf.CG081[2] , sf.CG_num01 = sf.CG081[3]"]
[eval exp="sf.CG_slot02 = sf.CG082[0] , sf.CG_thm02 = sf.CG082[1] , sf.CG_target02 = sf.CG082[2] , sf.CG_num02 = sf.CG082[3]"]
[eval exp="sf.CG_slot03 = sf.CG083[0] , sf.CG_thm03 = sf.CG083[1] , sf.CG_target03 = sf.CG083[2] , sf.CG_num03 = sf.CG083[3]"]
[eval exp="sf.CG_slot04 = sf.CG084[0] , sf.CG_thm04 = sf.CG084[1] , sf.CG_target04 = sf.CG084[2] , sf.CG_num04 = sf.CG084[3]"]
[eval exp="sf.CG_slot05 = sf.CG085[0] , sf.CG_thm05 = sf.CG085[1] , sf.CG_target05 = sf.CG085[2] , sf.CG_num05 = sf.CG085[3]"]
[eval exp="sf.CG_slot06 = sf.CG086[0] , sf.CG_thm06 = sf.CG086[1] , sf.CG_target06 = sf.CG086[2] , sf.CG_num06 = sf.CG086[3]"]
[eval exp="sf.CG_slot07 = sf.CG087[0] , sf.CG_thm07 = sf.CG087[1] , sf.CG_target07 = sf.CG087[2] , sf.CG_num07 = sf.CG087[3]"]
[eval exp="sf.CG_slot08 = sf.CG088[0] , sf.CG_thm08 = sf.CG088[1] , sf.CG_target08 = sf.CG088[2] , sf.CG_num08 = sf.CG088[3]"]
[eval exp="sf.CG_slot09 = sf.CG089[0] , sf.CG_thm09 = sf.CG089[1] , sf.CG_target09 = sf.CG089[2] , sf.CG_num09 = sf.CG089[3]"]
[eval exp="sf.CG_slot10 = sf.CG090[0] , sf.CG_thm10 = sf.CG090[1] , sf.CG_target10 = sf.CG090[2] , sf.CG_num10 = sf.CG090[3]"]
[eval exp="sf.CG_slot11 = sf.CG091[0] , sf.CG_thm11 = sf.CG091[1] , sf.CG_target11 = sf.CG091[2] , sf.CG_num11 = sf.CG091[3]"]
[eval exp="sf.CG_slot12 = sf.CG092[0] , sf.CG_thm12 = sf.CG092[1] , sf.CG_target12 = sf.CG092[2] , sf.CG_num12 = sf.CG092[3]"]
[eval exp="sf.CG_slot13 = sf.CG093[0] , sf.CG_thm13 = sf.CG093[1] , sf.CG_target13 = sf.CG093[2] , sf.CG_num13 = sf.CG093[3]"]
[eval exp="sf.CG_slot14 = sf.CG094[0] , sf.CG_thm14 = sf.CG094[1] , sf.CG_target14 = sf.CG094[2] , sf.CG_num14 = sf.CG094[3]"]
[eval exp="sf.CG_slot15 = sf.CG095[0] , sf.CG_thm15 = sf.CG095[1] , sf.CG_target15 = sf.CG095[2] , sf.CG_num15 = sf.CG095[3]"]
[eval exp="sf.CG_slot16 = sf.CG096[0] , sf.CG_thm16 = sf.CG096[1] , sf.CG_target16 = sf.CG096[2] , sf.CG_num16 = sf.CG096[3]"]
[eval exp="sf.CG_slot17 = sf.CG097[0] , sf.CG_thm17 = sf.CG097[1] , sf.CG_target17 = sf.CG097[2] , sf.CG_num17 = sf.CG097[3]"]
[eval exp="sf.CG_slot18 = sf.CG098[0] , sf.CG_thm18 = sf.CG098[1] , sf.CG_target18 = sf.CG098[2] , sf.CG_num18 = sf.CG098[3]"]
[eval exp="sf.CG_slot19 = sf.CG099[0] , sf.CG_thm19 = sf.CG099[1] , sf.CG_target19 = sf.CG099[2] , sf.CG_num19 = sf.CG099[3]"]
[eval exp="sf.CG_slot20 = sf.CG100[0] , sf.CG_thm20 = sf.CG100[1] , sf.CG_target20 = sf.CG100[2] , sf.CG_num20 = sf.CG100[3]"]
[return]
;---------------------------------------------
;---------------------------------------------
*CGとサムネ設定06
[eval exp="sf.CG_slot01 = sf.CG101[0] , sf.CG_thm01 = sf.CG101[1] , sf.CG_target01 = sf.CG101[2] , sf.CG_num01 = sf.CG101[3]"]
[eval exp="sf.CG_slot02 = sf.CG102[0] , sf.CG_thm02 = sf.CG102[1] , sf.CG_target02 = sf.CG102[2] , sf.CG_num02 = sf.CG102[3]"]
[eval exp="sf.CG_slot03 = sf.CG103[0] , sf.CG_thm03 = sf.CG103[1] , sf.CG_target03 = sf.CG103[2] , sf.CG_num03 = sf.CG103[3]"]
[eval exp="sf.CG_slot04 = sf.CG104[0] , sf.CG_thm04 = sf.CG104[1] , sf.CG_target04 = sf.CG104[2] , sf.CG_num04 = sf.CG104[3]"]
[eval exp="sf.CG_slot05 = sf.CG105[0] , sf.CG_thm05 = sf.CG105[1] , sf.CG_target05 = sf.CG105[2] , sf.CG_num05 = sf.CG105[3]"]
[eval exp="sf.CG_slot06 = sf.CG106[0] , sf.CG_thm06 = sf.CG106[1] , sf.CG_target06 = sf.CG106[2] , sf.CG_num06 = sf.CG106[3]"]
[eval exp="sf.CG_slot07 = sf.CG107[0] , sf.CG_thm07 = sf.CG107[1] , sf.CG_target07 = sf.CG107[2] , sf.CG_num07 = sf.CG107[3]"]
[eval exp="sf.CG_slot08 = sf.CG108[0] , sf.CG_thm08 = sf.CG108[1] , sf.CG_target08 = sf.CG108[2] , sf.CG_num08 = sf.CG108[3]"]
[eval exp="sf.CG_slot09 = sf.CG109[0] , sf.CG_thm09 = sf.CG109[1] , sf.CG_target09 = sf.CG109[2] , sf.CG_num09 = sf.CG109[3]"]
[eval exp="sf.CG_slot10 = sf.CG110[0] , sf.CG_thm10 = sf.CG110[1] , sf.CG_target10 = sf.CG110[2] , sf.CG_num10 = sf.CG110[3]"]
[eval exp="sf.CG_slot11 = sf.CG111[0] , sf.CG_thm11 = sf.CG111[1] , sf.CG_target11 = sf.CG111[2] , sf.CG_num11 = sf.CG111[3]"]
[eval exp="sf.CG_slot12 = sf.CG112[0] , sf.CG_thm12 = sf.CG112[1] , sf.CG_target12 = sf.CG112[2] , sf.CG_num12 = sf.CG112[3]"]
[eval exp="sf.CG_slot13 = sf.CG113[0] , sf.CG_thm13 = sf.CG113[1] , sf.CG_target13 = sf.CG113[2] , sf.CG_num13 = sf.CG113[3]"]
[eval exp="sf.CG_slot14 = sf.CG114[0] , sf.CG_thm14 = sf.CG114[1] , sf.CG_target14 = sf.CG114[2] , sf.CG_num14 = sf.CG114[3]"]
[eval exp="sf.CG_slot15 = sf.CG115[0] , sf.CG_thm15 = sf.CG115[1] , sf.CG_target15 = sf.CG115[2] , sf.CG_num15 = sf.CG115[3]"]
[eval exp="sf.CG_slot16 = sf.CG116[0] , sf.CG_thm16 = sf.CG116[1] , sf.CG_target16 = sf.CG116[2] , sf.CG_num16 = sf.CG116[3]"]
[eval exp="sf.CG_slot17 = sf.CG117[0] , sf.CG_thm17 = sf.CG117[1] , sf.CG_target17 = sf.CG117[2] , sf.CG_num17 = sf.CG117[3]"]
[eval exp="sf.CG_slot18 = sf.CG118[0] , sf.CG_thm18 = sf.CG118[1] , sf.CG_target18 = sf.CG118[2] , sf.CG_num18 = sf.CG118[3]"]
[eval exp="sf.CG_slot19 = sf.CG119[0] , sf.CG_thm19 = sf.CG119[1] , sf.CG_target19 = sf.CG119[2] , sf.CG_num19 = sf.CG119[3]"]
[eval exp="sf.CG_slot20 = sf.CG120[0] , sf.CG_thm20 = sf.CG120[1] , sf.CG_target20 = sf.CG120[2] , sf.CG_num20 = sf.CG120[3]"]
[return]
;---------------------------------------------
;---------------------------------------------
﻿; マウス右クリックされたときの動作を元に戻す

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target=*CGMODEback storage="b_cgmode_view.ks" enabled=true]

;m:[waitclick]このタグ使うと右クリで抜けられないので、イベント表示中のウェイトは[p]タグする。
;グリフ画面外に……行かないな。メッセージレイヤか
;[glyph left=10000 top=10000]
;これvisible=trueじゃなくていいじゃんな。むしろウィンドウの模様が見えてしまう
[current layer=message0][layopt layer=message0 left=0 top=0 visible=false]

;ブラックアウト
[image storage="effect_black" layer=0 page=fore visible=false left=0 top=0]
[image storage="effect_black" layer=0 page=back visible=true left=0 top=0]
[trans time=150 method=crossfade]
[wt]

[eval exp="tf.cgmodestart = 1"]

;b_cgmode_init.ksで定義したラベルに飛ばす 2017/12/14
;なんかb_cgmode.ksのボタンに書いて置けばいいんじゃないかって気もするが、眠くてよくわからないので
;一応tf.CG_clickで判定する。
[if    exp="tf.CG_click ==  1"][eval exp="tf.num = sf.CG_num01"][jump target="&sf.CG_target01"]
[elsif exp="tf.CG_click ==  2"][eval exp="tf.num = sf.CG_num02"][jump target="&sf.CG_target02"]
[elsif exp="tf.CG_click ==  3"][eval exp="tf.num = sf.CG_num03"][jump target="&sf.CG_target03"]
[elsif exp="tf.CG_click ==  4"][eval exp="tf.num = sf.CG_num04"][jump target="&sf.CG_target04"]
[elsif exp="tf.CG_click ==  5"][eval exp="tf.num = sf.CG_num05"][jump target="&sf.CG_target05"]
[elsif exp="tf.CG_click ==  6"][eval exp="tf.num = sf.CG_num06"][jump target="&sf.CG_target06"]
[elsif exp="tf.CG_click ==  7"][eval exp="tf.num = sf.CG_num07"][jump target="&sf.CG_target07"]
[elsif exp="tf.CG_click ==  8"][eval exp="tf.num = sf.CG_num08"][jump target="&sf.CG_target08"]
[elsif exp="tf.CG_click ==  9"][eval exp="tf.num = sf.CG_num09"][jump target="&sf.CG_target09"]
[elsif exp="tf.CG_click == 10"][eval exp="tf.num = sf.CG_num10"][jump target="&sf.CG_target10"]
[elsif exp="tf.CG_click == 11"][eval exp="tf.num = sf.CG_num11"][jump target="&sf.CG_target11"]
[elsif exp="tf.CG_click == 12"][eval exp="tf.num = sf.CG_num12"][jump target="&sf.CG_target12"]
[elsif exp="tf.CG_click == 13"][eval exp="tf.num = sf.CG_num13"][jump target="&sf.CG_target13"]
[elsif exp="tf.CG_click == 14"][eval exp="tf.num = sf.CG_num14"][jump target="&sf.CG_target14"]
[elsif exp="tf.CG_click == 15"][eval exp="tf.num = sf.CG_num15"][jump target="&sf.CG_target15"]
[elsif exp="tf.CG_click == 16"][eval exp="tf.num = sf.CG_num16"][jump target="&sf.CG_target16"]
[elsif exp="tf.CG_click == 17"][eval exp="tf.num = sf.CG_num17"][jump target="&sf.CG_target17"]
[elsif exp="tf.CG_click == 18"][eval exp="tf.num = sf.CG_num18"][jump target="&sf.CG_target18"]
[elsif exp="tf.CG_click == 19"][eval exp="tf.num = sf.CG_num19"][jump target="&sf.CG_target19"]
[elsif exp="tf.CG_click == 20"][eval exp="tf.num = sf.CG_num20"][jump target="&sf.CG_target20"]
[endif]

;[if    exp="tf.CG_click ==  1"][jump target=*CG01]
;[elsif exp="tf.CG_click ==  2"][jump target=*CG02]
;[elsif exp="tf.CG_click ==  3"][jump target=*CG03]
;[elsif exp="tf.CG_click ==  4"][jump target=*CG04]
;[elsif exp="tf.CG_click ==  5"][jump target=*CG05]
;[elsif exp="tf.CG_click ==  6"][jump target=*CG06]
;[elsif exp="tf.CG_click ==  7"][jump target=*CG07]
;[elsif exp="tf.CG_click ==  8"][jump target=*CG08]
;[elsif exp="tf.CG_click ==  9"][jump target=*CG09]
;[elsif exp="tf.CG_click == 10"][jump target=*CG10]
;[elsif exp="tf.CG_click == 11"][jump target=*CG11]
;[elsif exp="tf.CG_click == 12"][jump target=*CG12]
;[elsif exp="tf.CG_click == 13"][jump target=*CG13]
;[elsif exp="tf.CG_click == 14"][jump target=*CG14]
;[elsif exp="tf.CG_click == 15"][jump target=*CG15]
;[elsif exp="tf.CG_click == 16"][jump target=*CG16]
;[elsif exp="tf.CG_click == 17"][jump target=*CG17]
;[elsif exp="tf.CG_click == 18"][jump target=*CG18]
;[elsif exp="tf.CG_click == 19"][jump target=*CG19]
;[elsif exp="tf.CG_click == 20"][jump target=*CG20]
;[endif]

;b_cgmode_view_ku.ks

;------------------------------------------------
*movieview04
[movie2 storage="CG04_Pose01" mpeg loop]
[movie2 storage="CG04_Pose02" mpeg loop]
[movie2 storage="CG04_Pose03" mpeg loop]
[movie2 storage="CG04_Pose04" mpeg loop]
[movie2 storage="CG04_Pose05" mpeg loop]

;これCGから直でくる処理か
;	;スキップしてたらとんじゃうからスキップの解除
;	;[cancelskip]
;	;直前の差分表示がレイヤ1なのでその上にでムービー
;	[freeimage layer=2 page=fore][freeimage layer=2 page=back]
;	[movieH storage="CG04_Pose01" layer=2 loop]
;	;[wv canskip=true]
;	;waitclickだから右クリは効かないんだな。このままでいいか
;	[waitclick]
;	[movieH storage="CG04_Pose02" layer=2 loop][waitclick]
;	[movieH storage="CG04_Pose03" layer=2 loop][waitclick]
;	[movieH storage="CG04_Pose04" layer=2 loop][waitclick]
;	[movieH storage="CG04_Pose05" layer=2 loop][waitclick]
;	[stop_movieH]

[jump target=*CGMODEback]
;------------------------------------------------
*movieview07
[movie2 storage="CG07_Pose01" mpeg loop]
[movie2 storage="CG07_Pose02" mpeg loop]
[movie2 storage="CG07_Pose03" mpeg loop]
[movie2 storage="CG07_Pose04" mpeg loop]



[jump target=*CGMODEback]
;------------------------------------------------
*movieview14
[movie2 storage="CG14_pose01" mpeg loop]
[movie2 storage="CG14_pose02" mpeg loop]
[movie2 storage="CG14_pose03" mpeg loop]
[movie2 storage="CG14_pose04" mpeg loop]
[jump target=*CGMODEback]
;------------------------------------------------
*movieview20
[movie2 storage="CG20_pose01" mpeg loop]
[movie2 storage="CG20_pose02" mpeg loop]
[movie2 storage="CG20_pose03" mpeg loop]
[jump target=*CGMODEback]
;------------------------------------------------
;------------------------------------------------
*movieview001
;なんかmovieマクロだと再生しないから本編で使ってるマクロ使う
[movie2 storage="VA_OP"]
;[movie storage="&sf.CG053[3]" loop]
;[movie storage="&sf.CG053[6]" loop  cond="sf.CG053[6]  != void"]
;[movie storage="&sf.CG053[7]" loop  cond="sf.CG053[7]  != void"]
;[movie storage="&sf.CG053[8]" loop  cond="sf.CG053[8]  != void"]
;[movie storage="&sf.CG053[9]" loop  cond="sf.CG053[9]  != void"]
;ウェイトおくと暗転でとまっちゃうしなぁ
;[waitclick  cond="sf.CG053[2]  != void"]
;[waitclick  cond="sf.CG053[3]  != void"]
;[waitclick  cond="sf.CG053[4]  != void"]
;[waitclick  cond="sf.CG053[5]  != void"]
[jump target=*CGMODEback]
;------------------------------------------------
*movieview002
[movie2 storage="VA_Endroll"]
;[movie storage="&sf.CG054[5]" loop  cond="sf.CG054[5]"]
;ウェイトおくと暗転でとまっちゃうしなぁ
;[waitclick  cond="sf.CG053[2]  != void"]
;[waitclick  cond="sf.CG053[3]  != void"]
;[waitclick  cond="sf.CG053[4]  != void"]
;[waitclick  cond="sf.CG053[5]  != void"]
[jump target=*CGMODEback]
;------------------------------------------------
*movieview003
[movie_hensin0 stopse storage="&sf.CG054[3]"]
;[movie storage="&sf.CG055[5]" loop  cond="sf.CG055[5]  != void"]
;ウェイトおくと暗転でとまっちゃうしなぁ
;[waitclick  cond="sf.CG053[2]  != void"]
;[waitclick  cond="sf.CG053[3]  != void"]
;[waitclick  cond="sf.CG053[4]  != void"]
;[waitclick  cond="sf.CG053[5]  != void"]
[jump target=*CGMODEback]
;------------------------------------------------
;------------------------------------------------
*movieview006
;なんかmovieマクロだと再生しないから本編で使ってるマクロ使う
;mm これOPだけど大丈夫かな　音量的に普通のじゃないとだめか？
[movie storage="op"]

;[movie_hensin0 stopse storage="&sf.CG086[3]"]
;[movie_hensin0 stopse storage="&sf.CG081[4]"]
;[movie storage="&sf.CG053[3]" loop]
;[movie storage="&sf.CG053[6]" loop  cond="sf.CG053[6]  != void"]
;[movie storage="&sf.CG053[7]" loop  cond="sf.CG053[7]  != void"]
;[movie storage="&sf.CG053[8]" loop  cond="sf.CG053[8]  != void"]
;[movie storage="&sf.CG053[9]" loop  cond="sf.CG053[9]  != void"]
;ウェイトおくと暗転でとまっちゃうしなぁ
;[waitclick  cond="sf.CG053[2]  != void"]
;[waitclick  cond="sf.CG053[3]  != void"]
;[waitclick  cond="sf.CG053[4]  != void"]
;[waitclick  cond="sf.CG053[5]  != void"]
[jump target=*CGMODEback]

;------------------------------------------------
*std
[eval exp="tf.page_std = 1"]
[call storage="b_cgmode_view_std.ks"]
[jump target=*CGMODEback]
;------------------------------------------------
*std2
;邪淫は共通か
[eval exp="tf.page_std = 2"]
[call storage="b_cgmode_view_std.ks"]
[jump target=*CGMODEback]

;------------------------------------------------
*mv
;大きいの
;最大長さ
[eval exp="sf.oversize_gra_w = 1280"]
;下に黒でるから実際より短くする
;[eval exp="sf.oversize_gra_h = 1796"]
;[eval exp="sf.oversize_gra_h = 1857"]
[eval exp="sf.oversize_gra_h = 1796 - 6"]




;voidの時は0、それ以外は変数を維持
[if exp="tf.now_pos_ev   == void"][eval exp="tf.now_pos_ev = 0"][endif]
[if exp="tf.now_pos_ev_x == void"][eval exp="tf.now_pos_ev_x = 0"][endif]
[if exp="tf.now_pos_ev_y == void"][eval exp="tf.now_pos_ev_y = 0"][endif]
;横長か縦長か
[eval exp="tf.overXY = 'H'"]

;1回毎の移動幅 画像の最大値じゃなくて最大移動幅で割りきれる値
;[eval exp="tf.add_pos_x = 16"]
;[eval exp="tf.add_pos_y = 12"]
;遅いけど割り切れないから10で
[eval exp="tf.add_pos_x = 10"]
;[eval exp="tf.add_pos_y = 20"]
;1840-720 1120
[eval exp="tf.add_pos_y = 16"]

;長尺説明表示用フラグ
[eval exp="tf.os_1st = 1"]

;[if exp="sf.CGN01_LS"][cgview storage_cg="CGN01_LS"][endif]
;[cgview_os  storage="ALT_ev99_01" x="&tf.now_pos_x" y="&tf.now_pos_y"][call storage="b_cgmode_view_oversize.ks"]
;毎回微妙に書き換えるの面倒　MV用の変数に入れ替えておくか
[cgview_os  storage="&sf.CG_MV[3]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y"][call storage="b_cgmode_view_oversize.ks"]

[eval exp="tf.now_pos_ev = void"]
[eval exp="tf.now_pos_ev_x = void"]
[eval exp="tf.now_pos_ev_y = void"]

;オーバーサイズフラグリセット
[eval exp="sf.oversize_gra_w = void"]
[eval exp="sf.oversize_gra_h = void"]
[eval exp="tf.overXY = void"]

[current layer=message0][layopt layer=message0 left=0 top=0 visible=false]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target=*CGMODEback storage="b_cgmode_view.ks" enabled=true]

[cgview storage_cg="&sf.CG_MV[4]"]

[jump target=*CGMODEback]
;------------------------------------------------
*mv2
;大きいの
;最大長さ
[eval exp="sf.oversize_gra_w = 1280"]
;下に黒でるから実際より短くする
;[eval exp="sf.oversize_gra_h = 1790"]
[eval exp="sf.oversize_gra_h = 1780"]



;voidの時は0、それ以外は変数を維持
[if exp="tf.now_pos_ev == void"][eval exp="tf.now_pos_ev = 0"][endif]
[if exp="tf.now_pos_ev_x == void"][eval exp="tf.now_pos_ev_x = 0"][endif]
[if exp="tf.now_pos_ev_y == void"][eval exp="tf.now_pos_ev_y = 0"][endif]
;横長か縦長か
[eval exp="tf.overXY = 'H'"]

;1回毎の移動幅 画像の最大値じゃなくて最大移動幅で割りきれる値
;[eval exp="tf.add_pos_x = 16"]
;[eval exp="tf.add_pos_y = 12"]
[eval exp="tf.add_pos_y = 20"]


;[if exp="sf.CGN01_LS"][cgview storage_cg="CGN01_LS"][endif]
;[cgview_os  storage="ALT_ev99_01" x="&tf.now_pos_x" y="&tf.now_pos_y"][call storage="b_cgmode_view_oversize.ks"]
[cgview_os  storage="&sf.addgameID + 'ev99a'" x=0 y="&tf.now_pos_ev_y"][call storage="b_cgmode_view_oversize.ks"]

[eval exp="tf.now_pos_ev = void"]
[eval exp="tf.now_pos_ev_x = void"]
[eval exp="tf.now_pos_ev_y = void"]

;オーバーサイズフラグリセット
[eval exp="sf.oversize_gra_w = void"]
[eval exp="sf.oversize_gra_h = void"]
[eval exp="tf.overXY = void"]

[current layer=message0][layopt layer=message0 left=0 top=0 visible=false]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target=*CGMODEback storage="b_cgmode_view.ks" enabled=true]

[cgview storage_cg="&sf.addgameID + 'ev99b'"]

[jump target=*CGMODEback]
;------------------------------------------------
*cgview000_差分条件無し
;全部共通でいけないか？
;                                 ↓これは差分の有無を問うてるだけで、差分ごとに開放条件つけるならさらに条件追加必要　 && sf.[sf.CG001[2]] == 1かな
;[cgview storage_cg="&sf.CG001[2]"  cond="sf.CG001[2]  != void"]

[cgview storage_cg="&sf['CG' + tf.num][4]"  cond="sf['CG' + tf.num][4]  != void"]
[cgview storage_cg="&sf['CG' + tf.num][5]"  cond="sf['CG' + tf.num][5]  != void"]
[cgview storage_cg="&sf['CG' + tf.num][6]"  cond="sf['CG' + tf.num][6]  != void"]
[cgview storage_cg="&sf['CG' + tf.num][7]"  cond="sf['CG' + tf.num][7]  != void"]
[cgview storage_cg="&sf['CG' + tf.num][8]"  cond="sf['CG' + tf.num][8]  != void"]
[cgview storage_cg="&sf['CG' + tf.num][9]"  cond="sf['CG' + tf.num][9]  != void"]
[cgview storage_cg="&sf['CG' + tf.num][10]" cond="sf['CG' + tf.num][10] != void"]
[cgview storage_cg="&sf['CG' + tf.num][11]" cond="sf['CG' + tf.num][11] != void"]
[cgview storage_cg="&sf['CG' + tf.num][12]" cond="sf['CG' + tf.num][12] != void"]
[cgview storage_cg="&sf['CG' + tf.num][13]" cond="sf['CG' + tf.num][13] != void"]
[cgview storage_cg="&sf['CG' + tf.num][14]" cond="sf['CG' + tf.num][14] != void"]
[cgview storage_cg="&sf['CG' + tf.num][15]" cond="sf['CG' + tf.num][15] != void"]
[cgview storage_cg="&sf['CG' + tf.num][16]" cond="sf['CG' + tf.num][16] != void"]
[cgview storage_cg="&sf['CG' + tf.num][17]" cond="sf['CG' + tf.num][17] != void"]
[cgview storage_cg="&sf['CG' + tf.num][18]" cond="sf['CG' + tf.num][18] != void"]
[cgview storage_cg="&sf['CG' + tf.num][19]" cond="sf['CG' + tf.num][19] != void"]
[cgview storage_cg="&sf['CG' + tf.num][20]" cond="sf['CG' + tf.num][20] != void"]
[cgview storage_cg="&sf['CG' + tf.num][21]" cond="sf['CG' + tf.num][21] != void"]
[cgview storage_cg="&sf['CG' + tf.num][22]" cond="sf['CG' + tf.num][22] != void"]
[cgview storage_cg="&sf['CG' + tf.num][23]" cond="sf['CG' + tf.num][23] != void"]
[cgview storage_cg="&sf['CG' + tf.num][24]" cond="sf['CG' + tf.num][24] != void"]
[cgview storage_cg="&sf['CG' + tf.num][25]" cond="sf['CG' + tf.num][25] != void"]
[cgview storage_cg="&sf['CG' + tf.num][26]" cond="sf['CG' + tf.num][26] != void"]
[cgview storage_cg="&sf['CG' + tf.num][27]" cond="sf['CG' + tf.num][27] != void"]
[cgview storage_cg="&sf['CG' + tf.num][28]" cond="sf['CG' + tf.num][28] != void"]
[cgview storage_cg="&sf['CG' + tf.num][29]" cond="sf['CG' + tf.num][29] != void"]
[cgview storage_cg="&sf['CG' + tf.num][30]" cond="sf['CG' + tf.num][30] != void"]
[cgview storage_cg="&sf['CG' + tf.num][31]" cond="sf['CG' + tf.num][31] != void"]
[cgview storage_cg="&sf['CG' + tf.num][32]" cond="sf['CG' + tf.num][32] != void"]
[cgview storage_cg="&sf['CG' + tf.num][33]" cond="sf['CG' + tf.num][33] != void"]
[cgview storage_cg="&sf['CG' + tf.num][34]" cond="sf['CG' + tf.num][34] != void"]
[cgview storage_cg="&sf['CG' + tf.num][35]" cond="sf['CG' + tf.num][35] != void"]
[cgview storage_cg="&sf['CG' + tf.num][36]" cond="sf['CG' + tf.num][36] != void"]
[cgview storage_cg="&sf['CG' + tf.num][37]" cond="sf['CG' + tf.num][37] != void"]
[cgview storage_cg="&sf['CG' + tf.num][38]" cond="sf['CG' + tf.num][38] != void"]
[cgview storage_cg="&sf['CG' + tf.num][39]" cond="sf['CG' + tf.num][39] != void"]
[cgview storage_cg="&sf['CG' + tf.num][40]" cond="sf['CG' + tf.num][40] != void"]
[cgview storage_cg="&sf['CG' + tf.num][41]" cond="sf['CG' + tf.num][41] != void"]
[cgview storage_cg="&sf['CG' + tf.num][42]" cond="sf['CG' + tf.num][42] != void"]
[cgview storage_cg="&sf['CG' + tf.num][43]" cond="sf['CG' + tf.num][43] != void"]
[cgview storage_cg="&sf['CG' + tf.num][44]" cond="sf['CG' + tf.num][44] != void"]
[cgview storage_cg="&sf['CG' + tf.num][45]" cond="sf['CG' + tf.num][45] != void"]
[cgview storage_cg="&sf['CG' + tf.num][46]" cond="sf['CG' + tf.num][46] != void"]
[cgview storage_cg="&sf['CG' + tf.num][47]" cond="sf['CG' + tf.num][47] != void"]
[cgview storage_cg="&sf['CG' + tf.num][48]" cond="sf['CG' + tf.num][48] != void"]
[cgview storage_cg="&sf['CG' + tf.num][49]" cond="sf['CG' + tf.num][49] != void"]
[cgview storage_cg="&sf['CG' + tf.num][50]" cond="sf['CG' + tf.num][50] != void"]
[cgview storage_cg="&sf['CG' + tf.num][51]" cond="sf['CG' + tf.num][51] != void"]
[cgview storage_cg="&sf['CG' + tf.num][52]" cond="sf['CG' + tf.num][52] != void"]
[cgview storage_cg="&sf['CG' + tf.num][53]" cond="sf['CG' + tf.num][53] != void"]
[cgview storage_cg="&sf['CG' + tf.num][54]" cond="sf['CG' + tf.num][54] != void"]

[jump target=*CGMODEback]
;------------------------------------------------
;------------------------------------------------
*cgview000_差分条件有り
;全部共通でいけないか？
;                                 ↓これは差分の有無を問うてるだけで、差分ごとに開放条件つけるならさらに条件追加必要　 && sf.[sf.CG001[2]] == 1かな
;[cgview storage_cg="&sf.CG001[2]"  cond="sf.CG001[2]  != void"]

;tf.numはこのページの冒頭で定義

[cgview storage_cg="&sf['CG' + tf.num][4]"  cond="sf['CG' + tf.num][4]  != void && sf[sf['CG' + tf.num][4]]  == 1"]
[cgview storage_cg="&sf['CG' + tf.num][5]"  cond="sf['CG' + tf.num][5]  != void && sf[sf['CG' + tf.num][5]]  == 1"]
[cgview storage_cg="&sf['CG' + tf.num][6]"  cond="sf['CG' + tf.num][6]  != void && sf[sf['CG' + tf.num][6]]  == 1"]
[cgview storage_cg="&sf['CG' + tf.num][7]"  cond="sf['CG' + tf.num][7]  != void && sf[sf['CG' + tf.num][7]]  == 1"]
[cgview storage_cg="&sf['CG' + tf.num][8]"  cond="sf['CG' + tf.num][8]  != void && sf[sf['CG' + tf.num][8]]  == 1"]
[cgview storage_cg="&sf['CG' + tf.num][9]"  cond="sf['CG' + tf.num][9]  != void && sf[sf['CG' + tf.num][9]]  == 1"]
[cgview storage_cg="&sf['CG' + tf.num][10]" cond="sf['CG' + tf.num][10] != void && sf[sf['CG' + tf.num][10]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][11]" cond="sf['CG' + tf.num][11] != void && sf[sf['CG' + tf.num][11]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][12]" cond="sf['CG' + tf.num][12] != void && sf[sf['CG' + tf.num][12]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][13]" cond="sf['CG' + tf.num][13] != void && sf[sf['CG' + tf.num][13]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][14]" cond="sf['CG' + tf.num][14] != void && sf[sf['CG' + tf.num][14]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][15]" cond="sf['CG' + tf.num][15] != void && sf[sf['CG' + tf.num][15]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][16]" cond="sf['CG' + tf.num][16] != void && sf[sf['CG' + tf.num][16]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][17]" cond="sf['CG' + tf.num][17] != void && sf[sf['CG' + tf.num][17]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][18]" cond="sf['CG' + tf.num][18] != void && sf[sf['CG' + tf.num][18]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][19]" cond="sf['CG' + tf.num][19] != void && sf[sf['CG' + tf.num][19]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][20]" cond="sf['CG' + tf.num][20] != void && sf[sf['CG' + tf.num][20]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][21]" cond="sf['CG' + tf.num][21] != void && sf[sf['CG' + tf.num][21]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][22]" cond="sf['CG' + tf.num][22] != void && sf[sf['CG' + tf.num][22]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][23]" cond="sf['CG' + tf.num][23] != void && sf[sf['CG' + tf.num][23]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][24]" cond="sf['CG' + tf.num][24] != void && sf[sf['CG' + tf.num][24]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][25]" cond="sf['CG' + tf.num][25] != void && sf[sf['CG' + tf.num][25]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][26]" cond="sf['CG' + tf.num][26] != void && sf[sf['CG' + tf.num][26]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][27]" cond="sf['CG' + tf.num][27] != void && sf[sf['CG' + tf.num][27]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][28]" cond="sf['CG' + tf.num][28] != void && sf[sf['CG' + tf.num][28]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][29]" cond="sf['CG' + tf.num][29] != void && sf[sf['CG' + tf.num][29]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][30]" cond="sf['CG' + tf.num][30] != void && sf[sf['CG' + tf.num][30]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][31]" cond="sf['CG' + tf.num][31] != void && sf[sf['CG' + tf.num][31]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][32]" cond="sf['CG' + tf.num][32] != void && sf[sf['CG' + tf.num][32]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][33]" cond="sf['CG' + tf.num][33] != void && sf[sf['CG' + tf.num][33]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][34]" cond="sf['CG' + tf.num][34] != void && sf[sf['CG' + tf.num][34]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][35]" cond="sf['CG' + tf.num][35] != void && sf[sf['CG' + tf.num][35]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][36]" cond="sf['CG' + tf.num][36] != void && sf[sf['CG' + tf.num][36]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][37]" cond="sf['CG' + tf.num][37] != void && sf[sf['CG' + tf.num][37]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][38]" cond="sf['CG' + tf.num][38] != void && sf[sf['CG' + tf.num][38]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][39]" cond="sf['CG' + tf.num][39] != void && sf[sf['CG' + tf.num][39]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][40]" cond="sf['CG' + tf.num][40] != void && sf[sf['CG' + tf.num][40]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][41]" cond="sf['CG' + tf.num][41] != void && sf[sf['CG' + tf.num][41]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][42]" cond="sf['CG' + tf.num][42] != void && sf[sf['CG' + tf.num][42]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][43]" cond="sf['CG' + tf.num][43] != void && sf[sf['CG' + tf.num][43]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][44]" cond="sf['CG' + tf.num][44] != void && sf[sf['CG' + tf.num][44]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][45]" cond="sf['CG' + tf.num][45] != void && sf[sf['CG' + tf.num][45]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][46]" cond="sf['CG' + tf.num][46] != void && sf[sf['CG' + tf.num][46]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][47]" cond="sf['CG' + tf.num][47] != void && sf[sf['CG' + tf.num][47]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][48]" cond="sf['CG' + tf.num][48] != void && sf[sf['CG' + tf.num][48]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][49]" cond="sf['CG' + tf.num][49] != void && sf[sf['CG' + tf.num][49]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][50]" cond="sf['CG' + tf.num][50] != void && sf[sf['CG' + tf.num][50]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][51]" cond="sf['CG' + tf.num][51] != void && sf[sf['CG' + tf.num][51]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][52]" cond="sf['CG' + tf.num][52] != void && sf[sf['CG' + tf.num][52]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][53]" cond="sf['CG' + tf.num][53] != void && sf[sf['CG' + tf.num][53]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][54]" cond="sf['CG' + tf.num][54] != void && sf[sf['CG' + tf.num][54]] == 1"]
;10枚追加
[cgview storage_cg="&sf['CG' + tf.num][55]" cond="sf['CG' + tf.num][55] != void && sf[sf['CG' + tf.num][55]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][56]" cond="sf['CG' + tf.num][56] != void && sf[sf['CG' + tf.num][56]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][57]" cond="sf['CG' + tf.num][57] != void && sf[sf['CG' + tf.num][57]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][58]" cond="sf['CG' + tf.num][58] != void && sf[sf['CG' + tf.num][58]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][59]" cond="sf['CG' + tf.num][59] != void && sf[sf['CG' + tf.num][59]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][60]" cond="sf['CG' + tf.num][60] != void && sf[sf['CG' + tf.num][60]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][61]" cond="sf['CG' + tf.num][61] != void && sf[sf['CG' + tf.num][61]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][62]" cond="sf['CG' + tf.num][62] != void && sf[sf['CG' + tf.num][62]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][63]" cond="sf['CG' + tf.num][63] != void && sf[sf['CG' + tf.num][63]] == 1"]
[cgview storage_cg="&sf['CG' + tf.num][64]" cond="sf['CG' + tf.num][64] != void && sf[sf['CG' + tf.num][64]] == 1"]

;	
;	[if exp="sf['CG' + tf.num][1] == 'CG04' || sf['CG' + tf.num][1] == 'CG07' || sf['CG' + tf.num][1] == 'CG14' || sf['CG' + tf.num][1] == 'CG20'"]
;	[debug_info  exp="System.inform('ムービー再生あるやつ未作業\n登録忘れないように')"]
;	[endif]


[jump target=*CGMODEback]
;------------------------------------------------
;------------------------------------------------
*cgview000_osw_差分条件有り
;最大長さ 全部統一されてるといいなー
[eval exp="sf.oversize_gra_w = 2560 , sf.oversize_gra_h = 720"]
[eval exp="tf.now_pos_ev_x = 0 , tf.now_pos_ev_y = 0"]

;voidの時は0、それ以外は変数を維持
[if exp="tf.now_pos_ev == void"][eval exp="tf.now_pos_ev = 0"][endif]
[if exp="tf.now_pos_ev_x == void"][eval exp="tf.now_pos_ev_x = 0"][endif]
[if exp="tf.now_pos_ev_y == void"][eval exp="tf.now_pos_ev_y = 0"][endif]
;横長か縦長か
[eval exp="tf.overXY = 'W'"]
;1回毎の移動幅 画像の最大値じゃなくて最大移動幅で割りきれる値
[eval exp="tf.add_pos_x = 10"]
[eval exp="tf.add_pos_y = 20"]
[jump target=*cgview000_os_差分条件有り]
;------------------------------------------------
*cgview000_osh_差分条件有り
;最大長さ 全部統一されてるといいなー
;[eval exp="sf.oversize_gra_w = 1280 , sf.oversize_gra_h = 1440"]
[eval exp="sf.oversize_gra_w = 1280 , sf.oversize_gra_h = 2160"]
[eval exp="tf.now_pos_ev_x = 0 , tf.now_pos_ev_y = 0"]

;voidの時は0、それ以外は変数を維持
[if exp="tf.now_pos_ev == void"][eval exp="tf.now_pos_ev = 0"][endif]
[if exp="tf.now_pos_ev_x == void"][eval exp="tf.now_pos_ev_x = 0"][endif]
[if exp="tf.now_pos_ev_y == void"][eval exp="tf.now_pos_ev_y = 0"][endif]
;横長か縦長か
[eval exp="tf.overXY = 'H'"]
;1回毎の移動幅 画像の最大値じゃなくて最大移動幅で割りきれる値
[eval exp="tf.add_pos_x = 10"]
[eval exp="tf.add_pos_y = 20"]
[jump target=*cgview000_os_差分条件有り]

;------------------------------------------------
*cgview000_os_差分条件有り

;長尺説明表示用フラグ
[eval exp="tf.os_1st = 1"]

;                                 ↓これは差分の有無を問うてるだけで、差分ごとに開放条件つけるならさらに条件追加必要　 && sf.[sf.CG001[2]] == 1かな
;[cgview storage_cg="&sf.CG001[2]"  cond="sf.CG001[2]  != void"]
[cgview_os storage="&sf['CG' + tf.num][4]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][4]  != void && sf[sf['CG' + tf.num][4]]  == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][4]   != void && sf[sf['CG' + tf.num][4]]  == 1"]
[cgview_os storage="&sf['CG' + tf.num][5]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][5]  != void && sf[sf['CG' + tf.num][5]]  == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][5]   != void && sf[sf['CG' + tf.num][5]]  == 1"]
[cgview_os storage="&sf['CG' + tf.num][6]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][6]  != void && sf[sf['CG' + tf.num][6]]  == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][6]   != void && sf[sf['CG' + tf.num][6]]  == 1"]
[cgview_os storage="&sf['CG' + tf.num][7]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][7]  != void && sf[sf['CG' + tf.num][7]]  == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][7]   != void && sf[sf['CG' + tf.num][7]]  == 1"]
[cgview_os storage="&sf['CG' + tf.num][8]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][8]  != void && sf[sf['CG' + tf.num][8]]  == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][8]   != void && sf[sf['CG' + tf.num][8]]  == 1"]
[cgview_os storage="&sf['CG' + tf.num][9]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][9]  != void && sf[sf['CG' + tf.num][9]]  == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][9]   != void && sf[sf['CG' + tf.num][9]]  == 1"]
[cgview_os storage="&sf['CG' + tf.num][10]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][10] != void && sf[sf['CG' + tf.num][10]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][10]  != void && sf[sf['CG' + tf.num][10]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][11]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][11] != void && sf[sf['CG' + tf.num][11]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][11]  != void && sf[sf['CG' + tf.num][11]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][12]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][12] != void && sf[sf['CG' + tf.num][12]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][12]  != void && sf[sf['CG' + tf.num][12]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][13]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][13] != void && sf[sf['CG' + tf.num][13]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][13]  != void && sf[sf['CG' + tf.num][13]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][14]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][14] != void && sf[sf['CG' + tf.num][14]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][14]  != void && sf[sf['CG' + tf.num][14]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][15]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][15] != void && sf[sf['CG' + tf.num][15]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][15]  != void && sf[sf['CG' + tf.num][15]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][16]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][16] != void && sf[sf['CG' + tf.num][16]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][16]  != void && sf[sf['CG' + tf.num][16]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][17]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][17] != void && sf[sf['CG' + tf.num][17]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][17]  != void && sf[sf['CG' + tf.num][17]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][18]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][18] != void && sf[sf['CG' + tf.num][18]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][18]  != void && sf[sf['CG' + tf.num][18]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][19]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][19] != void && sf[sf['CG' + tf.num][19]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][19]  != void && sf[sf['CG' + tf.num][19]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][20]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][20] != void && sf[sf['CG' + tf.num][20]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][20]  != void && sf[sf['CG' + tf.num][20]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][21]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][21] != void && sf[sf['CG' + tf.num][21]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][21]  != void && sf[sf['CG' + tf.num][21]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][22]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][22] != void && sf[sf['CG' + tf.num][22]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][22]  != void && sf[sf['CG' + tf.num][22]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][23]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][23] != void && sf[sf['CG' + tf.num][23]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][23]  != void && sf[sf['CG' + tf.num][23]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][24]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][24] != void && sf[sf['CG' + tf.num][24]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][24]  != void && sf[sf['CG' + tf.num][24]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][25]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][25] != void && sf[sf['CG' + tf.num][25]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][25]  != void && sf[sf['CG' + tf.num][25]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][26]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][26] != void && sf[sf['CG' + tf.num][26]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][26]  != void && sf[sf['CG' + tf.num][26]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][27]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][27] != void && sf[sf['CG' + tf.num][27]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][27]  != void && sf[sf['CG' + tf.num][27]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][28]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][28] != void && sf[sf['CG' + tf.num][28]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][28]  != void && sf[sf['CG' + tf.num][28]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][29]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][29] != void && sf[sf['CG' + tf.num][29]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][29]  != void && sf[sf['CG' + tf.num][29]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][30]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][30] != void && sf[sf['CG' + tf.num][30]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][30]  != void && sf[sf['CG' + tf.num][30]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][31]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][31] != void && sf[sf['CG' + tf.num][31]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][31]  != void && sf[sf['CG' + tf.num][31]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][32]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][32] != void && sf[sf['CG' + tf.num][32]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][32]  != void && sf[sf['CG' + tf.num][32]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][33]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][33] != void && sf[sf['CG' + tf.num][33]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][33]  != void && sf[sf['CG' + tf.num][33]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][34]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][34] != void && sf[sf['CG' + tf.num][34]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][34]  != void && sf[sf['CG' + tf.num][34]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][35]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][35] != void && sf[sf['CG' + tf.num][35]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][35]  != void && sf[sf['CG' + tf.num][35]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][36]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][36] != void && sf[sf['CG' + tf.num][36]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][36]  != void && sf[sf['CG' + tf.num][36]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][37]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][37] != void && sf[sf['CG' + tf.num][37]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][37]  != void && sf[sf['CG' + tf.num][37]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][38]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][38] != void && sf[sf['CG' + tf.num][38]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][38]  != void && sf[sf['CG' + tf.num][38]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][39]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][39] != void && sf[sf['CG' + tf.num][39]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][39]  != void && sf[sf['CG' + tf.num][39]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][40]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][40] != void && sf[sf['CG' + tf.num][40]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][40]  != void && sf[sf['CG' + tf.num][40]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][41]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][41] != void && sf[sf['CG' + tf.num][41]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][41]  != void && sf[sf['CG' + tf.num][41]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][42]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][42] != void && sf[sf['CG' + tf.num][42]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][42]  != void && sf[sf['CG' + tf.num][42]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][43]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][43] != void && sf[sf['CG' + tf.num][43]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][43]  != void && sf[sf['CG' + tf.num][43]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][44]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][44] != void && sf[sf['CG' + tf.num][44]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][44]  != void && sf[sf['CG' + tf.num][44]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][45]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][45] != void && sf[sf['CG' + tf.num][45]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][45]  != void && sf[sf['CG' + tf.num][45]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][46]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][46] != void && sf[sf['CG' + tf.num][46]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][46]  != void && sf[sf['CG' + tf.num][46]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][47]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][47] != void && sf[sf['CG' + tf.num][47]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][47]  != void && sf[sf['CG' + tf.num][47]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][48]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][48] != void && sf[sf['CG' + tf.num][48]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][48]  != void && sf[sf['CG' + tf.num][48]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][49]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][49] != void && sf[sf['CG' + tf.num][49]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][49]  != void && sf[sf['CG' + tf.num][49]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][50]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][50] != void && sf[sf['CG' + tf.num][50]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][50]  != void && sf[sf['CG' + tf.num][50]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][51]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][51] != void && sf[sf['CG' + tf.num][51]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][51]  != void && sf[sf['CG' + tf.num][51]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][52]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][52] != void && sf[sf['CG' + tf.num][52]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][52]  != void && sf[sf['CG' + tf.num][52]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][53]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][53] != void && sf[sf['CG' + tf.num][53]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][53]  != void && sf[sf['CG' + tf.num][53]] == 1"]
[cgview_os storage="&sf['CG' + tf.num][54]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][54] != void && sf[sf['CG' + tf.num][54]] == 1"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][54]  != void && sf[sf['CG' + tf.num][54]] == 1"]



[eval exp="tf.now_pos_ev = void"]
[eval exp="tf.now_pos_ev_x = void"]
[eval exp="tf.now_pos_ev_y = void"]
;オーバーサイズフラグリセット
[eval exp="sf.oversize_gra_w = void"]
[eval exp="sf.oversize_gra_h = void"]
[eval exp="tf.overXY = void"]
[current layer=message0][layopt layer=message0 left=0 top=0 visible=false]
; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target=*CGMODEback storage="b_cgmode_view.ks" enabled=true]
[jump target=*CGMODEback]
;------------------------------------------------
;------------------------------------------------
*cgview000_os_差分条件無し
;最大長さ 全部統一されてるといいなー
[eval exp="sf.oversize_gra_w = 1280 , sf.oversize_gra_h = 1600"]
[eval exp="tf.now_pos_ev_x = 0 , tf.now_pos_ev_y = 0"]

;voidの時は0、それ以外は変数を維持
[if exp="tf.now_pos_ev == void"][eval exp="tf.now_pos_ev = 0"][endif]
[if exp="tf.now_pos_ev_x == void"][eval exp="tf.now_pos_ev_x = 0"][endif]
[if exp="tf.now_pos_ev_y == void"][eval exp="tf.now_pos_ev_y = 0"][endif]
;横長か縦長か
[eval exp="tf.overXY = 'H'"]
;1回毎の移動幅 画像の最大値じゃなくて最大移動幅で割りきれる値
[eval exp="tf.add_pos_x = 10"]
[eval exp="tf.add_pos_y = 20"]

;長尺説明表示用フラグ
[eval exp="tf.os_1st = 1"]

;                                 ↓これは差分の有無を問うてるだけで、差分ごとに開放条件つけるならさらに条件追加必要　 && sf.[sf.CG001[2]] == 1かな
;[cgview storage_cg="&sf.CG001[2]"  cond="sf.CG001[2]  != void"]
[cgview_os storage="&sf['CG' + tf.num][4]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][4]  != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][4]   != void"]
[cgview_os storage="&sf['CG' + tf.num][5]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][5]  != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][5]   != void"]
[cgview_os storage="&sf['CG' + tf.num][6]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][6]  != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][6]   != void"]
[cgview_os storage="&sf['CG' + tf.num][7]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][7]  != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][7]   != void"]
[cgview_os storage="&sf['CG' + tf.num][8]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][8]  != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][8]   != void"]
[cgview_os storage="&sf['CG' + tf.num][9]"  x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][9]  != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][9]   != void"]
[cgview_os storage="&sf['CG' + tf.num][10]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][10] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][10]  != void"]
[cgview_os storage="&sf['CG' + tf.num][11]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][11] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][11]  != void"]
[cgview_os storage="&sf['CG' + tf.num][12]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][12] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][12]  != void"]
[cgview_os storage="&sf['CG' + tf.num][13]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][13] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][13]  != void"]
[cgview_os storage="&sf['CG' + tf.num][14]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][14] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][14]  != void"]
[cgview_os storage="&sf['CG' + tf.num][15]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][15] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][15]  != void"]
[cgview_os storage="&sf['CG' + tf.num][16]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][16] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][16]  != void"]
[cgview_os storage="&sf['CG' + tf.num][17]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][17] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][17]  != void"]
[cgview_os storage="&sf['CG' + tf.num][18]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][18] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][18]  != void"]
[cgview_os storage="&sf['CG' + tf.num][19]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][19] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][19]  != void"]
[cgview_os storage="&sf['CG' + tf.num][20]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][20] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][20]  != void"]
[cgview_os storage="&sf['CG' + tf.num][21]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][21] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][21]  != void"]
[cgview_os storage="&sf['CG' + tf.num][22]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][22] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][22]  != void"]
[cgview_os storage="&sf['CG' + tf.num][23]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][23] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][23]  != void"]
[cgview_os storage="&sf['CG' + tf.num][24]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][24] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][24]  != void"]
[cgview_os storage="&sf['CG' + tf.num][25]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][25] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][25]  != void"]
[cgview_os storage="&sf['CG' + tf.num][26]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][26] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][26]  != void"]
[cgview_os storage="&sf['CG' + tf.num][27]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][27] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][27]  != void"]
[cgview_os storage="&sf['CG' + tf.num][28]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][28] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][28]  != void"]
[cgview_os storage="&sf['CG' + tf.num][29]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][29] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][29]  != void"]
[cgview_os storage="&sf['CG' + tf.num][30]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][30] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][30]  != void"]
[cgview_os storage="&sf['CG' + tf.num][31]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][31] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][31]  != void"]
[cgview_os storage="&sf['CG' + tf.num][32]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][32] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][32]  != void"]
[cgview_os storage="&sf['CG' + tf.num][33]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][33] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][33]  != void"]
[cgview_os storage="&sf['CG' + tf.num][34]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][34] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][34]  != void"]
[cgview_os storage="&sf['CG' + tf.num][35]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][35] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][35]  != void"]
[cgview_os storage="&sf['CG' + tf.num][36]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][36] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][36]  != void"]
[cgview_os storage="&sf['CG' + tf.num][37]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][37] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][37]  != void"]
[cgview_os storage="&sf['CG' + tf.num][38]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][38] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][38]  != void"]
[cgview_os storage="&sf['CG' + tf.num][39]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][39] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][39]  != void"]
[cgview_os storage="&sf['CG' + tf.num][40]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][40] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][40]  != void"]
[cgview_os storage="&sf['CG' + tf.num][41]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][41] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][41]  != void"]
[cgview_os storage="&sf['CG' + tf.num][42]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][42] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][42]  != void"]
[cgview_os storage="&sf['CG' + tf.num][43]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][43] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][43]  != void"]
[cgview_os storage="&sf['CG' + tf.num][44]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][44] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][44]  != void"]
[cgview_os storage="&sf['CG' + tf.num][45]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][45] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][45]  != void"]
[cgview_os storage="&sf['CG' + tf.num][46]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][46] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][46]  != void"]
[cgview_os storage="&sf['CG' + tf.num][47]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][47] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][47]  != void"]
[cgview_os storage="&sf['CG' + tf.num][48]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][48] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][48]  != void"]
[cgview_os storage="&sf['CG' + tf.num][49]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][49] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][49]  != void"]
[cgview_os storage="&sf['CG' + tf.num][50]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][50] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][50]  != void"]
[cgview_os storage="&sf['CG' + tf.num][51]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][51] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][51]  != void"]
[cgview_os storage="&sf['CG' + tf.num][52]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][52] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][52]  != void"]
[cgview_os storage="&sf['CG' + tf.num][53]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][53] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][53]  != void"]
[cgview_os storage="&sf['CG' + tf.num][54]" x="&tf.now_pos_ev_x" y="&tf.now_pos_ev_y" cond="sf['CG' + tf.num][54] != void"][call storage="b_cgmode_view_oversize.ks" cond="sf['CG' + tf.num][54]  != void"]



[eval exp="tf.now_pos_ev = void"]
[eval exp="tf.now_pos_ev_x = void"]
[eval exp="tf.now_pos_ev_y = void"]
;オーバーサイズフラグリセット
[eval exp="sf.oversize_gra_w = void"]
[eval exp="sf.oversize_gra_h = void"]
[eval exp="tf.overXY = void"]
[current layer=message0][layopt layer=message0 left=0 top=0 visible=false]
; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target=*CGMODEback storage="b_cgmode_view.ks" enabled=true]
[jump target=*CGMODEback]
;------------------------------------------------



*CGMODEback

;クリックした場所のフラグオフ
[eval exp="tf.CG_click = 0"]


;[scrollbar forevisible=false backvisible=true]
;[scrollbar hforevisible=false hbackvisible=true]

; アルバム画面で使用するメッセージレイヤ
[eval exp="tf.CGMODE_message = 'message1'"]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target="*CGMODE_return" storage="b_cgmode.ks" enabled=true]

; メッセージレイヤの属性を設定
[position layer="&tf.CGMODE_message" page=fore left=0 top=0 width="&kag.scWidth" height="&kag.scHeight" frame="" color=0x000000 opacity=0 marginl=0 margint=0 marginr=0 marginb=0 draggable=false visible=true]
[current layer="&tf.CGMODE_message"]

[freeimage layer=1 page=fore]
[freeimage layer=1 page=back]




[jump storage="b_cgmode.ks" target=*back_from_cg]
;-----------------------------------------------------------
﻿;b_cgmode_view_oversize.ks

[if exp="tf.cg_mode == 1"]
	; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
	[rclick jump=true target=*rclick storage="b_cgmode_view_oversize.ks" enabled=true]

	[eval exp="f.bt_scroll_l = 'scroll_l'"]
	[eval exp="f.bt_scroll_r = 'scroll_r'"]
	[eval exp="f.bt_scroll_u = 'scroll_u'"]
	[eval exp="f.bt_scroll_d = 'scroll_d'"]

	[eval exp="f.layer_scroll_l = 3"]
	[eval exp="f.layer_scroll_r = 4"]
	[eval exp="f.layer_scroll_u = 3"]
	[eval exp="f.layer_scroll_d = 4"]

	[eval exp="tf.move_time = 20"]

	;recthit=falseにするとCGモード用のボタンが反応しないのでこれも変数定義
	[eval exp="tf.recthit = 1"]

	;画像の大きさ
	[eval exp="tf.oversize_gra_w = sf.oversize_gra_w"]
	[eval exp="tf.oversize_gra_h = sf.oversize_gra_h"]

[else]
	; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
	[rclick jump=true target=*rclick_ReturnScenario storage="b_cgmode_view_oversize.ks" enabled=true]

	[eval exp="f.bt_scroll_l = 'game_ev_le'"]
	[eval exp="f.bt_scroll_r = 'game_ev_ri'"]
	[eval exp="f.bt_scroll_u = 'game_ev_up'"]
	[eval exp="f.bt_scroll_d = 'game_ev_do'"]

	[eval exp="f.layer_scroll_l = 5"]
	[eval exp="f.layer_scroll_r = 6"]
	[eval exp="f.layer_scroll_u = 5"]
	[eval exp="f.layer_scroll_d = 6"]

	[eval exp="tf.overXY = f.overXY"]
	;この変数つかってなくね？ tf.add_posに入れてるのか、上下左右のときに困るな
	;tf.add_pos　tf.add_pos_xとtf.add_pos_yにする
	[eval exp="tf.add_pos_x = f.add_pos_x"]
	[eval exp="tf.add_pos_y = f.add_pos_y"]

	[eval exp="tf.move_time = 40"]

	;recthit=falseにするとCGモード用のボタンが反応しないのでこれも変数定義
	[eval exp="tf.recthit = 0"]

	;画像の大きさ
	[eval exp="tf.oversize_gra_w = f.oversize_gra_w"]
	[eval exp="tf.oversize_gra_h = f.oversize_gra_h"]


[endif]








;最大移動幅 画像の大きさ-画面の解像度Y*-1
[if    exp="tf.overXY == 'WH'"]
	;縦長
	[eval exp="tf.pos_tabmax_w = (tf.oversize_gra_w - kag.scWidth) * -1"]
	[eval exp="tf.pos_tabmax_h = (tf.oversize_gra_h - kag.scHeight) * -1"]

[elsif exp="tf.overXY == 'W'"]
	;横長
	[eval exp="tf.pos_tabmax_w = (tf.oversize_gra_w - &kag.scWidth) * -1"]

[elsif exp="tf.overXY == 'H'"]
	;縦長
	[eval exp="tf.pos_tabmax_h = (tf.oversize_gra_h - kag.scHeight) * -1"]

[endif]

[if exp="tf.cg_mode == 1"]
	[eval exp="tf.scroll_bt_lr_x = [0,1230]"]
	[eval exp="tf.scroll_bt_lr_y = [50, 50]"]
	[eval exp="tf.scroll_bt_ud_x = [50, 50]"]
	[eval exp="tf.scroll_bt_ud_y = [ 0,670]"]
[else]
	[eval exp="tf.w = 61"]
	[eval exp="tf.h = 41"]

	[eval exp="tf.x = 600"]
	[eval exp="tf.y = 450"]

	[eval exp="tf.scroll_bt_ud_x = [590,590]"]
	[eval exp="tf.scroll_bt_ud_y = [265-20 -10,440+20 -10]"]

	[eval exp="tf.scroll_bt_lr_x = [511-20,686+20]"]
	[eval exp="tf.scroll_bt_lr_y = [344 -10,344 -10]"]
[endif]

;次の差分へがオフなら初期化。それ以外は下記の変数を維持。
;	[if exp="tf.nextcg == 0"]
;		;初期Y座標 初期位置は常に0
;		[eval exp="tf.now_pos_ev = 0"]
;		[eval exp="tf.now_pos_ev_x = 0"]
;		[eval exp="tf.now_pos_ev_y = 0"]
;	[endif]

;1回毎の移動幅
[if exp="tf.cg_mode == 1"]
	[eval exp="tf.add_pos = 20"]
[endif]

;座標定義だけしてcgview_osマクロ内に戻る
[return cond="tf.os_1st == 1"]

;-----------------------------------------------------------
*1st

; メッセージレイヤの属性を設定
;シナリオ中から来ると未定義だと思うからここで定義
[eval exp="tf.CGMODE_message = 'message1'"]
[position layer="&tf.CGMODE_message" page=fore left=0 top=0 width="&kag.scWidth" height="&kag.scHeight" frame="" color=0x000000 opacity=0 marginl=0 margint=0 marginr=0 marginb=0 draggable=false visible=true]
[current layer="&tf.CGMODE_message"]

[if exp="tf.cg_mode == 1"]
	[locate x=0 y=0][button graphic="cgnext" target=*end]
[endif]

[if exp="tf.overXY == 'WH'"]
	[locate x="&tf.scroll_bt_lr_x[0]" y="&tf.scroll_bt_lr_y[0]"][button graphic="&f.bt_scroll_l" target=*1st onenter="kag.process('','*l')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]
	[locate x="&tf.scroll_bt_lr_x[1]" y="&tf.scroll_bt_lr_y[1]"][button graphic="&f.bt_scroll_r" target=*1st onenter="kag.process('','*r')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]
	[locate x="&tf.scroll_bt_ud_x[0]" y="&tf.scroll_bt_ud_y[0]"][button graphic="&f.bt_scroll_u" target=*1st onenter="kag.process('','*u')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]
	[locate x="&tf.scroll_bt_ud_x[1]" y="&tf.scroll_bt_ud_y[1]"][button graphic="&f.bt_scroll_d" target=*1st onenter="kag.process('','*d')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]

[elsif exp="tf.overXY == 'W'"]
	[locate x="&tf.scroll_bt_lr_x[0]" y="&tf.scroll_bt_lr_y[0]"][button graphic="&f.bt_scroll_l" target=*1st onenter="kag.process('','*l')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]
	[locate x="&tf.scroll_bt_lr_x[1]" y="&tf.scroll_bt_lr_y[1]"][button graphic="&f.bt_scroll_r" target=*1st onenter="kag.process('','*r')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]

[elsif exp="tf.overXY == 'H'"]
	[locate x="&tf.scroll_bt_ud_x[0]" y="&tf.scroll_bt_ud_y[0]"][button graphic="&f.bt_scroll_u" target=*1st onenter="kag.process('','*u')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]
	[locate x="&tf.scroll_bt_ud_x[1]" y="&tf.scroll_bt_ud_y[1]"][button graphic="&f.bt_scroll_d" target=*1st onenter="kag.process('','*d')" onleave="kag.process('','*1st')" recthit="&tf.recthit"]
[endif]





[if    exp="tf.cg_mode == 0 && tf.overXY == 'W'"]
	[image storage="&f.bt_scroll_u" layer=3 page=fore visible=true left="&tf.scroll_bt_ud_x[0]" top="&tf.scroll_bt_ud_y[0]" clipleft="0" cliptop="0" clipwidth="100" clipheight="83" grayscale=true opacity=255]
	[image storage="&f.bt_scroll_d" layer=4 page=fore visible=true left="&tf.scroll_bt_ud_x[1]" top="&tf.scroll_bt_ud_y[1]" clipleft="0" cliptop="0" clipwidth="100" clipheight="83" grayscale=true opacity=255]

[elsif exp="tf.cg_mode == 0 && tf.overXY == 'H'"]
	[image storage="&f.bt_scroll_l" layer=3 page=fore visible=true left="&tf.scroll_bt_lr_x[0]" top="&tf.scroll_bt_lr_y[0]" clipleft="0" cliptop="0" clipwidth="83" clipheight="100" grayscale=true opacity=255]
	[image storage="&f.bt_scroll_r" layer=4 page=fore visible=true left="&tf.scroll_bt_lr_x[1]" top="&tf.scroll_bt_lr_y[1]" clipleft="0" cliptop="0" clipwidth="83" clipheight="100" grayscale=true opacity=255]
[endif]



[if exp="tf.cg_mode == 0"]
	;[eval exp="tf.game_ev_x1 = tf.scroll_bt_lr_x[1] + tf.w + 20"]
	;[eval exp="tf.game_ev_x2 = tf.game_ev_x1"]
	;[eval exp="tf.game_ev_y1 = tf.scroll_bt_ud_y[0] + 20"]
	;[eval exp="tf.game_ev_y2 = tf.game_ev_y1 + 41 + 20"]
;	[locate x="590" y="344"][button graphic="game_ev_ok" target=*rclick_ReturnScenario  recthit=false]
	[locate x="590" y="334"][button graphic="game_ev_ok" target=*rclick_ReturnScenario  recthit=false]
	[locate x="579" y="544"][button graphic="game_ev_def" target=*def  recthit=false]
[endif]


[s]


;縦→横　横→縦に移動した瞬間もとのほうは20ずれる。あと次の差分に行った時も

;-----------------------------------------------------------
*def
[move layer=1 time=0 accel=1 path='&@"((${&f.ev_def_x},${&f.ev_def_y},255)"'][wm]
[eval exp="tf.now_pos_ev_x = f.ev_def_x"]
[eval exp="tf.now_pos_ev_y = f.ev_def_y"]
[jump target=*1st]

;-----------------------------------------------------------
*l
;画像の左を見たい！

;最大移動幅と同じになら処理無しで戻る
[if exp="tf.now_pos_ev_x == 0"]
	[jump target=*1st]
[endif]

;現在の座標を再計算
[eval exp="tf.now_pos_ev_x = tf.now_pos_ev_x + tf.add_pos_x"]

;実際には画像が右に送られる
;移動
[move layer=1 time="&tf.move_time" accel=1 path='&@"((${&tf.now_pos_ev_x},${&tf.now_pos_ev_y},255)"'][wm]


;初期位置（0）と同じになったら処理無しで戻る
[if exp="tf.now_pos_ev_x == 0"]
	[jump target=*1st]
[endif]

[jump target=*l]

;-----------------------------------------------------------
*r
;画像の右を見たい！

;最大移動幅と同じになら処理無しで戻る
[if exp="tf.now_pos_ev_x * -1 >= tf.pos_tabmax_w * -1"]
	[jump target=*1st]
[endif]

;現在の座標を再計算
[eval exp="tf.now_pos_ev_x = tf.now_pos_ev_x - tf.add_pos_x"]

;実際には画像が左に送られる
;移動
[move layer=1 time="&tf.move_time" accel=1 path='&@"((${&tf.now_pos_ev_x},${&tf.now_pos_ev_y},255)"'][wm]


;最大移動幅と同じになったら処理無しで戻る
[if exp="tf.now_pos_ev_x * -1 >= tf.pos_tabmax_w * -1"]
	[jump target=*1st]
[endif]

[jump target=*r]
;-----------------------------------------------------------
*u
;画像の上を見たい！

;最大移動幅と同じになら処理無しで戻る
[if exp="tf.now_pos_ev_y == 0"]
	[jump target=*1st]
[endif]


;現在の座標を再計算
[eval exp="tf.now_pos_ev_y = tf.now_pos_ev_y + tf.add_pos_y"]

;実際には画像が下
;移動
[move layer=1 time=50 accel=1 path='&@"((${&tf.now_pos_ev_x},${&tf.now_pos_ev_y},255)"'][wm]
;邪淫用　ｘ座標は0固定
;これWHの時にだめだな
;[move layer=1 time="&tf.move_time" accel=1 path='&@"(0,${&tf.now_pos_ev_y},255)"'][wm]


;初期位置（0）と同じになったら処理無しで戻る
;丁度0にならないと無制限で移動しちゃう
[if exp="tf.now_pos_ev_y == 0"]
	[jump target=*1st]
[endif]

[jump target=*u]

;-----------------------------------------------------------
*d
;画像の下を見たい！

;最大移動幅と同じになら処理無しで戻る
[if exp="tf.now_pos_ev_y * -1 >= tf.pos_tabmax_h * -1"]
	[jump target=*1st]
[endif]

;現在の座標を再計算
[eval exp="tf.now_pos_ev_y = tf.now_pos_ev_y - tf.add_pos_y"]

;実際には画像が上
;移動
[move layer=1 time=50 accel=1 path='&@"((${&tf.now_pos_ev_x},${&tf.now_pos_ev_y},255)"'][wm]
;邪淫用　ｘ座標は0固定
;[move layer=1 time="&tf.move_time" accel=1 path='&@"((0,${&tf.now_pos_ev_y},255)"'][wm]


;最大移動幅と同じになったら処理無しで戻る
[if exp="tf.now_pos_ev_y * -1 >= tf.pos_tabmax_h * -1"]
	[jump target=*1st]
[endif]

[jump target=*d]


;-----------------------------------------------------------
;-----------------------------------------------------------
;-----------------------------------------------------------
*ul
;画像の上／左を見たい！

;最大移動幅と同じになら処理無しで戻る
[if exp="tf.now_pos_ev == 0"]
	[jump target=*1st]
[endif]

;実際には画像が下/右に送られる
;移動
[if    exp="tf.overXY == 'W'"]
	[move layer=1 time="&tf.move_time" accel=1 path='&@"((${&tf.now_pos_ev + tf.add_pos},0,255)"'][wm]
[elsif exp="tf.overXY == 'H'"]
	[move layer=1 time="&tf.move_time" accel=1 path='&@"((0,${&tf.now_pos_ev + tf.add_pos},255)"'][wm]
[endif]

;現在の座標を再計算
[eval exp="tf.now_pos_ev = tf.now_pos_ev + tf.add_pos"]

;初期位置（0）と同じになったら処理無しで戻る
[if exp="tf.now_pos_ev == 0"]
	[jump target=*1st]
[endif]

[jump target=*ul]

;-----------------------------------------------------------
*dr
;画像の下／右を見たい！

;最大移動幅と同じになら処理無しで戻る
[if exp="tf.now_pos_ev * -1 >= tf.pos_tabmax * -1"]
	[jump target=*1st]
[endif]

;実際には画像が上/左に送られる
;移動
[if    exp="tf.overXY == 'W'"]
	[move layer=1 time="&tf.move_time" accel=1 path='&@"((${&tf.now_pos_ev - tf.add_pos},0,255)"'][wm]
[elsif exp="tf.overXY == 'H'"]
	[move layer=1 time="&tf.move_time" accel=1 path='&@"((0,${&tf.now_pos_ev - tf.add_pos},255)"'][wm]
[endif]

;現在の座標を再計算
[eval exp="tf.now_pos_ev = tf.now_pos_ev - tf.add_pos"]

;最大移動幅と同じになったら処理無しで戻る
[if exp="tf.now_pos_ev * -1 >= tf.pos_tabmax * -1"]
	[jump target=*1st]
[endif]

[jump target=*dr]









;-----------------------------------------------------------
;-----------------------------------------------------------
;-----------------------------------------------------------

*end
[stoptrans][stopmove]

;[eval exp="tf.nextcg = 1"]

[return]

;-----------------------------------------------------------
*rclick
[wait time=150 canskip=false]

;初期Y座標 初期位置は常に0
[eval exp="tf.now_pos_ev = void"]
[eval exp="tf.now_pos_ev_x = void"]
[eval exp="tf.now_pos_ev_y = void"]

[eval exp="tf.nextcg = 0"]

[current layer=message0][layopt layer=message0 left=0 top=0 visible=false]

[return storage="b_cgmode_view.ks"  target=*CGMODEback]

;-----------------------------------------------------------
*rclick_ReturnScenario

;systembutton_sub.ksに戻る
[return]
﻿;b_scene.ks
;前のヴァージョンが使いにくいから全改修する
;ページ毎に作った方がカスタマイズしやすいかな

*scene_menu

[call storage="&sf.addgameID + 'b_scene_init.ks'"]

;[全消去]
[cgthum_int]
; メモリ上の栞６に現在の状態を保存 これするとシーン回想からタイトルバックしたときにタイトル背景出ちゃう
;[tempsave place=6]

; シーン回想中であることを示す変数（呼び出し先のKAGシナリオでシーン回想中か否かを判定する）
[eval exp="tf.scene_mode = 1"]

[freeimage layer=base page=fore]
[freeimage layer=base page=back]


; サムネイルベースを表示
; サムネイルを表示する座標の配列 //sf.sr_thum_x03を追加
;２タイトル間で違うかもだからcondこれしちゃだめだ
[eval exp="tf.scene_thum_x = [, sf.sr_thum_x01, sf.sr_thum_x02, sf.sr_thum_x03, sf.sr_thum_x04, sf.sr_thum_x05, sf.sr_thum_x06, sf.sr_thum_x07, sf.sr_thum_x08, sf.sr_thum_x09, sf.sr_thum_x10, sf.sr_thum_x11, sf.sr_thum_x12, sf.sr_thum_x13, sf.sr_thum_x14, sf.sr_thum_x15, sf.sr_thum_x16, sf.sr_thum_x17, sf.sr_thum_x18, sf.sr_thum_x19, sf.sr_thum_x20]"]
[eval exp="tf.scene_thum_y = [, sf.sr_thum_y01, sf.sr_thum_y02, sf.sr_thum_y03, sf.sr_thum_y04, sf.sr_thum_y05, sf.sr_thum_y06, sf.sr_thum_y07, sf.sr_thum_y08, sf.sr_thum_y09, sf.sr_thum_y10, sf.sr_thum_y11, sf.sr_thum_y12, sf.sr_thum_y13, sf.sr_thum_y14, sf.sr_thum_y15, sf.sr_thum_y16, sf.sr_thum_y17, sf.sr_thum_y18, sf.sr_thum_y19, sf.sr_thum_y20]"]

; ページ用ボタンを表示する座標の配列 [0]は使用しない。ページ数と[n]が同じになるようにする
[eval exp="tf.b_sr_pageX = [sf.b_page00_x, sf.b_page01_x, sf.b_page02_x, sf.b_page03_x, sf.b_page04_x, sf.b_page05_x, sf.b_page06_x, sf.b_page07_x, sf.b_page08_x, sf.b_page09_x, sf.b_page10_x]"]
[eval exp="tf.b_sr_pageY = [sf.b_page00_y, sf.b_page01_y, sf.b_page02_y, sf.b_page03_y, sf.b_page04_y, sf.b_page05_y, sf.b_page06_y, sf.b_page07_y, sf.b_page08_y, sf.b_page09_y, sf.b_page10_y]"]

[eval exp="tf.b_ch_pageX = [, sf.b_ch_page01_x, sf.b_ch_page02_x, sf.b_ch_page03_x, sf.b_ch_page04_x]"]
[eval exp="tf.b_ch_pageY = [, sf.b_ch_page01_y, sf.b_ch_page02_y, sf.b_ch_page03_y, sf.b_ch_page04_y]"]

[macro name="SR_enm_text"]
	[ptext text=%text layer="base" page=fore x=%x  y=%y size="16" color="0x000000" shadow="false" shadowcolor="&sf.dialog_text_shadowcolor" edge="&sf.dialog_text_edge" bold="&sf.dialog_text_bold" face="ＭＳ Ｐゴシック"]
;	[ptext text=%text layer="base" page=fore x=%x  y=%y size="16" color="0x000000" shadow="false" shadowcolor="&sf.dialog_text_shadowcolor" edge="&sf.dialog_text_edge" bold="&sf.dialog_text_bold" face="ＭＳ Ｐゴシック"]
[endmacro]


;	;キャプション用　レベル画像　レベル数字画像　キャプション画像の座標
;	;dxdyだが、1280*720の透明に貼り込むので、サムネ座標を基準に使う
;	[eval exp="tf.sr_cap_h = 30"]
;
;	[eval exp="tf.SR_lev01_dx = tf.scene_thum_x[1] +7 , tf.SR_lev01_dy = tf.scene_thum_y[1] +7, tf.SR_num01_dx = tf.SR_lev01_dx+30, tf.SR_num01_dy = tf.SR_lev01_dy, tf.SR_cap01_dx = tf.scene_thum_x[1] , tf.SR_cap01_dy = tf.scene_thum_y[1]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev02_dx = tf.scene_thum_x[2] +7 , tf.SR_lev02_dy = tf.scene_thum_y[2] +7, tf.SR_num02_dx = tf.SR_lev02_dx+30, tf.SR_num02_dy = tf.SR_lev02_dy, tf.SR_cap02_dx = tf.scene_thum_x[2] , tf.SR_cap02_dy = tf.scene_thum_y[2]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev03_dx = tf.scene_thum_x[3] +7 , tf.SR_lev03_dy = tf.scene_thum_y[3] +7, tf.SR_num03_dx = tf.SR_lev03_dx+30, tf.SR_num03_dy = tf.SR_lev03_dy, tf.SR_cap03_dx = tf.scene_thum_x[3] , tf.SR_cap03_dy = tf.scene_thum_y[3]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev04_dx = tf.scene_thum_x[4] +7 , tf.SR_lev04_dy = tf.scene_thum_y[4] +7, tf.SR_num04_dx = tf.SR_lev04_dx+30, tf.SR_num04_dy = tf.SR_lev04_dy, tf.SR_cap04_dx = tf.scene_thum_x[4] , tf.SR_cap04_dy = tf.scene_thum_y[4]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev05_dx = tf.scene_thum_x[5] +7 , tf.SR_lev05_dy = tf.scene_thum_y[5] +7, tf.SR_num05_dx = tf.SR_lev05_dx+30, tf.SR_num05_dy = tf.SR_lev05_dy, tf.SR_cap05_dx = tf.scene_thum_x[5] , tf.SR_cap05_dy = tf.scene_thum_y[5]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev06_dx = tf.scene_thum_x[6] +7 , tf.SR_lev06_dy = tf.scene_thum_y[6] +7, tf.SR_num06_dx = tf.SR_lev06_dx+30, tf.SR_num06_dy = tf.SR_lev06_dy, tf.SR_cap06_dx = tf.scene_thum_x[6] , tf.SR_cap06_dy = tf.scene_thum_y[6]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev07_dx = tf.scene_thum_x[7] +7 , tf.SR_lev07_dy = tf.scene_thum_y[7] +7, tf.SR_num07_dx = tf.SR_lev07_dx+30, tf.SR_num07_dy = tf.SR_lev07_dy, tf.SR_cap07_dx = tf.scene_thum_x[7] , tf.SR_cap07_dy = tf.scene_thum_y[7]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev08_dx = tf.scene_thum_x[8] +7 , tf.SR_lev08_dy = tf.scene_thum_y[8] +7, tf.SR_num08_dx = tf.SR_lev08_dx+30, tf.SR_num08_dy = tf.SR_lev08_dy, tf.SR_cap08_dx = tf.scene_thum_x[8] , tf.SR_cap08_dy = tf.scene_thum_y[8]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev09_dx = tf.scene_thum_x[9] +7 , tf.SR_lev09_dy = tf.scene_thum_y[9] +7, tf.SR_num09_dx = tf.SR_lev09_dx+30, tf.SR_num09_dy = tf.SR_lev09_dy, tf.SR_cap09_dx = tf.scene_thum_x[9] , tf.SR_cap09_dy = tf.scene_thum_y[9]  + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev10_dx = tf.scene_thum_x[10]+7 , tf.SR_lev10_dy = tf.scene_thum_y[10]+7, tf.SR_num10_dx = tf.SR_lev10_dx+30, tf.SR_num10_dy = tf.SR_lev10_dy, tf.SR_cap10_dx = tf.scene_thum_x[10], tf.SR_cap10_dy = tf.scene_thum_y[10] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev11_dx = tf.scene_thum_x[11]+7 , tf.SR_lev11_dy = tf.scene_thum_y[11]+7, tf.SR_num11_dx = tf.SR_lev11_dx+30, tf.SR_num11_dy = tf.SR_lev11_dy, tf.SR_cap11_dx = tf.scene_thum_x[11], tf.SR_cap11_dy = tf.scene_thum_y[11] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev12_dx = tf.scene_thum_x[12]+7 , tf.SR_lev12_dy = tf.scene_thum_y[12]+7, tf.SR_num12_dx = tf.SR_lev12_dx+30, tf.SR_num12_dy = tf.SR_lev12_dy, tf.SR_cap12_dx = tf.scene_thum_x[12], tf.SR_cap12_dy = tf.scene_thum_y[12] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev13_dx = tf.scene_thum_x[13]+7 , tf.SR_lev13_dy = tf.scene_thum_y[13]+7, tf.SR_num13_dx = tf.SR_lev13_dx+30, tf.SR_num13_dy = tf.SR_lev13_dy, tf.SR_cap13_dx = tf.scene_thum_x[13], tf.SR_cap13_dy = tf.scene_thum_y[13] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev14_dx = tf.scene_thum_x[14]+7 , tf.SR_lev14_dy = tf.scene_thum_y[14]+7, tf.SR_num14_dx = tf.SR_lev14_dx+30, tf.SR_num14_dy = tf.SR_lev14_dy, tf.SR_cap14_dx = tf.scene_thum_x[14], tf.SR_cap14_dy = tf.scene_thum_y[14] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev15_dx = tf.scene_thum_x[15]+7 , tf.SR_lev15_dy = tf.scene_thum_y[15]+7, tf.SR_num15_dx = tf.SR_lev15_dx+30, tf.SR_num15_dy = tf.SR_lev15_dy, tf.SR_cap15_dx = tf.scene_thum_x[15], tf.SR_cap15_dy = tf.scene_thum_y[15] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev16_dx = tf.scene_thum_x[16]+7 , tf.SR_lev16_dy = tf.scene_thum_y[16]+7, tf.SR_num16_dx = tf.SR_lev16_dx+30, tf.SR_num16_dy = tf.SR_lev16_dy, tf.SR_cap16_dx = tf.scene_thum_x[16], tf.SR_cap16_dy = tf.scene_thum_y[16] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev17_dx = tf.scene_thum_x[17]+7 , tf.SR_lev17_dy = tf.scene_thum_y[17]+7, tf.SR_num17_dx = tf.SR_lev17_dx+30, tf.SR_num17_dy = tf.SR_lev17_dy, tf.SR_cap17_dx = tf.scene_thum_x[17], tf.SR_cap17_dy = tf.scene_thum_y[17] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev18_dx = tf.scene_thum_x[18]+7 , tf.SR_lev18_dy = tf.scene_thum_y[18]+7, tf.SR_num18_dx = tf.SR_lev18_dx+30, tf.SR_num18_dy = tf.SR_lev18_dy, tf.SR_cap18_dx = tf.scene_thum_x[18], tf.SR_cap18_dy = tf.scene_thum_y[18] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev19_dx = tf.scene_thum_x[19]+7 , tf.SR_lev19_dy = tf.scene_thum_y[19]+7, tf.SR_num19_dx = tf.SR_lev19_dx+30, tf.SR_num19_dy = tf.SR_lev19_dy, tf.SR_cap19_dx = tf.scene_thum_x[19], tf.SR_cap19_dy = tf.scene_thum_y[19] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;	[eval exp="tf.SR_lev20_dx = tf.scene_thum_x[20]+7 , tf.SR_lev20_dy = tf.scene_thum_y[20]+7, tf.SR_num20_dx = tf.SR_lev20_dx+30, tf.SR_num20_dy = tf.SR_lev20_dy, tf.SR_cap20_dx = tf.scene_thum_x[20], tf.SR_cap20_dy = tf.scene_thum_y[20] + sf.sr_thum_h - tf.sr_cap_h + 4"]
;
;	;フタナリパックでは起動時立てだけどここでいいや
;	[eval exp="sf.b_ch_page01 = 'b_sel_ch01'"]
;	[eval exp="sf.b_ch_page02 = 'b_sel_ch02'"]
;	[eval exp="sf.b_ch_page03 = 'b_sel_ch03'"]
;	[eval exp="sf.b_ch_page04 = 'b_sel_other'"]
;

; アルバム画面で使用するメッセージレイヤ
[eval exp="tf.scene_message = 'message1'"]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target="*scene_return" storage="b_scene.ks" enabled=true]

; メッセージレイヤの属性を設定
[position layer="&tf.scene_message" page=fore left=0 top=0 width="&kag.scWidth" height="&kag.scHeight" frame="" color=0x000000 opacity=0 marginl=0 margint=0 marginr=0 marginb=0 draggable=false visible=true]
[current layer="&tf.scene_message"]

;キャプション用レイヤの定義 1と2はページボタンと移動ボタンで使用済み
[eval exp="tf.layer_cap01 = 5"]
[eval exp="tf.layer_cap02 = 6"]
[eval exp="tf.layer_cap03 = 7"]
[eval exp="tf.layer_cap04 = 8"]
[eval exp="tf.layer_cap05 = 9"]
[eval exp="tf.layer_cap06 = 10"]
[eval exp="tf.layer_cap07 = 11"]
[eval exp="tf.layer_cap08 = 12"]
[eval exp="tf.layer_cap09 = 13"]
[eval exp="tf.layer_cap10 = 14"]
;これ以上増やす場合はレイヤ数の調整が必要
[eval exp="tf.layer_cap11 = 15"]
[eval exp="tf.layer_cap12 = 16"]
[eval exp="tf.layer_cap13 = 17"]
[eval exp="tf.layer_cap14 = 18"]
[eval exp="tf.layer_cap15 = 19"]
[eval exp="tf.layer_cap16 = 20"]
[eval exp="tf.layer_cap17 = 21"]
[eval exp="tf.layer_cap18 = 22"]
[eval exp="tf.layer_cap19 = 23"]
[eval exp="tf.layer_cap20 = 24"]


;初回に来た時用
[if exp="sf.SR_page == void"]
	[eval exp="sf.SR_page = 1"]
;[endif]
;[if    exp="tf.b_ch_page == void"]
;	[eval exp="tf.b_ch_page = 1"]
;	[call storage="b_scene_init_ch01.ks"]
[endif]




;最大ページ数定義 これはfirst_xyで定義
;[eval exp="sf.SR_page_max = 4"]

;念のタメ ページ変数がページ数より多くなっちゃったら3にしておく
[if exp="sf.SR_page > sf.SR_page_max"]
	[eval exp="sf.SR_page = sf.SR_page_max"]
[endif]


; ページ内容描画へ。飛び先でまたジャンプあるからcallじゃなくてjumpにしておく。
;[jump storage="b_scene_sub.ks"]

;邪淫用　メインタイトルと再生するの別だからgostartしたあとではなくここでやる
;BGM何も鳴ってなければ再生する
[if exp="kag.bgm.currentBuffer.status == 'stop' || kag.bgm.currentBuffer.status == 'unload'"]
	;BGM再生
	[bgmTitle]
[endif]
;-------------------------------------------
;--------------scene_sub.ks-----------------
;-------------------------------------------
;------------------------------------------------
*SR再描画

[cm]
[cgthum_int]
; 背景画像を読み込み、表示
[image storage="&sf.addgameID + 'bg_scene01'" layer=base page=fore]


;オマケモード間の移動ボタン呼び出し
[call storage="b_sub.ks"]


; 「戻る」ボタンを表示
[locate x="&tf.b_menuX[3]" y="&tf.b_menuY[3]"]
[button graphic="bnsjump_back" target=*scene_return]


; ページボタン表示
; [chbt_SR]
[pagebt_SR]

[デバッグ用開放ボタン x=0 y=660]

;------------------------------------------------
; サムネイルベースを表示

;[eval exp="tf.capopa_off = 100"]
[eval exp="tf.capopa_off = 255"]

[freeimage layer="&tf.layer_cap01" page=fore]
[freeimage layer="&tf.layer_cap02" page=fore]
[freeimage layer="&tf.layer_cap03" page=fore]
[freeimage layer="&tf.layer_cap04" page=fore]
[freeimage layer="&tf.layer_cap05" page=fore]
[freeimage layer="&tf.layer_cap06" page=fore]
[freeimage layer="&tf.layer_cap07" page=fore]
[freeimage layer="&tf.layer_cap08" page=fore]
[freeimage layer="&tf.layer_cap09" page=fore]
[freeimage layer="&tf.layer_cap10" page=fore]
[freeimage layer="&tf.layer_cap11" page=fore]
[freeimage layer="&tf.layer_cap12" page=fore]
[freeimage layer="&tf.layer_cap13" page=fore]
[freeimage layer="&tf.layer_cap14" page=fore]
[freeimage layer="&tf.layer_cap15" page=fore]
[freeimage layer="&tf.layer_cap16" page=fore]
[freeimage layer="&tf.layer_cap17" page=fore]
[freeimage layer="&tf.layer_cap18" page=fore]
[freeimage layer="&tf.layer_cap19" page=fore]
[freeimage layer="&tf.layer_cap20" page=fore]

;レイヤ増やしたくないから1枚に全部はるか座標定義がめんどくなるけど
[if    exp="(tf.b_ch_page == 1 || tf.b_ch_page == 2) && sf.SR_page != 6"]
	[image storage="chara_int" layer="&tf.layer_cap01" page=fore visible=true left="0"  top="0"]
[else]
	[freeimage layer="&tf.layer_cap01" page=fore][freeimage layer="&tf.layer_cap01" page=back]
[endif]


[if    exp="sf.SR_slot01 == 0 && sf.SR_thm01 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[1]" dy="&tf.scene_thum_y[1]"]
[elsif exp="sf.SR_slot01"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[1]" dy="&tf.scene_thum_y[1]"]
	[pimage storage="&sf.SR_thm01+'_thum'"          layer=base page=fore visible=true dx="&tf.scene_thum_x[1]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[1] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap01 != void"]
;;		[pimage storage="&sf.SR_cap01" layer=base page=fore visible=true dx="&tf.scene_thum_x[1]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[1] + sf.sr_thum_m_y"]
;		;貼るものの数増えるとややこしいので透明tf.layer_cap01にpimageする
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev01_dx" dy="&tf.SR_lev01_dy"]
;		[pimage storage="&sf.SR_num01"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num01_dx" dy="&tf.SR_num01_dy"]
;		[pimage storage="&sf.SR_cap01"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap01_dx" dy="&tf.SR_cap01_dy"]
;	[endif]
;フレーム自体を色変えしたいようなのでフレーム分のずらしは入れない
;	[locate                                                                            x="&tf.scene_thum_x[1]  + sf.sr_thum_m_x"  y="&tf.scene_thum_y[1]  + sf.sr_thum_m_y"]
;マウスオーバーがサムネより大きいからズレるんだよなぁ
	[locate                                                                            x="&tf.scene_thum_x[1] "  y="&tf.scene_thum_y[1] + sf.sr_thum_m_y - 2"]
;sf制御だと全部ついちゃうから個別に配列にキャプション名があったらにしたほうが
;	[if    exp="sf.SR_cap == void"]
	[if    exp="sf.SR_cap01 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 1"]
;	[elsif exp="sf.SR_cap != void"]
	[elsif exp="sf.SR_cap01 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 1"  onenter="kag.fore.layers[tf.layer_cap01].opacity = 255" onleave="kag.fore.layers[tf.layer_cap01].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap01" layer="&tf.layer_cap01" page=fore visible=true left="&tf.scene_thum_x[1]"  top="&tf.scene_thum_y[1]"  opacity="&tf.capopa_off"]

	[endif]

	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race01" x="&tf.scene_thum_x[1]+10"  y="&tf.scene_thum_y[1]+10"]
	[SR_enm_text text="&sf.enm_name01" x="&tf.scene_thum_x[1]+10"  y="&tf.scene_thum_y[1]+10+18"]
	[endif]

[endif]

[if    exp="sf.SR_slot02 == 0 && sf.SR_thm02 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[2]" dy="&tf.scene_thum_y[2]"]
[elsif exp="sf.SR_slot02"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[2]" dy="&tf.scene_thum_y[2]"]
	[pimage storage="&sf.SR_thm02+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[2]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[2] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap02 != void"]
;		;[pimage storage="&sf.SR_cap02" layer=base page=fore visible=true dx="&tf.scene_thum_x[2]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[2] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev02_dx" dy="&tf.SR_lev02_dy"]
;		[pimage storage="&sf.SR_num02"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num02_dx" dy="&tf.SR_num02_dy"]
;		[pimage storage="&sf.SR_cap02"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap02_dx" dy="&tf.SR_cap02_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[2] "  y="&tf.scene_thum_y[2] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap02 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 2"]
	[elsif exp="sf.SR_cap02 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 2"  onenter="kag.fore.layers[tf.layer_cap02].opacity = 255" onleave="kag.fore.layers[tf.layer_cap02].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap02" layer="&tf.layer_cap02" page=fore visible=true left="&tf.scene_thum_x[2]"  top="&tf.scene_thum_y[2]"  opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race02" x="&tf.scene_thum_x[2]+10"  y="&tf.scene_thum_y[2]+10"]
	[SR_enm_text text="&sf.enm_name02" x="&tf.scene_thum_x[2]+10"  y="&tf.scene_thum_y[2]+10+18"]
	[endif]

[endif]

[if    exp="sf.SR_slot03 == 0 && sf.SR_thm03 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[3]" dy="&tf.scene_thum_y[3]"]
[elsif exp="sf.SR_slot03"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[3]" dy="&tf.scene_thum_y[3]"]
	[pimage storage="&sf.SR_thm03+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[3]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[3] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap03 != void"]
;		;[pimage storage="&sf.SR_cap03" layer=base page=fore visible=true dx="&tf.scene_thum_x[3]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[3] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev03_dx" dy="&tf.SR_lev03_dy"]
;		[pimage storage="&sf.SR_num03"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num03_dx" dy="&tf.SR_num03_dy"]
;		[pimage storage="&sf.SR_cap03"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap03_dx" dy="&tf.SR_cap03_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[3] "  y="&tf.scene_thum_y[3] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap03 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 3"]
	[elsif exp="sf.SR_cap03 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 3"  onenter="kag.fore.layers[tf.layer_cap03].opacity = 255" onleave="kag.fore.layers[tf.layer_cap03].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap03" layer="&tf.layer_cap03" page=fore visible=true left="&tf.scene_thum_x[3]"  top="&tf.scene_thum_y[3]"  opacity="&tf.capopa_off"]
	[endif]

	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race03" x="&tf.scene_thum_x[3]+10"  y="&tf.scene_thum_y[3]+10"]
	[SR_enm_text text="&sf.enm_name03" x="&tf.scene_thum_x[3]+10"  y="&tf.scene_thum_y[3]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot04 == 0 && sf.SR_thm04 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[4]" dy="&tf.scene_thum_y[4]"]
[elsif exp="sf.SR_slot04"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[4]" dy="&tf.scene_thum_y[4]"]
	[pimage storage="&sf.SR_thm04+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[4]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[4] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap04 != void"]
;		;[pimage storage="&sf.SR_cap04" layer=base page=fore visible=true dx="&tf.scene_thum_x[4]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[4] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev04_dx" dy="&tf.SR_lev04_dy"]
;		[pimage storage="&sf.SR_num04"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num04_dx" dy="&tf.SR_num04_dy"]
;		[pimage storage="&sf.SR_cap04"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap04_dx" dy="&tf.SR_cap04_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[4] "  y="&tf.scene_thum_y[4] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap04 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 4"]
	[elsif exp="sf.SR_cap04 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 4"  onenter="kag.fore.layers[tf.layer_cap04].opacity = 255" onleave="kag.fore.layers[tf.layer_cap04].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap04" layer="&tf.layer_cap04" page=fore visible=true left="&tf.scene_thum_x[4]"  top="&tf.scene_thum_y[4]"  opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race04" x="&tf.scene_thum_x[4]+10"  y="&tf.scene_thum_y[4]+10"]
	[SR_enm_text text="&sf.enm_name04" x="&tf.scene_thum_x[4]+10"  y="&tf.scene_thum_y[4]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot05 == 0 && sf.SR_thm05 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[5]" dy="&tf.scene_thum_y[5]"]
[elsif exp="sf.SR_slot05"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[5]" dy="&tf.scene_thum_y[5]"]
	[pimage storage="&sf.SR_thm05+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[5]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[5] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap05 != void"]
;		;[pimage storage="&sf.SR_cap05" layer=base page=fore visible=true dx="&tf.scene_thum_x[5]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[5] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev05_dx" dy="&tf.SR_lev05_dy"]
;		[pimage storage="&sf.SR_num05"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num05_dx" dy="&tf.SR_num05_dy"]
;		[pimage storage="&sf.SR_cap05"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap05_dx" dy="&tf.SR_cap05_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[5] "  y="&tf.scene_thum_y[5] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap05 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 5"]
	[elsif exp="sf.SR_cap05 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 5"  onenter="kag.fore.layers[tf.layer_cap05].opacity = 255" onleave="kag.fore.layers[tf.layer_cap05].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap05" layer="&tf.layer_cap05" page=fore visible=true left="&tf.scene_thum_x[5]"  top="&tf.scene_thum_y[5]"  opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race05" x="&tf.scene_thum_x[5]+10"  y="&tf.scene_thum_y[5]+10"]
	[SR_enm_text text="&sf.enm_name05" x="&tf.scene_thum_x[5]+10"  y="&tf.scene_thum_y[5]+10+18"]
	[endif]
[endif]

;-----------------------------------------------------
[if    exp="sf.SR_slot06 == 0 && sf.SR_thm06 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[6]" dy="&tf.scene_thum_y[6]"]
[elsif exp="sf.SR_slot06"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[6]" dy="&tf.scene_thum_y[6]"]
	[pimage storage="&sf.SR_thm06+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[6]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[6] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap06 != void"]
;		;[pimage storage="&sf.SR_cap06" layer=base page=fore visible=true dx="&tf.scene_thum_x[6]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[6] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev06_dx" dy="&tf.SR_lev06_dy"]
;		[pimage storage="&sf.SR_num06"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num06_dx" dy="&tf.SR_num06_dy"]
;		[pimage storage="&sf.SR_cap06"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap06_dx" dy="&tf.SR_cap06_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[6] "  y="&tf.scene_thum_y[6] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap06 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 6"]
	[elsif exp="sf.SR_cap06 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 6"  onenter="kag.fore.layers[tf.layer_cap06].opacity = 255" onleave="kag.fore.layers[tf.layer_cap06].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap06" layer="&tf.layer_cap06" page=fore visible=true left="&tf.scene_thum_x[6]"  top="&tf.scene_thum_y[6]"  opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race06" x="&tf.scene_thum_x[6]+10"  y="&tf.scene_thum_y[6]+10"]
	[SR_enm_text text="&sf.enm_name06" x="&tf.scene_thum_x[6]+10"  y="&tf.scene_thum_y[6]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot07 == 0 && sf.SR_thm07 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[7]" dy="&tf.scene_thum_y[7]"]
[elsif exp="sf.SR_slot07"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[7]" dy="&tf.scene_thum_y[7]"]
	[pimage storage="&sf.SR_thm07+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[7]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[7] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap07 != void"]
;		;[pimage storage="&sf.SR_cap07" layer=base page=fore visible=true dx="&tf.scene_thum_x[7]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[7] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev07_dx" dy="&tf.SR_lev07_dy"]
;		[pimage storage="&sf.SR_num07"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num07_dx" dy="&tf.SR_num07_dy"]
;		[pimage storage="&sf.SR_cap07"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap07_dx" dy="&tf.SR_cap07_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[7] "  y="&tf.scene_thum_y[7] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap07 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 7"]
	[elsif exp="sf.SR_cap07 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 7"  onenter="kag.fore.layers[tf.layer_cap07].opacity = 255" onleave="kag.fore.layers[tf.layer_cap07].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap07" layer="&tf.layer_cap07" page=fore visible=true left="&tf.scene_thum_x[7]"  top="&tf.scene_thum_y[7]"  opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race07" x="&tf.scene_thum_x[7]+10"  y="&tf.scene_thum_y[7]+10"]
	[SR_enm_text text="&sf.enm_name07" x="&tf.scene_thum_x[7]+10"  y="&tf.scene_thum_y[7]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot08 == 0 && sf.SR_thm08 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[8]" dy="&tf.scene_thum_y[8]"]
[elsif exp="sf.SR_slot08"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[8]" dy="&tf.scene_thum_y[8]"]
	[pimage storage="&sf.SR_thm08+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[8]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[8] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap08 != void"]
;		;[pimage storage="&sf.SR_cap08" layer=base page=fore visible=true dx="&tf.scene_thum_x[8]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[8] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev08_dx" dy="&tf.SR_lev08_dy"]
;		[pimage storage="&sf.SR_num08"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num08_dx" dy="&tf.SR_num08_dy"]
;		[pimage storage="&sf.SR_cap08"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap08_dx" dy="&tf.SR_cap08_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[8] "  y="&tf.scene_thum_y[8] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap08 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 8"]
	[elsif exp="sf.SR_cap08 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 8"  onenter="kag.fore.layers[tf.layer_cap08].opacity = 255" onleave="kag.fore.layers[tf.layer_cap08].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap08" layer="&tf.layer_cap08" page=fore visible=true left="&tf.scene_thum_x[8]"  top="&tf.scene_thum_y[8]"  opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race08" x="&tf.scene_thum_x[8]+10"  y="&tf.scene_thum_y[8]+10"]
	[SR_enm_text text="&sf.enm_name08" x="&tf.scene_thum_x[8]+10"  y="&tf.scene_thum_y[8]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot09 == 0 && sf.SR_thm09 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[9]" dy="&tf.scene_thum_y[9]"]
[elsif exp="sf.SR_slot09"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[9]" dy="&tf.scene_thum_y[9]"]
	[pimage storage="&sf.SR_thm09+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[9]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[9] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap09 != void"]
;		;[pimage storage="&sf.SR_cap09" layer=base page=fore visible=true dx="&tf.scene_thum_x[9]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[9] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev09_dx" dy="&tf.SR_lev09_dy"]
;		[pimage storage="&sf.SR_num09"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num09_dx" dy="&tf.SR_num09_dy"]
;		[pimage storage="&sf.SR_cap09"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap09_dx" dy="&tf.SR_cap09_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[9] "  y="&tf.scene_thum_y[9] + sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap09 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 9"]
	[elsif exp="sf.SR_cap09 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 9"  onenter="kag.fore.layers[tf.layer_cap09].opacity = 255" onleave="kag.fore.layers[tf.layer_cap09].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap09" layer="&tf.layer_cap09" page=fore visible=true left="&tf.scene_thum_x[9]"  top="&tf.scene_thum_y[9]"  opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race09" x="&tf.scene_thum_x[9]+10"  y="&tf.scene_thum_y[9]+10"]
	[SR_enm_text text="&sf.enm_name09" x="&tf.scene_thum_x[9]+10"  y="&tf.scene_thum_y[9]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot10 == 0 && sf.SR_thm10 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[10]" dy="&tf.scene_thum_y[10]"]
[elsif exp="sf.SR_slot10"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[10]" dy="&tf.scene_thum_y[10]"]
	[pimage storage="&sf.SR_thm10+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[10] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[10] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap10 != void"]
;		;[pimage storage="&sf.SR_cap10" layer=base page=fore visible=true dx="&tf.scene_thum_x[10]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[10] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev10_dx" dy="&tf.SR_lev10_dy"]
;		[pimage storage="&sf.SR_num10"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num10_dx" dy="&tf.SR_num10_dy"]
;		[pimage storage="&sf.SR_cap10"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap10_dx" dy="&tf.SR_cap10_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[10]"  y="&tf.scene_thum_y[10]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap10 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 10"]
	[elsif exp="sf.SR_cap10 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 10" onenter="kag.fore.layers[tf.layer_cap10].opacity = 255" onleave="kag.fore.layers[tf.layer_cap10].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap10" layer="&tf.layer_cap10" page=fore visible=true left="&tf.scene_thum_x[10]" top="&tf.scene_thum_y[10]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race10" x="&tf.scene_thum_x[10]+10" y="&tf.scene_thum_y[10]+10"]
	[SR_enm_text text="&sf.enm_name10" x="&tf.scene_thum_x[10]+10" y="&tf.scene_thum_y[10]+10+18"]
	[endif]
[endif]

;-----------------------------------------------------
[if    exp="sf.SR_slot11 == 0 && sf.SR_thm11 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[11]" dy="&tf.scene_thum_y[11]"]
[elsif exp="sf.SR_slot11"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[11]" dy="&tf.scene_thum_y[11]"]
	[pimage storage="&sf.SR_thm11+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[11] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[11] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap11 != void"]
;		;[pimage storage="&sf.SR_cap11" layer=base page=fore visible=true dx="&tf.scene_thum_x[11]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[11] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev11_dx" dy="&tf.SR_lev11_dy"]
;		[pimage storage="&sf.SR_num11"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num11_dx" dy="&tf.SR_num11_dy"]
;		[pimage storage="&sf.SR_cap11"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap11_dx" dy="&tf.SR_cap11_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[11]"  y="&tf.scene_thum_y[11]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap11 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 11"]
	[elsif exp="sf.SR_cap11 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 11" onenter="kag.fore.layers[tf.layer_cap11].opacity = 255" onleave="kag.fore.layers[tf.layer_cap11].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap11" layer="&tf.layer_cap11" page=fore visible=true left="&tf.scene_thum_x[11]" top="&tf.scene_thum_y[11]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race11" x="&tf.scene_thum_x[11]+10" y="&tf.scene_thum_y[11]+10"]
	[SR_enm_text text="&sf.enm_name11" x="&tf.scene_thum_x[11]+10" y="&tf.scene_thum_y[11]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot12 == 0 && sf.SR_thm12 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[12]" dy="&tf.scene_thum_y[12]"]
[elsif exp="sf.SR_slot12"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[12]" dy="&tf.scene_thum_y[12]"]
	[pimage storage="&sf.SR_thm12+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[12] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[12] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap12 != void"]
;		;[pimage storage="&sf.SR_cap12" layer=base page=fore visible=true dx="&tf.scene_thum_x[12]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[12] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev12_dx" dy="&tf.SR_lev12_dy"]
;		[pimage storage="&sf.SR_num12"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num12_dx" dy="&tf.SR_num12_dy"]
;		[pimage storage="&sf.SR_cap12"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap12_dx" dy="&tf.SR_cap12_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[12]"  y="&tf.scene_thum_y[12]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap12 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 12"]
	[elsif exp="sf.SR_cap12 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 12" onenter="kag.fore.layers[tf.layer_cap12].opacity = 255" onleave="kag.fore.layers[tf.layer_cap12].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap12" layer="&tf.layer_cap12" page=fore visible=true left="&tf.scene_thum_x[12]" top="&tf.scene_thum_y[12]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race12" x="&tf.scene_thum_x[12]+10" y="&tf.scene_thum_y[12]+10"]
	[SR_enm_text text="&sf.enm_name12" x="&tf.scene_thum_x[12]+10" y="&tf.scene_thum_y[12]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot13 == 0 && sf.SR_thm13 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[13]" dy="&tf.scene_thum_y[13]"]
[elsif exp="sf.SR_slot13"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[13]" dy="&tf.scene_thum_y[13]"]
	[pimage storage="&sf.SR_thm13+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[13] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[13] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap13 != void"]
;		;[pimage storage="&sf.SR_cap13" layer=base page=fore visible=true dx="&tf.scene_thum_x[13]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[13] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev13_dx" dy="&tf.SR_lev13_dy"]
;		[pimage storage="&sf.SR_num13"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num13_dx" dy="&tf.SR_num13_dy"]
;		[pimage storage="&sf.SR_cap13"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap13_dx" dy="&tf.SR_cap13_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[13]"  y="&tf.scene_thum_y[13]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap13 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 13"]
	[elsif exp="sf.SR_cap13 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 13" onenter="kag.fore.layers[tf.layer_cap13].opacity = 255" onleave="kag.fore.layers[tf.layer_cap13].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap13" layer="&tf.layer_cap13" page=fore visible=true left="&tf.scene_thum_x[13]" top="&tf.scene_thum_y[13]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race13" x="&tf.scene_thum_x[13]+10" y="&tf.scene_thum_y[13]+10"]
	[SR_enm_text text="&sf.enm_name13" x="&tf.scene_thum_x[13]+10" y="&tf.scene_thum_y[13]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot14 == 0 && sf.SR_thm14 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[14]" dy="&tf.scene_thum_y[14]"]
[elsif exp="sf.SR_slot14"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[14]" dy="&tf.scene_thum_y[14]"]
	[pimage storage="&sf.SR_thm14+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[14] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[14] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap14 != void"]
;		;[pimage storage="&sf.SR_cap14" layer=base page=fore visible=true dx="&tf.scene_thum_x[14]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[14] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev14_dx" dy="&tf.SR_lev14_dy"]
;		[pimage storage="&sf.SR_num14"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num14_dx" dy="&tf.SR_num14_dy"]
;		[pimage storage="&sf.SR_cap14"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap14_dx" dy="&tf.SR_cap14_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[14]"  y="&tf.scene_thum_y[14]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap14 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 14"]
	[elsif exp="sf.SR_cap14 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 14" onenter="kag.fore.layers[tf.layer_cap14].opacity = 255" onleave="kag.fore.layers[tf.layer_cap14].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap14" layer="&tf.layer_cap14" page=fore visible=true left="&tf.scene_thum_x[14]" top="&tf.scene_thum_y[14]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race14" x="&tf.scene_thum_x[14]+10" y="&tf.scene_thum_y[14]+10"]
	[SR_enm_text text="&sf.enm_name14" x="&tf.scene_thum_x[14]+10" y="&tf.scene_thum_y[14]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot15 == 0 && sf.SR_thm15 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[15]" dy="&tf.scene_thum_y[15]"]
[elsif exp="sf.SR_slot15"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[15]" dy="&tf.scene_thum_y[15]"]
	[pimage storage="&sf.SR_thm15+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[15] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[15] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap15 != void"]
;		;[pimage storage="&sf.SR_cap15" layer=base page=fore visible=true dx="&tf.scene_thum_x[15]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[15] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev15_dx" dy="&tf.SR_lev15_dy"]
;		[pimage storage="&sf.SR_num15"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num15_dx" dy="&tf.SR_num15_dy"]
;		[pimage storage="&sf.SR_cap15"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap15_dx" dy="&tf.SR_cap15_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[15]"  y="&tf.scene_thum_y[15]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap15 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 15"]
	[elsif exp="sf.SR_cap15 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 15" onenter="kag.fore.layers[tf.layer_cap15].opacity = 255" onleave="kag.fore.layers[tf.layer_cap15].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap15" layer="&tf.layer_cap15" page=fore visible=true left="&tf.scene_thum_x[15]" top="&tf.scene_thum_y[15]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race15" x="&tf.scene_thum_x[15]+10" y="&tf.scene_thum_y[15]+10"]
	[SR_enm_text text="&sf.enm_name15" x="&tf.scene_thum_x[15]+10" y="&tf.scene_thum_y[15]+10+18"]
	[endif]
[endif]


;-----------------------------------------------------
[if    exp="sf.SR_slot16 == 0 && sf.SR_thm16 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[16]" dy="&tf.scene_thum_y[16]"]
[elsif exp="sf.SR_slot16"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[16]" dy="&tf.scene_thum_y[16]"]
	[pimage storage="&sf.SR_thm16+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[16] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[16] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap16 != void"]
;		;[pimage storage="&sf.SR_cap16" layer=base page=fore visible=true dx="&tf.scene_thum_x[16]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[16] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev16_dx" dy="&tf.SR_lev16_dy"]
;		[pimage storage="&sf.SR_num16"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num16_dx" dy="&tf.SR_num16_dy"]
;		[pimage storage="&sf.SR_cap16"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap16_dx" dy="&tf.SR_cap16_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[16]"  y="&tf.scene_thum_y[16]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap16 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 16"]
	[elsif exp="sf.SR_cap16 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 16" onenter="kag.fore.layers[tf.layer_cap16].opacity = 255" onleave="kag.fore.layers[tf.layer_cap16].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap16" layer="&tf.layer_cap16" page=fore visible=true left="&tf.scene_thum_x[16]" top="&tf.scene_thum_y[16]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race16" x="&tf.scene_thum_x[16]+10" y="&tf.scene_thum_y[16]+10"]
	[SR_enm_text text="&sf.enm_name16" x="&tf.scene_thum_x[16]+10" y="&tf.scene_thum_y[16]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot17 == 0 && sf.SR_thm17 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[17]" dy="&tf.scene_thum_y[17]"]
[elsif exp="sf.SR_slot17"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[17]" dy="&tf.scene_thum_y[17]"]
	[pimage storage="&sf.SR_thm17+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[17] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[17] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap17 != void"]
;		;[pimage storage="&sf.SR_cap17" layer=base page=fore visible=true dx="&tf.scene_thum_x[17]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[17] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev17_dx" dy="&tf.SR_lev17_dy"]
;		[pimage storage="&sf.SR_num17"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num17_dx" dy="&tf.SR_num17_dy"]
;		[pimage storage="&sf.SR_cap17"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap17_dx" dy="&tf.SR_cap17_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[17]"  y="&tf.scene_thum_y[17]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap17 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 17"]
	[elsif exp="sf.SR_cap17 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 17" onenter="kag.fore.layers[tf.layer_cap17].opacity = 255" onleave="kag.fore.layers[tf.layer_cap17].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap17" layer="&tf.layer_cap17" page=fore visible=true left="&tf.scene_thum_x[17]" top="&tf.scene_thum_y[17]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race17" x="&tf.scene_thum_x[17]+10" y="&tf.scene_thum_y[17]+10"]
	[SR_enm_text text="&sf.enm_name17" x="&tf.scene_thum_x[17]+10" y="&tf.scene_thum_y[17]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot18 == 0 && sf.SR_thm18 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[18]" dy="&tf.scene_thum_y[18]"]
[elsif exp="sf.SR_slot18"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[18]" dy="&tf.scene_thum_y[18]"]
	[pimage storage="&sf.SR_thm18+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[18] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[18] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap18 != void"]
;		;[pimage storage="&sf.SR_cap18" layer=base page=fore visible=true dx="&tf.scene_thum_x[18]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[18] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev18_dx" dy="&tf.SR_lev18_dy"]
;		[pimage storage="&sf.SR_num18"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num18_dx" dy="&tf.SR_num18_dy"]
;		[pimage storage="&sf.SR_cap18"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap18_dx" dy="&tf.SR_cap18_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[18]"  y="&tf.scene_thum_y[18]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap18 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 18"]
	[elsif exp="sf.SR_cap18 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 18" onenter="kag.fore.layers[tf.layer_cap18].opacity = 255" onleave="kag.fore.layers[tf.layer_cap18].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap18" layer="&tf.layer_cap18" page=fore visible=true left="&tf.scene_thum_x[18]" top="&tf.scene_thum_y[18]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race18" x="&tf.scene_thum_x[18]+10" y="&tf.scene_thum_y[18]+10"]
	[SR_enm_text text="&sf.enm_name18" x="&tf.scene_thum_x[18]+10" y="&tf.scene_thum_y[18]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot19 == 0 && sf.SR_thm19 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[19]" dy="&tf.scene_thum_y[19]"]
[elsif exp="sf.SR_slot19"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[19]" dy="&tf.scene_thum_y[19]"]
	[pimage storage="&sf.SR_thm19+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[19] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[19] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap19 != void"]
;		;[pimage storage="&sf.SR_cap19" layer=base page=fore visible=true dx="&tf.scene_thum_x[19]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[19] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev19_dx" dy="&tf.SR_lev19_dy"]
;		[pimage storage="&sf.SR_num19"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num19_dx" dy="&tf.SR_num19_dy"]
;		[pimage storage="&sf.SR_cap19"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap19_dx" dy="&tf.SR_cap19_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[19]"  y="&tf.scene_thum_y[19]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap19 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 19"]
	[elsif exp="sf.SR_cap19 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 19" onenter="kag.fore.layers[tf.layer_cap19].opacity = 255" onleave="kag.fore.layers[tf.layer_cap19].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap19" layer="&tf.layer_cap19" page=fore visible=true left="&tf.scene_thum_x[19]" top="&tf.scene_thum_y[19]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race19" x="&tf.scene_thum_x[19]+10" y="&tf.scene_thum_y[19]+10"]
	[SR_enm_text text="&sf.enm_name19" x="&tf.scene_thum_x[19]+10" y="&tf.scene_thum_y[19]+10+18"]
	[endif]
[endif]

[if    exp="sf.SR_slot20 == 0 && sf.SR_thm20 != void"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[20]" dy="&tf.scene_thum_y[20]"]
[elsif exp="sf.SR_slot20"]
	[pimage storage="&sf.addgameID + 'thumbase_SR'" layer=base page=fore visible=true dx="&tf.scene_thum_x[20]" dy="&tf.scene_thum_y[20]"]
	[pimage storage="&sf.SR_thm20+'_thum'"           layer=base page=fore visible=true dx="&tf.scene_thum_x[20] + sf.sr_thum_m_x" dy="&tf.scene_thum_y[20] + sf.sr_thum_m_y"]
	;ゴブリン回数文字
;	[if exp="sf.SR_cap20 != void"]
;		;[pimage storage="&sf.SR_cap20" layer=base page=fore visible=true dx="&tf.scene_thum_x[20]  + sf.sr_thum_m_x" dy="&tf.scene_thum_y[20] + sf.sr_thum_m_y"]
;		[pimage storage="SRP_lv"          layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_lev20_dx" dy="&tf.SR_lev20_dy"]
;		[pimage storage="&sf.SR_num20"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_num20_dx" dy="&tf.SR_num20_dy"]
;		[pimage storage="&sf.SR_cap20"    layer="&tf.layer_cap01" page=fore visible=true dx="&tf.SR_cap20_dx" dy="&tf.SR_cap20_dy"]
;	[endif]
	[locate                                                                            x="&tf.scene_thum_x[20]"  y="&tf.scene_thum_y[20]+ sf.sr_thum_m_y - 2"]
	[if    exp="sf.SR_cap20 == void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 20"]
	[elsif exp="sf.SR_cap20 != void"]
		[button graphic="thum_mouseoverSR" target=*scene_select exp="tf.SR_click = 20" onenter="kag.fore.layers[tf.layer_cap20].opacity = 255" onleave="kag.fore.layers[tf.layer_cap20].opacity = tf.capopa_off"]
		[image storage="&sf.SR_cap20" layer="&tf.layer_cap20" page=fore visible=true left="&tf.scene_thum_x[20]" top="&tf.scene_thum_y[20]" opacity="&tf.capopa_off"]
	[endif]
	[if exp="sf.open_mob_name"]
	;名前/種族
	[SR_enm_text text="&sf.enm_race20" x="&tf.scene_thum_x[20]+10" y="&tf.scene_thum_y[20]+10"]
	[SR_enm_text text="&sf.enm_name20" x="&tf.scene_thum_x[20]+10" y="&tf.scene_thum_y[20]+10+18"]
	[endif]
[endif]


[s]


;------------------------------------------------

; シーンが選択された
*scene_select

;unlocklinkの前にボタンとか消さないとtrance中にボタン押せて危ない
;ブラックアウト前にサムネイルとサムネイルベースを消去　2014/01/27
;なんやこれはレイヤ間違えてるしそも消さなくていいのでは？
;[current layer=message0][layopt layer=message0 left=0 top=0 visible=true]
;[layopt layer="&tf.scene_message" visible=false]

;ブラックアウト
[image storage="effect_black" layer=0 page=fore visible=false left=0 top=0]
[image storage="effect_black" layer=0 page=back visible=true left=0 top=0]
[trans time=500 method=crossfade]
[wt canskip=false]

[cm]
[cgthum_int]

;[tempsave place=6]

; リンクのロックを解除
[unlocklink]
; ウェイト解除
[delay speed=user]
; 栞の機能を無効化（呼び出し先のKAGシナリオにセーブ可能なラベルがあるため）
[store enabled=false]

;右クリックの設定をする
[call storage="rclick_sub.ks"]

; 履歴レイヤを有効化
[history output=true enabled=true]
; 「自動的に読み進む」のを解除
[cancelautomode]
; スキップも解除
[cancelskip]
;BGM即時停止
[stopbgm]

;[backlay layer=message0]
;[layopt layer=message0 page=back visible=false]
;[trans method="crossfade" time=0]
;[wt]


;[layopt layer=0 page=back index=1000]

[wait_c time=500]
;こっちのcmは不要なのでオフる　2014/01/27
;シーン回想画面のボタン消去
;[cm]
[eval exp="tf.scenestart = 1"]

;回想飛ぶ前に白黒設定にsfを合わせる
[eval exp="f.SIROKURO = sf.SIROKURO"]

;ウィンドウ非表示中
[eval exp="f.winon = 0"]
;フェイスオン
[eval exp="f.face_win_on = 0"]

;[flag_init]
[eval exp="f.sysbt_posi = 'right'"   cond="sf.sysbt_posi == 'right'"]
[eval exp="f.sysbt_posi = 'horizon'" conf="sf.sysbt_posi == 'horizon'"]

[eval exp="f.order_1  = []" cond="f.order_1  == void"]
[eval exp="f.order_2  = []" cond="f.order_2  == void"]
[eval exp="f.order_3  = []" cond="f.order_3  == void"]
[eval exp="f.order_4  = []" cond="f.order_4  == void"]
[eval exp="f.order_5  = []" cond="f.order_5  == void"]
[eval exp="f.order_6  = []" cond="f.order_6  == void"]
[eval exp="f.order_7  = []" cond="f.order_7  == void"]
[eval exp="f.order_8  = []" cond="f.order_8  == void"]
[eval exp="f.order_9  = []" cond="f.order_9  == void"]
[eval exp="f.order_10 = []" cond="f.order_10 == void"]
[eval exp="f.order_11 = []" cond="f.order_11 == void"]


;フェイスオン が必要だけど服貼ってないとフレームだけになるから今回はやめとこ
;[eval exp="f.face_win_on = 1"]

;------------------------------------------------
;各シーンにジャンプ

;ページ分岐はいらないはず
;[if    exp="sf.SR_page == 1"]
	[if    exp="tf.SR_click ==  1"][eval exp="tf.scenesel_bg = sf.SR_thm01"][jump storage="&sf.SR_filename01 + '.ks'" target="&sf.SR_target01"]
	[elsif exp="tf.SR_click ==  2"][eval exp="tf.scenesel_bg = sf.SR_thm02"][jump storage="&sf.SR_filename02 + '.ks'" target="&sf.SR_target02"]
	[elsif exp="tf.SR_click ==  3"][eval exp="tf.scenesel_bg = sf.SR_thm03"][jump storage="&sf.SR_filename03 + '.ks'" target="&sf.SR_target03"]
	[elsif exp="tf.SR_click ==  4"][eval exp="tf.scenesel_bg = sf.SR_thm04"][jump storage="&sf.SR_filename04 + '.ks'" target="&sf.SR_target04"]
	[elsif exp="tf.SR_click ==  5"][eval exp="tf.scenesel_bg = sf.SR_thm05"][jump storage="&sf.SR_filename05 + '.ks'" target="&sf.SR_target05"]
	[elsif exp="tf.SR_click ==  6"][eval exp="tf.scenesel_bg = sf.SR_thm06"][jump storage="&sf.SR_filename06 + '.ks'" target="&sf.SR_target06"]
	[elsif exp="tf.SR_click ==  7"][eval exp="tf.scenesel_bg = sf.SR_thm07"][jump storage="&sf.SR_filename07 + '.ks'" target="&sf.SR_target07"]
	[elsif exp="tf.SR_click ==  8"][eval exp="tf.scenesel_bg = sf.SR_thm08"][jump storage="&sf.SR_filename08 + '.ks'" target="&sf.SR_target08"]
	[elsif exp="tf.SR_click ==  9"][eval exp="tf.scenesel_bg = sf.SR_thm09"][jump storage="&sf.SR_filename09 + '.ks'" target="&sf.SR_target09"]
	[elsif exp="tf.SR_click == 10"][eval exp="tf.scenesel_bg = sf.SR_thm10"][jump storage="&sf.SR_filename10 + '.ks'" target="&sf.SR_target10"]
	[elsif exp="tf.SR_click == 11"][eval exp="tf.scenesel_bg = sf.SR_thm11"][jump storage="&sf.SR_filename11 + '.ks'" target="&sf.SR_target11"]
	[elsif exp="tf.SR_click == 12"][eval exp="tf.scenesel_bg = sf.SR_thm12"][jump storage="&sf.SR_filename12 + '.ks'" target="&sf.SR_target12"]
	[elsif exp="tf.SR_click == 13"][eval exp="tf.scenesel_bg = sf.SR_thm13"][jump storage="&sf.SR_filename13 + '.ks'" target="&sf.SR_target13"]
	[elsif exp="tf.SR_click == 14"][eval exp="tf.scenesel_bg = sf.SR_thm14"][jump storage="&sf.SR_filename14 + '.ks'" target="&sf.SR_target14"]
	[elsif exp="tf.SR_click == 15"][eval exp="tf.scenesel_bg = sf.SR_thm15"][jump storage="&sf.SR_filename15 + '.ks'" target="&sf.SR_target15"]
	[elsif exp="tf.SR_click == 16"][eval exp="tf.scenesel_bg = sf.SR_thm16"][jump storage="&sf.SR_filename16 + '.ks'" target="&sf.SR_target16"]
	[elsif exp="tf.SR_click == 17"][eval exp="tf.scenesel_bg = sf.SR_thm17"][jump storage="&sf.SR_filename17 + '.ks'" target="&sf.SR_target17"]
	[elsif exp="tf.SR_click == 18"][eval exp="tf.scenesel_bg = sf.SR_thm18"][jump storage="&sf.SR_filename18 + '.ks'" target="&sf.SR_target18"]
	[elsif exp="tf.SR_click == 19"][eval exp="tf.scenesel_bg = sf.SR_thm19"][jump storage="&sf.SR_filename19 + '.ks'" target="&sf.SR_target19"]
	[elsif exp="tf.SR_click == 20"][eval exp="tf.scenesel_bg = sf.SR_thm20"][jump storage="&sf.SR_filename20 + '.ks'" target="&sf.SR_target20"]
	[endif]
;[endif]
;フェイルセーフ
[jump target=*back_from_SR2]

;-----------------------------------------------------------
;*sceneback
*back_from_SR
*back_from_SR2
;[tempload place=6]

;シーン回想からの戻り位置

;コンフィグに行ってたフラグをオフ
[eval exp="tf.slider_on_mes = 0"]
;回想中だとここに一旦戻るからここでコンフィグオフらないとだめか
[eval exp="tf.conf = 0"]






;クリックした場所のフラグオフ
[eval exp="tf.SR_click = 0"]
[eval exp="tf.scenestart = 0"]
[eval exp="tf.髪 = 0"]

;システムボタン＆ウィンドウ消去
[sysbt_meswin clear]


;[stopse_all]


;m:回想中→タイトルだと、どうもBGの切り替えに間ができるのでちょっとブラックアウトを避ける
[if exp="tf.title_pass2 == 0"]
	;BGM停止
	;[fadeoutbgm time=500]
	;[black_toplayer][trans_c cross][hide_chara_int]
	[ANTEN blk wait=0]

	[wait time=500 canskip=false]
[endif]

;通過処理終わったのでオフる
[eval exp="tf.title_pass2 = 0"]


[stopse_all]

;BGM即時停止
[stopbgm]
;SEフェード 一応戻しておこう
[seopt buf=0 volume=100]
[seopt buf=1 volume=100]
[seopt buf=2 volume=100]
[seopt buf=3 volume=100]

;白黒フラグを一端sfに保存
;[eval exp="sf.SIROKURO = f.SIROKURO"]

;回想中に使ったフラグのクリア
[clearvar]
;ここでクリアしちゃうから回想出た後は必ず白猫になっちゃうなぁ、やっぱsfでもったほうがいいか

;白黒フラグをfに書き戻し
;[eval exp="f.SIROKURO = sf.SIROKURO"]


;システムボタン＆ウィンドウ消去
[sysbt_meswin clear]

; マウス右クリックの設定を元に戻す
[rclick jump=true target="*scene_return" storage="b_scene.ks" enabled=true]

; 栞の機能を有効化（栞をはさむ／たどる共に有効になるため、更に↓のdisablestoreタグを使う）
[store enabled=true]
; 栞にはさめなくする（タイトルメニュー画面での設定に戻す）
[disablestore store=true restore=false]
;履歴のリセット
[eval exp="kag.historyLayer.clear()"] 
; 履歴レイヤを抑止
[history output=false enabled=false]

; ノーウェイトに戻す
[delay speed=nowait]


; アルバム画面で使用するメッセージレイヤ
[eval exp="tf.scene_message = 'message1'"]

; アルバム画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target="*scene_return" storage="b_scene.ks" enabled=true]

; メッセージレイヤの属性を設定
[position layer="&tf.scene_message" page=fore left=0 top=0 width="&kag.scWidth" height="&kag.scHeight" frame="" color=0x000000 opacity=0 marginl=0 margint=0 marginr=0 marginb=0 draggable=false visible=true]
[current layer="&tf.scene_message"]

;BGM何も鳴ってなければ再生する
[if exp="kag.bgm.currentBuffer.status == 'stop' || kag.bgm.currentBuffer.status == 'unload'"]
	;BGM再生
	[bgmTitle]
[endif]

[jump target=*SR再描画]

;------------------------------------------------

;
; 「戻る」が選択された
;
*scene_return

;[全消去]
[cgthum_int]
; メモリ上の栞６を読み込み、状態復帰
;[tempload place=6]

; マウス右クリックされたときの動作を元に戻す
[rclick enabled=false]

;シーンモード解除
[eval exp="tf.scene_mode = 0"]


;リターンだと面倒だから直にタイトルへ
;[jump storage="title.ks" target=*title_menu]
;バツっと切れるから一応ちゃんと止めてみる
;[fadeoutbgm time=100][wf canskip=false][stopbgm]
[gotostart]
;[return]

;------------------------------------------------
*debug_on
[eval exp="tf.d_onoff = 1"]
[jump target=*debug_onoff]

*debug_off
[eval exp="tf.d_onoff = 0"]
[jump target=*debug_onoff]
*debug_onoff

;ここ毎回書き換えめんどいなぁなんとかならんか
[eval exp="sf['SRP_' + sf.SR001[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR002[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR003[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR004[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR005[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR006[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR007[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR008[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR009[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR010[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR011[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR012[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR013[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR014[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR015[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR016[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR017[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR018[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR019[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR020[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR021[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR022[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR023[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR024[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR025[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR026[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR027[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR028[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR029[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR030[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR031[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR032[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR033[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR034[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR035[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR036[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR037[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR038[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR039[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR040[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR041[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR042[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR043[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR044[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR045[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR046[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR047[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR048[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR049[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR050[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR051[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR052[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR053[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR054[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR055[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR056[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR057[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR058[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR059[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR060[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR061[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR062[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR063[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR064[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR065[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR066[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR067[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR068[1] ] = tf.d_onoff"]
[eval exp="sf['SRP_' + sf.SR069[1] ] = tf.d_onoff"]

[call storage="&sf.addgameID + 'b_scene_init.ks'"]
[jump target=*SR再描画]

﻿
;                  [0]回想開放フラグ,[1]回想ファイル,[2]回想ラベル,[3]回想サムネ,[4]回想キャプション画像,[5]レベル数字画像
;回数文字　キャプションの配列つかうしかないか                                                                      



;[eval exp="sf.SR001 = [sf.SRP_シーン05_CG02,'シーン05_CG02','*scene_start','CG02','SRP00_cap']"]
;[eval exp="sf.SR002 = [sf.SRP_シーン06_CG03,'シーン06_CG03','*scene_start','CG03','SRP00_cap']"]
;[eval exp="sf.SR003 = [sf.SRP_シーン07_CG03,'シーン07_CG03','*scene_start','CG03','SRP00_cap']"]
;[eval exp="sf.SR004 = [sf.SRP_シーン08_CG04,'シーン08_CG04','*scene_start','CG04','SRP01_cap']"]
;[eval exp="sf.SR005 = [sf.SRP_シーン10_CG05,'シーン10_CG05','*scene_start','CG05','SRP02_cap']"]
;[eval exp="sf.SR006 = [sf.SRP_シーン11_CG06,'シーン11_CG06','*scene_start','CG06','SRP03_cap']"]

[eval exp="sf.SR001 = [sf.SRP_シーン08_CG04,'シーン08_CG04','*scene_start','CG04','SRP01_cap']"]
[eval exp="sf.SR002 = [sf.SRP_シーン10_CG05,'シーン10_CG05','*scene_start','CG05','SRP02_cap']"]
[eval exp="sf.SR003 = [sf.SRP_シーン11_CG06,'シーン11_CG06','*scene_start','CG06','SRP03_cap']"]
[eval exp="sf.SR004 = [sf.SRP_シーン13_CG07,'シーン13_CG07','*scene_start','CG07','SRP04_cap']"]
[eval exp="sf.SR005 = [sf.SRP_シーン14_CG08,'シーン14_CG08','*scene_start','CG08','SRP05_cap']"]
[eval exp="sf.SR006 = [sf.SRP_シーン15_CG09,'シーン15_CG09','*scene_start','CG09','SRP06_cap']"]

[eval exp="sf.SR007 = []"]
[eval exp="sf.SR008 = []"]
[eval exp="sf.SR009 = []"]
[eval exp="sf.SR010 = []"]
[eval exp="sf.SR011 = []"]
[eval exp="sf.SR012 = []"]
[eval exp="sf.SR013 = []"]
[eval exp="sf.SR014 = []"]
[eval exp="sf.SR015 = []"]
[eval exp="sf.SR016 = []"]
[eval exp="sf.SR017 = []"]
[eval exp="sf.SR018 = []"]
[eval exp="sf.SR019 = []"]
[eval exp="sf.SR020 = []"]
;2ページ目
;[eval exp="sf.SR021 = [sf.SRP_シーン12_CG02,'シーン12_CG02','*scene_start','CG02','SRP00_cap']"]
;[eval exp="sf.SR022 = [sf.SRP_シーン13_CG07,'シーン13_CG07','*scene_start','CG07','SRP04_cap']"]
;[eval exp="sf.SR023 = [sf.SRP_シーン14_CG08,'シーン14_CG08','*scene_start','CG08','SRP05_cap']"]
;[eval exp="sf.SR024 = [sf.SRP_シーン15_CG09,'シーン15_CG09','*scene_start','CG09','SRP06_cap']"]
;[eval exp="sf.SR025 = [sf.SRP_シーン16_CG10,'シーン16_CG10','*scene_start','CG10','SRP07_cap']"]
;[eval exp="sf.SR026 = [sf.SRP_シーン19_CG11,'シーン19_CG11','*scene_start','CG11','SRP08_cap']"]

[eval exp="sf.SR021 = [sf.SRP_シーン16_CG10,'シーン16_CG10','*scene_start','CG10','SRP07_cap']"]
[eval exp="sf.SR022 = [sf.SRP_シーン19_CG11,'シーン19_CG11','*scene_start','CG11','SRP08_cap']"]
[eval exp="sf.SR023 = [sf.SRP_シーン21_CG12,'シーン21_CG12','*scene_start','CG12','SRP09_cap']"]
[eval exp="sf.SR024 = [sf.SRP_シーン23_CG13,'シーン23_CG13','*scene_start','CG13','SRP10_cap']"]
[eval exp="sf.SR025 = [sf.SRP_シーン24_CG14,'シーン24_CG14','*scene_start','CG14','SRP11_cap']"]
[eval exp="sf.SR026 = [sf.SRP_シーン26_CG15,'シーン26_CG15','*scene_start','CG15','SRP12_cap']"]

[eval exp="sf.SR027 = []"]
[eval exp="sf.SR028 = []"]
[eval exp="sf.SR029 = []"]
[eval exp="sf.SR030 = []"]
[eval exp="sf.SR031 = []"]
[eval exp="sf.SR032 = []"]
[eval exp="sf.SR033 = []"]
[eval exp="sf.SR034 = []"]
[eval exp="sf.SR035 = []"]
[eval exp="sf.SR036 = []"]
[eval exp="sf.SR037 = []"]
[eval exp="sf.SR038 = []"]
[eval exp="sf.SR039 = []"]
[eval exp="sf.SR040 = []"]
;3ページ目 sf.gameclear
;[eval exp="sf.SR041 = [sf.SRP_シーン21_CG12,'シーン21_CG12','*scene_start','CG12','SRP09_cap']"]
;[eval exp="sf.SR042 = [sf.SRP_シーン22_CG03,'シーン22_CG03','*scene_start','CG03','SRP00_cap']"]
;[eval exp="sf.SR043 = [sf.SRP_シーン23_CG13,'シーン23_CG13','*scene_start','CG13','SRP10_cap']"]
;[eval exp="sf.SR044 = [sf.SRP_シーン24_CG14,'シーン24_CG14','*scene_start','CG14','SRP11_cap']"]
;[eval exp="sf.SR045 = [sf.SRP_シーン26_CG15,'シーン26_CG15','*scene_start','CG15','SRP12_cap']"]
;[eval exp="sf.SR046 = [sf.SRP_シーン27_CG16,'シーン27_CG16','*scene_start','CG16','SRP13_cap']"]

[eval exp="sf.SR041 = [sf.SRP_シーン27_CG16,'シーン27_CG16','*scene_start','CG16','SRP13_cap']"]
[eval exp="sf.SR042 = [sf.SRP_シーン33_CG17,'シーン33_CG17','*scene_start','CG17','SRP14_cap']"]
[eval exp="sf.SR043 = [sf.SRP_シーン35_CG19,'シーン35_CG19','*scene_start','CG19','SRP15_cap']"]
[eval exp="sf.SR044 = [sf.SRP_シーン38_CG20,'シーン38_CG20','*scene_start','CG20','SRP16_cap']"]
[eval exp="sf.SR045 = []"]
[eval exp="sf.SR046 = []"]
[eval exp="sf.SR047 = []"]
[eval exp="sf.SR048 = []"]
[eval exp="sf.SR049 = []"]
[eval exp="sf.SR050 = []"]
[eval exp="sf.SR051 = []"]
[eval exp="sf.SR052 = []"]
[eval exp="sf.SR053 = []"]
[eval exp="sf.SR054 = []"]
[eval exp="sf.SR055 = []"]
[eval exp="sf.SR056 = []"]
[eval exp="sf.SR057 = []"]
[eval exp="sf.SR058 = []"]
[eval exp="sf.SR059 = []"]
[eval exp="sf.SR060 = []"]
;4ページ目
;[eval exp="sf.SR061 = [sf.SRP_シーン29_CG02,'シーン29_CG02','*scene_start','CG02','SRP00_cap']"]
;[eval exp="sf.SR062 = [sf.SRP_シーン31_CG21,'シーン31_CG21','*scene_start','CG21','SRP00_cap']"]
;[eval exp="sf.SR063 = [sf.SRP_シーン33_CG17,'シーン33_CG17','*scene_start','CG17','SRP14_cap']"]
;[eval exp="sf.SR064 = [sf.SRP_シーン35_CG19,'シーン35_CG19','*scene_start','CG19','SRP15_cap']"]
;[eval exp="sf.SR065 = [sf.SRP_シーン38_CG20,'シーン38_CG20','*scene_start','CG20','SRP16_cap']"]

[eval exp="sf.SR061 = [1,'シーン43_販促パート','*scene_start1','販促1','SRP17_cap']"]
[eval exp="sf.SR062 = [1,'シーン43_販促パート','*scene_start2','販促2','SRP18_cap']"]
[eval exp="sf.SR063 = [1,'シーン43_販促パート','*scene_start3','販促3','SRP19_cap']"]
[eval exp="sf.SR064 = []"]
[eval exp="sf.SR065 = []"]
[eval exp="sf.SR066 = []"]
[eval exp="sf.SR067 = []"]
[eval exp="sf.SR068 = []"]
[eval exp="sf.SR069 = []"]
[eval exp="sf.SR070 = []"]
[eval exp="sf.SR071 = []"]
[eval exp="sf.SR072 = []"]
[eval exp="sf.SR073 = []"]
[eval exp="sf.SR074 = []"]
[eval exp="sf.SR075 = []"]
[eval exp="sf.SR076 = []"]
[eval exp="sf.SR077 = []"]
[eval exp="sf.SR078 = []"]
[eval exp="sf.SR079 = []"]
[eval exp="sf.SR080 = []"]
;5ページ目
[eval exp="sf.SR081 = []"]
[eval exp="sf.SR082 = []"]
[eval exp="sf.SR083 = []"]
[eval exp="sf.SR084 = []"]
[eval exp="sf.SR085 = []"]
[eval exp="sf.SR086 = []"]
[eval exp="sf.SR087 = []"]
[eval exp="sf.SR088 = []"]
[eval exp="sf.SR089 = []"]
[eval exp="sf.SR090 = []"]
[eval exp="sf.SR091 = []"]
[eval exp="sf.SR092 = []"]
[eval exp="sf.SR093 = []"]
[eval exp="sf.SR094 = []"]
[eval exp="sf.SR095 = []"]
[eval exp="sf.SR096 = []"]
[eval exp="sf.SR097 = []"]
[eval exp="sf.SR098 = []"]
[eval exp="sf.SR099 = []"]
[eval exp="sf.SR100 = []"]
[eval exp="sf.SR101 = []"]
[eval exp="sf.SR102 = []"]
[eval exp="sf.SR103 = []"]
[eval exp="sf.SR104 = []"]
[eval exp="sf.SR105 = []"]
[eval exp="sf.SR106 = []"]
[eval exp="sf.SR107 = []"]
[eval exp="sf.SR108 = []"]
[eval exp="sf.SR109 = []"]
[eval exp="sf.SR110 = []"]
[eval exp="sf.SR111 = []"]
[eval exp="sf.SR112 = []"]
[eval exp="sf.SR113 = []"]
[eval exp="sf.SR114 = []"]
[eval exp="sf.SR115 = []"]
[eval exp="sf.SR116 = []"]
[eval exp="sf.SR117 = []"]
[eval exp="sf.SR118 = []"]
[eval exp="sf.SR119 = []"]
[eval exp="sf.SR120 = []"]
[return]


;---------------------------------------
*SRとサムネ設定01
;                         回想開放フラグ                  回想ファイル                     回想ラベル                 回想サムネ    回想キャプション画像        レベル数字画像
[eval exp="sf.SR_slot01 = sf.SR001[0] , sf.SR_filename01 = sf.SR001[1] , sf.SR_target01 = sf.SR001[2] , sf.SR_thm01 = sf.SR001[3] , sf.SR_cap01 = sf.SR001[4] , sf.SR_num01 = sf.SR001[5]"]
[eval exp="sf.SR_slot02 = sf.SR002[0] , sf.SR_filename02 = sf.SR002[1] , sf.SR_target02 = sf.SR002[2] , sf.SR_thm02 = sf.SR002[3] , sf.SR_cap02 = sf.SR002[4] , sf.SR_num02 = sf.SR002[5]"]
[eval exp="sf.SR_slot03 = sf.SR003[0] , sf.SR_filename03 = sf.SR003[1] , sf.SR_target03 = sf.SR003[2] , sf.SR_thm03 = sf.SR003[3] , sf.SR_cap03 = sf.SR003[4] , sf.SR_num03 = sf.SR003[5]"]
[eval exp="sf.SR_slot04 = sf.SR004[0] , sf.SR_filename04 = sf.SR004[1] , sf.SR_target04 = sf.SR004[2] , sf.SR_thm04 = sf.SR004[3] , sf.SR_cap04 = sf.SR004[4] , sf.SR_num04 = sf.SR004[5]"]
[eval exp="sf.SR_slot05 = sf.SR005[0] , sf.SR_filename05 = sf.SR005[1] , sf.SR_target05 = sf.SR005[2] , sf.SR_thm05 = sf.SR005[3] , sf.SR_cap05 = sf.SR005[4] , sf.SR_num05 = sf.SR005[5]"]
[eval exp="sf.SR_slot06 = sf.SR006[0] , sf.SR_filename06 = sf.SR006[1] , sf.SR_target06 = sf.SR006[2] , sf.SR_thm06 = sf.SR006[3] , sf.SR_cap06 = sf.SR006[4] , sf.SR_num06 = sf.SR006[5]"]
[eval exp="sf.SR_slot07 = sf.SR007[0] , sf.SR_filename07 = sf.SR007[1] , sf.SR_target07 = sf.SR007[2] , sf.SR_thm07 = sf.SR007[3] , sf.SR_cap07 = sf.SR007[4] , sf.SR_num07 = sf.SR007[5]"]
[eval exp="sf.SR_slot08 = sf.SR008[0] , sf.SR_filename08 = sf.SR008[1] , sf.SR_target08 = sf.SR008[2] , sf.SR_thm08 = sf.SR008[3] , sf.SR_cap08 = sf.SR008[4] , sf.SR_num08 = sf.SR008[5]"]
[eval exp="sf.SR_slot09 = sf.SR009[0] , sf.SR_filename09 = sf.SR009[1] , sf.SR_target09 = sf.SR009[2] , sf.SR_thm09 = sf.SR009[3] , sf.SR_cap09 = sf.SR009[4] , sf.SR_num09 = sf.SR009[5]"]
[eval exp="sf.SR_slot10 = sf.SR010[0] , sf.SR_filename10 = sf.SR010[1] , sf.SR_target10 = sf.SR010[2] , sf.SR_thm10 = sf.SR010[3] , sf.SR_cap10 = sf.SR010[4] , sf.SR_num10 = sf.SR010[5]"]
[eval exp="sf.SR_slot11 = sf.SR011[0] , sf.SR_filename11 = sf.SR011[1] , sf.SR_target11 = sf.SR011[2] , sf.SR_thm11 = sf.SR011[3] , sf.SR_cap11 = sf.SR011[4] , sf.SR_num11 = sf.SR011[5]"]
[eval exp="sf.SR_slot12 = sf.SR012[0] , sf.SR_filename12 = sf.SR012[1] , sf.SR_target12 = sf.SR012[2] , sf.SR_thm12 = sf.SR012[3] , sf.SR_cap12 = sf.SR012[4] , sf.SR_num12 = sf.SR012[5]"]
[eval exp="sf.SR_slot13 = sf.SR013[0] , sf.SR_filename13 = sf.SR013[1] , sf.SR_target13 = sf.SR013[2] , sf.SR_thm13 = sf.SR013[3] , sf.SR_cap13 = sf.SR013[4] , sf.SR_num13 = sf.SR013[5]"]
[eval exp="sf.SR_slot14 = sf.SR014[0] , sf.SR_filename14 = sf.SR014[1] , sf.SR_target14 = sf.SR014[2] , sf.SR_thm14 = sf.SR014[3] , sf.SR_cap14 = sf.SR014[4] , sf.SR_num14 = sf.SR014[5]"]
[eval exp="sf.SR_slot15 = sf.SR015[0] , sf.SR_filename15 = sf.SR015[1] , sf.SR_target15 = sf.SR015[2] , sf.SR_thm15 = sf.SR015[3] , sf.SR_cap15 = sf.SR015[4] , sf.SR_num15 = sf.SR015[5]"]
[eval exp="sf.SR_slot16 = sf.SR016[0] , sf.SR_filename16 = sf.SR016[1] , sf.SR_target16 = sf.SR016[2] , sf.SR_thm16 = sf.SR016[3] , sf.SR_cap16 = sf.SR016[4] , sf.SR_num16 = sf.SR016[5]"]
[eval exp="sf.SR_slot17 = sf.SR017[0] , sf.SR_filename17 = sf.SR017[1] , sf.SR_target17 = sf.SR017[2] , sf.SR_thm17 = sf.SR017[3] , sf.SR_cap17 = sf.SR017[4] , sf.SR_num17 = sf.SR017[5]"]
[eval exp="sf.SR_slot18 = sf.SR018[0] , sf.SR_filename18 = sf.SR018[1] , sf.SR_target18 = sf.SR018[2] , sf.SR_thm18 = sf.SR018[3] , sf.SR_cap18 = sf.SR018[4] , sf.SR_num18 = sf.SR018[5]"]
[eval exp="sf.SR_slot19 = sf.SR019[0] , sf.SR_filename19 = sf.SR019[1] , sf.SR_target19 = sf.SR019[2] , sf.SR_thm19 = sf.SR019[3] , sf.SR_cap19 = sf.SR019[4] , sf.SR_num19 = sf.SR019[5]"]
[eval exp="sf.SR_slot20 = sf.SR020[0] , sf.SR_filename20 = sf.SR020[1] , sf.SR_target20 = sf.SR020[2] , sf.SR_thm20 = sf.SR020[3] , sf.SR_cap20 = sf.SR020[4] , sf.SR_num20 = sf.SR020[5]"]

[return]
;---------------------------------------
*SRとサムネ設定02
[eval exp="sf.SR_slot01 = sf.SR021[0] , sf.SR_filename01 = sf.SR021[1] , sf.SR_target01 = sf.SR021[2] , sf.SR_thm01 = sf.SR021[3] , sf.SR_cap01 = sf.SR021[4] , sf.SR_num01 = sf.SR021[5]"]
[eval exp="sf.SR_slot02 = sf.SR022[0] , sf.SR_filename02 = sf.SR022[1] , sf.SR_target02 = sf.SR022[2] , sf.SR_thm02 = sf.SR022[3] , sf.SR_cap02 = sf.SR022[4] , sf.SR_num02 = sf.SR022[5]"]
[eval exp="sf.SR_slot03 = sf.SR023[0] , sf.SR_filename03 = sf.SR023[1] , sf.SR_target03 = sf.SR023[2] , sf.SR_thm03 = sf.SR023[3] , sf.SR_cap03 = sf.SR023[4] , sf.SR_num03 = sf.SR023[5]"]
[eval exp="sf.SR_slot04 = sf.SR024[0] , sf.SR_filename04 = sf.SR024[1] , sf.SR_target04 = sf.SR024[2] , sf.SR_thm04 = sf.SR024[3] , sf.SR_cap04 = sf.SR024[4] , sf.SR_num04 = sf.SR024[5]"]
[eval exp="sf.SR_slot05 = sf.SR025[0] , sf.SR_filename05 = sf.SR025[1] , sf.SR_target05 = sf.SR025[2] , sf.SR_thm05 = sf.SR025[3] , sf.SR_cap05 = sf.SR025[4] , sf.SR_num05 = sf.SR025[5]"]
[eval exp="sf.SR_slot06 = sf.SR026[0] , sf.SR_filename06 = sf.SR026[1] , sf.SR_target06 = sf.SR026[2] , sf.SR_thm06 = sf.SR026[3] , sf.SR_cap06 = sf.SR026[4] , sf.SR_num06 = sf.SR026[5]"]
[eval exp="sf.SR_slot07 = sf.SR027[0] , sf.SR_filename07 = sf.SR027[1] , sf.SR_target07 = sf.SR027[2] , sf.SR_thm07 = sf.SR027[3] , sf.SR_cap07 = sf.SR027[4] , sf.SR_num07 = sf.SR027[5]"]
[eval exp="sf.SR_slot08 = sf.SR028[0] , sf.SR_filename08 = sf.SR028[1] , sf.SR_target08 = sf.SR028[2] , sf.SR_thm08 = sf.SR028[3] , sf.SR_cap08 = sf.SR028[4] , sf.SR_num08 = sf.SR028[5]"]
[eval exp="sf.SR_slot09 = sf.SR029[0] , sf.SR_filename09 = sf.SR029[1] , sf.SR_target09 = sf.SR029[2] , sf.SR_thm09 = sf.SR029[3] , sf.SR_cap09 = sf.SR029[4] , sf.SR_num09 = sf.SR029[5]"]
[eval exp="sf.SR_slot10 = sf.SR030[0] , sf.SR_filename10 = sf.SR030[1] , sf.SR_target10 = sf.SR030[2] , sf.SR_thm10 = sf.SR030[3] , sf.SR_cap10 = sf.SR030[4] , sf.SR_num10 = sf.SR030[5]"]
[eval exp="sf.SR_slot11 = sf.SR031[0] , sf.SR_filename11 = sf.SR031[1] , sf.SR_target11 = sf.SR031[2] , sf.SR_thm11 = sf.SR031[3] , sf.SR_cap11 = sf.SR031[4] , sf.SR_num11 = sf.SR031[5]"]
[eval exp="sf.SR_slot12 = sf.SR032[0] , sf.SR_filename12 = sf.SR032[1] , sf.SR_target12 = sf.SR032[2] , sf.SR_thm12 = sf.SR032[3] , sf.SR_cap12 = sf.SR032[4] , sf.SR_num12 = sf.SR032[5]"]
[eval exp="sf.SR_slot13 = sf.SR033[0] , sf.SR_filename13 = sf.SR033[1] , sf.SR_target13 = sf.SR033[2] , sf.SR_thm13 = sf.SR033[3] , sf.SR_cap13 = sf.SR033[4] , sf.SR_num13 = sf.SR033[5]"]
[eval exp="sf.SR_slot14 = sf.SR034[0] , sf.SR_filename14 = sf.SR034[1] , sf.SR_target14 = sf.SR034[2] , sf.SR_thm14 = sf.SR034[3] , sf.SR_cap14 = sf.SR034[4] , sf.SR_num14 = sf.SR034[5]"]
[eval exp="sf.SR_slot15 = sf.SR035[0] , sf.SR_filename15 = sf.SR035[1] , sf.SR_target15 = sf.SR035[2] , sf.SR_thm15 = sf.SR035[3] , sf.SR_cap15 = sf.SR035[4] , sf.SR_num15 = sf.SR035[5]"]
[eval exp="sf.SR_slot16 = sf.SR036[0] , sf.SR_filename16 = sf.SR036[1] , sf.SR_target16 = sf.SR036[2] , sf.SR_thm16 = sf.SR036[3] , sf.SR_cap16 = sf.SR036[4] , sf.SR_num16 = sf.SR036[5]"]
[eval exp="sf.SR_slot17 = sf.SR037[0] , sf.SR_filename17 = sf.SR037[1] , sf.SR_target17 = sf.SR037[2] , sf.SR_thm17 = sf.SR037[3] , sf.SR_cap17 = sf.SR037[4] , sf.SR_num17 = sf.SR037[5]"]
[eval exp="sf.SR_slot18 = sf.SR038[0] , sf.SR_filename18 = sf.SR038[1] , sf.SR_target18 = sf.SR038[2] , sf.SR_thm18 = sf.SR038[3] , sf.SR_cap18 = sf.SR038[4] , sf.SR_num18 = sf.SR038[5]"]
[eval exp="sf.SR_slot19 = sf.SR039[0] , sf.SR_filename19 = sf.SR039[1] , sf.SR_target19 = sf.SR039[2] , sf.SR_thm19 = sf.SR039[3] , sf.SR_cap19 = sf.SR039[4] , sf.SR_num19 = sf.SR039[5]"]
[eval exp="sf.SR_slot20 = sf.SR040[0] , sf.SR_filename20 = sf.SR040[1] , sf.SR_target20 = sf.SR040[2] , sf.SR_thm20 = sf.SR040[3] , sf.SR_cap20 = sf.SR040[4] , sf.SR_num20 = sf.SR040[5]"]

[return]
;---------------------------------------
*SRとサムネ設定03
[eval exp="sf.SR_slot01 = sf.SR041[0] , sf.SR_filename01 = sf.SR041[1] , sf.SR_target01 = sf.SR041[2] , sf.SR_thm01 = sf.SR041[3] , sf.SR_cap01 = sf.SR041[4] , sf.SR_num01 = sf.SR041[5] , sf.enm_name01 = sf.SR041[6] , sf.enm_race01 = sf.SR041[7]"]
[eval exp="sf.SR_slot02 = sf.SR042[0] , sf.SR_filename02 = sf.SR042[1] , sf.SR_target02 = sf.SR042[2] , sf.SR_thm02 = sf.SR042[3] , sf.SR_cap02 = sf.SR042[4] , sf.SR_num02 = sf.SR042[5] , sf.enm_name02 = sf.SR042[6] , sf.enm_race02 = sf.SR042[7]"]
[eval exp="sf.SR_slot03 = sf.SR043[0] , sf.SR_filename03 = sf.SR043[1] , sf.SR_target03 = sf.SR043[2] , sf.SR_thm03 = sf.SR043[3] , sf.SR_cap03 = sf.SR043[4] , sf.SR_num03 = sf.SR043[5] , sf.enm_name03 = sf.SR043[6] , sf.enm_race03 = sf.SR043[7]"]
[eval exp="sf.SR_slot04 = sf.SR044[0] , sf.SR_filename04 = sf.SR044[1] , sf.SR_target04 = sf.SR044[2] , sf.SR_thm04 = sf.SR044[3] , sf.SR_cap04 = sf.SR044[4] , sf.SR_num04 = sf.SR044[5] , sf.enm_name04 = sf.SR044[6] , sf.enm_race04 = sf.SR044[7]"]
[eval exp="sf.SR_slot05 = sf.SR045[0] , sf.SR_filename05 = sf.SR045[1] , sf.SR_target05 = sf.SR045[2] , sf.SR_thm05 = sf.SR045[3] , sf.SR_cap05 = sf.SR045[4] , sf.SR_num05 = sf.SR045[5] , sf.enm_name05 = sf.SR045[6] , sf.enm_race05 = sf.SR045[7]"]
[eval exp="sf.SR_slot06 = sf.SR046[0] , sf.SR_filename06 = sf.SR046[1] , sf.SR_target06 = sf.SR046[2] , sf.SR_thm06 = sf.SR046[3] , sf.SR_cap06 = sf.SR046[4] , sf.SR_num06 = sf.SR046[5] , sf.enm_name06 = sf.SR046[6] , sf.enm_race06 = sf.SR046[7]"]
[eval exp="sf.SR_slot07 = sf.SR047[0] , sf.SR_filename07 = sf.SR047[1] , sf.SR_target07 = sf.SR047[2] , sf.SR_thm07 = sf.SR047[3] , sf.SR_cap07 = sf.SR047[4] , sf.SR_num07 = sf.SR047[5] , sf.enm_name07 = sf.SR047[6] , sf.enm_race07 = sf.SR047[7]"]
[eval exp="sf.SR_slot08 = sf.SR048[0] , sf.SR_filename08 = sf.SR048[1] , sf.SR_target08 = sf.SR048[2] , sf.SR_thm08 = sf.SR048[3] , sf.SR_cap08 = sf.SR048[4] , sf.SR_num08 = sf.SR048[5] , sf.enm_name08 = sf.SR048[6] , sf.enm_race08 = sf.SR048[7]"]
[eval exp="sf.SR_slot09 = sf.SR049[0] , sf.SR_filename09 = sf.SR049[1] , sf.SR_target09 = sf.SR049[2] , sf.SR_thm09 = sf.SR049[3] , sf.SR_cap09 = sf.SR049[4] , sf.SR_num09 = sf.SR049[5] , sf.enm_name09 = sf.SR049[6] , sf.enm_race09 = sf.SR049[7]"]
[eval exp="sf.SR_slot10 = sf.SR050[0] , sf.SR_filename10 = sf.SR050[1] , sf.SR_target10 = sf.SR050[2] , sf.SR_thm10 = sf.SR050[3] , sf.SR_cap10 = sf.SR050[4] , sf.SR_num10 = sf.SR050[5] , sf.enm_name10 = sf.SR050[6] , sf.enm_race10 = sf.SR050[7]"]
[eval exp="sf.SR_slot11 = sf.SR051[0] , sf.SR_filename11 = sf.SR051[1] , sf.SR_target11 = sf.SR051[2] , sf.SR_thm11 = sf.SR051[3] , sf.SR_cap11 = sf.SR051[4] , sf.SR_num11 = sf.SR051[5] , sf.enm_name11 = sf.SR051[6] , sf.enm_race11 = sf.SR051[7]"]
[eval exp="sf.SR_slot12 = sf.SR052[0] , sf.SR_filename12 = sf.SR052[1] , sf.SR_target12 = sf.SR052[2] , sf.SR_thm12 = sf.SR052[3] , sf.SR_cap12 = sf.SR052[4] , sf.SR_num12 = sf.SR052[5] , sf.enm_name12 = sf.SR052[6] , sf.enm_race12 = sf.SR052[7]"]
[eval exp="sf.SR_slot13 = sf.SR053[0] , sf.SR_filename13 = sf.SR053[1] , sf.SR_target13 = sf.SR053[2] , sf.SR_thm13 = sf.SR053[3] , sf.SR_cap13 = sf.SR053[4] , sf.SR_num13 = sf.SR053[5] , sf.enm_name13 = sf.SR053[6] , sf.enm_race13 = sf.SR053[7]"]
[eval exp="sf.SR_slot14 = sf.SR054[0] , sf.SR_filename14 = sf.SR054[1] , sf.SR_target14 = sf.SR054[2] , sf.SR_thm14 = sf.SR054[3] , sf.SR_cap14 = sf.SR054[4] , sf.SR_num14 = sf.SR054[5] , sf.enm_name14 = sf.SR054[6] , sf.enm_race14 = sf.SR054[7]"]
[eval exp="sf.SR_slot15 = sf.SR055[0] , sf.SR_filename15 = sf.SR055[1] , sf.SR_target15 = sf.SR055[2] , sf.SR_thm15 = sf.SR055[3] , sf.SR_cap15 = sf.SR055[4] , sf.SR_num15 = sf.SR055[5] , sf.enm_name15 = sf.SR055[6] , sf.enm_race15 = sf.SR055[7]"]
[eval exp="sf.SR_slot16 = sf.SR056[0] , sf.SR_filename16 = sf.SR056[1] , sf.SR_target16 = sf.SR056[2] , sf.SR_thm16 = sf.SR056[3] , sf.SR_cap16 = sf.SR056[4] , sf.SR_num16 = sf.SR056[5] , sf.enm_name16 = sf.SR056[6] , sf.enm_race16 = sf.SR056[7]"]
[eval exp="sf.SR_slot17 = sf.SR057[0] , sf.SR_filename17 = sf.SR057[1] , sf.SR_target17 = sf.SR057[2] , sf.SR_thm17 = sf.SR057[3] , sf.SR_cap17 = sf.SR057[4] , sf.SR_num17 = sf.SR057[5] , sf.enm_name17 = sf.SR057[6] , sf.enm_race17 = sf.SR057[7]"]
[eval exp="sf.SR_slot18 = sf.SR058[0] , sf.SR_filename18 = sf.SR058[1] , sf.SR_target18 = sf.SR058[2] , sf.SR_thm18 = sf.SR058[3] , sf.SR_cap18 = sf.SR058[4] , sf.SR_num18 = sf.SR058[5] , sf.enm_name18 = sf.SR058[6] , sf.enm_race18 = sf.SR058[7]"]
[eval exp="sf.SR_slot19 = sf.SR059[0] , sf.SR_filename19 = sf.SR059[1] , sf.SR_target19 = sf.SR059[2] , sf.SR_thm19 = sf.SR059[3] , sf.SR_cap19 = sf.SR059[4] , sf.SR_num19 = sf.SR059[5] , sf.enm_name19 = sf.SR059[6] , sf.enm_race19 = sf.SR059[7]"]
[eval exp="sf.SR_slot20 = sf.SR060[0] , sf.SR_filename20 = sf.SR060[1] , sf.SR_target20 = sf.SR060[2] , sf.SR_thm20 = sf.SR060[3] , sf.SR_cap20 = sf.SR060[4] , sf.SR_num20 = sf.SR060[5] , sf.enm_name20 = sf.SR060[6] , sf.enm_race20 = sf.SR060[7]"]

[return]
;---------------------------------------
*SRとサムネ設定04
[eval exp="sf.SR_slot01 = sf.SR061[0] , sf.SR_filename01 = sf.SR061[1] , sf.SR_target01 = sf.SR061[2] , sf.SR_thm01 = sf.SR061[3] , sf.SR_cap01 = sf.SR061[4] , sf.SR_num01 = sf.SR061[5]"]
[eval exp="sf.SR_slot02 = sf.SR062[0] , sf.SR_filename02 = sf.SR062[1] , sf.SR_target02 = sf.SR062[2] , sf.SR_thm02 = sf.SR062[3] , sf.SR_cap02 = sf.SR062[4] , sf.SR_num02 = sf.SR062[5]"]
[eval exp="sf.SR_slot03 = sf.SR063[0] , sf.SR_filename03 = sf.SR063[1] , sf.SR_target03 = sf.SR063[2] , sf.SR_thm03 = sf.SR063[3] , sf.SR_cap03 = sf.SR063[4] , sf.SR_num03 = sf.SR063[5]"]
[eval exp="sf.SR_slot04 = sf.SR064[0] , sf.SR_filename04 = sf.SR064[1] , sf.SR_target04 = sf.SR064[2] , sf.SR_thm04 = sf.SR064[3] , sf.SR_cap04 = sf.SR064[4] , sf.SR_num04 = sf.SR064[5]"]
[eval exp="sf.SR_slot05 = sf.SR065[0] , sf.SR_filename05 = sf.SR065[1] , sf.SR_target05 = sf.SR065[2] , sf.SR_thm05 = sf.SR065[3] , sf.SR_cap05 = sf.SR065[4] , sf.SR_num05 = sf.SR065[5]"]
[eval exp="sf.SR_slot06 = sf.SR066[0] , sf.SR_filename06 = sf.SR066[1] , sf.SR_target06 = sf.SR066[2] , sf.SR_thm06 = sf.SR066[3] , sf.SR_cap06 = sf.SR066[4] , sf.SR_num06 = sf.SR066[5]"]
[eval exp="sf.SR_slot07 = sf.SR067[0] , sf.SR_filename07 = sf.SR067[1] , sf.SR_target07 = sf.SR067[2] , sf.SR_thm07 = sf.SR067[3] , sf.SR_cap07 = sf.SR067[4] , sf.SR_num07 = sf.SR067[5]"]
[eval exp="sf.SR_slot08 = sf.SR068[0] , sf.SR_filename08 = sf.SR068[1] , sf.SR_target08 = sf.SR068[2] , sf.SR_thm08 = sf.SR068[3] , sf.SR_cap08 = sf.SR068[4] , sf.SR_num08 = sf.SR068[5]"]
[eval exp="sf.SR_slot09 = sf.SR069[0] , sf.SR_filename09 = sf.SR069[1] , sf.SR_target09 = sf.SR069[2] , sf.SR_thm09 = sf.SR069[3] , sf.SR_cap09 = sf.SR069[4] , sf.SR_num09 = sf.SR069[5]"]
[eval exp="sf.SR_slot10 = sf.SR070[0] , sf.SR_filename10 = sf.SR070[1] , sf.SR_target10 = sf.SR070[2] , sf.SR_thm10 = sf.SR070[3] , sf.SR_cap10 = sf.SR070[4] , sf.SR_num10 = sf.SR070[5]"]
[eval exp="sf.SR_slot11 = sf.SR071[0] , sf.SR_filename11 = sf.SR071[1] , sf.SR_target11 = sf.SR071[2] , sf.SR_thm11 = sf.SR071[3] , sf.SR_cap11 = sf.SR071[4] , sf.SR_num11 = sf.SR071[5]"]
[eval exp="sf.SR_slot12 = sf.SR072[0] , sf.SR_filename12 = sf.SR072[1] , sf.SR_target12 = sf.SR072[2] , sf.SR_thm12 = sf.SR072[3] , sf.SR_cap12 = sf.SR072[4] , sf.SR_num12 = sf.SR072[5]"]
[eval exp="sf.SR_slot13 = sf.SR073[0] , sf.SR_filename13 = sf.SR073[1] , sf.SR_target13 = sf.SR073[2] , sf.SR_thm13 = sf.SR073[3] , sf.SR_cap13 = sf.SR073[4] , sf.SR_num13 = sf.SR073[5]"]
[eval exp="sf.SR_slot14 = sf.SR074[0] , sf.SR_filename14 = sf.SR074[1] , sf.SR_target14 = sf.SR074[2] , sf.SR_thm14 = sf.SR074[3] , sf.SR_cap14 = sf.SR074[4] , sf.SR_num14 = sf.SR074[5]"]
[eval exp="sf.SR_slot15 = sf.SR075[0] , sf.SR_filename15 = sf.SR075[1] , sf.SR_target15 = sf.SR075[2] , sf.SR_thm15 = sf.SR075[3] , sf.SR_cap15 = sf.SR075[4] , sf.SR_num15 = sf.SR075[5]"]
[eval exp="sf.SR_slot16 = sf.SR076[0] , sf.SR_filename16 = sf.SR076[1] , sf.SR_target16 = sf.SR076[2] , sf.SR_thm16 = sf.SR076[3] , sf.SR_cap16 = sf.SR076[4] , sf.SR_num16 = sf.SR076[5]"]
[eval exp="sf.SR_slot17 = sf.SR077[0] , sf.SR_filename17 = sf.SR077[1] , sf.SR_target17 = sf.SR077[2] , sf.SR_thm17 = sf.SR077[3] , sf.SR_cap17 = sf.SR077[4] , sf.SR_num17 = sf.SR077[5]"]
[eval exp="sf.SR_slot18 = sf.SR078[0] , sf.SR_filename18 = sf.SR078[1] , sf.SR_target18 = sf.SR078[2] , sf.SR_thm18 = sf.SR078[3] , sf.SR_cap18 = sf.SR078[4] , sf.SR_num18 = sf.SR078[5]"]
[eval exp="sf.SR_slot19 = sf.SR079[0] , sf.SR_filename19 = sf.SR079[1] , sf.SR_target19 = sf.SR079[2] , sf.SR_thm19 = sf.SR079[3] , sf.SR_cap19 = sf.SR079[4] , sf.SR_num19 = sf.SR079[5]"]
[eval exp="sf.SR_slot20 = sf.SR080[0] , sf.SR_filename20 = sf.SR080[1] , sf.SR_target20 = sf.SR080[2] , sf.SR_thm20 = sf.SR080[3] , sf.SR_cap20 = sf.SR080[4] , sf.SR_num20 = sf.SR080[5]"]

[return]
;---------------------------------------
*SRとサムネ設定05
[eval exp="sf.SR_slot01 = sf.SR081[0] , sf.SR_filename01 = sf.SR081[1] , sf.SR_target01 = sf.SR081[2] , sf.SR_thm01 = sf.SR081[3] , sf.SR_cap01 = sf.SR081[4] , sf.SR_num01 = sf.SR081[5]"]
[eval exp="sf.SR_slot02 = sf.SR082[0] , sf.SR_filename02 = sf.SR082[1] , sf.SR_target02 = sf.SR082[2] , sf.SR_thm02 = sf.SR082[3] , sf.SR_cap02 = sf.SR082[4] , sf.SR_num02 = sf.SR082[5]"]
[eval exp="sf.SR_slot03 = sf.SR083[0] , sf.SR_filename03 = sf.SR083[1] , sf.SR_target03 = sf.SR083[2] , sf.SR_thm03 = sf.SR083[3] , sf.SR_cap03 = sf.SR083[4] , sf.SR_num03 = sf.SR083[5]"]
[eval exp="sf.SR_slot04 = sf.SR084[0] , sf.SR_filename04 = sf.SR084[1] , sf.SR_target04 = sf.SR084[2] , sf.SR_thm04 = sf.SR084[3] , sf.SR_cap04 = sf.SR084[4] , sf.SR_num04 = sf.SR084[5]"]
[eval exp="sf.SR_slot05 = sf.SR085[0] , sf.SR_filename05 = sf.SR085[1] , sf.SR_target05 = sf.SR085[2] , sf.SR_thm05 = sf.SR085[3] , sf.SR_cap05 = sf.SR085[4] , sf.SR_num05 = sf.SR085[5]"]
[eval exp="sf.SR_slot06 = sf.SR086[0] , sf.SR_filename06 = sf.SR086[1] , sf.SR_target06 = sf.SR086[2] , sf.SR_thm06 = sf.SR086[3] , sf.SR_cap06 = sf.SR086[4] , sf.SR_num06 = sf.SR086[5]"]
[eval exp="sf.SR_slot07 = sf.SR087[0] , sf.SR_filename07 = sf.SR087[1] , sf.SR_target07 = sf.SR087[2] , sf.SR_thm07 = sf.SR087[3] , sf.SR_cap07 = sf.SR087[4] , sf.SR_num07 = sf.SR087[5]"]
[eval exp="sf.SR_slot08 = sf.SR088[0] , sf.SR_filename08 = sf.SR088[1] , sf.SR_target08 = sf.SR088[2] , sf.SR_thm08 = sf.SR088[3] , sf.SR_cap08 = sf.SR088[4] , sf.SR_num08 = sf.SR088[5]"]
[eval exp="sf.SR_slot09 = sf.SR089[0] , sf.SR_filename09 = sf.SR089[1] , sf.SR_target09 = sf.SR089[2] , sf.SR_thm09 = sf.SR089[3] , sf.SR_cap09 = sf.SR089[4] , sf.SR_num09 = sf.SR089[5]"]
[eval exp="sf.SR_slot10 = sf.SR090[0] , sf.SR_filename10 = sf.SR090[1] , sf.SR_target10 = sf.SR090[2] , sf.SR_thm10 = sf.SR090[3] , sf.SR_cap10 = sf.SR090[4] , sf.SR_num10 = sf.SR090[5]"]
[eval exp="sf.SR_slot11 = sf.SR091[0] , sf.SR_filename11 = sf.SR091[1] , sf.SR_target11 = sf.SR091[2] , sf.SR_thm11 = sf.SR091[3] , sf.SR_cap11 = sf.SR091[4] , sf.SR_num11 = sf.SR091[5]"]
[eval exp="sf.SR_slot12 = sf.SR092[0] , sf.SR_filename12 = sf.SR092[1] , sf.SR_target12 = sf.SR092[2] , sf.SR_thm12 = sf.SR092[3] , sf.SR_cap12 = sf.SR092[4] , sf.SR_num12 = sf.SR092[5]"]
[eval exp="sf.SR_slot13 = sf.SR093[0] , sf.SR_filename13 = sf.SR093[1] , sf.SR_target13 = sf.SR093[2] , sf.SR_thm13 = sf.SR093[3] , sf.SR_cap13 = sf.SR093[4] , sf.SR_num13 = sf.SR093[5]"]
[eval exp="sf.SR_slot14 = sf.SR094[0] , sf.SR_filename14 = sf.SR094[1] , sf.SR_target14 = sf.SR094[2] , sf.SR_thm14 = sf.SR094[3] , sf.SR_cap14 = sf.SR094[4] , sf.SR_num14 = sf.SR094[5]"]
[eval exp="sf.SR_slot15 = sf.SR095[0] , sf.SR_filename15 = sf.SR095[1] , sf.SR_target15 = sf.SR095[2] , sf.SR_thm15 = sf.SR095[3] , sf.SR_cap15 = sf.SR095[4] , sf.SR_num15 = sf.SR095[5]"]
[eval exp="sf.SR_slot16 = sf.SR096[0] , sf.SR_filename16 = sf.SR096[1] , sf.SR_target16 = sf.SR096[2] , sf.SR_thm16 = sf.SR096[3] , sf.SR_cap16 = sf.SR096[4] , sf.SR_num16 = sf.SR096[5]"]
[eval exp="sf.SR_slot17 = sf.SR097[0] , sf.SR_filename17 = sf.SR097[1] , sf.SR_target17 = sf.SR097[2] , sf.SR_thm17 = sf.SR097[3] , sf.SR_cap17 = sf.SR097[4] , sf.SR_num17 = sf.SR097[5]"]
[eval exp="sf.SR_slot18 = sf.SR098[0] , sf.SR_filename18 = sf.SR098[1] , sf.SR_target18 = sf.SR098[2] , sf.SR_thm18 = sf.SR098[3] , sf.SR_cap18 = sf.SR098[4] , sf.SR_num18 = sf.SR098[5]"]
[eval exp="sf.SR_slot19 = sf.SR099[0] , sf.SR_filename19 = sf.SR099[1] , sf.SR_target19 = sf.SR099[2] , sf.SR_thm19 = sf.SR099[3] , sf.SR_cap19 = sf.SR099[4] , sf.SR_num19 = sf.SR099[5]"]
[eval exp="sf.SR_slot20 = sf.SR100[0] , sf.SR_filename20 = sf.SR100[1] , sf.SR_target20 = sf.SR100[2] , sf.SR_thm20 = sf.SR100[3] , sf.SR_cap20 = sf.SR100[4] , sf.SR_num20 = sf.SR100[5]"]

[return]
;---------------------------------------
*SRとサムネ設定06
[eval exp="sf.SR_slot01 = sf.SR101[0] , sf.SR_filename01 = sf.SR101[1] , sf.SR_target01 = sf.SR101[2] , sf.SR_thm01 = sf.SR101[3] , sf.SR_cap01 = sf.SR101[4] , sf.SR_num01 = sf.SR101[5]"]
[eval exp="sf.SR_slot02 = sf.SR102[0] , sf.SR_filename02 = sf.SR102[1] , sf.SR_target02 = sf.SR102[2] , sf.SR_thm02 = sf.SR102[3] , sf.SR_cap02 = sf.SR102[4] , sf.SR_num02 = sf.SR102[5]"]
[eval exp="sf.SR_slot03 = sf.SR103[0] , sf.SR_filename03 = sf.SR103[1] , sf.SR_target03 = sf.SR103[2] , sf.SR_thm03 = sf.SR103[3] , sf.SR_cap03 = sf.SR103[4] , sf.SR_num03 = sf.SR103[5]"]
[eval exp="sf.SR_slot04 = sf.SR104[0] , sf.SR_filename04 = sf.SR104[1] , sf.SR_target04 = sf.SR104[2] , sf.SR_thm04 = sf.SR104[3] , sf.SR_cap04 = sf.SR104[4] , sf.SR_num04 = sf.SR104[5]"]
[eval exp="sf.SR_slot05 = sf.SR105[0] , sf.SR_filename05 = sf.SR105[1] , sf.SR_target05 = sf.SR105[2] , sf.SR_thm05 = sf.SR105[3] , sf.SR_cap05 = sf.SR105[4] , sf.SR_num05 = sf.SR105[5]"]
[eval exp="sf.SR_slot06 = sf.SR106[0] , sf.SR_filename06 = sf.SR106[1] , sf.SR_target06 = sf.SR106[2] , sf.SR_thm06 = sf.SR106[3] , sf.SR_cap06 = sf.SR106[4] , sf.SR_num06 = sf.SR106[5]"]
[eval exp="sf.SR_slot07 = sf.SR107[0] , sf.SR_filename07 = sf.SR107[1] , sf.SR_target07 = sf.SR107[2] , sf.SR_thm07 = sf.SR107[3] , sf.SR_cap07 = sf.SR107[4] , sf.SR_num07 = sf.SR107[5]"]
[eval exp="sf.SR_slot08 = sf.SR108[0] , sf.SR_filename08 = sf.SR108[1] , sf.SR_target08 = sf.SR108[2] , sf.SR_thm08 = sf.SR108[3] , sf.SR_cap08 = sf.SR108[4] , sf.SR_num08 = sf.SR108[5]"]
[eval exp="sf.SR_slot09 = sf.SR109[0] , sf.SR_filename09 = sf.SR109[1] , sf.SR_target09 = sf.SR109[2] , sf.SR_thm09 = sf.SR109[3] , sf.SR_cap09 = sf.SR109[4] , sf.SR_num09 = sf.SR109[5]"]
[eval exp="sf.SR_slot10 = sf.SR110[0] , sf.SR_filename10 = sf.SR110[1] , sf.SR_target10 = sf.SR110[2] , sf.SR_thm10 = sf.SR110[3] , sf.SR_cap10 = sf.SR110[4] , sf.SR_num10 = sf.SR110[5]"]
[eval exp="sf.SR_slot11 = sf.SR111[0] , sf.SR_filename11 = sf.SR111[1] , sf.SR_target11 = sf.SR111[2] , sf.SR_thm11 = sf.SR111[3] , sf.SR_cap11 = sf.SR111[4] , sf.SR_num11 = sf.SR111[5]"]
[eval exp="sf.SR_slot12 = sf.SR112[0] , sf.SR_filename12 = sf.SR112[1] , sf.SR_target12 = sf.SR112[2] , sf.SR_thm12 = sf.SR112[3] , sf.SR_cap12 = sf.SR112[4] , sf.SR_num12 = sf.SR112[5]"]
[eval exp="sf.SR_slot13 = sf.SR113[0] , sf.SR_filename13 = sf.SR113[1] , sf.SR_target13 = sf.SR113[2] , sf.SR_thm13 = sf.SR113[3] , sf.SR_cap13 = sf.SR113[4] , sf.SR_num13 = sf.SR113[5]"]
[eval exp="sf.SR_slot14 = sf.SR114[0] , sf.SR_filename14 = sf.SR114[1] , sf.SR_target14 = sf.SR114[2] , sf.SR_thm14 = sf.SR114[3] , sf.SR_cap14 = sf.SR114[4] , sf.SR_num14 = sf.SR114[5]"]
[eval exp="sf.SR_slot15 = sf.SR115[0] , sf.SR_filename15 = sf.SR115[1] , sf.SR_target15 = sf.SR115[2] , sf.SR_thm15 = sf.SR115[3] , sf.SR_cap15 = sf.SR115[4] , sf.SR_num15 = sf.SR115[5]"]
[eval exp="sf.SR_slot16 = sf.SR116[0] , sf.SR_filename16 = sf.SR116[1] , sf.SR_target16 = sf.SR116[2] , sf.SR_thm16 = sf.SR116[3] , sf.SR_cap16 = sf.SR116[4] , sf.SR_num16 = sf.SR116[5]"]
[eval exp="sf.SR_slot17 = sf.SR117[0] , sf.SR_filename17 = sf.SR117[1] , sf.SR_target17 = sf.SR117[2] , sf.SR_thm17 = sf.SR117[3] , sf.SR_cap17 = sf.SR117[4] , sf.SR_num17 = sf.SR117[5]"]
[eval exp="sf.SR_slot18 = sf.SR118[0] , sf.SR_filename18 = sf.SR118[1] , sf.SR_target18 = sf.SR118[2] , sf.SR_thm18 = sf.SR118[3] , sf.SR_cap18 = sf.SR118[4] , sf.SR_num18 = sf.SR118[5]"]
[eval exp="sf.SR_slot19 = sf.SR119[0] , sf.SR_filename19 = sf.SR119[1] , sf.SR_target19 = sf.SR119[2] , sf.SR_thm19 = sf.SR119[3] , sf.SR_cap19 = sf.SR119[4] , sf.SR_num19 = sf.SR119[5]"]
[eval exp="sf.SR_slot20 = sf.SR120[0] , sf.SR_filename20 = sf.SR120[1] , sf.SR_target20 = sf.SR120[2] , sf.SR_thm20 = sf.SR120[3] , sf.SR_cap20 = sf.SR120[4] , sf.SR_num20 = sf.SR120[5]"]

[return]
;---------------------------------------
﻿;
; sound_test.ks…サウンドテスト画面
;
;
; 使い方：
;   [call storage="sound_test.ks" target=*sound_menu]
;
; 使用している変数：
;   tf.sound_message   … サウンドテスト画面で使用するメッセージレイヤ名
;   tf.sound_layer     … 選択用画像を表示する前景レイヤ番号
;   tf.sound_select    … 現在、選択中の曲の番号（-1なら未選択を意味する）
;   tf.sound_x         … グラフィカルボタンと選択用画像を表示するＸ座標の配列
;   tf.sound_y         … 同、Ｙ座標の配列
;   tf.sound_i         … ループカウンタ
;
;   以下の配列は、sound_init.ksのサブルーチン*sound_initで設定
;   tf.sound_caption   … 曲名の配列
;   tf.sound_storage   … 実際に再生する音楽ファイル名の配列
;

*sound_menu

;[全消去]
[cgthum_int]
; メモリ上の栞４に現在の状態を保存
;[tempsave place=4]

[eval exp="tf.bgm_mode = 1"]


;最初のゴチャゴチャした設定するのに必要なんだ
[call storage="b_bgmmode_init.ks"]

; サウンドテスト画面で使用するメッセージレイヤ
[eval exp="tf.sound_message = 'message1'"]
; 選択用画像を表示する前景レイヤ（表画面）
[eval exp="tf.sound_layer = 0"]


;	; グラフィカルボタンと選択用画像を表示する座標の配列 [0]は使用しない。BGMと[n]が同じになるようにする
;	[eval exp="tf.sound_x = [sf.bgm00_x,sf.bgm01_x,sf.bgm02_x,sf.bgm03_x,sf.bgm04_x,sf.bgm05_x,sf.bgm06_x,sf.bgm07_x,sf.bgm08_x,sf.bgm09_x,sf.bgm10_x,sf.bgm11_x,sf.bgm12_x,sf.bgm13_x,sf.bgm14_x,sf.bgm15_x,sf.bgm16_x,sf.bgm17_x,sf.bgm18_x,sf.bgm19_x,sf.bgm20_x,sf.bgm21_x,sf.bgm22_x]" cond="tf.sound_x === void"]
;	[eval exp="tf.sound_y = [sf.bgm00_y,sf.bgm01_y,sf.bgm02_y,sf.bgm03_y,sf.bgm04_y,sf.bgm05_y,sf.bgm06_y,sf.bgm07_y,sf.bgm08_y,sf.bgm09_y,sf.bgm10_y,sf.bgm11_y,sf.bgm12_y,sf.bgm13_y,sf.bgm14_y,sf.bgm15_y,sf.bgm16_y,sf.bgm17_y,sf.bgm18_y,sf.bgm19_y,sf.bgm20_y,sf.bgm21_y,sf.bgm22_y]" cond="tf.sound_y === void"]

; ページ用ボタンを表示する座標の配列
[eval exp="tf.b_bgm_pageX = [sf.b_page00_x, sf.b_page01_x, sf.b_page02_x, sf.b_page03_x, sf.b_page04_x, sf.b_page05_x, sf.b_page06_x, sf.b_page07_x, sf.b_page08_x, sf.b_page09_x, sf.b_page10_x]"]
[eval exp="tf.b_bgm_pageY = [sf.b_page00_y, sf.b_page01_y, sf.b_page02_y, sf.b_page03_y, sf.b_page04_y, sf.b_page05_y, sf.b_page06_y, sf.b_page07_y, sf.b_page08_y, sf.b_page09_y, sf.b_page10_y]"]

; サウンドテスト画面でマウス右クリックされたら、「戻る」と同じ動作をさせる
[rclick jump=true target="*sound_return" storage="b_bgmmode.ks" enabled=true]

; メッセージレイヤの属性を設定
[position layer="&tf.sound_message" page=fore left=0 top=0 width="&kag.scWidth" height="&kag.scHeight" frame="" color=0x000000 opacity=0 marginl=0 margint=0 marginr=0 marginb=0 draggable=false visible=true]
[current layer="&tf.sound_message"]


; メッセージレイヤのクリア
[er]

;tf.bgm_numがvoidなら1を入れる
;ページ別だから	[eval exp="tf.bgm_num = 1" cond="tf.bgm_num === void"]

;再生中のstorage名を取得
;[eval exp="tf.playbgmname = kag.bgm.playingStorage"]
;取得したファイルネームを頭7文字分解して。
;[iscript]
;	var str = tf.playbgmname;
;	var playbgmname_ch1 = str.charAt(0);//b
;	var playbgmname_ch2 = str.charAt(1);//g
;	var playbgmname_ch3 = str.charAt(2);//m
;	var playbgmname_ch4 = str.charAt(3);//これ0か1
;	var playbgmname_ch5 = str.charAt(4);//これ1~9
;[endscript]

;結合してフラグつくって
;[eval exp="f.playbgmname = playbgmname_ch4 + playbgmname_ch5"]

;これでいいんじゃ？
[eval exp="f.playbgmname = kag.bgm.playingStorage "]

;初回に来た時用
[if exp="sf.BGM_page == void"]
	[eval exp="sf.BGM_page = 1"]
[endif]



;ボタン1個ずつ判定した方が曲の増減に対応しやすそうだな。



;------------------------------------------------


[freeimage layer="&tf.layer_cap01" page=fore cond="tf.layer_cap01 != void"]
[freeimage layer="&tf.layer_cap02" page=fore cond="tf.layer_cap02 != void"]
[freeimage layer="&tf.layer_cap03" page=fore cond="tf.layer_cap03 != void"]
[freeimage layer="&tf.layer_cap04" page=fore cond="tf.layer_cap04 != void"]
[freeimage layer="&tf.layer_cap05" page=fore cond="tf.layer_cap05 != void"]
[freeimage layer="&tf.layer_cap06" page=fore cond="tf.layer_cap06 != void"]
[freeimage layer="&tf.layer_cap07" page=fore cond="tf.layer_cap07 != void"]
[freeimage layer="&tf.layer_cap08" page=fore cond="tf.layer_cap08 != void"]
[freeimage layer="&tf.layer_cap09" page=fore cond="tf.layer_cap09 != void"]
[freeimage layer="&tf.layer_cap10" page=fore cond="tf.layer_cap10 != void"]
[freeimage layer="&tf.layer_cap11" page=fore cond="tf.layer_cap11 != void"]
[freeimage layer="&tf.layer_cap12" page=fore cond="tf.layer_cap12 != void"]
[freeimage layer="&tf.layer_cap13" page=fore cond="tf.layer_cap13 != void"]
[freeimage layer="&tf.layer_cap14" page=fore cond="tf.layer_cap14 != void"]
[freeimage layer="&tf.layer_cap15" page=fore cond="tf.layer_cap15 != void"]
[freeimage layer="&tf.layer_cap16" page=fore cond="tf.layer_cap16 != void"]
[freeimage layer="&tf.layer_cap17" page=fore cond="tf.layer_cap17 != void"]
[freeimage layer="&tf.layer_cap18" page=fore cond="tf.layer_cap18 != void"]
[freeimage layer="&tf.layer_cap19" page=fore cond="tf.layer_cap19 != void"]
[freeimage layer="&tf.layer_cap20" page=fore cond="tf.layer_cap20 != void"]


;------------------------------------------------
*sound_loop
*BGM再描画


[cm]
[freeimage layer=1 page=fore]
[freeimage layer=2 page=fore]
[freeimage layer=3 page=fore]

[image storage="&sf.addgameID + 'bg_soundmode'" layer=base page=fore]
;[image storage="bg_soundmodeSAMPLE" layer=30 page=fore   visible=true]


; ページボタン表示
[pagebt_BGM]
[eval exp="tf.bgm_num =  0"]

[if    exp="kag.bgm.playingStorage == sf.BGM001[2]"][eval exp="tf.bgm_num =  1"]
[elsif exp="kag.bgm.playingStorage == sf.BGM002[2]"][eval exp="tf.bgm_num =  2"]
[elsif exp="kag.bgm.playingStorage == sf.BGM003[2]"][eval exp="tf.bgm_num =  3"]
[elsif exp="kag.bgm.playingStorage == sf.BGM004[2]"][eval exp="tf.bgm_num =  4"]
[elsif exp="kag.bgm.playingStorage == sf.BGM005[2]"][eval exp="tf.bgm_num =  5"]
[elsif exp="kag.bgm.playingStorage == sf.BGM006[2]"][eval exp="tf.bgm_num =  6"]
[elsif exp="kag.bgm.playingStorage == sf.BGM007[2]"][eval exp="tf.bgm_num =  7"]
[elsif exp="kag.bgm.playingStorage == sf.BGM008[2]"][eval exp="tf.bgm_num =  8"]
[elsif exp="kag.bgm.playingStorage == sf.BGM009[2]"][eval exp="tf.bgm_num =  9"]
[elsif exp="kag.bgm.playingStorage == sf.BGM010[2]"][eval exp="tf.bgm_num = 10"]
[elsif exp="kag.bgm.playingStorage == sf.BGM011[2]"][eval exp="tf.bgm_num = 11"]
[elsif exp="kag.bgm.playingStorage == sf.BGM012[2]"][eval exp="tf.bgm_num = 12"]
[elsif exp="kag.bgm.playingStorage == sf.BGM013[2]"][eval exp="tf.bgm_num = 13"]
[elsif exp="kag.bgm.playingStorage == sf.BGM014[2]"][eval exp="tf.bgm_num = 14"]
[elsif exp="kag.bgm.playingStorage == sf.BGM015[2]"][eval exp="tf.bgm_num = 15"]
[elsif exp="kag.bgm.playingStorage == sf.BGM016[2]"][eval exp="tf.bgm_num = 16"]
[elsif exp="kag.bgm.playingStorage == sf.BGM017[2]"][eval exp="tf.bgm_num = 17"]
[elsif exp="kag.bgm.playingStorage == sf.BGM018[2]"][eval exp="tf.bgm_num = 18"]
[elsif exp="kag.bgm.playingStorage == sf.BGM019[2]"][eval exp="tf.bgm_num = 19"]
[elsif exp="kag.bgm.playingStorage == sf.BGM020[2]"][eval exp="tf.bgm_num = 20"]
[elsif exp="kag.bgm.playingStorage == sf.BGM021[2]"][eval exp="tf.bgm_num = 21"]
[elsif exp="kag.bgm.playingStorage == sf.BGM022[2]"][eval exp="tf.bgm_num = 22"]
[elsif exp="kag.bgm.playingStorage == sf.BGM023[2]"][eval exp="tf.bgm_num = 23"]
[elsif exp="kag.bgm.playingStorage == sf.BGM024[2]"][eval exp="tf.bgm_num = 24"]
[elsif exp="kag.bgm.playingStorage == sf.BGM025[2]"][eval exp="tf.bgm_num = 25"]
[elsif exp="kag.bgm.playingStorage == sf.BGM026[2]"][eval exp="tf.bgm_num = 26"]
[elsif exp="kag.bgm.playingStorage == sf.BGM027[2]"][eval exp="tf.bgm_num = 27"]
[elsif exp="kag.bgm.playingStorage == sf.BGM028[2]"][eval exp="tf.bgm_num = 28"]
[elsif exp="kag.bgm.playingStorage == sf.BGM029[2]"][eval exp="tf.bgm_num = 29"]
[elsif exp="kag.bgm.playingStorage == sf.BGM030[2]"][eval exp="tf.bgm_num = 30"]
[endif]

[locklink]

;ボタン表示　もっと必要なら適宜マクロ追加。
[bgm01_bt cond="sf.BGM_slot01 == 1"]
[bgm02_bt cond="sf.BGM_slot02 == 1"]
[bgm03_bt cond="sf.BGM_slot03 == 1"]
[bgm04_bt cond="sf.BGM_slot04 == 1"]
[bgm05_bt cond="sf.BGM_slot05 == 1"]
[bgm06_bt cond="sf.BGM_slot06 == 1"]
[bgm07_bt cond="sf.BGM_slot07 == 1"]
[bgm08_bt cond="sf.BGM_slot08 == 1"]
[bgm09_bt cond="sf.BGM_slot09 == 1"]
[bgm10_bt cond="sf.BGM_slot10 == 1"]
[bgm11_bt cond="sf.BGM_slot11 == 1"]
[bgm12_bt cond="sf.BGM_slot12 == 1"]
[bgm13_bt cond="sf.BGM_slot13 == 1"]
[bgm14_bt cond="sf.BGM_slot14 == 1"]
[bgm15_bt cond="sf.BGM_slot15 == 1"]
[bgm16_bt cond="sf.BGM_slot16 == 1"]
[bgm17_bt cond="sf.BGM_slot17 == 1"]
[bgm18_bt cond="sf.BGM_slot18 == 1"]
[bgm19_bt cond="sf.BGM_slot19 == 1"]
[bgm20_bt cond="sf.BGM_slot20 == 1"]
[bgm21_bt cond="sf.BGM_slot21 == 1"]
[bgm22_bt cond="sf.BGM_slot22 == 1"]
[bgm23_bt cond="sf.BGM_slot23 == 1"]
[bgm24_bt cond="sf.BGM_slot24 == 1"]
[bgm25_bt cond="sf.BGM_slot25 == 1"]
[bgm26_bt cond="sf.BGM_slot26 == 1"]
[bgm27_bt cond="sf.BGM_slot27 == 1"]
[bgm28_bt cond="sf.BGM_slot28 == 1"]
[bgm29_bt cond="sf.BGM_slot29 == 1"]
[bgm30_bt cond="sf.BGM_slot30 == 1"]

;------------------------------------------------

*sound_loop2

;オマケモード間の移動ボタン呼び出し
[call storage="b_sub.ks"]

; 「戻る」ボタンを表示
[locate x="&tf.b_menuX[3]" y="&tf.b_menuY[3]"]
[button graphic="bnsjump_back" target=*sound_return]
[unlocklink]
[s]
;------------------------------------------------


;再生中のボタングラをクリック画像のままになるように後でなんとかする
;音量あとで個別に調整　もしくはbgmマクロ使う
*bgm01
[bgm storage="&sf.BGM01_ogg"][eval exp="tf.bgm_num =  1"]
[jump target=*sound_loop]

*bgm02
[bgm storage="&sf.BGM02_ogg"][eval exp="tf.bgm_num =  2"]
[jump target=*sound_loop]

*bgm03
[bgm storage="&sf.BGM03_ogg"][eval exp="tf.bgm_num =  3"]
[jump target=*sound_loop]

*bgm04
[bgm storage="&sf.BGM04_ogg"][eval exp="tf.bgm_num =  4"]
[jump target=*sound_loop]

*bgm05
[bgm storage="&sf.BGM05_ogg"][eval exp="tf.bgm_num =  5"]
[jump target=*sound_loop]

*bgm06
[bgm storage="&sf.BGM06_ogg"][eval exp="tf.bgm_num =  6"]
[jump target=*sound_loop]

*bgm07
[bgm storage="&sf.BGM07_ogg"][eval exp="tf.bgm_num =  7"]
[jump target=*sound_loop]

*bgm08
[bgm storage="&sf.BGM08_ogg"][eval exp="tf.bgm_num =  8"]
[jump target=*sound_loop]

*bgm09
[bgm storage="&sf.BGM09_ogg"][eval exp="tf.bgm_num =  9"]
[jump target=*sound_loop]

*bgm10
[bgm storage="&sf.BGM10_ogg"][eval exp="tf.bgm_num = 10"]
[jump target=*sound_loop]

*bgm11
[bgm storage="&sf.BGM11_ogg"][eval exp="tf.bgm_num = 11"]
[jump target=*sound_loop]


*bgm12
[bgm storage="&sf.BGM12_ogg"][eval exp="tf.bgm_num = 12"]
[jump target=*sound_loop]

*bgm13
[bgm storage="&sf.BGM13_ogg"][eval exp="tf.bgm_num = 13"]
[jump target=*sound_loop]

*bgm14
[bgm storage="&sf.BGM14_ogg"][eval exp="tf.bgm_num = 14"]
[jump target=*sound_loop]

*bgm15
[bgm storage="&sf.BGM15_ogg"][eval exp="tf.bgm_num = 15"]
[jump target=*sound_loop]

*bgm16
[bgm storage="&sf.BGM16_ogg"][eval exp="tf.bgm_num = 16"]
[jump target=*sound_loop]

*bgm17
[bgm storage="&sf.BGM17_ogg"][eval exp="tf.bgm_num = 17"]
[jump target=*sound_loop]

*bgm18
[bgm storage="&sf.BGM18_ogg"][eval exp="tf.bgm_num = 18"]
[jump target=*sound_loop]

*bgm19
[bgm storage="&sf.BGM19_ogg"][eval exp="tf.bgm_num = 19"]
[jump target=*sound_loop]

*bgm20
[bgm storage="&sf.BGM20_ogg"][eval exp="tf.bgm_num = 20"]
[jump target=*sound_loop]

*bgm21
[bgm storage="&sf.BGM21_ogg"][eval exp="tf.bgm_num = 21"]
[jump target=*sound_loop]

*bgm22
[bgm storage="&sf.BGM22_ogg"][eval exp="tf.bgm_num = 22"]
[jump target=*sound_loop]

*bgm23
[bgm storage="&sf.BGM23_ogg"][eval exp="tf.bgm_num = 23"]
[jump target=*sound_loop]

*bgm24
[bgm storage="&sf.BGM24_ogg"][eval exp="tf.bgm_num = 24"]
[jump target=*sound_loop]

*bgm25
[bgm storage="&sf.BGM25_ogg"][eval exp="tf.bgm_num = 25"]
[jump target=*sound_loop]

*bgm26
[bgm storage="&sf.BGM26_ogg"][eval exp="tf.bgm_num = 26"]
[jump target=*sound_loop]

*bgm27
[bgm storage="&sf.BGM27_ogg"][eval exp="tf.bgm_num = 27"]
[jump target=*sound_loop]

*bgm28
[bgm storage="&sf.BGM28_ogg"][eval exp="tf.bgm_num = 28"]
[jump target=*sound_loop]

*bgm29
[bgm storage="&sf.BGM29_ogg"][eval exp="tf.bgm_num = 29"]
[jump target=*sound_loop]

*bgm30
[bgm storage="&sf.BGM30_ogg"][eval exp="tf.bgm_num = 30"]
[jump target=*sound_loop]


; 「戻る」が選択された
;
*sound_return

[eval exp="tf.bgm_mode = 0"]


; メモリ上の栞４を読み込み、状態復帰
;[tempload place=4]
; マウス右クリックされたときの動作を元に戻す
[rclick enabled=false]

;リターンだと面倒だから直にタイトルへ
;[jump storage="title.ks" target=*title_menu]
[gotostart]

[return]
﻿
*CGとサムネ設定00

;カット数が多いときはここじゃなくて、結局ページごとにやらないと重いかも？

;CGの登録順をここで決める。配列の中身は、
;[0] CG開放フラグ
;[1] サムネ名
;[2] b_cgmode_init_sub.ksとb_cgmode_view.ksでの飛び先ラベル target="&'*' + sf.BGM001[1]"で書けば定義要らないか
;b_cgmode_init_sub.ksに行く前に開放フラグ決めちゃだめじゃね？
;						仕方ないからここで開放チェックして			もう1回配列[0]に定義しなおす。
;じゃあ初回定義の0は書かなくてもいいんじゃ？　イマイチ手順が間抜けだな。そんなに書き換えの手間が変わってないような？
; target="&'*' + sf.BGM001[1]"で書けば飛び先ラベル定義要らないか。変則的な処理が必要なら追加してね。そのときはb_cgmode_view.ksの飛び先処理も要確認。

;evcgマクロ中で開放フラグオンになるのでb_cgmode_init_sub.ksは処理不要 2018/05/03
;最初から配列[0]に開放判定用フラグを入れる
;------------------------------------------------

;サムネやファイル名・フラグは変数で省略しないで実際ので書く

;------------------------------------------------

;ほんとはタイトル別にintファイル作らないといけないけど、面倒なのでここで条件分岐いれるか
;                          ↓ボタン  ↓ogg
;[if    exp="sf.gameNo == 1"]
	;[2]は曲名　あとで定義するのでカラで。詰めてはいけない
	;マクロのナンバーと曲名画像のナンバーがずれてややこしいからソングはケツで定義
	[eval exp="sf.BGM001 = [1,'bgm001',,sf.bgm_x1      ,sf.bgm_y01]"]
	[eval exp="sf.BGM002 = [1,'bgm002',,sf.bgm_x2      ,sf.bgm_y01]"]
	[eval exp="sf.BGM003 = [1,'bgm003',,sf.bgm_x1      ,sf.bgm_y02]"]
	[eval exp="sf.BGM004 = [1,'bgm004',,sf.bgm_x2      ,sf.bgm_y02]"]
	[eval exp="sf.BGM005 = [1,'bgm005',,sf.bgm_x1      ,sf.bgm_y03]"]
	[eval exp="sf.BGM006 = [1,'bgm006',,sf.bgm_x2      ,sf.bgm_y03]"]
	[eval exp="sf.BGM007 = [1,'bgm007',,sf.bgm_x1      ,sf.bgm_y04]"]
	[eval exp="sf.BGM008 = [1,'bgm008',,sf.bgm_x2      ,sf.bgm_y04]"]
	[eval exp="sf.BGM009 = []"]
	[eval exp="sf.BGM010 = []"]
	[eval exp="sf.BGM011 = []"]
	[eval exp="sf.BGM012 = []"]
	[eval exp="sf.BGM013 = []"]
	[eval exp="sf.BGM014 = []"]
	[eval exp="sf.BGM015 = []"]
	[eval exp="sf.BGM016 = []"]
	[eval exp="sf.BGM017 = []"]
	[eval exp="sf.BGM018 = []"]
	[eval exp="sf.BGM019 = []"]
	[eval exp="sf.BGM020 = []"]
	[eval exp="sf.BGM021 = []"]
	[eval exp="sf.BGM022 = []"]
	[eval exp="sf.BGM023 = []"]
	[eval exp="sf.BGM024 = []"]
	[eval exp="sf.BGM025 = []"]
	[eval exp="sf.BGM026 = []"]
	[eval exp="sf.BGM027 = []"]
	[eval exp="sf.BGM028 = []"]
	[eval exp="sf.BGM029 = []"]
	[eval exp="sf.BGM030 = []"]

	;文字数揃わなくて気持ち悪いから曲名別にしよ
	;マクロのナンバーと曲名画像のナンバーがずれてややこしいからソングはケツで定義
	[eval exp="sf.BGM001[2] = 'Vanila_A_BGM01_Loop'"]
	[eval exp="sf.BGM002[2] = 'Vanila_A_BGM02_Loop'"]
	[eval exp="sf.BGM003[2] = 'Vanila_A_BGM03_Loop'"]
	[eval exp="sf.BGM004[2] = 'Vanila_A_BGM04_Loop'"]
	[eval exp="sf.BGM005[2] = 'Vanila_A_BGM05_Loop'"]
	[eval exp="sf.BGM006[2] = 'Vanila_A_BGM06_Loop'"]
	[eval exp="sf.BGM007[2] = 'Vanila_A_BGM07_Loop'"]
	[eval exp="sf.BGM008[2] = 'Vanila_A_BGM08_Loop'"]
[eval exp="sf.BGM028 = []"]
[eval exp="sf.BGM029 = []"]
[eval exp="sf.BGM030 = []"]








;[bgm007]
;[bgm_IDW_bgm_A001]
;は使っていません。
;[elsif exp="sf.gameNo == 2"]
;	[eval exp="sf.BGM001 = [1,'GUE_bgm001','mus01',sf.bgm_x1-300 ,sf.bgm_y01]"]
;	[eval exp="sf.BGM002 = [1,'GUE_bgm002','mus02',sf.bgm_x1+300 ,sf.bgm_y01]"]
;	[eval exp="sf.BGM003 = [1,'GUE_bgm003','mus03',sf.bgm_x1-300 ,sf.bgm_y02]"]
;	[eval exp="sf.BGM004 = [1,'GUE_bgm004','mus04',sf.bgm_x1+300 ,sf.bgm_y02]"]
;	[eval exp="sf.BGM005 = [1,'GUE_bgm005','mus05',sf.bgm_x1-300 ,sf.bgm_y03]"]
;	[eval exp="sf.BGM006 = [1,'GUE_bgm006','mus06',sf.bgm_x1+300 ,sf.bgm_y03]"]
;	[eval exp="sf.BGM007 = [1,'GUE_bgm007','mus07',sf.bgm_x1-300 ,sf.bgm_y04]"]
;	[eval exp="sf.BGM008 = [1,'GUE_bgm008','mus08',sf.bgm_x1+300 ,sf.bgm_y04]"]
;	[eval exp="sf.BGM009 = [1,'GUE_bgm009','mus09',sf.bgm_x1-300 ,sf.bgm_y05]"]
;	[eval exp="sf.BGM010 = [1,'GUE_bgm010','mus10',sf.bgm_x1+300 ,sf.bgm_y05]"]
;	[eval exp="sf.BGM011 = [1,'GUE_bgm011','Survival_Rate_Short'         ,sf.bgm_x1-300 ,sf.bgm_y06]"]
;	[eval exp="sf.BGM012 = [1,'GUE_bgm012','Survival_Rate_Short_OffVocal',sf.bgm_x1+300 ,sf.bgm_y06]"]
;[endif]

[eval exp="sf.BGM031 = []"]
[eval exp="sf.BGM032 = []"]
[eval exp="sf.BGM033 = []"]
[eval exp="sf.BGM034 = []"]
[eval exp="sf.BGM035 = []"]
[eval exp="sf.BGM036 = []"]
[eval exp="sf.BGM037 = []"]
[eval exp="sf.BGM038 = []"]
[eval exp="sf.BGM039 = []"]
[eval exp="sf.BGM040 = []"]
[eval exp="sf.BGM041 = []"]
[eval exp="sf.BGM042 = []"]
[eval exp="sf.BGM043 = []"]
[eval exp="sf.BGM044 = []"]
[eval exp="sf.BGM045 = []"]
[eval exp="sf.BGM046 = []"]
[eval exp="sf.BGM047 = []"]
[eval exp="sf.BGM048 = []"]
[eval exp="sf.BGM049 = []"]
[eval exp="sf.BGM050 = []"]
[eval exp="sf.BGM051 = []"]
[eval exp="sf.BGM052 = []"]
[eval exp="sf.BGM053 = []"]
[eval exp="sf.BGM054 = []"]
[eval exp="sf.BGM055 = []"]
[eval exp="sf.BGM056 = []"]
[eval exp="sf.BGM057 = []"]
[eval exp="sf.BGM058 = []"]
[eval exp="sf.BGM059 = []"]
[eval exp="sf.BGM060 = []"]
;[eval exp="sf.BGM061 = []"]
;[eval exp="sf.BGM062 = []"]
;[eval exp="sf.BGM063 = []"]
;[eval exp="sf.BGM064 = []"]
;[eval exp="sf.BGM065 = []"]
;[eval exp="sf.BGM066 = []"]
;[eval exp="sf.BGM067 = []"]
;[eval exp="sf.BGM068 = []"]
;[eval exp="sf.BGM069 = []"]
;[eval exp="sf.BGM070 = []"]


[return]

;---------------------------------------------
;これでここからしたの各ページの項目は今後書き換えなくていい。ページ増えたら要追加。
;---------------------------------------------
*BGMとボタン設定01

;ページの各項目にサムネを設定
[eval exp="sf.BGM_slot01 = sf.BGM001[0] , sf.BGM01_bt = sf.BGM001[1] , sf.BGM01_ogg = sf.BGM001[2] , sf.BGM01_x = sf.BGM001[3] , sf.BGM01_y = sf.BGM001[4]"]
[eval exp="sf.BGM_slot02 = sf.BGM002[0] , sf.BGM02_bt = sf.BGM002[1] , sf.BGM02_ogg = sf.BGM002[2] , sf.BGM02_x = sf.BGM002[3] , sf.BGM02_y = sf.BGM002[4]"]
[eval exp="sf.BGM_slot03 = sf.BGM003[0] , sf.BGM03_bt = sf.BGM003[1] , sf.BGM03_ogg = sf.BGM003[2] , sf.BGM03_x = sf.BGM003[3] , sf.BGM03_y = sf.BGM003[4]"]
[eval exp="sf.BGM_slot04 = sf.BGM004[0] , sf.BGM04_bt = sf.BGM004[1] , sf.BGM04_ogg = sf.BGM004[2] , sf.BGM04_x = sf.BGM004[3] , sf.BGM04_y = sf.BGM004[4]"]
[eval exp="sf.BGM_slot05 = sf.BGM005[0] , sf.BGM05_bt = sf.BGM005[1] , sf.BGM05_ogg = sf.BGM005[2] , sf.BGM05_x = sf.BGM005[3] , sf.BGM05_y = sf.BGM005[4]"]
[eval exp="sf.BGM_slot06 = sf.BGM006[0] , sf.BGM06_bt = sf.BGM006[1] , sf.BGM06_ogg = sf.BGM006[2] , sf.BGM06_x = sf.BGM006[3] , sf.BGM06_y = sf.BGM006[4]"]
[eval exp="sf.BGM_slot07 = sf.BGM007[0] , sf.BGM07_bt = sf.BGM007[1] , sf.BGM07_ogg = sf.BGM007[2] , sf.BGM07_x = sf.BGM007[3] , sf.BGM07_y = sf.BGM007[4]"]
[eval exp="sf.BGM_slot08 = sf.BGM008[0] , sf.BGM08_bt = sf.BGM008[1] , sf.BGM08_ogg = sf.BGM008[2] , sf.BGM08_x = sf.BGM008[3] , sf.BGM08_y = sf.BGM008[4]"]
[eval exp="sf.BGM_slot09 = sf.BGM009[0] , sf.BGM09_bt = sf.BGM009[1] , sf.BGM09_ogg = sf.BGM009[2] , sf.BGM09_x = sf.BGM009[3] , sf.BGM09_y = sf.BGM009[4]"]
[eval exp="sf.BGM_slot10 = sf.BGM010[0] , sf.BGM10_bt = sf.BGM010[1] , sf.BGM10_ogg = sf.BGM010[2] , sf.BGM10_x = sf.BGM010[3] , sf.BGM10_y = sf.BGM010[4]"]
[eval exp="sf.BGM_slot11 = sf.BGM011[0] , sf.BGM11_bt = sf.BGM011[1] , sf.BGM11_ogg = sf.BGM011[2] , sf.BGM11_x = sf.BGM011[3] , sf.BGM11_y = sf.BGM011[4]"]
[eval exp="sf.BGM_slot12 = sf.BGM012[0] , sf.BGM12_bt = sf.BGM012[1] , sf.BGM12_ogg = sf.BGM012[2] , sf.BGM12_x = sf.BGM012[3] , sf.BGM12_y = sf.BGM012[4]"]
[eval exp="sf.BGM_slot13 = sf.BGM013[0] , sf.BGM13_bt = sf.BGM013[1] , sf.BGM13_ogg = sf.BGM013[2] , sf.BGM13_x = sf.BGM013[3] , sf.BGM13_y = sf.BGM013[4]"]
[eval exp="sf.BGM_slot14 = sf.BGM014[0] , sf.BGM14_bt = sf.BGM014[1] , sf.BGM14_ogg = sf.BGM014[2] , sf.BGM14_x = sf.BGM014[3] , sf.BGM14_y = sf.BGM014[4]"]
[eval exp="sf.BGM_slot15 = sf.BGM015[0] , sf.BGM15_bt = sf.BGM015[1] , sf.BGM15_ogg = sf.BGM015[2] , sf.BGM15_x = sf.BGM015[3] , sf.BGM15_y = sf.BGM015[4]"]
[eval exp="sf.BGM_slot16 = sf.BGM016[0] , sf.BGM16_bt = sf.BGM016[1] , sf.BGM16_ogg = sf.BGM016[2] , sf.BGM16_x = sf.BGM016[3] , sf.BGM16_y = sf.BGM016[4]"]
[eval exp="sf.BGM_slot17 = sf.BGM017[0] , sf.BGM17_bt = sf.BGM017[1] , sf.BGM17_ogg = sf.BGM017[2] , sf.BGM17_x = sf.BGM017[3] , sf.BGM17_y = sf.BGM017[4]"]
[eval exp="sf.BGM_slot18 = sf.BGM018[0] , sf.BGM18_bt = sf.BGM018[1] , sf.BGM18_ogg = sf.BGM018[2] , sf.BGM18_x = sf.BGM018[3] , sf.BGM18_y = sf.BGM018[4]"]
[eval exp="sf.BGM_slot19 = sf.BGM019[0] , sf.BGM19_bt = sf.BGM019[1] , sf.BGM19_ogg = sf.BGM019[2] , sf.BGM19_x = sf.BGM019[3] , sf.BGM19_y = sf.BGM019[4]"]
[eval exp="sf.BGM_slot20 = sf.BGM020[0] , sf.BGM20_bt = sf.BGM020[1] , sf.BGM20_ogg = sf.BGM020[2] , sf.BGM20_x = sf.BGM020[3] , sf.BGM20_y = sf.BGM020[4]"]
[eval exp="sf.BGM_slot21 = sf.BGM021[0] , sf.BGM21_bt = sf.BGM021[1] , sf.BGM21_ogg = sf.BGM021[2] , sf.BGM21_x = sf.BGM021[3] , sf.BGM21_y = sf.BGM021[4]"]
[eval exp="sf.BGM_slot22 = sf.BGM022[0] , sf.BGM22_bt = sf.BGM022[1] , sf.BGM22_ogg = sf.BGM022[2] , sf.BGM22_x = sf.BGM022[3] , sf.BGM22_y = sf.BGM022[4]"]
[eval exp="sf.BGM_slot23 = sf.BGM023[0] , sf.BGM23_bt = sf.BGM023[1] , sf.BGM23_ogg = sf.BGM023[2] , sf.BGM23_x = sf.BGM023[3] , sf.BGM23_y = sf.BGM023[4]"]
[eval exp="sf.BGM_slot24 = sf.BGM024[0] , sf.BGM24_bt = sf.BGM024[1] , sf.BGM24_ogg = sf.BGM024[2] , sf.BGM24_x = sf.BGM024[3] , sf.BGM24_y = sf.BGM024[4]"]
[eval exp="sf.BGM_slot25 = sf.BGM025[0] , sf.BGM25_bt = sf.BGM025[1] , sf.BGM25_ogg = sf.BGM025[2] , sf.BGM25_x = sf.BGM025[3] , sf.BGM25_y = sf.BGM025[4]"]
[eval exp="sf.BGM_slot26 = sf.BGM026[0] , sf.BGM26_bt = sf.BGM026[1] , sf.BGM26_ogg = sf.BGM026[2] , sf.BGM26_x = sf.BGM026[3] , sf.BGM26_y = sf.BGM026[4]"]
[eval exp="sf.BGM_slot27 = sf.BGM027[0] , sf.BGM27_bt = sf.BGM027[1] , sf.BGM27_ogg = sf.BGM027[2] , sf.BGM27_x = sf.BGM027[3] , sf.BGM27_y = sf.BGM027[4]"]
[eval exp="sf.BGM_slot28 = sf.BGM028[0] , sf.BGM28_bt = sf.BGM028[1] , sf.BGM28_ogg = sf.BGM028[2] , sf.BGM28_x = sf.BGM028[3] , sf.BGM28_y = sf.BGM028[4]"]
[eval exp="sf.BGM_slot29 = sf.BGM029[0] , sf.BGM29_bt = sf.BGM029[1] , sf.BGM29_ogg = sf.BGM029[2] , sf.BGM29_x = sf.BGM029[3] , sf.BGM29_y = sf.BGM029[4]"]
[eval exp="sf.BGM_slot30 = sf.BGM030[0] , sf.BGM30_bt = sf.BGM030[1] , sf.BGM30_ogg = sf.BGM030[2] , sf.BGM30_x = sf.BGM030[3] , sf.BGM30_y = sf.BGM030[4]"]








[return]
;---------------------------------------------
;---------------------------------------------
*BGMとボタン設定02
[eval exp="sf.BGM_slot01 = sf.BGM021[0] , sf.BGM01_bt = sf.BGM021[1] , sf.BGM01_ogg = sf.BGM021[2] , sf.BGM01_x = sf.BGM021[3] , sf.BGM01_y = sf.BGM021[4]"]
[eval exp="sf.BGM_slot02 = sf.BGM022[0] , sf.BGM02_bt = sf.BGM022[1] , sf.BGM02_ogg = sf.BGM022[2] , sf.BGM02_x = sf.BGM022[3] , sf.BGM02_y = sf.BGM022[4]"]
[eval exp="sf.BGM_slot03 = sf.BGM023[0] , sf.BGM03_bt = sf.BGM023[1] , sf.BGM03_ogg = sf.BGM023[2] , sf.BGM03_x = sf.BGM023[3] , sf.BGM03_y = sf.BGM023[4]"]
[eval exp="sf.BGM_slot04 = sf.BGM024[0] , sf.BGM04_bt = sf.BGM024[1] , sf.BGM04_ogg = sf.BGM024[2] , sf.BGM04_x = sf.BGM024[3] , sf.BGM04_y = sf.BGM024[4]"]
[eval exp="sf.BGM_slot05 = sf.BGM025[0] , sf.BGM05_bt = sf.BGM025[1] , sf.BGM05_ogg = sf.BGM025[2] , sf.BGM05_x = sf.BGM025[3] , sf.BGM05_y = sf.BGM025[4]"]
[eval exp="sf.BGM_slot06 = sf.BGM026[0] , sf.BGM06_bt = sf.BGM026[1] , sf.BGM06_ogg = sf.BGM026[2] , sf.BGM06_x = sf.BGM026[3] , sf.BGM06_y = sf.BGM026[4]"]
[eval exp="sf.BGM_slot07 = sf.BGM027[0] , sf.BGM07_bt = sf.BGM027[1] , sf.BGM07_ogg = sf.BGM027[2] , sf.BGM07_x = sf.BGM027[3] , sf.BGM07_y = sf.BGM027[4]"]
[eval exp="sf.BGM_slot08 = sf.BGM028[0] , sf.BGM08_bt = sf.BGM028[1] , sf.BGM08_ogg = sf.BGM028[2] , sf.BGM08_x = sf.BGM028[3] , sf.BGM08_y = sf.BGM028[4]"]
[eval exp="sf.BGM_slot09 = sf.BGM029[0] , sf.BGM09_bt = sf.BGM029[1] , sf.BGM09_ogg = sf.BGM029[2] , sf.BGM09_x = sf.BGM029[3] , sf.BGM09_y = sf.BGM029[4]"]
[eval exp="sf.BGM_slot10 = sf.BGM030[0] , sf.BGM10_bt = sf.BGM030[1] , sf.BGM10_ogg = sf.BGM030[2] , sf.BGM10_x = sf.BGM030[3] , sf.BGM10_y = sf.BGM030[4]"]
[eval exp="sf.BGM_slot11 = sf.BGM031[0] , sf.BGM11_bt = sf.BGM031[1] , sf.BGM11_ogg = sf.BGM031[2] , sf.BGM11_x = sf.BGM031[3] , sf.BGM11_y = sf.BGM031[4]"]
[eval exp="sf.BGM_slot12 = sf.BGM032[0] , sf.BGM12_bt = sf.BGM032[1] , sf.BGM12_ogg = sf.BGM032[2] , sf.BGM12_x = sf.BGM032[3] , sf.BGM12_y = sf.BGM032[4]"]
[eval exp="sf.BGM_slot13 = sf.BGM033[0] , sf.BGM13_bt = sf.BGM033[1] , sf.BGM13_ogg = sf.BGM033[2] , sf.BGM13_x = sf.BGM033[3] , sf.BGM13_y = sf.BGM033[4]"]
[eval exp="sf.BGM_slot14 = sf.BGM034[0] , sf.BGM14_bt = sf.BGM034[1] , sf.BGM14_ogg = sf.BGM034[2] , sf.BGM14_x = sf.BGM034[3] , sf.BGM14_y = sf.BGM034[4]"]
[eval exp="sf.BGM_slot15 = sf.BGM035[0] , sf.BGM15_bt = sf.BGM035[1] , sf.BGM15_ogg = sf.BGM035[2] , sf.BGM15_x = sf.BGM035[3] , sf.BGM15_y = sf.BGM035[4]"]
[eval exp="sf.BGM_slot16 = sf.BGM036[0] , sf.BGM16_bt = sf.BGM036[1] , sf.BGM16_ogg = sf.BGM036[2] , sf.BGM16_x = sf.BGM036[3] , sf.BGM16_y = sf.BGM036[4]"]
[eval exp="sf.BGM_slot17 = sf.BGM037[0] , sf.BGM17_bt = sf.BGM037[1] , sf.BGM17_ogg = sf.BGM037[2] , sf.BGM17_x = sf.BGM037[3] , sf.BGM17_y = sf.BGM037[4]"]
[eval exp="sf.BGM_slot18 = sf.BGM038[0] , sf.BGM18_bt = sf.BGM038[1] , sf.BGM18_ogg = sf.BGM038[2] , sf.BGM18_x = sf.BGM038[3] , sf.BGM18_y = sf.BGM038[4]"]
[eval exp="sf.BGM_slot19 = sf.BGM039[0] , sf.BGM19_bt = sf.BGM039[1] , sf.BGM19_ogg = sf.BGM039[2] , sf.BGM19_x = sf.BGM039[3] , sf.BGM19_y = sf.BGM039[4]"]
[eval exp="sf.BGM_slot20 = sf.BGM040[0] , sf.BGM20_bt = sf.BGM040[1] , sf.BGM20_ogg = sf.BGM040[2] , sf.BGM20_x = sf.BGM040[3] , sf.BGM20_y = sf.BGM040[4]"]
[return]

;---------------------------------------------
;---------------------------------------------
*BGMとボタン設定03
[eval exp="sf.BGM_slot01 = sf.BGM041[0] , sf.BGM01_bt = sf.BGM041[1] , sf.BGM01_ogg = sf.BGM041[2] , sf.BGM01_x = sf.BGM041[3] , sf.BGM01_y = sf.BGM041[4]"]
[eval exp="sf.BGM_slot02 = sf.BGM042[0] , sf.BGM02_bt = sf.BGM042[1] , sf.BGM02_ogg = sf.BGM042[2] , sf.BGM02_x = sf.BGM042[3] , sf.BGM02_y = sf.BGM042[4]"]
[eval exp="sf.BGM_slot03 = sf.BGM043[0] , sf.BGM03_bt = sf.BGM043[1] , sf.BGM03_ogg = sf.BGM043[2] , sf.BGM03_x = sf.BGM043[3] , sf.BGM03_y = sf.BGM043[4]"]
[eval exp="sf.BGM_slot04 = sf.BGM044[0] , sf.BGM04_bt = sf.BGM044[1] , sf.BGM04_ogg = sf.BGM044[2] , sf.BGM04_x = sf.BGM044[3] , sf.BGM04_y = sf.BGM044[4]"]
[eval exp="sf.BGM_slot05 = sf.BGM045[0] , sf.BGM05_bt = sf.BGM045[1] , sf.BGM05_ogg = sf.BGM045[2] , sf.BGM05_x = sf.BGM045[3] , sf.BGM05_y = sf.BGM045[4]"]
[eval exp="sf.BGM_slot06 = sf.BGM046[0] , sf.BGM06_bt = sf.BGM046[1] , sf.BGM06_ogg = sf.BGM046[2] , sf.BGM06_x = sf.BGM046[3] , sf.BGM06_y = sf.BGM046[4]"]
[eval exp="sf.BGM_slot07 = sf.BGM047[0] , sf.BGM07_bt = sf.BGM047[1] , sf.BGM07_ogg = sf.BGM047[2] , sf.BGM07_x = sf.BGM047[3] , sf.BGM07_y = sf.BGM047[4]"]
[eval exp="sf.BGM_slot08 = sf.BGM048[0] , sf.BGM08_bt = sf.BGM048[1] , sf.BGM08_ogg = sf.BGM048[2] , sf.BGM08_x = sf.BGM048[3] , sf.BGM08_y = sf.BGM048[4]"]
[eval exp="sf.BGM_slot09 = sf.BGM049[0] , sf.BGM09_bt = sf.BGM049[1] , sf.BGM09_ogg = sf.BGM049[2] , sf.BGM09_x = sf.BGM049[3] , sf.BGM09_y = sf.BGM049[4]"]
[eval exp="sf.BGM_slot10 = sf.BGM050[0] , sf.BGM10_bt = sf.BGM050[1] , sf.BGM10_ogg = sf.BGM050[2] , sf.BGM10_x = sf.BGM050[3] , sf.BGM10_y = sf.BGM050[4]"]
[eval exp="sf.BGM_slot11 = sf.BGM051[0] , sf.BGM11_bt = sf.BGM051[1] , sf.BGM11_ogg = sf.BGM051[2] , sf.BGM11_x = sf.BGM051[3] , sf.BGM11_y = sf.BGM051[4]"]
[eval exp="sf.BGM_slot12 = sf.BGM052[0] , sf.BGM12_bt = sf.BGM052[1] , sf.BGM12_ogg = sf.BGM052[2] , sf.BGM12_x = sf.BGM052[3] , sf.BGM12_y = sf.BGM052[4]"]
[eval exp="sf.BGM_slot13 = sf.BGM053[0] , sf.BGM13_bt = sf.BGM053[1] , sf.BGM13_ogg = sf.BGM053[2] , sf.BGM13_x = sf.BGM053[3] , sf.BGM13_y = sf.BGM053[4]"]
[eval exp="sf.BGM_slot14 = sf.BGM054[0] , sf.BGM14_bt = sf.BGM054[1] , sf.BGM14_ogg = sf.BGM054[2] , sf.BGM14_x = sf.BGM054[3] , sf.BGM14_y = sf.BGM054[4]"]
[eval exp="sf.BGM_slot15 = sf.BGM055[0] , sf.BGM15_bt = sf.BGM055[1] , sf.BGM15_ogg = sf.BGM055[2] , sf.BGM15_x = sf.BGM055[3] , sf.BGM15_y = sf.BGM055[4]"]
[eval exp="sf.BGM_slot16 = sf.BGM056[0] , sf.BGM16_bt = sf.BGM056[1] , sf.BGM16_ogg = sf.BGM056[2] , sf.BGM16_x = sf.BGM056[3] , sf.BGM16_y = sf.BGM056[4]"]
[eval exp="sf.BGM_slot17 = sf.BGM057[0] , sf.BGM17_bt = sf.BGM057[1] , sf.BGM17_ogg = sf.BGM057[2] , sf.BGM17_x = sf.BGM057[3] , sf.BGM17_y = sf.BGM057[4]"]
[eval exp="sf.BGM_slot18 = sf.BGM058[0] , sf.BGM18_bt = sf.BGM058[1] , sf.BGM18_ogg = sf.BGM058[2] , sf.BGM18_x = sf.BGM058[3] , sf.BGM18_y = sf.BGM058[4]"]
[eval exp="sf.BGM_slot19 = sf.BGM059[0] , sf.BGM19_bt = sf.BGM059[1] , sf.BGM19_ogg = sf.BGM059[2] , sf.BGM19_x = sf.BGM059[3] , sf.BGM19_y = sf.BGM059[4]"]
[eval exp="sf.BGM_slot20 = sf.BGM060[0] , sf.BGM20_bt = sf.BGM060[1] , sf.BGM20_ogg = sf.BGM060[2] , sf.BGM20_x = sf.BGM060[3] , sf.BGM20_y = sf.BGM060[4]"]
[return]杏卧Ȁ吀⨬﮸ḁ瘁牯楢sȀ걄焀Ƹ杏卧吀⓳㬒Α潶扲獩+楘桰伮杲氠扩潖扲獩䤠㈠㄰〲〲″伨湭灩敲敳瑮)Ā瘅牯楢⥳䍂Ŗࠀ㄀⁌胅郐Uက①ษ暓⥉钥⢡项䢔⥉钥ヅ颉覔ᣅ豣옱挘ㆌᣆ豣㐠ᕤ⢀踉橉㧎ᡧ踧ꁲ椹㡎₧訇ह挦ꙮꚴ湫⧎ࠥ复Ȁ䀀ⅈᒅ䡒蔡戔ↈᢆ衢蜡爜⇈鲧ੲ꠪芠㈊⃈䲃鎤㩎꣩躣됨䋐ⴋ튴䱊픱捖붮崆獼㧎鳧칳玜ৎ䍂Ŗ 䈄ᤆၤࡂ蔡刔⦈颦ੲ젲킀喐 䜀ᒑ녉쬔Ჱ퇍伤Ⳳፑ턵䔳呓啍啕畕坝敶盗흵絶顙宅綸롙宅藘憅蘘ᡡ憆蘘�緷⁽搴Ġꀀ㤣ꈩᨢꈹ萃겆dЀ 鈉⤢ꎒꙉ橦榮뚛ꭨ涶닋쬬ಲ蚄ʬ榠Ꚛ驩榦Ꚛ驩榦Ꚛ驩榦暚陙奥斖陙奥斖陙奥斖陙奥斖陙奥斖陙奥斖䁙졨*ɀ䀀燇윜⑱剅윤Ⱳࠇ复Èࠀ䀀ⱒ狅䜴㑳珇으㱳瑇쥄䲔ཌഈՙㅀ씜ᱱ퇉伤ⵒ狓圵㵳珗흍嵵啗啕啕啕啕啕啕啕啕啕啕啕啕啕啕啕啕腕郐UЀ鴡陦聪㌈憐㐠ᕤ耀᠀ࢡృഈՙ蠀騠髐췳ูꦠ鬔쇓咉➛ꦹ鮘칳沜᧎鳣칳쨩얙馠髐칳౉ꖚ馠髐칳ቹޛꦭ髒칳ຜᧆ鱡칳퉩ޚ�魘칳큙릨鬔칳钉➛릵魔칳玜㧎鳧칳庩캜㧁鳡칳�殛হ鱝칳擹্鳡칳玜㧎鳧칳䈉噃@Ѐ�옘芝素ڎᑢ꘡錡琞ຏꂓ젱ꐩ贞䚎ꥊ傃ᥒꔧ艴郐U ႄ䡒蔡刔ⅈᒅ䡒蘡战ↈ鲧ੲ꠪銤⪊⣊첳쬲댬㋌곋컃쎰䌐ㄌ튴ⱊ픵捖떍黦깳䠹ꕫ횵⭚钥䩒ꔩ㐠ᕤ⁀遤ف蔙刔ⅈ领쩲ꜩ芠ࠊ复Ȁࠀ켤ᴑᇑ턝ᴑᇑ턝ᴑ儜┒ቑ턥ⴲ㍓唽啔癗奭疗럛嶅痘ퟟ�跗᝟斆陙奥斖陙奥斖陙॥䍂Ŗ 䈀℈ᒄ䡒蔡抔ㆌ鳇亃ू킁喐 䜀ᑱ采줜⒑뉋䴤Ⳓ伴㓳Ꮡ充䴴ᕓ텝甕ᛓ卥崶㗓퍥敕盕�斶띛好綶�緷�緷ퟟ⁵搴Ġꀀ㤣⊒鈩㤢鉈萄겆dЀꀀ踨㣢⎎鉉夤⚒陹襧ꦚ麙ꧩઢ蚄ʬ梠꞊誘袧躈褨榖骉릪沢껊뫫꺺뫫꺺뫫꺺뫫꺺뫫꺺뫫䂺졨*ɀ䀀片䜤⑲剅䔤⑲ࠇ复Èࠀ쀀ᰱ剃윤Ⲳ伴㓳Ꮡ턽㴳瑕ᝅഈՙ郀䬌Ჱ퇍儤ⵒ動픵ⵒ呕唽啕啕啕啕啕啕啕啕啕啕啕啕啕啕啕啕㓕퍍脴郐ᤀꓤ풦๺戒㦐䆉ࡨ쑉씜㩜鳩岣螌⎐䥆⇭챓А颵䧐ᒅ橚猝譔궍䡤ⵁ욶⅒꣥䈇噃ᦡ฀Ǉ䴜ᰃ͋䤀Óᑍ촁ē퇀䀴㴓ፀEᰀ͍儴㐄ё䴀Ĕ哑턁Ĵፀ쁅䔳㑀Uᰀ͍儴㐄ё䴀Ĕ㕑企Ĵፀ䁅䴴呀MĀĀ䈖↡ȫ㢀鉀䤠㓰掀砼䰚ᙘ༼ޚӓ䀀㓲Ṹ༼দ㒐鸏켇榃礠㰞鸏팇䠄ޞ菏쇧Ĵፌদ蓑ɪ팼榄㓂ꩡ耀܁耀ጀ䃊↡ȫ㢀ꎇቈ鈸奤䢠斒斀鹙鈀祥耀ƀ쨓ꅀ⬡老(蜀墢瀖쬜踂奣鉀ବ奠䴀砃䀚Ĕ耀܂耀ᬀ┴ܖ㐨╤က烠쬔㓒阸榥좢ⱱ퍋酄楥Ꚛ⊉䬴䓓鸑秧দ팼⢄ꊊɩ㑑ōฅ㘁䩨ฬ桐䫈 $阸秥⢢Ꚋ驩쪪ⱱ兄䴔啓靝壣ꊉ騨ꪦ⺺틋켴䔓㑑啍嵵驨觧⢢Ꚛ몪㐮ᑍ퍍唴啕᝝ꚉ驩ꪪ꺪켋䔓㓓啍嵵ח梢Ꚛꪩ䂺䴔㓓핕嵵蠗梢Ꚛ몪팂䴴啕흝斕榀ꪪ몪Ⲯ吃啕흝斕ꀙꪪ뫪⮮Ë痗�斕ٙ뫠⮮닋,ǀ ࣀ줺늨ᬈ롍ðᨔ⊲蠀谀䩡ꔱ挌䈒ꄊ䱡䡂搡剒⤪થ⩂锥䅒ꕈ劤䨲ꔭ劖℅銕ꥊꐠ剒ԩ耀㠝耀堝蔈겆òࠀ鑣챢䈤ㅊ鳦ታꔡ猘㧎ᒩ칣钜㆒鳧乳쥊玘㧎ꔧ챤鎜㩒鳧๳⥊璥㧎ꓧ劔玜䩒鴩칳Ĺ䀀ฅ㘁沊ぎ吒졨Jᔠ쀀㣠ꖖ鹩訧榦鉉禦➞Ꚛ橩꒒鹩訧榦㲚兄䴔啓鹹觧⢢Ꚛ犪兝䴔㓓啍쬥⢢Ꚋꪩપ㓓퍍啔蕕驩榦ꪪ싫営啕흝慵ꫛꪪ삺嵵痗ᥥ꺸뫫Ⲯ伀p⨀憰葵ꊓ삱䍂ɖᤀㆄ⤈ႄْꐡ䈐⥈邅ƀ쨓ꅀ⬡老p耀谐옱挘ㆌ谶象옱挘ㆌੱ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱挘ㆌᣆ豣옱嫘굫嚵᠀藎䀃葙㎍⒬ᖝڎᨗኲࠀ	谀衁鐤䪒ᕊ豂⠹锥媖궊衂࠱꒥嫔ㅬ켖ܹ꒡媔⦊꒤嫔ㆌ嫆ଡ଼ꔡ媔ⶋᢶ沛ꐡ劔ㅫ嫆㍣땊媔ㆋᣆⱫ륊劔녫ᣅ赫⡅宛ㅫ嫆굫⤵珥녋嫕걣⚵貣㆒嫆걫횵鐢㉒ᓆ걓횵蒚옰᣷걣鍚숒Ỹⵓ햱歚䩒〈赤용獚䩎攉趌픭玔׎䀀㠽䀀ᠥ❁唙愖ণḗ䊀噃ƹࠀ䩂옱玘㧎鳧๳ꑒ猘㧌⃧ႄࡂꐡㄈ飆칳ࡁ萡䈐᥈챣萠䈐ꄈ銄쩒玘䇎℈劄⥊ꔥ㧔⃧ႄ⡂钥䩒ꥊ칳ࡁ萡䩒ꔩ钔ࡒ萡䈐ꔈ劔⥊ꔩ䊔℈ኄ⥊钥剒⥊ႅࡂ钥䩒ꔩ钤੒萡䨐ꔩ劔䥊ꔩ䈔ꔉ劔⥊钥劒⥊Ⴅ⥊钥䩒┩钥䩒钥䩒ꔩ劔䩊ꔩ䪔ꔩ劔⥊钥劔⥊劕⥊钥䩒⤩钥䩒钩䩒ꔩ劔䩒ꔩ劔ꔩ劔⥊꒥劔⥊劥⥊钥䩒⥉钥䩒钥䩒ꔩ銔䩒ꔩ劔ꔪ劔⥊¥ꀀ܃耀⌀⴪仄긳ȼᑇ䰲蕀겆Èက넇횴ꭚ犌䧊굉䙃꒠䧘ℇ墵敋䄠䧊鵊ࢂة薩⪌颥隓쭂劘戌ㄫ豴䜱䉔ᣇ舀ᄃጲᐈ腀ಁ㠀䡀ʐ਀ఋ쌝䁅⹀ꌡꃀ䱰✸㚝衁჌袉⃅ꄱ⠚ꘪ考ׅ粆저�뭈肸̮큜巅䈇䈈舐᱘ŀ㠉➆ᮄꂜ呓䃪Ḁ�∀ꈢøᄉℙㄩ䄹;ø䠀聒袈㨸㸼䉀䙄䩈乌ɐЁ@ࠁࠈЀࠀ伈杧S줄*TȀ蔀ᥔᒵ㍈妅핌䏿໿＃Ｒ＾ĵ㗜罽䵑僾㷕＋쾶헣䏹閑ᓚ䮤b놘喩煪赫씎䔖諕ᕢ⬅Ð杠誀嘢䍅⑈śӡ붊㼸斌뺋匿﴿怤켘薸ൟ捯艟渽ﶌ̉�嬆㢵ᗶ씺嶅ᥬŞᨀ叢ﾄょ翿炻䊀掮∟ῼﺡ﻽叀ମ膸ᛌ궛忭纉뚶ㅌꀀᢪ㬖덬冽䮫ᚭ嶋셊ꍢ�ᢙ梆ꍐ惉�㎶ᦘ㻕붣컚髌譕ِ닚젌莋࠰ゃ̈阇ɂ肺㙀辈�ூ瞾鬭⧱੓ﻵ卸廊밈䶖釿傉ퟏ툓靆駏榨媵浲녠⬵ꦫ㬄윛譾滰虚馌妬狏ά襆超퓖ꌲ㵕訪ᠭ︀嵷喝ㅷ蒞컧ྙ昌趗搾巼ᮌߌڈ䀀ǜ䀀䑤3཰〳놝礡璳⑦琤ɹ䈂딼疥䄌Ḁ겖娥ᝀ省䳡ᣙ雊፵䔾⠅壔㲿沷椄诙蹭老蚪媪⪨謖憣胯듕ೆ궫寚ꌀᎠ欍䝅펩墚欗嵪墭팑喪퍋궶땪䗚ᨴ땑ГĘ܀㰬㇣羬๷쇇寱簘ྱ᱾밸Ŧ쳴闐츜�＿༅砎謀枫꼯�돁ば侇컮砉瞎馠�儆퀍떈窚壌漎堁읾攳긮�੨۠ ษㄒ਀旞�濿㯱ᄼ濢촡╷斓㻌鿿ῳ﹯�ᕴ췡椑葭ꋖڵ錫浌ꉆ憦䌻饦佛噦땭䳈큭곌녘넹ଡ⬍朶ꩩ䨱亇㨝桵吕嚍ᔔꖥ僿轿ꊈ悈ꭕᑚⅡ幸狋陛⺵拫岙ଃ넇恰☇鄲눫㚗ꄋঢⅻᑴ긹∨䄶䎀ԓ㭊趌Ԣ偁띇葥ၑ쉉⹕ψΆ︰��ꁡ핋搰줾�✟擓笍﷗蹭�栟뿶▗赏快㋚춳귟㼰륥疎精림䜧쭓ᨢ턀䧜ﳽ撻琸朳➊먩஧䄯ユ｝臩˺炢叕菝朷컘몼Ν䴹㷃Ꞧ倰ᚷ䙇ßҽྲྀऀ䀂旞쓜￟뗏跸碣᷅㾛暵먼鮌맿뼔౶쎈�㐠·ꡀ蟦ꦙ⡆逓鸀�ヺ�琭㛒㧂ꍎ쑒倮汑꫅识䕆암Ჲ䆄ᰨ좘瞛럟�	ᳰな暹Ⲏ靧熜죤Ჲ幙ꬦ䴬푌醑ド댕ɸ峂嫊瘜䅅⥕⤔⨫劅긴呔Ƞᰁ㕻Ꚉ笊寏뮤ᝋꗕ쿦熙떬궮滍Ŏ緢⸸삵耪䏚䶾㥪妬竗�宼淏Ꜿ﫽폷ᾭ伤ꮤ愫毺嵺׾ᒐ䰪쇾쫺냘ꡚ≧ཌྷ눔‐႑恈�걥쯏꽷ퟄ翯ﾷ卺벑䱥䝽꿵废簣ҏ㖀㢦ꚪ쪕稀픶곀ዑ㓳矙腣뾜�콼귤̽U둸樰ጔ҄낡謬阢醆듉鍢嘍Č耎ꀩ黦稅ꪦ�⮕콏鉱씔냞杴墩줶╩찅㝾ୣ븥榈ꨗᚢꊪᔪⵅ�딚땮婚ꩩ瓬ḇπ䠀�霻䰁ᓁᣮ받ꂮ悿迬顩⚟뎸뇯꽠ￜ㭁ﾵｙ⨓⾡皲ا菄攇냦ꦷ៛蔻독귣謙헐゘몀ҩ㑾允�뱥ﭞ䞷읢㳶㕽麋⻕뻚伽Ꞣ鞯⤡⬡�ש㈐첋ꩄᙦೊ䔀팄鯞횶㌸N鶶繼挜粌￳惞擴�ྙ೜룱矻鄿ꮧ�ﺐ考s鮀먙稛ꗠ齹ⱽ垘짃鎤�⎵零妞걫⿝뿣麊ỏ뙈놜㘹ퟝﬥ㥟ꚃꜳᩉꇩꗸ훜穕酭␀耀㰅怀烁댜绸�臏뾩꨺䧊컨歙�纟휟㷟੮暖闾섻뾯ඩꁣ잦蒜켷椡֢ꂢ엩ਤಝၠ섪Ґ�葥翯ﷵୗൽ翏㋨詿㡟좵߼퐅둦∣ꚪ䳊ﭿ꿸쎀텔皹障쌺쉧�홫ꠟど낊⊪床ᑑ充ᄔ绚矻閁暕䚭充䰥ᰀ뀼ﾖ磖곣๴鶼ﷻ᫚⼟䢏韏䥧霮秭䏫㫾퓦칩夃앻徜�ퟻ啖밎禟ꫪ�ꛏ䚡�鿧䎙骹ꆪ꾹鐈㙯䃘Ůꆨ䶾筺魝膂錾귻쳧魒㦻室睞㙾罢끒ⷛ๷㹽灬鳋宫䌳ㅏྕᬳ膆쳦뵕⺳ꂸ㼼尓喐餷瘭縺강㳧ᵍᲞꈆ란⃰ంꔥ恣选ኃ掺ၗළP旞꿔紟ᔟ౱��ᑥ㿯㻺ᖪ渰쟃ျ渒㑴歚�쥠졠眹螳誦낱ゐ暭檲䌵䬆쥓薃␵붐䐨ਡଃ⫋䇒蔨ꄁ爰橧ﯟ鱍㻣푆෦殽鏦�뜾﯏珳斋㞃鿶镮瑝쳎ᓬ痌鵪䦡ῦ픊턌뀌麧㠞ᐍ뿮畭칂哌탰㟅䈤ッ첼穌黧놜쩨囵쁠榾毶陸ﬃ鎢蓮ڻ뺚鎺Წᦊ흦吏鏡쿹号뉻̆瘜ߝﳷ졅἖혴ඇ㼂ꎼ駎㍪偕其औ銏킓졽ह柼翯僂促筦쀳堆䖿還ￊ⹎ຌ鐡䌤鲏ᝂȨĠ�ﱥ꽷蓟㹒旔꿫䮡︲ힻ⃯듋駝‟䞔㗤땟啐╕怀�༺�ﵵ嵫㌚孬抷ꮙ颇雙☖蔊⛕鬫鿚✡ꮋ摝逥靓￉⿌ſﲿ鍝뤣⥶庣봕䢲⳼㿧䷜詫ꛪ뻲榊쫈㴳⺽緮駦핳⎰㽆ﵦꜯ郡獧�ﭝﲙﯼ�爖菉컸麹활�ﯓ앜绾﮾╤떕ￏ忿煝੶魙駷�笡꡺졽蟚廼믕傢ꊅ菣맃㊺ｗ脶쯷ఇ촶䰔珁徿곃㭓ꘆ덼፰䱋꘴깢圸忿ﵝ赿㸇�￯ଙ熐䛹ᒈ฀﻿;b_sub.ks
;ボーナスモード間移動用のボタンを表示するだけのサブルーチンだよ。

[eval exp="tf.b_menuX = [sf.b_cg_x,sf.b_sr_x,sf.b_bgm_x,sf.b_back_x]"]
[eval exp="tf.b_menuY = [sf.b_cg_y,sf.b_sr_y,sf.b_bgm_y,sf.b_back_y]"]

[if exp="tf.cg_mode == 1"]
	[freeimage layer=2 page=fore]
	; ＣＧへボタンを表示　クリックしたらシーンモードオフる
	[locate x="&tf.b_menuX[0]" y="&tf.b_menuY[0]"]
	;[button graphic="bnsjump_cg_now" storage="b_cgmode.ks"]
	[button graphic="bnsjump" storage="b_cgmode.ks"]
	[image left="&tf.b_menuX[0]" top="&tf.b_menuY[0]" storage="bnsjump_cg" layer="&sf.layer_b_sysjump" page=fore visible=true clipleft="&sf.bnsjump_clipleft" cliptop="&sf.bnsjump_cliptop" clipwidth="&sf.bnsjump_clipwidth" clipheight="&sf.bnsjump_clipheight" opacity=255]

	; シーン回想へボタンを表示
	[locate x="&tf.b_menuX[1]" y="&tf.b_menuY[1]"]
	[button graphic="bnsjump_scene" storage="b_scene.ks"  exp="tf.cg_mode = 0"]

	; ＢＧＭへボタンを表示
	[locate x="&tf.b_menuX[2]" y="&tf.b_menuY[2]"]
	[button graphic="bnsjump_bgm" storage="b_bgmmode.ks" exp="tf.cg_mode = 0"]
	[return]
[endif]

[if exp="tf.scene_mode == 1"]
	[freeimage layer=2 page=fore]
	; ＣＧへボタンを表示　クリックしたらシーンモードオフる
	[locate x="&tf.b_menuX[0]" y="&tf.b_menuY[0]"]
	[button graphic="bnsjump_cg" storage="b_cgmode.ks" exp="tf.scene_mode = 0"]

	; シーン回想へボタンを表示
	[locate x="&tf.b_menuX[1]" y="&tf.b_menuY[1]"]
	;[button graphic="bnsjump_scene_now" storage="b_scene.ks"]
	[button graphic="bnsjump" storage="b_scene.ks"]
	[image left="&tf.b_menuX[1]" top="&tf.b_menuY[1]" storage="bnsjump_scene" layer="&sf.layer_b_sysjump" page=fore visible=true clipleft="&sf.bnsjump_clipleft" cliptop="&sf.bnsjump_cliptop" clipwidth="&sf.bnsjump_clipwidth" clipheight="&sf.bnsjump_clipheight" opacity=255]

	; ＢＧＭへボタンを表示
	[locate x="&tf.b_menuX[2]" y="&tf.b_menuY[2]"]
	[button graphic="bnsjump_bgm" storage="b_bgmmode.ks" exp="tf.scene_mode = 0"]
	[return]
[endif]

[if exp="tf.bgm_mode == 1"]
	[freeimage layer=2 page=fore]
	; ＣＧへボタンを表示　クリックしたらシーンモードオフる
	[locate x="&tf.b_menuX[0]" y="&tf.b_menuY[0]"]
	[button graphic="bnsjump_cg" storage="b_cgmode.ks" exp="tf.bgm_mode = 0"]

	; シーン回想へボタンを表示
	[locate x="&tf.b_menuX[1]" y="&tf.b_menuY[1]"]
	[button graphic="bnsjump_scene" storage="b_scene.ks" exp="tf.bgm_mode = 0"]

	; ＢＧＭへボタンを表示
	[locate x="&tf.b_menuX[2]" y="&tf.b_menuY[2]"]
	;[button graphic="bnsjump_bgm_now" storage="b_bgmmode.ks"]
	[button graphic="bnsjump" storage="b_bgmmode.ks"]
	[image left="&tf.b_menuX[2]" top="&tf.b_menuY[2]" storage="bnsjump_bgm" layer="&sf.layer_b_sysjump" page=fore visible=true clipleft="&sf.bnsjump_clipleft" cliptop="&sf.bnsjump_cliptop" clipwidth="&sf.bnsjump_clipwidth" clipheight="&sf.bnsjump_clipheight" opacity=255]
	[return]
[endif]

[return]
縀䘀汩籥椀普㡯︀È︀Èᄀ　㄀开䌀䜀⼀戀开挀最洀漀搀攀⸀欀猀猀来ᱭ⠀︀È︀È愀汤Ѳ贮䙩汩虥椀普䉯ᘀäᘀäᘀ　㄀开䌀䜀⼀戀开挀最洀漀搀攀开椀渀椀琀⸀欀猀猀来ᱭ☀Éᘀäᘀä愀汤Ѳ擐䙬汩虥椀普䉯ꐀƖꐀƖᘀ　㄀开䌀䜀⼀戀开挀最洀漀搀攀开瘀椀攀眀⸀欀猀猀来ᱭ㰀ƭꐀƖꐀƖ愀汤Ѳ贀࢛䘄汩顥椀普呯밀Y밀Yἀ　㄀开䌀䜀⼀戀开挀最洀漀搀攀开瘀椀攀眀开漀瘀攀爀猀椀稀攀⸀欀猀猀来ᱭ̓밀Y밀Y愀汤Ѳ蔀영䚧汩穥椀普㙯가ǿ가ǿက　㈀开匀刀⼀戀开猀挀攀渀攀⸀欀猀猀来ᱭ鰀Ν가ǿ가ǿ愀汤Ѳကⷔ䛫汩葥椀普䁯㨀õ㨀õᔀ　㈀开匀刀⼀戀开猀挀攀渀攀开椀渀椀琀⸀欀猀猀来ᱭ䠀֝㨀õ㨀õ愀汤Ѳ縀弞䚛汩聥椀普㱯稀_稀_ጀ　㌀开䈀䜀䴀⼀戀开戀最洀洀漀搀攀⸀欀猀猀来ᱭ舀ڒ稀_稀_愀汤Ѳⴀ뙈䛎汩詥椀普䙯吀吀᠀　㌀开䈀䜀䴀⼀戀开戀最洀洀漀搀攀开椀渀椀琀⸀欀猀猀来ᱭﰀ۱吀吀愀汤Ѳ瀀繼䙕汩瑥椀普は븀븀ഀ猀攀开猀礀猀　㄀㄀⸀漀最最猀来ᱭ倀ݲ븀븀愀汤Ѳ䚰汩橥椀普♯⨀⨀ࠀ戀开猀甀戀⸀欀猀猀来ᱭ฀ގ⨀⨀愀汤Ѳ砀࿳