home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gPuzz1, gPuzz2, gPuzz3, gPuzz4, gPuzz5
- if (abs(the locH of sprite 43 - 206) < 100) and (abs(the locV of sprite 43 - 181) < 100) then
- set the locH of sprite 43 to 206
- set the locV of sprite 43 to 181
- set gPuzz1 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 44 - 314) < 100) and (abs(the locV of sprite 44 - 181) < 100) then
- set the locH of sprite 44 to 314
- set the locV of sprite 44 to 181
- set gPuzz2 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 45 - 243) < 100) and (abs(the locV of sprite 45 - 320) < 100) then
- set the locH of sprite 45 to 243
- set the locV of sprite 45 to 320
- set gPuzz3 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 46 - 442) < 100) and (abs(the locV of sprite 46 - 214) < 100) then
- set the locH of sprite 46 to 442
- set the locV of sprite 46 to 214
- set gPuzz4 to #together
- updateStage()
- end if
- if (abs(the locH of sprite 47 - 398) < 100) and (abs(the locV of sprite 47 - 313) < 100) then
- set the locH of sprite 47 to 398
- set the locV of sprite 47 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(43, 0)
- puppetSprite(44, 0)
- puppetSprite(45, 0)
- puppetSprite(46, 0)
- puppetSprite(47, 0)
- seperate()
- go("LOGO")
- else
- go(the frame)
- end if
- end
-