[WIP] S1 Ending. Sisena 'escena'

This commit is contained in:
2026-05-10 10:55:18 +02:00
parent 71cadf86cf
commit 8657dfd918
7 changed files with 130 additions and 7 deletions
+30
View File
@@ -349,4 +349,34 @@ function premiere.stage1_ending_update2()
premiere.frame=premiere.anim[premiere.step+1]
end
end
end
function premiere.stage1_ending_init3()
-- if premiere.update==premiere_update_healer then return true end
premiere.backup()
-- Moure a premiere al ending
premiere.hab = 7
premiere.x = 6
premiere.y = 2
local world_x, world_y = coords.room_to_world(premiere.hab,premiere.x,premiere.y)
premiere.x=world_x
premiere.y=world_y
premiere.update = premiere.stage1_ending_update3
end
function premiere.stage1_ending_update3()
premiere.wait=premiere.wait+1
-- avançar a 8,1,3
local hab, tx, ty = coords.world_to_tile(premiere.x, premiere.y)
if hab == 7 and tx==5 and ty==3 then
-- premiere.health_wait = premiere.health_wait - 1
premiere.flip=false
else
if premiere.wait>=3 then
premiere.x = premiere.x+1
premiere.wait = 0
premiere.frame=premiere.anim[1]
end
end
end