implement safeword

This commit is contained in:
Kistaro Windrider 2024-02-11 19:47:18 -08:00
parent ab370c9489
commit 2ed036efc0
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -280,7 +280,9 @@ function _update60()
if exit_dither and exit_dither:update() then
exit_dither = nil
awakener_hold_frames=0
mainview = fast_awakener.new()
awakener_armed=false
mainview = fast_awakener()
mainview:activate()
end
mainview:update()
end
@ -293,7 +295,6 @@ function _draw()
rectfill(gpx+1,0,128,9,5)
font_default()
print("keep holding for awakener", 1, 1, 7)
font_special()
end
if exit_dither then
exit_dither:draw()
@ -1040,6 +1041,63 @@ BUT !ALL THE HYPNOTIC
}
end
function fast_awakener()
seq=sequencer.new{
{f=awakener_lock},
}
return zonk_mode.new{
br_speed=240,
br_cols=bg_breather,
bg_dy=-0.12,
p={
[0]=0,128,133,5,4,5,6,7,133,134,6,140,132,12,7,7
},
file=[[center:3:13
tHIS HYPNOTIC
EXPERIENCE IS
ENDING !NOW.
-----
center:6:20
>aS YOU #WAKE #UP, ALL
HYPNOTIC SUGGESTIONS
FROM THIS GAME FADE.
yOUR MIND IS !NOW
!RETURNING !TO ITS
!ORDINARY PATTERNS.
-----
center:4:19 bon
tHE !STORY TOLD BY
>THIS SOFTWARE !IS
ENDED, WORDS ON A
SCREEN IN THE !PAST.
-----
center:5:17
>sUGGESTIONS FROM
>THIS FICTION ARE
LEFT BEHIND. tHEY
DO NOT AFFECT YOU
OR YOUR MEMORY.]],
files={count_up},
}
end
function awakener_lock()
arm_awakener()
return {
update=nop,
activate=nop,
draw=function()
pal()
font_default()
cls(0)
print("session ended",38,7,5)
print("to replay awakener,",26,58,6)
print("hold ❎",45,65,6)
print("kistaro.itch.io",34,116,5)
end,
}
end
-->8
-- consent screens