Advertisement
Sayori

DDLC Script Act 2 Natsuki Route

Oct 17th, 2017
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 11.59 KB | None | 0 0
  1. init python:
  2.     class RectCluster(object):
  3.         def __init__(self, theDisplayable, numRects=12, areaWidth = 30, areaHeight = 30):
  4.             self.sm = SpriteManager(update=self.update)
  5.             self.rects = [ ]
  6.             self.displayable = theDisplayable
  7.             self.numRects = numRects
  8.             self.areaWidth = areaWidth
  9.             self.areaHeight = areaHeight
  10.            
  11.             for i in range(self.numRects):
  12.                 self.add(self.displayable)
  13.        
  14.         def add(self, d):
  15.             s = self.sm.create(d)
  16.             s.x = (random.random() - 0.5) * self.areaWidth * 2
  17.             s.y = (random.random() - 0.5) * self.areaHeight * 2
  18.             s.width = random.random() * self.areaWidth / 2
  19.             s.height = random.random() * self.areaHeight / 2
  20.             self.rects.append(s)
  21.        
  22.         def update(self, st):
  23.             for s in self.rects:
  24.                 s.x = (random.random() - 0.5) * self.areaWidth * 2
  25.                 s.y = (random.random() - 0.5) * self.areaHeight * 2
  26.                 s.width = random.random() * self.areaWidth / 2
  27.                 s.height = random.random() * self.areaHeight / 2
  28.             return 0
  29.  
  30. image n_rects_ghost1:
  31.     RectCluster(Solid("#000"), 4, 15, 5).sm
  32.     pos (580, 270)
  33.     size (20, 25)
  34.     alpha 0.0
  35.     8.0
  36.     easeout 12 alpha 1.0
  37.  
  38. image n_rects_ghost2:
  39.     RectCluster(Solid("#000"), 4, 15, 5).sm
  40.     pos (652, 264)
  41.     size (20, 25)
  42.     alpha 0.0
  43.     8.0
  44.     easeout 12 alpha 1.0
  45.  
  46. image n_rects_ghost3:
  47.     RectCluster(Solid("#000"), 4, 15, 5).sm
  48.     pos (616, 310)
  49.     size (25, 15)
  50.     alpha 0.0
  51.     8.0
  52.     easeout 12 alpha 1.0
  53.  
  54. image n_rects_ghost4:
  55.     RectCluster(Solid("#000"), 4, 15, 5).sm
  56.     pos (735, 310)
  57.     size (25, 20)
  58.     0.5
  59.     easeout 0.25 zoom 4.5 xoffset 250 yoffset -250
  60.  
  61. image n_rects_ghost5:
  62.     RectCluster(Solid("#000"), 4, 15, 5).sm
  63.     pos (740, 376)
  64.     size (25, 20)
  65.     0.5
  66.     easeout 0.25 zoom 4.5 xoffset 250 yoffset -100
  67.  
  68. label natsuki_exclusive2_1:
  69.     scene bg club_day
  70.     with wipeleft_scene
  71.     n "Ugh...!"
  72.     "I hear Natsuki utter an exasperated sigh from within the closet."
  73.     "She seems to be annoyed by something."
  74.     "I approach her, in case she needs a hand."
  75.     play music t6 fadeout 1
  76.     scene bg closet
  77.     show natsuki 4r zorder 2 at t11
  78.     with wipeleft_scene
  79.     $ style.say_dialogue = style.normal
  80.     mc "You looking for something in there?"
  81.     $ style.say_dialogue = style.edited
  82.     n 4x "fucking monikammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm"
  83.     $ style.say_dialogue = style.normal
  84.     $ _history_list[-1].what = "Freaking Monika..."
  85.     n "She never puts my stuff back in the right spot!"
  86.     n "What's the point in keeping your collection organized if someone else is just gonna mess it up?"
  87.     "Natsuki slides a bunch of stacked books and boxes across the shelf."
  88.     mc "Manga..."
  89.     n 2c "You read manga, right?"
  90.     mc "Ah--"
  91.     mc "...Sometimes..."
  92.     "Manga is one of those things where you can't admit you're really into it until you figure out where the other person stands."
  93.     mc "...How did you know, anyway?"
  94.     n 2k "I heard you bring it up at some point."
  95.     n "Besides, it's kind of written on your face."
  96.     "What's that supposed to mean...?"
  97.     mc "I-I see..."
  98.     "There's a lone volume of manga amidst a stack of various books on the side of one of the shelves."
  99.     "Curious, I pull it out of the stack."
  100.     n 1b "{i}There{/i} it is!"
  101.     "Natsuki snatches it out of my hand."
  102.     "She then turns to a box of manga and slips the volume right into the middle of the rest."
  103.     n 4d "Aah, much better!"
  104.     n "Seeing a box set with one book missing is probably the most irritating sight in the world."
  105.     mc "I know that feel..."
  106.     "I get a closer look at the box set she's admiring."
  107.     mc "Parfait Girls...?"
  108.     "It's a series I've never heard of in my life."
  109.     "That probably means it's either way out of my demographic, or it's simply terrible."
  110.     n 5g "If you're gonna judge, you can go do it through the glass on that door."
  111.     "She points to the classroom door."
  112.     mc "H-Hey, I wasn't judging anything...!"
  113.     mc "I didn't even say anything."
  114.     n 5c "It was the tone of your voice."
  115.     $ style.say_dialogue = style.normal
  116.     n "But I'll tell you one thing, [player]."
  117.     n 4l "Consider this a lesson straight from the Literature Club:{nw}"
  118.     $ _history_list[-1].what = "Consider this a lesson straight from the Literature Club: Don't judge a book by its cover!"
  119.     $ style.say_dialogue = style.edited
  120.     n "don't judge a bookkkkkkkkkkkkkkkkk kkkkk kk{space=20}k{space=40}k{space=120}k{space=160}k{space=200}k"
  121.     $ style.say_dialogue = style.normal
  122.     $ _history_list.pop()
  123.     n "In fact--"
  124.     "Natsuki pulls out the first volume of Parfait Girls from the box."
  125.     n "I'm gonna show you exactly why!"
  126.     "She shoves the book right into my hands."
  127.     mc "Ah..."
  128.     "I stare at the cover."
  129.     "It features four girls in colorful attire striking animated feminine poses."
  130.     "It's...exceedingly \"moe\"."
  131.     n 4b "Don't just stand there!"
  132.     mc "Uwa--"
  133.     show natsuki zorder 1 at thide
  134.     hide natsuki
  135.     "Natsuki grabs my arm and pulls me out of the closet."
  136.     "She then takes a seat against the wall, beneath the windowsills."
  137.     "She pats on the ground next to her, signaling me to sit there."
  138.     show bg club_day
  139.     show natsuki 2a zorder 2 at t11
  140.     with wipeleft
  141.     mc "Wouldn't chairs be more comfortable...?"
  142.     "I take my seat."
  143.     n 2k "Chairs wouldn't work."
  144.     n "We can't read at the same time like that."
  145.     mc "Eh? Why's that?"
  146.     mc "Ah...I guess it's easier to be close together like this..."
  147.     n 2o "--!"
  148.     n 5r "D-Don't just say that!"
  149.     n "You'll make me feel weird about it!"
  150.     "Natsuki crosses her arms and scootches an inch away from me."
  151.     mc "Sorry..."
  152.     show natsuki 5g
  153.     "I didn't exactly expect to be sitting this close to her, either..."
  154.     "Not that I can say it's a particularly bad thing."
  155.     "I open the book."
  156.     "It's only a few seconds before Natsuki once again inches closer, reclaiming the additional space while she hopes I won't notice."
  157.     "I can feel her peering over my shoulder, much more eager to begin reading than I am."
  158.     n 1k "Wow, how long has it been since I read the beginning...?"
  159.     mc "Hm?"
  160.     mc "You don't go back and flip through the older volumes every now and then?"
  161.     n 2k "Not really."
  162.     n "Maybe sometimes after I've already finished the series."
  163.     n 2c "Hey, are you paying attention?"
  164.     mc "Uh..."
  165.     "I am, but nothing's really happened yet, so I can talk at the same time."
  166.     "It looks like it's about a bunch of friends in high school."
  167.     "Typical slice-of-life affair."
  168.     "I kind of grew out of these, since it's rare for the writing to be entertaining enough to make up for the lack of plot."
  169.     $ persistent.clear[0] = True
  170.     scene n_cg1_bg
  171.     show n_cg1_base
  172.     with dissolve_cg
  173.     mc "...Are you sure this isn't boring for you?"
  174.     n "It's not!"
  175.     mc "Even though you're just watching me read?"
  176.     n "Well...!"
  177.     n "I'm...fine with that."
  178.     mc "If you say so..."
  179.     mc "...I guess it's fun sharing something you like with someone else."
  180.     mc "I always get excited when I convince any of my friends to pick up a series I enjoy."
  181.     mc "You know what I mean?"
  182.     n "...?"
  183.     mc "Hm?"
  184.     mc "You don't?"
  185.     show n_cg1_exp2 at cgfade
  186.     n "Um..."
  187.     n "That's not..."
  188.     n "Well, I wouldn't really know."
  189.     mc "...What do you mean?"
  190.     mc "Don't you share your manga with your friends?"
  191.     hide n_cg1_exp2
  192.     show n_cg1_exp3 at cgfade
  193.     n "Could you not rub it in?"
  194.     n "Jeez..."
  195.     mc "Ah... Sorry..."
  196.     n "Hmph."
  197.     n "Like I could ever get my friends to read this..."
  198.     n "They just think manga is for kids."
  199.     n "I can't even bring it up without them being all like..."
  200.     n "'Eh? You still haven't grown out of that yet?'"
  201.     n "Makes me want to punch them in the face..."
  202.     mc "Urgh, I know those kinds of people..."
  203.     mc "Honestly, it takes a lot of effort to find friends who don't judge, much less friends who are also into it..."
  204.     mc "I'm already kind of a loser, so I guess I gravitated toward the other losers over time."
  205.     mc "But it's probably harder for someone like you..."
  206.     hide n_cg1_exp3
  207.     n "Hm."
  208.     n "Yeah, that's pretty accurate."
  209.     "{i}...Wait, which part??{/i}"
  210.     $ style.say_dialogue = style.normal
  211.     n "I mean, I feel like I can't even keep it in my own room..."
  212.  
  213.     $ style.say_dialogue = style.edited
  214.     n "My dad would beat the shit out of me if he found this."
  215.     $ style.say_dialogue = style.normal
  216.     $ _history_list[-1].what = "I don't even know what my dad would do if he found this."
  217.     n "At least it's safe here in the clubroom."
  218.     show n_cg1_exp3 at cgfade
  219.     n "'Cept Monika's kind of a jerk about it..."
  220.     n "Ugh! I just can't win, can I?"
  221.     mc "Well, it paid off in the end, didn't it?"
  222.     mc "I mean, here I am, reading it."
  223.     n "Well, it's not like that solves any of my problems."
  224.     mc "Maybe..."
  225.     mc "But at least you're enjoying yourself, right?"
  226.     hide n_cg1_exp3
  227.     show n_cg1_exp2 at cgfade
  228.     n "--"
  229.     n "..."
  230.     n "...So?"
  231.     mc "Ahaha."
  232.     hide n_cg1_exp2
  233.     show n_cg1_exp3 at cgfade
  234.     n "Jeez, that's enough!"
  235.     n "Are you gonna keep reading, or what?"
  236.     mc "Yeah, yeah..."
  237.     "I flip the page."
  238.     show black with dissolve_cg
  239.     "..."
  240.     "..."
  241.     "....."
  242.     "......."
  243.     "........."
  244.     "Time passes."
  245.     hide n_cg1_exp3
  246.     show n_cg1_exp4 behind black at cgfade
  247.     "Natsuki is strangely quiet now."
  248.     "I glance over at her."
  249.     hide black with dissolve_cg
  250.     "It looks like she's started to fall asleep."
  251.     mc "Hey, Natsuki..."
  252.     hide n_cg1_exp4
  253.     show n_cg1_exp5 at cgfade
  254.     n "Y-Yeah...?"
  255.     "Suddenly, Natsuki collapses straight into me."
  256.     play sound fall
  257.     $ style.say_dialogue = style.normal
  258.     mc "H-Hey--"
  259.     show n_cg1_exp5
  260.     hide n_cg1_exp5
  261.  
  262.     show n_cg1b
  263.     hide n_cg1_base
  264.  
  265.     $ currentpos = get_pos()
  266.     $ audio.t6g = "<from " + str(currentpos) + " loop 10.893>bgm/6g.ogg"
  267.     play music t6g
  268.     $ ntext = glitchtext(96)
  269.     $ style.say_dialogue = style.edited
  270.     n "{color=#000}[ntext]{/color}"
  271.     $ ntext = glitchtext(96)
  272.     n "{color=#000}[ntext]{/color}"
  273.     $ style.say_dialogue = style.normal
  274.  
  275.     stop music
  276.     window hide(None)
  277.     window auto
  278.     scene bg club_day
  279.     show monika 1r zorder 2 at t11
  280.     m "Oh jeez..."
  281.     m 1d "Natsuki, are you okay?"
  282.     show monika zorder 2 at t21
  283.     show natsuki 12b zorder 3 at f22
  284.     n "..."
  285.     show natsuki zorder 2 at t22
  286.     show monika zorder 3 at f21
  287.     m 1a "Here..."
  288.     show monika zorder 2 at t21
  289.     "Monika reaches into her bag and pulls out some kind of protein bar."
  290.     "She throws it in Natsuki's direction."
  291.     "Natsuki's eyes suddenly light up again."
  292.     "She snatches the bar from the floor and immediately tears off the wrapper."
  293.     show natsuki zorder 3 at f22
  294.     n 1s "I told you not to give mmph..."
  295.     show natsuki zorder 2 at t22
  296.     "She doesn't even finish her sentence before stuffing it into her mouth."
  297.     show natsuki zorder 1 at thide
  298.     hide natsuki
  299.     show monika 3b zorder 2 at t11
  300.     m "Don't worry, [player]."
  301.     m "She's fine."
  302.     m "It just happens every now and then."
  303.     m 1a "That's why I always keep a snack in my bag for her."
  304.     m 5a "Anyway...!"
  305.     m "Why don't we all share poems now?"
  306.  
  307.     return
  308. # Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement