◆Comment:Call to turn stamina system off if it's on, on if it's off.
: :Note that standard dashing is disabled in the map properties.
◆Comment:----------------------------------------------------------------------
◆If:Stamina System is ON
◆Text:None, Window, Bottom
: :Dash stamina system is currently enabled.
◆Show Choices:Enable, Disable (Window, Right, #1, #1)
:When Enable
◆
:When Disable
◆Control Switches:#0001 Stamina System = OFF
◆Comment:Remove gauge and background pictures
◆Erase Picture:#5
◆Erase Picture:#6
◆Text:None, Window, Bottom
: :You can no longer dash.
◆
:End
◆
:Else
◆Text:None, Window, Bottom
: :Dash stamina system is currently disabled.
◆Show Choices:Enable, Disable (Window, Right, #2, #2)
:When Enable
◆Comment:Show gauge bar and background
: :(My background has a 2 px border, so the bar position is offset by that much)
◆Show Picture:#5, gaugeBack, Upper Left (596,20), (100%,100%), 255, Normal
◆Show Picture:#6, gauge, Upper Left (598,22), (100%,100%), 255, Normal
◆Comment:Initialise stamina variable and switches
◆Control Variables:#0001 Stamina = 300
◆Control Switches:#0001 Stamina System = ON
◆Control Switches:#0002 Breathless = OFF
◆Comment:User feedback and instructions for use~
◆Text:None, Window, Bottom
: :You can now dash!
◆Text:None, Window, Bottom
: :Dashing will now consume stamina.
: :\.Walk or stand still to recover.
: :\.If you get out of breath, you'll have to wait a bit
: : until you can dash again.
◆
:When Disable
◆
:End
◆
:End