Step 11: Bomb Reload 2

Goal:


With our IF statement in place, we need to tell it what to look for.

Our IF statement should check to see if the amount of bombs we currently have is less then our starting amount (4).

Steps:

  1. From Operators, place a <(Less Than) block in the IF block.
  2. Set the right side of the <(Less Than) block to 4.
  3. From Variables, place a round bomb block into the left side of the <(Less Than) block.

Code:


Click to replay