Compare commits
2 Commits
dcb53b93cd
...
3d9fd1f439
Author | SHA1 | Date | |
---|---|---|---|
3d9fd1f439 | |||
94e2d99feb |
35
vacation.p8
35
vacation.p8
@ -1600,25 +1600,6 @@ function gen_pattern()
|
|||||||
return {x0 + 1, x1 + 1, x2 + 1, x3 + 1}
|
return {x0 + 1, x1 + 1, x2 + 1, x3 + 1}
|
||||||
end
|
end
|
||||||
|
|
||||||
function arcade_level:next_row()
|
|
||||||
if not self.pattern then
|
|
||||||
self.pattern=gen_pattern()
|
|
||||||
self.pattern_idx = 0
|
|
||||||
self.next_break = 9 + irnd(9)
|
|
||||||
end
|
|
||||||
local i, pbk = (self.pattern_idx&3)+1,0
|
|
||||||
if self.next_break == 0 then
|
|
||||||
-- do pattern break
|
|
||||||
local np = gen_pattern()
|
|
||||||
i = np[1]==self.pattern[i] and 2 or 1
|
|
||||||
self.next_break = 9 + irnd(9)
|
|
||||||
pbk=3
|
|
||||||
end
|
|
||||||
self.pattern_idx = i
|
|
||||||
self.next_break -= 1
|
|
||||||
return self.pattern[i], pbk
|
|
||||||
end
|
|
||||||
|
|
||||||
function arcade_level:word_hit(word)
|
function arcade_level:word_hit(word)
|
||||||
self.score += 1
|
self.score += 1
|
||||||
-- TODO: sfx
|
-- TODO: sfx
|
||||||
@ -2008,13 +1989,7 @@ bUT WON'T IT BE FUN
|
|||||||
TO #FEEL #THE #SEA
|
TO #FEEL #THE #SEA
|
||||||
>#BENEATH #YOU AS YOU
|
>#BENEATH #YOU AS YOU
|
||||||
SURF OVER THE WAVES
|
SURF OVER THE WAVES
|
||||||
NEXT ROUND?]],
|
NEXT ROUND?]]},
|
||||||
basic_breathe,
|
|
||||||
[[set:bwt:0 bpal:2 center:4:14
|
|
||||||
AND ZONE OUT,
|
|
||||||
>CHILL OUT,
|
|
||||||
>AND FLOAT ON
|
|
||||||
>THROUGH...]]},
|
|
||||||
}},
|
}},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2116,14 +2091,6 @@ SUGGESTIONS THAT ARE
|
|||||||
>OTHERS #DRIFT PAST
|
>OTHERS #DRIFT PAST
|
||||||
>WITH NO EFFECT.
|
>WITH NO EFFECT.
|
||||||
-----
|
-----
|
||||||
center:6:19
|
|
||||||
>yOU CAN #HALT !ANY
|
|
||||||
!SUGGESTION AT ANY
|
|
||||||
>TIME -- OR #NURTURE
|
|
||||||
AND #STRENGTHEN THEM
|
|
||||||
>IN THE SESSION, IF
|
|
||||||
>!YOU !LIKE THEM!
|
|
||||||
-----
|
|
||||||
center:9:20
|
center:9:20
|
||||||
>iF YOU NEED OR WANT
|
>iF YOU NEED OR WANT
|
||||||
>TO END THIS GAME AT
|
>TO END THIS GAME AT
|
||||||
|
Loading…
Reference in New Issue
Block a user