DEVICE: star 4.2.2
SCREEN_SIZE: 480x800
//make by 둘수
// 사냥터 입장시 친구 선택 부분 좌표 357 577//?
// 친구 선택 사용 안할시 좌표 0 0 으로 수정 //?
var #friendx 357
var #friendy 557
//매크로 시작 라벨
:start
sleep 100
//사냥 종료부분 나가기 9번방
:exit
sleep 50
getRGB #cor #cog #cob 351 601
sleep 50
if #cor >= 66 and #cor <= 79 and #cog >= 0 and #cog <= 13 and #cob >= 0 and #cob <= 13
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 :main
endif
//사냥 종료부분 나가기 7번방
:exit1
sleep 50
getRGB #cor #cog #cob 245 599
sleep 50
if #cor >= 44 and #cor <= 58 and #cog >= 0 and #cog <= 13 and #cob >= 0 and #cob <= 13
sleep 50
getRGB #cor #cog #cob 220 511
sleep 50
if #cor >= 39 and #cor <= 53 and #cog >= 110 and #cog <= 124 and #cob >= 81 and #cob <= 95
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 :main
endif
//사냥 종료부분 나가기 5번방
:exit2
sleep 50
getRGB #cor #cog #cob 242 509
sleep 50
if #cor >= 55 and #cor <= 67 and #cog >= 0 and #cog <= 13 and #cob >= 0 and #cob <= 13
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 :main
endif
//모험 여관
:main
sleep 3000
getRGB #cor #cog #cob 451 421
sleep 50
if #cor >= 240 and #cor <= 256 and #cog >= 240 and #cog <= 256 and #cob >= 240 and #cob <= 256?
toast 대기
sleep 1000
touchDown 0 406 774
sleep 100
touchUp 0
sleep 60000
endif
//사냥터 입장 라벨
:go
sleep 1000
getRGB #cor #cog #cob 398 307
sleep 50
if #cor >= 214 and #cor <= 228 and #cog >= 185 and #cog <= 200 and #cob >= 77 and #cob <= 91
toast 사냥 시작
sleep 1000
touchDown 0 315 642
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 215 629
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 218 536
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 215 448
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 328 447
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 325 369
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 326 256
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 211 256
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
touchDown 0 204 165
sleep 100
touchUp 0
sleep 500
touchDown 0 142 464
sleep 100
touchUp 0
sleep 500
else
goto :gogo
endif
//사냥터 입장 라벨
:gogo
sleep 1000
getRGB #cor #cog #cob 441 252
sleep 50
if #cor >= 224 and #cor <= 238 and #cog >= 224 and #cog <= 238 and #cob >= 224 and #cob <= 238
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 169 410
sleep 100
touchUp 0
sleep 500
touchDown 0 457 788
sleep 100
touchUp 0
sleep 1000
else
goto :gogo1
endif
//사냥터 입장 라벨
:gogo1
sleep 500
toast 사냥 중....
touchDown 0 146 416
sleep 100
touchUp 0
sleep 500
touchDown 0 30 420
sleep 100
touchUp 0
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 500
touchDown 0 146 416
sleep 100
touchUp 0
sleep 500
touchDown 0 457 788
sleep 100
touchUp 0
sleep 1000
else
goto :start
end
//종료라벨
:end