- [FIX] Arreglada l'interacció amb el cursor
- [NEW] Afegit mode noclip - [NEW] Acabant la part de La Vella
This commit is contained in:
@@ -36,6 +36,10 @@ levels["vella"]={
|
||||
actors.add({name="alumne_cua2",x=26,y=26,o="d",gfx={x=0,y=80}})
|
||||
actors.add({name="alumne_cua3",x=26,y=27,o="d",gfx={x=0,y=64}})
|
||||
|
||||
actors.add({name="imbesil",x=27,y=23,o="r",jailmoji="AEFJNJAAAAEBFFIAAB"})
|
||||
|
||||
|
||||
|
||||
switches.add({x=3,y=34,w=8,h=1,action=
|
||||
function()
|
||||
local hero = actors.search(actors.main.name)
|
||||
@@ -53,11 +57,40 @@ levels["vella"]={
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
switches.add({x=28,y=24,w=1,h=1,action=
|
||||
function()
|
||||
local hero = actors.search(actors.main.name)
|
||||
--if flags.caixer_visitat==1 then
|
||||
flags.caixer_visitat=2
|
||||
scene.start({
|
||||
function() balloon.show("EH!!!",3,"imbesil",false,{x=5,w=8,h=1}) end,
|
||||
function() actors.moveto("jailer", 29, 24) end,
|
||||
function() actors.search("jailer").o='l' scene.cont() end,
|
||||
function() actors.moveto("imbesil", 27, 24) end,
|
||||
function() actors.moveto("imbesil", 28, 24) end,
|
||||
function() balloon.show("DEJA PASO\nMONGOLO!!!",3,"imbesil",false,{x=5,w=8,h=2}) end,
|
||||
function() actors.moveto("imbesil", 23, 24) end,
|
||||
function() actors.search("imbesil").o='r' scene.cont() end,
|
||||
function() balloon.show("PEAZO BOCATROLA ME\nVOY A ZAMPAR CUANDO\nVUELVA DEL BAÑO...",3,"imbesil",true,{x=4,w=12,h=3}) end,
|
||||
function() actors.moveto("imbesil", 23, 20) end,
|
||||
function() actors.remove("imbesil") scene.cont() end,
|
||||
function() wait.start(0.5) end,
|
||||
function() balloon.show("IMBÈSIL...",3,"jailer",false,{x=5,w=8,h=1}) end,
|
||||
})
|
||||
return true
|
||||
--else
|
||||
-- return false
|
||||
--end
|
||||
end
|
||||
})
|
||||
|
||||
end,
|
||||
|
||||
caixer_action=function()
|
||||
--local hero = actors.search(actors.main.name)
|
||||
--if hero.o~="d" then return end
|
||||
flags.caixer_visitat=1
|
||||
scene.start({
|
||||
function() balloon.show("BON DIA CARINYET!\nQUE VOLS MENJAR?",15,"caixer",false,{x=4,w=11,h=2}) end,
|
||||
function() balloon.show("POS OBVIAMENT\nUN BOCADILL DE\nSOBRASADA PATA...",2,"jailer",true,{x=3,w=11,h=3}) end,
|
||||
|
||||
Reference in New Issue
Block a user