2024-10-09 18:53:19 +00:00
|
|
|
%import palette
|
2024-10-08 19:25:37 +00:00
|
|
|
%import textio
|
2024-10-09 18:53:19 +00:00
|
|
|
%option no_sysinit
|
2024-10-08 19:25:37 +00:00
|
|
|
|
2024-10-07 17:17:37 +00:00
|
|
|
main {
|
2024-10-08 19:25:37 +00:00
|
|
|
sub start() {
|
2024-10-09 18:53:19 +00:00
|
|
|
repeat 4 {
|
|
|
|
for cx16.r0L in 0 to 15 {
|
|
|
|
txt.color2(cx16.r0L, cx16.r0L)
|
|
|
|
txt.spc()
|
|
|
|
txt.spc()
|
|
|
|
txt.spc()
|
|
|
|
txt.spc()
|
|
|
|
}
|
|
|
|
txt.nl()
|
|
|
|
}
|
|
|
|
bool changed
|
|
|
|
uword[] colors = [
|
|
|
|
$f00, $800, $200, $000,
|
|
|
|
$f0f, $80f, $20f, $00f
|
|
|
|
]
|
|
|
|
do {
|
|
|
|
sys.waitvsync()
|
|
|
|
sys.waitvsync()
|
|
|
|
changed = palette.fade_step_colors(0, 8, colors)
|
|
|
|
} until not changed
|
2024-10-08 22:51:05 +00:00
|
|
|
|
2024-10-09 18:53:19 +00:00
|
|
|
sys.wait(60)
|
|
|
|
changed = false
|
|
|
|
do {
|
|
|
|
sys.waitvsync()
|
|
|
|
sys.waitvsync()
|
|
|
|
changed = palette.fade_step_multi(0, 8, $fff)
|
|
|
|
} until not changed
|
|
|
|
sys.wait(60)
|
2024-10-07 18:39:49 +00:00
|
|
|
}
|
2024-09-14 21:17:26 +00:00
|
|
|
}
|