It’s a subroutine (and now its even easier with parameters).
startup.txt
*scene_list
startup
subroutines
hospital
chapter_01
*create hp
Whenever you need to reduce the PC’s HP, call the subroutine.
*choice
#Hit them with your sword.
*gosub_scene subroutines hit 10
blah blah blah assumes that the player stays out of the hospital
Then in subroutines.txt we place the subroutine.
(we do it this way to reduce duplicated text.)
*label hit
*params damage
*set hp - damage
*if hp <= 0
*set hp 0
*goto_scene hospital
*else
*return
