안녕하세요.
?
태환은린님 OVA와 스크립트 감사히 잘 쓰고 있습니다.
?
최근에 11월 4일 공유해주신 일일 스스스 작업 스크립트 내용중 오류가 있어서 제가 임의로 수정해봤어요.
?
수정한 내용은
?
1. 전체 스크립트가 2회 반복되는 것을 1회로 수정
?
2. 모험 입장 전 친구선택 안되는 문제 수정.
?
이상입니다.
?
문제되면 자삭할게요.
?
다시 한 번 태환은린님께 감사합니다..
?
DEVICE:
SCREEN_SIZE:
var #color 0
var #colorexit 0
//일반 성체
var #k0x 210
var #k0y 474
var #k0c 16777215
//골렘언덕
var #k1x 118
var #k1y 726
var #k1c 198663
//추락자의 사막
var #k2x 439
var #k2y 65
var #k2c 2839992
//잊혀진 숲
var #k3x 229
var #k3y 723
var #k3c 1317167
//검은바위 산
var #k4x 440
var #k4y 67
var #k4c 2041402
//크라운즈랜딩 성
var #k5x 243
var #k5y 579
var #k5c 11920114
//신발 부족
var #keyx 276
var #keyy 339
var #keyc 6975864
//1번방
var #b1x 254
var #b1y 151
var #b1c 16777215
//2번방
var #b2x 255
var #b2y 241
var #b2c 16777215
//3번방
var #b3x 366
var #b3y 235
var #b3c 16777215
//4번방
var #b4x 360
var #b4y 332
var #b4c 16777215
//5번방
var #b5x 360
var #b5y 421
var #b5c 16777215
//6번방
var #b6x 255
var #b6y 425
var #b6c 16777215
//7번방
var #b7x 253
var #b7y 509
var #b7c 16777215
//8번방
var #b8x 255
var #b8y 599
var #b8c 16777215
//9번방
var #b9x 360
var #b9y 589
var #b9c 5143249
// 사냥터 입장시 친구 선택 부분 좌표 96 577//
// 친구 선택 사용 안할시 좌표 0 0 으로 수정 //
var #friendx 375
var #friendy 607
//55000원 팝업
var #popx 340
var #popy 157
var #popc 2134479
//110000원 팝업
var #pop1x 351
var #pop1y 160
var #pop1c 4334262
//모험 여관
var #mainx 457
var #mainy 542
var #mainc 447982
//친구 선택 창
var #ax 441
var #ay 252
var #ac 15527148
//사냥터
var #gox 398
var #goy 307
var #goc 5424098
//사냥터 중..
var #gogo1x 54
var #gogo1y 85
var #gogo1c 14478317
//모험 보상 확인 창
var #okx 51
var #oky 279
var #okc 15527148
//사냥 종료부분 나가기 9번방
var #exitx 351
var #exity 601
var #exitc 70
//사냥 종료부분 나가기 7번방
var #exit1x 245
var #exit1y 599
var #exit1c 47
var #exit11x 220
var #exit11y 511
var #exit11c 5666090
//사냥 종료부분 나가기 5번방
var #exit2x 242
var #exit2y 509
var #exit2c 57
//////////////////////////////////////////
//매크로 시작 라벨
:start
sleep 100
//55000원 팝업 확인
:pop
sleep 100
getcolor #color #popx #popy
sleep 50
if #color == #popc
toast 팝업 취소
sleep 1000
touchDown 0 50 312
sleep 100
touchUp 0
sleep 300
touchDown 0 158 483
sleep 100
touchUp 0
sleep 300
goto :main
endif
//110000원 팝업 확인
:pop1
sleep 100
getcolor #color #pop1x #pop1y
sleep 50
if #color == #pop1c
toast 팝업 취소
sleep 1000
touchDown 0 50 312
sleep 100
touchUp 0
sleep 300
touchDown 0 158 483
sleep 100
touchUp 0
sleep 300
goto :main
endif
//모험 여관
:main
sleep 3000
getcolor #color #mainx #mainy
sleep 50
if #color == #mainc
toast 모험 하기
sleep 1000
touchDown 0 50 758
sleep 100
touchUp 0
sleep 3000
goto :k0
endif
//사냥 종료부분 나가기 9번방
:exit
sleep 50
getcolor #colorexit #exitx #exity
sleep 50
if #colorexit == #exitc
toast 9번방 종료
sleep 500
touchDown 0 61 34
sleep 100
touchUp 0
sleep 500
touchDown 0 61 34
sleep 100
touchUp 0
sleep 500
goto :start
endif
//사냥 종료부분 나가기 7번방
:exit1
sleep 50
getcolor #colorexit #exit1x #exit1y
sleep 50
if #colorexit == #exit1c
sleep 50
getcolor #colorexit #exit11x #exit11y
sleep 50
if #colorexit == #exit11c
sleep 50
toast 7번방 종료
sleep 500
touchDown 0 61 34
sleep 100
touchUp 0
sleep 500
touchDown 0 61 34
sleep 100
touchUp 0
sleep 500
goto :start
endif
//사냥 종료부분 나가기 5번방
:exit2
sleep 50
getcolor #colorexit #exit2x #exit2y
sleep 50
if #colorexit == #exit2c
toast 5번방 종료
sleep 500
touchDown 0 61 34
sleep 100
touchUp 0
sleep 500
touchDown 0 61 34
sleep 100
touchUp 0
sleep 500
goto :start
endif
//일반 성채
:k0
sleep 50
getcolor #color #k0x #k0y
sleep 50
if #color == #k0c
toast 일반 성체
sleep 500
touchDown 0 185 537
sleep 100
touchUp 0
sleep 1000
touchDown 0 209 355
sleep 100
touchUp 0
sleep 1000
touchDown 0 152 423
sleep 100
touchUp 0
sleep 1000
touchDown 0 30 420
sleep 100
touchUp 0
sleep 300
sleep 1000
goto :go
endif
//골렘언덕
:k1
sleep 50
getcolor #color #k1x #k1y
sleep 50
if #color == #k1c
toast 골렘 언덕
sleep 500
touchDown 0 305 609
sleep 100
touchUp 0
sleep 500
touchDown 0 346 304
sleep 100
touchUp 0
sleep 500
touchDown 0 151 357
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
goto :go
endif
//추락자의 사막
:k2
sleep 50
getcolor #color #k2x #k2y
sleep 50
if #color == #k2c
toast 추락자의 사막
sleep 500
touchDown 0 301 151
sleep 100
touchUp 0
sleep 500
touchDown 0 206 140
sleep 100
touchUp 0
sleep 500
touchDown 0 159 184
sleep 100
touchUp 0
sleep 500
touchDown 0 207 302
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
goto :go
endif
//잊혀진 숲
:k3
sleep 50
getcolor #color #k3x #k3y
sleep 50
if #color == #k3c
toast 잊혀진 숲
sleep 500
touchDown 0 307 725
sleep 100
touchUp 0
sleep 500
touchDown 0 200 734
sleep 100
touchUp 0
sleep 500
touchDown 0 140 709
sleep 100
touchUp 0
sleep 500
touchDown 0 187 559
sleep 100
touchUp 0
sleep 500
touchDown 0 149 209
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
goto :go
endif
//검음바위 산
:k4
sleep 50
getcolor #color #k4x #k4y
sleep 50
if #color == #k4c
toast 검은바위 산
sleep 500
touchDown 0 356 513
sleep 100
touchUp 0
sleep 500
touchDown 0 356 316
sleep 100
touchUp 0
sleep 500
touchDown 0 235 303
sleep 100
touchUp 0
sleep 500
touchDown 0 192 376
sleep 100
touchUp 0
sleep 500
touchDown 0 169 517
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
goto :go
endif
//크라운즈랜딩 성
:k5
sleep 50
getcolor #color #k5x #k5y
sleep 50
if #color == #k5c
toast 크라운즈랜딩 성
sleep 500
touchDown 0 200 490
sleep 100
touchUp 0
sleep 500
touchDown 0 144 598
sleep 100
touchUp 0
sleep 500
touchDown 0 143 468
sleep 100
touchUp 0
sleep 500
touchDown 0 185 369
sleep 100
touchUp 0
sleep 500
touchDown 0 292 686
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
goto :go
endif
//사냥터 입장 라벨
:go
sleep 100
getcolor #color #gox #goy
sleep 50
if #color == #goc
toast 사냥 시작
sleep 1000
goto :b1
endif
//사냥터 1번방
:b1
sleep 100
getcolor #color #b1x #b1y
sleep 50
if #color == #b1c
toast 1번방
sleep 1000
touchDown 0 204 165
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 2번방
:b2
sleep 100
getcolor #color #b2x #b2y
sleep 50
if #color == #b2c
toast 2번방
sleep 1000
touchDown 0 211 256
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 3번방
:b3
sleep 100
getcolor #color #b3x #b3y
sleep 50
if #color == #b3c
toast 3번방
sleep 1000
touchDown 0 326 256
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 4번방
:b4
sleep 100
getcolor #color #b4x #b4y
sleep 50
if #color == #b4c
toast 4번방
sleep 1000
touchDown 0 325 369
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 5번방
:b5
sleep 100
getcolor #color #b5x #b5y
sleep 50
if #color == #b5c
toast 5번방
sleep 1000
touchDown 0 328 447
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 6번방
:b6
sleep 100
getcolor #color #b6x #b6y
sleep 50
if #color == #b6c
toast 6번방
sleep 1000
touchDown 0 215 448
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 7번방
:b7
sleep 100
getcolor #color #b7x #b7y
sleep 50
if #color == #b7c
toast 7번방
sleep 1000
touchDown 0 218 536
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 8번방
:b8
sleep 100
getcolor #color #b8x #b8y
sleep 50
if #color == #b8c
toast 8번방
sleep 1000
touchDown 0 215 629
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 9번방
:b9
sleep 100
getcolor #color #b9x #b9y
sleep 50
if #color == #b9c
toast 9번방
sleep 1000
touchDown 0 315 642
sleep 100
touchUp 0
sleep 500
goto :gogo
endif
//사냥터 입장 라벨
:gogo
sleep 500
toast 가방 확인
touchDown 0 169 410
sleep 100
touchUp 0
sleep 1000
getcolor #color #ax #ay
sleep 50
if #color == #ac
toast 사냥 입장 친구 선택
sleep 500
touchpress 0 #friendx #friendy
sleep 100
touchUp 0
sleep 500
touchDown 0 33 448
sleep 100
touchUp 0
sleep 500
touchDown 0 457 788
sleep 100
touchUp 0
sleep 1000
else
goto :gogo1
endif
//사냥터 입장 라벨
:gogo1
sleep 500
toast 사냥 중....
sleep 300
touchDown 0 146 416
sleep 100
touchUp 0
sleep 500
touchDown 0 30 420
sleep 100
touchUp 0
sleep 300
sleep 500
touchDown 0 146 416
sleep 100
touchUp 0
sleep 500
touchDown 0 457 788
sleep 100
touchUp 0
sleep 500
touchDown 0 30 420
sleep 100
touchUp 0
sleep 300
sleep 500
touchDown 0 146 416
sleep 100
touchUp 0
sleep 500
touchDown 0 457 788
sleep 100
touchUp 0
sleep 1000
else
goto :main
end
//종료라벨
:end
고마워용 ㅎㅎ