dim @a
let @a,=,6
chname 人物,文西海贼王
button 任务日志
delay 1000
check 任务,?,like,*海贼王的密宝*已完成*,+3
say 脚本检测你没有完成先决任务，海贼王的密宝。自动去完成。



label 开头
ifitem ?,=,不可思议的贝壳,+2
call 拿贝壳

ifpet 空位,>,2,+2
goto 存宠

useitem 毒
delay 500
ifitem 103,=,毒,+2
call 买毒斧子

label 检测人龙
ifpet ?,=,利则诺顿,+2
call 绿龙
ifpet ?,=,邦奇诺,+2
call 红龙
ifpet ?,=,扬奇洛斯,+3
call 蓝龙
goto 检测人龙

label 去鲨鱼
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
walkpos 87,51 
walkpos 85,51 
walkpos 83,50 
walkpos 82,50 
w 82,50,A 
say 文西一键海贼王脚本。
waitdlg 请问你,1,5,去鲨鱼
button 4
waitmap 817,5,去鲨鱼
set 自动逃跑,1
delay 200
call 海底坐标检测
delay 1000
ifpos 182,323,+2
goto 去鲨鱼

set 自动逃跑,0
set 自动KNPC,1
w 182,323,A 
w 182,323,A 
w 182,323,A 
say hi
waitdlg ?,0,5,去鲨鱼
button 确定
delay 500
waitsay 1-10,这可是你自找的,10,去鲨鱼
delay 1000
iffight !=,0,-1
waitmap 8007,20,-3
delay 200
set 自动逃跑,1
delay 200
walkpos 51,26 
walkpos 51,25 
walkpos 51,24 
walkpos 51,23 
walkpos 51,22 
walkpos 52,21 
walkpos 52,20 
walkpos 52,19 
walkpos 52,18 
walkpos 52,17 
walkpos 52,16 
walkpos 53,16
delay 200 
walkpos 54,16 
delay 1000
waitpos 14,15,-3
walkpos 13,15 
walkpos 12,15 
walkpos 11,15 
walkpos 10,15 
walkpos 9,15 
walkpos 8,15 
walkpos 7,15 
walkpos 7,14 
walkpos 7,13 
w 7,13,A 
say 文西脚本
waitdlg ?,0,5,-3
check 对话,1,=,如果想得到,已接了
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 确定
waitdlg ?,0,5,-1
button OK
label 已接了
label 拿人龙钥匙
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
walkpos 88,51 
walkpos 88,52 
walkpos 88,53 
w 88,53,D 
say 文西一键海贼王脚本buy
waitdlg 少女,1,5,拿人龙钥匙
buy 飞行至奇喀喀,1
waititem ?,飞行至奇喀喀,5,-1
useitem 飞行至奇喀喀
waitmap 3400,10,拿人龙钥匙
walkpos 62,48 
walkpos 61,48 
walkpos 60,48 
walkpos 59,48 
walkpos 58,49 
walkpos 57,50 
walkpos 56,51 
walkpos 55,51 
walkpos 54,51 
walkpos 53,51 
walkpos 52,51 
walkpos 51,51 
walkpos 50,51 
walkpos 49,51 
walkpos 48,51 
walkpos 47,51 
walkpos 46,51 
walkpos 45,51 
walkpos 44,51 
walkpos 44,53 
walkpos 44,54 
w 44,54,E 
say 文西脚本
waitdlg ?,0,5,拿人龙钥匙
button 确定
waitdlg ?,0,5,拿人龙钥匙
button OK
waititem ?,海贼王之钥,5,拿人龙钥匙

label 二次去海底
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
walkpos 87,51 
walkpos 85,51 
walkpos 83,50 
walkpos 82,50 
w 82,50,A 
say 文西一键海贼王脚本。
waitdlg 请问你,1,5,二次去海底
button 4
waitmap 817,5,二次去海底
set 自动逃跑,1
delay 200
call 海底坐标检测2
delay 1000
ifpos 182,323,+2
goto 二次去海底
set 自动逃跑,0
set 自动KNPC,1
w 182,323,A 
w 182,323,A 
w 182,323,A 
say hi
waitdlg ?,0,5,去鲨鱼
button 确定
delay 500
waitsay 1-10,这可是你自找的,10,去鲨鱼
delay 1000
iffight !=,0,-1
waitmap 8100,15,-3
delay 200
set 自动逃跑,1
delay 200
walkpos 51,26 
walkpos 51,25 
walkpos 51,24 
walkpos 51,23 
walkpos 51,22 
walkpos 52,21 
walkpos 52,20 
walkpos 52,19 
walkpos 52,18 
walkpos 52,17 
set 自动逃跑,0
set 自动KNPC,1
walkpos 52,16 
w 52,16,C 
w 52,16,C 
say hi
waitdlg ?,0,5,-3
button 确定
delay 500
waitsay 1-10,宝箱的钥匙抢到了,10,-1
delay 1000
iffight !=,0,-1
waitmap 8101,15,-15
delay 200
set 自动逃跑,1
delay 200
w 52,16,C 
say 文西脚本
waitdlg ?,0,5,-3
button 确定
waitmap 8007,15,-1
delay 200
set 自动逃跑,1
walkpos 12,15 
walkpos 11,15 
walkpos 10,15 
walkpos 9,15 
walkpos 8,15 
walkpos 7,15 
walkpos 7,14 
walkpos 7,13 
w 7,13,A 
say 文西脚本
waitdlg ?,0,5,-3
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 下一页
waitdlg ?,0,5,-1
button 确定
waitdlg ?,0,5,-1
button OK
walkpos 8,13 
walkpos 8,12 
walkpos 8,11 
walkpos 8,10 
w 8,10,A 
say 文西脚本
waitdlg ?,0,5,-3
check 对话,1,=,怎么没宝物,第二个
button 确定
waitdlg ?,0,5,-1
button OK
goto -8
label 第二个
walkpos 8,11 
walkpos 8,12 
walkpos 8,13 
walkpos 7,13 
walkpos 6,13 
walkpos 5,13 
walkpos 4,13 
w 4,13,G 
say 文西脚本
waitdlg ?,0,5,-3
check 对话,1,=,怎么没宝物,结束
button 确定
waitdlg ?,0,5,-1
button OK
goto -8
label 结束
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
say 海贼王遗迹任务结束。感谢使用〖文西-Zero〗脚本。
end







label 绿龙
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
cls
walkpos 87,51 
walkpos 85,51 
walkpos 83,51 
walkpos 82,50 
w 82,50,A 
say 文西脚本。海贼王部分
waitdlg 请问你,1,5,绿龙
button 3
waitmap 21013,5,绿龙
set 自动逃跑,0
set 快速战斗,1
set 自动KNPC,1
set 自动捉宠,1
set 捉宠等级,0
set 捉宠名称,五利则诺顿
set 捉宠魔法,3
delay 200
useitem ?恶魔宝石
delay 1000
ifsay 1-10,你感受,+2
goto -4
delay 100
ifpet ?,=,五利则诺顿,+2
goto -2
set 自动逃跑,1
set 自动捉宠,0
log 1
waitmap 2000,1,-1
waitpos 89,51,-2
ifpet 五利则诺顿,>,1,+2
return
doffpet ?五利则诺顿
goto -3

label 红龙
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
cls
walkpos 88,51 
walkpos 88,53 
walkpos 88,55 
walkpos 88,57 
walkpos 90,58 
walkpos 92,59 
walkpos 94,60 
walkpos 96,61 
walkpos 98,63 
walkpos 100,65 
walkpos 102,67 
walkpos 103,68 
walkpos 104,69 
walkpos 105,70 
walkpos 106,71 
walkpos 106,72 
walkpos 106,73 
walkpos 106,74 
walkpos 106,76 
walkpos 106,78 
walkpos 106,80 
walkpos 106,82 
walkpos 106,84 
walkpos 106,86 
walkpos 106,88 
walkpos 106,90 
walkpos 106,91 
w 106,91,C 
say 文西脚本。海贼王部分
waitdlg 抓宠,1,5,红龙
button 4
waitmap 300,5,红龙
set 自动逃跑,0
set 快速战斗,1
set 自动KNPC,1
set 自动捉宠,1
set 捉宠等级,0
set 捉宠名称,五邦奇诺
set 捉宠魔法,3
delay 200
useitem ?恶魔宝石
delay 1000
ifsay 1-10,你感受,+2
goto -4
delay 100
ifpet ?,=,五邦奇诺,+2
goto -2
set 自动逃跑,1
set 自动捉宠,0
log 1
waitmap 2000,1,-1
waitpos 89,51,-2
ifpet 五邦奇诺,>,1,+2
return
doffpet ?五邦奇诺
goto -3

label 蓝龙
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
cls
walkpos 88,51 
walkpos 88,53 
walkpos 88,55 
walkpos 88,57 
walkpos 90,58 
walkpos 92,59 
walkpos 94,60 
walkpos 96,61 
walkpos 98,63 
walkpos 100,65 
walkpos 102,67 
walkpos 103,68 
walkpos 104,69 
walkpos 105,70 
walkpos 106,71 
walkpos 106,72 
walkpos 106,73 
walkpos 106,74 
walkpos 106,76 
walkpos 106,78 
walkpos 106,80 
walkpos 106,82 
walkpos 106,84 
walkpos 106,86 
walkpos 106,88 
walkpos 106,90 
walkpos 106,91 
w 106,91,C 
say 文西脚本。海贼王部分
waitdlg 抓宠,1,5,蓝龙
button 3
waitmap 300,5,蓝龙
set 自动逃跑,0
set 快速战斗,1
set 自动KNPC,1
set 自动捉宠,1
set 捉宠等级,0
set 捉宠名称,五扬奇洛斯
set 捉宠魔法,3
delay 200
useitem ?恶魔宝石
delay 1000
ifsay 1-10,你感受,+2
goto -4
delay 100
ifpet ?,=,五扬奇洛斯,+2
goto -2
set 自动逃跑,1
set 自动捉宠,0
log 1
waitmap 2000,1,-1
waitpos 89,51,-2
ifpet 五扬奇洛斯,>,1,+2
return
doffpet ?五扬奇洛斯
goto -3









label 存宠
print ★★★脚本检测宠物空位不足3个。将自动存宠。
print ★★★脚本检测宠物空位不足3个。将自动存宠。
print ★★★脚本检测宠物空位不足3个。将自动存宠。
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
walkpos 87,51 
walkpos 85,51 
walkpos 83,52 
walkpos 81,54 
walkpos 79,56 
walkpos 79,57 
walkpos 79,58 
walkpos 80,58 
waitmap 2003,5,存宠
walkpos 11,15 
walkpos 13,16 
walkpos 15,16 
label 开始存
let @a,-,1
walkpos 15,17 
walkpos 16,17 
w 16,17,C 
say 文西一键海贼王脚本之存宠环节
waitdlg 宠物商店,1,5,存宠
button 1
waitdlg 请选择,1,5,开始存
button @a
waitdlg 寄放,1,2,开始存
button 确定
waitdlg 再度光临,1,5,开始存
button OK
ifpet 空位,>,2,+3
check 对话,1,=,已经无法,+3
goto 开始存
goto 开头
msg 宠仓库满了。请留空仓库内至少3个空位。
pause



label 买毒斧子
log 1
delay 2000
waitmap 2000,5,-2
call 买毛
buy 达那,1
waititem ?,飞行至达那,5,买毒斧子
useitem 飞行至达那
delay 300
waitmap 5106,5,买毒斧子
walkpos 18,38 
walkpos 17,40 
walkpos 17,42 
walkpos 17,44 
walkpos 17,46 
walkpos 17,48 
walkpos 17,49 
waitmap 5100,3,买毒斧子
walkpos 23,32 
walkpos 24,33 
walkpos 26,33 
walkpos 27,32 
walkpos 28,31 
walkpos 29,30 
walkpos 29,29 
walkpos 30,28 
walkpos 30,27 
walkpos 30,26 
waitmap 5101,3,买毒斧子
walkpos 18,44 
walkpos 18,41 
walkpos 18,38 
walkpos 19,36 
walkpos 20,34 
walkpos 21,32 
walkpos 22,30 
walkpos 23,28 
walkpos 23,26 
walkpos 23,24 
walkpos 23,22 
walkpos 23,20 
walkpos 23,18 
walkpos 23,16 
walkpos 23,14 
walkpos 24,12 
walkpos 25,11 
walkpos 27,9 
walkpos 29,7 
walkpos 31,7 
walkpos 33,7 
walkpos 34,8 
walkpos 35,8 
walkpos 36,8 
walkpos 37,9 
walkpos 38,9 
walkpos 39,9 
w 39,9,A
say buy
delay 200
waitdlg 达那,1,5,买毒斧子
delay 500
buy 4,1
delay 1000
ifitem ?,=,美斯,+2
goto 买毒斧子
delay 200
useitem 美斯
return






label 海底坐标检测
delay 2000
ifpos 200,362,200362
ifpos 216,338,216338
ifpos 188,297,188297
ifpos 169,311,169311
ifpos 195,342,195342
ifpos 210,316,210316
ifpos 215,363,215363
goto 去鲨鱼

label 海底坐标检测2
delay 2000
ifpos 200,362,200362
ifpos 216,338,216338
ifpos 188,297,188297
ifpos 169,311,169311
ifpos 195,342,195342
ifpos 210,316,210316
ifpos 215,363,215363
goto 二次去海底

label 200362
delay 200
walkpos 199,362 
walkpos 199,361 
walkpos 199,360 
walkpos 199,359 
walkpos 199,358 
walkpos 199,357 
walkpos 199,356 
walkpos 199,355 
walkpos 199,354 
walkpos 199,353 
walkpos 199,352 
walkpos 199,351 
walkpos 199,350 
walkpos 199,349 
walkpos 199,348 
walkpos 199,347 
walkpos 199,346 
walkpos 199,345 
walkpos 198,345 
walkpos 197,345 
walkpos 196,345 
walkpos 195,344 
walkpos 194,343 
walkpos 193,342 
walkpos 192,341 
walkpos 191,340 
walkpos 190,339 
walkpos 189,338 
walkpos 188,337 
walkpos 187,336 
walkpos 186,335 
walkpos 185,334 
walkpos 184,333 
walkpos 183,332 
walkpos 182,331 
walkpos 182,330 
walkpos 182,329 
walkpos 182,328 
walkpos 182,327 
walkpos 182,326 
walkpos 182,325 
walkpos 182,324 
walkpos 182,323 
return



label 216338
delay 200
walkpos 215,338 
walkpos 214,338 
walkpos 212,338 
walkpos 210,338 
walkpos 208,338 
walkpos 206,338 
walkpos 204,338 
walkpos 202,338 
walkpos 200,338 
walkpos 199,339 
walkpos 198,340 
walkpos 196,340 
walkpos 194,340 
walkpos 192,340 
walkpos 190,339 
walkpos 189,338 
walkpos 188,336 
walkpos 187,334 
walkpos 185,333 
walkpos 183,332 
walkpos 181,331 
walkpos 180,329 
walkpos 181,327 
walkpos 182,325 
walkpos 182,324 
walkpos 182,323 
return

label 188297
delay 200
walkpos 188,299 
walkpos 189,301 
walkpos 190,303 
walkpos 191,305 
walkpos 192,307 
walkpos 194,309 
walkpos 196,311 
walkpos 194,313 
walkpos 193,316 
walkpos 193,318 
walkpos 192,319 
walkpos 191,320 
walkpos 190,321 
walkpos 189,322 
walkpos 188,323 
walkpos 187,324 
walkpos 186,324 
walkpos 185,324 
walkpos 184,324 
walkpos 183,324 
walkpos 182,324 
walkpos 182,323 
return

label 169311
delay 200
walkpos 171,311 
walkpos 173,311 
walkpos 173,314 
walkpos 172,315 
walkpos 172,317 
walkpos 172,319 
walkpos 172,321 
walkpos 172,323 
walkpos 173,324 
walkpos 174,324 
walkpos 175,324 
walkpos 176,324 
walkpos 177,324 
walkpos 178,324 
walkpos 179,324 
walkpos 180,324 
walkpos 181,324 
walkpos 182,324 
walkpos 182,323 
return

label 195342
delay 200
walkpos 193,341 
walkpos 191,339 
walkpos 190,337 
walkpos 189,335 
walkpos 187,334 
walkpos 185,332 
walkpos 184,330 
walkpos 183,328 
walkpos 182,326 
walkpos 182,325 
walkpos 182,324 
walkpos 182,323 
return

label 210316
delay 200
walkpos 208,316 
walkpos 206,316 
walkpos 204,316 
walkpos 202,316 
walkpos 200,316 
walkpos 198,316 
walkpos 196,316 
walkpos 194,316 
walkpos 193,317 
walkpos 192,318 
walkpos 191,319 
walkpos 190,320 
walkpos 189,321 
walkpos 189,322 
walkpos 188,323 
walkpos 187,324 
walkpos 186,325 
walkpos 185,325 
walkpos 184,325 
walkpos 183,325 
walkpos 182,325 
walkpos 182,324 
walkpos 182,323 
return

label 215363
delay 200
walkpos 213,363 
walkpos 211,363 
walkpos 209,363 
walkpos 207,363 
walkpos 205,363 
walkpos 202,363 
walkpos 199,363 
walkpos 198,361 
walkpos 198,358 
walkpos 198,355 
walkpos 198,352 
walkpos 198,349 
walkpos 196,347 
walkpos 195,344 
walkpos 194,342 
walkpos 193,340 
walkpos 191,338 
walkpos 189,336 
walkpos 187,334 
walkpos 186,332 
walkpos 185,330 
walkpos 183,329 
walkpos 182,327 
walkpos 182,326 
walkpos 182,325 
walkpos 182,324 
walkpos 182,323 
return


label 拿贝壳
log 1
waitmap 2000,5,-1
waitpos 89,51,-2
delay 200
walkpos 88,51 
walkpos 86,51 
walkpos 84,51 
walkpos 82,52 
walkpos 80,53 
walkpos 78,54 
walkpos 76,54 
walkpos 74,54 
walkpos 73,55 
walkpos 72,56 
walkpos 71,57 
walkpos 70,58 
walkpos 69,59 
walkpos 68,60 
walkpos 67,61 
walkpos 66,62 
walkpos 65,63 
walkpos 64,64 
walkpos 63,65 
walkpos 62,66 
walkpos 61,67 
walkpos 60,68 
walkpos 59,69 
walkpos 58,70 
walkpos 58,72 
walkpos 58,74 
walkpos 58,76 
walkpos 58,78 
walkpos 58,80 
walkpos 58,82 
walkpos 58,84 
walkpos 58,86 
walkpos 57,87 
walkpos 56,88 
walkpos 56,90 
walkpos 56,92 
walkpos 56,93 
walkpos 56,94 
walkpos 55,95 
label 贝壳对话
cls
walkpos 54,96 
w 54,96,E 
say 文西全自动贝克任务之拿贝壳环节。
delay 1000
ifsay 1-10,你好啊,贝壳问题
waitdlg ?,0,5,拿贝壳
check 对话,1,=,是不是不太可能,取消重新拿
check 对话,1,=,有点事情想拜托,+1
button 确定
delay 1000
ifitem ?,=,不可思议的贝壳,+2
goto 拿贝壳
moveitem 不可思议的贝壳,15
return
label 取消重新拿
button 确定
waitdlg 我知道了,1,5,拿贝壳
button OK
goto 贝壳对话

label 贝壳问题
log 1
delay 2000
waitpos 89,51,-2
delay 200
walkpos 88,51 
walkpos 88,52 
walkpos 88,53 
walkpos 88,54 
w 88,54,C 
say 文西脚本buy
waitdlg 少女,1,5,贝壳问题
buy 飞行至萨,1
waititem ?,飞行至萨,5,贝壳问题
useitem 飞行至萨
waitmap 1000,5,贝壳问题
delay 200
walkpos 90,99 
walkpos 88,99 
walkpos 86,99 
walkpos 84,99 
walkpos 83,100 
walkpos 83,101 
walkpos 83,102 
walkpos 83,103 
walkpos 83,104 
walkpos 82,105 
walkpos 81,106 
walkpos 80,107 
walkpos 79,108 
walkpos 78,109 
walkpos 77,110 
walkpos 76,111 
walkpos 76,112 
walkpos 76,113 
walkpos 75,113 
walkpos 74,113 
walkpos 73,113 
walkpos 72,113 
walkpos 71,113 
walkpos 70,113 
walkpos 69,113 
walkpos 68,113 
walkpos 67,113 
walkpos 66,113 
walkpos 65,113 
walkpos 64,113 
walkpos 63,113 
walkpos 62,113 
walkpos 61,115 
walkpos 60,116 
walkpos 59,117 
walkpos 58,118 
walkpos 58,119 
walkpos 58,120 
walkpos 58,121 
walkpos 58,122 
label 贝壳对话1
walkpos 58,123 
w 58,123,F 
say 文西脚本
waitdlg ?,0,5,贝壳问题
button 确定
waitdlg ?,0,5,贝壳问题
button OK
delay 200
goto 开头

label .log.
label .err.
label .end.
set 断线重登,1
set 自动登陆,1
goto 开头

