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