' --------------------------------------------------------
'┆脚本引擎:【Assa寂o星】制作逃走的呼拨拨任务脚本        ┆
' --------------------------------------------------------

label 出发
set 等待时间,10

call 渔村飞多多

label 任务
label 继续任务

useitem 太阳神的首饰

walkpos 47,59 
walkpos 47,58 
walkpos 47,57 
walkpos 47,56 
walkpos 48,56 
walkpos 49,56 
walkpos 50,56 
walkpos 50,55 
walkpos 50,54 
walkpos 50,53 
walkpos 50,52 
walkpos 50,51 
walkpos 50,50 
walkpos 50,49 
walkpos 50,48 
walkpos 50,47 
walkpos 50,46 
walkpos 50,45 
walkpos 51,45 
walkpos 52,45 
walkpos 52,46 
walkpos 52,47 
walkpos 53,48 
walkpos 54,49 
walkpos 55,50 
walkpos 56,51 
walkpos 57,52 
walkpos 58,52 
walkpos 59,52 
walkpos 60,52 
walkpos 61,52 
walkpos 62,52 
walkpos 63,52 
walkpos 64,52 
walkpos 65,52 
walkpos 66,52 
walkpos 67,52 
walkpos 68,52 
walkpos 69,52 
walkpos 70,52 
walkpos 71,52 
walkpos 72,52 
walkpos 72,53 
walkpos 72,54 
walkpos 72,55 
walkpos 72,56 
walkpos 73,56 
walkpos 74,56 
walkpos 75,56 
walkpos 76,56 
walkpos 77,56 
walkpos 77,57 
walkpos 77,58 
walkpos 77,59 
walkpos 77,60 
walkpos 77,61 
walkpos 78,61 
walkpos 79,61 
walkpos 80,61 
walkpos 81,61 
walkpos 82,61 
walkpos 83,61 
walkpos 84,61 
walkpos 84,60 
walkpos 84,59 
walkpos 84,58
walkpos 85,58
walkpos 85,57
walkpos 85,56
walkpos 85,55
label 拿克萨拉奇的竖琴
walkpos 85,54
delay 500
EO
delay 800
check 座标,!=,85,54,-4
W 0,0,A
say 果实鸡尾酒
delay 2000
wait 对话,0,?,拿克萨拉奇的竖琴
check 对话,?,=,咦？你好像拿着我的竖琴,已拿竖琴
wait 对话,1,哈哈哈！真是干得好啊！,拿克萨拉奇的竖琴
button 确定
wait 对话,1,好吧！把我这把竖琴拿到悬崖边弹弹看吧！,拿克萨拉奇的竖琴
button OK
delay 2000
label 已拿竖琴

check 道具,克萨拉奇的竖琴,>,0,打呼拔拔
goto 拿克萨拉奇的竖琴

label 打呼拔拔
walkpos 85,55
walkpos 85,56
walkpos 85,57
walkpos 85,58
walkpos 84,58
walkpos 83,58
walkpos 82,58
walkpos 81,58
walkpos 80,58
walkpos 79,58
walkpos 78,58
walkpos 77,58
walkpos 77,57
walkpos 77,56
walkpos 76,56
walkpos 75,56
walkpos 74,56
walkpos 73,56
walkpos 72,56
walkpos 71,56
walkpos 71,55
walkpos 71,54
walkpos 71,53
walkpos 71,52
walkpos 70,52
walkpos 69,52
walkpos 68,52
walkpos 67,52
walkpos 66,52
walkpos 65,52
walkpos 64,52
walkpos 63,52
walkpos 62,52
walkpos 61,52
walkpos 60,52
walkpos 59,52
walkpos 59,51
walkpos 59,50
walkpos 59,49
walkpos 59,48
walkpos 59,47
walkpos 59,46
walkpos 59,45
walkpos 59,44
walkpos 59,43
walkpos 59,42
walkpos 59,41
delay 500
EO
delay 800
check 座标,!=,59,41,-4
walkpos 59,40,200
waitmap 200,5,-6
useitem 太阳神的首饰
walkpos 542,489
walkpos 543,489
walkpos 544,489
walkpos 545,489
walkpos 546,489
walkpos 547,489
walkpos 548,489
walkpos 549,489
walkpos 550,489
walkpos 551,489
walkpos 552,489
walkpos 553,489
walkpos 554,489
walkpos 555,489
walkpos 556,489
walkpos 557,489
walkpos 558,489
walkpos 559,489
walkpos 560,489
walkpos 561,489
walkpos 562,489
walkpos 563,489
walkpos 564,489
walkpos 565,488
walkpos 566,487
walkpos 567,486
walkpos 568,486
walkpos 569,486
walkpos 570,486
walkpos 571,485
walkpos 572,484
walkpos 573,483
walkpos 574,483
walkpos 575,483
walkpos 576,483
walkpos 577,483
walkpos 578,483
walkpos 579,483
walkpos 580,483
walkpos 581,483
walkpos 582,483
walkpos 583,483
walkpos 584,483
walkpos 585,483
walkpos 586,483
walkpos 587,483
walkpos 588,483
walkpos 589,483
walkpos 589,484
walkpos 589,485
walkpos 589,486
walkpos 589,487
walkpos 589,488
walkpos 589,489
walkpos 589,490
walkpos 589,491
walkpos 589,492
walkpos 589,493
walkpos 589,494
walkpos 589,495
walkpos 589,496
walkpos 589,497
walkpos 589,498
walkpos 589,499
walkpos 589,500
walkpos 588,501
walkpos 587,502
walkpos 586,503
walkpos 585,504
walkpos 584,505
walkpos 583,506
walkpos 583,507
walkpos 583,508
walkpos 583,509
walkpos 583,510
walkpos 582,511
walkpos 581,512
walkpos 580,513
walkpos 579,514
walkpos 578,515
walkpos 577,516
walkpos 576,517
walkpos 575,518
walkpos 574,519
walkpos 574,520
walkpos 574,521
walkpos 574,522
walkpos 574,523
walkpos 574,524
walkpos 574,525
walkpos 574,526
walkpos 574,527
walkpos 574,528
walkpos 574,529
walkpos 574,530
walkpos 574,531
walkpos 574,532
walkpos 574,533
walkpos 574,534
walkpos 574,535
walkpos 574,536
walkpos 574,537
walkpos 574,538
walkpos 574,539
walkpos 574,540
walkpos 574,541
walkpos 573,542
walkpos 572,543
walkpos 571,544
walkpos 570,545
walkpos 569,546
walkpos 568,547
walkpos 567,548
walkpos 566,549
walkpos 565,550
walkpos 565,551
walkpos 565,552
walkpos 565,553
walkpos 565,554
walkpos 565,555
walkpos 565,556
walkpos 565,557
walkpos 565,558
walkpos 565,559
walkpos 565,560
walkpos 565,561
walkpos 565,562
walkpos 565,563
walkpos 565,564
walkpos 565,565
walkpos 565,566
walkpos 565,567
walkpos 565,568
walkpos 565,569
walkpos 565,570
walkpos 565,571
walkpos 565,572
walkpos 565,573
walkpos 565,574
walkpos 565,575
walkpos 565,576
walkpos 565,577
walkpos 565,578
walkpos 565,579
walkpos 566,580
walkpos 566,581
walkpos 566,582
walkpos 566,583
walkpos 566,584
walkpos 566,585
walkpos 566,586
walkpos 566,587
walkpos 566,588
walkpos 566,589
walkpos 566,590
walkpos 566,591
walkpos 566,592
walkpos 567,593
walkpos 568,594
walkpos 569,595
walkpos 570,596
walkpos 571,597
walkpos 572,598
walkpos 573,599
walkpos 574,600
walkpos 575,601
walkpos 576,602
walkpos 577,602
walkpos 577,603
walkpos 578,604
walkpos 579,605
walkpos 580,606
walkpos 581,607
walkpos 582,608
walkpos 583,609
walkpos 584,610
walkpos 585,611
walkpos 586,612
walkpos 587,613
walkpos 588,614
walkpos 589,615
walkpos 590,616
walkpos 591,616
walkpos 592,616
walkpos 593,616
walkpos 594,616
walkpos 595,617
walkpos 596,618
walkpos 597,619
walkpos 598,620
walkpos 599,621
walkpos 600,622
walkpos 601,623
walkpos 602,624
walkpos 603,625
walkpos 604,626
walkpos 605,627
walkpos 606,628
walkpos 607,629
walkpos 608,630
walkpos 609,631
walkpos 610,632
walkpos 611,633
walkpos 612,634
walkpos 613,635
walkpos 614,636
walkpos 615,637
walkpos 616,638
walkpos 617,639
walkpos 618,640
walkpos 619,641
walkpos 620,642
walkpos 621,643
walkpos 622,643
walkpos 623,643
walkpos 624,643
walkpos 625,643
walkpos 626,643
walkpos 627,643
walkpos 628,643
walkpos 629,643
walkpos 630,644
walkpos 631,645
walkpos 632,646
walkpos 633,647
walkpos 634,648
walkpos 635,649
walkpos 636,650
walkpos 637,651
walkpos 638,652
walkpos 639,653
walkpos 640,654
walkpos 641,655
walkpos 642,656
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,642,656,-6

run 共用\丢弃不要的东西.ASC
call 下太阳
call 下月亮

set 锁定攻击,逃走呼拔拔
W 0,0,C
set 快速战斗,1
set 自动逃跑,0
set 快速遇敌,1
delay 3000
check 道具,逃走呼拔拔的骨,>=,10,+2
goto -2
set 自动逃跑,1
set 快速遇敌,0
set 锁定攻击,0
delay 100
check 人物,战斗,!=,0,-1

useitem 太阳神的首饰
delay 1000
doffitem 克萨拉奇的竖琴
check 道具,克萨拉奇的竖琴,>=,1,-2

label 去乌鲁力村

call 渔村飞乌鲁力

walkpos 68,51 
walkpos 67,51 
walkpos 66,51 
walkpos 65,51 
walkpos 64,51 
walkpos 63,51 
walkpos 62,51 
walkpos 61,51 
walkpos 60,51 
walkpos 59,51 
walkpos 59,50 
walkpos 59,49 
walkpos 59,48 
walkpos 59,47 
walkpos 59,46 
delay 800
EO
delay 500
check 座标,!=,59,46,-4
walkpos 59,45
waitmap 3305,10,-6 '乌鲁力的医院 

label 拿麻痹解药
walkpos 12,15
delay 800
EO
delay 500
check 座标,!=,12,15,-4
cls
W 0,0,A
say ☆小石头★制作最新版Assa1.82任务连作脚本！请在论坛小明脚本里面下载！,4
delay 2000
wait 对话,1,喂喂！听说可以用这个做成特效药啊？,拿麻痹解药
button 确定
wait 对话,1,嗯嗯…只要这样的量就够了！
button OK
delay 2000
check 道具,麻痹解药,>=,1,拿阿萨鸣子
goto 拿麻痹解药

label 拿阿萨鸣子
walkpos 15,15
delay 800
EO
delay 500
check 座标,!=,15,15,-4

cls
W 0,0,A
say ☆小石头★制作最新版Assa1.82任务连作脚本！请在论坛小明脚本里面下载！,5
delay 2000
wait 对话,0,?,拿阿萨鸣子
check 对话,?,=,在来这里的途中,+7
wait 对话,1,这个…不就是专治麻痹蜘蛛的特效药吗？,有麻痹解药
button 确定
wait 对话,1,啊…真是亲切的人啊！,拿阿萨鸣子
button OK
delay 2000
check 道具,阿萨Lv3鸣子,=,0,拿阿萨鸣子

delay 1000
doffitem 麻痹解药
check 道具,麻痹解药,!=,0,-2
delay 1000
doffitem 阿萨Lv3鸣子
check 道具,阿萨Lv3鸣子,!=,0,-2

'---------------------------------------------------------
label 解过任务了
label 已解过任务
end

'---------------------------------------------------------

label .err.
goto 出发
'---------------------------------------------------------
label .log.
set 快速遇敌,0
delay 2000
wait对话,0,?,-1
button OK

goto 出发


'---------------------------------------------------------
label 渔村飞乌鲁力
set 自动逃跑,1
set 快速遇敌,0
set 快速战斗,1
set 自动KNPC,1
delay 200
check 人物,战斗,!=,0,-1
log 1
waitmap 2000,5,-1
ifstone <=,50000,+2
goto +2
load 50000

walkpos 89,51 
walkpos 86,54 
walkpos 87,54 
walkpos 88,54 
delay 500
eo
delay 800
ifpos 88,54,+2
goto -7

w 88,54,C 
say buy 
wait 对话,0,?,5,渔村飞乌鲁力
check 对话,?,=,只要使用,+2
goto 渔村飞乌鲁力

buy 飞行至乌鲁力,1
waititem ?,飞行至乌鲁力,5,渔村飞乌鲁力
useitem 飞行至乌鲁力
waitmap 3300,5,渔村飞乌鲁力
return
'---------------------------------------------------------

'---------------------------------------------------------
label 渔村飞多多
set 自动逃跑,1
set 快速遇敌,0
set 快速战斗,1
set 自动KNPC,1
delay 200
check 人物,战斗,!=,0,-1
log 1
waitmap 2000,5,-1
ifstone <=,50000,+2
goto +2
load 50000

walkpos 89,51 
walkpos 86,54 
walkpos 87,54 
walkpos 88,54 
delay 500
eo
delay 800
ifpos 88,54,+2
goto -7

w 88,54,C 
say buy 
wait 对话,0,?,5,渔村飞多多
check 对话,?,=,只要使用,+2
goto 渔村飞多多

buy 飞行至多多,1
waititem ?,飞行至多多,5,渔村飞多多
useitem 飞行至多多
waitmap 3200,5,渔村飞多多
return
'---------------------------------------------------------

'---------------------------------------------------------
label 下太阳
check 道具,104,=,太阳神的首饰,卸下104
check 道具,105,=,太阳神的首饰,卸下105
return

label 卸下104
moveitem 104,0
return

label 卸下105
moveitem 105,0
return
'---------------------------------------------------------

'---------------------------------------------------------
label 下月亮
check 道具,104,=,月亮首饰,卸下104
check 道具,105,=,月亮首饰,卸下105
return

label 卸下104
moveitem 104,0
return

label 卸下105
moveitem 105,0
return
'---------------------------------------------------------