beginstate INIT_STATE; // This state called whenever this town is entered. // Only enter when you come from the inn the previous night. play_sound(18); message_dialog("In the middle of the night, you suddenly wake up. What was that sound?", "Something is wrong."); flip_terrain(8,7); play_sound(58); relocate_character(6,8,7); relocate_character(7,9,7); if (party_size() > 1) { text_bubble_on_char(6,"These ones are awake"); } else { text_bubble_on_char(6,"This one's awake"); } play_sound(49); force_instant_terrain_redraw(); pause(10); relocate_character(6,8,6); relocate_character(7,8,8); if (party_size() > 1) { text_bubble_on_char(7,"Kill them"); } else { text_bubble_on_char(7,"Kill him"); } force_instant_terrain_redraw(); play_sound(50); pause(10); text_bubble_on_char(6,""); text_bubble_on_char(random_party_member(), "Bandits!"); force_instant_terrain_redraw(); pause(10); erase_text_bubbles(); force_instant_terrain_redraw(); break;