<div id="game-scale">
<div id="game-wrapper">
<div id="ui-main"></div>
<div id="ui-back"></div>
<div id="ui-side">
<video id="side-gif" width="184" height="99"
loop muted playsinline preload="auto"
poster="side_anim_still.png">
<source src="side_anim.webm" type="video/webm">
</video>
<video id="side-elevator" width="184" height="99"
loop muted playsinline preload="auto"
poster="side_anim_still.png">
<source src="elevator.webm" type="video/webm">
</video>
<img id="side-name" src="ui_side_name.png">
<div id="side-text"></div>
</div>
<div id="ui-extra"></div>
<div id="ui-team"></div>
<div id="ui-control"></div>
<!-- UI overlay image layer -->
<img id="ui-frame" src="ui.png" alt="">
</div>
</div><<done>>
/* Main scene image */
<<replace "#ui-main">>
<<include "Scene1">>
<</replace>>
/* Side UI content */
/* Log message */
<</done>>
::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "broken_ball">>
<<run change_level("F" + $current_floor + "_Mechanical Chambers")>>
<img src="broken_ball_side.png" class="fadein">
<<set $text to `In the dim tunnel lies a <span style="color:#FF0000;">damaged Machina sphere</span>.
It doesn’t move, yet faint sizzling noises leak from within.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Looks like a damaged Machina. Want to go check it out?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh!? Wouldn’t that be… way too dangerous?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $choice = 1>>
<<set $text to `
Choices: (Please select an option)`>>
<<typewriter $text 40>>
<<link "[Investigate (50% success, 50% failure)]">>
<<set $choice = 1>>
<</link>>
<br>
<<link "[Return to the Floor Transporter]">>
<<set $choice = 2>>
<</link>>
::CHUNK::
<<switch $choice>>
<<case 1>>
<<set $rand to random(1,100)>>
<<set $text to `[Evaluating......]\n` + `[1d100 = ` + $rand + `]`>>
<<typewriter $text 40>>
<<if $rand >= 50>>
<<set $text to `<span style="color:#5ff14c;">[Check Passed!]</span>`>>
<<typewriter $text 40>>
<<LoadSequence "ball_floor_A" true>>
<<else>>
<<set $text to `<span style="color:#b80000;">[Check Failed!]</span>`>>
<<typewriter $text 40>>
<<LoadSequence "ball_floor_B" true>>
<</if>>
<<case 2>>
<<EndSequence>>
<<LoadSequence "elevator" true>>
<</switch>><<set $current_floor = 1>>
<<set $mech_parts = 0>>
<<set_hp Antaia 15>>
<<set_max_hp "Antaia" 15>>
/* StoryInit (tag: startup) — 初始化必要變數 */
<<script>>
State.variables.current_floor = 1;
State.variables.event_ark = 0;
State.variables.event_bridge = 0;
State.variables.event_pipe = 0;
State.variables.event_library = 0;
<</script>>
<<LoadSequence "Scene1Chunks" true>>::CHUNK::
<<level_img "f1_greylab">><span style="color:#66ccff;"><span class="fadein">[F1 - The Grey Mechanism Chamber]</span></span>
<br>
<img src="scene1_00.png" class="fadein">
<<set $text to `A faint <span style="color:#66ccff;">azure glow</span> flickers somewhere deep within her fading vision.`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `It feels as if she is being gently embraced by the <span style="color:#2859fa;">deep sea</span>, her consciousness slowly sinking into that peaceful <span style="color:#66ccff;">blue</span>.`>><<typewriter $text 40>>
::CHUNK::
<<typewriter "Her body continues to fall through the darkness—" 40>>
::CHUNK::
<<typewriter "Ah… that was…" 40>>
::CHUNK::
<<typewriter "..." 40>>
::CHUNK::
<<set $text to `…Whose <span style="color:#66ccff;">memory</span> was that…?`>><<typewriter $text 40>>
::CHUNK::
<<bgm "child_of_machina.wav">>
<<sfx "door_open.mp3">>
<<sfx "air_release.mp3">>
<img src="scene1_01.png" class="fadein">
<<set $twtext to `<span style="color:#66ccff;"><span class="shake">....</span></span>`>>
<<typewriter $twtext 300>>
::CHUNK::
<<set $text to `The girl opens her eyes and slowly sits up from a cold metallic pod.
The unknown <span style="color:#66ccff;">ice-blue</span> fluid drips from her hair and dress, scattering tiny shimmering droplets across the floor.`>>
<<typewriter $text 40>>
::CHUNK::
<<typewriter "Long white hair clings to her shoulders, and the unfamiliar white dress she wears is lined with futuristic armor-like patterns and flowing circuit lines." 40>>
::CHUNK::
<<sfx "cloth-rustle-1.mp3">>
<img src="scene1_02.png" class="fadein"><<set $text to `
She lowers her gaze to her own hand—
Beneath the smooth, immaculate, hard surface of her pale skin, a <span style="color:#66ccff;">blue luminescence</span> flows softly.`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_eye.png" class="fadein"><<set $text to `She blinks her <span style="color:#66ccff;">azure mechanical pupils</span>,
a hint of confusion surfacing within them.`>>
<<typewriter $text 40>>
::CHUNK::
<<add_team "Antaia">>
<<show_hp Antaia>>
<img src="Antaia_87_tired.png" class="fadein"><br>
<span style="color:#66ccff;">[Antaia]</span>
<<typewriter " (Where… am I?)" 40 "sci-fi-click.mp3">>
::CHUNK::
<<set $text to `The air around her is cold and silent.
Metallic walls encircle the entire space, and broken rubble and shattered instruments lie scattered across the ground, like a laboratory abandoned for countless years.\n
Just as she tries to stand—`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
<span style="color:#FFB552;">[???]</span>\n
“Whoa— you’re awake!”
A bright, cheerful female voice suddenly comes from behind her.`>>
<<typewriter $text 40 "sci-fi-click_v2.mp3">>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br>
<span style="color:#66ccff;">[Antaia]</span>\n
<<typewriter "\“......Ah!\”" 40>>
::CHUNK::
<<typewriter "Antaia turns around, only to see a girl with brown twin-tails staring at her curiously." 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ah, sorry—did I scare you?”
Her mechanical pupils glow softly with a warm <span style="color:#FFB552;">amber light</span>. She’s dressed in a futuristic orange explorer outfit, its hem engraved with flowing <span style="color:#FFB552;">amber patterns</span> that shift with the light.`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Oh right! I forgot to introduce myself! I’m <span style="color:#FFB552;">Takol</span>. And you are…?”\n
She flashes a bright smile and reaches out her hand.`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
(My name——)\n
(Strange… I can’t recall anything except my name?)\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><br>
<span style="color:#66ccff;">[Antaia]</span>\n
<<set $text to `"My name is <span style="color:#66ccff;">Antaia</span>...\n"`>><<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hm… <span style="color:#66ccff;">Antaia</span>, huh? Do you remember anything besides your name?”\n
Takol blinks curiously.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><br>
<span style="color:#66ccff;">[Antaia]</span>\n
<<typewriter "\"Sorry… it seems I can’t remember anything else at all…\"" 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Whoa, memory loss? I figured as much… So you don’t even remember the ‘<span style="color:#d99ecc;">MotherArk</span>’?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“‘<span style="color:#d99ecc;">The MotherArk</span>’…”\n
The word feels strangely familiar.\n
Familiar… yet distant.\n
A strange feeling stirs within her.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I’m sorry… I’m not sure…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hmmm…”\n
Takol scratches her cheek, as if pondering something.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Then I guess I’ll start with the basics. Simply put, we’re inside a massive mechanical structure called the ‘<span style="color:#d99ecc;">MotherArk</span>’. And this place—”\n
She points at the ground beneath them.\n
“—is the <span style="color:#8bd6d9;">lowest floor</span> of the <span style="color:#d99ecc;">MotherArk</span>.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“The <span style="color:#8bd6d9;">lowest floor</span>…?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Looks like you really don’t remember anything… That’s troublesome.”\n
She pauses for a moment—then her eyes suddenly light up.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Oh! Then let’s head back to a settlement on the <span style="color:#65c784;">Mid Strata</span> first!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“W-Wait, what?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“The <span style="color:#8bd6d9;">30th Floor</span>, the ‘<span style="color:#4ec774;">Children of the Ark</span>’ Residential Zone! I have friends there—maybe they’ll understand what’s going on with you!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“<span style="color:#4ec774;">Children of the Ark</span>…?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Yep! Machina just like us. One look at you and I knew right away!”\n`>>
<<typewriter $text 40>>
<<add_team "Takol">>
<<show_hp Takol>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "Scene2Chunks" true>>
::CHUNK::
<<level_img "f1_hallway">><br>
<<run change_level("f1_hallway")>>
<<typewriter "..." 40>>
::CHUNK::
<<typewriter "......" 40>>
::CHUNK::
<<typewriter "Two Machina girls moved through the dim corridor." 40>>
::CHUNK::
<<typewriter "Takol seemed very familiar with this area, while Antaia followed cautiously right behind her." 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “Um……”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Hm? What’s wrong?”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “No, it’s nothing……”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<typewriter "Who exactly was this girl, and why did she save her?" 40>>
::CHUNK::
<<typewriter "A hundred questions swirled in her mind, but Takol was busy searching for the path. Now didn’t seem like the right time to ask." 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Ah, we’re here!”\n `>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `After passing through the narrow metallic passageway, <span style="color:#FFB552;">Takol</span> suddenly came to a halt.\n`>><<typewriter $text 40>>
::CHUNK::
<<set $text to `Before them was an old <span style="color:#d6bc54;">metal panel</span>, and beside it, a massive vertical shaft.\n`>><<typewriter $text 40>>
::CHUNK::
<<typewriter "The metallic rails stretched upward like an endless skeletal spine, rising from the bottom layers and disappearing into the darkness above." 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Antaia, hold on a sec!”\n `>>
<<typewriter $text 40>>
::CHUNK::
<<showboard "[+/-]">>
<<set $text to `Takol skipped cheerfully toward the <span style="color:#d6bc54;">metal panel</span>, tapping swiftly across the dust-covered buttons.\n`>><<typewriter $text 40>>
::CHUNK::
<<sfx "tunnel_pass.mp3">>
<<set $text to `\n And then—\n A piercing rumble echoed from above.\n `>>
<<typewriter $text 40>>
::CHUNK::
<<sfx "loud_crash.mp3">>
<<set $text to `\n “<span style="color:#d6482f;">—THUD!!</span>”\n `>>
<<typewriter $text 40>>
<img src="elevator_front-static.png" class="fadein"><br>
::CHUNK::
<<set $text to `\n A <span style="color:#b854d6;">massive metal container</span>—its rails completely disengaged—plummeted straight down from above, slamming against the floor with an earth-shaking impact.\n Dust billowed. The air trembled.\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “C–cough… W-what is… this…!?”\n Caught off guard by the sudden cloud of dust, Antaia hurriedly covered her mouth and nose. The blue glow in her mechanical eyes flickered anxiously—she was clearly startled.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Haha, gave you a scare, didn’t it? This thing is called a <span style="color:#b854d6;">‘Floor Transporter’</span>.”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “A… <span style="color:#b854d6;">Floor… Transporter</span>?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Yep! Every layer of the <span style="color:#d99ecc;">The MotherArk</span> has one of these. As long as you ride it, you can move between different <span style="color:#8bd6d9;">Floors</span>.”\n She patted the huge metal capsule.\n “Buuut—there’s one fatal flaw. And that is: it only goes up, never down.”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “It only goes up…? Then the one that just fell—”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Oh, that’s because—no one can be inside when it drops! If someone were riding it, they’d definitely be smashed to pieces at that speed.”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “Ah!? Then how did you come down here?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Going down? You gotta use your own two feet! What else is there besides walking?”\n She gave a proud thumbs-up.\n “But if you wanna hurry upward, this thing’s the best!”\n `>>
<<typewriter $text 40>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<set $text to `\n With the grinding of gears, the Transporter’s door screeched like scraping metal as it slowly slid open.\n `>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `\n Antaia hesitated for a moment, but still followed Takol inside.\n Compared to Antaia’s cautious steps, Takol moved with casual familiarity.\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “Ah… It’s more spacious inside than I imagined.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `\n The Transporter’s inner walls were semi-transparent, faintly revealing the mechanical structures outside.\n It was large enough to hold more than a dozen people, yet still felt empty within.\nTakol crouched by the control panel, adjusting it with an easygoing expression.\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “Takol, which Floor are we heading to next?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Hmm… that’s hard to say—”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “Eh? What do you mean…?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `\n A low mechanical hum signaled the device starting up.\n Takol glanced back, a subtle smile forming on her lips.\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “I forgot to mention—there’s another flaw with the <span style="color:#b854d6;">Floor Transporter</span>!\n Each time it moves, the <span style="color:#8bd6d9;">Floor</span> it takes you to is completely <span style="color:#d6b254;">random</span>!”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “The <span style="color:#d99ecc;">MotherArk</span>’s transit system seems to have its own logic. We can use it, but we can’t tell it where to go. Haha.”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “B-but doesn’t that mean we might skip the <span style="color:#65c784;">Floor 30 Residential Zone</span>?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Nope, that won’t happen.”\n She waved her hand with a bright grin.\n “The <span style="color:#b854d6;">Floor Transporter</span> always stops at every <span style="color:#ff8554;">Anchor Floor</span>. And <span style="color:#65c784;">Floor 30</span> just so happens to be one of those.”\n `>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><br><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n “I see… then that’s a relief.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><br><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n “Right? Then—let’s head out!”\n With that, she grabbed Antaia’s hand and together pressed the <span style="color:#65c784;">Start Button</span>.\n `>>
<<typewriter $text 40>>
<<sfx "door_close.mp3">>
<<run elevator_close()>>
<<set $current_floor = 1>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh? This is...”\n
[Among the damaged parts, you found a usable Machina component.]\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $reward to random(0,50) + 10>>
Acquired <span style="color:#acc6ee;">mech parts</span>: $reward
\n
<<set $mech_parts = $mech_parts + $reward>>
Current <span style="color:#acc6ee;">mech parts</span>: $mech_parts
\n
::CHUNK::
<<set $text to `......\n`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<<set $text to `As Antaia moved closer, the sphere suddenly triggered a small explosion!\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah!”\n
[hp - 3!]\n`>>
<<typewriter $text 40>>
<<show_hp Antaia>>
<<set _hpA to getHP("Antaia")>>
<<set_hp Antaia _hpA-3>>
::CHUNK::
<<set $text to `......`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>
::CHUNK::
<<set $heroName = "赫妮娅">>
<<set $enemyName = "廢墟機械">>
<!-- 你可以用 UI 讓玩家選,這裡先用固定的 id 當示範 -->
<<set $heroCardId = 4>> <!-- 強化機械觸手 -->
<<set $enemyCardId = 1>> <!-- 假設 1 是「咬合」 -->
<!-- 攻擊力 buff:例如 $heroAtk=3 代表 [atk]+3 -->
<<set $heroAtk = 0>>
<<set $enemyAtk = 0>>
<!-- 呼叫 JS 做拼點 -->
<<set _result = setup.opposedRoll({
aName : $heroName,
bName : $enemyName,
aCardId : $heroCardId,
bCardId : $enemyCardId,
aAtkBonus: $heroAtk,
bAtkBonus: $enemyAtk
})>>
<!-- 顯示拼點 log -->
<<set $text = `[戰鬥開始!]\n` +
`[${$heroName}] 對 ${$enemyName} 使用 [${setup.getCard($heroCardId).name}]!\n` +
`[${$enemyName}] 對 ${$heroName} 使用 [${setup.getCard($enemyCardId).name}]!\n\n` +
_result.log>>
<<typewriter $text 40>>::CHUNK::
<<sfx "harmonic-hum.mp3">>
<<set $boardText to "F" + $current_floor>>
<<run elevator_play()>>
<<sfx "scifi_elevator.mp3">>
<<run change_level($boardText)>>
<<set $text to '<span style="color:#66ccff;"><span class="fadein">[' + $boardText + ']</span></span>'>>
<<typewriter $text 40>>
<<showboard $boardText>>
<<set $text to `\nA deep rumbling echoes from outside, and streaks of light and shadow from the mechanical structures rush past in a blur.\n`>>
<<typewriter $text 40>>
/* 如果玩家選了 main event 且沒被主樓層攔截,就把 flag 設為 1(標示已觸發) */
<<if $selected_category == "main" and $selected_main_flag and not $selected_is_mainfloor>>
<<run State.variables[$selected_main_flag] = 1>>
<</if>>
<<if $selected_floor_id>>
<<LoadSequence $selected_floor_id true>>
<<else>>
/* 萬一沒有 id (理論上不會),退回主選單 */
<<goto "Elevator-Menu">>
<<endif>>
/* 確認有選擇的 id,然後直接載入 */
<<if $selected_floor_id>>
<<LoadSequence $selected_floor_id true>>
<</if>>::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<bgm "old_and_anicent.mp3">>
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "bridge">>
<<run change_level("F" + $current_floor + "_The Calamity Crevasse")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Calamity Crevasse]</span></span>
::CHUNK::
<img src="bridge_side.png" class="fadein">
<<set $text to `The Transporter's hatch slowly opened, revealing a vast, empty space before them.
`>><<typewriter $text 40>>
::CHUNK::
<<set $text to `A weathered suspended steel bridge extended out from the Transporter, connecting to another docked Transporter on the opposite side.
`>><<typewriter $text 40>>
::CHUNK::
<<set $text to `The bridge swayed faintly, metal seams creaking. Antaia instinctively swallowed.
`>><<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein">
<<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“This place is… quite spacious, isn’t it?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Mm-hm, this area is actually pretty dangerous, you know.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Watch your step, okay? It’d be awful if you fell.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Following the light-footed Takol, Antaia moved forward with great caution along the bridge.\n
`>> <<typewriter $text 40>>
::CHUNK::
<<set $text to `
The scenery beside the bridge was laid bare—\n
in the distance stood countless deformed remains of colossal Machina,
and on the crumbling floor walls, a massive rupture yawned open, with black matter spreading like tendrils along the fissure.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein">
<<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol, what is that?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ah~ that’s The Calamity Crevasse.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein">
<<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“The Calamity Crevasse…?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Yep, The Calamity Crevasse. It’s the culprit behind turning the Lower Strata into what it is now.”\n
Takol gazed toward the Crevasse, her orange mechanical pupils trembling faintly in the dark.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“A few hundred years ago, during the previous Sedimentation Cycle, the outer deity that brought the Calamity tore a gigantic rift into the MotherArk’s hull.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Because of that, the Lower Strata—once the safest section—became the area most heavily polluted by the Calamity. They say the Children of the Ark who slept there were all contaminated—”\n
A flicker of mixed emotions flashed across Takol’s pupils, but she quickly returned to her usual bright smile.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“So yup! Finding Antaia down in the Lower Strata was nothing short of a miracle! I was so shocked back then!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein">
<<set $text to `<span style="color:#66ccff;">[Antaia]</span>
“Th-That’s… how it was…?”\n
Could she really be the only survivor of the Lower Strata?\n
(If Takol hadn’t awakened me, then…)\n
A subtle tightness rose in Antaia’s chest, a vague sense of relief washing over her.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Mm-hm. Back then, the Lower Strata was a total disaster zone—rampaging Machina everywhere.”\n
Takol seemed to be conducting some sort of check along the bridge, and once she confirmed it was safe, she continued forward.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein">
<<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Speaking of which… Takol, you seem to know a lot about the Calamity. Almost like you saw it yourself.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ah, that’s because I really did see it with my own eyes.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein">
<<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh? Ehh? But you said that was hundreds of years ago…? Does that mean the Calamity is…?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Maaah~ for Machina like us, living a few hundred years isn’t strange at all. Antaia, if you ever recover your memories, you might turn out to be even older than me.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein">
<<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I-Is that… how it is…? Am I already… hundreds of years old…?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein">
<<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“All right, let’s head for the next Stratum! Even though the pollution has stabilized, getting too close to the Crevasse is still really dangerous.”\n
Takol lightly cut off the topic, decisively taking Antaia’s hand as she led her toward the Transporter that connected to the next layer.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $reward to random(0,100) + 50>>
Acquired <span style="color:#acc6ee;">mech parts</span>: $reward
\n
<<set $mech_parts = $mech_parts + $reward>>
Current <span style="color:#acc6ee;">mech parts</span>: $mech_parts
\n
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<bgm "old_and_anicent.mp3">>
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "ark">>
<<run change_level("F" + $current_floor + "_The Old Ark Resting Grounds")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Old Ark Resting Grounds]</span></span>
::CHUNK::
<<set $text to `
<span style="color:#d99ecc;">[Old Ark]</span>\n
The elevator doors slowly slid open as a piercing chill wind rushed in.\n
What lay before them was no longer a metallic floor, but a silent plain blanketed in white snow.\n
Snowflakes danced wildly in the wind, and at the center of the plain stood a massive <span style="color:#b854d6;">vessel</span>, half-buried beneath layers of snow—
A relic seemingly from the Old Epoch itself.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Is that... a <span style="color:#b854d6;">ship</span>?”\n
It was Antaia’s first time seeing such an enormous means of transport.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“Mm-hmm. It’s a relic from the Old Epoch.”\n
Takol gazed at the distant silhouette of the ship, half-hidden in the <span style="color:#8bd6d9;">blizzard</span>, before turning back to Antaia with a lighthearted smile.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“<span style="color:#66ccff;">Antaia</span>, wanna go take a look?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Huh? We can?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“It’s not dangerous here. C’mon, follow me.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
After pulling on her coat’s cloak, Takol led the way as the two stepped into the swirling <span style="color:#8bd6d9;">snowstorm</span>.\n
The snow crunched softly beneath their feet. Braving the biting cold, they soon arrived before the massive hull of the <span style="color:#b854d6;">Ark</span>.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Up close... it’s huge.”\n
She tilted her head back, staring at the <span style="color:#b854d6;">ship’s hull</span> worn by the passage of time, a nameless feeling welling up within her chest.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“<span style="color:#66ccff;">Antaia</span>, do you feel anything?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Feel... something?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
(Feel......something?)\n
\n
Antaia gazed upon the exterior of the <span style="color:#b854d6;">Ark</span>, that strange blend of unfamiliarity and nostalgia growing stronger and stronger.\n
Almost unconsciously, she reached out and brushed her fingers against the icy <span style="color:#d6bc54;">metal plating</span>—\n
And in the next moment, faint mechanical patterns flickered to life within her eyes.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<sfx "harmonic-hum.mp3">>
<<set $text to `\n
——【<span style="color:#d6482f;">Kalocher Access Rights: Damaged</span>.】\n
A cold, mechanical notification echoed within her mind.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Ah!”\n
Startled by the strange mechanical voice, Antaia snapped back to herself.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“<span style="color:#66ccff;">Antaia</span>?”\n
Takol watched her with a hint of worry.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Ah, I’m fine...”\n
Antaia shook her head lightly.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“<span style="color:#66ccff;">Antaia</span>, did you hear something?”\n
Takol fixed her with a gaze that seemed to hold deeper meaning.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“I think… it was some kind of mechanical voice...”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“I see. As I thought...”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Hm? Takol, do you know what it was?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“Ah, it’s nothing~ Just remembered something, that’s all.”\n
She waved her hand casually.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Oh… is that so...”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“In a place like this, it wouldn’t be strange to run into all sorts of things. Alrighty, let’s go—on to the next floor!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“We’re not going inside to take a look?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `
<span style="color:#FFB552;">[Takol]</span>\n
“We can’t. The entrance is completely buried.”\n
Takol pointed toward the <span style="color:#d6bc54;">ship’s hatch</span>, sealed entirely by thick snow.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `
<span style="color:#66ccff;">[Antaia]</span>\n
“Alright then...”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Wrapped in the frigid winds, the two quietly departed the <span style="color:#8bd6d9;">snowfield</span> that held the lingering echoes of the Old Epoch.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $reward to random(0,100) + 50>>
Acquired <span style="color:#acc6ee;">mech parts</span>: $reward
\n
<<set $mech_parts = $mech_parts + $reward>>
Current <span style="color:#acc6ee;">mech parts</span>: $mech_parts
\n
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "dark_tunnel">>
<<run change_level("F" + $current_floor + "_The Corrosion Floor")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Corrosion Floor]</span></span>
::CHUNK::
<<bgm "noises.mp3">>
<<sfx "alarm.mp3">>
<<set $text to `
<span style="color:#8bd6d9;"> “——Beep—beep—beep!!”</span>\n
The moment the Transporter’s doors opened, the alarms on both of them shrieked all at once.\n
Outside was a dim mechanical passage stretching so far that even its end was swallowed by darkness, the air filled with faint crackles of arcing electricity—
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hmm~ this floor… the oxygen level is really low.”
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol glanced at the detector on her wrist, her expression growing just a little more serious.\n
She lifted her light, stepping forward with careful precision.\n
“This place is probably the ‘<span style="color:#b854d6;">Corrosion Zone</span>.’”
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“‘<span style="color:#b854d6;">Corrosion Zone</span>’…?”\n
She quickened her pace to keep close to Takol, unease tinging her voice.
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Some outer walls of the <span style="color:#d99ecc;">MotherArk</span> were corroded by the <span style="color:#d6482f;">Calamity</span>, and the holes let the oxygen leak out—so the entire floor ends up with thin air.”\n
Takol kicked aside a fallen metal component as she walked.\n
“Places like this are usually called the <span style="color:#b854d6;">Corrosion Zone</span>.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Low oxygen… w-will it be dangerous?”\n
For some reason, the word alone stirred instinctive fear inside her.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hah! You really react just like a <span style="color:#d6482f;">human</span>.”\n
She raised the lamp in her hand, her smile illuminated in the glow.\n
“Don’t worry, it doesn’t affect us <span style="color:#00FF00;">Children of the Ark</span> at all. What we *should* worry about is—”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
The crackling suddenly grew louder.\n
“—the contamination left behind by those <span style="color:#d6482f;">Calamity</span> creatures.”\n
`>>
<<typewriter $text 40>>
<<bgm "machinery-hum.mp3">>
<<LoadSequence "A_route_battle_First" true>>::CHUNK::
<<sfx "impact.mp3">>
<<set $text to `
Just as Takol was locked in combat with the enemy, Antaia seized the perfect moment and pierced straight through it.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“W-We took it down!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Nicely done, Antaia!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol took the chance to slam his massive metal limbs down, smashing the other two foes into pieces.\n
The black Machina twitched a few times before falling completely still.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Haa... that was so nerve-wracking...”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“For your first battle, that was a pretty impressive performance. You’ve got talent!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
After confirming that no more enemies were nearby, the two of them made their way back into the Transporter.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“What!?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<sfx "impact.mp3">>
<<set $text to `
Just as Antaia was about to strike, an enemy beside her suddenly thrust its sharp claw toward her.\n
Antaia’s Machina arm was pierced through.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ugh.......”\n
<span style="color:#d6482f;">[HP=1]</span>\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Antaia!?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol hurriedly drove back the enemies around her, swinging the metal limbs behind her toward the one attacking Antaia.\n
*Crack!*
The enemy whose claw was embedded in Antaia’s arm was knocked to the ground.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol… thank you......”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Honestly, be more careful, will you?”\n
She stomped and crushed the enemy’s head, and the remaining foes were quickly dealt with by Takol.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol, you’re amazing.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Heh, it’s all just practice~ Anyway, let’s head back to the Transporter for now. I’ll give you some quick first aid.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
After confirming there were no more enemies nearby, the two returned to the Transporter.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "starhall">>
<<run change_level("F" + $current_floor + "_The Astral Hallway")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Astral Hallway]</span></span>
<<bgm "the_grey_machina.mp3">>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ah, we finally made it—”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `\n
With a dull thud, the doors of the Floor Transporter slowly slid open.\n
The two stepped out of the cabin, only to be greeted by a sight entirely different from the floors they had seen before.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `\n
Pristine white metal walls shimmered faintly under the gentle lighting.\n
The entire floor was shaped like a cylindrical chamber, its hollow central area encircled by towering ring-shaped structural walls.\n
Along the outer wall, a series of curved, large glass windows lined up neatly, each reflecting the<span style="color:#8bd6d9;"> cosmic scenery</span> beyond.\n
Stars twinkled silently in the boundless darkness, as though they were close enough to touch.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `\n
Through the glass, Antaia could clearly see the view outside the vessel—\n
—an endlessly vast <span style="color:#8bd6d9;">expanse of space</span>.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“W-wow… it’s beautiful.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Antaia walked toward the enormous curved windows on the outer side.\n
She lifted her hand, gently pressing her fingertips against the cold, transparent surface.\n
`>><<typewriter $text 40>>
<img src="Antaia_eye.png" class="fadein">
::CHUNK::
<<set $text to `
In the instant she touched it, the starlight beyond the glass reflected into her mechanical irises.\n
`>><<typewriter $text 40>>
<img src="space_1.png" class="fadein">
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Surprised?”\n
The twin-tailed Machina girl walked up beside her with a cheerful grin.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“This is <span style="color:#8bd6d9;">space</span>, you know. F15 is outside the <span style="color:#8bd6d9;">atmosphere</span>, so you can see the starfield really clearly.”\n
She tapped lightly on the glass window.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“This is the first of the <span style="color:#d6b254;">Anchor Floors</span>. I come here sometimes to relax. It really helps clear the mind.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Antaia continued gazing outside, when suddenly—\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="space_2.png" class="fadein">
<<bgm "space_horror.mp3">>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Hm? That is…”\n
Her gaze drifted downward, catching sight of the enormous mechanical body on the exterior of the <span style="color:#d99ecc;">MotherArk</span>.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="space_2.png" class="fadein">
<<set $text to `
The colossal steel structure stretched outward like an endless wall, yet its surface was scarred with marks of corrosion.\n
Farther away, massive fragments of ancient constructions floated through space, each stained with an eerie, corrosive black substance.\n
As though something had gnawed them apart.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“That’s the outer shell of the <span style="color:#d99ecc;">MotherArk</span>, along with remnants left behind by the The Old Epoch.”\n
Takol spoke casually, as though this scenery was nothing unusual.\n
“Most of what you see has already been swallowed by the <span style="color:#d6482f;">Calamity</span>. The MotherArk has been seriously corroded as well.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I see…”\n
Antaia kept her eyes on the view beyond the window.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol, meanwhile, walked over to a nearby automatic supply dispenser and pressed a few buttons with practiced ease.\n
The machine made a soft “pop” sound, spitting out several neatly packaged snacks.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<bgm "the_grey_machina.mp3">>
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“There are supplies here—want some?”\n
She casually tore open one corner of a package and held it out toward Antaia.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah, thank you!”\n
Antaia reached out and picked up a piece of the snack shimmering with tiny arcs of electricity.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“It’s surprisingly delicious.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
<span style="color:#d6bc54;">[hp+30!]</span>\n`>>
<<typewriter $text 40>>
<<set _hpA to getHP("Antaia") + 30>>
<<set_hp Antaia _hpA>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Right? I knew you’d love the Electronic Snack Set here.”\n
Takol chuckled, reaching out to grab a piece for himself.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="space_1.png" class="fadein">
<<set $text to `
The two of them snacked leisurely as they gazed out into the vast cosmos.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Mm… Takol, do you think I’ll really be able to recover my memories?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Who knows? Maybe you won’t get them back at all.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh…?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hah, just kidding~ Come on, with scenery this beautiful, it’s better not to overthink things. Just relax for now.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Oh right, Antaia—do you know why I like this layer so much?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Hmm… Because the view is really pretty?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Exactly. Inside the <span style="color:#d99ecc;">Ark</span>, every machine has its own duty or function. Some might be hostile <span style="color:#d6482f;">Corrupted Mechanica</span>, and some might be <span style="color:#d99ecc;">Children of the Ark</span> like us.”\n
“But at least on this layer, everyone can simply relax and enjoy the starry sky together.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“That’s true…”\n
Antaia felt that this scene would forever remain in her memory.\n
(Such a beautiful sight… I mustn’t forget it again—)\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
The two continued resting beneath the starlit sky,\n
and after some time, they set off on their journey once more.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::battle_round
::CHUNK::
<<set $heroName = "赫妮娅">>
<<set $enemyName = "廢墟機械">>
<<set $heroCardId = 4>> /* 強化機械觸手 */
<<set $enemyCardId = 1>> /* 咬合 */
<<set $heroAtk = 0>>
<<set $enemyAtk = 0>>
<<set _result = setup.opposedRoll({
aName: $heroName,
bName: $enemyName,
aCardId: $heroCardId,
bCardId: $enemyCardId,
aAtkBonus: $heroAtk,
bAtkBonus: $enemyAtk
})>>
<<set $text = '[戰鬥開始!]\n\n' +
'[' + $heroName + '] 對 ' + $enemyName + ' 使用 [' + setup.getCard($heroCardId).name + ']!\n' +
'[' + $enemyName + '] 對 ' + $heroName + ' 使用 [' + setup.getCard($enemyCardId).name + ']!\n\n' +
_result.log >>
<<typewriter $text 40>>[Battle Start!]
<<set $heroName = "赫妮娅">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 2, 4], atk: 0, hp: 4, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "废墟机械A", idKey: "ruinA", cardSet: [0, 1], atk: 0, hp: 10, image: "mons1.png" },
{ name: "废墟机械B", idKey: "ruinB", cardSet: [0, 1], atk: 0, hp: 8, image: "mons2.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
<<set $turn = $turn + 1>>
/* Chunk1:敌方准备(本回合要用的卡) */
<<set $battle = $battle>>
<<set $heroChoiceIndex = -1>>
<<set $targetEnemyIndex = -1>>
/* 新回合開始:準備敵人&Ally的本回合卡牌 */
<<run setup.prepareRoundCards()>>
/* 只顯示敵方準備(不要顯示我方/牌庫) */
<<set $enemy_text_array = setup.getEnemyPreviewHtml()>>
<<if $turn >= 0>>
<<set $text to `<span style="color:#FF0000;"><span class="shake">[Enemy Turn!]</span></span>
`>>
<<typewriter $text 40>>
<</if>>
<div class="enemy-row">
<<for _i = 0; _i lt $enemy_text_array.length; _i++>>
<div class="enemy-block">
<<set $text = $enemy_text_array[_i]>>
<<typewriter $text 30>>
</div>
<</for>>
</div>
::CHUNK::
/* Chunk2:我方行动:只顯示主角 + 牌庫/棄牌 + 選技能(暫時不選目標) */
<<set $battle = $battle>>
/* 抽主角可選 3 張(不消耗) */
<<run setup.drawHeroChoicesMulti(3)>>
<<set $choices = $battle.heroChoices>>
<<set $heroChoiceIndex = -1>>
/* 主角資訊(只顯示主角,不顯示隊友和敵人) */
<<set _hero = $battle.hero>>
<<set _heroImg = "">>
<<if _hero.image>>
<<set _heroImg = '<img src="' + _hero.image + '" class="battle-portrait"> '>>
<</if>>
<<set $text = `<span style="color:#84fffb;">【Our Action】</span>\n\n` +
_heroImg + _hero.name + ` HP: ` + _hero.hp + `/` + _hero.maxHP + `\n\n` +
setup.getHeroDeckText() + `\n\n` +
`Please choose a skill/card to use:` >>
<<typewriter $text 10>>
/* 技能三選一(這裡只選技能,不選目標) */
<<if $choices.length >= 1>>
<<set _card0 = setup.getCard($choices[0])>>
<<set _label0 = "[" + _card0.name + ": " + _card0.dice.join(", ") + "]">>
<span class="fadein">
<<link _label0>>
<<set $heroChoiceIndex = 0>>
<</link>>
</span>
<</if>>
<<if $choices.length >= 2>>
<<set _card1 = setup.getCard($choices[1])>>
<<set _label1 = "[" + _card1.name + ": " + _card1.dice.join(", ") + "]">>
<span class="fadein">
<<link _label1>>
<<set $heroChoiceIndex = 1>>
<</link>>
</span>
<</if>>
<<if $choices.length >= 3>>
<<set _card2 = setup.getCard($choices[2])>>
<<set _label2 = "[" + _card2.name + ": " + _card2.dice.join(", ") + "]">>
<span class="fadein">
<<link _label2>>
<<set $heroChoiceIndex = 2>>
<</link>>
</span>
<</if>>
::CHUNK::
/* Chunk3:已選技能 -> 顯示一次 + 選擇攻擊目標 */
<<set $battle = $battle>>
<<if $heroChoiceIndex < 0>>
<<set $text = `No skill selected yet. Please go back and choose again.`>>
<<typewriter $text 40>>
<<EndSequence>>
<<LoadSequence "battle_multi_playerTurn" true>>
<<else>>
<<set _chosenCardId = $battle.heroChoices[$heroChoiceIndex]>>
<<set _chosenCard = setup.getCard(_chosenCardId)>>
<<set _chosenName = _chosenCard ? _chosenCard.name : "Unknown Card">>
<<set _chosenDice = _chosenCard and _chosenCard.dice ? _chosenCard.dice.join(", ") : "">>
<<set $targetEnemyIndex = -1>>
<<set $text = `Skill Selected: [` + _chosenName + `: ` + _chosenDice + `]\n\nPlease choose your target:` >>
<<typewriter $text 40>>
/* 只顯示敵人列表給選擇目標(最多 5 個) */
/* index 0 */
<<if $battle.enemies[0] and $battle.enemies[0].hp > 0>>
<<set _labelE0 = "[" + $battle.enemies[0].name + " HP: " + $battle.enemies[0].hp + "/" + $battle.enemies[0].maxHP + "]">>
<<link _labelE0>>
<<set $targetEnemyIndex = 0>>
<</link>>
<</if>>
/* index 1 */
<<if $battle.enemies[1] and $battle.enemies[1].hp > 0>>
<<set _labelE1 = "[" + $battle.enemies[1].name + " HP: " + $battle.enemies[1].hp + "/" + $battle.enemies[1].maxHP + "]">>
<<link _labelE1>>
<<set $targetEnemyIndex = 1>>
<</link>>
<</if>>
/* index 2 */
<<if $battle.enemies[2] and $battle.enemies[2].hp > 0>>
<<set _labelE2 = "[" + $battle.enemies[2].name + " HP: " + $battle.enemies[2].hp + "/" + $battle.enemies[2].maxHP + "]">>
<<link _labelE2>>
<<set $targetEnemyIndex = 2>>
<</link>>
<</if>>
/* index 3 */
<<if $battle.enemies[3] and $battle.enemies[3].hp > 0>>
<<set _labelE3 = "[" + $battle.enemies[3].name + " HP: " + $battle.enemies[3].hp + "/" + $battle.enemies[3].maxHP + "]">>
<<link _labelE3>>
<<set $targetEnemyIndex = 3>>
<</link>>
<</if>>
/* index 4 */
<<if $battle.enemies[4] and $battle.enemies[4].hp > 0>>
<<set _labelE4 = "[" + $battle.enemies[4].name + " HP: " + $battle.enemies[4].hp + "/" + $battle.enemies[4].maxHP + "]">>
<<link _labelE4>>
<<set $targetEnemyIndex = 4>>
<</link>>
<</if>>
<</if>>
::CHUNK::
/* Chunk4:主角 vs 敌人 */
<<set $battle = $battle>>
<<run $res = setup.conflict({
attacker: $battle.hero,
defender: $battle.enemies[$targetEnemyIndex],
attackerCardId: _chosenCardId,
defenderCardId: $battle.enemyRoundCards[$targetEnemyIndex]
})>>
<<set $rounds = $res.rounds>>
<<set $i = 0>>
<<LoadSequence "battle_round_loop" true>>/* ----- 回合顯示 ----- */
<<= "----- Round " + $r.index + " -----" >><br>
/* 防守者資訊 */
<div class="battle-outer">
<div class="portrait-col">
<<if $r.defender.hit == 0>>
<img @src="$r.defender.img"
class="battle-portrait fadein"
data-interact-class-after="battle-portrait hit">
<<sfx_interact "damage.mp3">>
<<else>>
<img @src="$r.defender.img" class="battle-portrait fadein">
<</if>>
<!-- HP under the image -->
<div class="hp-block">
<<set $diff2 = $r.defender.after_hp - $r.defender.pre_hp>>
<<if $diff2 == 0>>
HP:<<count_down $r.defender.pre_hp $r.defender.after_hp 100>>
<<elseif $diff2 > 0>>
HP:<<count_down $r.defender.pre_hp $r.defender.after_hp 100>>
<span
data-interact-text-after="$diff2"
data-interact-color="#42f72a"
> </span>
<<else>>
HP:<<count_down $r.defender.pre_hp $r.defender.after_hp 100>>
<span
data-interact-text-after="$diff2"
data-interact-color="#f72a2a"
> </span>
<</if>>
</div>
</div>
<!-- Info to the right of the centered portrait -->
<div class="battle-info left-info">
Unit:<<=$r.defender.name>><br>
Card:<<=$r.defender.card>><br>
Roll:<<glitch $r.defender.roll>> / d<<=$r.defender.diceMax>>
<<if $r.defender.hit == 0>>
<span
data-interact-text-after="Lose!"
data-interact-color="#f72a2a"
> </span>
<<elseif $r.defender.hit == 1>>
<span
data-interact-text-after="Win!"
data-interact-color="#42f72a"
> </span>
<<elseif $r.defender.hit == 2>>
<span
data-interact-text-after="Draw!"
data-interact-color="#3b79f5"
> </span>
<</if>>
</div>
</div>
\n
\n
/* 攻擊者資訊 */
<div class="battle-outer">
<div class="portrait-col">
/* 攻擊者圖片 */
<<if $r.attacker.hit == 0>>
<img @src="$r.attacker.img"
class="battle-portrait fadein"
data-interact-class-after="battle-portrait hit">
<<sfx_interact "damage.mp3">>
<<else>>
<img @src="$r.attacker.img" class="battle-portrait fadein">
<</if>>
<!-- HP under the image -->
<div class="hp-block">
<<set $diff = $r.attacker.after_hp - $r.attacker.pre_hp>>
<<if $diff == 0>>
HP:<<count_down $r.attacker.pre_hp $r.attacker.after_hp 100>>
<<elseif $diff > 0>>
HP:<<count_down $r.attacker.pre_hp $r.attacker.after_hp 100>>
<span
data-interact-text-after="$diff"
data-interact-color="#42f72a"
> </span>
<<else>>
HP:<<count_down $r.attacker.pre_hp $r.attacker.after_hp 100>>
<span
data-interact-text-after="$diff"
data-interact-color="#f72a2a"
> </span>
<</if>>
</div>
</div>
<!-- Info to the right of the centered portrait -->
<div class="battle-info right-info">
Unit:<<=$r.attacker.name>><br>
Card:<<=$r.attacker.card>><br>
Roll:<<glitch $r.attacker.roll>> / d<<=$r.attacker.diceMax>>
<<if $r.attacker.hit == 0>>
<span
data-interact-text-after="Lose!"
data-interact-color="#f72a2a"
> </span>
<<elseif $r.attacker.hit == 1>>
<span
data-interact-text-after="Win!"
data-interact-color="#42f72a"
> </span>
<<elseif $r.attacker.hit == 2>>
<span
data-interact-text-after="Draw!"
data-interact-color="#3b79f5"
> </span>
<</if>>
</div>
</div>
/* ⭐ 如果在隊友行動後戰鬥已經結束,就直接在這裡收尾,不再進入「敵人行動」那個 chunk */
<<if $battle.finished>>
<<if $battle.winner == "ally" && $r.defender.after_hp <= 0>>
<<set_hp "Antaia" $battle.hero.hp>>
<<set $temp = "battle_victory_" + $battle_id>>
<<LoadSequence $temp true>>
<<elseif $battle.winner == "enemy" && $r.attacker.after_hp <= 0>>
<<set_hp "Antaia" $battle.hero.hp>>
<<set_hp "Antaia" $battle.hero.hp>>
<<set $temp = "battle_defeat_" + $battle_id>>
<<LoadSequence $temp true>>
<</if>>
<</if>>
::CHUNK::
<<LoadSequence "battle_round_loop" false>><<if $i < $rounds.length>>
<<set $r = $rounds[$i]>>
<<set $i = $i + 1>>
<<LoadSequence "battle_round" false>>
<<elseif $battle.allies[0].hp > 0>>
<<set $i = 0>>
/* 只有一名隊友 → 直接拿 allies[0] */
<<set $ally = $battle.allies[0]>>
/* 找一個還活著的敵人索引 */
<<set $enemyIndex = setup.getRandomAliveEnemyIndex()>>
/* 確認真的有敵人再開打,避免 enemyIndex 無效 */
<<if $enemyIndex >= 0>>
<<run $res = setup.conflict({
attacker: $ally,
defender: $battle.enemies[$enemyIndex],
attackerCardId: $battle.allyRoundCards[0],
defenderCardId: $battle.enemyRoundCards[$enemyIndex]
})>>
<<set $rounds = $res.rounds>>
<<LoadSequence "ally_battle_loop" true>>
<<else>>
/* 沒有存活敵人就不打了 */
<</if>>
<<else>>
/*teammate dead*/
<<LoadSequence "battle_multi_playerTurn" true>>
<</if>>
<<if $i < $rounds.length>>
<<set $r = $rounds[$i]>>
<<set $i = $i + 1>>
<<LoadSequence "battle_round_ally" false>>
<<else>>
<<LoadSequence "battle_multi_playerTurn" false>>
<</if>>/* ----- 回合顯示 ----- */
<<= "----- Round " + $r.index + " -----" >><br>
/* 防守者資訊 */
<div class="battle-outer">
<div class="portrait-col">
<<if $r.defender.hit == 0>>
<img @src="$r.defender.img"
class="battle-portrait fadein"
data-interact-class-after="battle-portrait hit">
<<sfx_interact "damage.mp3">>
<<else>>
<img @src="$r.defender.img" class="battle-portrait fadein">
<</if>>
<!-- HP under the image -->
<div class="hp-block">
<<set $diff2 = $r.defender.after_hp - $r.defender.pre_hp>>
<<if $diff2 == 0>>
HP:<<count_down $r.defender.pre_hp $r.defender.after_hp 100>>
<<elseif $diff2 > 0>>
HP:<<count_down $r.defender.pre_hp $r.defender.after_hp 100>>
<span
data-interact-text-after="$diff2"
data-interact-color="#42f72a"
> </span>
<<else>>
HP:<<count_down $r.defender.pre_hp $r.defender.after_hp 100>>
<span
data-interact-text-after="$diff2"
data-interact-color="#f72a2a"
> </span>
<</if>>
</div>
</div>
<!-- Info to the right of the centered portrait -->
<div class="battle-info left-info">
Unit:<<=$r.defender.name>><br>
Card:<<=$r.defender.card>><br>
Roll:<<glitch $r.defender.roll>> / d<<=$r.defender.diceMax>>
<<if $r.defender.hit == 0>>
<span
data-interact-text-after="Lose!"
data-interact-color="#f72a2a"
> </span>
<<elseif $r.defender.hit == 1>>
<span
data-interact-text-after="Win!"
data-interact-color="#42f72a"
> </span>
<<elseif $r.defender.hit == 2>>
<span
data-interact-text-after="Draw!"
data-interact-color="#3b79f5"
> </span>
<</if>>
</div>
</div>
\n
\n
/* 攻擊者資訊 */
<div class="battle-outer">
<div class="portrait-col">
/* 攻擊者圖片 */
<<if $r.attacker.hit == 0>>
<img @src="$r.attacker.img"
class="battle-portrait fadein"
data-interact-class-after="battle-portrait hit">
<<sfx_interact "damage.mp3">>
<<else>>
<img @src="$r.attacker.img" class="battle-portrait fadein">
<</if>>
<!-- HP under the image -->
<div class="hp-block">
<<set $diff = $r.attacker.after_hp - $r.attacker.pre_hp>>
<<if $diff == 0>>
HP:<<count_down $r.attacker.pre_hp $r.attacker.after_hp 100>>
<<elseif $diff > 0>>
HP:<<count_down $r.attacker.pre_hp $r.attacker.after_hp 100>>
<span
data-interact-text-after="$diff"
data-interact-color="#42f72a"
> </span>
<<else>>
HP:<<count_down $r.attacker.pre_hp $r.attacker.after_hp 100>>
<span
data-interact-text-after="$diff"
data-interact-color="#f72a2a"
> </span>
<</if>>
</div>
</div>
<!-- Info to the right of the centered portrait -->
<div class="battle-info right-info">
Unit:<<=$r.attacker.name>><br>
Card:<<=$r.attacker.card>><br>
Roll:<<glitch $r.attacker.roll>> / d<<=$r.attacker.diceMax>>
<<if $r.attacker.hit == 0>>
<span
data-interact-text-after="Lose!"
data-interact-color="#f72a2a"
> </span>
<<elseif $r.attacker.hit == 1>>
<span
data-interact-text-after="Win!"
data-interact-color="#42f72a"
> </span>
<<elseif $r.attacker.hit == 2>>
<span
data-interact-text-after="Draw!"
data-interact-color="#3b79f5"
> </span>
<</if>>
</div>
</div>
/* ⭐ 如果在隊友行動後戰鬥已經結束,就直接在這裡收尾,不再進入「敵人行動」那個 chunk */
<<if $battle.finished>>
<<if $battle.winner == "ally" && $r.defender.after_hp <= 0>>
<<set_hp "Antaia" $battle.hero.hp>>
<<set $temp = "battle_victory_" + $battle_id>>
<<LoadSequence $temp true>>
<<elseif $battle.winner == "enemy" && $r.attacker.after_hp <= 0>>
<<set_hp "Antaia" $battle.hero.hp>>
<<set_hp "Antaia" $battle.hero.hp>>
<<set $temp = "battle_defeat_" + $battle_id>>
<<LoadSequence $temp true>>
<</if>>
<</if>>
::CHUNK::
<<LoadSequence "ally_battle_loop" false>>::CHUNK::
-----Victory!-----
::CHUNK::
<<set $add_hp to random(0,8) + 2>>
Acquired <span style="color:#ff5b5b;">HP</span>: $add_hp
<<set _oldMax to window.getMaxHP("Antaia")>>
<<set _newMax to _oldMax + $add_hp>>
<<set_max_hp "Antaia" _newMax>>
<br>
<<set $text to `
<span style="color:#d6bc54;">[hp+10!]</span>\n`>>
<<typewriter $text 40>>
<<set _hpA to getHP("Antaia") + 10>>
<<set_hp Antaia _hpA>>
::CHUNK::
<<set $reward to random(0,200) + 60>>
Acquired <span style="color:#acc6ee;">mech parts</span>: $reward
<br>
<<set $mech_parts = $mech_parts + $reward>>
Current <span style="color:#acc6ee;">mech parts</span>: $mech_parts
\n
<<set $rewardHandled = false>>
<<set $rewardAdded = false>>
<<gacha_card 0 "rewardCardId">>
<<if $rewardCardId isnot null>>
<<set _card = setup.getCard($rewardCardId)>>
<<set $rewardHandled = ($rewardHandled || false)>> <!-- Initialize flag -->
<<set _diceText = (_card && _card.dice) ? _card.dice.join(", ") : "">>
The enemy dropped a card: <<= _card.name >>! <br>
Dice Value(s): [<<= _diceText >>] <br><br>
<<if not $rewardHandled>>
Add it to your deck?<br><br>
<span class="fadein">
<<link "[Yes]">>
/* Call the macro that adds the card to the protagonist’s permanent deck */
<<add_card $rewardCardId>>
/* Mark as handled and chosen to add */
<<set $rewardHandled = true>>
<<set $rewardAdded = true>>
<</link>>
</span>
<</if>>
<span class="fadein">
<<link "[No]">>
/* Mark as handled and chosen to reject */
<<set $rewardHandled = true>>
<<set $rewardAdded = false>>
<</link>>
</span>
<<else>>
Unfortunately, the enemy dropped nothing…
<</if>>
::CHUNK::
<<if $rewardAdded>>
<<typewriter "(Card added to deck)" 40>>
<<else>>
<<typewriter "(No changes to the deck)" 40>>
<</if>>
\n
\n
------------------
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
-----Lose-----
<<set_hp "Antaia" 1>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<<run elevator_stop()>>
<<set $luck = 0>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "f1_hallway">>
<<run change_level("F" + $current_floor + "_The Corrosion")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Corrosion]</span></span>
::CHUNK::
<<bgm "machina_battle.mp3">>
<<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt…...."</span></span>`>><<typewriter $text 40>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt……...."</span></span>`>><<typewriter $text 10>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">"Kzzzt……"</span></span>`>><<typewriter $text 40>>
<<set $battle_id = "n1">>
<<set $heroName = "Antaia">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 6, 7, 14, 3], atk: 0, hp: 20, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "Ruin Machina A", idKey: "ruinA", cardSet: [0, 0, 0, 1], atk: 0, hp: 10, image: "mons1.png" },
{ name: "Ruin Machina B", idKey: "ruinB", cardSet: [0, 0, 0, 6], atk: 0, hp: 8, image: "mons2.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
<<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt…...."</span></span>`>><<typewriter $text 40>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt……...."</span></span>`>><<typewriter $text 10>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">"Kzzzt……"</span></span>`>><<typewriter $text 40>>
::CHUNK::
<<set $text to `
From deep within the passage came the scrape of metal dragging against the floor… and the sound of something crawling. `>> <<typewriter $text 40>>
::CHUNK::
<<set $text to `
In the next instant—several sharp <span style="color:#FF0000;"><span class="shake">red gleams</span></span> lit up the darkness. `>> <<typewriter $text 40>>
::CHUNK::
<img src="mons1.png" class="fadein"> <img src="mons2.png" class="fadein"> <img src="mons3.png" class="fadein">
::CHUNK::
<<bgm "machina_battle.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">[Enemy Units Detected!]</span></span>
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“…Wow, they sure picked the perfect time to show up.”\n
A hint of mischief tugged at the corner of Takol’s mouth, but her eyes were already turning sharp.\n
“Antaia, get ready to fight.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<sfx "equip.mp3">>
<<set $text to `
As her words fell—\n
The massive pincer-like mechanism on her back snapped open with a metallic *click*, streams of orange energy coursing along its edges.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“F-Fight!? What am I supposed to do—?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Just use the weapons built into your body and knock them out~ It’s super easy!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I… I’ll do my best!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
She took a deep breath and lifted her hands.\n
Her body seemed to respond to the command of “battle”—the armor on her back and joints gently sliding open with several thin gaps.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Black wires slowly extended from the gaps, moving like living creatures. \n
There weren’t many, but each one slithered through the air with uncanny agility.\n
Faint blue pulses flickered along their surfaces, like nervous signals dancing in the dark.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Antaia aimed the wires at the approaching contaminated mechanical creatures—
`>>
<<typewriter $text 40>>
\n
::CHUNK::
<<set $text to `
Her body acted purely on instinct, executing the motion of <span style="color:#FF0000;">“combat”</span>.
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
<span style="color:#72dbff;">======Battle Start======</span>
`>>
<<typewriter $text 40>>
<<set $battle_id = "First">>
<<set $heroName = "Antaia">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 6, 7, 14, 3], atk: 0, hp: 20, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "Ruin Machina A", idKey: "ruinA", cardSet: [0, 0, 0, 7], atk: 0, hp: 7, image: "mons1.png" },
{ name: "Ruin Machina B", idKey: "ruinB", cardSet: [0, 0, 0, 7], atk: 0, hp: 8, image: "mons2.png" },
{ name: "Ruin Machina C", idKey: "ruinB", cardSet: [0, 0, 0, 1], atk: 0, hp: 9, image: "mons3.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
-----Victory!-----
::CHUNK::
<<set $add_hp to random(0,8) + 2>>
Acquired <span style="color:#ff5b5b;">HP</span>: $add_hp
<<set _oldMax to window.getMaxHP("Antaia")>>
<<set _newMax to _oldMax + $add_hp>>
<<set_max_hp "Antaia" _newMax>>
<br>
<<set $text to `
<span style="color:#d6bc54;">[hp+10!]</span>\n`>>
<<typewriter $text 40>>
<<set _hpA to getHP("Antaia") + 10>>
<<set_hp Antaia _hpA>>
::CHUNK::
<<set $reward to random(0,50) + 10>>
Acquired <span style="color:#acc6ee;">mech parts</span>: $reward
\n
<<set $mech_parts = $mech_parts + $reward>>
Current <span style="color:#acc6ee;">mech parts</span>: $mech_parts
\n
<<set $luck = 0>>
<<set $rewardHandled = false>>
<<set $rewardAdded = false>>
<<gacha_card 0 "rewardCardId">>
<<if $rewardCardId isnot null>>
<<set _card = setup.getCard($rewardCardId)>>
<<set $rewardHandled = ($rewardHandled || false)>> <!-- Initialize flag -->
<<set _diceText = (_card && _card.dice) ? _card.dice.join(", ") : "">>
The enemy dropped a card: <<= _card.name >>! <br>
Dice Value(s): [<<= _diceText >>] <br><br>
<<if not $rewardHandled>>
Add it to your deck?<br><br>
<span class="fadein">
<<link "[Yes]">>
/* Call the macro that adds the card to the protagonist’s permanent deck */
<<add_card $rewardCardId>>
/* Mark as handled and chosen to add */
<<set $rewardHandled = true>>
<<set $rewardAdded = true>>
<</link>>
</span>
<</if>>
<span class="fadein">
<<link "[No]">>
/* Mark as handled and chosen to reject */
<<set $rewardHandled = true>>
<<set $rewardAdded = false>>
<</link>>
</span>
<<else>>
Unfortunately, the enemy dropped nothing…
<</if>>
::CHUNK::
<<if $rewardAdded>>
<<typewriter "(Card added to deck)" 40>>
<<else>>
<<typewriter "(No changes to the deck)" 40>>
<</if>>
\n
\n
------------------
::CHUNK::
<<sfx "impact.mp3">>
<<set $text to `
Just as Takol was locked in combat with the enemy, Antaia seized the perfect moment and pierced straight through it.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“W-We took it down!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Nicely done, Antaia!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol took the chance to slam his massive metal limbs down, smashing the other two foes into pieces.\n
The black Machina twitched a few times before falling completely still.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Haa... that was so nerve-wracking...”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“For your first battle, that was a pretty impressive performance. You’ve got talent!”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
After confirming that no more enemies were nearby, the two of them made their way back into the Transporter.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
-----Defeat-----
<<set_hp "Antaia" 1>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“What!?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<sfx "impact.mp3">>
<<set $text to `
Just as Antaia was about to strike, an enemy beside her suddenly thrust its sharp claw toward her.\n
Antaia’s Machina arm was pierced through.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ugh.......”\n
<span style="color:#d6482f;">[HP=1]</span>\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Antaia!?”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol hurriedly drove back the enemies around her, swinging the metal limbs behind her toward the one attacking Antaia.\n
*Crack!*
The enemy whose claw was embedded in Antaia’s arm was knocked to the ground.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol… thank you......”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Honestly, be more careful, will you?”\n
She stomped and crushed the enemy’s head, and the remaining foes were quickly dealt with by Takol.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol, you’re amazing.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Heh, it’s all just practice~ Anyway, let’s head back to the Transporter for now. I’ll give you some quick first aid.”\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
After confirming there were no more enemies nearby, the two returned to the Transporter.\n
`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
[Module Manufacturing Workshop]
\n
Current mech_parts: <<=$mech_parts>><br><br>
/* Initialization: draw cards only on first entry / shop reload */
<<if not $shopHasItems>>
<<set $shopHasItems = true>>
/* Three gacha pulls with different luck values */
<<gacha_card 0 "shopItem1Id">>
<<gacha_card 50 "shopItem2Id">>
<<gacha_card 100 "shopItem3Id">>
/* Reset purchase state and messages */
<<set $shopItem1Bought = false>>
<<set $shopItem2Bought = false>>
<<set $shopItem3Bought = false>>
<<set $shopMessage = "">>
<</if>>
/* Retrieve cards and calculate price (Price = 68.5 × (1 / drop_rate)^0.6) */
/* Item 1 */
<<set _card1 = ($shopItem1Id isnot null) ? setup.getCard($shopItem1Id) : null>>
<<if _card1>>
<<set _drop1 = _card1.drop_rate>>
<<set $shopPrice1 = Math.round(68.5 * Math.pow(1 / _drop1, 0.6))>>
<<set _dice1 = _card1.dice ? _card1.dice.join(", ") : "">>
<<else>>
<<set $shopPrice1 = 0>>
<<set _dice1 = "—">>
<</if>>
/* Item 2 */
<<set _card2 = ($shopItem2Id isnot null) ? setup.getCard($shopItem2Id) : null>>
<<if _card2>>
<<set _drop2 = _card2.drop_rate>>
<<set $shopPrice2 = Math.round(68.5 * Math.pow(1 / _drop2, 0.6))>>
<<set _dice2 = _card2.dice ? _card2.dice.join(", ") : "">>
<<else>>
<<set $shopPrice2 = 0>>
<<set _dice2 = "—">>
<</if>>
/* Item 3 */
<<set _card3 = ($shopItem3Id isnot null) ? setup.getCard($shopItem3Id) : null>>
<<if _card3>>
<<set _drop3 = _card3.drop_rate>>
<<set $shopPrice3 = Math.round(68.5 * Math.pow(1 / _drop3, 0.6))>>
<<set _dice3 = _card3.dice ? _card3.dice.join(", ") : "">>
<<else>>
<<set $shopPrice3 = 0>>
<<set _dice3 = "—">>
<</if>>
<div class="shop-list">
<!-- Item 1 Display -->
<div class="shop-item">
Item1:
<<if _card1>>
[<<=_card1.name>>] [<<=_dice1>>]
[price: <<=$shopPrice1>> mech parts]
<<else>>
[None]
<</if>>
<br>
<<if _card1>>
<<if not $shopItem1Bought>>
<<link "Purchase Item1">>
<<if $mech_parts >= $shopPrice1>>
<<set $mech_parts -= $shopPrice1>>
<<add_card $shopItem1Id>>
<<set $shopItem1Bought = true>>
<<set $shopMessage = "Purchased " + _card1.name + ", added to deck.">>
<<else>>
<<set $shopMessage = "You do not have enough mech parts to purchase " + _card1.name + ".">>
<</if>>
<</link>>
<<else>>
(Already Purchased)
<</if>>
<</if>>
</div>
<br>
<!-- Item 2 Display -->
<div class="shop-item">
Item2:
<<if _card2>>
[<<=_card2.name>>] [<<=_dice2>>]
[price: <<=$shopPrice2>> mech parts]
<<else>>
[None]
<</if>>
<br>
<<if _card2>>
<<if not $shopItem2Bought>>
<<link "Purchase Item2">>
<<if $mech_parts >= $shopPrice2>>
<<set $mech_parts -= $shopPrice2>>
<<add_card $shopItem2Id>>
<<set $shopItem2Bought = true>>
<<set $shopMessage = "Purchased " + _card2.name + ", added to deck.">>
<<else>>
<<set $shopMessage = "You do not have enough mech parts to purchase " + _card2.name + ".">>
<</if>>
<</link>>
<<else>>
(Already Purchased)
<</if>>
<</if>>
</div>
<br>
<!-- Item 3 Display -->
<div class="shop-item">
Item3:
<<if _card3>>
[<<=_card3.name>>] [<<=_dice3>>]
[price: <<=$shopPrice3>> mech parts]
<<else>>
[None]
<</if>>
<br>
<<if _card3>>
<<if not $shopItem3Bought>>
<<link "Purchase Item3">>
<<if $mech_parts >= $shopPrice3>>
<<set $mech_parts -= $shopPrice3>>
<<add_card $shopItem3Id>>
<<set $shopItem3Bought = true>>
<<set $shopMessage = "Purchased " + _card3.name + ", added to deck.">>
<<else>>
<<set $shopMessage = "You do not have enough mech parts to purchase " + _card3.name + ".">>
<</if>>
<</link>>
<<else>>
(Already Purchased)
<</if>>
<</if>>
</div>
</div>
<br>
::CHUNK::
<!-- Purchase result message -->
<<if $shopMessage and $shopMessage != "">>
<<= $shopMessage>><br><br>
<</if>>
Current mech_parts: <<=$mech_parts>><br><br>
Would you like to buy more?<br><br>
<<link "Yes, refresh the items">>
<<set $shopHasItems = false>>
<<set $shopMessage = "">>
<<LoadSequence "shop" true>>
<</link>>
<br>
<<link "No thanks, leave the Module Manufacturing Workshop">>
<<set $shopHasItems = false>>
<<set $shopMessage = "">>
<<EndSequence>>
<<LoadSequence "elevator" true>>
<</link>>::CHUNK::
<<set _heroName = "Antaia">>
<<set _cards = window.getCardSet(_heroName)>>
<<if _cards.length <= 1>>
You must have at least one card; removal cannot proceed.
<<set $processingMessage = "">>
<<else>>
Here are the cards you currently own:<br><br>
<<set $processingMessage = $processingMessage || "">>
/* slot 0 */
<<if _cards.length > 0>>
<<set _card0 = setup.getCard(_cards[0])>>
<<set _dice0 = _card0.dice ? _card0.dice.join(", ") : "">>
[<<=_card0.name>>] [<<=_dice0>>]
<<link "Remove">>
<<set _id0 = _cards[0]>>
<<run setup.remove_card(_id0)>>
<<set $processingMessage = _card0.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 1 */
<<if _cards.length > 1>>
<<set _card1 = setup.getCard(_cards[1])>>
<<set _dice1 = _card1.dice ? _card1.dice.join(", ") : "">>
[<<=_card1.name>>] [<<=_dice1>>]
<<link "Remove">>
<<set _id1 = _cards[1]>>
<<run setup.remove_card(_id1)>>
<<set $processingMessage = _card1.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 2 */
<<if _cards.length > 2>>
<<set _card2 = setup.getCard(_cards[2])>>
<<set _dice2 = _card2.dice ? _card2.dice.join(", ") : "">>
[<<=_card2.name>>] [<<=_dice2>>]
<<link "Remove">>
<<set _id2 = _cards[2]>>
<<run setup.remove_card(_id2)>>
<<set $processingMessage = _card2.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 3 */
<<if _cards.length > 3>>
<<set _card3 = setup.getCard(_cards[3])>>
<<set _dice3 = _card3.dice ? _card3.dice.join(", ") : "">>
[<<=_card3.name>>] [<<=_dice3>>]
<<link "Remove">>
<<set _id3 = _cards[3]>>
<<run setup.remove_card(_id3)>>
<<set $processingMessage = _card3.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 4 */
<<if _cards.length > 4>>
<<set _card4 = setup.getCard(_cards[4])>>
<<set _dice4 = _card4.dice ? _card4.dice.join(", ") : "">>
[<<=_card4.name>>] [<<=_dice4>>]
<<link "Remove">>
<<set _id4 = _cards[4]>>
<<run setup.remove_card(_id4)>>
<<set $processingMessage = _card4.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 5 */
<<if _cards.length > 5>>
<<set _card5 = setup.getCard(_cards[5])>>
<<set _dice5 = _card5.dice ? _card5.dice.join(", ") : "">>
[<<=_card5.name>>] [<<=_dice5>>]
<<link "Remove">>
<<set _id5 = _cards[5]>>
<<run setup.remove_card(_id5)>>
<<set $processingMessage = _card5.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 6 */
<<if _cards.length > 6>>
<<set _card6 = setup.getCard(_cards[6])>>
<<set _dice6 = _card6.dice ? _card6.dice.join(", ") : "">>
[<<=_card6.name>>] [<<=_dice6>>]
<<link "Remove">>
<<set _id6 = _cards[6]>>
<<run setup.remove_card(_id6)>>
<<set $processingMessage = _card6.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 7 */
<<if _cards.length > 7>>
<<set _card7 = setup.getCard(_cards[7])>>
<<set _dice7 = _card7.dice ? _card7.dice.join(", ") : "">>
[<<=_card7.name>>] [<<=_dice7>>]
<<link "Remove">>
<<set _id7 = _cards[7]>>
<<run setup.remove_card(_id7)>>
<<set $processingMessage = _card7.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 8 */
<<if _cards.length > 8>>
<<set _card8 = setup.getCard(_cards[8])>>
<<set _dice8 = _card8.dice ? _card8.dice.join(", ") : "">>
[<<=_card8.name>>] [<<=_dice8>>]
<<link "Remove">>
<<set _id8 = _cards[8]>>
<<run setup.remove_card(_id8)>>
<<set $processingMessage = _card8.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 9 */
<<if _cards.length > 9>>
<<set _card9 = setup.getCard(_cards[9])>>
<<set _dice9 = _card9.dice ? _card9.dice.join(", ") : "">>
[<<=_card9.name>>] [<<=_dice9>>]
<<link "Remove">>
<<set _id9 = _cards[9]>>
<<run setup.remove_card(_id9)>>
<<set $processingMessage = _card9.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 10 */
<<if _cards.length > 10>>
<<set _card10 = setup.getCard(_cards[10])>>
<<set _dice10 = _card10.dice ? _card10.dice.join(", ") : "">>
[<<=_card10.name>>] [<<=_dice10>>]
<<link "Remove">>
<<set _id10 = _cards[10]>>
<<run setup.remove_card(_id10)>>
<<set $processingMessage = _card10.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 11 */
<<if _cards.length > 11>>
<<set _card11 = setup.getCard(_cards[11])>>
<<set _dice11 = _card11.dice ? _card11.dice.join(", ") : "">>
[<<=_card11.name>>] [<<=_dice11>>]
<<link "Remove">>
<<set _id11 = _cards[11]>>
<<run setup.remove_card(_id11)>>
<<set $processingMessage = _card11.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 12 */
<<if _cards.length > 12>>
<<set _card12 = setup.getCard(_cards[12])>>
<<set _dice12 = _card12.dice ? _card12.dice.join(", ") : "">>
[<<=_card12.name>>] [<<=_dice12>>]
<<link "Remove">>
<<set _id12 = _cards[12]>>
<<run setup.remove_card(_id12)>>
<<set $processingMessage = _card12.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 13 */
<<if _cards.length > 13>>
<<set _card13 = setup.getCard(_cards[13])>>
<<set _dice13 = _card13.dice ? _card13.dice.join(", ") : "">>
[<<=_card13.name>>] [<<=_dice13>>]
<<link "Remove">>
<<set _id13 = _cards[13]>>
<<run setup.remove_card(_id13)>>
<<set $processingMessage = _card13.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
/* slot 14 */
<<if _cards.length > 14>>
<<set _card14 = setup.getCard(_cards[14])>>
<<set _dice14 = _card14.dice ? _card14.dice.join(", ") : "">>
[<<=_card14.name>>] [<<=_dice14>>]
<<link "Remove">>
<<set _id14 = _cards[14]>>
<<run setup.remove_card(_id14)>>
<<set $processingMessage = _card14.name + " has been removed from the deck.">>
<</link>><br>
<</if>>
<br>
<</if>>
::CHUNK::
<<if $processingMessage>>
<<= $processingMessage>><br><br>
<</if>>
Would you like to remove more cards?<br><br>
<<link "Yes, continue organizing">>
<<set $processingMessage = "">>
<<LoadSequence "module_processing" true>>
<</link>>
<<link "No, I'm done">>
<<set $processingMessage = "">>
<<EndSequence>>
<<LoadSequence "elevator" true>>
<</link>>
::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "city">>
<<run change_level("F" + $current_floor + "_The Children of the Ark Residential Zone")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Children of the Ark Residential Zone]</span></span>
<<bgm "town_of_machina.mp3">>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“We’re here!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="city_view.png" class="fadein">
::CHUNK::
<<set $text to `
As the Transporter’s doors slid open, a wave of lively chatter instantly poured into their ears.\n
Unlike the Lower Strata or the <span style="color:#8bd6d9;">Astral Hallway</span>, this place was a bustling marketplace.\n
\n
The streets were bright and spacious, the entire floor seemingly transformed into a circular living district.\n
Machina girls—<span style="color:#d99ecc;">Children of the Ark</span> who, like <span style="color:#FFB552;">Takol</span> and <span style="color:#66ccff;">Antaia</span>, bore mechanical features—shuttled through the crowd.\n
Some ran small shops, some chatted casually by the roadside, and others hurried past with armfuls of metal parts.\n
The air brimmed with the vibrant pulse of everyday life.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“W-waa... There are so many people...!”\n
She couldn’t help but widen her eyes.\n
The passing residents glanced at her curiously, but none seemed surprised—more like they were simply used to newly awakened Children of the Ark showing up.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Simta_idle.png" class="fadein"><<set $text to `<span style="color:#d6bc54;">[???]</span>\n
“Hey, you two!”\n
Just as Antaia was taking in the surroundings, a gray-haired girl approached.\n
She wore something resembling a guard’s uniform, holding a mechanized spear in hand.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ah, hello, Simta—”\n
Takol greeted her with a smile, but the girl didn’t acknowledge her at all.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Simta_idle.png" class="fadein"><<set $text to `<span style="color:#d6bc54;">[Simta]</span>\n
“Hmm...”\n
The guard girl—<span style="color:#d6bc54;">Simta</span>—quickly closed in on Antaia, staring intently at her face.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“W-what is it?”\n
Antaia instinctively leaned back a little.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Simta_idle.png" class="fadein"><<set $text to `<span style="color:#d6bc54;">[Simta]</span>\n
“Hey, Takol!”\n
Simta turned toward Takol.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“I’m right here!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Simta_idle.png" class="fadein"><<set $text to `<span style="color:#d6bc54;">[Simta]</span>\n
“Don’t tell me this <span style="color:#d99ecc;">Child of the Ark</span> came from the Lower Strata?\n
I told you *not* to bring random Machina up here! Did you forget!?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“But she looked so lonely all by herself... Besides, this is <span style="color:#d34355;">part of my duty...</span>”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Simta_idle.png" class="fadein"><<set $text to `<span style="color:#d6bc54;">[Simta]</span>\n
“Hmph! There you go again... Whatever duty you think you have—if it clashes with town regulations, it’s forbidden!”\n
“I’ll let it slide this time. But if any contamination happens in the Residential Zone, *you* will take full responsibility!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Okay~ got it!”\n
After managing to send the strict guard away, Takol turned back to Antaia with an apologetic expression.\n
“Sorry about that, Antaia. That girl’s one of the guards here. Since the <span style="color:#d6482f;">Contamination Period</span> is approaching, they’ve been tightening security lately.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Alrighty, follow me!”\n
Without hesitation, Takol grabbed Antaia’s hand and began weaving through the crowd.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah—w-wait…!”\n
She was practically pulled into a small run, trying her best to match Takol’s pace.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
………\n
After walking for a while, Takol stopped in front of a wooden-decorated stall.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Temeya~ we’re coming in!”\n
She knocked on the wooden door beside the counter.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
The door opened shortly after, revealing a young blue-haired woman.\n
Her left eye was covered with a bandage, and a thick brown cloth draped over her head like a traveler’s hood.\n
Strange devices adorned her long coat, and a huge pack hung from her back—she looked every bit like an adventurer or collector.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Takol, how did your exploration of the Lower Strata go?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hehe, I picked up something really good this time.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Hm? This young lady looks unfamiliar. She doesn’t seem like a resident here.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah, um...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Haha, I completely forgot to explain~”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Ah, is she a newly awakened <span style="color:#d99ecc;">Child of the Ark</span>?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Yep, found her in the Lower Strata.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol leaned closer to Temeya, whispering about everything they had gone through.\n
Temeya listened quietly, nodding from time to time.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“The Lower Strata... I see. That’s quite rare, you know.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I’m Antaia… It seems I came from the Lower Strata…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Regarding the mystery of your identity… I might have an idea.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Really!?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Yes. That mechanical device on your head has been catching my attention for a while~\n
May I take a look at it?”\n
Temeya offered a faint smile as she pointed toward the flat, oval-shaped device on Antaia’s head.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah—sure!”\n
Antaia removed the device and handed it to Temeya.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Temeya took out a small lens from her waist and examined the surface engravings carefully through it.\n
After some time, her expression grew pensive.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Hmm… this… seems to be a device from the <span style="color:#d6bc54;">Upper Strata</span>.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“The Upper Strata…?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“That’s right. Only devices originating from the <span style="color:#d6bc54;">Upper Strata</span> bear this kind of unique engraving.”\n
She turned around and rummaged behind the stall for a few seconds, eventually retrieving a dusty, old mechanical relic from a cabinet.\n
The shell was worn in many places, yet the complicated markings remained faintly visible.\n
“This one was found years ago on <span style="color:#d6bc54;">Floor 76</span> by someone I know. Look—its pattern… is almost identical to yours.”\n
\n
Temeya gave a mysterious smile as she handed the old relic to Antaia.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“This is…”\n
\n
Antaia accepted it gently.\n
As her hands touched the relic, a faint pulse rippled from her palm.\n
A subtle resonance arose between her own device and the ancient relic.\n
Their engravings glowed with a soft <span style="color:#8bd6d9;">green light</span>.\n
\n
Holding the relic, Antaia felt… something strangely familiar.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Well~ that’s about all I know.”\n
She put away her lens. “I doubt anyone on this floor understands <span style="color:#d6bc54;">Upper-Strata relics</span> better than I do.”\n
“If you want answers… you may have to go to the Upper Strata yourself.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Mm… then I’ll go to the Upper Strata.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Eh? You’re really going!? The <span style="color:#d6bc54;">Upper Strata</span> is—like, *super* dangerous!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“…There may be something up there that I need.”\n
Antaia felt she had to confirm things herself.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Takol’s right. The dangers of the Upper Strata aren’t a joke.”\n
She folded her arms, looking slightly exasperated.\n
“To head up there, you must be thoroughly prepared. Antaia—can you recall your own ‘<span style="color:#d99ecc;">ability</span>’ yet?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“My… ‘ability’?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Every <span style="color:#d99ecc;">Child of the Ark</span> has a unique ability—a blessing granted by the <span style="color:#d99ecc;">MotherArk</span>.\n
Machina are born with functions tied to their purpose. So… what function were you born with?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“My… function…”\n
Antaia lowered her gaze to her hands.\n
Blue luminescence pulsed softly along the joints.\n
Yet her mind was blank.\n
(*Do I really… have something like that? Why can’t I remember anything…?*)\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Well, no need to rush. You’ll understand eventually.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Um… then, what are *your* abilities? Takol’s and yours, Miss Temeya?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Mine? I can ‘<span style="color:#d6bc54;">appraise the value of Machina</span>.’ That’s why I became a merchant here, of course.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“That’s amazing… but I don’t even know what my own ability is…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Don’t underestimate yourself.”\n
“At least to me… your very ‘existence’ feels unusual.”\n
“Your <span style="color:#d99ecc;">value</span>… is far more than just ‘high,’ you know?”\n
\n
Temeya smiled in that enigmatic way of hers.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“My existence… is special…?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Who knows? Anyway, you must be tired from your journey.\n
Since you’ve made it here, take your time to rest before you head out again.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“If you like, I can also show you around the town.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah—sure! Thank you.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Mhmm~ you two chat slowly. I’ll go take care of something first.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol? Where are you going?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“To grab something, of course. Didn’t you say you wanted to reach the Upper Strata?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
....\n
.......\n
Within the lively marketplace,\n
Antaia explored the town under Temeya’s guidance.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“By the way, Temeya…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Hm? What’s on your mind?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I’ve had a lot of questions for a while, but it wasn’t really convenient to ask Takol before… Could I ask you instead?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Oh? Then you’ve come to the right person. As a merchant, I like to think I know quite a lot.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Mm…”\n`>>
<<typewriter $text 40>>
<<LoadSequence "ark_children_floor_question" true>>::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Um... do you know what <span style="color:#d6bc54;">humans</span> are?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Ah, good question. Humans... well, they say that back in the Old Epoch, there really were <span style="color:#d6bc54;">humans</span>—a type of <span style="color:#d99ecc;">biological being</span>.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Biological?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Mm. They were beings of the opposite nature from us <span style="color:#d99ecc;">Machina</span>, and you can hardly find any trace of them inside the <span style="color:#d99ecc;">MotherArk</span> now.”\n
“Whether <span style="color:#d99ecc;">biological beings</span> or <span style="color:#d6bc54;">humans</span>, most of them went extinct during the Old Epoch. All that remains aboard the Ark now is the slumbering machinery.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Well, I don’t actually know that much about them either. Maybe you can ask one of the Children of the Ark who specializes in history.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I see...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<LoadSequence "ark_children_floor_question" true>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Miss Temeya, have you… known <span style="color:#FFB552;">Takol</span> for a long time?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Takol, hm… She’s a child who awakened during the <span style="color:#d6bc54;">Sedimentation Cycle</span>.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“The Sedimentation Cycle?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Yes. The <span style="color:#d99ecc;">MotherArk</span> enters a <span style="color:#d6bc54;">Sedimentation Cycle</span> once every three hundred years.”\n
“During that period, the MotherArk’s internal structure rearranges itself, and new <span style="color:#8bd6d9;">strata</span> emerge.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Her tone grew calmer as she spoke.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“……<span style="color:#FFB552;">Takol</span> was one of the children born from those newly formed strata.”\n
“When we first found her—every one of her companions who awakened in the same stratum had been killed by Machina.”\n
“All that remained…”\n
She sighed softly. “Was just her, curled up alone among the corpses.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“……!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Back then, Takol could barely communicate. Perhaps the trauma was too much—she was completely frozen, only able to make mechanical sounds.”\n
“So, we brought her back to the settlement.”\n
She glanced toward Takol, who stood not far away, her gaze softening.\n
“As you can see, she’s much brighter now. She even seems quite dependable.”\n
Just then—\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Heeey~ what are you two talking about?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah, nothing really… just asking about this place…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hmm… that sounds suspicious.\n
When Antaia lies, the mechanical parts on her back light up, you know.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh!? They do!?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Haha, it’s nothing serious. We were simply talking about your past.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“I see… Well, there isn’t anything special about my past. If you’re curious, you can just ask me directly, okay?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<LoadSequence "ark_children_floor_question" true>>
::CHUNK::
<img src="Temeya_serious.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“Alright, it looks like the time’s about right. If you plan to leave, then you’d better head out before the <span style="color:#d6482f;">Contamination Period</span> begins.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Contamination… Period?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“The MotherArk enters the <span style="color:#d6482f;">Contamination Period</span> every once in a while. The floor’s contamination activity spikes a lot, making it nearly impossible to explore.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I see… In that case, let’s get going right away!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
The two of them left the Residential Zone.\n`>>
<<typewriter $text 40>>
<<set _hpA to getHP("Antaia") + 30>>
<<set_hp Antaia _hpA>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<img src="Temeya_idle.png" class="fadein"><<set $text to `<span style="color:#8bd6d9;">[Temeya]</span>\n
“If you have any questions, feel free to ask.”\n`>>
<<typewriter $text 40>>
<<set $choice = 1>>
<<set $text to `
Choices: (Please select an option)`>>
<<typewriter $text 40>>
<br>
<<link "[About Humans]">>
<<set $choice = 1>>
<</link>>
<br>
<<link "[About Takol]">>
<<set $choice = 2>>
<</link>>
<br>
<<link "[I Have No Questions]">>
<<set $choice = 3>>
<</link>>
::CHUNK::
<<switch $choice>>
<<case 1>>
<<LoadSequence "ark_children_floor_A" true>>
>[About Humans]
<<case 2>>
<<LoadSequence "ark_children_floor_B" true>>
>[About Takol]
<<case 3>>
<<LoadSequence "ark_children_floor_C" true>>
>[I Have No Questions]
<</switch>>
::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<bgm "pipe_echo.mp3">>
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "tunnel">>
<<run change_level("F" + $current_floor + "_The Pipeline Corridor")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Pipeline Corridor]</span></span>
::CHUNK::
<<set $text to `
“Zzzhhhhh...........”\n
The moment the elevator doors slid open, the sound of steam leaking echoed from the corridor ahead.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Huh?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Looking ahead, they found a narrow tunnel packed densely with pipes.\n
Rusted pipes sprawled along the walls like overgrown vines.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ah, this floor is just a passageway. The <span style="color:#d99ecc;">MotherArk</span> has lots of these interlayers—ventilation or power conduits between the strata.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“The air feels… really stuffy in here...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
After walking for a while, the two soon found another Transporter.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "library">>
<<run change_level("F" + $current_floor + "_The Old Archives Library")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Old Archives Library]</span></span>
<<bgm "old_and_anicent.mp3">>
::CHUNK::
<<set $text to `
Unlike the previous floors, the moment the door opened, they were greeted by a space bathed in warm light.\n
Bookshelves lined the winding hallway—this was a <span style="color:#d6bc54;">The Old Archives Library</span>.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“This place… is it perhaps a <span style="color:#8bd6d9;">library</span>?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Oh? Looks like you’re not *completely* amnesiac after all. You still remember things like that?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Though ‘library’ really is quite an ancient word.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Are we here to… borrow some books?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Nope! We’re here to meet a friend who’s well-versed in history. Come with me!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol and Antaia weaved through the maze-like shelves until they reached a spacious open area.\n
At its center stood a woman in a purple robe, seemingly in the middle of organizing books.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ivelyne, we’ve come to visit—!”\n
Takol cheerfully called out to the woman ahead.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“…Takol?”\n
Ivelyne turned around, books in her arms, looking rather tired.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“What are you doing here? Don’t you have your own duty to attend to?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Hey, I’m not slacking off. That’s why I brought a friend along this time.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Ah… hello…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“Hm…?”\n
Ivelyne adjusted her monocle, studying Antaia with a subtle, unreadable expression.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“Takol… don’t tell me she’s…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ahem, let me explain—”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
As always, Takol recounted the situation to Ivelyne.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“I see. How unfortunate for you.”\n
Ivelyne looked at Antaia with a complicated gaze.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“What…?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“You’ll understand in due time. You had questions for me, didn’t you? Go ahead.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `<span style="color:#d6bc54;">[>About the Origin of the MotherArk]</span>\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Um... what exactly *is* the MotherArk? Was it created by someone?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“Hmm, good question.”\n
Ivelyne opened the book in her hand.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“As for that… only a few legends have been passed down.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh—no one knows for sure?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“You could say that. The most widely told version is… a legend.”\n
“It’s a story from a very, very long time ago—”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“In ancient times, it seems there once existed a civilization of astonishing technological prowess. Their constructs stretched so high they seemed to cover the skies, and machinery and radiant lights pulsed across the land.”\n
“It’s said their technology was so advanced it bordered on miracles—blurring the line between sorcery and science.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
“But one day… humanity apparently reached for something they should never have touched.”\n
“Some say they sought to grasp the <span style="color:#d6bc54;">sun</span> itself. Others say they tried to pry into the secrets hidden behind the firmament.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
“And so they were punished. The wrathful gods descended upon them, bringing forth the ‘<span style="color:#d6482f;">Calamity</span>’.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
“In the end, using the final remnants of their strength, they stole the gods’ authority. And that stolen construct… is what we now call the <span style="color:#d99ecc;">MotherArk</span>.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“The Calamity...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“Mm. Since you came up from the <span style="color:#d6bc54;">Lower Strata</span>, you should’ve seen them along the way. Those entities have been corroding the MotherArk for ages. They’ve always been hostile to us.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Hostile?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“We are the children of the MotherArk. By our very nature, those beings are our opposite.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“Even someone with unique qualities like you is no exception.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I understand. I’ll be careful.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Ivelyne_idle.png" class="fadein"><<set $text to `<span style="color:#b854d6;">[Ivelyne]</span>\n
“Alright… I’m feeling tired. Let’s end here for today. You’re welcome to visit again anytime.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Already kicking us out? Well then, we’ll be on our way.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Seeing how exhausted Ivelyne looked, the two of them said their goodbyes and quietly left.`>>
<<typewriter $text 40>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>>
::CHUNK::
<<run elevator_stop()>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "the_gate">>
<<run change_level("F" + $current_floor + "_The Gate to the Upper Strata")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Gate to the Upper Strata]</span></span>
<<bgm "old_and_anicent.mp3">>
::CHUNK::
<<set $text to `
The strong wind howled through the space.\n
The two of them stood before a massive steel gate.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Looks like we’ve arrived.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“This is the entrance leading to the <span style="color:#d6bc54;">Upper Strata</span>, Antaia.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Mm... I can’t help feeling a little nervous.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Speaking of which, Antaia, could you answer a few questions before we go up?”\n
Takol fixed her gaze on Antaia.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh—w-what kind of questions?”\n
Antaia seemed a bit flustered by the sudden inquiry.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“First question: What do you think you are, within the <span style="color:#d99ecc;">MotherArk</span>?”\n`>>
<<typewriter $text 40>>
<<set $choice = 1>>
<<set $text to `
Choices: (Please select your option)`>>
<<typewriter $text 40>>
<br>
<<link "[child]">>
<<set $choice = 1>>
<</link>>
<br>
<<link "[outsider]">>
<<set $choice = 2>>
<</link>>
::CHUNK::
<<switch $choice>>
<<case 1>>
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“The Children of the Ark I’ve met all said that we’re the MotherArk’s children... so I think I’m one of them too.”\n`>>
<<typewriter $text 40>>
<<case 2>>
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“My memories have always been hazy, but... I feel like maybe I’m an outsider.”\n`>>
<<typewriter $text 40>>
<</switch>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“...Is that so?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Then the second question: What do you think <span style="color:#d6482f;">The Calamity</span> is?”\n`>>
<<typewriter $text 40>>
<<set $choice = 1>>
<<set $text to `
Choices: (Please select your option)`>>
<<typewriter $text 40>>
<br>
<<link "[monsters]">>
<<set $choice = 1>>
<</link>>
<br>
<<link "[similar beings]">>
<<set $choice = 2>>
<</link>>
::CHUNK::
<<switch $choice>>
<<case 1>>
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Hmm... I think they’re evil monsters...”\n`>>
<<typewriter $text 40>>
<<case 2>>
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Hmm... The mechanical power we use feels similar somehow... Maybe they’re beings similar to us?”\n`>>
<<typewriter $text 40>>
<</switch>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“I see. Then here’s the final question.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Do you have any impression of the term ‘<span style="color:#b854d6;">Kalocher Access Rights</span>’?”\n`>>
<<typewriter $text 40>>
<<set $choice = 1>>
<<set $text to `
Choices: (Please select your option)`>>
<<typewriter $text 40>>
<br>
<<link " [I remember it]">>
<<set $choice = 1>>
<</link>>
<br>
<<link "[I don't remember]">>
<<set $choice = 2>>
<</link>>
::CHUNK::
<<switch $choice>>
<<case 1>>
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Kalocher Access Rights...”\n
(Right... I feel like I’ve heard that term somewhere before...)\n
“Maybe... maybe I do recall something?”\n
\n`>>
<<typewriter $text 40>>
<<case 2>>
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Sorry... I don’t think I remember anything...”\n`>>
<<typewriter $text 40>>
<</switch>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Mm, I understand. Here—place your hand on mine.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Upon hearing that, Antaia reached out her hand. Takol placed her own hand on top of it.\n
A white square between their palms lit up with a soft green glow.\n
Seeing the light, Takol’s expression grew complicated.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Eh? This is...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“It’s the Authorization Key to open the gate. You’re heading to the Upper Strata, aren’t you?”\n
Takol smiled.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Then this is where we part ways. Be careful on your journey.”\n`>>
<<typewriter $text 40>>
<<level_img "the_gate_open">>
<img src="the_gate_open_side.png" class="fadein">
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Mm... thank you, Takol!”\n
With a deep rumble, the massive gate slowly began to open.\n
Light spilled through the widening gap, revealing a pitch-black passage beyond—\n
a darkness that seemed to foreshadow the dangers awaiting her.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Just as Antaia stepped a few paces into the passage, Takol’s voice suddenly echoed from behind.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Oh right, Antaia—do you know why people in the Mid Strata rarely talk about going to the Upper Strata?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Huh? Why is that?”\n
Hearing Takol’s voice, Antaia instinctively began to turn around.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Because <span style="color:#d99ecc;">Children of the Ark</span> can’t reach the <span style="color:#d6bc54;">Upper Strata</span> in the first place.”\n`>>
<<typewriter $text 40>>
<<bgm "space_horror.mp3">>
::CHUNK::
<<sfx "impact.mp3">>
<<set $text to `
Suddenly—\n
An orange mechanical tendril shot out from the darkness.\n
—Schlk.\n
The cold metal pierced straight through Antaia’s chest from behind without the slightest resistance.\n
\n
For a brief moment, her Machina frame bent under the impact.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“...Wha... t...?”\n
Blue luminescent fluid slid down the metal tendril, dripping onto the ground in glowing droplets.\n
As she turned, just for an instant—\n
her glass-clear mechanical eyes reflected a familiar orange glow.\n
Antaia’s pupils trembled, her voice cracking like a damaged machine.\n
The one who attacked her... was <span style="color:#FFB552;">Takol</span>.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol... why...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Ah—sorry about that.”\n
Her tone was light, as if she were chatting casually.\n
“Honestly, I didn’t think things would end up like this either.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Antaia staggered, gripping the wound. Damaged parts cracked apart, blue fluid leaking between her fingers.\n
Thin black lines began stitching the wound from within.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Oh? Already starting to recover? As expected of an Old-Era Remnant. Seems I miscalculated.”\n
Takol’s mechanical tendrils dripped with blue luminescent liquid.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol... why did you attack me...?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Well, that’s because I can’t let you enter the Upper Strata, of course...\n After all, that’s my duty as a <span style="color:#d6bc54;">Surveillance Unit</span>.”\n
“Now that we’ve found an <span style="color:#d99ecc;">Old Epoch</span> Remnant, I can’t just turn a blind eye.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Old Epoch? Surveillance Unit? What are you talking ab—”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“To put it simply, Antaia... your very existence is a potential threat.\n I’m really sorry, but I have to eliminate you here.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<bgm "Takol_battle.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">[Enemy Units Detected!]</span></span>
`>> <<typewriter $text 40>>
::CHUNK::
<<set $text to `
<span style="color:#72dbff;">======Battle Start======</span>
`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol, stop! I don’t want to fight you!”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“I’m sorry... I don’t want to either. But this is where my duty lies.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“I can only drive you out here.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“How... could this happen...!”\n`>>
<<typewriter $text 40>>
<<LoadSequence "A_route_battle_takol" true>> ::CHUNK::
<<sfx "robot_noise.mp3">>
<<set $battle_id = "takol">>
<<set $heroName = "Antaia">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 2, 4], atk: 0, hp: 0, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "Takol The Overseer", idKey: "ruinA", cardSet: [2, 3, 4, 8, 10, 13], atk: 0, hp: 40, image: "tacole_bad_smile.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
<<set $text to `
[==Defeat==]\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_tired.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Kh… Takol… I… I always… believed in you…”\n
She lifted her head with difficulty, trying to make out Takol’s face.\n
But Takol stood just beyond the light, her features swallowed by darkness—only those cold, floating orange mechanical pupils could be seen.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Takol raised her other hand.\n
Metallic claws unfolded in the darkness, gleaming with a razor-sharp sheen.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Originally, as long as you stayed obediently in the Mid–Lower Strata, it would’ve been fine. But I can’t let a Remnant with access rights reach the Upper Strata.”\n
Her tone carried a hint of helplessness.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Since my ‘ability’ detected the presence of <span style="color:#d6482f;">The Calamity</span>, this is the only course of action…”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Perhaps letting you awaken from that place… was a mistake in the first place. My apologies, Antaia.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Those were the last words Antaia heard.\n
With the sound of mechanical rupture, her consciousness was swallowed by darkness.\n
\n
And then—\n
A metallic claw tore through her central core with a shattering crack.\n
\n
*Krrk—Kra-chhk—*\n
\n
Her vision splintered into countless shards of blue.\n
Antaia’s body collapsed as though its support had vanished, her awareness dissolving together with the fading points of light.\n
\n
Gradually—\n
There was nothing left to hear.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
[End of First Cycle]\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
[Second Cycle Branch Scenario Unlocked]\n`>>
<<typewriter $text 40>>
<<bgm "pipe_echo.mp3">>
::CHUNK::
<<EndSequence>>
<<LoadSequence "Scene1" true>>::CHUNK::
<<set $text to `
[====Victory Achieved====]\n`>>
<<typewriter $text 40>>
<<bgm "old_and_anicent.mp3">>
::CHUNK::
<img src="tacole_bad_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“.......”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Haha, looks like I’ve been defeated.”\n
Takol wore her usual bright smile, though her body had already been shattered by Antaia.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“Takol...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Antaia, there’s no need to feel sorry, alright? I was merely fulfilling my duty. Now you can finally reach the Upper Strata. Congratulations.”\n
Her smile didn’t falter in the slightest.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“I’m sorry, Takol... and thank you, for bringing me all the way up here.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_idle.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Mhm, of course—after all... that is...”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="tacole_big_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n
“Where my duty lies...”\n
Takol’s voice gradually faded, until it could no longer be heard.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Watching the light fully vanish from Takol’s eyes, Antaia forced herself to turn away and stepped through the gate.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
At that very moment—\n`>>
<<typewriter $text 40>>
<<sfx "harmonic-hum.mp3">>
<<bgm "space_horror.mp3">>
::CHUNK::
<img src="unknown_idle.png" class="fadein">
<<set $text to `<span style="color:#d6bc54;">[???]</span>\n
“So I wasn’t mistaken—I sensed a Surveillance Unit fighting here. Turns out it was you, huh?”\n
\n
Three Children of the Ark suddenly emerged from the Transporter behind her.\n
Unlike the residents of the Residential Zone, these three emitted the same orange glow as Takol—and an unmistakable, ominous pressure.\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="Antaia_87_surprise.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“W-who are you—?”\n`>>
<<typewriter $text 40>>
::CHUNK::
<img src="unknown_idle.png" class="fadein">
<<set $text to `<span style="color:#d6bc54;">[The Child of the Ark in front]</span>\n
“So you’re the Old-Era Remnant. Impressive that you made it this far... but this is where it ends.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
Before Antaia could even react—\n
A flash of orange light pierced straight through her left eye.\n\n
Damaged mechanical wiring spilled from the hollow wound, and the skin around it dissolved, revealing the metallic structure beneath.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
And then—\n
A mechanized claw tore through her central core with a cracking shriek.\n
\n
*Ka—krrch—*\n
\n
Her vision shattered into countless blue fragments.\n
Antaia’s body collapsed like a puppet without strings, her consciousness scattering along with the fading lights.\n
\n
Gradually—\n
She could no longer hear anything.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
[End of First Cycle]\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
[Second Cycle Branch Story Unlocked]\n`>>
<<typewriter $text 40>>
<<bgm "pipe_echo.mp3">>
::CHUNK::
<<EndSequence>>
<<LoadSequence "Scene1" true>> ::CHUNK::
<<run elevator_stop()>>
<<set $luck = 0>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "f1_hallway">>
<<run change_level("F" + $current_floor + "_The Corrosion")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Corrosion]</span></span>
::CHUNK::
<<bgm "machina_battle.mp3">>
<<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt…...."</span></span>`>><<typewriter $text 40>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt……...."</span></span>`>><<typewriter $text 10>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">"Kzzzt……"</span></span>`>><<typewriter $text 40>>
<<set $battle_id = "n1">>
<<set $heroName = "Antaia">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 6, 7, 14, 3], atk: 0, hp: 20, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "Ruin Machina A", idKey: "ruinA", cardSet: [0, 7, 14], atk: 0, hp: 12, image: "mons1.png" },
{ name: "Ruin Machina B", idKey: "ruinB", cardSet: [0, 0, 1], atk: 0, hp: 9, image: "mons2.png" },
{ name: "Ruin Machina C", idKey: "ruinC", cardSet: [0, 0, 1], atk: 0, hp: 9, image: "mons3.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
<<run elevator_stop()>>
<<set $luck = 60>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "f1_hallway">>
<<run change_level("F" + $current_floor + "_The Corrosion")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Corrosion]</span></span>
::CHUNK::
<<bgm "machina_battle.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt…...."</span></span>`>><<typewriter $text 40>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt……...."</span></span>`>><<typewriter $text 10>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">"Kzzzt……"</span></span>`>><<typewriter $text 40>>
<<set $battle_id = "n1">>
<<set $heroName = "Antaia">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 6, 7, 14, 3], atk: 0, hp: 20, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "Ruin Machina A", idKey: "ruinA", cardSet: [0, 0, 0, 1], atk: 0, hp: 10, image: "mons1.png" },
{ name: "Ruin Machina B", idKey: "ruinB", cardSet: [0, 6, 7, 12, 1, 3, 6, 8, 13, 14], atk: 0, hp: 15, image: "mons2.png" },
{ name: "Ruin Machina C", idKey: "ruinC", cardSet: [0, 0, 1], atk: 0, hp: 9, image: "mons3.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
<<run elevator_stop()>>
<<set $luck = 60>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "f1_hallway">>
<<run change_level("F" + $current_floor + "_The Corrosion")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Corrosion]</span></span>
::CHUNK::
<<bgm "machina_battle.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt…...."</span></span>`>><<typewriter $text 40>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt……...."</span></span>`>><<typewriter $text 10>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">"Kzzzt……"</span></span>`>><<typewriter $text 40>>
<<set $battle_id = "n1">>
<<set $heroName = "Antaia">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 6, 7, 14, 3], atk: 0, hp: 20, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "Ruin Machina A", idKey: "ruinA", cardSet: [0, 6, 7, 12, 1, 3, 6, 8, 13, 14], atk: 0, hp: 20, image: "mons2.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
<<run elevator_stop()>>
<<set $luck = 100>>
::CHUNK::
<<sfx "door_open.mp3">>
<<run elevator_open()>>
<<level_img "f1_hallway">>
<<run change_level("F" + $current_floor + "_The Corrosion")>>
<span style="color:#66ccff;"><span class="fadein">[F - $current_floor The Corrosion]</span></span>
::CHUNK::
<<bgm "machina_battle.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt…...."</span></span>`>><<typewriter $text 40>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake"> "Kzzzt……...."</span></span>`>><<typewriter $text 10>> <<sfx "robot_noise.mp3">>
<<set $text to `<span style="color:#FF0000;"><span class="shake">"Kzzzt……"</span></span>`>><<typewriter $text 40>>
<<set $battle_id = "n1">>
<<set $heroName = "Antaia">>
/* 隊友設定(只在這場戰鬥內有效) */
<<set $allyConfigs = [
{ name: "Takol", idKey: "Takol", cardSet: [1, 6, 7, 14, 3], atk: 0, hp: 20, image: "tacole_idle.png" }
]>>
/* 敵方設定:可以多個敵人 */
<<set $enemyConfigs = [
{ name: "Ruin Machina A", idKey: "ruinA", cardSet: [1, 3, 6, 8, 13, 14, 2, 5, 9, 10, 15], atk: 0, hp: 30, image: "mons2.png" }
]>>
<<run setup.initBattleMulti({
hero: {
name: $heroName,
idKey: "Antaia",
cardSet: getCardSet("Antaia"), /* 長期卡組 */
atk: getAttack("Antaia"),
hp: getHP("Antaia"),
maxHP: getHP("Antaia"),
image: "Antaia_87_idle.png"
},
allies: $allyConfigs,
enemies: $enemyConfigs
})>>
<<set $turn = 0>>
<<LoadSequence "battle_multi_playerTurn" true>>
::CHUNK::
<img src="Antaia_87_idle.png" class="fadein"><<set $text to `<span style="color:#66ccff;">[Antaia]</span>\n
“It looks like this floor has some kind of recovery pods.”\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `
<span style="color:#d6bc54;">[hp+30!]</span>\n`>>
<<typewriter $text 40>>
<<set _hpA to getHP("Antaia") + 30>>
<<set_hp Antaia _hpA>>
::CHUNK::
<<EndSequence>>
<<LoadSequence "elevator" true>><span style="color:#66ccff;"><span class="fadein">[Current Floor: F<<print $current_floor>>]</span></span>
::CHUNK::
<<bgm "scifi_elevator.mp3">>
\n
\n
<img src="tacole_smile.png" class="fadein"><<set $text to `<span style="color:#FFB552;">[Takol]</span>\n"I wonder what kind of <span style="color:#8bd6d9;">floor</span> we'll end up on this time?"\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `<span style="color:#66ccff;">[Antaia]</span> presses the button, and the <span style="color:#8bd6d9;">floor</span> numbers begin to shift.\n`>>
<<typewriter $text 40>>
::CHUNK::
<<set $text to `\n<span style="color:#66ccff;">[System Calculating.......]</span>\n`>>
<<typewriter $text 100>>
::CHUNK::
/* 擲骰並把前三個結果拆成三個變數(index 0 = main, 1 = repeatable, 2 = battle) */
<<set $choices to setup.elevatorRollChoices($current_floor)>>
<<set _c0 to $choices[0]>>
<<set _c1 to $choices[1]>>
<<set _c2 to $choices[2]>>
<<if !$choices or $choices.length == 0>>
(目前沒有可用事件。)
<<else>>
\n
<span style="color:#66ccff;">[Available Floors]</span>\n\n
/* ----- 主事件(Main) ----- */
<<if _c0>>
<<set _label0 to "[" + _c0.label + "] " + "[" + _c0.floorName + "] - [F" + _c0.floor + "]">>
<span class="yellow-link"><<link _label0>>
<<set $selected_floor_id to _c0.floorId>>
<<set $selected_floor_name to _c0.floorName>>
<<set $selected_category to _c0.category>>
<<set $selected_main_flag to _c0.mainFlag>>
<<set $selected_is_mainfloor to _c0.isMainFloor>>
<<set $previous_floor to $current_floor>>
<<set $current_floor to _c0.floor>>
<<LoadSequence "elevator_next" true>>
<</link>></span><br><br>
<<else>>
<span style="opacity:0.6;">[Main Events dice](No available Main Events)</span><br><br>
<</if>>
/* ----- 可重複事件(Repeatable) ----- */
<<if _c1>>
<<set _label1 to "[" + _c1.label + "] " + "[" + _c1.floorName + "] - [F" + _c1.floor + "]">>
<span class="green-link"><<link _label1>>
<<set $selected_floor_id to _c1.floorId>>
<<set $selected_floor_name to _c1.floorName>>
<<set $selected_category to _c1.category>>
<<set $selected_main_flag to _c1.mainFlag>>
<<set $selected_is_mainfloor to _c1.isMainFloor>>
<<set $previous_floor to $current_floor>>
<<set $current_floor to _c1.floor>>
<<LoadSequence "elevator_next" true>>
<</link>></span><br><br>
<<else>>
<span style="opacity:0.6;">[Repeatable Events dice](No available Events)</span><br><br>
<</if>>
/* ----- 戰鬥(Battle) ----- */
<<if _c2>>
<<set _label2 to "[" + _c2.label + "] " + "[" + _c2.floorName + "] - [F" + _c2.floor + "]">>
<span class="red-link"><<link _label2>>
<<set $selected_floor_id to _c2.floorId>>
<<set $selected_floor_name to _c2.floorName>>
<<set $selected_category to _c2.category>>
<<set $selected_main_flag to _c2.mainFlag>>
<<set $selected_is_mainfloor to _c2.isMainFloor>>
<<set $previous_floor to $current_floor>>
<<set $current_floor to _c2.floor>>
<<LoadSequence "elevator_next" true>>
<</link>></span><br><br>
<<else>>
<span style="opacity:0.6;">[Battle dice](No combat available)</span><br><br>
<</if>>
<</if>>