''---------------------------------------------------------
''起点:『迷宫』座标:231,,13
''目标: 走出迷宫
''---------------------------------------------------------
set 等待时间,10
set 自动逃跑,1
dim @money
label 自动走出迷宫

print 自动走到迷宫出口处
print 0.起点:『迷宫』座标:231  13

check 人物,地图,=,117,走出迷宫_START
print 脚本起点错误!
end

label 走出迷宫_START
nearpos
wait 地图,117,+1
walkpos 231,13
walkpos 231,15
walkpos 234,15
walkpos 234,17
walkpos 234,24
walkpos 240,24
walkpos 246,24
walkpos 252,24
walkpos 252,31
walkpos 252,37
walkpos 252,43
walkpos 252,48
walkpos 258,48
walkpos 258,41
walkpos 258,35
walkpos 258,30
walkpos 264,30
walkpos 264,37
walkpos 264,42
walkpos 270,42
walkpos 270,36
walkpos 277,36
walkpos 283,36
walkpos 289,36
walkpos 289,30
walkpos 289,24
walkpos 289,19
walkpos 289,13
walkpos 289,6
walkpos 282,6
walkpos 276,6
walkpos 276,12
walkpos 276,17
walkpos 276,24
walkpos 270,24
walkpos 270,18
walkpos 270,13
walkpos 270,6
walkpos 264,6
walkpos 258,6
walkpos 252,6
walkpos 246,6
walkpos 246,12
walkpos 252,12
walkpos 257,12
walkpos 264,12
walkpos 264,18
walkpos 257,18
walkpos 251,18
walkpos 245,18
walkpos 240,18
walkpos 240,13
walkpos 240,6
walkpos 234,6
walkpos 228,6
walkpos 221,6
walkpos 215,6
walkpos 209,6
walkpos 204,6
walkpos 204,11
walkpos 204,16
walkpos 204,21
walkpos 204,27
walkpos 198,27
walkpos 198,20
walkpos 198,13
walkpos 198,6
walkpos 191,6
walkpos 184,6
walkpos 177,6
walkpos 171,6
walkpos 165,6
walkpos 160,6
walkpos 156,6
walkpos 156,12
walkpos 156,18
walkpos 162,18
walkpos 162,23
walkpos 162,28
walkpos 162,33
walkpos 162,39
walkpos 162,43
walkpos 162,48
walkpos 156,48
walkpos 149,48
walkpos 143,48
walkpos 138,48
walkpos 138,53
walkpos 138,57
walkpos 132,57
walkpos 126,57
walkpos 120,57
walkpos 120,53
walkpos 120,48
walkpos 114,48
walkpos 114,53
walkpos 114,57
walkpos 114,62
walkpos 114,66
walkpos 108,66
walkpos 108,60
walkpos 108,53
walkpos 108,48
walkpos 101,48
walkpos 93,48
walkpos 88,48
walkpos 84,48
walkpos 84,42
walkpos 84,36
walkpos 78,36
walkpos 78,42
walkpos 72,42
walkpos 60,42
walkpos 55,42
walkpos 51,42
walkpos 51,48
walkpos 44,48
walkpos 37,48
walkpos 30,48
walkpos 30,42
walkpos 36,42
walkpos 41,42
walkpos 45,42
walkpos 45,36
walkpos 38,36
walkpos 32,36
walkpos 26,36
walkpos 22,36
walkpos 22,30
walkpos 28,30
walkpos 33,30
walkpos 36,30
walkpos 36,24
walkpos 29,24
walkpos 22,24
walkpos 22,18
walkpos 29,18
walkpos 36,18
walkpos 36,12
walkpos 29,12
walkpos 22,12
walkpos 16,12
walkpos 16,18
walkpos 16,23
walkpos 16,29
walkpos 16,35
walkpos 10,35
walkpos 10,28
walkpos 10,21
walkpos 10,16
walkpos 10,12
walkpos 4,12
walkpos 4,10
walkpos 4,8
walkpos 4,6
walkpos 5,6
walkpos 6,6
delay 500
EO
delay 800
check 座标,!=,6,6,-4
cls 
W 0,0,北
let @money,=,@[石币]
let @money,-,100
save @money
delay 1000
check 人物,石币,>=,50000,走出迷宫_END
W 0,0,北
say hi
wait 对话,0,?,-10
button 确定
delay 1000
wait 地图,110,-15
end

label 走出迷宫_END
print 请先使用主界面里的存入石币功能再与NPC对话出去！
print 请注意!! 身上不能没有石币 至少必须有10元才出的去
end

