home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gPuzz1, gPuzz2, gPuzz3, gPuzz4, gPuzz5
- if (abs(the locH of sprite 11 - 206) < 50) and (abs(the locV of sprite 11 - 181) < 50) then
- set the locH of sprite 11 to 206
- set the locV of sprite 11 to 181
- set gPuzz1 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 12 - 314) < 50) and (abs(the locV of sprite 12 - 181) < 50) then
- set the locH of sprite 12 to 314
- set the locV of sprite 12 to 181
- set gPuzz2 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 13 - 243) < 50) and (abs(the locV of sprite 13 - 320) < 50) then
- set the locH of sprite 13 to 243
- set the locV of sprite 13 to 320
- set gPuzz3 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 14 - 442) < 50) and (abs(the locV of sprite 14 - 214) < 50) then
- set the locH of sprite 14 to 442
- set the locV of sprite 14 to 214
- set gPuzz4 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 15 - 398) < 50) and (abs(the locV of sprite 15 - 313) < 50) then
- set the locH of sprite 15 to 398
- set the locV of sprite 15 to 313
- set gPuzz5 to #together
- updateStage()
- end if
- if (gPuzz1 = #together) and (gPuzz2 = #together) and (gPuzz3 = #together) and (gPuzz4 = #together) and (gPuzz5 = #together) then
- puppetTransition(51, 8, 4, 0)
- puppetSprite(11, 0)
- puppetSprite(12, 0)
- puppetSprite(13, 0)
- puppetSprite(14, 0)
- puppetSprite(15, 0)
- go("LOGO")
- else
- go(the frame)
- end if
- end
-