kafras_yun.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //===== eAthena Script =======================================
  2. //= Yuno Kafras
  3. //===== By: =========================
  4. //= eAthena Dev Team
  5. //===== Current Version: ===================
  6. //= 2.3
  7. //===== Compatible With: =====================
  8. //= eAthena 1.0
  9. //===== Description: ============================================
  10. //= Description of argument settings for callfunc "F_Kafra".
  11. //= arg(0): When set at 0 the default Kafra message is displayed.
  12. //= When set to 1 the Niflhiem Kafra message is displayed.
  13. //= When set to 2 the Guild Kafra message is displayed.
  14. //= arg(1): Set to 1 to disable teleport menu option. Otherwise set to 0.
  15. //= arg(2): Set to 1 to disable info menu. Otherwise set to 0.
  16. //===== Additional Comments: ==========================================
  17. //= v1.1 Now using functions :)
  18. //= v2.1b Minor changes to function calls. Using arguments.
  19. //= This version uses arrays .[kobra_k88]
  20. //= 2.2 Now only warps to Aldebaran [Evera]
  21. //= 2.3 Updated a kafra location. [Musashiden]
  22. //=====================================================================
  23. // Center ------------------------------------------------------------------
  24. yuno.gat,152,187,4 script Kafra::kaf_yuno 113,{
  25. cutin "kafra_05",2;
  26. callfunc "F_KafSetYun";
  27. callfunc "F_Kafra",0,0,0;
  28. M_Save:
  29. savepoint "yuno.gat",158,125;
  30. callfunc "F_KafEnd",0,1;
  31. }
  32. // South East --------------------------------------------------------------
  33. yuno.gat,327,108,4 script Kafra::kaf_yuno2 113,{
  34. cutin "kafra_05",2;
  35. callfunc "F_KafSetYun";
  36. callfunc "F_Kafra",0,0,0;
  37. M_Save:
  38. savepoint "yuno.gat",328,101;
  39. callfunc "F_KafEnd",0,1;
  40. }
  41. // East --------------------------------------------------------------------
  42. yuno.gat,277,221,4 script Kafra::kaf_yuno3 117,{
  43. cutin "kafra_01",2;
  44. callfunc "F_KafSetYun";
  45. callfunc "F_Kafra",0,0,0;
  46. M_Save:
  47. savepoint "yuno.gat",274,229;
  48. callfunc "F_KafEnd",0,1;
  49. }
  50. // Function: Sets variables for Yuno Kafras ------------
  51. function script F_KafSetYun {
  52. cleararray @wrpC$[0],"",getarraysize(@wrpC$);
  53. setarray @wrpD$[0], "Al De Baran";
  54. setarray @wrpP[0], 1200;
  55. set @wrpC$[0], @wrpD$[0]+" -> "+@wrpP[0];
  56. set @wrpC$[1], "Cancel";
  57. setarray @viewpX[0], 328, 278, 153, 0;
  58. setarray @viewpY[0], 108, 221, 187, 0;
  59. return;
  60. }