summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/002-1/peter.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt
index 64d331403..29bbd8d05 100644
--- a/npc/002-1/peter.txt
+++ b/npc/002-1/peter.txt
@@ -152,6 +152,8 @@ L_BonusTask:
if (@menu == 1)
close;
+ @peter=@menu;
+
goto L_Start;
@@ -166,9 +168,9 @@ L_Start:
mesc l("The strategy is simple. When you hit the enemy, walk one or two tiles backwards.");
mesc l("If you miss, walk two or three tiles backwards. This way, you avoid being hit.");
next;
- if (@menu == 2)
+ if (@peter == 2)
mesc l("Squirrels are healthy, but they never attack. They run away from you, so good luck catching it!");
- else if (@menu == 4)
+ else if (@peter == 4)
mesc l("Crocs are dangerous and very healthy, but very slow. Use that on your advantage.");
else
mesc l("Rattos are very fast. They walk fast and attack fast. I advise bringing some healing items!");
@@ -192,13 +194,13 @@ OnStartOutside:
instance_init(.@INSTID);
// Save in a less reliable way the challenge you took
- if (@menu == 2) {
+ if (@peter == 2) {
@peter=2;
@pt_mob=Squirrel;
- } else if (@menu == 3) {
+ } else if (@peter == 3) {
@peter=4;
@pt_mob=Ratto;
- } else if (@menu == 4) {
+ } else if (@peter == 4) {
@peter=8;
@pt_mob=Croc;
} else {