Skip to content

Commit

Permalink
NOCG support
Browse files Browse the repository at this point in the history
  • Loading branch information
orian34 committed Sep 4, 2024
1 parent 7999c6f commit fcfdbfb
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 13 deletions.
6 changes: 4 additions & 2 deletions Update/omake_02.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,12 @@ void main()
DrawScene("white", 200 );

DrawBustshot(5, "scene/001a", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 25, 50, TRUE );
if (GetGlobalFlag(GHideCG)) {DrawBustshot(5, "background/furiker_a", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 25, 50, TRUE );}
ShakeScreen( 1, 50, 20, 3, 0, );
PlaySE( 3, "wa_005", 56, 64 );
Wait( 100 );
DrawBustshot(5, "scene/001b", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 25, 50, TRUE );
if (GetGlobalFlag(GHideCG)) {DrawBustshot(5, "background/furiker_b", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 25, 50, TRUE );}
PlaySE( 3, "wa_005", 56, 64 );
Wait( 100 );
PlaySE( 3, "wa_005", 56, 64 );
Expand Down Expand Up @@ -1853,12 +1855,12 @@ void main()
ModPlayVoiceLS(4, 9, "ps3/s20/09/440900117", 256, TRUE);
OutputLine(NULL, "圭一くん以外の人の死には何かしら理由が見つけられるんだけど、…圭一くんだけなぜかいつも曖昧。",
NULL, " We can find some kind of reason for everyone but Keiichi-kun to die... but for some reason, Keiichi-kun's death is always vague.", Line_WaitForInput);

//VoiceMatching
if(GetGlobalFlag(GCensor) >= 3){ModCallScriptSection("zomake_02_vm0x_n01","dialog002");}
if(GetGlobalFlag(GCensor) <= 2){ModCallScriptSection("zomake_02_vm00_n01","dialog002");}
//VoiceMatchingEnd

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f6d9a8>鷹野</color>", NULL, "<color=#f6d9a8>Takano</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 9, "ps3/s20/09/440900119", 256, TRUE);
OutputLine(NULL, "祭具殿に踏み入るのとは無関係に狙われてる。」",
Expand Down
1 change: 1 addition & 0 deletions Update/wata_001.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5724,6 +5724,7 @@ void main()
ClearMessage();
DisableWindow();
DrawSceneWithMask("scene/006", "m1", 0, 0, 300 );
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(1, 2, "sprite/re2a_warai_a1_", "2", -240, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 300, TRUE );}

//「えッ?!?@ くれるの?@ レナに?@ ありがと~~~!!!!!@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f0953d>レナ</color>", NULL, "<color=#f0953d>Rena</color>", NULL, Line_ContinueAfterTyping); }
Expand Down
2 changes: 1 addition & 1 deletion Update/wata_003.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5893,7 +5893,7 @@ void main()


DisableWindow();
// DrawBustshot( 2, "si_si_wa_b1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 6, "sprite/si1b_warai_b1_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );}
DrawScene("scene/105a", 1000 );

//「ありゃ...、!w800......図星を突かれちゃって何だかがっかりですけど、これ。@
Expand Down
8 changes: 4 additions & 4 deletions Update/wata_004.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3130,8 +3130,8 @@ void main()
NULL, "Still holding me by the collar, the three thugs spun around to look behind them.", Line_Normal);
ClearMessage();
DisableWindow();
// DrawBustshot( 2, "si_si_ik_a1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );
// DrawScene( "bg_123", 1000 );
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 6, "sprite/si1a_ikari_a1_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );}
if (GetGlobalFlag(GHideCG)) {DrawScene("background/mati3", 1000 );}

DrawScene("scene/009b", 1000 );
PlayBGM( 1, "msys12", 56, 0 );
Expand Down Expand Up @@ -3181,7 +3181,8 @@ void main()
OutputLine(NULL, "同時にこれ以上ないくらいに頼もしかった。",
NULL, " At the same time, they were the most reassuring things in the world.", Line_Normal);
ClearMessage();
// DrawBustshot( 2, "si_si_ma_a1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );
if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 6, "sprite/si1a_majime_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );}

//「もう一度だけ言うよ@...圭ちゃん離してとっとと失せな。@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#5ec69a>詩音</color>", NULL, "<color=#5ec69a>Shion</color>", NULL, Line_ContinueAfterTyping); }
Expand Down Expand Up @@ -3287,7 +3288,6 @@ void main()
NULL, "...They were slowly increasing in number. Little by little.", Line_Normal);
ClearMessage();
DisableWindow();
// FadeBustshot( 2, FALSE, 0, 0, 0, 0, 200, TRUE );
DrawScene("background/mati3", 1000 );

FadeOutBGM( 1, 1000, TRUE );
Expand Down
6 changes: 2 additions & 4 deletions Update/wata_005.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7210,10 +7210,8 @@ void main()

ClearMessage();
DisableWindow();
// FadeBustshotWithFiltering( 2, "right", 1, FALSE, 0, 0, 1300, TRUE );
// DrawBustshotWithFiltering( 1, "re_si_wa_a1", "left", 1, -160, 0, FALSE, 0, 0, 0, 0, 0, 0, 300, TRUE );
if (GetGlobalFlag(GADVMode) == 0) { ClearMessage(); }
DisableWindow();
if (GetGlobalFlag(GHideCG)) {ModSetLayerFilter(1, 256, "flashback");}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(1, 2, "sprite/re2a_warai_a1_", "2", -240, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 300, TRUE );}
DrawSceneWithMask("flashback/scene/006", "m1", 0, 0, 300 );


Expand Down
13 changes: 12 additions & 1 deletion Update/wata_008.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4900,7 +4900,7 @@ void main()
NULL, " But then, one day...\"", Line_Normal);
ClearMessage();
DisableWindow();
// DrawSceneWithMask( "bg_160", "left", 0, 0, 300 );
if (GetGlobalFlag(GHideCG)) {DrawSceneWithMask( "background/aka2", "left", 0, 0, 300 );}
DrawSceneWithMask("scene/sil1a", "left", 0, 0, 300 );
ShakeScreen( 1, 20, 20, 5, 0, );

Expand Down Expand Up @@ -6109,6 +6109,9 @@ void main()
NULL, " ......That's the kind of ritual it was.", Line_Normal);
ClearMessage();

if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(1, 9, "sprite/ta1_warai_", "1", -160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 200, TRUE );}

//「平たく言えば、魚のワタを取り出して三角コーナーに捨てるのを、仰々しく儀式仕立にしたってことね@...それで儀式はおしまい@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f6d9a8>鷹野</color>", NULL, "<color=#f6d9a8>Takano</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 9, "org/takano1035", 256, TRUE);
Expand Down Expand Up @@ -6170,6 +6173,9 @@ void main()
NULL, "...Even though she worked so hard to practice for today......", Line_Normal);
ClearMessage();

if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModSetLayerFilter(3, 256, "night");}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(3, 6, "sprite/si1a_majime_a1_", "0", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 20, 200, TRUE );}

//「...鷹野さんももう少し、言葉を選んでほしいです@圭ちゃん、ナイーブなんですから、あまりからかわないでください。@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#5ec69a>詩音</color>", NULL, "<color=#5ec69a>Shion</color>", NULL, Line_ContinueAfterTyping); }
Expand Down Expand Up @@ -6212,6 +6218,9 @@ void main()
NULL, "Takano-san spoke without a hint of malice as she smiled gracefully.", Line_Normal);
ClearMessage();

if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(3, 6, "sprite/si1a_akuwarai_a1_", "2", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 20, 200, TRUE );}

//「この辺まで話を聞けば、!w1000...圭ちゃんにも、この祭具殿の中にどういうものがあるのか、理解できるようになってきませんか@ ほら。@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#5ec69a>詩音</color>", NULL, "<color=#5ec69a>Shion</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 6, "ps3/s02/06/130600081", 256, TRUE);
Expand All @@ -6229,6 +6238,8 @@ void main()
NULL, " See, look.\"", GetGlobalFlag(GLinemodeSp));
if (GetGlobalFlag(GADVMode)) { ClearMessage(); } else { OutputLineAll(NULL, "\n", Line_ContinueAfterTyping); }

if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {DrawScene("background/saiguden_01", 400 );}

// 詩音はそう言い、ランタンの灯りにぼんやりと照らし出された壁を指差した¥
if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
Expand Down
1 change: 0 additions & 1 deletion Update/wata_010_03.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2656,7 +2656,6 @@ void main()
OutputLine(NULL, " …魅音は…俺以外の誰かの問いかけに答えるように、…聞いてもいないのにそう答えた。",
NULL, "...Mion answers... with a response to something I never asked... as if replying to somebody else's question.", Line_Normal);
ClearMessage();
// DrawBustshotWithFiltering( 5, "black", "down", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 1300, TRUE );

//「公園の展望台から転落死したのは両親だけ@
if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#5ec69a>魅音</color>", NULL, "<color=#5ec69a>Mion</color>", NULL, Line_ContinueAfterTyping); }
Expand Down
1 change: 1 addition & 0 deletions Update/wata_ep_02.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2433,6 +2433,7 @@ void main()
ClearMessage();

DisableWindow();
if (GetGlobalFlag(GHideCG)) {DrawScene("black", 1000 );}
DrawScene("scene/107a", 1000 );

// 俺にとっての事件を終わらせようと思って...@
Expand Down

0 comments on commit fcfdbfb

Please sign in to comment.