In your code:
if (event_type == EVENT_TOUCH)
{
... here we are if EVENT_TOUCH happened
}
else
Every thing AFTER the
else is related to those events that AREN'T EVENT_TOUCH. So...
The second if right next the else contains such condition that will never occur because implies the event_type == EVENT_TOUCH and that is exluded in this branch.
The skeleton of the if-then-else statememnt.
if (condittion)
{
codelines for the condition TRUE branch
}
else
{
codelines for the condition FALSE branch
}
Hope this help.
edit reason: bold doesnt work for me inside code tags.