Unlock chapter jumps on finishing previous chapter

Instead of unlocking the jump to the beginning of a chapter when you finish it
This commit is contained in:
tellowkrinkle
2020-02-26 19:39:44 -06:00
committed by GitHub
parent 89a4689121
commit c7d4b4186a

View File

@@ -134,7 +134,7 @@ void Day1()
GetAchievement("HIGURASHI_STORY_EP01_02"); GetAchievement("HIGURASHI_STORY_EP01_02");
StoreValueToLocalWork( ChapterNumber, 1 ); StoreValueToLocalWork( ChapterNumber, 2 );
SavePoint("Ch.1 終わり", "End of Chapter 1"); SavePoint("Ch.1 終わり", "End of Chapter 1");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -146,7 +146,7 @@ void Day2()
{ {
CallScript( "onik_002" ); CallScript( "onik_002" );
StoreValueToLocalWork( ChapterNumber, 2 ); StoreValueToLocalWork( ChapterNumber, 3 );
SavePoint("Ch.2 終わり", "End of Chapter 2"); SavePoint("Ch.2 終わり", "End of Chapter 2");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -160,7 +160,7 @@ void Day3()
GetAchievement("HIGURASHI_STORY_EP01_03"); GetAchievement("HIGURASHI_STORY_EP01_03");
StoreValueToLocalWork( ChapterNumber, 3 ); StoreValueToLocalWork( ChapterNumber, 4 );
SavePoint("Ch.3 終わり", "End of Chapter 3"); SavePoint("Ch.3 終わり", "End of Chapter 3");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -172,7 +172,7 @@ void Day4()
{ {
CallScript( "onik_004" ); CallScript( "onik_004" );
StoreValueToLocalWork( ChapterNumber, 4 ); StoreValueToLocalWork( ChapterNumber, 5 );
SavePoint("Ch.4 終わり", "End of Chapter 4"); SavePoint("Ch.4 終わり", "End of Chapter 4");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -186,7 +186,7 @@ void Day5()
GetAchievement("HIGURASHI_STORY_EP01_04"); GetAchievement("HIGURASHI_STORY_EP01_04");
StoreValueToLocalWork( ChapterNumber, 5 ); StoreValueToLocalWork( ChapterNumber, 6 );
SavePoint("Ch.5 終わり", "End of Chapter 5"); SavePoint("Ch.5 終わり", "End of Chapter 5");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -198,7 +198,7 @@ void Day9()
{ {
CallScript( "onik_009" ); CallScript( "onik_009" );
StoreValueToLocalWork( ChapterNumber, 6 ); StoreValueToLocalWork( ChapterNumber, 7 );
JumpSection("Day9_2"); JumpSection("Day9_2");
} }
@@ -207,7 +207,7 @@ void Day9_2()
{ {
CallScript( "onik_009_02" ); CallScript( "onik_009_02" );
StoreValueToLocalWork( ChapterNumber, 7 ); StoreValueToLocalWork( ChapterNumber, 8 );
SavePoint("Ch.6 終わり", "End of Chapter 6"); SavePoint("Ch.6 終わり", "End of Chapter 6");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -221,7 +221,7 @@ void Day10()
GetAchievement("HIGURASHI_STORY_EP01_05"); GetAchievement("HIGURASHI_STORY_EP01_05");
StoreValueToLocalWork( ChapterNumber, 8 ); StoreValueToLocalWork( ChapterNumber, 9 );
SavePoint("Ch.7 終わり", "End of Chapter 7"); SavePoint("Ch.7 終わり", "End of Chapter 7");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -235,7 +235,7 @@ void Day11()
GetAchievement("HIGURASHI_STORY_EP01_06"); GetAchievement("HIGURASHI_STORY_EP01_06");
StoreValueToLocalWork( ChapterNumber, 9 ); StoreValueToLocalWork( ChapterNumber, 10 );
SavePoint("Ch.8 終わり", "End of Chapter 8"); SavePoint("Ch.8 終わり", "End of Chapter 8");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -249,7 +249,7 @@ void Day12()
GetAchievement("HIGURASHI_STORY_EP01_07"); GetAchievement("HIGURASHI_STORY_EP01_07");
StoreValueToLocalWork( ChapterNumber, 10 ); StoreValueToLocalWork( ChapterNumber, 11 );
SavePoint("Ch.9 終わり", "End of Chapter 9"); SavePoint("Ch.9 終わり", "End of Chapter 9");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -263,7 +263,7 @@ void Day13()
GetAchievement("HIGURASHI_STORY_EP01_08"); GetAchievement("HIGURASHI_STORY_EP01_08");
StoreValueToLocalWork( ChapterNumber, 11 ); StoreValueToLocalWork( ChapterNumber, 12 );
SavePoint("Ch.10 終わり", "End of Chapter 10"); SavePoint("Ch.10 終わり", "End of Chapter 10");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -277,7 +277,7 @@ void Day14()
GetAchievement("HIGURASHI_STORY_EP01_09"); GetAchievement("HIGURASHI_STORY_EP01_09");
StoreValueToLocalWork( ChapterNumber, 12 ); StoreValueToLocalWork( ChapterNumber, 13 );
JumpSection("Day14_2"); JumpSection("Day14_2");
} }
@@ -288,7 +288,7 @@ void Day14_2()
GetAchievement("HIGURASHI_STORY_EP01_10"); GetAchievement("HIGURASHI_STORY_EP01_10");
StoreValueToLocalWork( ChapterNumber, 13 ); StoreValueToLocalWork( ChapterNumber, 14 );
SavePoint("Ch.11 終わり", "End of Chapter 11"); SavePoint("Ch.11 終わり", "End of Chapter 11");
CallSection( "SetDay" ); CallSection( "SetDay" );
CallSection( "ViewTips" ); CallSection( "ViewTips" );
@@ -300,7 +300,7 @@ void Day15()
{ {
CallScript( "onik_015" ); CallScript( "onik_015" );
StoreValueToLocalWork( ChapterNumber, 14 ); StoreValueToLocalWork( ChapterNumber, 15 );
JumpSection("Day15_2"); JumpSection("Day15_2");
} }
@@ -311,7 +311,7 @@ void Day15_2()
GetAchievement("HIGURASHI_STORY_EP01_11"); GetAchievement("HIGURASHI_STORY_EP01_11");
StoreValueToLocalWork( ChapterNumber, 15 ); StoreValueToLocalWork( ChapterNumber, 16 );
JumpSection("Day15_3"); JumpSection("Day15_3");
} }