summaryrefslogtreecommitdiff
path: root/npc/halloween
diff options
context:
space:
mode:
authorFreeyorp <Freeyorp101@hotmail.com>2010-12-13 00:13:10 +1300
committerJared Adams <jaxad0127@gmail.com>2010-12-20 21:16:05 -0700
commit0705bfc219843716fc844bcdd258bdbe088253b1 (patch)
tree4b5a4024f9fd4ad0add5fa16054a3ab8df38f89a /npc/halloween
parent52e03246a4e4ec1079210d34fc340e6e3d751468 (diff)
downloadserverdata-0705bfc219843716fc844bcdd258bdbe088253b1.tar.gz
serverdata-0705bfc219843716fc844bcdd258bdbe088253b1.tar.bz2
serverdata-0705bfc219843716fc844bcdd258bdbe088253b1.tar.xz
serverdata-0705bfc219843716fc844bcdd258bdbe088253b1.zip
Work around a typo
Diffstat (limited to 'npc/halloween')
-rw-r--r--npc/halloween/2010/gak.txt38
1 files changed, 35 insertions, 3 deletions
diff --git a/npc/halloween/2010/gak.txt b/npc/halloween/2010/gak.txt
index 92a7bbfa..92d559d8 100644
--- a/npc/halloween/2010/gak.txt
+++ b/npc/halloween/2010/gak.txt
@@ -5,7 +5,8 @@
if (hween10 > 4 && hween10 < 9) goto L_Collecting_Sweets;
if (hween10 == 9) goto L_Hunger_Sated;
if (hween10 == 10) goto L_Reward_Returning;
- if (hween10 == 11) goto L_Gaks_Little_Shop;
+ if (hween10 == 11) goto L_Miscount_Bugfix;
+ if (hween10 == 12) goto L_Gaks_Little_Shop;
if ($hween10 == 1) goto L_Event_Over_2;
@@ -494,8 +495,8 @@ L_Reward:
mes "";
mes "\"Not to say that I'm sure of your currencccy here... but it sssshould give you an idea, yessss?\"";
next;
- set hween10, 11;
- set hween10_credits, hween10_collect_tondel + hween10_collect_jelskul + hween10_collect_canpum;
+ set hween10, 12;
+ set hween10_credits, hween10_collect_tondel + hween10_collect_jelskul + hween10_collect_canpump;
set hween10_credits, hween10_credits * 2;
set hween10_credits, hween10_credits + hween10_collect_mmallow;
mes "[Gak]";
@@ -1220,5 +1221,36 @@ L_Full_Inventory:
mes "\"Ssseems you don't have room for thisss.\"";
close;
+L_Miscount_Bugfix:
+ if (hween10_collect_canpump != 0) goto L_Do_Miscount_Bugfix;
+ set hween10, 12;
+ goto L_Gaks_Little_Shop;
+
+L_Do_Miscount_Bugfix:
+
+ mes "[Gak]";
+ mes "";
+ mes "\"Er.\" While his expression is as stony as ever, he sounds quite embarrassed.";
+ next;
+ mes "[Gak]";
+ mes "";
+ mes "\"Seems I forgot some thingsss earlier... you should actually have " + (hween10_collect_canpump << 1) + " more creditsss than I calculated before.\"";
+ next;
+ mes "[Gak]";
+ mes "";
+ mes "\"Sssorry.\"";
+ next;
+
+ menu
+ "\"Hmph. Well, you can correct that now, right?", -;
+
+ mes "[Gak]";
+ mes "";
+ mes "\"Of courssse. It is done. Sssorry about that\"";
+ set hween10_credits, hween10_credits + (hween10_collect_canpump << 1);
+ set hween10, 12;
+ next;
+ goto L_Gaks_Little_Shop;
+
}