Difference between revisions of "Options Menu"
Jump to navigation
Jump to search
m
→Examples
imported>JustinOther m (→Examples) |
imported>JustinOther m (→Examples) |
||
Line 56: | Line 56: | ||
If (aiButton != -1) ; Wait for input | If (aiButton != -1) ; Wait for input | ||
aiButton = MainMenuMESG.Show() ; Main Menu | aiButton = MainMenuMESG.Show() ; Main Menu | ||
abMenu = False | abMenu = False ; End the function | ||
If (aiButton == 0) ; Breakfast | If (aiButton == 0) ; Breakfast | ||
aiButton = BreakfastMESG.Show() | aiButton = BreakfastMESG.Show() | ||
If (aiButton == 0) ; Sweet Roll | If (aiButton == 0) ; Sweet Roll & Coffee | ||
ElseIf (aiButton == 1) ; Pancakes, Bacon & Eggs | ElseIf (aiButton == 1) ; Pancakes, Bacon & Eggs | ||
ElseIf (aiButton == 2) ; Country Fried Pony Steak | ElseIf (aiButton == 2) ; Country Fried Pony Steak | ||
Line 65: | Line 65: | ||
ElseIf (aiButton == 1) ; Lunch | ElseIf (aiButton == 1) ; Lunch | ||
aiButton = LunchMESG.Show() | aiButton = LunchMESG.Show() | ||
If (aiButton == 0) ; Turkey Sandwich | If (aiButton == 0) ; Glazed Turkey Sandwich | ||
ElseIf (aiButton == 1) ; Ham Sandwich | ElseIf (aiButton == 1) ; Grilled Ham Sandwich | ||
ElseIf (aiButton == 2) ; Pony Sandwich | ElseIf (aiButton == 2) ; Shredded Pony Sandwich | ||
EndIf | EndIf | ||
ElseIf (aiButton == 2) ; Dinner | ElseIf (aiButton == 2) ; Dinner |