- De una botonà el text dels bocadills passa apressa

This commit is contained in:
2023-02-02 15:35:50 +01:00
parent 26560919cd
commit 4593b8b712

View File

@@ -5,6 +5,7 @@ balloon={
cursor={x=0,y=0}, cursor={x=0,y=0},
old_update=nil, old_update=nil,
rect=nil, rect=nil,
quick=false,
show=function(txt,col,actorname,below,rectangle) show=function(txt,col,actorname,below,rectangle)
local actor = actors.search(actorname) local actor = actors.search(actorname)
@@ -25,6 +26,7 @@ balloon={
balloon.pos=1 balloon.pos=1
balloon.ini=1 balloon.ini=1
balloon.obj=nil balloon.obj=nil
balloon.quick=false
balloon.old_update=update balloon.old_update=update
update=balloon.update update=balloon.update
@@ -77,7 +79,8 @@ balloon={
balloon.pos=1 balloon.pos=1
balloon.ini=1 balloon.ini=1
balloon.obj=obj balloon.obj=obj
balloon.quick=false
balloon.old_update=update balloon.old_update=update
update=balloon.update update=balloon.update
@@ -90,12 +93,16 @@ balloon={
end, end,
update=function() update=function()
if balloon.pos<0 and anykey() then if anykey() then
update=balloon.old_update if balloon.pos<0 then
scene.cont() update=balloon.old_update
scene.cont()
else
balloon.quick=true
end
end end
if not beat() then return end if not beat() and not balloon.quick then return end
if balloon.pos<0 then if balloon.pos<0 then
if balloon.obj then if balloon.obj then