Skip to content

Commit

Permalink
NOCG support
Browse files Browse the repository at this point in the history
  • Loading branch information
orian34 committed Sep 12, 2024
1 parent 5b8a087 commit 9e8109d
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Update/_kakera52.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ void main()
NULL, "The woman said to the girl:", Line_Normal);
ClearMessage();

if (GetGlobalFlag(GHideCG)) {DrawScene("black", 400 );}

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f5e6d3>???</color>", NULL, "<color=#f5e6d3>???</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 5, "ps3/s20/05/vtk2_rika2082", 128, TRUE);
Expand All @@ -184,6 +185,7 @@ void main()
NULL, " Or do you want to die?\"", Line_Normal);
ClearMessage();

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

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
OutputLine(NULL, " それだけを聞いたなら、普通の人なら、おかしな人だと訝しがるだろう。",
Expand Down
10 changes: 10 additions & 0 deletions Update/_mats_006.txt
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@ void main()
ClearMessage();

DrawScene( "scene/401a", 400 );
if (GetGlobalFlag(GHideCG)) {DrawScene("background/ymo3_01", 400 );}

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
OutputLine(NULL, " 天を仰いでも、私の顔面を冷たく大粒の雨が叩きつけるだけだ。",
Expand Down Expand Up @@ -897,6 +898,9 @@ void main()
PlaySE( 0, "s_daidageki", 128, 64 );
DrawScene( "scene/401c", 100 );
DrawScene( "scene/401a", 600 );
if (GetGlobalFlag(GHideCG)) {DrawScene("white", 50 );}
if (GetGlobalFlag(GHideCG)) {DrawScene("black", 100 );}
if (GetGlobalFlag(GHideCG)) {DrawScene("background/ymo3_01", 600 );}

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
OutputLine(NULL, " 天にごろごろと雷鳴が轟いた。",
Expand Down Expand Up @@ -958,6 +962,9 @@ void main()
PlaySE( 0, "s_daidageki", 128, 64 );
DrawScene( "scene/401d", 100 );
DrawScene( "scene/401b", 600 );
if (GetGlobalFlag(GHideCG)) {DrawScene("white", 50 );}
if (GetGlobalFlag(GHideCG)) {DrawScene("black", 100 );}
if (GetGlobalFlag(GHideCG)) {DrawScene("background/ymo3_01", 600 );}

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
OutputLine(NULL, " 天は再び相槌を打つ。",
Expand Down Expand Up @@ -1015,6 +1022,9 @@ void main()
PlaySE( 0, "s_daidageki", 128, 64 );
DrawScene( "scene/401d", 100 );
DrawScene( "scene/401b", 500 );
if (GetGlobalFlag(GHideCG)) {DrawScene("white", 50 );}
if (GetGlobalFlag(GHideCG)) {DrawScene("black", 100 );}
if (GetGlobalFlag(GHideCG)) {DrawScene("background/ymo3_01", 600 );}

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
OutputLine(NULL, " 天はもう一度、唸り声をあげる。",
Expand Down
6 changes: 6 additions & 0 deletions Update/_mats_007.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5009,6 +5009,8 @@ void main()
ClearMessage();

DrawScene( "scene/402a", 400 );
if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 12, "sprite/ha1_muhyou_", "0", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );}

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#6972c1>少女</color>", NULL, "<color=#6972c1>Girl</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 12, "ps3/s13/12/550600005", 128, TRUE);
Expand Down Expand Up @@ -5068,6 +5070,8 @@ void main()
DrawBustshot(3, "scene/402b", 540, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 20, 0, TRUE );
PlaySE( 0, "s_furu", 128, 64 );
MoveBustshot( 3, NULL, 0, 0, 0, 20, 250, TRUE );
if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 12, "sprite/ha1_def2_", "0", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );}
Wait( 100 );

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#6972c1>少女</color>", NULL, "<color=#6972c1>Girl</color>", NULL, Line_ContinueAfterTyping); }
Expand Down Expand Up @@ -5112,6 +5116,8 @@ void main()
ClearMessage();

FadeOutBGM( 0, 300, FALSE );
if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 12, "sprite/ha1_muhyou_", "0", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE );}
PlayBGM( 1, "higurashi", 120, 0 );

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#6972c1>少女</color>", NULL, "<color=#6972c1>Girl</color>", NULL, Line_ContinueAfterTyping); }
Expand Down
6 changes: 6 additions & 0 deletions Update/_mats_009.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ void main()
PlaySE( 0, "s_door", 128, 64 );
PlayBGM( 0, "air_pizz_ver2", 120, 0 );
DrawSceneWithMask( "scene/403a", "maskright", 7, 0, 300 );
if (GetGlobalFlag(GHideCG)) {ModSetLayerFilter(1, 256, "none");}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(1, 22, "sprite/tie_1_", "0", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 0, FALSE );}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(0, 12, "sprite/ha3a_au_", "2", -160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 5, 0, FALSE );}
if (GetGlobalFlag(GHideCG)) {DrawSceneWithMask( "background/gk1", "maskright", 1, 0, 300 );}

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#8676cf>羽入</color>", NULL, "<color=#8676cf>Hanyuu</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 12, "ps3/s13/12/ds41070001", 128, TRUE);
Expand Down Expand Up @@ -479,6 +483,8 @@ void main()
ClearMessage();

DrawScene( "scene/403b", 1000 );
if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(0, 12, "sprite/ha3a_au_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 5, 300, TRUE );}

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#8676cf>羽入</color>", NULL, "<color=#8676cf>Hanyuu</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 12, "ps3/s13/12/ds41070002", 128, TRUE);
Expand Down
8 changes: 8 additions & 0 deletions Update/_mats_017.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@ void main()
ClearMessage();

DrawSceneWithMask( "scene/404b", "maskup", 1, 0, 300 );
if (GetGlobalFlag(GHideCG)) {DrawSceneWithMask( "background/sora2", "maskup", 1, 0, 300 );}

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#a59da9>大石</color>", NULL, "<color=#a59da9>Ooishi</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 11, "ps3/s13/11/ds41110257", 128, TRUE);
Expand Down Expand Up @@ -1167,6 +1168,11 @@ void main()

FadeOutBGM( 0, 300, FALSE );
DrawSceneWithMask( "scene/404a", "maskup", 1, 0, 300 );
if (GetGlobalFlag(GHideCG)) {ModSetLayerFilter(1, 256, "sunset");}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(1, 16, "sprite/aka_def_", "0", -160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 0, FALSE );}
if (GetGlobalFlag(GHideCG)) {ModSetLayerFilter(2, 256, "sunset");}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 6, "sprite/si1a_majime_a1_", "0", 160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );}
if (GetGlobalFlag(GHideCG)) {DrawSceneWithMask( "background/ohaka_02", "maskup", 1, 0, 300 );}

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#a59da9>大石</color>", NULL, "<color=#a59da9>Ooishi</color>", NULL, Line_ContinueAfterTyping); }
ModPlayVoiceLS(4, 11, "ps3/s13/11/ds41110261", 128, TRUE);
Expand Down Expand Up @@ -1258,6 +1264,8 @@ void main()
NULL, " They're nice.\"", Line_Normal);
ClearMessage();

if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(2, 6, "sprite/si1b_wink_b1_", "0", 160, 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); }
ModPlayVoiceLS(4, 6, "ps3/s13/06/ds41060001", 128, TRUE);
Expand Down
1 change: 1 addition & 0 deletions Update/_mats_018.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1837,6 +1837,7 @@ void main()
SetSpeedOfMessage( FALSE, 0 );

DrawScene( "scene/sil5", 400 );
if (GetGlobalFlag(GHideCG)) {DrawScene("background/aka1", 400 );}

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
OutputLine(NULL, " 蹴らないで、蹴らないで…!!",
Expand Down
5 changes: 5 additions & 0 deletions Update/_mats_021.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5917,6 +5917,7 @@ void main()
DrawScene( "black", 50 );
PlaySE( 0, "s_furu", 128, 64 );
DrawBustshotWithFiltering(5, "scene/cutin2", "maskright", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 25, 200, TRUE );
if (GetGlobalFlag(GHideCG)) {DrawScene( "white", 150 );}
StartShakingOfWindow( 248, 30, 0, 2, 2*2, FALSE );
StartShakingOfAllObjects( 248, 30, 0, 2, 2*2, TRUE );
DrawScene( "black", 200 );
Expand Down Expand Up @@ -5956,11 +5957,13 @@ void main()
DrawScene( "black", 100 );
PlaySE( 0, "s_daidageki", 128, 64 );
DrawBustshotWithFiltering(5, "scene/cutin4", "maskdown", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 25, 300, TRUE );
if (GetGlobalFlag(GHideCG)) {DrawScene( "background/furiker_b", 150 );}
StartShakingOfWindow( 241, 40, 0, 2, 4*2, FALSE );
StartShakingOfAllObjects( 241, 40, 0, 2, 4*2, TRUE );
DrawScene( "black", 200 );
PlaySE( 0, "s_daidageki", 128, 64 );
DrawBustshotWithFiltering(5, "scene/cutin3", "maskup", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 25, 300, TRUE );
if (GetGlobalFlag(GHideCG)) {DrawScene( "background/furiker_a", 150 );}
StartShakingOfWindow( 241, 40, 0, 2, 4*2, FALSE );
StartShakingOfAllObjects( 241, 40, 0, 2, 4*2, TRUE );
DrawScene( "black", 200 );
Expand Down Expand Up @@ -6890,6 +6893,7 @@ void main()

PlaySE( 0, "s_furu", 128, 64 );
DrawScene( "scene/405a", 300 );
if (GetGlobalFlag(GHideCG)) {DrawScene("black", 200 );}
StartShakingOfWindow( 248, 30, 0, 2, 2*2, FALSE );
StartShakingOfAllObjects( 248, 30, 0, 2, 2*2, TRUE );

Expand All @@ -6904,6 +6908,7 @@ void main()
PlaySE( 0, "s_daidageki", 128, 64 );
FadeOutBGM( 0, 300, FALSE );
DrawScene( "scene/405b", 50 );
if (GetGlobalFlag(GHideCG)) {DrawScene("background/sora5", 50 );}
StartShakingOfWindow( 248, 30, 0, 2, 2*2, FALSE );
StartShakingOfAllObjects( 248, 30, 0, 2, 2*2, TRUE );
if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
Expand Down
3 changes: 2 additions & 1 deletion Update/_mats_022.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6509,7 +6509,7 @@ void main()
StartShakingOfAllObjects( 241, 40, 0, 2, 4*2, TRUE );
DrawBustshot(5, "background/fure2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 5, 500, TRUE );
OutputLineAll(NULL, "", Line_WaitForInput);

//VoiceMatching
if(GetGlobalFlag(GCensor) >= 4){ModCallScriptSection("_zmats_022_vm0x_n01","dialog001");}
if(GetGlobalFlag(GCensor) <= 3){ModCallScriptSection("_zmats_022_vm00_n01","dialog001");}
Expand Down Expand Up @@ -6591,6 +6591,7 @@ void main()
PlaySE( 0, "s_furu", 128, 64 );
Wait( 300 );
DrawBustshot(0, "scene/irie_mih", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 9, 0, FALSE );
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(0, 10, "sprite/iri2_majime2_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 9, 0, FALSE );}
DrawScene( "background/furiker_c", 50 );
PlaySE( 0, "s_Kyupiin", 128, 64 );
StartShakingOfWindow( 241, 40, 0, 2, 5*2, FALSE );
Expand Down
3 changes: 3 additions & 0 deletions Update/_mats_024.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5170,6 +5170,8 @@ void main()
ClearMessage();

DrawScene( "scene/408a", 1000 );
if (GetGlobalFlag(GHideCG)) {DisableWindow();}
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(1, 9, "sprite/ta5_iradachi_", "0", -160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 300, TRUE );}
PlayBGM( 1, "higurashi", 120, 0 );

if (GetGlobalFlag(GADVMode)) { OutputLine("<color=#f6d9a8>鷹野</color>", NULL, "<color=#f6d9a8>Takano</color>", NULL, Line_ContinueAfterTyping); }
Expand All @@ -5181,6 +5183,7 @@ void main()
NULL, " Okay, okay, okay.", Line_Continue);
Wait( 2400 );
DrawBustshot(5, "scene/408b", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 25, 200, TRUE );
if (GetGlobalFlag(GHideCG)) {ModDrawCharacter(1, 9, "sprite/ta5_sakebi_", "2", -160, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 0, 200, TRUE );}
OutputLine(NULL, "なら死ねッ!!!」",
NULL, " Fine, die!!!\"", GetGlobalFlag(GLinemodeSp));
if (GetGlobalFlag(GADVMode)) { ClearMessage(); } else { OutputLineAll(NULL, "\n", Line_ContinueAfterTyping); }
Expand Down

0 comments on commit 9e8109d

Please sign in to comment.