Advertisement
M45T3Ryu

0th Square:Start

Feb 10th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.56 KB | None | 0 0
  1. job_ko,57,16    script  Sight#ko_00 909,2,2,{
  2. mes "Other letters are too small to read. Let's look up close.";
  3. close;
  4.  
  5. OnTouch:
  6. mes "There are tiny letters on the sign.";
  7. next;
  8. if (LREADYHR == 1){
  9. if (checkquest(5141)== 1) erasequest 5141;
  10. set LPOINTS, 100;
  11. mes "You've returned to the first block. Your LP is recovered.";
  12. next;
  13. }
  14. switch(select("Read the description.:Start the test.")){
  15. case 1:
  16. mes "The Test of Survival starts from here and you use  100 Life Points (LP) and roll dice to advance forward through the test.";
  17. next;
  18. mes "The whole test starts from block 0 to block 40 and each block you get can either give or take your LP.";
  19. next;
  20. mes "You need to have some LP till you get to the arrival block at the end to pass the test.";
  21. next;
  22. mes "But! You still pass the test if your LP becomes 0 when you get to the arrival block.";
  23. next;
  24. mes "Game instructions end here. Good luck to you.";
  25. close;
  26.  
  27. case 2:
  28. if (checkquest(5140) == -1)setquest 5140;
  29. set LPOINTS, 100;
  30. mes "You've gained 100 Life Points (LP).";
  31. next;
  32. mes "Location: 0";
  33. mes "Total LP: "+LPOINTS+"";
  34. mes "To roll the dice, you need to consume 1 LP.";
  35. next;
  36. switch(select("Roll the dice.")){
  37. set LPOINTS, LPOINTS-1;
  38. set .@dice, rand(1,6);
  39. set LREADYHR,1;
  40. mes ""+strcharinfo(0)+" *Dice#"+.@dice+"*";
  41. mes "The dice came out as "+.@dice+".";
  42. mes "Press Close to move forward "+.@dice+" blocks.";
  43. switch(.@dice){
  44. case 1:
  45. warp "job_ko",,;
  46. case 2:
  47. warp "job_ko",,;
  48. case 3:
  49. warp "job_ko",,;
  50. case 4:
  51. warp "job_ko",,;
  52. case 5:
  53. warp "job_ko",22,16;
  54. case 6:
  55. warp "job_ko",17,19;
  56. }
  57. }
  58. }
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement