1 '****************************2 ' Pulsing pizza lights
3 '****************************45 'pulsetim.enabled=False
67 dim pint:pint=08 dim pdir:pdir=0910 sub pizzastrobe(num)11if num =1 Then
12 pulse1.state=113 pulse2.state=114 pulsetim.enabled=115 Flasherbase007.image ="domeredbase"16 Flasherbase006.image ="domeredbase"17 Else
18 pulse1.state=019 pulse2.state=020 pulsetim.enabled=021 Flasherbase007.image ="domewhitebase"22 Flasherbase006.image ="domewhitebase"23 end if24 end Sub
25 sub pulsetim_timer
26 If pint=25 Then
27 pdir=128 end If
29if pint=0 Then
30 pdir=031 end If
3233if pdir=0 Then
34 pint=pint+135else36 pint=pint-137 end if3839 pulse1.intensity=pint
40 pulse2.intensity=pint
41 end Sub