# Why are some scenes playing while others don't?

**URL:** <https://forum.choiceofgames.com/t/why-are-some-scenes-playing-while-others-dont/80998>\
**Category:** Game Development\
**Tags:** tips, coder\
**Created:** [June 11, 2020, 3:30pm UTC](https://forum.choiceofgames.com/t/why-are-some-scenes-playing-while-others-dont/80998 "2020-06-11T15:30:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyreek99](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tyreek99](https://forum.choiceofgames.com/u/Tyreek99)\
**Post date:** [June 11, 2020, 3:30pm UTC](https://forum.choiceofgames.com/t/why-are-some-scenes-playing-while-others-dont/80998/1 "2020-06-11T15:30:05Z")

</div>

Some of the scenes of my game are able to play while others just refuse to be activated and it’ll simply take me to the play again scene.

```
*choice
    #Kick some gravel at the perfect time to trip up Takeda.
        *if var5 < 50
          
          *goto awareness_fail
      
       
         *finish
       
       *elseif var5 > 50
            
            *goto awareness_pass
        
        *finish

```

This one above works while the one below doesn’t.

```
*choice
    #Kick some gravel at the perfect time to trip up Takeda.
        *if var5 < 50
          
          *goto awareness_fail
      
       
        *finish
       
       *elseif var5 > 50
            
            *goto awareness_pass
        
        *finish

```

Let me know if I need to post more of my code. Because I’m honestly confused.

---

<div class="post-metadata">

**Author:** ![Gower](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/gower/32/21972_2.png) [@Gower](https://forum.choiceofgames.com/u/Gower)\
**Post date:** [June 11, 2020, 3:31pm UTC](https://forum.choiceofgames.com/t/why-are-some-scenes-playing-while-others-dont/80998/2 "2020-06-11T15:31:51Z")

</div>

Did you intend to post the same code twice? These look like identical snippets.

The identing looks off to me in this code block. Also, an \*if/\*elseif needs an \*else. You can’t end with an \*elseif. If you only have two forks, use \*if/\*else

Doublealso, those \*finish commands aren’t doing anything. Falling the test goes to \*label awareness\_fail; passing the test goes to \*label awareness\_pass.

By the way, you may need to account for the situation in which var5 = 50.

Try this:

```
*choice
    #Kick some gravel at the perfect time to trip up Takeda.
        *if var5 < 50
          
          *goto awareness_fail
       
        *else
            
          *goto awareness_pass

```

---

<div class="post-metadata">

**Author:** ![Hazel](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/hazel/32/77796_2.png) [@Hazel](https://forum.choiceofgames.com/u/Hazel)\
**Post date:** [June 12, 2020, 6:49am UTC](https://forum.choiceofgames.com/t/why-are-some-scenes-playing-while-others-dont/80998/3 "2020-06-12T06:49:36Z")

</div>

The role of the `*finish` command is not analogous to the closing brackets of an if clause in another programming language. As @Gower said, no command past `*goto` will execute. The [wiki article](https://choicescriptdev.fandom.com/wiki/Finish) on `*finish` explains it pretty concisely.
