[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.84,0:00:01.80,Default,,0000,0000,0000,,Wow! Dialogue: 0,0:00:01.80,0:00:03.02,Default,,0000,0000,0000,,Another three puzzles solved! Dialogue: 0,0:00:03.02,0:00:05.90,Default,,0000,0000,0000,,And we've caught...a salmon. Dialogue: 0,0:00:05.90,0:00:10.58,Default,,0000,0000,0000,,Not quite as exciting as piles of gold, but\Nwe'll take what we can get. Dialogue: 0,0:00:10.58,0:00:14.43,Default,,0000,0000,0000,,And I have a feeling that nautilus shell will\Ncome in handy later. Dialogue: 0,0:00:14.43,0:00:17.45,Default,,0000,0000,0000,,I wonder what lurks in these ruins. Dialogue: 0,0:00:17.45,0:00:18.84,Default,,0000,0000,0000,,Perhaps another hint! Dialogue: 0,0:00:18.84,0:00:21.51,Default,,0000,0000,0000,,Let’s take a look inside. Dialogue: 0,0:00:21.51,0:00:24.76,Default,,0000,0000,0000,,My name is Netty and welcome to my ruins. Dialogue: 0,0:00:24.76,0:00:28.50,Default,,0000,0000,0000,,We make decisions all the time based on conditions. Dialogue: 0,0:00:28.50,0:00:31.54,Default,,0000,0000,0000,,If it looks like rain, \Nthen we’ll grab an umbrella. Dialogue: 0,0:00:31.54,0:00:34.16,Default,,0000,0000,0000,,If we’re hungry, then we'll eat a snack. Dialogue: 0,0:00:34.16,0:00:38.44,Default,,0000,0000,0000,,If we see a creeper, then we run \Nin the opposite direction. Dialogue: 0,0:00:38.45,0:00:41.00,Default,,0000,0000,0000,,Computers make these types of decisions too. Dialogue: 0,0:00:41.01,0:00:44.46,Default,,0000,0000,0000,,They can actually respond to \Nconditions using code. Dialogue: 0,0:00:44.46,0:00:50.70,Default,,0000,0000,0000,,To program a response like this using your\Ncode commands, select an if path block. Dialogue: 0,0:00:50.70,0:00:53.32,Default,,0000,0000,0000,,Select the dropdown to create the command. Dialogue: 0,0:00:53.32,0:00:58.64,Default,,0000,0000,0000,,For example, if you write the command "if\Npath to the right" and place turn right inside Dialogue: 0,0:00:58.64,0:01:03.56,Default,,0000,0000,0000,,the conditional, then when Steve \Nreaches an open path to the right Dialogue: 0,0:01:03.56,0:01:06.10,Default,,0000,0000,0000,,he will always turn right. Dialogue: 0,0:01:06.10,0:01:09.78,Default,,0000,0000,0000,,If there is no opening to the right, \Nhe will not turn right. Dialogue: 0,0:01:09.78,0:01:14.46,Default,,0000,0000,0000,,These conditional if commands are helpful\Nwhen you run code in unpredictable situations Dialogue: 0,0:01:14.46,0:01:17.86,Default,,0000,0000,0000,,such as mysterious ruins in underwater caves. Dialogue: 0,0:01:17.86,0:01:21.20,Default,,0000,0000,0000,,Try using the if blocks and take your code\Nfor a spin. Dialogue: 0,0:01:21.20,0:01:22.20,Default,,0000,0000,0000,,Wow! Dialogue: 0,0:01:22.20,0:01:23.93,Default,,0000,0000,0000,,Netty’s ruins were awesome. Dialogue: 0,0:01:23.93,0:01:26.62,Default,,0000,0000,0000,,I really gotta move out of my parents' house. Dialogue: 0,0:01:26.62,0:01:27.69,Default,,0000,0000,0000,,So what do you think? Dialogue: 0,0:01:27.69,0:01:30.73,Default,,0000,0000,0000,,Are the conditions right for us to complete\Nthe final puzzles? Dialogue: 0,0:01:30.73,0:01:32.18,Default,,0000,0000,0000,,Let’s give it a go.