[WIP] S1 Ending. Quinta 'escena'

This commit is contained in:
2026-05-10 00:51:33 +02:00
parent ab8c93cc27
commit 71cadf86cf
3 changed files with 105 additions and 22 deletions
+23
View File
@@ -326,4 +326,27 @@ function premiere.stage1_ending_update()
premiere.frame=premiere.anim[premiere.step+1]
end
end
end
function premiere.stage1_ending_init2()
premiere.flip = true
premiere.update = premiere.stage1_ending_update2
end
function premiere.stage1_ending_update2()
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
premiere.x = premiere.x-1
if premiere.wait>=6 then
premiere.wait = 0
premiere.step=(premiere.step+1)%4
premiere.frame=premiere.anim[premiere.step+1]
end
end
end