set 等待时间,10

label 缘
check 人物,地图,=,1003,call 1003
check 人物,地图,=,2003,call 2003
check 人物,地图,=,4003,call 4003
check 人物,地图,=,7121,call 7121
check 人物,地图,=,7405,call 7405
check 人物,地图,=,7503,call 7503
delay 500
say hi
label yy
wait 对话,1,宠物商店,缘
button 4
wait 对话,1,宠物大仓库1,缘
button 1
wait 对话,1,宠物大仓库1,缘
button 1
delay 1000
check 说话,?,LIKE,宠物仓库已满！,结束
wait 对话,1,请选择宠物,缘
check 宠物,1,=,空位,+8
check 宠物1,职位,=,1,+7
button 1
wait 对话,1,寄放,缘
button 确定
wait 对话,1,再度,缘
button ok
goto yy
check 宠物,2,=,空位,+9
check 宠物2,职位,=,1,+8
wait 对话,1,请选择宠物,缘
button 2
wait 对话,1,寄放,缘
button 确定
wait 对话,1,再度,缘
button ok
goto yy
check 宠物,3,=,空位,+9
check 宠物3,职位,=,1,+8
wait 对话,1,请选择宠物,缘
button 3
wait 对话,1,寄放,缘
button 确定
wait 对话,1,再度,缘
button ok
goto yy
check 宠物,4,=,空位,+9
check 宠物4,职位,=,1,+8
wait 对话,1,请选择宠物,缘
button 4
wait 对话,1,寄放,缘
button 确定
wait 对话,1,再度,缘
button ok
goto yy
check 宠物,5,=,空位,+9
check 宠物5,职位,=,1,+8
wait 对话,1,请选择宠物,缘
button 5
wait 对话,1,寄放,缘
button 确定
wait 对话,1,再度,缘
button ok
label 检测
check 宠物,空位,>=,4,结束
goto yy

label 结束
set 原地保护,0
end

label .err.
delay 2000
label .log.
delay 5000
goto 缘

label 1003
wait 地图,1003,+1
walkpos 12,15
delay 500
EO
delay 1000
check 座标,!=,12,15,-4
W 12,15,A
return

label 2003
wait 地图,2003,+1
walkpos 16,17
delay 500
EO
delay 1000
check 座标,!=,16,17,-4
w 16,17,C
return

label 4003
wait 地图,4003,+1
walkpos 13,15
delay 500
EO
delay 1000
check 座标,!=,13,15,-4
W 13,15,A
return

label 7121
wait 地图,7121,+1
walkpos 5,6
delay 500
EO
delay 1000
check 座标,!=,5,6,-4
W 5,6,A
return

label 7405
wait 地图,7405,+1
walkpos 12,15
delay 500
EO
delay 1000
check 座标,!=,12,15,-4
W 12,15,A
return

label 7503
wait 地图,7503,+1
walkpos 9,8
delay 500
EO
delay 1000
check 座标,!=,9,8,-4
W 9,8,A
return
