abbreviate "center" as "c"

saving a grand total of 24 compressed bytes. yaaaay
This commit is contained in:
Kistaro Windrider 2024-02-18 12:35:20 -08:00
parent 26a2752b73
commit 14e4f5f5ed
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -728,7 +728,7 @@ function zonk_mode:at(_, x, y)
frames=self.exf,
}
end
function zonk_mode:center(_, rows, cols)
function zonk_mode:c(_, rows, cols)
local w,h = cols*self.spc_full, rows*self.lnh-1
self:at(_, 64-ceil(w/2), 64-ceil(h/2))
end
@ -915,60 +915,60 @@ end
-->8
-- awakener
count_up=[[bgdy:-0.1 bspd:240 center:3:18
count_up=[[bgdy:-0.1 bspd:240 c:3:18
>wITH EVERY COUNT
FROM 1 !UP TO 5,
YOU !WAKE FURTHER.
-----
bgdy:0 center:5:19
bgdy:0 c:5:19
>aS YOU !WAKE !UP,
THE WORLD RETURNS.
YOUR MIND IS !NOW
RETURNING TO ITS
USUAL FLOW.
-----
bpal:1 set:bwt:2 center:3:19
bpal:1 set:bwt:2 c:3:19
!aWAKEN, BECOMING
FULLY ALERT AT THE
>COUNT OF #5...
-----
set:exf:10 set:txf:30 set:txd:45 set:confirmed:1 bgdy:0.1 bspd:225 center:1:1
set:exf:10 set:txf:30 set:txd:45 set:confirmed:1 bgdy:0.1 bspd:225 c:1:1
1
-----
set:confirmed:1 bspd:210 bgdy:0.15 bgwt:10 center:1:1
set:confirmed:1 bspd:210 bgdy:0.15 bgwt:10 c:1:1
2
-----
set:confirmed:1 bspd:180 bgdy:0.2 bgwt:12 center:1:1
set:confirmed:1 bspd:180 bgdy:0.2 bgwt:12 c:1:1
3
-----
set:confirmed:1 bgdy:0.25 bpal:2 bgwt:14 center:1:1
set:confirmed:1 bgdy:0.25 bpal:2 bgwt:14 c:1:1
4
-----
set:confirmed:1 bgdy:0.4 bgwt:16 center:1:1
set:confirmed:1 bgdy:0.4 bgwt:16 c:1:1
5
-----
set:hide_breath:1 set:hide_stripes:1 boff set:txf:1 set:txd:0 set:exd:0 set:exf:1 set:bwt:0 center:1:11
set:hide_breath:1 set:hide_stripes:1 boff set:txf:1 set:txd:0 set:exd:0 set:exf:1 set:bwt:0 c:1:11
wide awake!
]]
function normal_awakener()
return zonk_mode.new{
br_cols=brth_bg,
file=[[center:2:15 bon
file=[[c:2:15 bon
yOU'VE LEARNED
SO WELL!
-----
center:2:14
c:2:14
yOU'RE SUCH A
!GOOD !TOY!
-----
center:4:19
c:4:19
tAKE A MOMENT TO
JUST !ENJOY HOW
>IT FEELS, TO BE
#VINYL FULL OF #AIR.
-----
center:6:20 bgdy:-0.2
c:6:20 bgdy:-0.2
bECAUSE, NEXT, IT'S
>TIME TO #WAKE #UP.
yOU GET TO TAKE YOUR
@ -976,7 +976,7 @@ yOU GET TO TAKE YOUR
!MEMORIES OF THIS
EXPERIENCE WITH YOU,
-----
center:4:20 bgdy:-0.15 bspd:270
c:4:20 bgdy:-0.15 bspd:270
BUT !ALL THE HYPNOTIC
!SUGGESTIONS FROM
>THIS GAME WILL !FADE
@ -997,12 +997,12 @@ function fast_awakener()
p={
[0]=0,128,133,5,4,5,6,7,133,134,6,140,132,12,7,7
},
file=[[center:3:13
file=[[c:3:13
tHIS HYPNOTIC
EXPERIENCE IS
ENDING !NOW.
-----
center:6:20
c:6:20
>aS YOU #WAKE #UP, ALL
HYPNOTIC SUGGESTIONS
FROM THIS GAME FADE.
@ -1010,13 +1010,13 @@ FROM THIS GAME FADE.
!RETURNING !TO ITS
!ORDINARY PATTERNS.
-----
center:4:19 bon
c:4:19 bon
tHE !STORY TOLD BY
>THIS SOFTWARE !IS
ENDED, WORDS ON A
SCREEN IN THE !PAST.
-----
center:5:17
c:5:17
>sUGGESTIONS FROM
>THIS FICTION ARE
LEFT BEHIND. tHEY
@ -1785,10 +1785,10 @@ DRIFT,SOAR,IMAGINE,BE
RELAX,CHILL,TOY,POOLTOY
SINK,DEEP,TRANCE,FOLLOW]]
basic_breathe=[[center:1:13 bon set:confirmed:true set:bwt:1
basic_breathe=[[c:1:13 bon set:confirmed:true set:bwt:1
bREATHE IN...
-----
center:1:14 set:confirmed:true set:bwt:2
c:1:14 set:confirmed:true set:bwt:2
bREATHE OUT...]]
function sequencer:next()
@ -1819,7 +1819,7 @@ function create_game()
exf=30,
cmul=0.25,
hide_stripes=true,
file=[[center:6:20
file=[[c:6:20
wELCOME TO !vACATION!
tHIS GAME USES #ONLY
@ -1827,7 +1827,7 @@ tHIS GAME USES #ONLY
GAMEPLAY, SO PRESS
!RIGHT TO CONTINUE.
-----
center:9:20
c:9:20
>vACATION IS A
#HYPNOTIC #EXPERIENCE.
@ -1838,7 +1838,7 @@ FOR ANY REASON, HOLD
>THE GAME AND STARTS
AN AWAKENER.
-----
center:10:20
c:10:20
>aT THE END OF THIS
>GAME, THE HYPNOTIC
SUGGESTIONS WILL END
@ -1850,16 +1850,16 @@ FEEL FREE TO !SINK AS
!DEEP INTO TRANCE AS
>YOU LIKE!
-----
center:2:20
c:2:20
iN THIS GAME, YOU'RE
AN #ORCA #POOLTOY.
-----
center:3:16
c:3:16
>tHAT'S ALSO THE
CHARACTER IN THE
ARCADE PART.
-----
center:10:20
c:10:20
lET'S TRY THE ARCADE
PART! #jUMP AND #DIVE
>TO CATCH !THE WORDS.
@ -1871,7 +1871,7 @@ THEY'RE JUST HERE TO
!SHAPE THE EXPERIENCE
FOR !YOU.
-----
center:2:10
c:2:10
UP: JUMP
DOWN: !DIVE]],
}},
@ -1890,17 +1890,17 @@ DOWN: !DIVE]],
txf=15,
exf=30,
br_spd = 240,
files={[[center:3:18
files={[[c:3:18
hEY, WELCOME BACK!
>sTARTING TO GET
>THE HANG OF IT?
-----
center:3:14
c:3:14
nOW, THIS GAME
PROMISED TO BE
>#HYPNOTIC.
-----
center:6:18
c:6:18
aND YOU MIGHT BE
!ZONING !OUT TO IT
ALREADY! bUT THESE
@ -1908,7 +1908,7 @@ ALREADY! bUT THESE
MORE TRADITIONALLY
>!HYPNOTIC.
-----
center:8:20
c:8:20
nOW, YOU MIGHT NOT
THINK !HYPNOSIS !WORKS
ON YOU. tHAT'S ALL
@ -1918,7 +1918,7 @@ THINK !HYPNOSIS !WORKS
HAVE TO !FOLLOW THE
TEXT TOO CLOSELY.
-----
center:9:20
c:9:20
>tHIS IS A #vACATION!
yOU DON'T HAVE TO DO
>MUCH OF #ANYTHING.
@ -1929,42 +1929,42 @@ yOU DON'T HAVE TO DO
>STAIRCASE AND COUNT
BACKWARDS.
-----
center:4:20
c:4:20
tHAT ALL SOUNDS LIKE
TOO MUCH WORK. aLL
YOU NEED TO DO RIGHT
!NOW IS TO #BREATHE.
-----
center:1:13 bon bpal:1 set:confirmed:true set:bwt:1 set:txf:2 set:txd:0 set:exd:0 set:exf:10
c:1:13 bon bpal:1 set:confirmed:true set:bwt:1 set:txf:2 set:txd:0 set:exd:0 set:exf:10
bREATHE IN...
-----
center:1:14 set:confirmed:true set:bwt:2 bspd:270
c:1:14 set:confirmed:true set:bwt:2 bspd:270
bREATHE OUT...
-----
center:1:13 bpal:1 set:confirmed:true set:bwt:1
c:1:13 bpal:1 set:confirmed:true set:bwt:1
bREATHE IN...
-----
center:1:14 set:confirmed:true set:bwt:2 bspd:300
c:1:14 set:confirmed:true set:bwt:2 bspd:300
bREATHE OUT...]],
basic_breathe,
[[set:bwt:0 bpal:2 unset:txd:txf:exf:exd center:4:19
[[set:bwt:0 bpal:2 unset:txd:txf:exf:exd c:4:19
gREAT! iT FEELS
>NICE TO !SINK INTO
RELAXATION SO
EASILY, DOESN'T IT?
-----
center:4:19
c:4:19
>iT HELPS YOUR MIND
>FLOAT AND !DRIFT,
LIKE A #POOLTOY #ORCA
ON THE WAVES...
-----
center:3:18
c:3:18
iT'S A FUN IDEA TO
JUST BE A #TOY LIKE
>THAT, ISN'T IT?
-----
center:7:20
c:7:20
!iMAGINE IT! #fLOATING
>FREE ON A WARM DAY,
!COOL WATER #SPLASHING
@ -1973,7 +1973,7 @@ YOUR AIR-FILLED BODY
>#BOBBING BUOYANTLY
ON THE SURF...
-----
center:8:20
c:8:20
nOW, !YOUR !MIND CAN
>#DO #WHATEVER #FEELS
>#RIGHT -- IT !FOLLOWS
@ -1983,13 +1983,13 @@ YOU, IDEAS !YOU WOULD
>ENJOY AND !WANT TO
>EXPERIENCE.
-----
center:4:19
c:4:19
aNYTHING ELSE CAN
>JUST ROLL OFF YOUR
MIND LIKE WATER OFF
A POOLTOY'S BACK.
-----
center:5:19 set:bwt:2 bpal:1
c:5:19 set:bwt:2 bpal:1
bUT WON'T IT BE FUN
TO #FEEL #THE #SEA
>#BENEATH #YOU AS YOU
@ -2007,12 +2007,12 @@ SURF OVER THE WAVES
{
f=zonk_mode.new,
params={{files={
[[center:3:19
[[c:3:19
>dON'T THOSE LEVELS
>JUST #FLY BY WHEN
YOU'RE IN A #TRANCE?
-----
center:7:20 bpal:1
c:7:20 bpal:1
hAVE YOU YET NOTICED
HOW !DIFFERENT IT
>FEELS !NOW, YOUR
@ -2021,19 +2021,19 @@ hAVE YOU YET NOTICED
YOUR MIND TO !GREATER
>DEPTHS OF #HYPNOSIS?
-----
center:4:20 bpal:2
c:4:20 bpal:2
sTRANGE HOW !THAT
!BODY !CAN !BE !SO !HEAVY
>WHILE YOU'RE SO
>#LIGHT AND #FLOATY!
-----
center:4:20
c:4:20
oR PERHAPS !IT !CAN !BE
>VERY !FAMILIAR, IF
YOU'VE EXPERIENCED
#HYPNOSIS BEFORE.
-----
center:7:20 set:bwt:2 bpal:1
c:7:20 set:bwt:2 bpal:1
iT CAN BECOME VERY
FAMILIAR, !THAT SENSE
OF #FOCUS AND #QUIET
@ -2043,7 +2043,7 @@ FAMILIAR, !THAT SENSE
WORDS IN !TRANCE.]],
basic_breathe,
basic_breathe,
[[set:bwt:0 bpal:2 center:8:20
[[set:bwt:0 bpal:2 c:8:20
sO #RELAXED NOW, !THAT
!BODY BARELY WANTS TO
>MOVE, !DOESN'T IT?
@ -2053,7 +2053,7 @@ sO #RELAXED NOW, !THAT
>PAGE, EVERYTHING IS
SO #CALM AND #HEAVY.
-----
center:9:20
c:9:20
>iF YOU NEEDED TO,
>YOU COULD LOOK AWAY
AND MOVE FREELY, BUT
@ -2064,7 +2064,7 @@ SCREEN, AREN'T THEY?
>#RIGHT #HERE WHEN YOU
TRY TO TURN AWAY.
-----
center:6:20
c:6:20
bECAUSE EVERY WORD
IS TAKING YOU !DEEPER
INTO !TRANCE !NOW,
@ -2072,7 +2072,7 @@ IS TAKING YOU !DEEPER
>#HYPNOTIC #SAFETIES
DEEP IN YOUR MIND.
-----
center:9:20
c:9:20
tHE !SUGGESTIONS IN
>THIS GAME ARE #PLAY.
tHEY CAN !FEEL AS
@ -2084,7 +2084,7 @@ PLAY IS OVER AND THE
>!END AND YOUR MIND
WILL BE AS IT WAS.
-----
center:9:20
c:9:20
>eVEN WHEN YOU ARE
FULLY !ENGAGED IN
THIS EXPERIENCE, A
@ -2096,7 +2096,7 @@ SUGGESTIONS THAT ARE
>OTHERS #DRIFT PAST
>WITH NO EFFECT.
-----
center:9:20
c:9:20
>iF YOU NEED OR WANT
>TO END THIS GAME AT
>ANY TIME, FOR ANY
@ -2107,7 +2107,7 @@ AWAKENER STARTS. aNY
>KEEPING YOU SAFE IS
>INVITED TO DO THIS.
-----
center:8:20 bpal:1
c:8:20 bpal:1
>bECAUSE ALL THESE
SAFETIES ARE HERE,
THE SUGGESTIONS IN
@ -2117,7 +2117,7 @@ BALLOON ANIMAL UNTIL
IT'S THE !PERFECT
SHAPE FOR A !TOY!
-----
center:9:20
c:9:20
>a !PERFECT MATCH FOR
THOSE !SMOOTH PUFFY
!VINYL #FLIPPERS NOW
@ -2128,7 +2128,7 @@ center:9:20
YOU STORIES WITH
#EVERY #SENSE NOW.
-----
center:9:20
c:9:20
>wHAT DOES IT !FEEL
LIKE, TO WEAR THAT
!CETACEAN #SHAPE, SO
@ -2139,7 +2139,7 @@ TO HAVE INTERNAL #AIR
#PRESSURE RESISTING
MOVEMENTS?
-----
center:7:19
c:7:19
>bECAUSE WHEN !YOUR
>PAINTED-ON EYES CAN
?SEE YOUR INFLATABLE