In the game I'm building, I'm attempting to use the SP as a stamina bar. You start each day with 100 and as you perfom actions, you deplete the stamina.
I'm trying to make it to where if you totally drain the Stamina, then your character will 'pass out' wherein they are transferred to their Bed and the clock is set forward to the next morning.
Here's WHat I attempted in the Event pane:
(In the 'Stat Check' Common Event running as a parallel process)
Control Variables: [0022: Stamina] = [sharp]'s SP
(In the 'Pass Out' Common Event running as a parallel process)
Conditional Branch: Variable [0022: Stamina] !=0
: Else
Change Map Settings: Fog="Night", 0, 255, normal, 0, 0
Play SE: '104-attack16', 80, 100
Transfer Player:[001: Bedroom], (003, 004)
End Branch.
As far as I can tell, this shoulc work, but it's not. Can anyone help me to figure this one out. I'm getting kind of annoyed.
I'm trying to make it to where if you totally drain the Stamina, then your character will 'pass out' wherein they are transferred to their Bed and the clock is set forward to the next morning.
Here's WHat I attempted in the Event pane:
(In the 'Stat Check' Common Event running as a parallel process)
Control Variables: [0022: Stamina] = [sharp]'s SP
(In the 'Pass Out' Common Event running as a parallel process)
Conditional Branch: Variable [0022: Stamina] !=0
: Else
Change Map Settings: Fog="Night", 0, 255, normal, 0, 0
Play SE: '104-attack16', 80, 100
Transfer Player:[001: Bedroom], (003, 004)
End Branch.
As far as I can tell, this shoulc work, but it's not. Can anyone help me to figure this one out. I'm getting kind of annoyed.