set 自动KNPC,1
run 龙王.asc
useitem ?飞行至魔域
delay 1000
waitmap 61113,5
set 自动逃跑,1
call 买魔域毛
walkpos 10,13 
walkpos 9,11 
walkpos 7,10 
walkpos 5,9 
walkpos 3,9 
walkpos 2,9 
waitmap 61001,5,-4
walkpos 301,138 
walkpos 299,139 
ifitem 血炎宝珠,!=,0,+2
call 拿血珠
walkpos 298,140 
walkpos 297,139 
walkpos 296,140 
walkpos 297,143 
walkpos 298,146 
walkpos 298,148 
walkpos 297,150 
walkpos 296,152 
delay 800
eo
delay 800
walkpos 296,154 
waitmap 61000,3,-8
useitem ?龙王的守护
walkpos 295,155 
walkpos 293,157 
walkpos 290,159 
walkpos 286,160 
walkpos 283,161 
walkpos 283,162 
walkpos 279,164 
walkpos 275,166 
walkpos 271,167 
walkpos 268,167 
walkpos 265,169 
walkpos 260,171 
walkpos 256,172 
walkpos 252,173 
walkpos 250,174 
walkpos 248,175 
walkpos 247,176 
walkpos 245,177 
walkpos 243,178 
walkpos 241,178 
walkpos 239,178 
walkpos 237,178 
walkpos 235,178 
walkpos 233,178 
walkpos 230,179 
walkpos 227,180 
walkpos 225,182 
walkpos 222,182 
walkpos 220,184 
walkpos 218,186 
walkpos 216,188 
walkpos 214,189 
walkpos 211,190 
walkpos 208,190 
walkpos 205,190 
walkpos 202,190 
walkpos 199,191 
walkpos 196,192 
walkpos 194,194 
walkpos 193,198 
walkpos 192,202 
walkpos 192,207 
walkpos 192,213 
walkpos 194,217 
walkpos 196,221 
walkpos 198,225 
walkpos 199,230 
walkpos 197,234 
walkpos 194,238 
walkpos 191,241 
walkpos 188,242 
walkpos 186,244 
walkpos 184,247 
walkpos 181,250 
walkpos 178,253 
walkpos 175,255 
walkpos 172,258 
walkpos 170,261 
walkpos 168,264 
walkpos 167,267 
walkpos 165,270 
walkpos 163,272 
walkpos 162,273 
walkpos 161,274 
walkpos 160,275 
walkpos 159,276 
walkpos 158,276 
walkpos 157,276 
walkpos 156,276 
walkpos 155,276 
walkpos 154,277 
walkpos 153,278 
walkpos 152,279 
walkpos 151,280 
walkpos 147,286 
walkpos 144,289 
walkpos 142,290 
walkpos 141,292 
walkpos 140,294 
walkpos 140,296 
walkpos 140,298 
walkpos 140,300 
walkpos 140,302 
walkpos 140,304 
walkpos 140,305 
walkpos 139,306 
walkpos 138,307 
walkpos 137,308 
walkpos 136,309 
walkpos 135,310 
walkpos 134,311 
walkpos 133,312 
walkpos 132,313 
walkpos 131,313 
walkpos 130,313 
walkpos 129,313 
walkpos 128,313 
walkpos 127,313 
walkpos 126,313 
walkpos 125,313 
walkpos 124,313 
walkpos 123,313 
walkpos 122,313 
walkpos 121,313 
walkpos 120,313 
walkpos 119,313 
walkpos 118,313 
walkpos 117,313 
walkpos 116,313 
walkpos 115,313 
walkpos 114,313 
walkpos 113,313 
walkpos 112,313 
walkpos 111,313 
walkpos 110,313 
walkpos 109,313 
walkpos 108,313 
walkpos 107,313 
walkpos 106,312 
walkpos 105,311 
walkpos 104,310 
walkpos 103,309 
walkpos 102,308 
walkpos 102,306 
walkpos 101,304 
walkpos 101,302 
walkpos 101,300 
walkpos 101,298 
walkpos 101,296 
walkpos 102,294 
walkpos 102,291 
walkpos 103,289 
walkpos 104,287 
walkpos 105,284 
walkpos 105,282 
walkpos 105,280 
walkpos 105,278 
walkpos 105,276 
walkpos 105,274 
walkpos 105,272 
walkpos 105,269 
walkpos 105,266 
walkpos 103,264 
walkpos 101,262 
walkpos 97,262 
walkpos 94,262 
walkpos 91,262 
walkpos 88,262 
walkpos 87,260 
walkpos 86,259 
walkpos 85,257 
walkpos 85,256 
walkpos 85,255 
walkpos 85,254 
walkpos 84,253 
walkpos 84,251 
walkpos 86,249 
walkpos 87,247 
walkpos 88,245 
walkpos 90,243 
walkpos 92,242 
walkpos 93,242 
delay 800
eo
delay 800
walkpos 94,242 
waitmap 61002,5,-8
walkpos 41,48 
walkpos 41,50 
walkpos 42,52 
walkpos 46,53 
walkpos 49,54 
walkpos 51,53 
walkpos 56,53 
walkpos 62,53 
walkpos 66,55 
walkpos 67,60 
delay 800
eo
delay 800
walkpos 69,60
waitmap 61003,5,-8 '炙热洞窟 
walkpos 13,70 
walkpos 11,68 
walkpos 9,66 
walkpos 9,63 
delay 800
eo
delay 800 
walkpos 10,60 
waitmap 61002,5,-6
walkpos 26,4 
walkpos 23,5 
walkpos 20,6 
walkpos 18,9 
walkpos 16,11 
walkpos 13,13 
walkpos 10,15 
walkpos 8,18 
walkpos 6,21 
walkpos 6,25 
walkpos 6,29 
walkpos 6,33 
walkpos 6,37 
walkpos 6,39 
walkpos 7,39 
delay 800
eo
delay 800 
walkpos 8,39 
waitmap 61003,5,-8
walkpos 52,68 
walkpos 50,68 
walkpos 49,67 
walkpos 49,65 
walkpos 49,63 
waitmap 61007,30 '炙热洞窟 
walkpos 19,63 
walkpos 19,66 
walkpos 21,66 
walkpos 24,67 
walkpos 25,69 
walkpos 25,72 
walkpos 24,74 
walkpos 22,75 
walkpos 19,75 
walkpos 16,75 
walkpos 13,75 
walkpos 10,75 
walkpos 7,75 
walkpos 5,74 
walkpos 4,72 
walkpos 4,69 
walkpos 4,66 
walkpos 4,63 
walkpos 4,60 
walkpos 4,57 
walkpos 4,54 
walkpos 4,51 
walkpos 4,48 
walkpos 4,45 
walkpos 5,43 
walkpos 8,42 
walkpos 11,42 
walkpos 14,42 
walkpos 16,42 
walkpos 19,42 
walkpos 22,42 
walkpos 25,42 
walkpos 28,42 
walkpos 31,42 
walkpos 34,42 
walkpos 35,40 
walkpos 35,38 
walkpos 35,36 
walkpos 35,34 
walkpos 33,33 
walkpos 31,33 
walkpos 29,33 
walkpos 27,33 
walkpos 27,31 
walkpos 27,29 
walkpos 27,27 
walkpos 27,25 
walkpos 30,25 
walkpos 33,25 
walkpos 36,25 
walkpos 39,25 
walkpos 42,25 
walkpos 43,26 
walkpos 43,28 
walkpos 43,30 
walkpos 44,32 
walkpos 46,33 
walkpos 48,33 
walkpos 50,33 
walkpos 52,33 
walkpos 54,33 
walkpos 56,33 
walkpos 57,31 
walkpos 57,28 
walkpos 57,25 
walkpos 57,22 
walkpos 57,19 
walkpos 58,18 
walkpos 60,17 
walkpos 62,17 
walkpos 64,17 
walkpos 66,17 
walkpos 69,17 
walkpos 71,18 
walkpos 73,18 
walkpos 75,19 
walkpos 75,21 
walkpos 75,24 
walkpos 75,27 
walkpos 75,30 
walkpos 75,33 
walkpos 75,36 
walkpos 75,38
delay 800
eo
delay 800 
walkpos 75,39 
waitmap 61100,5,-8
walkpos 293,260 
walkpos 290,260 
walkpos 287,260 
walkpos 285,259 
walkpos 282,258 
walkpos 279,257 
walkpos 276,256 
walkpos 273,256 
walkpos 271,256 
walkpos 269,256 
walkpos 268,255 
walkpos 268,254 
walkpos 268,253 
delay 800
eo
delay 800
ifpos 268,253,+2
goto -8
say hi
delay 800
waitdlg 进入的条件,?,5,-4
button 确定
delay 500
ifpos 268,247,+2
goto -8
walkpos 268,244 
walkpos 269,242 
walkpos 270,240 
walkpos 271,237 
walkpos 273,234 
walkpos 275,232 
walkpos 276,229 
walkpos 278,227  
walkpos 279,222 
walkpos 279,221 
walkpos 279,219 
walkpos 279,217 
walkpos 280,216 
walkpos 281,215 
walkpos 282,215 
walkpos 283,215 
walkpos 284,214 
walkpos 285,213 
walkpos 287,213 
walkpos 288,212 
walkpos 289,211 
walkpos 290,210 
walkpos 290,208 
walkpos 290,206 
walkpos 290,204 
walkpos 290,202 
walkpos 290,200 
walkpos 290,201 
walkpos 292,201 
walkpos 294,201 
walkpos 296,201 
walkpos 298,201 
delay 800
eo
delay 800
walkpos 299,201 
waitmap 61114,5,-8
walkpos 3,24 
walkpos 6,24 
walkpos 9,24 
walkpos 12,24 
walkpos 15,24 
walkpos 18,24 
walkpos 21,24 
walkpos 24,24 
walkpos 27,24 
walkpos 30,24 
walkpos 33,24 
walkpos 36,24 
end

label 拿血珠
walkpos 298,138 
walkpos 296,137 
walkpos 294,137 
walkpos 292,137 
walkpos 291,137 
walkpos 291,136 
delay 500
eo
delay 500
walkpos 291,134 
waitmap 61115,3,-5
walkpos 9,17 
walkpos 9,15 
walkpos 9,13 
walkpos 9,11 
walkpos 9,9 
walkpos 10,9 
walkpos 10,7 
walkpos 10,5 
walkpos 10,4 
walkpos 9,4 
delay 500
eo
delay 500
ifpos 9,4,+2
goto -8
w 9,4,G 
say hi
delay 1000
waitdlg 虽然你击败,1,3,-5
button 确定
delay 1000
button OK
delay 1000
ifitem 血炎宝珠,!=,0,+2
goto -6
walkpos 10,4 
walkpos 10,6 
walkpos 10,8 
walkpos 10,10 
walkpos 9,10 
walkpos 9,12 
walkpos 9,14 
walkpos 9,16 
walkpos 9,17 
walkpos 9,18 
walkpos 9,19 
waitmap 61001,3,-5
walkpos 292,136 
walkpos 294,137 
walkpos 296,138 
return








label 买魔域毛
walkpos 11,12 
walkpos 11,13 
walkpos 11,14 
walkpos 11,15 
w 11,15,C 
say buy
delay 1000
buy 1,1
delay 1000
ifitem 飞行至魔域,=,0,-8
return

