fun ari_dig() {
animate(ari, shovel);
ari_set_attachment(shovel_worn);
}
fun ari_hammer() {
animate(ari, axe);
ari_set_attachment(craftinghammer);
}
fun ari_saw() {
animate(ari, axe);
ari_set_attachment(craftingsaw);
}
scene(town);
place_actor(nora, west, rtgs2_nora_entrance);
place_actor(holt, east, rtgs2_holt_entrance);
place_actor(celine, south, rtgs2_celine_entrance);
place_actor(dell, north, rtgs2_dell_entrance);
place_actor(adeline, south, rtgs2_adeline_entrance);
animate(adeline, write);
place_actor(ari, north, rtgs2_ari_entrance);
place_actor(ryis, south, rtgs2_ryis_entrance);
animate(ryis, write);
camera_position(rtgs2_camera_1);
request_music_play("Music/Events/Cutscene");
var ryis_is_hammering = false;
var ryis_is_sawing = false;
fun ryis_hammer_sound() {
if ryis_is_hammering == false {
wait(0.5);
return;
}
play_sound("SoundEffects/Tools/RyisHammerSwingAndHitWood2D");
wait(0.7);
}
fun ryis_saw_sound() {
if ryis_is_sawing == false {
wait(0.5);
return;
}
play_sound("SoundEffects/Tools/SawBackAndForth2D");
wait(0.45);
}
sim {
{
wait(0.25);
fade_in(2);
}
{
free bark_speech(holt, celebration);
wait(0.5);
free bark_speech(nora, coin);
}
{
wait(0.5);
free bark_speech(adeline, question_mark);
wait(0.5);
free bark_speech(ryis, woodcrafting);
wait(1);
free bark_speech(ryis, three);
}
{
wait(3);
animate(ryis, idle);
face(ryis, east);
wait(1);
animate(adeline, idle);
face(adeline, west);
}
{
wait(4.5);
next_line(); //
}
{
wait(5);
free bark_speech(nora, exclamation_mark);
wait(0.5);
face(nora, east);
wait(0.25);
face(dell, east);
face(celine, east);
}
}
sim {
{
walk_slow(ryis, rtgs2_ryis_start);
face(ryis, west);
}
{
wait(0.75);
walk_slow(ari, rtgs2_ari_start);
face(ari, north);
}
{
wait(1.25);
walk_slow(adeline, rtgs2_ryis_entrance);
face(adeline, west);
}
pan_camera(2, rtgs2_camera_2);
{
next_line(); //
next_line(); //
}
}
sim {
{
wait(0.5);
face(celine, south);
wait(0.5);
face(nora, north);
}
{
next_line(); //
}
}
sim {
{
wait(0.5);
face(nora, east);
wait(0.5);
face(celine, east);
}
{
next_line(); //
}
}
sim {
{
wait(0.5);
face(ryis, south);
}
{
next_line(); //
//
next_line(); //
}
}
sim {
{
wait(0.5);
face(nora, south);
wait(0.5);
face(ryis, west);
face(ari, west);
wait(0.25);
face(celine, south);
face(holt, south);
}
{
next_line(); //
next_line(); //
}
}
close_textbox();
face(dell, north);
wait(0.5);
free bark_speech(dell, annoyed);
wait(1);
face(ryis, south);
wait(0.5);
face(ari, north);
wait(0.25);
free bark_speech(ryis, cute_face);
free bark_speech(ari, cute_face);
wait(0.5);
sim {
{
walk_slow(nora, rtgs2_nora_back);
face(nora, north);
wait(0.5);
face(dell, north);
}
{
wait(0.5);
walk_slow(adeline, rtgs2_adeline_exit);
face(adeline, north);
}
{
wait(0.5);
walk_slow(celine, rtgs2_celine_back);
face(celine, north);
wait(0.5);
face(holt, north);
}
{
wait(1);
face(ryis, north);
}
}
wait(1);
sim {
{
wait(0.5);
play_sound("SoundEffects/SpecialEvents/Construction");
play_sound("SoundEffects/SpecialEvents/Construction");
wait(4);
play_sound("SoundEffects/SpecialEvents/Construction");
play_sound("SoundEffects/SpecialEvents/Construction");
wait(2);
play_sound("SoundEffects/SpecialEvents/Construction");
play_sound("SoundEffects/SpecialEvents/Construction");
}
free pan_camera(10, rtgs2_camera_3);
{
wait(0.5);
place_actor(ryis, east, rtgs2_ryis_construction_1);
animate(ryis, hammer);
ryis_is_hammering = true;
free {
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
ryis_hammer_sound();
}
wait(2);
place_actor(ryis, west, rtgs2_ryis_construction_2);
animate(ryis, saw);
ryis_is_hammering = false;
ryis_is_sawing = true;
wait(2);
place_actor(ryis, east, rtgs2_ryis_construction_3);
animate(ryis, hammer);
ryis_is_sawing = false;
ryis_is_hammering = true;
wait(2);
place_actor(ryis, west, rtgs2_ryis_construction_4);
animate(ryis, saw);
ryis_is_hammering = false;
ryis_is_sawing = true;
wait(2);
place_actor(ryis, north, rtgs2_ryis_construction_5);
animate(ryis, hammer);
ryis_is_sawing = false;
ryis_is_hammering = true;
}
{
wait(1);
place_actor(ari, north, rtgs2_ari_construction_1);
ari_dig();
wait(2);
place_actor(ari, east, rtgs2_ari_construction_2);
ari_hammer();
wait(2);
place_actor(ari, west, rtgs2_ari_construction_3);
ari_hammer();
wait(2);
place_actor(ari, east, rtgs2_ari_construction_4);
ari_hammer();
wait(2);
place_actor(ari, west, rtgs2_ari_construction_5);
ari_hammer();
wait(2);
}
{
wait(1.25);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_1, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_9, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_2, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_10, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_3, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_11, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_4, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_12, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_5, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_13, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_6, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_14, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_7, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_15, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_8, 0, 0, 0, -5000);
}
{
wait(0.75);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_1, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_9, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_2, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_10, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_3, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_11, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_4, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_12, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_5, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_13, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_6, 0, 0, 0, -5000);
wait(0.5);
}
{
wait(2);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_1, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_9, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_2, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_10, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_3, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_11, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_4, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_12, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_5, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_13, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_6, 0, 0, 0, -5000);
wait(0.5);
}
{
wait(6);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_11, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_4, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_12, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_5, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_13, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_6, 0, 0, 0, -5000);
wait(0.5);
}
{
wait(7);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_11, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_4, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_12, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_5, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_13, 0, 0, 0, -5000);
wait(0.5);
create_animation(spr_fx_poof1_dirt_once, rtgs2_dust_6, 0, 0, 0, -5000);
wait(0.5);
}
{
wait(8);
setup_prop(rtgs2_rubble_1);
free fade_prop_alpha("rtgs2_rubble_1", 0.0, 1, 60);
setup_prop(rtgs2_rubble_2);
free fade_prop_alpha("rtgs2_rubble_2", 0.0, 1, 60);
}
}
ryis_is_hammering = false;
place_actor(ryis, north, rtgs2_ryis_finish_construction);
animate(ryis, idle);
place_actor(ari, north, rtgs2_ari_finish_construction);
animate(ari, idle);
override_requirement("repaired_general_store");
refresh_room_layers();
play_sound("SoundEffects/SpecialEvents/RevealTransition");
free {
create_animation(spr_fx_twinkle_1, rtgs2_dust_16, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_15, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_14, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_9, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_13, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_8, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_12, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_7, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_11, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_6, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_10, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_5, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_4, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_3, 0, 0, 0, -5000);
wait(0.25);
create_animation(spr_fx_twinkle_1, rtgs2_dust_2, 0, 0, 0, -5000);
}
wait(1);
pan_camera(5, rtgs2_camera_2);
wait(0.5);
face(holt, east);
wait(0.25);
free bark_speech(holt, exclamation_mark);
wait(0.5);
face(celine, east);
next_line(); //
close_textbox();
sim {
{
wait(0.5);
face(ryis, west);
}
{
wait(2);
face(ari, east);
}
{
walk(holt, rtgs2_holt_sweep);
face(holt, south);
animate(holt, sweep);
free {
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
play_sound("SoundEffects/SpecialEvents/BroomSweepNeutral");
wait(0.5);
}
wait(1);
fade_prop_alpha("rtgs2_rubble_2", 1, 0.0, 120);
wait(2);
destroy_prop(rtgs2_rubble_2);
}
{
wait(0.5);
walk(celine, rtgs2_celine_sweep);
face(celine, south);
animate(celine, sweep);
free {
wait(0.15);
play_sound("SoundEffects/SpecialEvents/BroomSweepHigh");
wait(0.6);
play_sound("SoundEffects/SpecialEvents/BroomSweepHigh");
wait(1.9);
play_sound("SoundEffects/SpecialEvents/BroomSweepHigh");
}
wait(1);
fade_prop_alpha("rtgs2_rubble_1", 1, 0.0, 120);
wait(2);
destroy_prop(rtgs2_rubble_1);
}
}
sim {
{
animate(holt, idle);
wait(0.5);
face(holt, north);
}
{
wait(0.25);
animate(celine, idle);
wait(0.5);
face(celine, north);
}
{
walk(ryis, rtgs2_ryis_exit);
face(ryis, north);
}
{
walk(ari, rtgs2_ari_exit);
face(ari, north);
}
{
wait(1);
pan_camera(3, rtgs2_camera_4);
}
{
wait(2);
next_line(); //
next_line(); //
}
}
sim {
{
wait(0.5);
pan_camera(2, rtgs2_camera_2);
}
{
wait(1);
face(nora, east);
wait(0.25);
face(dell, east);
wait(0.5);
face(adeline, west);
wait(0.5);
face(ari, south);
face(ryis, south);
wait(0.5);
face(celine, south);
face(holt, south);
}
{
next_line(); //
next_line(); //
next_line(); //
}
}
//
if get_response() == 0 {
sim {
{
wait(0.5);
face(ryis, east);
wait(0.5);
face(ari, west);
}
{
next_line(); //
}
}
} else {
sim {
{
wait(0.5);
face(adeline, north);
wait(0.5);
face(ryis, east);
}
{
next_line(); //
}
}
}
sim {
{
wait(0.5);
face(nora, north);
wait(0.5);
face(ryis, south);
wait(0.25);
face(ari, south);
}
{
next_line(); //
}
}
close_textbox();
sim {
{
sim {
walk(nora, rtgs2_family_exit);
set_move_speed(nora, 1.0);
}
face(nora, north);
use_door(nora);
}
{
wait(2);
walk(dell, rtgs2_family_exit);
face(dell, north);
use_door(dell);
}
free {
wait(1);
walk_slow(celine, rtgs2_family_exit);
face(celine, north);
use_door(celine);
}
free {
wait(2.25);
walk_slow(holt, rtgs2_family_exit);
face(holt, north);
use_door(holt);
}
{
wait(1.5);
face(ryis, south);
wait(0.5);
face(ari, south);
wait(0.5);
face(adeline, north);
wait(1);
free bark_speech(ryis, cute_face);
free bark_speech(adeline, cute_face);
free bark_speech(ari, cute_face);
}
{
wait(4.5);
fade_out(2);
}
}
wait_one_tick();