-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSprite6.txt
48 lines (39 loc) · 1.02 KB
/
Sprite6.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//----- Green flag events ---------------------------------------------------------------------------------------------
WhenGreenFlagClicked()
{
Motion.GoToXY(0, 0);
Looks.Hide();
Costume.GoToFrontBack(front);
}
//----- Broadcast received events -------------------------------------------------------------------------------------
WhenBroadcastReceived(exit emulator)
{
If (Theme Switch Flag == 1)
{
Wait Until (Theme Switch Flag == 0);
Looks.Hide();
}
Motion.GoToXY(0, 0);
Looks.Hide();
Costume.GoToFrontBack(front);
}
WhenBroadcastReceived(Launch EmulatorWaitd)
{
Looks.SetEffectTo(GHOST, 100);
Looks.Show();
Repeat (10)
{
Control.Wait(0);
Looks.ChangeEffectBy(GHOST, -10);
}
}
WhenBroadcastReceived(un-needed broadcast)
{
Repeat (10)
{
Looks.ChangeEffectBy(GHOST, 10);
}
Looks.Hide();
}
//----- Costumes ------------------------------------------------------------------------------------------------------
costume1.svg