summaryrefslogtreecommitdiff
path: root/npc/025-1/reset.txt
blob: 7475d5673393280d6dc46fd9157ef7d51eb2f53d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
025-1.gat,47,84,0	script	reset	145,{ 

  mes "Do you want to reset Rossy Quest?";
  menu
    "Reset every variable of the quest.", -,
    "Set Rossy_Quest.", L_Set,
    "Reset Alrd_Been.", L_reSet,
    "Do not reset.", L_No;
  set Rossy_Quest, 0;
  set cavefights, 0;
  set Alrd_Been, 0;
  set FLAGS, FLAGS & ~FLAG_ROSSI_COMPLETED;

L_No:
  close;

L_reSet:
  set Alrd_Been, 0;
  close;
  
L_Set:
  mes "value";
  input @name$;
  set Rossy_Quest, @name$;
  close;
}