If you need to detect say only one or two pins on falling (or rising edge), then you may want to use timers in counter mode. Should work for you.

Then have a check like

Code:
IF TMR0=1 THEN 'TMR0 is either on falling or rising edge as you need.
TMR0=0
GOSUB GET_PIZZA
ENDIF