summaryrefslogtreecommitdiff
path: root/extra/lightbar/programs/konami.lbs
blob: c9fa8d697af813a2268efa54dcf26f42e1d8d895 (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Konami code easter egg
	delay.w 100000
	set.rgb {1,2}.end 0xff 0xff 0x00
	ramp.1
	wait
	cycle.1
	wait
	ramp.1
	wait
	cycle.1
	wait
	set.rgb {1,2}.end 0x00 0x00 0x00
	set.1 {0,3}.end.b 0xff
	ramp.1
	wait
	cycle.1
	wait
	ramp.1
	wait
	cycle.1
	wait
	set.1 {0,3}.end.b 0x00
	set.1 {0,1}.end.r 0xff
	ramp.1
	wait
	cycle.1
	wait
	set.1 {0,1}.end.r 0x00
	set.1 {2,3}.end.g 0xff
	ramp.1
	wait
	cycle.1
	wait
	set.1 {2,3}.end.g 0x00
	set.1 {0,1}.end.r 0xff
	ramp.1
	wait
	cycle.1
	wait
	set.1 {0,1}.end.r 0x00
	set.1 {2,3}.end.g 0xff
	ramp.1
	wait
	cycle.1
	wait
	set.1 {2,3}.end.g 0x00
	set.rgb {0,2}.end 0x00 0xff 0xff
	ramp.1
	wait
	cycle.1
	wait
	delay.w 50000
	wait
	set.rgb {0,2}.end 0x00 0x00 0x00
	set.rgb {1,3}.end 0xff 0x00 0xff
	ramp.1
	wait
	wait
	cycle.1
	wait
	delay.w 100000
	wait
	wait
	set.rgb {0,1,2,3}.end 0xff 0xff 0xff
	ramp.1
	wait
	cycle.1
	wait
	ramp.1
	wait
	cycle.1
	wait
	ramp.1
	wait
	cycle.1
	wait
	ramp.1
	wait
	cycle.1
	wait
	ramp.1
	wait
	cycle.1
	wait
	ramp.1
	wait
	cycle.1
	wait
	halt