From a65a5075fe694caec1ee6bf383fe3dae35dca7f5 Mon Sep 17 00:00:00 2001 From: Iggy Date: Wed, 21 Aug 2024 21:44:48 -0300 Subject: [PATCH] Implement functions to increase Anon and Fang scores --- .../3.showing-up-at-band-practice-and-giving-feedback.rpy | 2 +- game/script/4.anon-needs-help-during-music-period.rpy | 2 +- .../5.fang-and-anon-cut-class-to-talk-on-the-roof.rpy | 6 +++--- game/script/6.anon-helps-fang-find-a-venue-for-band.rpy | 4 ++-- game/script/7.concert-day.rpy | 2 +- game/script/8.anon-and-fang-study-together.rpy | 2 +- game/script/9.anons'-dirty-laundry-gets-put-up-to-air.rpy | 2 +- game/utility.rpy | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/game/script/3.showing-up-at-band-practice-and-giving-feedback.rpy b/game/script/3.showing-up-at-band-practice-and-giving-feedback.rpy index 695f311..808d65e 100644 --- a/game/script/3.showing-up-at-band-practice-and-giving-feedback.rpy +++ b/game/script/3.showing-up-at-band-practice-and-giving-feedback.rpy @@ -1688,7 +1688,7 @@ label chapter_3: label GuitarQuestionSpeakUp: - $ fangscore += 1 + $ increase_fang_points() "Fang does seem very passionate about playing guitar." diff --git a/game/script/4.anon-needs-help-during-music-period.rpy b/game/script/4.anon-needs-help-during-music-period.rpy index a6533a1..ac0c756 100644 --- a/game/script/4.anon-needs-help-during-music-period.rpy +++ b/game/script/4.anon-needs-help-during-music-period.rpy @@ -654,7 +654,7 @@ label chapter_4: label lHeads: - $ fangscore += 1 + $ increase_fang_points() "Guess that’s that." diff --git a/game/script/5.fang-and-anon-cut-class-to-talk-on-the-roof.rpy b/game/script/5.fang-and-anon-cut-class-to-talk-on-the-roof.rpy index 6e55222..1d7c020 100644 --- a/game/script/5.fang-and-anon-cut-class-to-talk-on-the-roof.rpy +++ b/game/script/5.fang-and-anon-cut-class-to-talk-on-the-roof.rpy @@ -1193,7 +1193,7 @@ label chapter_5: label lbeHonest: - $ anonscore += 1 + $ increase_anon_points() "I guess honesty is the best policy." window hide @@ -3584,8 +3584,8 @@ label chapter_5: if _value != "Snot": renpy.jump(_value+chr(0x61+_tick)) - $ fangscore += 1 - $ anonscore += 1 + $ increase_fang_points() + $ increase_anon_points() $ wingStory = True A "{cps=*.1}...{/cps}" diff --git a/game/script/6.anon-helps-fang-find-a-venue-for-band.rpy b/game/script/6.anon-helps-fang-find-a-venue-for-band.rpy index 87ccb2f..4c38352 100644 --- a/game/script/6.anon-helps-fang-find-a-venue-for-band.rpy +++ b/game/script/6.anon-helps-fang-find-a-venue-for-band.rpy @@ -1918,7 +1918,7 @@ label chapter_6: label lAnonWaitsForFang: - $ anonscore += 1 + $ increase_anon_points() "{cps=*.1}...{/cps}No." @@ -2308,7 +2308,7 @@ label chapter_6: label lAskFang: - $ fangscore += 1 + $ increase_fang_points() A "Don’t worry about it." pause .5 diff --git a/game/script/7.concert-day.rpy b/game/script/7.concert-day.rpy index a974a75..96f6835 100644 --- a/game/script/7.concert-day.rpy +++ b/game/script/7.concert-day.rpy @@ -477,7 +477,7 @@ label chapter_7: renpy.jump(renpy.display_menu(randomize_choices(choices))) label LeaveStageAsIs: - $ anonscore += 1 + $ increase_anon_points() pause .5 "Reed may not understand cable management,{w=.4} but then again neither did I." diff --git a/game/script/8.anon-and-fang-study-together.rpy b/game/script/8.anon-and-fang-study-together.rpy index 95695f0..0bca172 100644 --- a/game/script/8.anon-and-fang-study-together.rpy +++ b/game/script/8.anon-and-fang-study-together.rpy @@ -630,7 +630,7 @@ label chapter_8: label lLetFangPlayGuit: - $ fangscore += 1 + $ increase_fang_points() pause .5 diff --git a/game/script/9.anons'-dirty-laundry-gets-put-up-to-air.rpy b/game/script/9.anons'-dirty-laundry-gets-put-up-to-air.rpy index 6e52427..a2dcde6 100644 --- a/game/script/9.anons'-dirty-laundry-gets-put-up-to-air.rpy +++ b/game/script/9.anons'-dirty-laundry-gets-put-up-to-air.rpy @@ -1297,7 +1297,7 @@ label chapter_9: jump lGoHomeEarly label lWaitForTrishToExit: - $ anonscore += 1 + $ increase_anon_points() #play music 'audio/OST/fighter.ogg' fadein 1.0 A "You worried about her, too?" diff --git a/game/utility.rpy b/game/utility.rpy index 1d57ace..8687947 100644 --- a/game/utility.rpy +++ b/game/utility.rpy @@ -52,7 +52,7 @@ init python: anonscore += 1 - def inscrease_fang_points(): + def increase_fang_points(): global fangscore, lock_scores if not lock_scores: