Goal:
Now that our game can check what the current health of our pikachu is, we need to tell it to show a message when its health does reach zero.
Steps:
- From Notifier, place a ShowMessageDialog block inside of the THEN portion of the IF/THEN block.
- From Text, place an empty text box block in each of the three slots in the Notifier1.ShowMessageDialog block.
- Set the first text to “You Lost”.
- Set the second text to “Game Over”.
- Set the third text to “OK!”
- From Pokeball, place a set Pokeball.Enabled block.
- From Logic, attach a false block to the end of the set Pokeball.Enabled block.