From 4da04c81a2b7407ce399c3860ab07ba26a7a6cd7 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Fri, 25 Jan 2013 14:06:37 +0100 Subject: Katze quest: fix missing some occurrences when renaming variables. --- world/map/npc/015-1/barrier.txt | 2 +- world/map/npc/015-3/pot.txt | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/world/map/npc/015-1/barrier.txt b/world/map/npc/015-1/barrier.txt index 0e52125a..778f2d9b 100644 --- a/world/map/npc/015-1/barrier.txt +++ b/world/map/npc/015-1/barrier.txt @@ -2,6 +2,6 @@ // progressing with the cat quest. 015-1.gat,59,32,0|script|#CatOutsideBarrier|0,1,1,{ - set @KatzeNeedsAlone, 0; + set @catNeedsAlone, 0; end; } diff --git a/world/map/npc/015-3/pot.txt b/world/map/npc/015-3/pot.txt index 29eb7a43..c511910c 100644 --- a/world/map/npc/015-3/pot.txt +++ b/world/map/npc/015-3/pot.txt @@ -4,25 +4,25 @@ set @cat, ((Katze & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT); - if (Katze > 0) + if (@cat > 0) mes "It's that old pot again."; - if (Katze == 0) + if (@cat == 0) mes "It's a pot."; next; - if (Katze == 1 && @catNeedsAlone == 0) + if (@cat == 1 && @catNeedsAlone == 0) goto L_NeedsFood; - if (Katze == 1) + if (@cat == 1) goto L_HasMilk; - if (Katze == 2 && @catNeedsAlone == 0) + if (@cat == 2 && @catNeedsAlone == 0) goto L_NeedsFur; - if (Katze == 2) + if (@cat == 2) goto L_HasFood; - if (Katze == 3) + if (@cat == 3) goto L_NeedsWood; - if (Katze == 4 && @catNeedsAlone == 1) + if (@cat == 4 && @catNeedsAlone == 1) goto L_HasWood; - if (Katze >= 4) + if (@cat >= 4) goto L_Close; L_NeedsMilk: -- cgit v1.2.3-60-g2f50