# # Finder script (English) # for Yakkey v1.0 # # $Id: finder.script,v 1.4 2001/06/11 09:17:53 jani Exp $ # $Revision: 1.4 $ # # by Jani Patokallio # Copyright 2001 the University of Tokyo # script.title= Finder script.version= 1.0 script.init= Goto macro main; macro.init= Set NOP \ Pause Sorry, not implemented yet

press any button to continue; Set LEFT SELECT ; Set RIGHT CANCEL ; Goto $1; main.title=Where do you want to go today? main.action= Hotel ($NOP) Restaurant (Goto food) Train station ($NOP) Help, I'm lost! ($NOP) # Not written yet... lost.init=Pause Don't worry!

Do you have a map?

$LEFT if yes

$RIGHT if no ; TRUE food.title=What type of restaurant? food.action= Anywhere cheap ($NOP) Japanese food (Goto food_jp) Western food ($NOP) Go back (Goto main) food_jp.title=Japanese food food_jp.action= Gyuudon Beef and rice (Set location gyuudon ; Goto finder) Ramen Chinese noodles (Set location ramen ; Goto finder) Soba/Udon Japanese noodles (Set location soba ; Goto finder) Sushi Raw fish (Set location sushi ; Goto finder) Tempura Deep-fried seafood (Set location tempura ; Goto finder) finder.init= Blank Time to kidnap a bystander ; Pause $LEFT to start asking,

$RIGHT to say 'Excuse me'; TRUE : Goto finder2 ; Blank Excuse me... ; Play call_waiter; Goto finder ; finder2.init= Blank Asking... ; Play finder_start ; Goto finder_main ; finder_main.init= Play finder_$location; Pause $LEFT if they understood,

$RIGHT to repeat; FALSE : Goto finder2 ; finder_main.title=Ask directions finder_main.action= Repeat slowly (Blank Asking...; Play finder_repeat) Point direction (Blank Asking...; Play finder_point) Show on map (Blank Please show the map.; Play finder_showmap) Draw a map (Blank Please offer something to draw on.; Play finder_drawmap) Thanks & goodbye (Blank Thanking... ; Play finder_thanks ; Blank Did you find it? ; Pause $LEFT if you did,

$RIGHT to ask for help again ; FALSE : Goto finder ; Load index.script);