dim @存
let @存,=,0
label 开始
check 道具,*宠宠同意书,>,0,存
log 1
waitmap 2000,5,-1
delay 500
set 快速战斗,1
set 自动逃跑,1
walkpos 85,51 
walkpos 81,51 
walkpos 77,51 
walkpos 77,47 
walkpos 77,43 
walkpos 74,43 
walkpos 72,43 
walkpos 72,39 
walkpos 72,35 
walkpos 73,35 
walkpos 74,35 
waitmap 100,5,开始 
delay 1000
walkpos 82,616
set 自动逃跑,0
set 快速遇敌,1
label 检查
delay 1000
ifitem *火的石头,<=,9,+2
doffitem ?火的石头,1
delay 1000
ifitem *水的石头,<=,9,+2
doffitem ?水的石头,1
delay 1000
ifitem *地的石头,<=,9,+2
doffitem ?地的石头,1
delay 1000
ifitem *风的石头,<=,9,+2
doffitem ?风的石头,1

ifitem *火的石头,=,9,+2
goto 检查
ifitem *水的石头,=,9,+2
goto 检查
ifitem *地的石头,=,9,+2
goto 检查
ifitem *风的石头,=,9,+2
goto 检查
label 换
log 1
waitmap 2000,1,-2
delay 200
walkpos 84,51 
walkpos 79,51 
walkpos 74,51 
walkpos 74,47 
walkpos 70,47 
walkpos 67,47 
walkpos 67,49 
w 67,49,E 
say hi
waitdlg 欢迎,1,5,-5
button 确定
waitdlg 请选择,1,5,-5
button 1
waitdlg 需要,1,5,-5
button 确定
check 道具,*宠宠同意书,<,3,换

label 存
log 1
waitmap 2000,1,-2
delay 200
walkpos 74,56
walkpos 63,60 
walkpos 63,75 
walkpos 63,95
walkpos 67,95
w 67,95,C 
say 存
waitdlg 欢迎光临,1,5,-5
button 3 
waitdlg 使用道具仓库,1,5,-1
button 1
waitdlg 寄放店,1,5,-1
delay 500
put 宠宠同意书
delay 500
let @存,+,1
check 道具,*宠宠同意书,>,0,存
if @存,=,4,取
goto 开始
label 取
log 1
waitmap 2000,1,-2
delay 200
walkpos 74,56
walkpos 63,60 
walkpos 63,75 
walkpos 63,95
walkpos 67,95
w 67,95,C 
say 取
waitdlg 欢迎光临,1,5,-5
button 3 
waitdlg 使用道具仓库,1,5,-1
button 2
waitdlg 寄放店,1,5,-1
delay 500
get ?宠宠同意书
delay 500
check 道具,*宠宠同意书,<,12,-11
label 换
log 1
waitmap 2000,1,-2
delay 200
walkpos 84,51 
walkpos 79,51 
walkpos 74,51 
walkpos 74,47 
walkpos 70,47 
walkpos 67,47 
walkpos 67,49 
w 67,49,E 
say hi
waitdlg 欢迎,1,5,-5
button 确定
waitdlg 请选择,1,5,-5
button 2
waitdlg 需要,1,5,-5
button 确定

label 存证
log 1
waitmap 2000,1,-2
delay 200
walkpos 74,56
walkpos 63,60 
walkpos 63,75 
walkpos 63,95
walkpos 67,95
w 67,95,C 
say 存证
waitdlg 欢迎光临,1,5,-5
button 3 
waitdlg 使用道具仓库,1,5,-1
button 1
waitdlg 寄放店,1,5,-1
delay 500
put 骑乘学习同意书
delay 500
goto 开始