
set 等待时间,6
nearpos

'地图(8122)黄泉之境
wait 地图,8122
walkpos 94,95
walkpos 94,91
check 座标,!=,94,91,-3     '

W 0,0,北
run \99.【公用脚本】\卸下月亮.ASC
set 自动逃跑,0
set 快速遇敌,1
delay 1000
check 道具,鬼卒掉落的钥匙,>=,4,+2
goto -2
set 自动逃跑,1
set 快速遇敌,0

delay 1000
check 人物,战斗,!=,0,-3
useitem 月亮首饰

walkpos 94,90
walkpos 94,89
walkpos 94,88
walkpos 93,88
walkpos 92,88
walkpos 91,88
walkpos 90,88
walkpos 90,87
walkpos 90,86
walkpos 90,85
walkpos 90,84
walkpos 90,83
walkpos 90,82
walkpos 90,81
walkpos 90,80
walkpos 90,79
walkpos 91,79
walkpos 92,79
walkpos 93,79
walkpos 93,78
walkpos 93,77
walkpos 93,76
walkpos 93,75
walkpos 93,74
walkpos 93,73
walkpos 92,73
walkpos 91,73
walkpos 90,73
walkpos 89,73
walkpos 88,73
walkpos 87,73
walkpos 86,73
walkpos 85,73
walkpos 84,73
walkpos 83,73
walkpos 82,73
walkpos 82,74
walkpos 82,75
walkpos 82,76
walkpos 82,77
walkpos 83,77
walkpos 84,77
walkpos 85,77
walkpos 86,77
walkpos 86,78
walkpos 86,79
walkpos 86,80
walkpos 86,81
walkpos 86,82
walkpos 86,83
walkpos 86,84
walkpos 86,85
walkpos 85,85
walkpos 84,85
walkpos 83,85
walkpos 82,85
walkpos 82,84
walkpos 82,83
walkpos 82,82
walkpos 82,81
walkpos 81,81
walkpos 80,81
walkpos 79,81
walkpos 78,81
walkpos 78,82
walkpos 78,83
walkpos 78,84
walkpos 78,85
walkpos 78,86
walkpos 78,87
walkpos 78,88
walkpos 77,88
walkpos 76,88
walkpos 75,88
walkpos 74,88
walkpos 74,87
walkpos 74,86
walkpos 74,85
walkpos 74,84
walkpos 74,83
walkpos 74,82
walkpos 74,81
walkpos 74,80
walkpos 74,79
walkpos 74,78
walkpos 74,77
walkpos 74,76
walkpos 74,75
label 重走
walkpos 78,75
walkpos 78,74
walkpos 78,73
walkpos 78,72
walkpos 78,71
walkpos 78,70
walkpos 78,69
walkpos 78,68
walkpos 78,67
walkpos 78,66
walkpos 78,65
walkpos 78,64
walkpos 78,63
walkpos 78,62
walkpos 78,61
walkpos 78,60
walkpos 78,59
walkpos 77,59
walkpos 76,59
walkpos 75,59
walkpos 74,59
walkpos 74,60
walkpos 74,61
walkpos 74,62
walkpos 74,63
walkpos 74,64
walkpos 74,65
walkpos 74,66
walkpos 74,67
walkpos 74,68
walkpos 74,69
walkpos 73,69
walkpos 72,69
walkpos 71,69
walkpos 70,69
walkpos 69,69
walkpos 68,69
walkpos 67,69
walkpos 66,69
walkpos 65,69
walkpos 65,68
walkpos 65,67
walkpos 65,66
walkpos 65,64
walkpos 65,63
walkpos 65,62
walkpos 65,66
walkpos 65,65
walkpos 65,64
walkpos 65,63
walkpos 65,62
walkpos 65,61
walkpos 65,60
walkpos 65,59
walkpos 65,58
walkpos 65,57
walkpos 65,56
walkpos 65,55
walkpos 65,54
walkpos 65,53
walkpos 65,52
walkpos 65,51
walkpos 66,51
walkpos 67,51
walkpos 68,51
walkpos 69,51
walkpos 70,51
walkpos 71,51
walkpos 72,51
walkpos 72,50
walkpos 72,49
walkpos 72,48
walkpos 72,47
walkpos 72,46
walkpos 72,45
walkpos 72,44
walkpos 72,43
walkpos 72,42
walkpos 72,41
walkpos 72,40
walkpos 72,39
walkpos 72,38
walkpos 72,37
walkpos 72,36
walkpos 72,35
walkpos 72,34
walkpos 72,33
walkpos 72,32
walkpos 72,31
walkpos 72,30
walkpos 72,29
walkpos 72,28
walkpos 72,27
walkpos 72,26
walkpos 72,25
walkpos 72,24
walkpos 72,23
walkpos 73,23
walkpos 74,23
walkpos 75,23
walkpos 76,23
walkpos 77,23
walkpos 78,23
walkpos 79,23
walkpos 80,23
walkpos 81,23
walkpos 82,23
walkpos 83,23
walkpos 84,23
walkpos 85,23
walkpos 86,23
walkpos 87,23
walkpos 88,23
walkpos 89,23
walkpos 90,23
walkpos 91,23
walkpos 92,23
walkpos 93,23
walkpos 93,22
walkpos 93,21
walkpos 93,20
walkpos 93,19
walkpos 93,18
walkpos 94,18
walkpos 95,18
walkpos 96,18
walkpos 97,18
walkpos 97,17
walkpos 97,16
walkpos 97,15
walkpos 97,14
walkpos 97,13
walkpos 97,12
walkpos 97,11
walkpos 97,10
walkpos 97,9
walkpos 97,8
walkpos 97,7
walkpos 97,6
walkpos 97,5
walkpos 97,4
walkpos 97,3
walkpos 97,2
walkpos 96,2
walkpos 95,2
walkpos 94,2
walkpos 93,2
walkpos 92,2
walkpos 91,2
walkpos 91,3
walkpos 91,4
walkpos 91,5
walkpos 91,6
walkpos 91,7
walkpos 91,8
walkpos 91,9
walkpos 91,10
walkpos 91,11
walkpos 91,12
walkpos 91,13
walkpos 91,14
walkpos 90,14
walkpos 89,14
walkpos 88,14
walkpos 87,14
walkpos 86,14
walkpos 85,14
walkpos 84,14
walkpos 83,14
walkpos 82,14
walkpos 82,13

label 第一个黄泉大鬼
walkpos 82,12
walkpos 82,11
check 座标,!=,82,11,-3     '

set 自动逃跑,0
W 0,0,北
say hi
delay 1000
wait 对话,?,不可扰乱生与死的戒律。,第一个黄泉大鬼
button 确定
delay 3000
check 人物,战斗,!=,0,-1

check 人物,地图,!=,8123,第一个黄泉大鬼

'地图(8123)黄泉之境
wait 地图,8123
set 自动逃跑,1
walkpos 87,11
walkpos 87,10
EO
delay 1000
check 座标,!=,87,10,-3     '2
W 0,0,东北
call 窃贼亚曼塔

delay 1000
check 道具,家书,>=,1,回冰城完成任务
walkpos 87,11
EO
delay 1000
check 座标,!=,87,11,-3     '2
walkpos 78,75
walkpos 78,74
walkpos 78,73
walkpos 78,72
walkpos 78,71
walkpos 78,70
walkpos 78,69
walkpos 78,68
walkpos 78,67
walkpos 78,66
walkpos 78,65
walkpos 78,64
walkpos 78,63
walkpos 78,62
walkpos 78,61
walkpos 78,60
walkpos 78,59
walkpos 77,59
walkpos 76,59
walkpos 75,59
walkpos 74,59
walkpos 74,60
walkpos 74,61
walkpos 74,62
walkpos 74,63
walkpos 74,64
walkpos 74,65
walkpos 74,66
walkpos 74,67
walkpos 74,68
walkpos 74,69
walkpos 73,69
walkpos 72,69
walkpos 71,69
walkpos 70,69
walkpos 69,69
walkpos 68,69
walkpos 67,69
walkpos 66,69
walkpos 65,69
walkpos 65,68
walkpos 65,67
walkpos 65,66
walkpos 65,64
walkpos 65,63
walkpos 65,62
walkpos 65,66
walkpos 65,65
walkpos 65,64
walkpos 65,63
walkpos 65,62
walkpos 65,61
walkpos 65,60
walkpos 65,59
walkpos 65,58
walkpos 65,57
walkpos 65,56
walkpos 65,55
walkpos 65,54
walkpos 65,53
walkpos 65,52
walkpos 65,51
walkpos 66,51
walkpos 67,51
walkpos 68,51
walkpos 69,51
walkpos 70,51
walkpos 71,51
walkpos 72,51
walkpos 72,50
walkpos 72,49
walkpos 72,48
walkpos 72,47
walkpos 72,46
walkpos 72,45
walkpos 72,44
walkpos 72,43
walkpos 72,42
walkpos 72,41
walkpos 72,40
walkpos 72,39
walkpos 72,38
walkpos 72,37
walkpos 72,36
walkpos 72,35
walkpos 72,34
walkpos 72,33
walkpos 72,32
walkpos 72,31
walkpos 72,30
walkpos 72,29
walkpos 72,28
walkpos 72,27
walkpos 72,26
walkpos 72,25
walkpos 72,24
walkpos 72,23
walkpos 73,23
walkpos 74,23
walkpos 75,23
walkpos 76,23
walkpos 77,23
walkpos 78,23
walkpos 79,23
walkpos 80,23
walkpos 81,23
walkpos 82,23
walkpos 83,23
walkpos 84,23
walkpos 85,23
walkpos 86,23
walkpos 87,23
walkpos 88,23
walkpos 89,23
walkpos 90,23
walkpos 91,23
walkpos 92,23
walkpos 93,23
walkpos 93,22
walkpos 93,21
walkpos 93,20
walkpos 93,19
walkpos 93,18
walkpos 94,18
walkpos 95,18
walkpos 96,18
walkpos 97,18
walkpos 97,17
walkpos 97,16
walkpos 97,15
walkpos 97,14
walkpos 97,13
walkpos 97,12
walkpos 97,11
walkpos 97,10
walkpos 97,9
walkpos 97,8
walkpos 97,7
walkpos 97,6
walkpos 97,5
walkpos 97,4
walkpos 97,3
walkpos 97,2
walkpos 96,2
walkpos 95,2
walkpos 94,2
walkpos 93,2
walkpos 92,2
walkpos 91,2
walkpos 91,3
walkpos 91,4
walkpos 91,5
walkpos 91,6
walkpos 91,7
walkpos 91,8
walkpos 91,9
walkpos 91,10
walkpos 91,11
walkpos 91,12
walkpos 91,13
walkpos 91,14
walkpos 90,14
walkpos 89,14
walkpos 88,14
walkpos 87,14
walkpos 86,14
walkpos 85,14
walkpos 84,14
walkpos 83,14
walkpos 82,14
walkpos 82,13
walkpos 82,12

label 第二个黄泉大鬼
walkpos 68,11
walkpos 68,10
check 座标,!=,68,10,-3     '

set 自动逃跑,0
W 0,0,北
say hi
wait 对话,?,不可扰乱生与死的戒律。,第二个黄泉大鬼
button 确定
delay 3000
check 人物,战斗,!=,0,-1
check 人物,地图,!=,8123,第二个黄泉大鬼

'地图(8123)黄泉之境
wait 地图,8123
set 自动逃跑,1
walkpos 68,10
walkpos 69,10
EO
delay 1000
check 座标,!=,69,10,-3     '2
W 0,0,北
call 窃贼亚曼塔

delay 1000
check 道具,家书,>=,1,回冰城完成任务
walkpos 68,10
EO
delay 1000
check 座标,!=,68,10,-3     '2
lclick 350,260
delay 3000
check 人物,战斗,!=,0,-1
check 人物,地图,!=,8122,-4     '3

'地图(8122)黄泉之境
wait 地图,8122
walkpos 68,14
walkpos 68,18
walkpos 68,23
walkpos 64,23
walkpos 60,23
walkpos 56,23
walkpos 56,27
walkpos 56,31
walkpos 56,35
walkpos 56,39
walkpos 56,43
walkpos 61,43
walkpos 61,39
walkpos 61,35
walkpos 61,30
walkpos 66,30
walkpos 66,34
walkpos 66,38
walkpos 66,42
walkpos 66,47
walkpos 60,47
walkpos 60,51
walkpos 60,55
walkpos 60,59
walkpos 60,63
walkpos 60,66
walkpos 56,66
walkpos 56,69
walkpos 52,69
walkpos 48,69
walkpos 43,69
walkpos 43,73
walkpos 43,77
walkpos 43,80
walkpos 47,80
walkpos 51,80
walkpos 56,80
walkpos 56,74
walkpos 60,74
walkpos 65,74
walkpos 65,69
walkpos 69,69
walkpos 74,69
walkpos 74,65
walkpos 74,59
walkpos 78,59
walkpos 78,63
walkpos 78,67
walkpos 78,71
walkpos 78,75
walkpos 74,75
walkpos 69,75
walkpos 69,79
walkpos 65,79
walkpos 61,79
walkpos 61,84
walkpos 57,84
walkpos 55,84
walkpos 55,86
walkpos 51,86
walkpos 47,86
walkpos 42,86
walkpos 42,90
walkpos 42,96
walkpos 38,96
walkpos 34,96
walkpos 30,96
walkpos 26,96
walkpos 21,96
walkpos 21,92
walkpos 21,86
walkpos 26,86
walkpos 26,92
walkpos 32,92
walkpos 32,88
walkpos 32,84
walkpos 32,79
walkpos 36,79
walkpos 36,75
walkpos 36,71
walkpos 36,66
walkpos 38,66
walkpos 38,60
walkpos 34,60
walkpos 31,60
walkpos 31,55
walkpos 28,55
walkpos 28,50
walkpos 32,50
walkpos 36,50
walkpos 42,50
walkpos 42,44
walkpos 38,44
walkpos 34,44
walkpos 30,44
walkpos 30,40
walkpos 30,36
walkpos 30,32
walkpos 30,28
walkpos 30,23
walkpos 34,23
walkpos 36,23
walkpos 36,19
walkpos 36,15
walkpos 36,13
label 第三个黄泉大鬼
walkpos 34,13
walkpos 34,12
check 座标,!=,34,12,-3     '

set 自动逃跑,0
W 0,0,北
say hi
delay 1000
wait 对话,?,不可扰乱生与死的戒律。,第三个黄泉大鬼
button 确定
delay 3000
check 人物,战斗,!=,0,-1
check 人物,地图,!=,8123,第三个黄泉大鬼

'地图(8123)黄泉之境
wait 地图,8123
set 自动逃跑,1
walkpos 36,11
walkpos 35,11
walkpos 35,10
EO
delay 1000
check 座标,!=,35,10,-3     '2
W 0,0,东北
call 窃贼亚曼塔

delay 1000
check 道具,家书,>=,1,回冰城完成任务
walkpos 35,11
walkpos 36,11
EO
delay 1000
check 座标,!=,36,11,-3     '2
lclick 349,261
delay 3000
check 人物,战斗,!=,0,-1
check 人物,地图,!=,8122,-4     '3

'地图(8122)黄泉之境
wait 地图,8122
walkpos 36,12
walkpos 36,16
walkpos 36,20
walkpos 36,23
walkpos 32,23
walkpos 30,23
walkpos 30,27
walkpos 30,31
walkpos 30,35
walkpos 30,39
walkpos 30,44
walkpos 34,44
walkpos 38,44
walkpos 42,44
walkpos 42,50
walkpos 38,50
walkpos 34,50
walkpos 30,50
walkpos 28,50
walkpos 28,55
walkpos 24,55
walkpos 20,55
walkpos 16,55
walkpos 14,55
walkpos 14,51
walkpos 14,47
walkpos 14,43
walkpos 14,39
walkpos 14,37
walkpos 10,37
walkpos 6,37
walkpos 2,37
walkpos 2,32
walkpos 6,32
walkpos 10,32
walkpos 14,32
walkpos 14,28
walkpos 14,24
walkpos 14,19
walkpos 11,19
walkpos 11,15
walkpos 11,11
label 第四个黄泉大鬼
walkpos 12,11
walkpos 12,10
check 座标,!=,12,10,-3     '

set 自动逃跑,0
W 0,0,北
say hi
delay 1000
wait 对话,?,不可扰乱生与死的戒律。,第四个黄泉大鬼
button 确定
delay 3000
check 人物,战斗,!=,0,-1
check 人物,地图,!=,8123,第四个黄泉大鬼

'地图(8123)黄泉之境
walkpos 14,10
set 自动逃跑,1
walkpos 13,10
walkpos 13,9
EO
delay 1000
check 座标,!=,13,9,-3     '2
W 0,0,东北
call 窃贼亚曼塔

delay 1000
check 道具,家书,>=,1,回冰城完成任务
walkpos 13,10
walkpos 14,10
EO
delay 1000
check 座标,!=,14,10,-3     '2
lclick 347,259
delay 3000
check 人物,战斗,!=,0,-1
check 人物,地图,!=,8122,-4     '3

'地图(8122)黄泉之境
wait 地图,8122
walkpos 12,12
check 座标,!=,12,12,-3     '

W 0,0,东
run \99.【公用脚本】\卸下月亮.ASC

set 自动逃跑,0
set 快速遇敌,1
delay 1000
check 道具,鬼卒掉落的钥匙,>=,4,+2
goto -2
set 自动逃跑,1
set 快速遇敌,0

delay 1000
check 人物,战斗,!=,0,-3
useitem 月亮首饰

walkpos 12,12
walkpos 11,12
walkpos 11,16
walkpos 11,19
walkpos 14,19
walkpos 14,23
walkpos 14,27
walkpos 14,32
walkpos 10,32
walkpos 6,32
walkpos 2,32
walkpos 2,37
walkpos 6,37
walkpos 10,37
walkpos 14,37
walkpos 14,41
walkpos 14,45
walkpos 14,49
walkpos 14,53
walkpos 14,55
walkpos 18,55
walkpos 22,55
walkpos 26,55
walkpos 30,55
walkpos 31,55
walkpos 31,60
walkpos 35,60
walkpos 38,60
walkpos 38,64
walkpos 38,66
walkpos 36,66
walkpos 36,70
walkpos 36,74
walkpos 36,79
walkpos 32,79
walkpos 32,83
walkpos 32,87
walkpos 32,92
walkpos 28,92
walkpos 26,92
walkpos 26,88
walkpos 26,86
walkpos 21,86
walkpos 21,90
walkpos 21,94
walkpos 21,96
walkpos 25,96
walkpos 29,96
walkpos 33,96
walkpos 37,96
walkpos 42,96
walkpos 42,92
walkpos 42,88
walkpos 42,86
walkpos 46,86
walkpos 50,86
walkpos 55,86
walkpos 55,84
walkpos 61,84
walkpos 61,79
walkpos 65,79
walkpos 69,79
walkpos 69,75
walkpos 74,75
check 座标,!=,74,75,-3     '

goto 重走

label 窃贼亚曼塔
say hi
delay 1000
wait 对话,?,你是？,+1
check 对话,?,=,你是？,拿家书
return

label 拿家书
button 确定
delay 1000
check 对话,?,=,你带着这封信去找我妻子，她就会交给你了，,+2
check 对话,?,=,但是你离去前想拜托你一件事！,+1
button OK
delay 1000
return

label 回冰城完成任务
msg 请手动回冰城坐标 东40 南86房间内 完成任务
end
