- final cutscenes finished

- fade system
- minor changes to stairs graphic
This commit is contained in:
2022-12-29 21:20:24 +01:00
parent 48f61a8b66
commit cfe78a72b6
9 changed files with 188 additions and 37 deletions

View File

@@ -231,7 +231,12 @@ function update_scene()
scenes.die=scenes.die-1
if scenes.die==0 then
if scenes.dnum==#scenes.current_scene then
_update=old_update
if batman.endgame then
final_init()
fade.fadeoutin()
else
_update=old_update
end
else
scenes.dnum=scenes.dnum+1
scenes.die=scenes.current_scene[scenes.dnum].die or 0
@@ -250,8 +255,12 @@ function update_scene()
elseif btnp(KEY_SPACE) then
if scenes.step>8 then
if scenes.dnum==#scenes.current_scene then
--freesurf(bkg)
_update=old_update
if batman.endgame then
final_init()
fade.fadeoutin()
else
_update=old_update
end
else
scenes.dnum=scenes.dnum+1
scenes.step=2