Skip to content

Commit

Permalink
Merge pull request #3 from 07th-mod/replace_jump_with_call
Browse files Browse the repository at this point in the history
Replace "JumpSection" with "CallSection" except for special calls
  • Loading branch information
orian34 authored Jul 29, 2022
2 parents 605f003 + b2d6027 commit 4789229
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions Update/flow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ void ChapterPreview()
CallSection("ResetScene");

if(GetLocalFlag( LOCALWORK_NO_RESULT ) == 1)
JumpSection("Saikoroshi");
CallSection("Saikoroshi");
if(GetLocalFlag( LOCALWORK_NO_RESULT ) == 2)
JumpSection("HiruChooseVersion");
CallSection("HiruChooseVersion");
if(GetLocalFlag( LOCALWORK_NO_RESULT ) == 3)
JumpSection("Batsukoishi");
CallSection("Batsukoishi");
}

FadeOutBGM( 0, 1000, FALSE );
Expand Down Expand Up @@ -198,11 +198,11 @@ void HiruChooseVersion()
DrawScene("black", 250 );
if (LoadValueFromLocalWork( SelectResult ) == 0)
{
JumpSection("Hirukowashi");
CallSection("Hirukowashi");
}
else
{
JumpSection("HiruConsole");
CallSection("HiruConsole");
}
}

Expand Down Expand Up @@ -239,11 +239,11 @@ void HiruConsole()
FadeBustshot( 6, FALSE, 0, 0, 0, 0, 200, TRUE );
if (LoadValueFromLocalWork( SelectResult ) == 0)
{
JumpSection("HiruConsoleChoice1a");
CallSection("HiruConsoleChoice1a");
}
else
{
JumpSection("HiruConsoleChoice1b");
CallSection("HiruConsoleChoice1b");
}

}
Expand All @@ -252,14 +252,14 @@ void HiruConsoleChoice1a()
{
CallScript( "hiruconsole_011_choice1a" );

JumpSection("HiruConsoleDay11Part2");
CallSection("HiruConsoleDay11Part2");
}

void HiruConsoleChoice1b()
{
CallScript( "hiruconsole_011_choice1b" );

JumpSection("HiruConsoleDay11Part2");
CallSection("HiruConsoleDay11Part2");
}

void HiruConsoleDay11Part2()
Expand All @@ -285,26 +285,26 @@ void HiruConsoleDay11Part2()
FadeBustshot( 6, FALSE, 0, 0, 0, 0, 200, TRUE );
if (LoadValueFromLocalWork( SelectResult ) == 0)
{
JumpSection("HiruConsoleChoice2a");
CallSection("HiruConsoleChoice2a");
}
else
{
JumpSection("HiruConsoleChoice2b");
CallSection("HiruConsoleChoice2b");
}
}

void HiruConsoleChoice2a()
{
CallScript( "hiruconsole_011_choice2a" );

JumpSection("HiruConsoleDay11Part3");
CallSection("HiruConsoleDay11Part3");
}

void HiruConsoleChoice2b()
{
CallScript( "hiruconsole_011_choice2b" );

JumpSection("HiruConsoleDay11Part3");
CallSection("HiruConsoleDay11Part3");
}

void HiruConsoleDay11Part3()
Expand All @@ -330,19 +330,19 @@ void HiruConsoleDay11Part3()
FadeBustshot( 6, FALSE, 0, 0, 0, 0, 200, TRUE );
if (LoadValueFromLocalWork( SelectResult ) == 0)
{
JumpSection("HiruConsoleChoice3a");
CallSection("HiruConsoleChoice3a");
}
else
{
JumpSection("HiruConsoleChoice3b");
CallSection("HiruConsoleChoice3b");
}
}

void HiruConsoleChoice3a()
{
CallScript( "hiruconsole_011_choice3a" );

JumpSection("HiruConsoleBadEnd");
CallSection("HiruConsoleBadEnd");
}

void HiruConsoleChoice3b()
Expand All @@ -368,11 +368,11 @@ void HiruConsoleChoice3b()
FadeBustshot( 6, FALSE, 0, 0, 0, 0, 200, TRUE );
if (LoadValueFromLocalWork( SelectResult ) == 0)
{
JumpSection("HiruConsoleGoodEnd");
CallSection("HiruConsoleGoodEnd");
}
else
{
JumpSection("HiruConsoleBadEnd");
CallSection("HiruConsoleBadEnd");
}
}

Expand Down

0 comments on commit 4789229

Please sign in to comment.