set 自动逃跑,1
set 快速遇敌,0
set 自动捉宠,0
set 快速战斗,1
set 快速行走,1
set 关闭特效,1
set 自动KNPC,1
set 锁定攻击,0
set 等待时间,5
set 锁定战宠,0
set 捉宠名称,贝鲁卡
set 捉宠等级,1

cls
w 0,0,G
delay 200
say 感謝使用電信⒏<◆.婲哭莂制作啲【ＡＳＳＡ内掛-循环抓贝鲁卡脚本】,3
say 最新脚本请在http://www.shiqi.so下载
delay 200
dim @a,@b,@c
dim @d,@e,@f
msg =========【脚本要求，请详细阅读】============||脚本支持人物名称运行，并记录在【加加】．人物名称=“循环”，脚本在抓满后会登回加加寄存！|其他名称一律在脚本在抓满后会弹出对话框来提醒你（不会登回记录点）||如果要骑宠，请锁定骑宠，骑宠名不要为“『贝鲁卡』”即可，不然存宠的时候可能因为是骑宠无法寄存会出错||如果带有猛毒武器(脚本不检测武器精灵)，请自行在抓宠设置里勾上“使用武器精灵使捕抓宠物血量少于XX%”||脚本支持抓特定4围的『贝鲁卡』，详细内容请看【抓宠说明】|如果不指定要抓特定4围的绿虎，脚本会将所有抓到的绿虎都会寄存，不管垃圾与否！||||【指定4围抓贝鲁卡 说明】|如果抓指定4围的『贝鲁卡』，脚本支持只设定其中的一样或几样数值的『贝鲁卡』。|比如：设定血为47，那么低于47(血是47的不丢弃)血的绿虎都会扔掉，不管其他属性有多好|　　　设定血为47，功为11，那么只要满足低于47血、11功的绿虎都会仍掉。以下依次类推

input @a,设定4围请输“1”，低于设置的数值都会扔掉 不设定请点确定，是绿虎都抓和存,选择是否设定4围
if @a,=,,+3
let @f,&,你没有设定『贝鲁卡』的4围，脚本会抓所有的绿虎，不管垃圾与否！
goto 显示
input @b,请输入你要抓的『贝鲁卡』的【4围之血的数值】，低于此数值会仍掉,设定【4围之血的数值】
input @c,请输入你要抓的『贝鲁卡』的【4围之功的数值】，低于此数值会仍掉,设定【4围之功的数值】
input @d,请输入你要抓的『贝鲁卡』的【4围之防的数值】，低于此数值会仍掉,设定【4围之防的数值】
input @e,请输入你要抓的『贝鲁卡』的【4围之敏的数值】，低于此数值会仍掉,设定【4围之敏的数值】

let @f,=,你要抓的『贝鲁卡』的4围是【
if @b,=,,+3
let @f,&,不设定
goto +2
let @f,&,@b
let @f,&,.
if @c,=,,+3
let @f,&,不设定
goto +2
let @f,&,@c
let @f,&,.
if @d,=,,+3
let @f,&,不设定
goto +2
let @f,&,@d
let @f,&,.
if @e,=,,+3
let @f,&,不设定
goto +2
let @f,&,@e
let @f,&,】
label 显示
check 人物,名称,=,循环,+3
let @f,&,|你选择的【不循环抓绿虎】，如果想改成循环，在抓绿虎前都可以重新改过
goto +2
let @f,&,|你选择的【循环抓绿虎】，如果想改成不循环，在抓绿虎前都可以重新改过
let @f,&,|如果没有问题，请点继续
msg @f,1
pause

label 出发
check 宠物,空位,=,0,存宠
nearpos
walkpos 94,97
walkpos 90,97
walkpos 86,97
walkpos 85,98
walkpos 84,99
walkpos 83,100
walkpos 82,101
walkpos 81,102
walkpos 80,103
walkpos 79,104
walkpos 78,105
walkpos 77,106
walkpos 76,107
walkpos 75,108
walkpos 73,110
walkpos 72,111
walkpos 72,111
walkpos 71,112
walkpos 70,113
walkpos 69,114
walkpos 68,115
walkpos 67,116
walkpos 66,117
walkpos 64,119
walkpos 63,119
walkpos 58,119
walkpos 57,119
call 防卡
walkpos 56,119
waitmap 200,-5
walkpos 570,378
walkpos 568,378
walkpos 566,378
walkpos 564,378
walkpos 562,380
walkpos 560,381
walkpos 559,381
walkpos 557,383
walkpos 555,385
walkpos 554,387
walkpos 554,389
walkpos 554,391
walkpos 552,393
walkpos 551,395
walkpos 549,397
walkpos 547,398
walkpos 546,398
walkpos 544,400
walkpos 542,402
walkpos 540,404
walkpos 538,404
walkpos 537,404
walkpos 535,406
walkpos 533,407
walkpos 531,409
walkpos 529,409
walkpos 528,409
walkpos 526,408
walkpos 524,408
walkpos 523,408
walkpos 521,406
walkpos 519,405
walkpos 517,403
walkpos 517,401
walkpos 515,399
walkpos 513,398
walkpos 511,396
walkpos 509,396
walkpos 508,396
walkpos 506,395
walkpos 504,395
walkpos 502,395
walkpos 500,396
walkpos 498,396
walkpos 496,398
walkpos 495,399
walkpos 495,401
walkpos 495,403
walkpos 494,405
walkpos 494,407
walkpos 494,408
walkpos 492,410
walkpos 492,412
walkpos 492,413
walkpos 491,415
walkpos 491,417
walkpos 491,418
walkpos 491,420
walkpos 491,422
walkpos 491,423
walkpos 492,425
walkpos 492,427
walkpos 492,429
walkpos 492,430
walkpos 491,432
walkpos 491,434
walkpos 492,436
walkpos 492,437
walkpos 493,439
walkpos 493,441
walkpos 493,443
walkpos 493,444
walkpos 495,446
walkpos 495,448
walkpos 495,450
walkpos 496,452
walkpos 496,454
walkpos 496,456
walkpos 496,457
walkpos 497,459
walkpos 497,461
walkpos 497,463
walkpos 497,464
walkpos 497,466
walkpos 497,468
walkpos 497,470
walkpos 498,472
walkpos 498,474
walkpos 498,476
walkpos 498,477
walkpos 497,479
walkpos 497,481
walkpos 497,483
walkpos 495,485
walkpos 493,486
walkpos 492,486
walkpos 490,488
walkpos 488,490
walkpos 486,492
walkpos 484,493
walkpos 482,495
walkpos 480,497
walkpos 479,500
walkpos 479,503
walkpos 479,506
set 自动逃跑,0
w 479,506,E
say 让我过克咯！
delay 200
waitdlg ?,0,2,+4
button 确定
delay 1000
iffight !=,0,-1
delay 1000
walkpos 479,508
walkpos 479,509
set 自动逃跑,1
walkpos 481,510
walkpos 481,512
walkpos 481,513
walkpos 482,515
walkpos 482,517
walkpos 482,519
walkpos 482,520
walkpos 484,522
walkpos 485,524
walkpos 485,525
walkpos 487,527
walkpos 488,529
walkpos 488,530
walkpos 490,532
walkpos 490,534
walkpos 490,536
walkpos 491,538
walkpos 491,540
walkpos 491,542
walkpos 493,544
walkpos 493,546
walkpos 493,548
walkpos 495,550
walkpos 497,552
walkpos 499,554
walkpos 500,556
walkpos 500,557
walkpos 502,559
walkpos 504,560
walkpos 505,560
walkpos 507,562
walkpos 509,564
walkpos 511,566
walkpos 512,568
walkpos 512,569
walkpos 514,571
walkpos 516,573
walkpos 516,574
walkpos 518,576
walkpos 519,578
walkpos 519,579
walkpos 520,581
walkpos 520,583
walkpos 520,585
walkpos 521,587
walkpos 521,589
walkpos 521,591
walkpos 521,592
walkpos 523,594
walkpos 524,596
walkpos 524,598
walkpos 522,600
walkpos 521,602
walkpos 521,603
walkpos 522,605
walkpos 522,607
walkpos 522,609
walkpos 522,610
walkpos 520,612
walkpos 520,614
walkpos 520,616
walkpos 520,618
walkpos 520,620
walkpos 520,622
walkpos 521,624
walkpos 521,626
walkpos 521,628
walkpos 522,630
walkpos 522,632
walkpos 522,634
walkpos 522,636
walkpos 522,638
walkpos 522,640
walkpos 521,642
walkpos 521,644
walkpos 521,646
walkpos 519,647
walkpos 517,647
walkpos 515,647
walkpos 514,647
walkpos 512,649
walkpos 510,649
walkpos 508,649
walkpos 506,651
walkpos 504,653
walkpos 505,655
walkpos 505,657
walkpos 505,658
walkpos 506,660
walkpos 506,662
walkpos 506,664
walkpos 507,666
walkpos 507,668
walkpos 507,670
walkpos 508,672
walkpos 508,674
walkpos 508,676
walkpos 510,678
walkpos 510,680
walkpos 510,682
walkpos 510,683
walkpos 510,685
walkpos 510,687
walkpos 510,688
walkpos 509,690
walkpos 509,692
walkpos 509,693
walkpos 508,695
walkpos 508,697
walkpos 508,698
walkpos 506,700
walkpos 506,702
walkpos 506,703
walkpos 504,705
walkpos 502,707
walkpos 500,709
walkpos 499,711
walkpos 497,713
walkpos 496,715
walkpos 495,717
walkpos 495,719
walkpos 495,720
walkpos 493,722
walkpos 493,724
walkpos 493,725
walkpos 492,727
walkpos 492,729
walkpos 492,731
walkpos 492,733
walkpos 492,735
walkpos 492,737
walkpos 494,739
walkpos 494,741
walkpos 494,743
walkpos 493,745
walkpos 493,747
walkpos 493,749
walkpos 492,751
walkpos 492,753
walkpos 492,755
walkpos 491,757
walkpos 491,759
walkpos 491,761
walkpos 489,763
walkpos 489,765
walkpos 489,766
walkpos 487,768
walkpos 485,768
walkpos 483,768
walkpos 481,769
walkpos 479,769
walkpos 477,769
walkpos 475,770
walkpos 473,770
walkpos 471,770
walkpos 470,770
walkpos 468,769
walkpos 466,769
walkpos 464,769
walkpos 463,769
walkpos 461,767
walkpos 459,765
walkpos 458,764
walkpos 456,764
walkpos 454,764
walkpos 452,764
walkpos 451,764
walkpos 449,764
walkpos 447,764
walkpos 445,764
walkpos 444,764
walkpos 442,762
walkpos 440,762
walkpos 438,762
walkpos 436,760
walkpos 434,759
walkpos 432,759
walkpos 430,757
walkpos 428,757
walkpos 426,757
walkpos 424,758
walkpos 422,758
walkpos 420,758
walkpos 418,760
walkpos 416,761
walkpos 415,761
walkpos 413,762
walkpos 411,762
walkpos 409,762
walkpos 408,762
walkpos 406,762
walkpos 404,762
walkpos 402,762
walkpos 401,762
walkpos 399,763
walkpos 397,763
walkpos 395,763
walkpos 394,763
walkpos 392,763
walkpos 390,763
walkpos 388,763
walkpos 387,763
walkpos 385,763
walkpos 381,760 
walkpos 377,760 
walkpos 375,757 
walkpos 372,754 
walkpos 368,754 
walkpos 364,752 
walkpos 361,750 
walkpos 364,746 
walkpos 365,743 
walkpos 367,740 
walkpos 370,735 
walkpos 373,734 
walkpos 372,728 
walkpos 372,724 
walkpos 371,724
walkpos 372,721
walkpos 373,718
walkpos 374,715
walkpos 374,714
walkpos 376,712
walkpos 376,710
walkpos 377,708
walkpos 378,707
walkpos 378,706
walkpos 378,705
walkpos 379,704
walkpos 380,703
walkpos 382,702
walkpos 384,700
walkpos 386,699
walkpos 388,698
walkpos 390,698
walkpos 392,698
walkpos 394,698
walkpos 396,698
walkpos 398,698
walkpos 399,698
walkpos 401,697
walkpos 407,697
walkpos 413,697
walkpos 419,697
walkpos 425,697
walkpos 431,697
walkpos 437,697
walkpos 443,697
walkpos 443,696
walkpos 444,695
walkpos 444,694
walkpos 444,694
walkpos 445,692
walkpos 445,688
walkpos 445,687
walkpos 446,686
walkpos 448,685
walkpos 450,684
walkpos 451,684
walkpos 453,683
walkpos 452,682
walkpos 454,682
walkpos 455,682
walkpos 456,681
walkpos 456,679
walkpos 456,677
walkpos 458,675
walkpos 458,674
walkpos 458,672
walkpos 458,670
walkpos 458,668
walkpos 458,668
walkpos 458,666
walkpos 458,664
walkpos 458,662
walkpos 458,660
walkpos 458,658
walkpos 458,657
walkpos 459,655
walkpos 459,653
walkpos 461,651
walkpos 463,649
walkpos 465,647
walkpos 467,645
walkpos 468,644
walkpos 469,643
walkpos 468,641
walkpos 468,637
label 抓虎
walkpos 471,637
call 防卡
walkpos 471,637
w 471,637,A
if @b,=,,+2
goto +2
set 捉宠血量,@b
set 自动逃跑,0
set 自动捉宠,1
set 快速遇敌,1
delay 1000
ifpet 空位,=,0,+2
goto -2
set 自动逃跑,1
set 自动捉宠,0
set 快速遇敌,0
set 捉宠血量,0
delay 1000
iffight !=,0,-1
delay 1000
call 判断宠物
delay 1000
ifpet 空位,>,0,抓虎
ifpet 空位,=,0,存宠

check 人物,名称,=,循环,+3
msg 已经抓满『贝鲁卡』了
end
goto 回城

label 判断宠物
set 自动逃跑,1
set 自动捉宠,0
set 快速遇敌,0
set 捉宠血量,0
delay 1000
iffight !=,0,-1
delay 1000
print 开始检测『贝鲁卡』的四围ing...

label 检测第一宠
check 宠物1,名称,=,贝鲁卡,+2
goto 检测第二宠
if @b,=,,+2
goto +3
check 宠物1,HP,>=,@b,+2
doffpet 1
if @c,=,,+2
goto +3
check 宠物1,攻击,>=,@c,+2
doffpet 1
if @d,=,,+2
goto +3
check 宠物1,防御,>=,@d,+2
doffpet 1
if @e,=,,+2
goto +3
check 宠物1,敏捷,>=,@e,+2
doffpet 1

label 检测第二宠
print 第一只宠不是『贝鲁卡』
check 宠物2,名称,=,贝鲁卡,+2
goto 检测第三宠
if @b,=,,+2
goto +3
check 宠物2,HP,>=,@b,+2
doffpet 2
if @c,=,,+2
goto +3
check 宠物2,攻击,>=,@c,+2
doffpet 2
if @d,=,,+2
goto +3
check 宠物2,防御,>=,@d,+2
doffpet 2
if @e,=,,+2
goto +3
check 宠物2,敏捷,>=,@e,+2
doffpet 2

label 检测第三宠
print 第二只宠不是『贝鲁卡』
check 宠物3,名称,=,贝鲁卡,+2
goto 检测第四宠
if @b,=,,+2
goto +3
check 宠物3,HP,>=,@b,+2
doffpet 3
if @c,=,,+2
goto +3
check 宠物3,攻击,>=,@c,+2
doffpet 3
if @d,=,,+2
goto +3
check 宠物3,防御,>=,@d,+2
doffpet 3
if @e,=,,+2
goto +3
check 宠物3,敏捷,>=,@e,+2
doffpet 3

label 检测第四宠
print 第三只宠不是『贝鲁卡』
check 宠物4,名称,=,贝鲁卡,+2
goto 检测第五宠
if @b,=,,+2
goto +3
check 宠物4,HP,>=,@b,+2
doffpet 4
if @c,=,,+2
goto +3
check 宠物4,攻击,>=,@c,+2
doffpet 4
if @d,=,,+2
goto +3
check 宠物4,防御,>=,@d,+2
doffpet 4
if @e,=,,+2
goto +3
check 宠物4,敏捷,>=,@e,+2
doffpet 4

label 检测第五宠
print 第四只宠不是『贝鲁卡』
check 宠物5,名称,=,贝鲁卡,+2
goto 检测完毕
if @b,=,,+2
goto +3
check 宠物5,HP,>=,@b,+2
doffpet 5
if @c,=,,+2
goto +3
check 宠物5,攻击,>=,@c,+2
doffpet 5
if @d,=,,+2
goto +3
check 宠物5,防御,>=,@d,+2
doffpet 5
if @e,=,,+2
goto +3
check 宠物5,敏捷,>=,@e,+2
doffpet 5
label 检测完毕
print 第五只宠不是『贝鲁卡』
print 所有的『贝鲁卡』都检测完毕..如果宠物栏满了则回去存宠，没满继续抓
return

label 防卡
delay 500
EO
delay 700
return

label 回城
log 1
wait 地图,3000,-2
w 0,0,G
delay 200
say 感謝使用電信⒏<◆.婲哭莂制作啲【ＡＳＳＡ内掛-循环抓贝鲁卡脚本】,3
say 最新脚本请在http://www.shiqi.so下载
delay 200
return

label 存宠
say 宠物已满，准备回去存宠
call 回城
walkpos 94,97 
walkpos 93,97 
walkpos 92,97 
walkpos 91,97 
walkpos 90,97 
walkpos 89,97 
walkpos 88,97 
walkpos 87,97 
walkpos 86,97 
walkpos 85,97 
walkpos 84,97 
walkpos 83,97 
walkpos 82,97 
walkpos 81,96 
walkpos 80,95 
walkpos 79,94 
walkpos 78,93 
walkpos 77,92
call 防卡
walkpos 77,91 
wait 地图,3003,-3
walkpos 15,20 
walkpos 15,19 
walkpos 15,18 
walkpos 15,17 
walkpos 15,16 
walkpos 15,15 
walkpos 14,15 
walkpos 13,15
walkpos 12,15

label 寄存
call 防卡
delay 500
walkpos 12,15
delay 1000
w 12,15,A
run \99.【公用脚本】\寄放宠物到仓库.ASC

label 存放完毕
call 回城
goto 出发

label 完成
msg 仓库已经放不下，脚本结束！
end
