STEP 20: Use if to test if name is equal to the image name of the zombie you chose, such as "zombie2".
Set up the following commands to run if the hero collides with your "zombie":
- Use Remove Sprite to remove the hit_sprite from the stage.
- Use Say to have the sprite say "ouch!".
- Subtract 1 from score with Subtract Value. Then update the score_board with Update Dispaly.
To navigate the page using the TAB key, first press ESC to exit the code editor.