home *** CD-ROM | disk | FTP | other *** search
- on IFLFlashLine
- global IFLhasLineFlashedList, IFLSpriteDifference
- repeat with t = 1 to count(IFLhasLineFlashedList)
- if rollOver(t + IFLSpriteDifference) then
- set value to getAt(IFLhasLineFlashedList, t)
- if value > 0 then
- if value < 4 then
- setAt(IFLhasLineFlashedList, t, 0)
- else
- setAt(IFLhasLineFlashedList, t, 0)
- set the castNum of sprite (t + IFLSpriteDifference) to the castNum of sprite (t + IFLSpriteDifference) - 1
- end if
- end if
- updateStage()
- else
- if getAt(IFLhasLineFlashedList, t) = 3 then
- set the castNum of sprite (t + IFLSpriteDifference) to the castNum of sprite (t + IFLSpriteDifference) + 1
- setAt(IFLhasLineFlashedList, t, getAt(IFLhasLineFlashedList, t) + 1)
- else
- if getAt(IFLhasLineFlashedList, t) = 6 then
- set the castNum of sprite (t + IFLSpriteDifference) to the castNum of sprite (t + IFLSpriteDifference) - 1
- setAt(IFLhasLineFlashedList, t, 0)
- else
- setAt(IFLhasLineFlashedList, t, getAt(IFLhasLineFlashedList, t) + 1)
- end if
- end if
- end if
- updateStage()
- end repeat
- end
-