Skip to content

Commit

Permalink
Fix Chapter 0 puzzle, 90% done with Chapter 1 script
Browse files Browse the repository at this point in the history
  • Loading branch information
alicerunsonfedora committed May 28, 2018
1 parent 03ee994 commit 9987242
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 4 deletions.
19 changes: 18 additions & 1 deletion game/blackbox.rpy
@@ -1,5 +1,5 @@
init python:
waittime = renpy.random.randint(4, 8)
u_did_load = 0.0

label start_blackbox_puzzle:
window hide(None)
Expand Down Expand Up @@ -86,6 +86,7 @@ If you get stuck, don't worry; Alice may say something to you as a hint! Good lu
label ch0_blackbox_puzzle_loop:
python:
import os
waittime = renpy.random.randint(4, 8)

default = config.savedir
renpy.list_saved_games()
Expand All @@ -97,11 +98,27 @@ label ch0_blackbox_puzzle_loop:
window hide(config.window_hide_transition)

$ waittime -= 1
$ u_did_load += 0.5
$ pause(5)
if u_did_load == 50.0:
jump ch0_blackbox_puzzle_failure
if waittime > 0:
jump ch0_blackbox_puzzle_loop
return

label ch0_blackbox_puzzle_failure:
$ sweartext = glitchtext(8)
window show(config.window_show_transition)
$ style.say_dialogue = style.edited
a "How can you be this clueless?"
a "Is this your first time playing a visual novel or something?"
a "Do you know how to play video games?"
a "Just save in the third slot of the first page already, damn it!"
a "It's not that [sweartext] hard!"
$ style.say_dialogue = style.normal
jump ch0_blackbox_puzzle_loop
return

label ch0_blackbox_puzzle_success:
show blight complete zorder 2 at t11
$ pause(0.75)
Expand Down
2 changes: 1 addition & 1 deletion game/options.rpy
Expand Up @@ -59,7 +59,7 @@ define config.has_voice = False
## the player is at the main menu. This file will continue playing into the
## game, until it is stopped or another file is played.

define config.main_menu_music = "bgm/t1.ogg"
define config.main_menu_music = "mod_assets/music/backpacking2.ogg"


## Transitions #################################################################
Expand Down
37 changes: 37 additions & 0 deletions game/script-ch1.rpy
Expand Up @@ -660,4 +660,41 @@ label ch1_end:
m "Eh?"
m 1bi "Forget I said anything."
m 1bq "Let's just keep this on the down low until we figure out what the hell is going on."
show monika at t21
mc "That seems reasonable."
mc "I don't suppose that she{nw}"
a "Is everything alright in there?"
a "Jeez, you've been in there longer than I ever have, ahaha~!"
stop music fadeout 1.0
hide vignette
play music t8
show monika at f21
m 4bi "You don't suppose she heard anything, right?"
mc "I think we're fine."
"I turn towards the door."
mc "We'll be there in just a second!"
"To our surprise, Alice invites herself in, anyway."
show monika 1bm at t31
show alice 0b at t32
show yuri at t33
a "You got me worried there!"
a 0d "Is everyone okay? I hope I didn't upset you or anything..."
show monika at f31
m 1bn "No, no..."
m "I just had to clarify a few things."
m 1bb "We should be alright, now!"
show alice at f32
show monika at t31
a 0b "Perfect!"
a "I take it we're ready to head down to the residential areas, then..."
show alice 0j at hop
"Alice smiles sweetly."
show yuri at f33
y 1bb "Yes, we should be alright."
y "On your lead, Alice..."
show monika at thide
show yuri at thide
hide yuri
hide monika
"We huddle behind Alice as she takes us out of the room."
return
18 changes: 17 additions & 1 deletion game/script-prech0.rpy
Expand Up @@ -10,12 +10,28 @@ label pre_ch0:
call updateconsole("", "1682 files copied.")
call updateconsole("", "Compiling using crosh...")
call updateconsole("", "Surveying game state...")
call updateconsole("", "Injected 17 files into DDLC.")
call updateconsole("", "Injected files into DDLC.")
call updateconsole("", "Cleaning up any leftover data...")
python:
if renpy.exists("../characters/aliceangel.chr"):
renpy.jump("pre_ch0_result")
else:
renpy.jump('pre_ch0_err')
return

label pre_ch0_err:
call updateconsole("", "WARN: \'aliceangel.chr\' not found.")
call updateconsole("", "Downloading aliceangel.chr...")
call updateconsole("", "Downloaded 130 KB of data.")
python:
open(config.basedir + "/characters/aliceangel.chr", "w").write("""\
01010011 01010111 01110100 01101111 01100100 01000101 01111000 01110000 01010001 01101011 00111001 01101001 01001101 00110010 01001110 01101110 01011010 01000100 01001010 01010110 01011010 00110001 01101011 01111001 01001111 01011000 01010010 01100001 01010101 00110000 01001001 01110111 01011001 01101110 01101100 01000011 01001101 01000111 01000110 01001000 01010110 01010111 01100100 01101010 01010111 01000110 01011010 01110011 01011001 01111010 01001110 01010011 01100011 01000111 01001001 01111001 01001110 01001000 01010110 01001101 01100001 01010100 01010010 01101110 01010101 01101011 01100011 00110100 01011010 00110001 01001110 01010100 01010001 01101110 01001010 01101000 01010110 00110011 01101000 01111010 01010011 01010101 01101000 01110011 01100100 01101101 01010010 01010101 01001111 01000111 01100100 01001101 01100001 01010100 01010010 00110001 01010101 01101011 01100011 00110100 01011010 00110001 01001110 01010100 01010001 01101010 01000010 01100001 01010110 00110000 01011010 00110101 01010011 01010101 01101000 01110011 01100100 01101101 01010010 01010100 01010001 01101101 01101000 01101010 01010010 00110000 01011010 00110101 01011010 01000101 01001110 01000011 01001101 01000111 01001010 00110101 01010001 01101110 01010010 01101100 01010101 00110000 01001010 01110110 01010111 01101100 01100100 01000111 01100101 01010111 01010010 01000100 01011010 01001000 01110000 01001010 01010010 00110001 01001010 01110011 01011001 01101011 01100100 01110011 01100010 01101101 01000110 01001001 01010101 01010011 00111001 01001010 01010010 01101100 01001010 01110110 01010111 01101100 01001110 01000011 01100001 01101101 01000110 01001000 01001111 01011000 01000010 01011010 01001101 01101100 01011010 00110110 01010011 01010101 01100011 00110101 01100010 01010101 01101100 01001001 01010101 01101101 00111001 01100001 01010101 00110000 01001010 01110000 01010111 01101100 01100100 01000111 01001101 01010111 01010010 01001000 01100010 01000111 00110001 01101011 01010110 00110011 01100100 01101110 01010111 01010110 01101000 01001011 01100010 01000101 01101100 01001001 01010110 01101110 01010110 01011010 01100010 01010110 01011010 01101111 01011001 00110010 00110001 01000111 01100001 01010111 01001010 01001000 01010110 01011000 01010110 01001010 01010010 01010111 01101000 00110010 01011010 01001000 01101100 01101011 01100101 01101011 01101100 01001000 01010010 01010111 01100100 01100001 01001101 01101101 01111000 00110101 01011001 01101011 01001110 01000011 01001101 01000111 01001010 00110101 01010001 01101101 01110000 01101000 01010010 01111010 01101100 00110010 01011001 01111010 01001010 01010110 01001100 00110000 01101100 01000111 01010101 01101101 01101000 01101000 01001101 01101100 01010110 01101110 01011010 01000101 01100100 01101111 01100011 01000111 01001110 00110101 01010001 01101110 01001110 01101000 01010111 01000110 01001001 01110111 01011001 01101011 01100100 01010110 01011010 00110001 01110000 01110101 01010011 01101101 01111000 01011010 01010110 00110011 01001110 01101110 01010111 01101101 00110000 00110101 01100101 01010101 01101100 01001000 01100010 01001000 01010110 01101010 01001101 00110001 01001010 01101111 01011001 01101101 00110001 01001111 01100010 01000101 01101100 01010100 01010001 01101011 01101100 01100001 01010101 00110000 01001010 01110001 01011001 00110010 00110001 01000111 01001101 00110010 01001010 01001000 01010110 01101101 01110100 01001010 01010010 00110010 01111000 00110001 01010011 01010101 01100100 01101111 01100010 01000111 01001110 01110100 01010110 01011000 01010110 01001101 01100001 01010100 01010010 01101110 01010110 01101011 01101000 01001011 01100001 01000111 01000110 01011000 01100101 01001000 01000010 01101001 01100010 01010111 01001110 01101110 01011001 01010101 01100100 01110011 01100101 01101011 01101100 01001001 01010101 01101101 01101000 01101000 01010110 01111010 01010101 01110111 01010111 01101100 01100100 01010010 01011010 00110010 01000110 01011000 01001110 01011000 01001010 01001010 01010011 01000110 01001010 00110010 01010011 01010101 01100011 01111000 01001110 01010101 01101100 01001000 01010101 01101110 01011010 01101001 01001101 00110000 01101100 01101111 01010011 01010101 01010110 01110011 01001101 01000101 01101100 01001000 01010100 01101110 01011010 01101011 01010110 00110011 01101000 01110010 01010011 01010101 01100100 01101111 01100001 01000111 01010010 01110100 01010110 01010111 01100100 01101011 01010010 01111010 01101011 01111000 01010111 01010100 01001010 01101111 01100010 01000110 01110000 01000100 01010001 01101110 01010010 01100001 01010101 00110000 01010110 01101110 01010101 00110001 01101000 01010010 01011010 00110001 01101011 01111001 01001111 01010100 01000110 01101001 01010010 00110001 01000110 01101110 01011001 01010101 01100100 01000111 01001101 01101100 01110000 01010100 01010001 01101110 01100100 01101011 01010110 00110011 01101000 01111010 01010111 01101100 01100100 01010010 01011010 00110010 01001010 01011000 01010110 01010111 01100100 01011010 01100010 01010101 01011010 01110001 01011001 01011000 01101100 01000110 01100001 01000101 01101100 01000110 01010101 01101110 01011010 01001010 01010011 01000111 01111000 00110010 01011010 01000110 01001110 01000011 01100011 01101101 01001010 01110100 01001111 01010100 01001110 01001010 01010011 01000111 01010010 01110110 01010111 01010110 01101000 01010010 01011010 00110010 01000110 01011001 01010101 01010111 00110101 01101010 01100101 01010101 01001010 01111010 01011001 01010110 01100100 00110000 01100010 01000110 01000010 00110101 01010001 01101011 00110001 01101000 01010111 01000110 01110000 01110111 01011001 01101101 00110001 01101010 01011010 00110010 01000110 01011000 01001110 01000111 01100100 01101011 01010010 00110010 01101000 01110011 01010011 01010101 01100100 01010011 01100001 01000111 01001110 01110100 01100011 00110010 01100100 01101010 01010011 01000110 01011010 01110010 01010111 01101011 01100100 00110100 01100010 01000111 01001110 00110110 01001111 01000111 01100100 01010100 01010111 01000110 01000110 01110101 01011001 00110011 01101100 01000011 01100001 01000101 01101100 01001000 01010011 01101010 01000110 01101100 01100010 01101110 01000010 01110111 01011001 01101101 00110001 01101010 01100011 00110000 01101100 01001001 01010100 01101101 01110000 01101010 01100010 01010110 01011010 01101111 01011001 01101100 01100100 01110011 01100100 01010110 01110000 00110101 01010001 01101010 01001110 01100001 01010110 00110011 01101000 01111010 01010011 01010101 01100011 00110101 01100010 01010101 01101100 01001001 01010111 01101110 01011010 01101000 01010110 00110000 00110101 01110011 01011001 00110011 01101100 01000110 01011010 00110001 01000110 01110100 01100010 01000100 01000010 01101010 01100101 01010101 01001010 00110010 01010111 01101101 01101100 01000011 01001110 01010111 01001001 01111010 01010110 01101110 01101100 01001010 01010010 01111010 01000110 01110111 01011001 01101101 00110001 01010010 01100011 00110000 01101100 01001001 01010100 01101010 01001110 01101000 01010110 01111010 01000110 00110000 01011001 01010110 01100011 00110001 01100010 01101011 01111000 01110000 01001110 01001000 01010110 01001010 01010010 00110011 01101000 01110111 01011001 01010100 01001010 01010110 01100100 01010101 01111000 01110000 01001110 01000111 01100100 01101001 01010010 00110010 01111000 01111001 01010111 01101100 01001110 01000011 01100010 01010111 01000110 01011001 01010100 01101101 00111001 01001010 01010010 00110010 01111000 00110001 01010011 01010101 01100100 01000110 01011010 00110001 01101100 01110100 01001111 01010100 01001110 01101001 01010001 00110000 01010110 01101110 01010110 01101011 01100100 01101111 01100010 01000101 01101100 01001000 01010111 01101110 01000010 01101010 01100010 01101011 00110100 01110111 01010011 01010101 01101000 01010011 01100011 01000111 01001010 01011000 01010110 01010111 01100100 01010100 01010101 00110000 01001001 01111010 01010111 01010110 01101000 01001110 01011010 00110001 01101100 01110100 01001111 01011000 01101100 01101001 01100001 01010101 01001010 01110100 01011001 00110010 00110000 00110101 01100100 01000101 01101100 01001000 01100010 01000100 01000010 01101010 01100101 01010111 01001110 01101110 01011001 01010110 01100011 00110001 01100011 01101101 01010110 01010100 01010001 01101010 01001110 01101001 01001101 01101010 01000110 01110000 01010100 01000101 01001110 01000011 01010011 01101011 01101100 01001001 01011010 01000111 01101000 01101010 01100101 01010101 01001010 01101111 01010011 01010101 01101000 01101011 01100101 01010111 01000110 01011000 01011010 01000111 00110101 01101001 01010010 00110010 01111000 00110001 01010111 01101110 01101100 00110011 01011010 00110010 01001110 01001001 01010110 01101110 01110000 01101010 01001101 01101101 01111000 00110001 01010111 01101110 01101100 00110011 01011010 00110010 01001101 01111001 01100001 01000111 01101000 01101010 01010010 00110001 01011010 01111010 01010111 01101100 01101000 01001111 01100101 01101011 01101100 01001001 01010100 01101110 01001110 01101011 01010110 00110010 01001110 00110001 01010011 01010101 01011010 01010011 01100010 00110001 01110000 01010100 01010001 01101110 01110000 01100001 01010110 00110000 00110101 00110010 01011001 01101101 00110001 01010010 01011010 00110010 01010010 01001000 01100010 01001000 01010010 01100001 01010101 01111010 01010010 00110001 01010100 01000111 01101100 01000011 01001101 00110001 01110000 01011000 01100101 01001000 01001110 01001101 01100001 01010100 01010010 00110001 01010011 01010101 01010110 01110011 01001101 01000101 01101100 01001000 01001101 01010111 01101000 01100001 01010010 00110001 01010110 01101110 01011001 01101100 01100100 01010110 01011010 00110001 01101100 01011000 01001110 01000111 01100100 01011010 01010110 01111010 01010110 01110101 01010111 01101100 01100100 00110011 01100001 01000101 01101100 01000110 01100001 00110010 01100100 01101011 01001101 01101101 01111000 01111010 01011001 01101011 01001110 01000011 01100100 01010111 01001001 01111010 01010101 01010111 01100100 01101001 01010010 00110001 01011001 01110111 01010011 01010101 01101000 01010011 01100010 00110001 01110000 01010100 01010001 01101101 01110100 01100001 01010110 01111010 01000110 00110010 01011001 01101101 01101100 01000011 01001101 01000111 01001001 01111010 01010110 01101101 01110000 01101000 01010001 00110000 01001010 00110000 01010111 01101100 01001110 01000011 01100001 01000110 01101111 01111001 01010010 01101110 01000010 01101001 01100001 01010100 01010010 01101110 01010101 00110001 01001110 01101011 01100100 01000101 01101100 01001001 01010100 01101110 01011010 01001010 01010010 00110000 00110101 01111010 01011001 01101010 01001110 01001111 01100010 01000101 01101100 01001000 01001110 01011000 01011010 01101011 01100101 01010100 01010010 01101110 01010110 01010100 01001001 00110100 01100100 01010101 01111000 01110000 01001110 01000111 01100100 01011010 01010110 00110011 01101000 00110000 01011001 01101010 01001110 01001111 01001101 01000101 01101100 01001001 01010001 01101101 01111000 01101010 01100010 01010110 01110000 01110011 01010111 01010100 01001110 01010010 01100100 01010101 01101100 01000111 01100010 01000111 01111000 01101010 01100101 01010100 01010010 01101110 01010101 00110001 01001110 01000011 01001101 00110010 01000110 01011000 01100101 01001000 01001110 01001010 01010011 01000101 00110101 00110011 01010111 01010110 01101000 01001011 01100010 01000101 01101100 01001001 01100010 01001000 01011010 01101011 01010101 01111010 01010010 01101110 01010101 01101101 00110000 00110101 01100101 01010101 01101100 01001000 01001110 01011000 01011010 01101011 01100101 01010100 01010010 01101110 01010101 01010111 00110001 01010111 01001101 01000111 01010010 01001000 01010110 01101110 01101100 01001010 01010011 01000111 01111000 01110011 01011010 01000101 01001101 00110000 01100100 01010101 01111000 01110000 01010001 01101011 01110000 01001011 01001101 01101110 01101000 01111010 01010011 01010101 01100100 01010111 01001101 01101100 01110000 01011000 01001110 01000111 01100100 01101001 01010010 00110001 01011001 01110111 01010011 01010101 01101000 01110011 01100100 01101101 01010010 01010100 01010001 01101101 01101000 01101010 01001101 01101011 00110101 01110011 01011001 01101101 00110001 01010010 01011010 00110001 01101100 01011000 01001110 01010111 01110100 01001010 01010010 00110011 01101000 01110011 01010111 01010110 01101000 01100001 01100010 01000101 01101100 01001001 01010101 01101101 00111001 01101000 01010111 01000101 00110001 01101110 01011001 00110000 01100100 00110100 01100001 01000110 01101011 01111001 01010110 01011000 01010110 01001010 01010010 01010111 01111000 01110100 01010011 01010101 01101000 01110011 01100100 01101101 01010010 01010100 01010001 01101010 01001110 01101000 01010110 00110011 01101000 01111010 01010011 01010101 01100100 01010011 01100100 01101011 01101100 01001000 01010010 01010111 01100100 01100001 01100010 01010110 01011001 01111010 01010011 01010101 01100100 01010111 01100010 01000111 01001010 01110101 01010100 01101010 01010110 01001101 01010001 00110000 01001001 01111010 01010111 01101100 01100100 01010111 01100100 01010111 01001101 01111010 01100001 00110010 01100100 01101001 01010010 00110010 01110111 01110111 01011010 01000101 01100100 00110100 01100010 01000101 01101100 01001000 01010111 01101101 01101000 01101011 01100010 01010100 01101100 00110101 01011001 00110011 01101100 01000011 01100010 01010111 01001001 01111010 01010011 01010111 01100100 01101001 01010110 00110001 01010110 01101110 01010111 01101101 00110001 01110011 01100101 01010111 01001101 01111010 01010101 01011000 01010110 01001010 01010010 01101011 01110000 01110011 01011010 01000101 01101000 01010111 01100101 01010111 01001010 01110000 01010001 01101010 01000010 01101001 01100101 01010101 01001001 01110111 01011001 01010101 01100100 01010110 01011010 00110010 01001010 01001000 01100010 01000111 00110001 01101011 01010001 00110011 01100100 01101110 01011001 01101100 01101000 01110010 01011010 00110010 01001010 01001000 01100010 01000100 01000010 01101011 01010010 00110011 01101000 01110011 01010011 01010101 01100100 01010111 01100101 01010111 01001110 01110100 01010010 01101110 01010110 01100001 01010001 00110000 01001010 01110000 01011001 01101010 01001110 01110010 01100100 01010101 01101100 01000111 01011010 01000111 01111000 01001010 01010010 00110010 01101000 01101111 01011010 01000111 00110001 01010110 01011010 00110010 01010001 01111001 01001111 01011000 01101100 01101000 01100101 01010101 01001001 01110111 01011001 01101110 01101100 01000011 01100001 00110010 01001010 00110101 01010010 01010111 01101011 00111101
""")
call updateconsole("", "File copied successfully.")
$ renpy.jump("pre_ch0_result")
return

label pre_ch0_result:
call updateconsole("", "Loading aliceangel.chr...")
call updateconsole("init _alice", "Starting init scripts...")
call hideconsole
Expand Down
2 changes: 1 addition & 1 deletion project.json
@@ -1 +1 @@
{"renamed_all": true, "renamed_steam": true, "force_recompile": true, "build_update": false, "packages": ["Mod", "source"], "add_from": false}
{"renamed_all": true, "renamed_steam": true, "force_recompile": true, "build_update": false, "packages": ["Mod"], "add_from": false}

0 comments on commit 9987242

Please sign in to comment.