summaryrefslogblamecommitdiff
path: root/npc/025-1/reset.txt
blob: 2d443d05a153d55ec9afef34e25e70ec4be15218 (plain) (tree)
1
2
3
4
5
6
7
8
9
  

                                              
                                          
      
                                            
                              
                                               
                                     
                          
                     
                    
                   
                 
                                           



        



                   
      


                          
        

       
                      









                                              
 
//
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,
    "Pass all caves except boss cave.", L_Pass,
    "Reset Alrd_Been only.", L_reSet,
    "Do not reset.", L_No;
  set Rossy_Quest, 0;
  set cavefights, 0;
  set Alrd_Been, 0;
  set Boss_10, 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;
  
L_Pass:
  set Rossy_Quest, 15;
  set cavefights, (cavefights ^ BATTLE_CAVE1);
  set cavefights, (cavefights ^ BATTLE_CAVE2);
  set cavefights, (cavefights ^ BATTLE_CAVE3);
  set cavefights, (cavefights ^ BATTLE_CAVE4);
  set cavefights, (cavefights ^ BATTLE_CAVE5);
  set cavefights, (cavefights ^ BATTLE_CAVE6);
  set cavefights, (cavefights ^ BATTLE_CAVE7);
  set cavefights, (cavefights ^ BATTLE_CAVE8);
  set cavefights, (cavefights ^ BATTLE_CAVE9);
  close;
}