lhalzen_dun.txt 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. //===== Athena Script ========================================
  2. //= Lighthalzen Dungeon Warp Script
  3. //===== By: ==================================================
  4. //= Sara-chan (1.0)
  5. //===== Current Version: =====================================
  6. //= 1.6b
  7. //===== Compatible With: =====================================
  8. //= Any Athena Version; RO Episode 8+
  9. //===== Description: =========================================
  10. //= Warp Points for Lighthalzen Dungeon
  11. //===== Additional Comments: =================================
  12. //= No Comment!
  13. //= 1.1 Added temp restriction by Azazel [Lupus]
  14. //= 1.2 Optimized [Lupus]
  15. //= and fixed 005 and 005a warps coords, thanks to Justin84
  16. //= 1.3 Fixed entrance condition check, thanx2Daegaladh [Lupus]
  17. //= 1.4 Added coords of secret dungeon entrance, thanks to Justin84
  18. //= proved with screenshots [Lupus]
  19. //= 1.5a thx2 Justin84, some additions and fixes [Lupus]
  20. //= 1.5b re-enabled main entrance warp [Lupus] <-reverted 1.5c
  21. //= 1.6 Updated entrances, added Cube room warps, thanx 2 Justin84
  22. //= 1.6a Disabled the "Entrance" to lhz_dun01 [Poki#3]
  23. //= 1.6b Updated Sewer Pipe [Vicious]
  24. //= 1.7 Fixed a warp-back
  25. //= 1.8 Some small changes [MasterOfMuppets]
  26. //============================================================
  27. lhz_dun03.gat,140,139,0 warp lhz003 1,1,lhz_dun02.gat,150,145
  28. lhz_dun02.gat,18,150,0 warp lhz004 1,1,lhz_dun01.gat,18,148
  29. lhz_dun01.gat,18,146,0 warp lhz004a 1,1,lhz_dun02.gat,18,148
  30. lhz_dun02.gat,282,155,0 warp lhz005 1,1,lhz_dun01.gat,281,152
  31. lhz_dun01.gat,281,150,0 warp lhz005a 1,1,lhz_dun02.gat,282,153
  32. lhz_dun02.gat,148,18,0 warp lhz006 1,1,lhz_dun01.gat,146,10
  33. lhz_dun01.gat,148,10,0 warp lhz006a 1,1,lhz_dun02.gat,150,18
  34. //current entrance
  35. lhz_dun01.gat,150,290,0 warp lhz007 1,1,lhz_in01.gat,23,137
  36. //lighthalzen.gat,73,52,0 warp lhz007a 1,1,lhz_dun01.gat,150,288
  37. //This should be only an Exit. This warp doesn't exist on kRO.
  38. //--------------------------Sewer Pipe--------------------------
  39. lighthalzen.gat,313,301,0 script Sewer Pipe 111,{
  40. mes "You see some pipes for a sewage system.";
  41. if(hzdun == 1)goto s_Find;
  42. close;
  43. s_Find:
  44. mes "You found the way into the lab.";
  45. next;
  46. menu "Go in.",L_1,"Do not go in.",-;
  47. close;
  48. L_1:
  49. warp "lhz_cube.gat",231,17;
  50. end;
  51. }
  52. //--------------------------Warp--------------------------
  53. //Cube room <-> Organism test laboratory level 2
  54. lhz_cube.gat,231,96,0 warp lhzcube1 1,1,lhz_dun02.gat,220,6
  55. lhz_dun02.gat,224,6,0 warp lhzcube2 1,1,lhz_cube.gat,231,90
  56. //Cube room -> Lighthalzen
  57. lhz_cube.gat,231,12,0 warp lhzcube3 1,1,lighthalzen.gat,310,302
  58. lhz_cube.gat,177,96,0 warp lhzcube4 1,1,lighthalzen.gat,310,302
  59. lhz_dun02.gat,150,149,4 script lhz-warp 45,2,2,{
  60. OnTouch:
  61. if(Upper != 1 && BaseLevel<95)goto s_Noentry0;
  62. if(Upper == 1 && BaseLevel<90)goto s_Noentry1;
  63. warp "lhz_dun03",140,137;
  64. end;
  65. s_Noentry0:
  66. mes "Non-Advanced class characters must be at least base level 95 to enter level 3 of the Bio Lab Dungeon";
  67. close;
  68. s_Noentry1:
  69. mes "Advanced class characters must be at least base level 90 to enter level 3 of the Bio Lab Dungeon";
  70. close;
  71. }
  72. //----------------- Cube Room Maze ---------------------------
  73. // -1 are warps facing east.
  74. // -2 the warps facing south.
  75. // -3 are warps facing west.
  76. // -4 are warps facing north.
  77. //----------------- Room 66 74 -------------------------------
  78. lhz_cube.gat,74,74,0 script cubew01-1 45,1,1,{
  79. callfunc "randomw";
  80. end;
  81. }
  82. lhz_cube.gat,66,67,0 warp cubew01-2 2,2,lhz_cube.gat,10,18
  83. lhz_cube.gat,59,74,0 script cubew01-3 45,1,1,{
  84. callfunc "randomw";
  85. end;
  86. }
  87. lhz_cube.gat,66,82,0 script cubew01-4 45,1,1,{
  88. callfunc "randomw";
  89. end;
  90. }
  91. //----------------- Room 66 136 ------------------------------
  92. lhz_cube.gat,74,136,0 warp cubew02-1 2,2,lhz_cube.gat,10,193
  93. lhz_cube.gat,66,129,0 script cubew02-2 45,1,1,{
  94. callfunc "randomw";
  95. end;
  96. }
  97. lhz_cube.gat,59,136,0 script cubew02-3 45,1,1,{
  98. callfunc "randomw";
  99. end;
  100. }
  101. lhz_cube.gat,66,144,0 script cubew02-4 45,1,1,{
  102. callfunc "randomw";
  103. end;
  104. }
  105. //----------------- Room 67 193 ------------------------------
  106. lhz_cube.gat,74,192,0 script cubew03-1 45,1,1,{
  107. callfunc "randomw";
  108. end;
  109. }
  110. lhz_cube.gat,67,185,0 script cubew03-2 45,1,1,{
  111. callfunc "randomw";
  112. end;
  113. }
  114. lhz_cube.gat,59,192,0 script cubew03-3 45,1,1,{
  115. callfunc "randomw";
  116. end;
  117. }
  118. lhz_cube.gat,67,200,0 warp cubew03-4 2,2,lhz_cube.gat,10,136
  119. //----------------- Room 66 18 -------------------------------
  120. lhz_cube.gat,74,18,0 script cubew04-1 45,1,1,{
  121. callfunc "randomw";
  122. end;
  123. }
  124. lhz_cube.gat,66,11,0 warp cubew04-2 2,2,lhz_cube.gat,10,18
  125. lhz_cube.gat,59,18,0 script cubew04-3 45,1,1,{
  126. callfunc "randomw";
  127. end;
  128. }
  129. lhz_cube.gat,66,26,0 warp cubew04-4 2,2,lhz_cube.gat,123,18
  130. //----------------- Room 66 18 -------------------------------
  131. lhz_cube.gat,18,18,0 warp cubew05-1 2,2,lhz_cube.gat,10,193
  132. lhz_cube.gat,10,11,0 warp cubew05-2 2,2,lhz_cube.gat,123,18
  133. lhz_cube.gat,3,18,0 script cubew05-3 45,1,1,{
  134. callfunc "randomw";
  135. end;
  136. }
  137. lhz_cube.gat,10,26,0 script cubew05-4 45,1,1,{
  138. callfunc "randomw";
  139. end;
  140. }
  141. //----------------- Room 10 74 -------------------------------
  142. lhz_cube.gat,18,74,0 script cubew06-1 45,1,1,{
  143. callfunc "randomw";
  144. end;
  145. }
  146. lhz_cube.gat,10,67,0 warp cubew06-2 2,2,lhz_cube.gat,123,18
  147. lhz_cube.gat,3,74,0 warp cubew06-3 2,2,lhz_cube.gat,66,18
  148. lhz_cube.gat,10,82,0 script cubew06-4 45,1,1,{
  149. callfunc "randomw";
  150. end;
  151. }
  152. //----------------- Room 10 136 ------------------------------
  153. lhz_cube.gat,18,136,0 warp cubew07-1 2,2,lhz_cube.gat,10,74
  154. lhz_cube.gat,10,129,0 script cubew07-2 45,1,1,{
  155. callfunc "randomw";
  156. end;
  157. }
  158. lhz_cube.gat,3,136,0 script cubew07-3 45,1,1,{
  159. callfunc "randomw";
  160. end;
  161. }
  162. lhz_cube.gat,10,144,0 script cubew07-4 45,1,1,{
  163. callfunc "randomw";
  164. end;
  165. }
  166. //----------------- Room 10 193 ------------------------------
  167. lhz_cube.gat,18,192,0 script cubew08-1 45,1,1,{
  168. callfunc "randomw";
  169. end;
  170. }
  171. lhz_cube.gat,10,185,0 script cubew08-2 45,1,1,{
  172. callfunc "randomw";
  173. end;
  174. }
  175. lhz_cube.gat,3,192,0 warp cubew08-3 2,2,lhz_cube.gat,10,74
  176. lhz_cube.gat,10,200,0 warp cubew08-4 2,2,lhz_cube.gat,66,18
  177. //----------------- Room 123 18 ------------------------------
  178. lhz_cube.gat,130,18,0 script cubew08-1 45,1,1,{
  179. callfunc "randomw";
  180. end;
  181. }
  182. lhz_cube.gat,123,11,0 script cubew08-2 45,1,1,{
  183. callfunc "randomw";
  184. end;
  185. }
  186. lhz_cube.gat,115,18,0 warp cubew08-3 2,2,lhz_cube.gat,248,184
  187. lhz_cube.gat,123,26,0 script cubew08-4 45,1,1,{
  188. callfunc "randomw";
  189. end;
  190. }
  191. //----- Function for Random Warps ----------------------------
  192. function script randomw {
  193. set @rdm,rand(3);
  194. if(@rdm==1)goto rdm1;
  195. if(@rdm==2)goto rdm2;
  196. warp "lhz_cube.gat",67,193; end;
  197. rdm1: warp "lhz_cube.gat",66,136; end;
  198. rdm2: warp "lhz_cube.gat",66,74; end;
  199. }