Update scenario script

This commit is contained in:
Jáchym Toušek
2018-11-01 17:15:27 +01:00
parent 4776caf0d7
commit ddf5941492
12 changed files with 26 additions and 35 deletions

BIN
CG/scenario/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

BIN
CG/scenario/description.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
CG/scenario/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

BIN
CG/scenario/logo_j.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
CG/scenario/shortcuts.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
CG/scenario/shortcuts_j.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
CG/scenario/stripes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

BIN
CG/scenario/title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
CG/scenario/title_j.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -1,25 +0,0 @@
#include "Include\bss.h"
#include "Include\WorksAndFlags.h"
void main()
{
SetValidityOfInput( FALSE );
Wait( 200 );
FadeOutBGM( 1, 300, FALSE );
FadeOutBGM( 2, 300, FALSE );
PlaySE( 0, "wa_040", 128, 64 );
DisableWindow();
PlayBGM( 0, "lsys13", 128, 0 );
DrawSceneWithMask("black", "2", 1, 0, 1200 );
Wait( 1500 );
DrawScene("scenario/scenario_a", 1200 );
DrawBustshot(5, "scenario/scenario_a", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 25, 0, FALSE );
Wait( 200 );
DrawBustshot(6, "scenario/title_oni", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 15, 0, FALSE );
DrawBustshot(7, "scenario/logo", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );
DrawBustshot(8, "scenario/stripes", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 5, 0, TRUE );
FadeBustshotWithFiltering( 5, "5", 1, FALSE, 0, 0, 1000, TRUE );
Wait( 200 );
DrawBustshotWithFiltering(9, "scenario/desc_oni", "5", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 20, 1000, TRUE );
Wait( 200 );
SetValidityOfInput( TRUE );
}

View File

@@ -328,33 +328,49 @@ void Day15_3()
void ChapterPreview() void ChapterPreview()
{ {
PlayBGM( 2, "lsys13", 128, 0 ); SetValidityOfInput( FALSE );
DrawSceneWithMask( "black", "2", 0, 0, 1000 ); Wait( 200 );
FadeOutBGM( 1, 300, FALSE );
FadeOutBGM( 2, 300, FALSE );
DisableWindow();
Wait(1000); PlayBGM( 0, "lsys13", 128, 0 );
DrawSceneWithMask("black", "2", 1, 0, 1200 );
Wait( 1500 );
DrawScene("scenario_a", 1000); DrawScene("scenario/background", 1200 );
DrawBustshot(5, "scenario/background", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 25, 0, FALSE );
Wait( 200 );
DrawSceneWithMask( "scenario_b", "5", 0, 0, 1000 ); DrawBustshot(6, "scenario/title", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 15, 0, FALSE );
DrawBustshot(7, "scenario/logo", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );
DrawBustshot(8, "scenario/stripes", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 5, 0, TRUE );
FadeBustshotWithFiltering(5, "5", 1, FALSE, 0, 0, 1000, TRUE );
Wait( 200 );
DrawSceneWithMask( "scenario_c", "5", 0, 0, 1000 ); DrawBustshotWithFiltering(9, "scenario/description", "5", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 20, 1000, TRUE );
Wait( 200 );
//DrawScene("scenario_c", 500); SetValidityOfInput( TRUE );
ShowChapterPreview(); ShowChapterPreview();
if(LoadValueFromLocalWork( LOCALWORK_NO_RESULT ) == 1) if (LoadValueFromLocalWork( LOCALWORK_NO_RESULT ) == 1) {
{
StopBGM( 2 ); StopBGM( 2 );
PlaySE( 1, "wa_037", 128, 64 ); PlaySE( 1, "wa_037", 128, 64 );
DrawBustshotWithFiltering( 10, "scenario/shortcuts", "5", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 20, 1000, TRUE );
Wait(10000);
DrawScene( "black", 1000 );
CallSection("Game"); CallSection("Game");
} }
FadeOutBGM( 2, 1000, FALSE ); FadeOutBGM( 2, 1000, FALSE );
DrawScene("black", 1000); DrawScene("black", 1000);
CallSection("Title"); CallSection("Title");
} }