I'll test this but 1st of all, which 'branch' you're referring here? the one in levels.txt or one in endlevel entity?
The
branch is the feature in
levels.txt.
I create a set of levels that only have one
branch which is for the bad ending using
jumptobranch if the NPC is dead.
Check the example my previous post.
-------------------------------------------------------------------------------
The only solution is add a
scene.txt after the
stage.txt.
z 123 220 160
file data/levels/8-4.txt
scene data/scenes/safe.txt
next
scene data/scenes/good.txt
scene data/scenes/credit.txt
end
branch badend
scene data/scenes/dead.txt
next
scene data/scenes/bad.txt
scene data/scenes/credit.txt
end
Do not undestand why it must work like that?