fix bgm
This commit is contained in:
parent
eb76795de1
commit
537a086e9b
13
vacation.p8
13
vacation.p8
@ -832,8 +832,8 @@ function zonk_mode:u()
|
|||||||
self.brth:u()
|
self.brth:u()
|
||||||
self.txt_frame:u()
|
self.txt_frame:u()
|
||||||
if (self.d and self.d:u()) seq:next()
|
if (self.d and self.d:u()) seq:next()
|
||||||
if not self.d and self.nextbgm and not self.xbgm and (not stat(57) or stat(56) == 0) then
|
if not self.d and self.nextbgm and not self.xbgm and stat(56) <= 0 then
|
||||||
music(self.nextbgm, stat(57) and 0 or 500, 7)
|
music(self.nextbgm, 500, 7)
|
||||||
self.nextbgm = nil
|
self.nextbgm = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -857,6 +857,9 @@ function zonk_mode:draw()
|
|||||||
print("➡️",120,120,self.brth:mt(self.bwt) and (hz(2) and 7 or 6) or 5)
|
print("➡️",120,120,self.brth:mt(self.bwt) and (hz(2) and 7 or 6) or 5)
|
||||||
end
|
end
|
||||||
if(self.d) self.d:draw()
|
if(self.d) self.d:draw()
|
||||||
|
-- debug info
|
||||||
|
-- print(tostr(stat(56)), 0, 0, 7)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-->8
|
-->8
|
||||||
@ -900,7 +903,7 @@ wide awake!
|
|||||||
|
|
||||||
function normal_awakener()
|
function normal_awakener()
|
||||||
return zonk_mode.new{
|
return zonk_mode.new{
|
||||||
music=19,
|
bgm=19,
|
||||||
br_cols=brth_bg,
|
br_cols=brth_bg,
|
||||||
file=[[c:2:15 bon
|
file=[[c:2:15 bon
|
||||||
yOU'VE LEARNED
|
yOU'VE LEARNED
|
||||||
@ -2142,7 +2145,7 @@ DEEP,TRANCE,PLASTIC,HYPNOSIS,SENSE]],
|
|||||||
{
|
{
|
||||||
f=zonk_mode.new,
|
f=zonk_mode.new,
|
||||||
params={{
|
params={{
|
||||||
music=17,
|
bgm=17,
|
||||||
files={
|
files={
|
||||||
[[c:3:19
|
[[c:3:19
|
||||||
>yOU'RE DEFINITELY
|
>yOU'RE DEFINITELY
|
||||||
@ -2261,7 +2264,7 @@ DEEP,SINK,PLIANT,AUTOMATIC,HOLLOW]]
|
|||||||
{
|
{
|
||||||
f=zonk_mode.new,
|
f=zonk_mode.new,
|
||||||
params={{
|
params={{
|
||||||
music=19,
|
bgm=19,
|
||||||
files={
|
files={
|
||||||
[[c:1:16 bon bpal:1
|
[[c:1:16 bon bpal:1
|
||||||
sUCH A #GOOD #TOY!]],
|
sUCH A #GOOD #TOY!]],
|
||||||
|
Loading…
Reference in New Issue
Block a user