Frame 1
stop();
mochi.as2.MochiAd.showPreGameAd({id:"d9671c6afecb41df", res:((("" + Stage.width) + "x") + Stage.height) + ""});
return();
//infinite loop
Frame 2
return();
//infinite loop
Frame 3
str = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><data><file lv=\"1\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"300\" housing_money=\"80\" dining_money=\"20\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"50\" \tbilliards_money=\"50\" \tcinema_money=\"40\"\t\tdog_money=\"30\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"2\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"400\" housing_money=\"80\" dining_money=\"20\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"50\" \tbilliards_money=\"50\" \tcinema_money=\"40\"\t\tdog_money=\"30\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"3\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"500\" housing_money=\"80\" dining_money=\"20\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"50\" \tbilliards_money=\"50\" \tcinema_money=\"40\"\t\tdog_money=\"30\"\t\tbellboy_money=\"29\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"4\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"600\" housing_money=\"80\" dining_money=\"20\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"50\" \tbilliards_money=\"50\" \tcinema_money=\"40\"\t\tdog_money=\"30\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"5\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"700\" housing_money=\"80\" dining_money=\"20\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"50\" \tbilliards_money=\"50\" \tcinema_money=\"40\"\t\tdog_money=\"35\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"6\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"800\" housing_money=\"80\" dining_money=\"20\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"55\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"35\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"7\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"900\" housing_money=\"80\" dining_money=\"20\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"55\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"35\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"8\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"1100\" housing_money=\"80\" dining_money=\"25\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"55\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"35\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"9\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"1300\" housing_money=\"80\" dining_money=\"25\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"55\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"35\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"10\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"1500\" housing_money=\"80\" dining_money=\"25\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"55\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"35\"\t\tbellboy_money=\"30\"\t\tpark_money=\"100\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"11\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"1700\" housing_money=\"80\" dining_money=\"25\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"60\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"120\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"12\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"1900\" housing_money=\"80\" dining_money=\"25\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"60\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"120\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"13\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"2100\" housing_money=\"80\" dining_money=\"25\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"60\" \tbilliards_money=\"55\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"120\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"14\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"2400\" housing_money=\"80\" dining_money=\"25\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"60\" \tbilliards_money=\"60\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"120\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"15\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"2700\" housing_money=\"80\" dining_money=\"30\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"60\" \tbilliards_money=\"60\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"140\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"16\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"3000\" housing_money=\"80\" dining_money=\"30\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"60\" \tbilliards_money=\"60\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"140\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"17\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"3500\" housing_money=\"80\" dining_money=\"30\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"80\" \tbilliards_money=\"60\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"140\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"18\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"4000\" housing_money=\"80\" dining_money=\"30\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"80\" \tbilliards_money=\"60\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"140\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"19\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"4500\" housing_money=\"80\" dining_money=\"30\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"80\" \tbilliards_money=\"60\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"140\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"20\" quarrelAI=\"2000\" sleepAI=\"3000\" fireAI=\"800\" timeNum=\"75\" pass_money=\"5000\" housing_money=\"80\" dining_money=\"30\" batting_money=\"120\" swimming_money=\"150\" groggery_money=\"80\" \tbilliards_money=\"60\" \tcinema_money=\"40\"\t\tdog_money=\"40\"\t\tbellboy_money=\"30\"\t\tpark_money=\"140\"\tticket_money=\"20\" store_money=\"25\" gym_money=\"60\" jeu_money=\"123\" cafe_money=\"123\" wash_money=\"35\" water_money=\"11\" taxi_money=\"10\"/><file lv=\"1\" shop_tennis_money=\"700\" shop_natatorium_money=\"1000\" shop_room_money=\"300\" shop_table_money=\"200\" shop_bullpen_money0=\"1800\"\tshop_bullpen_money1=\"1580\" \t\tshop_bullpen_money2=\"1750\"\tshop_lift_money=\"1600\" \t \tshop_speedup_money0=\"220\" shop_speedup_money1=\"700\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2000\" \t shop_cinema_money=\"1200\" \t\t\t\tshop_groggeryWaiter_money=\"1000\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1200\" \t\tshop_bellboyWaiter_money=\"2220\" \t\tshop_natatorWaiter_money=\"1600\"\t\tshop_ballWaiter_money=\"2140\"\tshop_dustmanWaiter_money=\"2330\"\t\tshop_dog_money=\"620\"\t\tshop_park_money=\"1800\"\tshop_fiddleWaiter_money=\"2720\"\tshop_pianoWaiter_money=\"1830\"\tshop_draw0_money=\"1700\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2200\"\tshop_potted0_money=\"1780\"\tshop_potted1_money=\"1920\"\tshop_potted2_money=\"2250\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"2\" shop_tennis_money=\"800\" shop_natatorium_money=\"900\" shop_room_money=\"350\" shop_table_money=\"200\" shop_bullpen_money0=\"1700\"\tshop_bullpen_money1=\"1600\" \t\tshop_bullpen_money2=\"1750\"\tshop_lift_money=\"1500\" \t \tshop_speedup_money0=\"250\"\t\t\tshop_speedup_money1=\"700\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2100\" \t shop_cinema_money=\"1100\" \t\t\t\tshop_groggeryWaiter_money=\"1250\" shop_billiardsWaiter_money=\"1150\" shop_cinemaWaiter_money=\"1200\" shop_dogWaiter_money=\"1500\" \t\tshop_bellboyWaiter_money=\"2300\" \t\tshop_natatorWaiter_money=\"1200\"\t\tshop_ballWaiter_money=\"2200\"\tshop_dustmanWaiter_money=\"2500\"\t\tshop_dog_money=\"620\"\t\tshop_park_money=\"1800\"\tshop_fiddleWaiter_money=\"2620\"\tshop_pianoWaiter_money=\"1730\"\tshop_draw0_money=\"1700\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1800\"\tshop_potted1_money=\"1900\"\tshop_potted2_money=\"2250\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"3\" shop_tennis_money=\"800\" shop_natatorium_money=\"900\" shop_room_money=\"200\" shop_table_money=\"350\" shop_bullpen_money0=\"1900\" \tshop_bullpen_money1=\"1620\" \t\tshop_bullpen_money2=\"1760\"\tshop_lift_money=\"1600\" \tshop_speedup_money0=\"260\"\t\t\tshop_speedup_money1=\"700\"\t\tshop_groggery_money=\"580\" \t\tshop_billiards_money=\"2400\" \t shop_cinema_money=\"1300\" \t\t\t\tshop_groggeryWaiter_money=\"1200\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1200\" \t\tshop_bellboyWaiter_money=\"2200\" \t\tshop_natatorWaiter_money=\"1400\"\t\tshop_ballWaiter_money=\"2140\"\tshop_dustmanWaiter_money=\"2200\" \tshop_dog_money=\"600\"\t\tshop_park_money=\"1780\"\tshop_fiddleWaiter_money=\"2650\"\tshop_pianoWaiter_money=\"1800\"\tshop_draw0_money=\"1700\"\tshop_draw1_money=\"1880\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1800\"\tshop_potted1_money=\"1900\"\tshop_potted2_money=\"2200\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"4\" shop_tennis_money=\"700\" shop_natatorium_money=\"1000\" shop_room_money=\"400\" shop_table_money=\"250\" shop_bullpen_money0=\"1800\" shop_bullpen_money1=\"1660\" \t\tshop_bullpen_money2=\"1730\"\tshop_lift_money=\"1500\" \t \tshop_speedup_money0=\"270\"\t\t\tshop_speedup_money1=\"720\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2200\" \t shop_cinema_money=\"1400\" \t\t\t\tshop_groggeryWaiter_money=\"1400\" shop_billiardsWaiter_money=\"1300\" shop_cinemaWaiter_money=\"1200\" shop_dogWaiter_money=\"1300\" \t\tshop_bellboyWaiter_money=\"2400\" \t\tshop_natatorWaiter_money=\"1210\"\t\tshop_ballWaiter_money=\"2400\"\tshop_dustmanWaiter_money=\"2800\" \tshop_dog_money=\"620\"\t\tshop_park_money=\"1790\"\tshop_fiddleWaiter_money=\"2580\"\tshop_pianoWaiter_money=\"1820\"\tshop_draw0_money=\"1680\"\tshop_draw1_money=\"1860\"\tshop_draw2_money=\"2150\"\tshop_potted0_money=\"1810\"\tshop_potted1_money=\"1920\"\tshop_potted2_money=\"2200\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"5\" shop_tennis_money=\"700\" shop_natatorium_money=\"1100\" shop_room_money=\"300\" shop_table_money=\"400\" shop_bullpen_money0=\"1800\" shop_bullpen_money1=\"1650\" \t\tshop_bullpen_money2=\"1780\"\tshop_lift_money=\"1500\" \t \tshop_speedup_money0=\"280\"\t\t\tshop_speedup_money1=\"730\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2600\" \t shop_cinema_money=\"1200\" \t\t\t\tshop_groggeryWaiter_money=\"1600\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1400\" \t\tshop_bellboyWaiter_money=\"2500\" \t\tshop_natatorWaiter_money=\"1100\"\t\tshop_ballWaiter_money=\"2500\"\tshop_dustmanWaiter_money=\"2400\" \tshop_dog_money=\"630\"\t\tshop_park_money=\"1820\"\tshop_fiddleWaiter_money=\"2550\"\tshop_pianoWaiter_money=\"1800\"\tshop_draw0_money=\"1700\"\tshop_draw1_money=\"1850\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1800\"\tshop_potted1_money=\"1900\"\tshop_potted2_money=\"2100\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"6\" shop_tennis_money=\"750\" shop_natatorium_money=\"950\" shop_room_money=\"500\" shop_table_money=\"310\" shop_bullpen_money0=\"1500\" \tshop_bullpen_money1=\"1680\" \t\tshop_bullpen_money2=\"1800\"\tshop_lift_money=\"1500\" \tshop_speedup_money0=\"280\"\t\t\tshop_speedup_money1=\"720\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2500\" \t shop_cinema_money=\"1400\" \t\t\t\tshop_groggeryWaiter_money=\"1300\" shop_billiardsWaiter_money=\"1250\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1900\" \t\tshop_bellboyWaiter_money=\"2300\" \t\tshop_natatorWaiter_money=\"1600\"\t\tshop_ballWaiter_money=\"2200\"\tshop_dustmanWaiter_money=\"2900\" \tshop_dog_money=\"650\"\t\tshop_park_money=\"1800\"\tshop_fiddleWaiter_money=\"2680\"\tshop_pianoWaiter_money=\"1860\"\tshop_draw0_money=\"1680\"\tshop_draw1_money=\"1880\"\tshop_draw2_money=\"2200\"\tshop_potted0_money=\"1820\"\tshop_potted1_money=\"1850\"\tshop_potted2_money=\"2000\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"7\" shop_tennis_money=\"600\" shop_natatorium_money=\"800\" shop_room_money=\"300\" shop_table_money=\"240\" shop_bullpen_money0=\"1700\" \tshop_bullpen_money1=\"1620\" \t\tshop_bullpen_money2=\"1820\"\tshop_lift_money=\"1700\" shop_speedup_money0=\"300\"\t\t\tshop_speedup_money1=\"730\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2700\" \t shop_cinema_money=\"1500\" \t\t\t\tshop_groggeryWaiter_money=\"1500\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1700\" \t\tshop_bellboyWaiter_money=\"2800\" \t\tshop_natatorWaiter_money=\"1600\"\t\tshop_ballWaiter_money=\"2100\"\tshop_dustmanWaiter_money=\"2700\" \tshop_dog_money=\"710\"\t\tshop_park_money=\"1780\"\tshop_fiddleWaiter_money=\"2730\"\tshop_pianoWaiter_money=\"1920\"\tshop_draw0_money=\"1600\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1800\"\tshop_potted1_money=\"1920\"\tshop_potted2_money=\"2130\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"8\" shop_tennis_money=\"700\" shop_natatorium_money=\"1000\" shop_room_money=\"600\" shop_table_money=\"200\" shop_bullpen_money0=\"1700\" shop_bullpen_money1=\"1600\" \t\tshop_bullpen_money2=\"1830\"\tshop_lift_money=\"1600\" \t \tshop_speedup_money0=\"300\"\t\t\tshop_speedup_money1=\"750\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2600\" \t shop_cinema_money=\"1300\" \t\t\t\tshop_groggeryWaiter_money=\"1700\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1200\" shop_dogWaiter_money=\"1600\" \t\tshop_bellboyWaiter_money=\"2600\" \t\tshop_natatorWaiter_money=\"1100\"\t\tshop_ballWaiter_money=\"2300\"\tshop_dustmanWaiter_money=\"3000\" \tshop_dog_money=\"730\"\t\tshop_park_money=\"1800\"\tshop_fiddleWaiter_money=\"2680\"\tshop_pianoWaiter_money=\"1900\"\tshop_draw0_money=\"1550\"\tshop_draw1_money=\"1920\"\tshop_draw2_money=\"2080\"\tshop_potted0_money=\"1780\"\tshop_potted1_money=\"1800\"\tshop_potted2_money=\"2050\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"9\" shop_tennis_money=\"600\" shop_natatorium_money=\"1300\" shop_room_money=\"350\" shop_table_money=\"280\" shop_bullpen_money0=\"1800\" shop_bullpen_money1=\"1610\" \t\tshop_bullpen_money2=\"1800\"\tshop_lift_money=\"1600\" \t \tshop_speedup_money0=\"330\"\t\t\tshop_speedup_money1=\"770\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2400\" \t shop_cinema_money=\"1500\" \t\t\t\tshop_groggeryWaiter_money=\"1600\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1500\" \t\tshop_bellboyWaiter_money=\"2500\" \t\tshop_natatorWaiter_money=\"1200\"\t\tshop_ballWaiter_money=\"2400\"\tshop_dustmanWaiter_money=\"2800\" \tshop_dog_money=\"780\"\t\tshop_park_money=\"1830\"\tshop_fiddleWaiter_money=\"2610\"\tshop_pianoWaiter_money=\"1780\"\tshop_draw0_money=\"1660\"\tshop_draw1_money=\"1880\"\tshop_draw2_money=\"2080\"\tshop_potted0_money=\"1770\"\tshop_potted1_money=\"1800\"\tshop_potted2_money=\"2200\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"10\" shop_tennis_money=\"1000\" shop_natatorium_money=\"1200\" shop_room_money=\"500\" shop_table_money=\"250\" shop_bullpen_money0=\"1700\" shop_bullpen_money1=\"1590\" \t\tshop_bullpen_money2=\"1780\"\tshop_lift_money=\"1500\" \t \tshop_speedup_money0=\"360\"\t\t\tshop_speedup_money1=\"770\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2600\" \t shop_cinema_money=\"1400\" \t\t\t\tshop_groggeryWaiter_money=\"1480\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1330\" shop_dogWaiter_money=\"1900\" \t\tshop_bellboyWaiter_money=\"2700\" \t\tshop_natatorWaiter_money=\"1400\"\t\tshop_ballWaiter_money=\"2600\"\tshop_dustmanWaiter_money=\"2900\" \tshop_dog_money=\"730\"\t\tshop_park_money=\"1850\"\tshop_fiddleWaiter_money=\"2580\"\tshop_pianoWaiter_money=\"1770\"\tshop_draw0_money=\"1620\"\tshop_draw1_money=\"1800\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1790\"\tshop_potted1_money=\"1760\"\tshop_potted2_money=\"2150\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"11\" shop_tennis_money=\"700\" shop_natatorium_money=\"1000\" shop_room_money=\"300\" shop_table_money=\"200\" shop_bullpen_money0=\"1800\" shop_bullpen_money1=\"1580\" \t\tshop_bullpen_money2=\"1750\"\tshop_lift_money=\"1600\" \t \tshop_speedup_money0=\"370\" \t\t\tshop_speedup_money1=\"790\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2600\" \t shop_cinema_money=\"1600\" \t\t\t\tshop_groggeryWaiter_money=\"1500\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1500\" \t\tshop_bellboyWaiter_money=\"2500\" \t\tshop_natatorWaiter_money=\"1800\"\t\tshop_ballWaiter_money=\"2500\"\tshop_dustmanWaiter_money=\"3100\"\t\tshop_dog_money=\"770\"\t\tshop_park_money=\"1880\"\tshop_fiddleWaiter_money=\"2680\"\tshop_pianoWaiter_money=\"1820\"\tshop_draw0_money=\"1700\"\tshop_draw1_money=\"1820\"\tshop_draw2_money=\"2180\"\tshop_potted0_money=\"1760\"\tshop_potted1_money=\"1820\"\tshop_potted2_money=\"2000\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"12\" shop_tennis_money=\"800\" shop_natatorium_money=\"900\" shop_room_money=\"350\" shop_table_money=\"200\" shop_bullpen_money0=\"1700\"\tshop_bullpen_money1=\"1550\" \t\tshop_bullpen_money2=\"1800\"\tshop_lift_money=\"1500\" \t shop_speedup_money0=\"390\"\t\t\tshop_speedup_money1=\"800\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2500\" \t shop_cinema_money=\"1800\"\t\t\t\tshop_groggeryWaiter_money=\"1900\" shop_billiardsWaiter_money=\"1100\" shop_cinemaWaiter_money=\"1150\" shop_dogWaiter_money=\"1800\" \t\tshop_bellboyWaiter_money=\"2400\" \t\tshop_natatorWaiter_money=\"1780\"\t\tshop_ballWaiter_money=\"2200\"\tshop_dustmanWaiter_money=\"3500\" \tshop_dog_money=\"810\"\t\tshop_park_money=\"1900\"\tshop_fiddleWaiter_money=\"2700\"\tshop_pianoWaiter_money=\"1830\"\tshop_draw0_money=\"1680\"\tshop_draw1_money=\"1850\"\tshop_draw2_money=\"2150\"\tshop_potted0_money=\"1730\"\tshop_potted1_money=\"1880\"\tshop_potted2_money=\"1950\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"13\" shop_tennis_money=\"800\" shop_natatorium_money=\"900\" shop_room_money=\"200\" shop_table_money=\"350\" shop_bullpen_money0=\"1900\" \tshop_bullpen_money1=\"1600\" \t\tshop_bullpen_money2=\"1750\"\tshop_lift_money=\"1600\" shop_speedup_money0=\"400\"\t\t\tshop_speedup_money1=\"800\"\t\tshop_groggery_money=\"720\" \t\tshop_billiards_money=\"2800\" \t shop_cinema_money=\"1700\"\t\t\t\tshop_groggeryWaiter_money=\"2000\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"2000\" \t\tshop_bellboyWaiter_money=\"2300\" \t\tshop_natatorWaiter_money=\"1600\"\t\tshop_ballWaiter_money=\"2700\"\tshop_dustmanWaiter_money=\"3200\" \tshop_dog_money=\"850\"\t\tshop_park_money=\"1900\"\tshop_fiddleWaiter_money=\"2680\"\tshop_pianoWaiter_money=\"1880\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2200\"\tshop_potted0_money=\"1750\"\tshop_potted1_money=\"1860\"\tshop_potted2_money=\"2100\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"14\" shop_tennis_money=\"700\" shop_natatorium_money=\"1000\" shop_room_money=\"400\" shop_table_money=\"250\" shop_bullpen_money0=\"1800\" shop_bullpen_money1=\"1630\" \t\tshop_bullpen_money2=\"1780\"\tshop_lift_money=\"1400\" \t \tshop_speedup_money0=\"420\"\t\t\tshop_speedup_money1=\"810\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2700\" \t shop_cinema_money=\"1900\"\t\t\t\tshop_groggeryWaiter_money=\"1700\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1350\" shop_dogWaiter_money=\"2000\" \t\tshop_bellboyWaiter_money=\"2500\" \t\tshop_natatorWaiter_money=\"2050\"\t\tshop_ballWaiter_money=\"2600\"\tshop_dustmanWaiter_money=\"3700\" \tshop_dog_money=\"850\"\t\tshop_park_money=\"1920\"\tshop_fiddleWaiter_money=\"2620\"\tshop_pianoWaiter_money=\"1880\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1750\"\tshop_potted1_money=\"1900\"\tshop_potted2_money=\"2000\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"15\" shop_tennis_money=\"700\" shop_natatorium_money=\"1100\" shop_room_money=\"300\" shop_table_money=\"400\" shop_bullpen_money0=\"1800\" shop_bullpen_money1=\"1650\" \t\tshop_bullpen_money2=\"1810\"\tshop_lift_money=\"1500\" \t \tshop_speedup_money0=\"430\"\t\t\tshop_speedup_money1=\"830\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2900\" \t shop_cinema_money=\"2000\"\t\t\t\tshop_groggeryWaiter_money=\"1800\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"1700\" \t\tshop_bellboyWaiter_money=\"2400\" \t\tshop_natatorWaiter_money=\"1900\"\t\tshop_ballWaiter_money=\"2600\"\tshop_dustmanWaiter_money=\"3600\" \tshop_dog_money=\"900\"\t\tshop_park_money=\"1950\"\tshop_fiddleWaiter_money=\"2680\"\tshop_pianoWaiter_money=\"1830\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1910\"\tshop_draw2_money=\"2250\"\tshop_potted0_money=\"1750\"\tshop_potted1_money=\"1800\"\tshop_potted2_money=\"2150\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"16\" shop_tennis_money=\"750\" shop_natatorium_money=\"950\" shop_room_money=\"500\" shop_table_money=\"310\" shop_bullpen_money0=\"1500\" \tshop_bullpen_money1=\"1670\" \t\tshop_bullpen_money2=\"1850\"\tshop_lift_money=\"1500\" \tshop_speedup_money0=\"450\"\t\t\tshop_speedup_money1=\"850\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2600\" \t shop_cinema_money=\"2200\"\t\t\t\tshop_groggeryWaiter_money=\"1680\" shop_billiardsWaiter_money=\"1150\" shop_cinemaWaiter_money=\"1320\" shop_dogWaiter_money=\"2100\" \t\tshop_bellboyWaiter_money=\"2300\" \t\tshop_natatorWaiter_money=\"2200\"\t\tshop_ballWaiter_money=\"2700\"\tshop_dustmanWaiter_money=\"3800\" \tshop_dog_money=\"850\"\t\tshop_park_money=\"1900\"\tshop_fiddleWaiter_money=\"2680\"\tshop_pianoWaiter_money=\"1880\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2200\"\tshop_potted0_money=\"1750\"\tshop_potted1_money=\"1860\"\tshop_potted2_money=\"2100\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"17\" shop_tennis_money=\"600\" shop_natatorium_money=\"800\" shop_room_money=\"300\" shop_table_money=\"240\" shop_bullpen_money0=\"1700\" \tshop_bullpen_money1=\"1660\" \t\tshop_bullpen_money2=\"1830\"\tshop_lift_money=\"1700\" \t shop_speedup_money0=\"460\"\t\t\tshop_speedup_money1=\"880\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"3000\" \t shop_cinema_money=\"1900\"\t\t\t\tshop_groggeryWaiter_money=\"1700\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"2200\" \t\tshop_bellboyWaiter_money=\"2500\" \t\tshop_natatorWaiter_money=\"2200\"\t\tshop_ballWaiter_money=\"2900\"\tshop_dustmanWaiter_money=\"3700\" \tshop_dog_money=\"900\"\t\tshop_park_money=\"1950\"\tshop_fiddleWaiter_money=\"2750\"\tshop_pianoWaiter_money=\"1860\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1750\"\tshop_potted1_money=\"1800\"\tshop_potted2_money=\"2200\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"18\" shop_tennis_money=\"700\" shop_natatorium_money=\"1000\" shop_room_money=\"600\" shop_table_money=\"200\" shop_bullpen_money0=\"1700\"\tshop_bullpen_money1=\"1670\" \t\tshop_bullpen_money2=\"1850\"\tshop_lift_money=\"1600\" \tshop_speedup_money0=\"490\"\t\t\tshop_speedup_money1=\"900\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2700\" \t shop_cinema_money=\"2100\"\t\t\t\tshop_groggeryWaiter_money=\"1800\" shop_billiardsWaiter_money=\"1250\" shop_cinemaWaiter_money=\"1310\" shop_dogWaiter_money=\"2250\" \t\tshop_bellboyWaiter_money=\"2400\" \t\tshop_natatorWaiter_money=\"2100\"\t\tshop_ballWaiter_money=\"3000\"\tshop_dustmanWaiter_money=\"3700\" \tshop_dog_money=\"850\"\t\tshop_park_money=\"1900\"\tshop_fiddleWaiter_money=\"2680\"\tshop_pianoWaiter_money=\"1880\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2200\"\tshop_potted0_money=\"1750\"\tshop_potted1_money=\"1860\"\tshop_potted2_money=\"2100\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"19\" shop_tennis_money=\"600\" shop_natatorium_money=\"1300\" shop_room_money=\"350\" shop_table_money=\"280\" shop_bullpen_money0=\"1800\" shop_bullpen_money1=\"1700\" \t \tshop_bullpen_money2=\"1880\"\tshop_lift_money=\"1600\" \t \tshop_speedup_money0=\"500\"\t\t\tshop_speedup_money1=\"930\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2800\" \t shop_cinema_money=\"2300\"\t\t\t\tshop_groggeryWaiter_money=\"1800\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"2200\" \t\tshop_bellboyWaiter_money=\"2300\" \t\tshop_natatorWaiter_money=\"1800\"\t\tshop_ballWaiter_money=\"3100\"\tshop_dustmanWaiter_money=\"3900\" \tshop_dog_money=\"800\"\t\tshop_park_money=\"1950\"\tshop_fiddleWaiter_money=\"2620\"\tshop_pianoWaiter_money=\"1920\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2100\"\tshop_potted0_money=\"1800\"\tshop_potted1_money=\"1900\"\tshop_potted2_money=\"2200\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file lv=\"20\" shop_tennis_money=\"1000\" shop_natatorium_money=\"1200\" shop_room_money=\"500\" shop_table_money=\"250\" shop_bullpen_money0=\"1700\" shop_bullpen_money1=\"1720\"\t\tshop_bullpen_money2=\"1900\"\tshop_lift_money=\"1500\" \t \tshop_speedup_money0=\"550\"\t\t\tshop_speedup_money1=\"1000\"\t\tshop_groggery_money=\"600\" \t\tshop_billiards_money=\"2700\" \t shop_cinema_money=\"2500\"\t\t\t\tshop_groggeryWaiter_money=\"1700\" shop_billiardsWaiter_money=\"1200\" shop_cinemaWaiter_money=\"1300\" shop_dogWaiter_money=\"2400\" \t\tshop_bellboyWaiter_money=\"2500\" \t\tshop_natatorWaiter_money=\"2100\"\t\tshop_ballWaiter_money=\"3000\"\tshop_dustmanWaiter_money=\"4000\" \tshop_dog_money=\"900\"\t\tshop_park_money=\"1960\"\tshop_fiddleWaiter_money=\"2880\"\tshop_pianoWaiter_money=\"1980\"\tshop_draw0_money=\"1650\"\tshop_draw1_money=\"1900\"\tshop_draw2_money=\"2200\"\tshop_potted0_money=\"1750\"\tshop_potted1_money=\"1960\"\tshop_potted2_money=\"2200\" shop_ticket_money=\"150\" shop_store_money=\"200\" shop_gym_money=\"2000\" shop_jeu_money=\"1000\" shop_cafe_money=\"1500\" shop_wash_money=\"800\" shop_ticketWaiter_money=\"55\" shop_storeWaiter_money=\"100\" shop_gymWaiter_money=\"1000\" shop_Waiter_money=\"1000\" shop_washWaiter_money=\"400\" shop_chefRoom_money0=\"500\" shop_chefRoom_money1=\"1000\" shop_quarrelWaiter_money=\"2000\" shop_doormanWaiter_money=\"1500\" shop_chef_money1_1=\"500\" shop_chef_money1_2=\"600\" shop_chef_money1_3=\"700\" shop_chef_money2_1=\"600\" shop_chef_money2_2=\"700\" shop_chef_money2_3=\"800\" shop_chef_money3_1=\"900\" shop_chef_money3_2=\"1000\" shop_chef_money3_3=\"1100\" shop_conciergeWaiter_money=\"500\" shop_cafeWaiter_money=\"1500\" shop_cashierWaiter_money=\"1000\" shop_servingWaiter_money=\"800\"/><file tennis_money=\"30\" /><file natatorium_money=\"40\" /><file bullpen_money1=\"40\" bullpen_money2=\"60\" bullpen_money3=\"100\"/><file chef_money=\"10\" /><file up_groggery_money=\"20\" up_billiards_money=\"50\" up_cinema_money=\"50\" up_dog_money=\"20\"\tup_park_money=\"30\" up_fiddleWaiter_money=\"10\"\tup_pianoWaiter_money=\"50\"\tup_draw0_money=\"20\"\tup_draw1_money=\"20\"\tup_draw2_money=\"20\"\tup_potted0_money=\"20\"\tup_potted1_money=\"20\"\tup_potted2_money=\"10\"/></data>";
_root._quality = "HIGH";
_root.helpID = 1;
stop();
objectArray = new Array();
objectShopArray = new Array();
System.useCodepage = true;
my_xml = new XML();
my_xml = new XML(str);
my_xml.ignoreWhite = true;
len = my_xml.firstChild.childNodes.length;
trace("\u957F\u5EA6" + len);
var i = 0;
while (i < len) {
if (i < 20) {
var ob = new Object();
ob.lv = my_xml.firstChild.childNodes[i].attributes.lv;
ob.sleepAI = my_xml.firstChild.childNodes[i].attributes.sleepAI;
ob.fireAI = my_xml.firstChild.childNodes[i].attributes.fireAI;
ob.quarrelAI = my_xml.firstChild.childNodes[i].attributes.quarrelAI;
ob.timeNum = my_xml.firstChild.childNodes[i].attributes.timeNum;
ob.pass_money = my_xml.firstChild.childNodes[i].attributes.pass_money;
ob.housing_money = my_xml.firstChild.childNodes[i].attributes.housing_money;
ob.dining_money = my_xml.firstChild.childNodes[i].attributes.dining_money;
ob.batting_money = my_xml.firstChild.childNodes[i].attributes.batting_money;
ob.swimming_money = my_xml.firstChild.childNodes[i].attributes.swimming_money;
ob.groggery_money = my_xml.firstChild.childNodes[i].attributes.groggery_money;
ob.billiards_money = my_xml.firstChild.childNodes[i].attributes.billiards_money;
ob.cinema_money = my_xml.firstChild.childNodes[i].attributes.cinema_money;
ob.dog_money = my_xml.firstChild.childNodes[i].attributes.dog_money;
ob.bellboy_money = my_xml.firstChild.childNodes[i].attributes.bellboy_money;
ob.park_money = my_xml.firstChild.childNodes[i].attributes.park_money;
ob.ticket_money = my_xml.firstChild.childNodes[i].attributes.ticket_money;
ob.store_money = my_xml.firstChild.childNodes[i].attributes.store_money;
ob.gym_money = my_xml.firstChild.childNodes[i].attributes.gym_money;
ob.jeu_money = my_xml.firstChild.childNodes[i].attributes.jeu_money;
ob.cafe_money = my_xml.firstChild.childNodes[i].attributes.cafe_money;
ob.wash_money = my_xml.firstChild.childNodes[i].attributes.wash_money;
ob.water_money = my_xml.firstChild.childNodes[i].attributes.water_money;
ob.taxi_money = my_xml.firstChild.childNodes[i].attributes.taxi_money;
trace("quarrelAI=" + ob.quarrelAI);
objectArray.push(ob);
} else if (i < 40) {
var ob = new Object();
ob.shop_tennis_money = my_xml.firstChild.childNodes[i].attributes.shop_tennis_money;
ob.shop_natatorium_money = my_xml.firstChild.childNodes[i].attributes.shop_natatorium_money;
ob.shop_room_money = my_xml.firstChild.childNodes[i].attributes.shop_room_money;
ob.shop_table_money = my_xml.firstChild.childNodes[i].attributes.shop_table_money;
ob.shop_bullpen_money0 = my_xml.firstChild.childNodes[i].attributes.shop_bullpen_money0;
ob.shop_bullpen_money1 = my_xml.firstChild.childNodes[i].attributes.shop_bullpen_money1;
ob.shop_bullpen_money2 = my_xml.firstChild.childNodes[i].attributes.shop_bullpen_money2;
ob.shop_lift_money = my_xml.firstChild.childNodes[i].attributes.shop_lift_money;
ob.shop_chef_money1_1 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money1_1;
ob.shop_chef_money1_2 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money1_2;
ob.shop_chef_money1_3 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money1_3;
ob.shop_chef_money2_1 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money2_1;
ob.shop_chef_money2_2 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money2_2;
ob.shop_chef_money2_3 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money2_3;
ob.shop_chef_money3_1 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money3_1;
ob.shop_chef_money3_2 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money3_2;
ob.shop_chef_money3_3 = my_xml.firstChild.childNodes[i].attributes.shop_chef_money3_3;
trace(ob.shop_chef_money1_1);
trace(ob.shop_chef_money3_3);
ob.shop_speedup_money0 = my_xml.firstChild.childNodes[i].attributes.shop_speedup_money0;
ob.shop_speedup_money1 = my_xml.firstChild.childNodes[i].attributes.shop_speedup_money1;
ob.shop_groggery_money = my_xml.firstChild.childNodes[i].attributes.shop_groggery_money;
ob.shop_billiards_money = my_xml.firstChild.childNodes[i].attributes.shop_billiards_money;
ob.shop_cinema_money = my_xml.firstChild.childNodes[i].attributes.shop_cinema_money;
ob.shop_groggeryWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_groggeryWaiter_money;
ob.shop_billiardsWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_billiardsWaiter_money;
ob.shop_cinemaWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_cinemaWaiter_money;
ob.shop_dogWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_dogWaiter_money;
ob.shop_bellboyWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_bellboyWaiter_money;
ob.shop_natatorWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_natatorWaiter_money;
ob.shop_ballWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_ballWaiter_money;
ob.shop_dustmanWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_dustmanWaiter_money;
ob.shop_dog_money = my_xml.firstChild.childNodes[i].attributes.shop_dog_money;
ob.shop_park_money = my_xml.firstChild.childNodes[i].attributes.shop_park_money;
ob.shop_fiddleWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_fiddleWaiter_money;
ob.shop_pianoWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_pianoWaiter_money;
ob.shop_draw0_money = my_xml.firstChild.childNodes[i].attributes.shop_draw0_money;
ob.shop_draw1_money = my_xml.firstChild.childNodes[i].attributes.shop_draw1_money;
ob.shop_draw2_money = my_xml.firstChild.childNodes[i].attributes.shop_draw2_money;
ob.shop_potted0_money = my_xml.firstChild.childNodes[i].attributes.shop_potted0_money;
ob.shop_potted1_money = my_xml.firstChild.childNodes[i].attributes.shop_potted1_money;
ob.shop_potted2_money = my_xml.firstChild.childNodes[i].attributes.shop_potted2_money;
ob.shop_ticket_money = my_xml.firstChild.childNodes[i].attributes.shop_ticket_money;
ob.shop_store_money = my_xml.firstChild.childNodes[i].attributes.shop_store_money;
ob.shop_gym_money = my_xml.firstChild.childNodes[i].attributes.shop_gym_money;
ob.shop_jeu_money = my_xml.firstChild.childNodes[i].attributes.shop_jeu_money;
ob.shop_cafe_money = my_xml.firstChild.childNodes[i].attributes.shop_cafe_money;
ob.shop_wash_money = my_xml.firstChild.childNodes[i].attributes.shop_wash_money;
ob.shop_ticketWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_ticketWaiter_money;
ob.shop_storeWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_storeWaiter_money;
ob.shop_gymWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_gymWaiter_money;
ob.shop_washWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_washWaiter_money;
ob.shop_chefRoom_money0 = my_xml.firstChild.childNodes[i].attributes.shop_chefRoom_money0;
ob.shop_chefRoom_money1 = my_xml.firstChild.childNodes[i].attributes.shop_chefRoom_money1;
ob.shop_quarrelWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_quarrelWaiter_money;
ob.shop_doormanWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_doormanWaiter_money;
ob.shop_conciergeWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_conciergeWaiter_money;
ob.shop_cafeWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_cafeWaiter_money;
ob.shop_cashierWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_cashierWaiter_money;
ob.shop_servingWaiter_money = my_xml.firstChild.childNodes[i].attributes.shop_servingWaiter_money;
trace("shop_conciergeWaiter_money=" + ob.shop_conciergeWaiter_money);
trace("shop_cafeWaiter_money=" + ob.shop_cafeWaiter_money);
trace("shop_cashierWaiter_money=" + ob.shop_cashierWaiter_money);
trace("shop_servingWaiter_money=" + ob.shop_servingWaiter_money);
objectShopArray.push(ob);
} else if (i == 40) {
_root.tennis_money = int(my_xml.firstChild.childNodes[i].attributes.tennis_money);
trace(_root.tennis_money);
} else if (i == 41) {
_root.natatorium_money = int(my_xml.firstChild.childNodes[i].attributes.natatorium_money);
} else if (i == 42) {
_root.bullpen_money1 = int(my_xml.firstChild.childNodes[i].attributes.bullpen_money1);
_root.bullpen_money2 = int(my_xml.firstChild.childNodes[i].attributes.bullpen_money2);
_root.bullpen_money3 = int(my_xml.firstChild.childNodes[i].attributes.bullpen_money3);
} else if (i == 43) {
_root.chef_money = int(my_xml.firstChild.childNodes[i].attributes.chef_money);
trace(my_xml.firstChild.childNodes[i].attributes.chef_money);
} else {
_root.up_groggery_money = int(my_xml.firstChild.childNodes[i].attributes.up_groggery_money);
_root.up_billiards_money = int(my_xml.firstChild.childNodes[i].attributes.up_billiards_money);
_root.up_cinema_money = int(my_xml.firstChild.childNodes[i].attributes.up_cinema_money);
_root.up_dog_money = int(my_xml.firstChild.childNodes[i].attributes.up_dog_money);
_root.up_park_money = int(my_xml.firstChild.childNodes[i].attributes.up_park_money);
_root.up_fiddleWaiter_money = int(my_xml.firstChild.childNodes[i].attributes.up_fiddleWaiter_money);
_root.up_pianoWaiter_money = int(my_xml.firstChild.childNodes[i].attributes.up_pianoWaiter_money);
_root.up_draw0_money = int(my_xml.firstChild.childNodes[i].attributes.up_draw0_money);
_root.up_draw1_money = int(my_xml.firstChild.childNodes[i].attributes.up_draw1_money);
_root.up_draw2_money = int(my_xml.firstChild.childNodes[i].attributes.up_draw2_money);
_root.up_potted0_money = int(my_xml.firstChild.childNodes[i].attributes.up_potted0_money);
_root.up_potted1_money = int(my_xml.firstChild.childNodes[i].attributes.up_potted1_money);
_root.up_potted2_money = int(my_xml.firstChild.childNodes[i].attributes.up_potted2_money);
trace(_root.up_potted2_money);
}
i++;
}
_root.gotoAndStop(10);
Frame 10
stop();
_root.fenCa = 0;
stopAllSounds();
_root.setSleepNum = 2;
_root.setDaisNum = 0;
_root.helpID = 1;
_root.yncourt = false;
_root.ynnatatorium = false;
_root.ynlift = false;
_root.ynchef = false;
_root.chefRoomLv = 1;
_root.isGroggery = false;
_root.isBilliards = false;
_root.isCinema = false;
_root.isSpeedup = false;
_root.speedup_lv = 0;
_root.isGroggeryWaiter = false;
_root.isBilliardsWaiter = false;
_root.isDogWaiter = false;
_root.isCinemaWaiter = false;
_root.isNatatorWaiter = false;
_root.isBallWaiter = false;
_root.isDellboyWaiter = false;
_root.isDustmanWaiter = false;
_root.isDogRoom = false;
_root.isParkRoom = false;
_root.isFiddleWaiter = false;
_root.isPianoWaiter = false;
_root.isDraw0 = false;
_root.isDraw1 = false;
_root.isDraw2 = false;
_root.isPotted0 = false;
_root.isPotted1 = false;
_root.isPotted2 = false;
_root.isTicket = false;
_root.isStore = false;
_root.isGym = false;
_root.isJeu = false;
_root.isCafe = false;
_root.washLv = 0;
_root.isTicketWaiter = false;
_root.isStoreWaiter = false;
_root.isGymWaiter = false;
_root.isJeuWaiter = false;
_root.isCafeWaiter = false;
_root.isWashWaiter = false;
_root.isFrontWaiter = false;
_root.isDoormanWaiter = false;
_root.isQuarrelWaiter = false;
_root.chefLv = 0;
_root.chefLv1 = 0;
_root.chefLv2 = 0;
_root.chefLv3 = 0;
_root.isWaterWaiter = false;
_root.fen = 0;
_root.life = 5;
_root.lv = 0;
_root.thisFen = 0;
_root.room_lv = _root.setSleepNum / 2;
_root.table_lv = (_root.setDaisNum / 2) + 1;
_root.bullpen_lv = 0;
_root._game_name = "bedandbreakfast3";
_root.ynbackSound = false;
_root.ynsound = false;
_root.sexID = 1;
_root.modeID = 1;
stop();
return();
//infinite loop
Frame 12
sex1_mc.gotoAndStop(2);
sex2_mc.gotoAndStop(1);
_root.modeID = 1;
mode1_mc.gotoAndStop(2);
mode2_mc.gotoAndStop(1);
Frame 19
_root.helpID = -1;
_root.fen = 0;
_root.isDellboyWaiter = false;
_root.gotoAndStop(20);
Frame 20
function callback() {
if (_root.ynmain == false) {
_root.hNum = int((_timeNum % 3600) / 60).toString();
hh = _root.hNum;
if (_root.hNum.length == 1) {
hh = "0" + _root.hNum;
}
ss = int((_timeNum % 3600) % 60).toString();
if (ss.length == 1) {
ss = "0" + ss;
}
_root.timeNum = (hh + ":") + ss;
_root._timeNum++;
if (_root._timeNum >= 720) {
_root.AMPM.gotoAndStop(2);
}
if (_root._timeNum >= 1260) {
clearInterval(intervalID);
if (_root.modeID == 1) {
if (_root.fen >= _root.pass_moneyFull) {
levelcompleteSound.start();
if (_root.lv >= 19) {
_root.gotoAndStop(32);
} else {
_root.pp_mc.gotoAndStop(5);
}
} else {
_root.overID = 3;
_root.gotoAndStop(30);
}
} else {
_root.gd_mc.gotoAndPlay(2);
levelcompleteSound.start();
}
}
}
}
function setLv() {
_root.sleepAI = int(_root.objectArray[_root.lvTemp].sleepAI);
_root.fireAI = int(_root.objectArray[_root.lvTemp].fireAI);
_root.quarrelAI = int(_root.objectArray[_root.lvTemp].quarrelAI);
_root.pass_money = int(_root.objectArray[_root.lvTemp].pass_money);
_root.housing_money = int(_root.objectArray[_root.lvTemp].housing_money);
_root.dining_money = int(_root.objectArray[_root.lvTemp].dining_money);
_root.batting_money = int(_root.objectArray[_root.lvTemp].batting_money);
_root.swimming_money = int(_root.objectArray[_root.lvTemp].swimming_money);
_root.groggery_money = int(_root.objectArray[_root.lvTemp].groggery_money);
_root.billiards_money = int(_root.objectArray[_root.lvTemp].billiards_money);
_root.cinema_money = int(_root.objectArray[_root.lvTemp].cinema_money);
_root.dog_money = int(_root.objectArray[_root.lvTemp].dog_money);
_root.bellboy_money = int(_root.objectArray[_root.lvTemp].bellboy_money);
_root.park_money = int(_root.objectArray[_root.lvTemp].park_money);
_root.ticket_money = int(_root.objectArray[_root.lvTemp].ticket_money);
_root.store_money = int(_root.objectArray[_root.lvTemp].store_money);
_root.gym_money = int(_root.objectArray[_root.lvTemp].gym_money);
_root.jeu_money = int(_root.objectArray[_root.lvTemp].jeu_money);
_root.cafe_money = int(_root.objectArray[_root.lvTemp].cafe_money);
_root.wash_money = int(_root.objectArray[_root.lvTemp].wash_money);
_root.water_money = int(_root.objectArray[_root.lvTemp].water_money);
_root.taxi_money = int(_root.objectArray[_root.lvTemp].taxi_money);
_root.m1 = int(_root.objectShopArray[_root.lvTemp].shop_tennis_money);
_root.m2 = int(_root.objectShopArray[_root.lvTemp].shop_natatorium_money);
_root.m3 = int(_root.objectShopArray[_root.lvTemp].shop_room_money);
_root.m4 = int(_root.objectShopArray[_root.lvTemp].shop_table_money);
if (_root.bullpen_lv == 0) {
_root.m5 = int(_root.objectShopArray[_root.lvTemp].shop_bullpen_money0);
} else if (_root.bullpen_lv == 1) {
_root.m5 = int(_root.objectShopArray[_root.lvTemp].shop_bullpen_money1);
} else {
_root.m5 = int(_root.objectShopArray[_root.lvTemp].shop_bullpen_money2);
}
_root.m6 = int(_root.objectShopArray[_root.lvTemp].shop_lift_money);
if (_root.chefLv1 == 0) {
_root.m7 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money1_1);
}
if (_root.chefLv1 == 1) {
_root.m7 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money1_2);
}
if (_root.chefLv1 == 2) {
_root.m7 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money1_3);
}
if (_root.speedup_lv == 0) {
_root.m8 = int(_root.objectShopArray[_root.lvTemp].shop_speedup_money0);
} else {
_root.m8 = int(_root.objectShopArray[_root.lvTemp].shop_speedup_money1);
}
_root.m9 = int(_root.objectShopArray[_root.lvTemp].shop_groggery_money);
_root.m10 = int(_root.objectShopArray[_root.lvTemp].shop_billiards_money);
_root.m11 = int(_root.objectShopArray[_root.lvTemp].shop_cinema_money);
_root.m12 = int(_root.objectShopArray[_root.lvTemp].shop_groggeryWaiter_money);
_root.m13 = int(_root.objectShopArray[_root.lvTemp].shop_billiardsWaiter_money);
_root.m14 = int(_root.objectShopArray[_root.lvTemp].shop_cinemaWaiter_money);
_root.m15 = int(_root.objectShopArray[_root.lvTemp].shop_dogWaiter_money);
_root.m16 = int(_root.objectShopArray[_root.lvTemp].shop_bellboyWaiter_money);
_root.m17 = int(_root.objectShopArray[_root.lvTemp].shop_natatorWaiter_money);
_root.m18 = int(_root.objectShopArray[_root.lvTemp].shop_ballWaiter_money);
_root.m19 = int(_root.objectShopArray[_root.lvTemp].shop_dustmanWaiter_money);
_root.m20 = int(_root.objectShopArray[_root.lvTemp].shop_dog_money);
_root.m21 = int(_root.objectShopArray[_root.lvTemp].shop_park_money);
_root.m22 = int(_root.objectShopArray[_root.lvTemp].shop_fiddleWaiter_money);
_root.m23 = int(_root.objectShopArray[_root.lvTemp].shop_pianoWaiter_money);
_root.m24 = int(_root.objectShopArray[_root.lvTemp].shop_draw0_money);
_root.m25 = int(_root.objectShopArray[_root.lvTemp].shop_draw1_money);
_root.m26 = int(_root.objectShopArray[_root.lvTemp].shop_draw2_money);
_root.m27 = int(_root.objectShopArray[_root.lvTemp].shop_potted0_money);
_root.m28 = int(_root.objectShopArray[_root.lvTemp].shop_potted1_money);
_root.m29 = int(_root.objectShopArray[_root.lvTemp].shop_potted2_money);
_root.m30 = int(_root.objectShopArray[_root.lvTemp].shop_ticket_money);
_root.m31 = int(_root.objectShopArray[_root.lvTemp].shop_store_money);
_root.m32 = int(_root.objectShopArray[_root.lvTemp].shop_gym_money);
_root.m33 = int(_root.objectShopArray[_root.lvTemp].shop_jeu_money);
_root.m34 = int(_root.objectShopArray[_root.lvTemp].shop_cafe_money);
_root.m35 = int(_root.objectShopArray[_root.lvTemp].shop_wash_money);
_root.m36 = int(_root.objectShopArray[_root.lvTemp].shop_ticketWaiter_money);
_root.m37 = int(_root.objectShopArray[_root.lvTemp].shop_storeWaiter_money);
_root.m38 = int(_root.objectShopArray[_root.lvTemp].shop_gymWaiter_money);
_root.m39 = int(_root.objectShopArray[_root.lvTemp].shop_washWaiter_money);
if (_root.chefRoomLv == 1) {
_root.m40 = int(_root.objectShopArray[_root.lvTemp].shop_chefRoom_money0);
} else {
_root.m40 = int(_root.objectShopArray[_root.lvTemp].shop_chefRoom_money1);
}
_root.m41 = int(_root.objectShopArray[_root.lvTemp].shop_conciergeWaiter_money);
_root.m42 = int(_root.objectShopArray[_root.lvTemp].shop_quarrelWaiter_money);
_root.m43 = int(_root.objectShopArray[_root.lvTemp].shop_doormanWaiter_money);
if (_root.chefLv2 == 0) {
_root.m44 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money2_1);
}
if (_root.chefLv2 == 1) {
_root.m44 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money2_2);
}
if (_root.chefLv2 == 2) {
_root.m44 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money2_3);
}
if (_root.chefLv3 == 0) {
_root.m45 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money3_1);
}
if (_root.chefLv3 == 1) {
_root.m45 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money3_2);
}
if (_root.chefLv3 == 2) {
_root.m45 = int(_root.objectShopArray[_root.lvTemp].shop_chef_money3_3);
}
_root.m46 = int(_root.objectShopArray[_root.lvTemp].shop_cafeWaiter_money);
_root.m47 = int(_root.objectShopArray[_root.lvTemp].shop_cashierWaiter_money);
_root.m48 = int(_root.objectShopArray[_root.lvTemp].shop_servingWaiter_money);
trace("\u5173\u5361=" + _root.lv);
trace("m1=" + _root.m1);
var _local2 = 0;
while (_local2 < 50) {
if ((_root["m" + _local2] == null) || (_root["m" + _local2] == 0)) {
_root["m" + _local2] = 333;
}
_local2++;
}
}
function backSoundFu(id_temp) {
if (id_temp == 1) {
backSound.start(0, 999);
trace("\u51FA\u58F0");
_root.ynbackSound = false;
} else {
backSound.stop();
_root.ynbackSound = true;
}
}
function soundFu(id_temp) {
if (id_temp == 1) {
_root.ynsound = false;
wakeupSound = new Sound();
wakeupSound.attachSound("wakeupSound");
phoneSound = new Sound();
phoneSound.attachSound("phoneSound");
extinguisherSound = new Sound();
extinguisherSound.attachSound("extinguisherSound");
quarrelSound = new Sound();
quarrelSound.attachSound("quarrelSound");
bellSound = new Sound();
bellSound.attachSound("bellSound");
cleaningSound = new Sound();
cleaningSound.attachSound("cleaning");
deskbellSound = new Sound();
deskbellSound.attachSound("deskbell");
elevatorSound = new Sound();
elevatorSound.attachSound("elevator");
expensiveroomSound = new Sound();
expensiveroomSound.attachSound("expensiveroomsound");
kitchenSound = new Sound();
kitchenSound.attachSound("kitchen");
levelcompleteSound = new Sound();
levelcompleteSound.attachSound("levelcomplete");
swimmingpoolSound = new Sound();
swimmingpoolSound.attachSound("swimmingpool");
tennisPlaySound = new Sound();
tennisPlaySound.attachSound("tennisPlay");
takingmoneySound = new Sound();
takingmoneySound.attachSound("takingmoney");
} else {
_root.ynsound = true;
phoneSound = null;
extinguisherSound = null;
quarreSound = null;
bellSound = null;
cleaningSound = null;
deskbellSound = null;
elevatorSound = null;
expensiveroomSound = null;
kitchenSound = null;
levelcompleteSound = null;
swimmingpoolSound = null;
tennisPlaySound = null;
takingmoneySound = null;
}
}
function enlargeFu() {
if ((gameFull_mc._xscale < 160) && (_root.helpID != 1)) {
gameFull_mc._xscale = gameFull_mc._xscale + 10;
gameFull_mc._yscale = gameFull_mc._yscale + 10;
}
}
function narrowFu() {
if ((gameFull_mc._xscale > 70) && (_root.helpID != 1)) {
gameFull_mc._xscale = gameFull_mc._xscale - 10;
gameFull_mc._yscale = gameFull_mc._yscale - 10;
}
}
_root.thisFen = int(_root.fen);
stop();
stopAllSounds();
shopFull_mc.gotoAndStop(2);
_root.ynmain = false;
clearInterval(intervalID);
_root._timeNum = 360;
_root.hNum = 0;
if (_root.lv <= 19) {
_root.lvTemp = _root.lv;
} else {
_root.lvTemp = 19;
}
callback();
setLv();
_root.pass_moneyFull = int(_root.pass_money + _root.fen);
_root.timeNum = int(_root.objectArray[_root.lvTemp].timeNum);
if (_root.helpID == -1) {
var intervalID = setInterval(callback, _root.timeNum);
} else {
_root.timeNum = "06:00";
}
if (_root.ynchef == true) {
_root.dining_money = _root.dining_money + int(_root.chef_money);
}
if (_root.isFiddleWaiter == true) {
_root.dining_money = _root.dining_money + int(_root.up_fiddleWaiter_money);
}
if (_root.isPianoWaiter == true) {
_root.dining_money = _root.dining_money + int(_root.up_pianoWaiter_money);
}
if (_root.yncourt == true) {
_root.housing_money = _root.housing_money + int(_root.tennis_money);
}
if (_root.ynnatatorium == true) {
_root.housing_money = _root.housing_money + int(_root.natatorium_money);
}
if (_root.isGroggery == true) {
_root.housing_money = _root.housing_money + _root.up_groggery_money;
}
if (_root.isBilliards == true) {
_root.housing_money = _root.housing_money + _root.up_billiards_money;
}
if (_root.isCinema == true) {
_root.housing_money = _root.housing_money + _root.up_cinema_money;
}
if (_root.isDogRoom == true) {
_root.housing_money = _root.housing_money + _root.up_dog_money;
}
if (_root.isParkRoom == true) {
_root.housing_money = _root.housing_money + _root.up_park_money;
}
if (_root.isDraw0 == true) {
_root.housing_money = _root.housing_money + _root.up_draw0_money;
}
if (_root.isDraw1 == true) {
_root.housing_money = _root.housing_money + _root.up_draw1_money;
}
if (_root.isDraw2 == true) {
_root.housing_money = _root.housing_money + _root.up_draw2_money;
}
if (_root.isPotted0 == true) {
_root.housing_money = _root.housing_money + _root.up_potted0_money;
}
if (_root.isPotted1 == true) {
_root.housing_money = _root.housing_money + _root.up_potted1_money;
}
if (_root.isPotted2 == true) {
_root.housing_money = _root.housing_money + _root.up_potted2_money;
}
_root.bullpen_moneyFull = int(_root.housing_money) + int(_root["bullpen_money" + _root.bullpen_lv]);
backSound = new Sound();
backSound.attachSound("backSound");
if (_root.ynbackSound == false) {
backSoundFu(1);
backSound_mc.gotoAndStop(1);
} else {
backSound_mc.gotoAndStop(2);
backSoundFu(2);
}
if (_root.ynsound == false) {
soundFu(1);
soun_mc.gotoAndStop(1);
} else {
soundFu(2);
soun_mc.gotoAndStop(2);
}
if (_root.helpID == 1) {
_root.say_mc.gotoAndStop(1);
} else {
_root.say_mc.gotoAndStop(15);
}
_root.lvText = _root.lv + 1;
if (_root.say_mc._currentframe == 15) {
btnUndo_mc._visible = true;
btnEnlarge._visible = true;
btnNarrow._visible = true;
} else {
btnUndo_mc._visible = false;
btnEnlarge._visible = false;
btnNarrow._visible = false;
}
if (_root.modeID == 1) {
passFen_mc._visible = true;
day_mc._visible = false;
} else {
passFen_mc._visible = false;
day_mc._visible = true;
_root.life = 5;
if ((_root.helpID == -1) && (_root.lv != 0)) {
gd_mc.gotoAndPlay(21);
} else {
gd_mc.gotoAndStop(1);
}
}
_root.life_mc.gotoAndStop(6 - _root.life);
_root.bell_mc.gotoAndStop(2);
return();
//infinite loop
return();
//infinite loop
return();
//infinite loop
return();
//infinite loop
return();
//infinite loop
Instance of Symbol 1489 MovieClip in Frame 20
on (release) {
if (_root.pp_mc._currentframe == 2) {
_root.pp_mc.gotoAndStop(1);
} else {
_root.pp_mc.gotoAndStop(2);
}
}
Instance of Symbol 1497 MovieClip in Frame 20
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Frame 21
stop();
_root.lv++;
_root.fen_old = _root.fen;
return();
//infinite loop
Frame 30
function returnFu() {
if (_root.lv == 0) {
_root.fen = 0;
_root.gotoAndStop(20);
return(undefined);
}
var _local2 = 0;
while (_local2 < _root.saveArray.length) {
trace("_root.saveArray[i]=" + _root.saveArray[_local2]);
switch (_root.saveArray[_local2]) {
case 1 :
_root.yncourt = false;
break;
case 2 :
_root.ynnatatorium = false;
break;
case 3 :
_root.setSleepNum--;
if (_root.setSleepNum <= 2) {
_root.setSleepNum = 2;
}
_root.room_lv = int(_root.setSleepNum - 1);
break;
case 4 :
_root.setDaisNum = _root.setDaisNum - 2;
if (_root.setDaisNum <= 0) {
_root.setDaisNum = 0;
}
_root.table_lv = int(_root.setDaisNum / 2) + 1;
break;
case 5 :
_root.bullpen_lv--;
if (_root.bullpen_lv <= 0) {
_root.bullpen_lv = 0;
}
break;
case 6 :
_root.ynlift = false;
break;
case 7 :
_root.ynchef = false;
_root.chefLv1--;
break;
case 8 :
_root.isSpeedup = false;
_root.speedup_lv--;
if (_root.speedup_lv <= 0) {
_root.speedup_lv = 0;
}
break;
case 9 :
_root.isGroggery = false;
break;
case 10 :
_root.isBilliards = false;
break;
case 11 :
_root.isCinema = false;
break;
case 12 :
_root.isGroggeryWaiter = false;
break;
case 13 :
_root.isBilliardsWaiter = false;
break;
case 14 :
_root.isCinemaWaiter = false;
break;
case 15 :
_root.isDogWaiter = false;
break;
case 16 :
_root.isDellboyWaiter = false;
break;
case 17 :
_root.isNatatorWaiter = false;
break;
case 18 :
_root.isBallWaiter = false;
break;
case 19 :
_root.isDustmanWaiter = false;
break;
case 20 :
_root.isDogRoom = false;
break;
case 21 :
_root.isParkRoom = false;
break;
case 22 :
_root.isFiddleWaiter = false;
break;
case 23 :
_root.isPianoWaiter = false;
break;
case 24 :
_root.isDraw0 = false;
break;
case 25 :
_root.isDraw1 = false;
break;
case 26 :
_root.isDraw2 = false;
break;
case 27 :
_root.isPotted0 = false;
break;
case 28 :
_root.isPotted1 = false;
break;
case 29 :
_root.isPotted2 = false;
break;
case 30 :
_root.isTicket = false;
break;
case 31 :
_root.isStore = false;
break;
case 32 :
_root.isGym = false;
break;
case 33 :
_root.isJeu = false;
break;
case 34 :
_root.isCafe = false;
break;
case 35 :
_root.washLv--;
if (_root.washLv <= 0) {
_root.washLv = 0;
}
break;
case 36 :
_root.isTicketWaiter = false;
break;
case 37 :
_root.isStoreWaiter = false;
break;
case 38 :
_root.isGymWaiter = false;
break;
case 39 :
_root.isWashWaiter = false;
break;
case 40 :
_root.chefRoomLv--;
if (_root.chefRoomLv <= 0) {
_root.chefRoomLv = 0;
}
break;
case 41 :
_root.isFrontWaiter = false;
break;
case 42 :
_root.isQuarrelWaiter = false;
break;
case 43 :
_root.isDoormanWaiter = false;
break;
case 44 :
_root.chefLv2--;
break;
case 45 :
_root.chefLv3--;
break;
case 46 :
_root.isCafeWaiter = false;
break;
case 47 :
_root.isJeuWaiter = false;
break;
case 48 :
_root.isWaterWaiter = false;
}
_local2++;
}
_root.lv--;
_root.fen = _root.fen_old;
_root.gotoAndStop(21);
}
_root.fenFull = _root.fen + _root.fenCa;
_root.life = 5;
Frame 32
_root.fenFull = _root.fen + _root.fenCa;
stop();
_root.fenCa = 0;
stopAllSounds();
_root.setSleepNum = 2;
_root.setDaisNum = 0;
_root.helpID = 1;
_root.yncourt = false;
_root.ynnatatorium = false;
_root.ynlift = false;
_root.ynchef = false;
_root.chefRoomLv = 1;
_root.isGroggery = false;
_root.isBilliards = false;
_root.isCinema = false;
_root.isSpeedup = false;
_root.speedup_lv = 0;
_root.isGroggeryWaiter = false;
_root.isBilliardsWaiter = false;
_root.isDogWaiter = false;
_root.isCinemaWaiter = false;
_root.isNatatorWaiter = false;
_root.isBallWaiter = false;
_root.isDellboyWaiter = false;
_root.isDustmanWaiter = false;
_root.isDogRoom = false;
_root.isParkRoom = false;
_root.isFiddleWaiter = false;
_root.isPianoWaiter = false;
_root.isDraw0 = false;
_root.isDraw1 = false;
_root.isDraw2 = false;
_root.isPotted0 = false;
_root.isPotted1 = false;
_root.isPotted2 = false;
_root.isTicket = false;
_root.isStore = false;
_root.isGym = false;
_root.isJeu = false;
_root.isCafe = false;
_root.washLv = 0;
_root.isTicketWaiter = false;
_root.isStoreWaiter = false;
_root.isGymWaiter = false;
_root.isJeuWaiter = false;
_root.isCafeWaiter = false;
_root.isWashWaiter = false;
_root.isFrontWaiter = false;
_root.isDoormanWaiter = false;
_root.isQuarrelWaiter = false;
_root.chefLv = 0;
_root.chefLv1 = 0;
_root.chefLv2 = 0;
_root.chefLv3 = 0;
_root.isWaterWaiter = false;
_root.fen = 0;
_root.life = 5;
_root.lv = 0;
_root.thisFen = 0;
_root.room_lv = _root.setSleepNum / 2;
_root.table_lv = (_root.setDaisNum / 2) + 1;
_root.bullpen_lv = 0;
_root.modeID = 1;
return();
//infinite loop
Symbol 12 MovieClip Frame 1
onEnterFrame = function () {
var _local4 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
var _local2 = int((_local4 / _local3) * 100);
num_txt.text = _local2 + "%";
trace(_local2);
};
Symbol 16 MovieClip Frame 1
_x = (Stage.width / 2);
_y = ((Stage.height * 4) / 10);
Symbol 16 MovieClip Frame 22
stop();
var rate;
var all = _root.getBytesTotal();
onEnterFrame = function () {
var _local3 = _root.getBytesLoaded();
rate = int((_local3 / all) * 100) + "%";
if (_local3 == all) {
if ((_root._mochiad instanceof MovieClip) != true) {
_root.play();
delete this.onEnterFrame;
}
}
};
Symbol 2080 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local27);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local24 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local23 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local25, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local10 = this._parent._parent;
var _local3 = _local10;
while ((!_local3.getBytesTotal()) && (_local3)) {
_local3 = _local3._parent;
}
if (!_local3) {
_local3 = _root;
}
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local5 = false;
var _local6 = _local3.getBytesTotal();
var _local9 = _local3.getBytesLoaded();
var _local4 = (100 * _local9) / _local6;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local11 = this._mochiad_bar._inside;
var _local15 = Math.min(100, Math.min(_local4 || 0, _local12));
_local15 = Math.max(this.last_pcnt, _local15);
this.last_pcnt = _local15;
_local11._xscale = _local15;
options.ad_progress(_local15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local4}, clip._mochiad._containerLCName);
if (_local4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local8 = _local13.getBytesTotal();
if ((_local8 > 0) || (typeof(_local8) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local7 > chk.ad_timeout) && (_local4 == 100)) {
options.ad_failed();
_local5 = true;
}
}
if (_local7 > chk.ad_msec) {
_local5 = true;
}
if (((_local6 > 0) && (_local9 >= _local6)) && (_local5)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 2081 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 2082 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.3 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2083 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function getAchievements(properties) {
mochi.as2.MochiServices.send("events_getAchievements", properties);
}
static function unlockAchievement(properties) {
mochi.as2.MochiServices.send("events_unlockAchievement", properties);
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function showAwards(options) {
mochi.as2.MochiServices.send("events_showAwards", options, null, null);
}
static function setNotifications(style) {
mochi.as2.MochiServices.send("events_setNotifications", style, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENTS_OWNED = "AchievementOwned";
static var ACHIEVEMENT_NEW = "AchievementReceived";
static var GAME_ACHIEVEMENTS = "GameAchievements";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var IO_PENDING = "IOPending";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var FORMAT_NONE = "NoForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2084 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function requestFunding(properties) {
mochi.as2.MochiServices.send("social_requestFunding", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 2085 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("social_hideLoginWidget");
}
static function requestLogin(properties) {
mochi.as2.MochiServices.send("social_requestLogin", properties);
}
static function getFriendsList(properties) {
mochi.as2.MochiServices.send("social_getFriendsList", properties);
}
static function showProfile(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showProfile", options);
}
static function postToStream(properties) {
mochi.as2.MochiServices.send("social_postToStream", properties);
}
static function inviteFriends(properties) {
mochi.as2.MochiServices.send("social_inviteFriends", properties);
}
static function requestFan(properties) {
mochi.as2.MochiServices.send("social_requestFan", properties);
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("social_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var FRIEND_LIST = "FriendsList";
static var PROFILE_DATA = "ProfileData";
static var GAMEPLAY_DATA = "GameplayData";
static var ACTION_CANCELED = "onCancel";
static var ACTION_COMPLETE = "onComplete";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
onPress = function () {
getURL ("http://www.freeworldgroup.com");
};
Symbol 54 MovieClip Frame 1
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_root.stop();
onPress = function () {
getURL ("http://www.freeworldgroup.com/", "_blank");
};
Symbol 54 MovieClip Frame 146
stop();
_root.play();
Symbol 100 MovieClip Frame 165
stop();
Symbol 138 Button
on (release) {
_root.gotoAndStop(12);
}
Symbol 139 Button
on (release) {
_root.helpID = 1;
_root.gotoAndStop(20);
}
Symbol 140 Button
on (release) {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + _root._game_name, "_blank");
}
Symbol 141 Button
on (release) {
getURL ("http://www.ifungames.com", "_blank");
}
Symbol 146 Button
on (release) {
getURL ("http://www.freeworldgroup.com/games9/gameindex/bedandbreakfast2.htm", "_blank");
}
Symbol 147 MovieClip Frame 1
Mouse.show();
Instance of Symbol 107 MovieClip in Symbol 147 MovieClip Frame 1
on (release) {
_root.gotoAndStop(11);
}
Symbol 147 MovieClip Frame 140
Mouse.show();
stop();
Symbol 153 Button
on (release) {
_root.gotoAndStop(10);
}
Symbol 259 MovieClip Frame 149
stop();
Symbol 267 Button
on (release) {
if (_root.sex1_mc._currentframe == 1) {
_root.sexID = 2;
} else {
_root.sexID = 1;
}
trace("_root.sexID=" + _root.sexID);
if (_root.mode1_mc._currentframe == 1) {
_root.modeID = 2;
} else {
_root.modeID = 1;
}
_root.gotoAndStop(20);
}
Symbol 271 MovieClip Frame 4
stop();
Symbol 275 MovieClip Frame 7
stop();
Symbol 277 Button
on (release) {
_root.sex1_mc.gotoAndStop(2);
_root.sex2_mc.gotoAndStop(1);
}
Symbol 278 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 4
stop();
Symbol 283 Button
on (release) {
_root.sex1_mc.gotoAndStop(1);
_root.sex2_mc.gotoAndStop(2);
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 288 Button
on (release) {
_root.mode1_mc.gotoAndStop(2);
_root.mode2_mc.gotoAndStop(1);
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 292 Button
on (release) {
_root.mode1_mc.gotoAndStop(1);
_root.mode2_mc.gotoAndStop(2);
}
Symbol 294 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 1
stop();
this._visible = false;
Symbol 303 MovieClip Frame 2
this._visible = true;
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 2
play();
Symbol 339 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
stop();
_parent.ballClew_mc.gotoAndStop(_parent.ballClew_mc._totalframes);
Symbol 342 MovieClip Frame 2
_parent.ballClew_mc.gotoAndStop(1);
_root.tennisPlaySound.start(0, 3);
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 2
play();
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 2
play();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
play();
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 2
play();
Symbol 392 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
play();
Symbol 407 MovieClip Frame 1
stop();
Instance of Symbol 396 MovieClip in Symbol 407 MovieClip Frame 1
onClipEvent (load) {
eNum = 0;
ran = 100 + random(500);
}
onClipEvent (enterFrame) {
eNum++;
if (eNum > ran) {
_root.gameFull_mc.natatorWin(_parent);
}
}
Instance of Symbol 398 MovieClip in Symbol 407 MovieClip Frame 2
onClipEvent (load) {
eNum = 0;
ran = 100 + random(500);
}
onClipEvent (enterFrame) {
eNum++;
if (eNum > ran) {
_root.gameFull_mc.natatorWin(_parent);
}
}
Instance of Symbol 400 MovieClip in Symbol 407 MovieClip Frame 3
onClipEvent (load) {
eNum = 0;
ran = 100 + random(500);
}
onClipEvent (enterFrame) {
eNum++;
if (eNum > ran) {
_root.gameFull_mc.natatorWin(_parent);
}
}
Instance of Symbol 402 MovieClip in Symbol 407 MovieClip Frame 4
onClipEvent (load) {
eNum = 0;
ran = 100 + random(500);
}
onClipEvent (enterFrame) {
eNum++;
if (eNum > ran) {
_root.gameFull_mc.natatorWin(_parent);
}
}
Instance of Symbol 404 MovieClip in Symbol 407 MovieClip Frame 5
onClipEvent (load) {
eNum = 0;
ran = 100 + random(500);
}
onClipEvent (enterFrame) {
eNum++;
if (eNum > ran) {
_root.gameFull_mc.natatorWin(_parent);
}
}
Instance of Symbol 406 MovieClip in Symbol 407 MovieClip Frame 6
onClipEvent (load) {
eNum = 0;
ran = 100 + random(500);
}
onClipEvent (enterFrame) {
eNum++;
if (eNum > ran) {
_root.gameFull_mc.natatorWin(_parent);
}
}
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
play();
Symbol 417 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 2
play();
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
play();
Symbol 429 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 2
play();
Symbol 432 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 9
stop();
Symbol 439 MovieClip Frame 10
play();
Symbol 440 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 2
play();
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
play();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 2
play();
Symbol 454 MovieClip Frame 14
stop();
_parent.man.gotoAndStop(random(6) + 1);
Symbol 457 MovieClip Frame 14
stop();
_parent.man.gotoAndStop(random(6) + 1);
Symbol 460 MovieClip Frame 14
stop();
_parent.man.gotoAndStop(random(6) + 1);
Symbol 464 MovieClip Frame 14
stop();
_parent.man.gotoAndStop(random(6) + 1);
Symbol 465 MovieClip Frame 299
_root.gameFull_mc.parkBegin(_parent.id);
Symbol 466 MovieClip Frame 299
_root.gameFull_mc.parkBegin(_parent.id);
Symbol 467 MovieClip Frame 299
_root.gameFull_mc.parkBegin(_parent.id);
Symbol 468 MovieClip Frame 299
_root.gameFull_mc.parkBegin(_parent.id);
Symbol 469 MovieClip Frame 6
man.gotoAndStop(man._totalframes);
Symbol 469 MovieClip Frame 7
man.gotoAndStop(man._totalframes);
Symbol 469 MovieClip Frame 8
man.gotoAndStop(man._totalframes);
Symbol 469 MovieClip Frame 9
man.gotoAndStop(man._totalframes);
Symbol 469 MovieClip Frame 12
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 1
dx_mc.gotoAndStop(random(3) + 1);
Symbol 477 MovieClip Frame 15
_parent.taxiBegin(1);
Symbol 477 MovieClip Frame 46
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 2
play();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
play();
Symbol 499 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
play();
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 2
play();
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
play();
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 2
play();
Symbol 526 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
stop();
Instance of Symbol 538 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 542 MovieClip Frame 10
_parent.gotoAndStop(_root.gameFull_mc.lifiNextGoto);
Symbol 551 MovieClip Frame 1
stop();
Instance of Symbol 551 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 556 MovieClip Frame 9
stop();
trace("-----------------\u5230\u4E8C\u697C");
_root.gameFull_mc.next_mc = _root.gameFull_mc.f3;
if (_root.gameFull_mc.isUndo == true) {
_root.gameFull_mc.goto = _root.gameFull_mc.f3;
}
_root.gameFull_mc.player_mc._x = _root.gameFull_mc.f3._x;
_root.gameFull_mc.player_mc._y = _root.gameFull_mc.f3._y;
_root.gameFull_mc.player_mc._visible = true;
Symbol 557 MovieClip Frame 9
stop();
_root.gameFull_mc.next_mc = _root.gameFull_mc.j12;
if (_root.gameFull_mc.isUndo == true) {
_root.gameFull_mc.goto = _root.gameFull_mc.j12;
}
_root.gameFull_mc.player_mc._x = _root.gameFull_mc.j12._x;
_root.gameFull_mc.player_mc._y = _root.gameFull_mc.j12._y;
_root.gameFull_mc.player_mc._visible = true;
Symbol 558 MovieClip Frame 12
_parent.gotoAndStop(_root.gameFull_mc.lifiNextGoto);
Symbol 559 MovieClip Frame 9
_parent.gotoAndStop(_root.gameFull_mc.lifiNextGoto);
stop();
Instance of Symbol 551 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 561 MovieClip Frame 21
stop();
_root.gameFull_mc.player_mc._visible = true;
_root.gameFull_mc.next_mc = _root.gameFull_mc.t0;
if (_root.gameFull_mc.isUndo == true) {
_root.gameFull_mc.goto = _root.gameFull_mc.t0;
}
_root.gameFull_mc.player_mc._x = _root.gameFull_mc.t0._x;
_root.gameFull_mc.player_mc._y = _root.gameFull_mc.t0._y;
Symbol 562 MovieClip Frame 5
stop();
_root.gameFull_mc.player_mc._visible = true;
_root.gameFull_mc.next_mc = _root.gameFull_mc.f3;
_root.gameFull_mc.player_mc._x = _root.gameFull_mc.f3._x;
_root.gameFull_mc.player_mc._y = _root.gameFull_mc.f3._y;
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 2
_root.gameFull_mc.player_mc._visible = false;
Symbol 563 MovieClip Frame 3
_root.elevatorSound.start(1.4);
_root.gameFull_mc.player_mc._visible = false;
Symbol 563 MovieClip Frame 4
_root.elevatorSound.start(1.4);
_root.gameFull_mc.player_mc._visible = false;
Symbol 563 MovieClip Frame 7
_root.elevatorSound.start(1.4);
_root.gameFull_mc.player_mc._visible = false;
Symbol 563 MovieClip Frame 8
_root.elevatorSound.start(1.4);
_root.gameFull_mc.player_mc._visible = false;
Symbol 563 MovieClip Frame 9
stop();
Symbol 563 MovieClip Frame 11
stop();
trace("-----------------\u5230\u4E8C\u697C");
_root.gameFull_mc.next_mc = _root.gameFull_mc.f3;
if (_root.gameFull_mc.isUndo == true) {
_root.gameFull_mc.goto = _root.gameFull_mc.f3;
}
_root.gameFull_mc.player_mc._x = _root.gameFull_mc.f3._x;
_root.gameFull_mc.player_mc._y = _root.gameFull_mc.f3._y;
_root.gameFull_mc.player_mc._visible = true;
Symbol 563 MovieClip Frame 15
play();
Symbol 609 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 299
if (_parent._currentframe == 1) {
_parent.gotoAndStop(2);
} else if (_parent._currentframe == 2) {
_parent.gotoAndStop(3);
} else {
_parent._parent.yndie = true;
_root.gameFull_mc.dieNewFu(_parent._parent);
}
Symbol 620 MovieClip Frame 1
stop();
Instance of Symbol 615 MovieClip in Symbol 620 MovieClip Frame 1
onClipEvent (load) {
ynaction = false;
}
onClipEvent (enterFrame) {
if (_root.helpID == -1) {
if (ynaction == false) {
if (_root.ynmain == true) {
ynaction = true;
stop();
}
} else if (_root.ynmain == false) {
ynaction = false;
play();
}
} else {
stop();
}
}
Instance of Symbol 615 MovieClip in Symbol 620 MovieClip Frame 2
onClipEvent (load) {
ynaction = false;
}
onClipEvent (enterFrame) {
if (_root.helpID == -1) {
if (ynaction == false) {
if (_root.ynmain == true) {
ynaction = true;
stop();
}
} else if (_root.ynmain == false) {
ynaction = false;
play();
}
} else {
stop();
}
}
Symbol 621 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 1
stop();
Symbol 687 MovieClip Frame 1
stop();
Symbol 701 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 1
stop();
Instance of Symbol 707 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) {
i = 0;
ran = random(100) + 50;
}
onClipEvent (enterFrame) {
if (_root.ynmain == false) {
if (_root.helpID != -1) {
if (_root.say_mc._currentframe == 7) {
_parent._parent.play();
}
} else {
i++;
if (i == ran) {
_parent._parent.play();
}
}
}
}
Symbol 709 MovieClip Frame 1
stop();
Symbol 709 MovieClip Frame 2
play();
Symbol 709 MovieClip Frame 21
stop();
Symbol 709 MovieClip Frame 35
_root.gameFull_mc.sleepEndFu(_parent);
Symbol 713 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 2
play();
Symbol 713 MovieClip Frame 21
stop();
Symbol 713 MovieClip Frame 35
_root.gameFull_mc.sleepEndFu(_parent);
Symbol 717 MovieClip Frame 1
stop();
Symbol 717 MovieClip Frame 2
play();
Symbol 717 MovieClip Frame 21
stop();
Symbol 717 MovieClip Frame 35
_root.gameFull_mc.sleepEndFu(_parent);
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 2
play();
Symbol 721 MovieClip Frame 21
stop();
Symbol 721 MovieClip Frame 35
_root.gameFull_mc.sleepEndFu(_parent);
Symbol 724 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 2
play();
Symbol 724 MovieClip Frame 21
stop();
Symbol 724 MovieClip Frame 35
_root.gameFull_mc.sleepEndFu(_parent);
Symbol 727 MovieClip Frame 1
stop();
Symbol 727 MovieClip Frame 2
play();
Symbol 727 MovieClip Frame 21
stop();
Symbol 727 MovieClip Frame 35
_root.gameFull_mc.sleepEndFu(_parent);
Symbol 731 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 2
play();
Symbol 731 MovieClip Frame 21
stop();
Symbol 731 MovieClip Frame 35
_root.gameFull_mc.sleepEndFu(_parent);
Symbol 732 MovieClip Frame 1
stop();
Instance of Symbol 621 MovieClip "bag_mc" in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.brow_mc._currentframe == 4) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 734 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 1
stop();
Symbol 750 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 1
stop();
Symbol 775 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 1
stop();
Symbol 823 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 8
stop();
Symbol 875 MovieClip Frame 1
stop();
Symbol 876 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 43
_root.gameFull_mc.groggeryBegin(1);
_parent.gotoAndStop(1);
Symbol 891 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 29
_root.gameFull_mc.billiardsBegin(1);
_parent.gotoAndStop(1);
Symbol 902 MovieClip Frame 1
stop();
Symbol 909 MovieClip Frame 24
_root.gameFull_mc.cinemaBegin(1);
_parent.gotoAndStop(1);
Symbol 910 MovieClip Frame 1
stop();
Symbol 915 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 1
stop();
Symbol 927 MovieClip Frame 5
_root.gameFull_mc.dogBegin(1);
Symbol 927 MovieClip Frame 67
_parent.gotoAndStop(1);
Symbol 928 MovieClip Frame 1
stop();
Symbol 949 MovieClip Frame 60
_parent.gotoAndStop(1);
Symbol 958 MovieClip Frame 1
stop();
Instance of Symbol 621 MovieClip in Symbol 964 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(bagID);
}
Instance of Symbol 621 MovieClip in Symbol 966 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(bagID);
}
Symbol 967 MovieClip Frame 80
_root.gameFull_mc.bellboyWaiterWinFu();
Symbol 968 MovieClip Frame 85
_root.gameFull_mc.bellboyWaiterWinFu();
Symbol 969 MovieClip Frame 85
_root.gameFull_mc.bellboyWaiterWinFu();
Symbol 970 MovieClip Frame 90
_root.gameFull_mc.bellboyWaiterWinFu();
Symbol 971 MovieClip Frame 98
_root.gameFull_mc.bellboyWaiterWinFu();
Symbol 972 MovieClip Frame 104
_root.gameFull_mc.bellboyWaiterWinFu();
Symbol 973 MovieClip Frame 101
_root.gameFull_mc.bellboyWaiterWinFu();
Symbol 974 MovieClip Frame 1
stop();
Symbol 986 MovieClip Frame 15
_parent.gotoAndStop(_parent._totalframes);
Symbol 987 MovieClip Frame 1
stop();
Symbol 997 MovieClip Frame 50
stop();
_root.gameFull_mc.daisWin(_parent._parent);
Symbol 998 MovieClip Frame 1
stop();
Symbol 998 MovieClip Frame 2
_parent.brow_mc.gotoAndStop(_parent.brow_mc._totalframes);
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1015 MovieClip Frame 1
stop();
Symbol 1023 MovieClip Frame 1
stop();
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1047 MovieClip Frame 1
stop();
Symbol 1055 MovieClip Frame 1
stop();
Symbol 1056 MovieClip Frame 21
stop();
Symbol 1057 MovieClip Frame 20
stop();
Symbol 1058 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1067 MovieClip Frame 1
stop();
Symbol 1068 MovieClip Frame 1
stop();
Symbol 1075 MovieClip Frame 1
stop();
Symbol 1075 MovieClip Frame 5
_root.gameFull_mc.setDoormanWaiter("s0");
Symbol 1075 MovieClip Frame 22
gotoAndStop (1);
Symbol 1075 MovieClip Frame 27
_root.gameFull_mc.setDoormanWaiter("s1");
Symbol 1075 MovieClip Frame 47
gotoAndStop (1);
Symbol 1075 MovieClip Frame 52
_root.gameFull_mc.setDoormanWaiter("s2");
Symbol 1075 MovieClip Frame 69
gotoAndStop (1);
Symbol 1078 MovieClip Frame 1
stop();
Symbol 1078 MovieClip Frame 12
_root.gameFull_mc.setFrontWaiter();
trace("t11111111111---------------");
Symbol 1106 MovieClip Frame 2
_root.quarrelSound.start();
Symbol 1106 MovieClip Frame 82
stop();
Symbol 1106 MovieClip Frame 133
_parent.gotoAndStop(2);
Symbol 1107 MovieClip Frame 1
stop();
Symbol 1111 MovieClip Frame 1
houseNo = _root.gameFull_mc.houseNo;
Symbol 1111 MovieClip Frame 15
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(3);
}
_root.gameFull_mc.setinFu();
_parent.gotoAndStop(2);
Symbol 1112 MovieClip Frame 1
stop();
trace(_parent.inArray[0].bag_mc);
_parent.inArray[0].brow_mc.gotoAndStop(_parent.inArray[0].brow_mc._totalframes);
Symbol 1120 MovieClip Frame 1
stop();
Symbol 1120 MovieClip Frame 15
_root.gameFull_mc.waterBegin(1);
Symbol 1121 MovieClip Frame 1
stop();
Symbol 1127 MovieClip Frame 1
stop();
Symbol 1133 MovieClip Frame 1
stop();
Symbol 1143 MovieClip Frame 40
_parent.gotoAndStop(1);
Symbol 1144 MovieClip Frame 1
stop();
if (this._name == "chef1_mc") {
chefSon_mc.gotoAndStop(1);
}
if (this._name == "chef2_mc") {
chefSon_mc.gotoAndStop(2);
}
if (this._name == "chef3_mc") {
chefSon_mc.gotoAndStop(3);
}
Symbol 1144 MovieClip Frame 2
if (this._name == "chef1_mc") {
chefSon_mc.gotoAndStop(1);
}
if (this._name == "chef2_mc") {
chefSon_mc.gotoAndStop(2);
}
if (this._name == "chef3_mc") {
chefSon_mc.gotoAndStop(3);
}
Symbol 1144 MovieClip Frame 25
gotoAndStop (1);
Symbol 1152 MovieClip Frame 9
_root.gameFull_mc.ballWaiterOver();
Symbol 1152 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 1153 MovieClip Frame 1
stop();
Symbol 1163 MovieClip Frame 1
stop();
Symbol 1165 MovieClip Frame 1
stop();
Symbol 1168 MovieClip Frame 1
stop();
Symbol 1170 MovieClip Frame 1
stop();
Symbol 1172 MovieClip Frame 1
stop();
Symbol 1175 MovieClip Frame 1
stop();
Symbol 1177 MovieClip Frame 1
stop();
Symbol 1179 MovieClip Frame 1
stop();
Symbol 1181 MovieClip Frame 1
stop();
Symbol 1183 MovieClip Frame 1
stop();
Symbol 1185 MovieClip Frame 1
stop();
Symbol 1187 MovieClip Frame 1
stop();
Symbol 1189 MovieClip Frame 1
stop();
Symbol 1191 MovieClip Frame 1
stop();
Symbol 1193 MovieClip Frame 1
stop();
Symbol 1195 MovieClip Frame 1
stop();
Symbol 1204 MovieClip Frame 1
stop();
Instance of Symbol 551 MovieClip in Symbol 1204 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 538 MovieClip in Symbol 1204 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 551 MovieClip in Symbol 1204 MovieClip Frame 6
onClipEvent (load) {
trace("sexID=" + _root.sexID);
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 551 MovieClip in Symbol 1204 MovieClip Frame 7
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 538 MovieClip in Symbol 1204 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1222 MovieClip Frame 30
_root.gameFull_mc.ynbook = false;
_parent._parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1248 MovieClip Frame 30
_root.gameFull_mc.ynbook = false;
_parent._parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1249 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 1
stop();
Symbol 1272 MovieClip Frame 1
stop();
Instance of Symbol 1249 MovieClip in Symbol 1272 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 1271 MovieClip in Symbol 1272 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1273 MovieClip Frame 1
stop();
Instance of Symbol 551 MovieClip in Symbol 1273 MovieClip Frame 1
onClipEvent (load) {
trace("sexID=" + _root.sexID);
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 621 MovieClip in Symbol 1273 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(bagID);
}
Instance of Symbol 551 MovieClip in Symbol 1273 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 538 MovieClip in Symbol 1273 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 551 MovieClip in Symbol 1273 MovieClip Frame 6
onClipEvent (load) {
trace("sexID=" + _root.sexID);
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 621 MovieClip in Symbol 1273 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(bagID);
}
Instance of Symbol 551 MovieClip in Symbol 1273 MovieClip Frame 7
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 538 MovieClip in Symbol 1273 MovieClip Frame 8
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1277 MovieClip Frame 24
_root.gameFull_mc.ynbook = false;
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1286 MovieClip Frame 21
_root.gameFull_mc.ynbook = false;
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1287 MovieClip Frame 1
stop();
Symbol 1304 MovieClip Frame 36
_root.gameFull_mc.ynbook = false;
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1318 MovieClip Frame 34
_root.gameFull_mc.ynbook = false;
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1319 MovieClip Frame 1
stop();
Symbol 1349 MovieClip Frame 34
_root.gameFull_mc.ynbook = false;
_root.gameFull_mc.groggeryBegin(1);
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1366 MovieClip Frame 34
_root.gameFull_mc.ynbook = false;
_root.gameFull_mc.groggeryBegin(1);
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1367 MovieClip Frame 1
stop();
Symbol 1375 MovieClip Frame 20
_root.gameFull_mc.ynbook = false;
_root.gameFull_mc.billiardsBegin(1);
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1385 MovieClip Frame 25
_root.gameFull_mc.ynbook = false;
_root.gameFull_mc.billiardsBegin(1);
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1390 MovieClip Frame 24
_root.gameFull_mc.ynbook = false;
_root.gameFull_mc.cinemaBegin(1);
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1398 MovieClip Frame 21
_root.gameFull_mc.ynbook = false;
_root.gameFull_mc.cinemaBegin(1);
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1399 MovieClip Frame 1
stop();
Symbol 1410 MovieClip Frame 26
_root.gameFull_mc.ynbook = false;
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1417 MovieClip Frame 19
_root.gameFull_mc.ynbook = false;
_parent._parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1418 MovieClip Frame 1
stop();
Instance of Symbol 538 MovieClip in Symbol 1419 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1419 MovieClip Frame 60
_root.gameFull_mc.ynbook = false;
_parent._x = _root.gameFull_mc.d0._x;
_parent._y = _root.gameFull_mc.d0._y;
_root.gameFull_mc.goto = _root.gameFull_mc.d0;
_root.gameFull_mc.into = _root.gameFull_mc.d0;
_parent.gotoAndStop("\u8D70\u8DEF");
Instance of Symbol 538 MovieClip in Symbol 1429 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1429 MovieClip Frame 21
_root.gameFull_mc.fireOver();
_root.gameFull_mc.ynbook = false;
_parent.gotoAndStop("\u8D70\u8DEF");
Instance of Symbol 551 MovieClip in Symbol 1430 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1430 MovieClip Frame 25
_root.gameFull_mc.quarrelBegin(_root.quarrelID);
_root.gameFull_mc.ynbook = false;
_parent.gotoAndStop("\u8D70\u8DEF");
Instance of Symbol 551 MovieClip in Symbol 1436 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1436 MovieClip Frame 25
_root.gameFull_mc.ynbook = false;
_parent.gotoAndStop("\u8D70\u8DEF");
Symbol 1437 MovieClip Frame 1
stop();
Instance of Symbol 1287 MovieClip "player" in Symbol 1437 MovieClip Frame 20
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 1319 MovieClip "player" in Symbol 1437 MovieClip Frame 29
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 1367 MovieClip in Symbol 1437 MovieClip Frame 40
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 1386 MovieClip in Symbol 1437 MovieClip Frame 51
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 1399 MovieClip in Symbol 1437 MovieClip Frame 60
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 1418 MovieClip in Symbol 1437 MovieClip Frame 71
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1437 MovieClip Frame 108
_root.wakeupSound.start();
Symbol 1449 MovieClip Frame 1
stop();
Symbol 1460 MovieClip Frame 10
stop();
Symbol 1461 MovieClip Frame 10
stop();
Symbol 1462 MovieClip Frame 1
stop();
Symbol 1462 MovieClip Frame 2
_root.elevatorSound.start(1.4);
Symbol 1462 MovieClip Frame 3
_root.elevatorSound.start(1.4);
Symbol 1464 MovieClip Frame 1
function setArray() {
c0.array = [["z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["c1", "c2", "c3", "c4", "c5", "c6", "u"]];
c1.array = [["c0", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["c2", "c3", "c4", "c5", "c6", "u"]];
c2.array = [["c1", "c0", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["c3", "c4", "c5", "c6", "u"]];
c3.array = [["c4"], ["c5", "c6", "u"], ["c2", "c1", "c0", "z0", "z", "f", "w", "t", "s", "d", "j", "k"]];
c4.array = [["c3", "c5", "c6", "c2", "c1", "c0", "z0", "z", "f", "w", "t", "s", "d", "j", "k", "u"]];
c5.array = [["c3", "c4", "c2", "c1", "c0", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["c6"], ["u0", "u"]];
c6.array = [["c5", "c4", "c3", "c2", "c1", "c0", "z0", "z", "f", "w", "t", "s", "d", "j", "k", "u"]];
u0.array = [["c5", "c", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["u1", "u2", "u3", "u4", "u5"], ["u6"]];
u1.array = [["u0", "u6", "c", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["u2", "u3", "u4", "u5"]];
u2.array = [["u1", "u6", "u0", "c", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["u3", "u4", "u5"]];
u3.array = [["u2", "u1", "u6", "u0", "c", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["u4", "u5"]];
u4.array = [["u3", "u2", "u1", "u6", "u0", "c", "z0", "z", "f", "w", "t", "s", "d", "j", "k"], ["u5"]];
u5.array = [["u4", "u3", "u2", "u1", "u6", "u0", "c", "z0", "z", "f", "w", "t", "s", "d", "j", "k"]];
u6.array = [["u0", "u5", "u4", "u3", "u2", "u1", "c", "z0", "z", "f", "w", "t", "s", "d", "j", "k"]];
t1.array = [["t2", "t0", "z0", "z", "f", "w", "s", "d", "c", "j", "k", "u"]];
w0.array = [["z0", "z", "f", "t", "c", "j", "k", "u"], ["w1", "w2", "w3", "w4", "w5", "w6", "d"], ["s0", "s"]];
w1.array = [["w0", "z0", "z", "f", "t", "c", "u", "j", "k", "s"], ["w2", "w3", "w4", "w5", "w6"], ["d0"]];
d0.array = [["w1", "z0", "z", "f", "t", "c", "u", "w", "s", "j", "k"]];
s0.array = [["w0", "w", "z0", "z", "f", "t", "c", "u", "d", "j", "k"], ["s1", "s2"]];
s1.array = [["s0", "w0", "w", "z0", "z", "f", "t", "c", "u", "d", "j", "k"], ["s2"]];
s2.array = [["s1", "s0", "w0", "w", "z0", "z", "f", "t", "c", "u", "d", "j", "k"]];
w2.array = [["w1", "w0", "z0", "z", "f", "t", "c", "u", "s", "d", "j", "k"], ["w3", "w4", "w5", "w6"]];
w3.array = [["w2", "w1", "w0", "z0", "z", "f", "t", "c", "u", "s", "d", "j", "k"], ["w5", "w6"], ["w4"]];
w4.array = [["w3", "w5", "w6", "w2", "w1", "w0", "z0", "z", "f", "t", "c", "u", "s", "d", "j", "k"]];
w5.array = [["w3", "w4", "w2", "w1", "w0", "z0", "z", "f", "t", "c", "u", "s", "d", "j", "k"], ["w6"]];
w6.array = [["w5", "w3", "w4", "w2", "w1", "w0", "z0", "z", "f", "t", "c", "u", "s", "d", "j", "k"]];
f1.array = [["f0", "z0", "z", "c", "u", "t", "w", "s", "d", "u"], ["f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", "j", "k"]];
f2.array = [["f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "u"], ["f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", "j", "k"]];
if (_root.ynlift == false) {
z0.array = [["z1", "z2", "f0", "f", "j", "k"], ["w0", "w", "s", "d"], ["t0", "t"], ["c0", "c", "u"]];
z1.array = [["z2", "f0", "f", "j", "k"], ["z0", "w", "s", "d", "t", "c", "u"]];
z2.array = [["f0", "f", "j", "k"], ["z1", "z0", "w", "s", "d", "t", "c", "u"]];
t0.array = [["t2", "t1"], ["z0", "z", "f", "w", "s", "d", "c", "j", "k", "u"]];
t2.array = [["t1"], ["t0", "f", "j", "k", "z0", "z", "w", "s", "d", "c", "u"]];
f0.array = [["z2", "z", "c", "t", "w", "s", "d", "u"], ["f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", "j", "k"]];
f3.array = [["f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d"], ["f4", "f5", "f6", "f7", "f8", "f9", "f10"], ["f11", "f12", "f13", "f14", "f15"], ["j0", "j", "k"]];
f4.array = [["f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f11", "f12", "f13", "f14", "f15", "j", "k"], ["f5", "f6", "f7", "f8", "f9", "f10"]];
f5.array = [["f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f11", "f12", "f13", "f14", "f15", "j", "k"], ["f6", "f7", "f8", "f9", "f10"]];
f6.array = [["f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f11", "f12", "f13", "f14", "f15", "j", "k"], ["f7", "f8", "f9", "f10"]];
f7.array = [["f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f11", "f12", "f13", "f14", "f15", "j", "k"], ["f8", "f9", "f10"]];
f8.array = [["f7", "f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f11", "f12", "f13", "f14", "f15", "j", "k"], ["f9", "f10"]];
f9.array = [["f8", "f7", "f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f11", "f12", "f13", "f14", "f15", "j", "k"], ["f10"]];
f10.array = [["f8", "f7", "f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f11", "f12", "f13", "f14", "f15", "j", "k"]];
f11.array = [["f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "j", "k"], ["f12", "f13", "f14", "f15"]];
f12.array = [["f11", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "j", "k"], ["f13", "f14", "f15"]];
f13.array = [["f12", "f11", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "j", "k"], ["f14", "f15"]];
f14.array = [["f13", "f12", "f11", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "j", "k"], ["f15"]];
f15.array = [["f14", "f13", "f12", "f11", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "j", "k"]];
j0.array = [["f3", "f", "z0", "z", "c", "u", "t", "w", "s", "d"], ["j1", "j2", "j3", "j4", "j5", "j6", "j7", "k"], ["j8", "j9", "j10", "j11"]];
j1.array = [["j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "j8", "j9", "j10", "j11"], ["j2", "j3", "j4", "j5", "j6", "j7", "k"]];
j2.array = [["j1", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "j8", "j9", "j10", "j11"], ["j3", "j4", "j5", "j6", "j7", "k"]];
j3.array = [["j2", "j1", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "j8", "j9", "j10", "j11"], ["j4", "j5", "j6", "j7", "k"]];
j4.array = [["j3", "j2", "j1", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "j8", "j9", "j10", "j11"], ["j5", "j6", "j7", "k"]];
j5.array = [["j4", "j3", "j2", "j1", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "j8", "j9", "j10", "j11"], ["j6", "j7", "k"]];
j6.array = [["j5", "j4", "j3", "j2", "j1", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "j8", "j9", "j10", "j11"], ["j7", "k"]];
j7.array = [["j6", "j5", "j4", "j3", "j2", "j1", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "j8", "j9", "j10", "j11"], ["k0", "k"]];
j8.array = [["j0", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k", "f", "z0", "z", "c", "u", "t", "w", "s", "d"], ["j9", "j10", "j11"]];
j9.array = [["j8", "j0", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k", "f", "z0", "z", "c", "u", "t", "w", "s", "d"], ["j10", "j11"]];
j10.array = [["j9", "j8", "j0", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k", "f", "z0", "z", "c", "u", "t", "w", "s", "d"], ["j11"]];
j11.array = [["j10", "j9", "j8", "j0", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k", "f", "z0", "z", "c", "u", "t", "w", "s", "d"]];
f3._xscale = 100;
f3._yscale = 100;
} else {
z0.array = [["t0", "t", "f", "j", "k"], ["z1", "z2"], ["w0", "w", "s", "d"], ["c0", "c", "u"]];
z1.array = [["z0", "t0", "t", "f", "j", "k", "w", "s", "d", "c", "u"], ["z2"]];
z2.array = [["z1", "z0", "t0", "t", "f", "j", "k", "w", "s", "d", "c", "u"]];
t0.array = [["t2", "t1"], ["f0", "f", "j", "k"], ["z0", "z", "w", "s", "d", "c", "u"]];
t2.array = [["t1"], ["t0", "f0", "f", "j", "k", "z0", "z", "w", "s", "d", "c", "u"]];
f0.array = [["t0", "z0", "z", "c", "u", "t", "w", "s", "d"], ["f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", "j", "k"]];
f3.array = [["f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d"], ["f13", "f14", "f15", "f4", "f5", "f6", "f7", "f8", "f9", "f10", "f11", "f12"], ["j0", "j", "k"]];
f4.array = [["f11", "f12", "f13", "f14", "f15", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k"], ["f5", "f6", "f7", "f8", "f9", "f10"]];
f5.array = [["f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k", "f11", "f12", "f13", "f14", "f15"], ["f6", "f7", "f8", "f9", "f10"]];
f6.array = [["f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k", "f11", "f12", "f13", "f14", "f15"], ["f7", "f8", "f9", "f10"]];
f7.array = [["f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k", "f11", "f12", "f13", "f14", "f15"], ["f8", "f9", "f10"]];
f8.array = [["f7", "f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k", "f11", "f12", "f13", "f14", "f15"], ["f9", "f10"]];
f9.array = [["f8", "f7", "f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k", "f11", "f12", "f13", "f14", "f15"], ["f10"]];
f10.array = [["f8", "f7", "f6", "f5", "f4", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k", "f11", "f12", "f13", "f14", "f15"]];
f11.array = [["f4", "f5", "f6", "f7", "f8", "f9", "f10"], ["f12", "f13", "f14", "f15", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k"]];
f12.array = [["f11", "f4", "f5", "f6", "f7", "f8", "f9", "f10"], ["f13", "f14", "f15", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k"]];
f13.array = [["f14", "f15"], ["f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k"], ["f12", "f11", "f4", "f5", "f6", "f7", "f8", "f9", "f10"]];
f14.array = [["f13", "f12", "f11", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "d", "j", "k", "f4", "f5", "f6", "f7", "f8", "f9", "f10"], ["f15"]];
f15.array = [["f14", "f13", "f12", "f11", "f3", "f2", "f1", "f0", "z0", "z", "c", "u", "t", "w", "s", "j", "k", "f4", "f5", "f6", "f7", "f8", "f9", "f10"]];
f0._x = -239;
f0._y = -12;
f1._x = -239;
f1._y = -12;
f2._x = -232;
f2._y = -44;
f3._x = -230;
f3._y = -77;
f3._xscale = 120;
f3._yscale = 120;
j0.array = [["j12", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k", "j8", "j9", "j10", "j11"], ["f3", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j1.array = [["j2", "j3", "j4", "j5", "j6", "j7", "k"], ["j8", "j9", "j10", "j11", "j12", "j0", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j2.array = [["j3", "j4", "j5", "j6", "j7", "k"], ["j1", "j0", "j8", "j9", "j10", "j11", "j12", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j3.array = [["j4", "j5", "j6", "j7", "k"], ["j2", "j1", "j0", "j8", "j9", "j10", "j11", "j12", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j4.array = [["j5", "j6", "j7", "k"], ["j3", "j2", "j1", "j0", "j8", "j9", "j10", "j11", "j12", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j5.array = [["j6", "j7", "k"], ["j4", "j3", "j2", "j1", "j0", "j8", "j9", "j10", "j11", "j12", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j6.array = [["j7", "k"], ["j5", "j4", "j3", "j2", "j1", "j0", "j8", "j9", "j10", "j11", "j12", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j7.array = [["j6", "j5", "j4", "j3", "j2", "j1", "j0", "j8", "j9", "j10", "j11", "j12", "z0", "z", "c", "u", "t", "w", "s", "d", "f"], ["k0", "k"]];
j8.array = [["j1", "j2", "j3", "j4", "j5", "j6", "j7", "k"], ["j9", "j10", "j11", "j12", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j9.array = [["j8", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k"], ["j10", "j11", "j12", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j10.array = [["j9", "j8", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k"], ["j11"], ["j12", "j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j11.array = [["j10", "j9", "j8", "j0", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k", "j12", "f", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
j12.array = [["j10", "j9", "j8", "j1", "j2", "j3", "j4", "j5", "j6", "j7", "k", "j11"], ["j0", "f", "z0", "z", "c", "u", "t", "w", "s", "d"]];
j0._x = -229;
j0._y = -98;
}
k0.array = [["j7", "j", "z0", "z", "c", "u", "t", "w", "s", "d", "f"], ["k1", "k2"]];
k1.array = [["k0", "j", "z0", "z", "c", "u", "t", "w", "s", "d", "f"], ["k2"]];
k2.array = [["k1", "k0", "j", "z0", "z", "c", "u", "t", "w", "s", "d", "f"]];
}
setArray();
function setFloor($visible) {
trace("visible=" + $visible);
if ($visible == 1) {
floor3son_mc.gotoAndStop(2);
dogRoomFull_mc.floor3_mc.gotoAndStop(2);
} else {
floor3son_mc.gotoAndStop(1);
dogRoomFull_mc.floor3_mc.gotoAndStop(1);
}
}
function key(obTemp) {
if (_root.helpID != -1) {
if (_root.say_mc._currentframe == 1) {
return(undefined);
}
if ((_root.say_mc._currentframe == 2) && (obTemp._name != "t1")) {
return(undefined);
}
if ((_root.say_mc._currentframe == 3) && (obTemp._name != "w0")) {
return(undefined);
}
if (_root.say_mc._currentframe == 4) {
return(undefined);
}
if ((_root.say_mc._currentframe == 5) && (obTemp._name != "c1")) {
return(undefined);
}
if ((_root.say_mc._currentframe == 6) && (obTemp._name != "c6")) {
return(undefined);
}
if (_root.say_mc._currentframe == 7) {
return(undefined);
}
if ((_root.say_mc._currentframe == 8) && (obTemp._name != "s0")) {
return(undefined);
}
if ((_root.say_mc._currentframe == 9) && (obTemp._name != "c2")) {
return(undefined);
}
if (_root.say_mc._currentframe == 10) {
return(undefined);
}
if ((_root.say_mc._currentframe == 11) && (obTemp._name != "t1")) {
return(undefined);
}
if ((_root.say_mc._currentframe == 12) && (obTemp._name != "f5")) {
return(undefined);
}
if (_root.say_mc._currentframe >= 13) {
return(undefined);
}
}
var _local3 = 0;
while (_local3 < bookArray.length) {
if (gotoArray.length < 8) {
gotoArray.push(obTemp);
this[obTemp._name + "_num"].gotoAndStop(gotoArray.length + 1);
return(undefined);
}
_local3++;
}
}
function playerKey() {
if (yngotoArray == false) {
if (gotoArray[0] != null) {
if (goto._name == gotoArray[0]._name) {
trace("goto=" + goto._name);
trace("gotoArray[0]=" + gotoArray[0]._name);
stepFu();
stopFu(gotoArray[0]);
gotoArray.splice(0, 1);
yngotoArray = false;
next_mc = null;
} else {
yngotoArray = true;
ynplayerKey = true;
goto = gotoArray[0];
}
} else {
yngotoArray = false;
}
if (player_mc._currentframe == 12) {
if (gotoArray[0] != ken) {
gotoArray[0] = ken;
trace(gotoArray[0]);
}
}
}
if ((ynplayerKey == true) && (yngotoArray == true)) {
ynplayerKey = false;
str = gotoArrayFu(into.array, goto);
next_mc = this[str];
k = (into._y - next_mc._y) / (into._x - next_mc._x);
trace("------------------------");
trace(into._name);
trace(next_mc._name);
trace(goto._name);
if (((((_root.ynlift == true) && (into._name == "t0")) && (next_mc._name == "f0")) && ("j" != goto._name.charAt(0))) && ("k" != goto._name.charAt(0))) {
xy = "y";
ySpeed = -0.5;
lift_mc.gotoAndStop(2);
lifiNextGoto = 3;
trace("2222222222222222");
} else if ((((_root.ynlift == true) && (into._name == "t0")) && (next_mc._name == "f0")) && (("j" == goto._name.charAt(0)) || ("k" == goto._name.charAt(0)))) {
xy = "y";
ySpeed = -0.5;
lift_mc.gotoAndStop(2);
lifiNextGoto = 4;
} else if ((((_root.ynlift == true) && (into._name == "f3")) && (next_mc._name == "j0")) && (("j" == goto._name.charAt(0)) || ("k" == goto._name.charAt(0)))) {
xy = "y";
ySpeed = -0.5;
lift_mc.gotoAndStop(5);
lift_mc.gotoAndStop(4);
} else if ((((((_root.ynlift == true) && (into._name == "f3")) && (next_mc._name == "f2")) && ("f" != goto._name.charAt(0))) && ("j" != goto._name.charAt(0))) && ("k" != goto._name.charAt(0))) {
xy = "y";
ySpeed = 0.5;
lift_mc.gotoAndStop(7);
lifiNextGoto = 9;
} else if ((((_root.ynlift == true) && (into._name == "j12")) && (next_mc._name == "j0")) && ("f" == goto._name.charAt(0))) {
xy = "y";
ySpeed = 0.5;
lift_mc.gotoAndStop(8);
lifiNextGoto = 11;
} else if ((((_root.ynlift == true) && (into._name == "j12")) && (next_mc._name == "j0")) && (("j" != goto._name.charAt(0)) || ("k" != goto._name.charAt(0)))) {
xy = "y";
ySpeed = 0.5;
lift_mc.gotoAndStop(8);
lifiNextGoto = 9;
} else {
var _local4 = 0;
var _local3 = 0.5;
if (_root.isSpeedup == true) {
_local4 = 5;
if (_root.speedup_lv == 1) {
_local3 = 1;
} else {
_local3 = 1.5;
}
}
if (((into._y - next_mc._y) > 0) && ((into._x - next_mc._x) > 0)) {
player_mc.player.gotoAndStop(4 + _local4);
xy = "x";
if ((into._x - next_mc._x) > 0) {
xSpeed = -3 - _local3;
} else {
xSpeed = 3 + _local3;
}
} else if (((into._y - next_mc._y) > 0) && ((into._x - next_mc._x) < 0)) {
player_mc.player.gotoAndStop(3 + _local4);
xy = "y";
if ((into._y - next_mc._y) > 0) {
ySpeed = -2 - _local3;
} else {
ySpeed = 2 + _local3;
}
} else if (((into._y - next_mc._y) < 0) && ((into._x - next_mc._x) < 0)) {
player_mc.player.gotoAndStop(2 + _local4);
xy = "x";
if ((into._x - next_mc._x) > 0) {
xSpeed = -3 - _local3;
} else {
xSpeed = 3 + _local3;
}
} else if (((into._y - next_mc._y) < 0) && ((into._x - next_mc._x) > 0)) {
player_mc.player.gotoAndStop(1 + _local4);
xy = "y";
if ((into._y - next_mc._y) > 0) {
ySpeed = -2 - _local3;
} else {
ySpeed = 2 + _local3;
}
}
}
}
}
function nextFu() {
if (isUndo == true) {
if (player_mc._visible == true) {
isUndo = false;
}
next_mc = goto;
}
if ((next_mc != null) && (ynbook == false)) {
if ((player_mc._x != next_mc._x) || (player_mc._y != next_mc._y)) {
if (xy == "x") {
player_mc._x = player_mc._x + xSpeed;
player_mc._y = (k * (player_mc._x - next_mc._x)) + next_mc._y;
} else {
player_mc._y = player_mc._y + ySpeed;
player_mc._x = ((player_mc._y - next_mc._y) / k) + next_mc._x;
}
}
var _local2 = {x:_root.gameFull_mc.next_mc._x, y:_root.gameFull_mc.next_mc._y};
_root.gameFull_mc.localToGlobal(_local2);
if (player_mc.hit_mc.hitTest(_local2.x, _local2.y)) {
player_mc._x = next_mc._x;
player_mc._y = next_mc._y;
into = next_mc;
if (next_mc == goto) {
yngotoArray = false;
stepFu();
gotoArray.splice(0, 1);
trace("\u5B8C\u6210\u4E00\u4E2A\u76EE\u6807");
stopFu(next_mc);
next_mc = null;
} else {
ynplayerKey = true;
}
}
}
}
function gotoArrayFu(arrayTemp, gotoTemp) {
var _local1 = 0;
while (_local1 < arrayTemp.length) {
var _local2 = 0;
while (_local2 < arrayTemp[_local1].length) {
if ((arrayTemp[_local1][_local2].length == 1) && (arrayTemp[_local1][_local2].charAt(0) == goto._name.charAt(0))) {
return(arrayTemp[_local1][0]);
}
if (arrayTemp[_local1][_local2] == goto._name) {
return(arrayTemp[_local1][0]);
}
_local2++;
}
_local1++;
}
return(null);
}
function stepFu() {
var _local2 = 0;
while (_local2 < gotoArray.length) {
gotoArray[_local2].stepID = false;
_local2++;
}
_local2 = 0;
while (_local2 < gotoArray.length) {
if (gotoArray[_local2].stepID == false) {
gotoArray[_local2].stepID = true;
this[gotoArray[_local2]._name + "_num"].prevFrame();
}
_local2++;
}
}
function undoFu() {
trace("\u540E\u9000\u4E00\u6B65");
if (gotoArray.length >= 1) {
if ((gotoArray.length == 1) && (player_mc._currentframe != 12)) {
if ((next_mc != null) && (goto != next_mc)) {
isUndo = true;
goto = next_mc;
}
} else {
this[gotoArray[gotoArray.length - 1]._name + "_num"].gotoAndStop(1);
gotoArray.splice(gotoArray.length - 1, 1);
var _local2 = 0;
while (_local2 < gotoArray.length) {
this[gotoArray[_local2]._name + "_num"].gotoAndStop(_local2 + 2);
_local2++;
}
}
}
}
function helpFu() {
if (_root.say_mc._currentframe == 2) {
inFu();
}
if ((_root.say_mc._currentframe == 5) && (ynsay5 == false)) {
fireDup();
}
if ((_root.say_mc._currentframe == 6) && (ynsay6 == false)) {
ynsay6 = true;
daisDup();
}
if ((_root.say_mc._currentframe == 7) && (ynsay7 == false)) {
ynsay7 = true;
_root.isDellboyWaiter = true;
bellboyWaiter_mc._visible = _root.isDellboyWaiter;
}
if ((_root.say_mc._currentframe == 8) && (ynsay8 == false)) {
ynsay8 = true;
bookArray.push("s0");
bellboyWaiter_mc.zz_mc.gotoAndStop(1);
}
if ((_root.say_mc._currentframe == 9) && (ynsay9 == false)) {
quarrelDup();
}
if (_root.say_mc._currentframe == 15) {
_root.gotoAndStop(19);
}
}
function ai() {
if (random(700 - (_root.setSleepNum * 40)) == 1) {
inFu();
}
if (random(400 - (_root.setDaisNum * 20)) == 1) {
if (((_root.table_lv >= 1) && (_root.hNum >= 17)) && (_root.hNum <= 20)) {
daisDup();
} else if (((_root.table_lv >= 2) && (_root.hNum >= 11)) && (_root.hNum <= 13)) {
daisDup();
} else if (((_root.table_lv >= 3) && (_root.hNum >= 6)) && (_root.hNum <= 8)) {
daisDup();
}
}
if (random(700 - (_root.setDaisNum * 60)) == 1) {
daisDup();
}
if (((court_mc._visible == true) && (random(150) == 1)) && (court_mc._currentframe == 1)) {
ballDup();
}
if (((natatorium_mc._visible == true) && (random(150) == 1)) && (natatorium_mc._currentframe == 1)) {
natatorDup();
}
if ((((chef1_mc._visible == true) && (random(30) == 1)) && (chef1_mc._currentframe == 1)) && (daisGoArray.length > 0)) {
chef1_mc.gotoAndPlay(2);
_root.kitchenSound.start(4);
daisGoArray[0].rice_mc.gotoAndStop(2);
daisGoArray.splice(0, 1);
} else if ((((chef2_mc._visible == true) && (random(20) == 1)) && (chef2_mc._currentframe == 1)) && (daisGoArray.length > 0)) {
chef2_mc.gotoAndPlay(2);
_root.kitchenSound.start(4);
daisGoArray[0].rice_mc.gotoAndStop(2);
daisGoArray.splice(0, 1);
} else if ((((chef3_mc._visible == true) && (random(10) == 1)) && (chef3_mc._currentframe == 1)) && (daisGoArray.length > 0)) {
chef3_mc.gotoAndPlay(2);
_root.kitchenSound.start(4);
daisGoArray[0].rice_mc.gotoAndStop(2);
daisGoArray.splice(0, 1);
}
if (bookArray.length == 0) {
var _local2 = random(30);
if (_local2 == 1) {
if (inArray.length == 0) {
inFu();
}
} else if (_local2 == 2) {
if (daisGoArray.length == 0) {
daisDup();
}
}
}
groggeryWaiterFu();
if ((_root.isGroggery == true) && (random(300) == 1)) {
groggeryDup();
}
cinemaWaiterFu();
if ((_root.isCinema == true) && (random(300) == 1)) {
cinemaDup();
}
billiardsWaiterFu();
if ((_root.isBilliards == true) && (random(300) == 1)) {
billiardsDup();
}
if (random(300) == 1) {
parkDup();
}
dogWaiterFu();
if (random(300) == 1) {
dogDup();
}
bellboyWaiterFu();
natatorWaiterFu();
dustmanWaiterFu();
ballWaiterFu();
if (((_root.isTicket == true) && (random(200) == 1)) && (ticketRoom_mc._currentframe == 1)) {
ticketDup();
}
ticketWaiterFu();
if (((_root.isStore == true) && (random(200) == 1)) && (storeRoom_mc._currentframe == 1)) {
storeDup();
}
storeWaiterFu();
if (((_root.isGym == true) && (random(200) == 1)) && (threeFull_mc.gymRoom_mc._currentframe == 1)) {
gymDup();
}
gymWaiterFu();
if (((_root.isJeu == true) && (random(200) == 1)) && (jeuRoom_mc._currentframe == 1)) {
jeuDup();
}
jeuWaiterFu();
if (((_root.isJeu == true) && (random(200) == 1)) && (jeuRoom_mc._currentframe == 1)) {
waterDup();
}
waterWaiterFu();
if (((_root.isCafe == true) && (random(200) == 1)) && (threeFull_mc.cafeRoom_mc._currentframe == 1)) {
cafeDup();
}
cafeWaiterFu();
if (((_root.washLv >= 1) && (random(200) == 1)) && (washRoom_mc._currentframe == 1)) {
washDup();
}
washWaiterFu();
if (random(_root.quarrelAI) == 1) {
quarrelDup();
}
quarrelWaiterFu();
frontWaiterFu();
doormanWaiterFu();
if ((_root.lvText >= 2) && (random(_root.fireAI) == 1)) {
fireDup();
}
if ((_root.lvText >= 3) && (random(1000) == 1)) {
taxiDup();
}
}
function main() {
if (ynbook == false) {
playerKey();
}
nextFu();
if (_root.helpID == -1) {
ai();
} else {
helpFu();
}
inKey();
outKey();
daisKey();
fenFu();
ballKey();
natatorKey();
sleepKey();
wayFu();
billiardsKey();
quarrelKey();
fireKey();
}
function inFu() {
if (inArray.length == 0) {
inDup();
_root.deskbellSound.start();
deskbellSound_mc.gotoAndPlay(2);
}
}
function inDup() {
inNum++;
var _local4 = inArray.length * 25;
if (this.getInstanceAtDepth(_local4) != null) {
_local4++;
}
var _local3 = in_mc.duplicateMovieClip("in" + inNum, _local4);
if (_root.helpID == -1) {
_local3.ynbag = random(2);
_local3.playerID = random(6) + 1;
} else {
_local3.ynbag = 0;
_local3.playerID = 4;
}
_local3.gotoAndStop(_local3.playerID);
_local3.yndie = false;
_local3._x = _local3._x + (inArray.length * 25);
_local3._y = _local3._y + (inArray.length * 25);
if (this.getInstanceAtDepth(_local3._y) != null) {
_local3.swapDepths(_local3._y + 1);
} else {
_local3.swapDepths(_local3._y);
}
_local3.ynpush = false;
if (_local3.ynbag == 0) {
_local3.bagID = random(4) + 1;
_local3.bag_mc.gotoAndStop(_local3.bagID);
} else {
_local3.bag_mc.gotoAndStop(_local3.bag_mc._totalframes);
}
inArray.push(_local3);
}
function inKey() {
if (inArray[0].ynpush == false) {
inArray[0].ynpush = true;
if (inArray[0].ynbag == 0) {
bag_mc.gotoAndStop(inArray[0].bagID);
} else {
bag_mc.gotoAndStop(inArray[0].bag_mc._totalframes);
}
t1.actionArray.push(1);
bookArray.push("t1");
}
if (inArray[0].yndie == true) {
bag_mc.gotoAndStop(bag_mc._totalframes);
inArray[0].removeMovieClip();
inArray.splice(0, 1);
var _local1 = 0;
while (_local1 < t1.actionArray.length) {
if (t1.actionArray[_local1] == 1) {
t1.actionArray.splice(_local1, 1);
}
_local1++;
}
var _local2 = 0;
while (_local2 < inArray.length) {
inArray[_local2]._x = in_mc._x + (_local2 * 50);
_local2++;
}
reFu("t1");
}
}
function stopFu(ob) {
trace("\u68C0\u67E5\u662F\u5426\u6709\u4EFB\u52A1" + bookArray);
trace(player_mc._currentframe);
trace(gotoArray[0]);
isUndo = false;
player_mc.player.gotoAndStop(1);
var _local3 = 0;
while (_local3 < bookArray.length) {
if (bookArray[_local3] == ob._name) {
if (ob._name == "t1") {
if (frontWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
frontWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob.actionArray[0] == 1) {
houseNo = retSleepFu();
if (houseNo != -1) {
trace("\u51FA\u623F\u95F4\u53F7");
ob.actionArray.splice(0, 1);
clew1_mc.gotoAndStop(1);
bookArray.splice(_local3, 1);
if (houseNo == 7) {
expensiveroomSound.start();
}
// unexpected jump
}
if (ob.actionArray[1] == 2) {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(12);
}
trace("check out\u6536\u94B1");
ob.actionArray.splice(1, 1);
trace(outArray[0].ynbullpen);
if (outArray[0].ynbullpen == false) {
fenArray.push(_root.housing_money);
} else {
fenArray.push(_root.bullpen_moneyFull);
}
outArray[0].removeMovieClip();
outArray.splice(0, 1);
var _local5 = 0;
while (_local5 < outArray.length) {
outArray[_local5]._x = out_mc._x + (_local5 * 46);
_local5++;
}
bookArray.splice(_local3, 1);
return(undefined);
}
_root.msg_mc.gotoAndPlay(2);
return(undefined);
}
if (ob.actionArray[0] == 2) {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(12);
}
trace("check out\u6536\u94B1");
ob.actionArray.splice(0, 1);
trace(outArray[0].ynbullpen);
if (outArray[0].ynbullpen == false) {
fenArray.push(_root.housing_money);
} else {
fenArray.push(_root.bullpen_moneyFull);
}
outArray[0].removeMovieClip();
outArray.splice(0, 1);
var _local5 = 0;
while (_local5 < outArray.length) {
outArray[_local5]._x = out_mc._x + (_local5 * 46);
_local5++;
}
bookArray.splice(_local3, 1);
}
return(undefined);
}
if (ob._name == "w0") {
trace("\u642C\u884C\u674E=" + houseNo);
player_mc.gotoAndStop("\u642C\u884C\u674E");
bag_mc.gotoAndStop(bag_mc._totalframes);
bookArray.splice(_local3, 1);
trace("\u642C\u884C\u674E--------------------\u8981\u53BB\u7684\u5730\u65B9" + bedFu(houseNo, 1));
bookArray.splice(_local3, 0, bedFu(houseNo, 1)._name);
ken = bedFu(houseNo, 1);
gotoArray.splice(0, 0, bedFu(houseNo, 1));
trace("\u642C\u884C\u674E--------------------=" + gotoArray[0]);
inArray[0].removeMovieClip();
inArray.splice(0, 1);
_local3 = 0;
while (_local3 < inArray.length) {
inArray[_local3]._x = in_mc._x + (_local3 * 50);
_local3++;
}
return(undefined);
}
if ((ob._name.charAt(0) == "f") && (ob._name != "f12")) {
if ((houseNo != -1) && (ob._name == bedFu(houseNo, 1)._name)) {
trace("\u642C\u5B8C\u884C\u674E=" + houseNo);
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(4);
}
player_mc.gotoAndStop("\u8D70\u8DEF");
this["sleep" + houseNo].man.play();
this["sleep" + houseNo].brow_mc.gotoAndStop(this["sleep" + houseNo].brow_mc._totalframes);
houseNo = -1;
} else {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(13);
}
trace("\u6E05\u7406");
ynbook = true;
player_mc.gotoAndStop("\u6253\u626B");
if (ob._name == "f5") {
player_mc.player.gotoAndStop(2);
}
_root.cleaningSound.start();
this["clean" + bedFu(ob._name, 2)].gotoAndStop(2);
}
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob._name == "c6") {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(10);
}
trace("\u505A\u996D");
_root.kitchenSound.start();
player_mc.gotoAndStop("\u505A\u996D");
ynbook = true;
var _local7 = 0;
var _local6 = bookArray.length - 1;
while (_local6 >= 0) {
if ((bookArray[_local6] == "c6") && (_local7 < _root.chefRoomLv)) {
trace("\u505A\u996D" + daisGoArray[0]);
_local7++;
bookArray.splice(_local6, 1);
daisGoArray[0].rice_mc.gotoAndStop(2);
daisGoArray.splice(0, 1);
}
_local6--;
}
return(undefined);
}
if (ob._name == "u0") {
if (ballWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
ballWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
ballBegin();
fenArray.push(_root.batting_money);
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob._name == "u5") {
ynbook = true;
player_mc.gotoAndStop("\u6253\u626B\u6E38\u6CF3\u6C60");
natatorBegin();
this["natator" + naNum].gotoAndStop(natatorFull.id);
natatorFull.gotoAndStop(natatorFull._totalframes);
naNum++;
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob._name == "j11") {
if (groggeryWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
groggeryWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
ynbook = true;
player_mc.gotoAndStop("\u8C03\u9152");
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob._name == "j7") {
if (cinemaWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
cinemaWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
ynbook = true;
player_mc.gotoAndStop("\u653E\u7535\u5F71");
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob._name == "j4") {
if (billiardsWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
billiardsWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
ynbook = true;
player_mc.gotoAndStop("\u6446\u53F0\u7403");
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob._name == "s0") {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(9);
}
if (bellboyWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
bellboyWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
ynbook = true;
isJD = carArray[0].man._currentframe;
daisDup();
carArray[0].gotoAndStop("\u8FDB\u8F66" + carArray[0]._currentframe);
carArray[0].clew.gotoAndStop(2);
player_mc.gotoAndStop("\u505C\u8F66");
bookArray.splice(_local3, 1);
fenArray.push(_root.car_money);
return(undefined);
}
if (ob._name == "s1") {
ynbook = true;
isJD = carArray[1].man._currentframe;
daisDup();
carArray[1].gotoAndStop("\u8FDB\u8F66" + carArray[1]._currentframe);
carArray[1].clew.gotoAndStop(2);
player_mc.gotoAndStop("\u505C\u8F66");
bookArray.splice(_local3, 1);
fenArray.push(_root.car_money);
return(undefined);
}
if (ob._name == "s2") {
if (doormanWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
doormanWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
ynbook = true;
isJD = carArray[2].man._currentframe;
daisDup();
carArray[2].gotoAndStop("\u8FDB\u8F66" + carArray[2]._currentframe);
carArray[2].clew.gotoAndStop(2);
player_mc.gotoAndStop("\u505C\u8F66");
bookArray.splice(_local3, 1);
fenArray.push(_root.car_money);
return(undefined);
}
if (ob._name == "w1") {
if (dogWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
dogWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
dogBegin(1);
ynbook = true;
player_mc.gotoAndStop("\u5E26\u72D7");
bookArray.splice(_local3, 1);
return(undefined);
}
if (ob._name == "z1") {
if (ticketWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
ticketWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
ticketBegin(1);
bookArray.splice(_local3, 1);
} else if (ob._name == "z2") {
if (zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
storeBegin(1);
bookArray.splice(_local3, 1);
} else if (ob._name == "j2") {
if (gymWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
gymWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
gymBegin(1);
bookArray.splice(_local3, 1);
} else if (ob._name == "u2") {
if (jeuWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
jeuWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
jeuBegin(1);
bookArray.splice(_local3, 1);
} else if (ob._name == "k2") {
if (cafeWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
cafeWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
cafeBegin(1);
bookArray.splice(_local3, 1);
} else if (ob._name == "c4") {
if (washWaiter_mc.zz_mc._currentframe == 1) {
ynbook = true;
player_mc.gotoAndStop("\u53EB\u9192");
washWaiter_mc.zz_mc.gotoAndStop(2);
bookArray.splice(_local3, 1);
return(undefined);
}
washBegin(1);
bookArray.splice(_local3, 1);
} else if (ob._name == "z0") {
ynbook = true;
_root.quarrelID = 0;
player_mc.gotoAndStop("\u89E3\u51B3\u5435\u67B6");
bookArray.splice(_local3, 1);
} else if (ob._name == "c2") {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(11);
}
ynbook = true;
_root.quarrelID = 1;
player_mc.gotoAndStop("\u89E3\u51B3\u5435\u67B6");
bookArray.splice(_local3, 1);
} else if (ob._name == "f12") {
ynbook = true;
_root.fireID = 0;
player_mc.gotoAndStop("\u706D\u706B");
_root.extinguisherSound.start();
bookArray.splice(_local3, 1);
} else if (ob._name == "j9") {
ynbook = true;
_root.fireID = 1;
player_mc.gotoAndStop("\u706D\u706B");
_root.extinguisherSound.start();
bookArray.splice(_local3, 1);
} else if (ob._name == "c1") {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(6);
}
ynbook = true;
_root.fireID = 2;
player_mc.gotoAndStop("\u706D\u706B");
_root.extinguisherSound.start();
bookArray.splice(_local3, 1);
} else if (ob._name == "u1") {
ynbook = true;
_root.fireID = 3;
player_mc.gotoAndStop("\u706D\u706B");
_root.extinguisherSound.start();
bookArray.splice(_local3, 1);
} else if (ob._name == "u6") {
waterBegin(1);
bookArray.splice(_local3, 1);
} else if (ob._name == "t2") {
taxiAction();
bookArray.splice(_local3, 1);
}
}
_local3++;
}
}
function setinFu() {
trace("\u663E\u793A\u5B8C\u623F\u5B50\u53F7\u540E\uFF0C\u5C31\u6267\u884C\u51FA\u73B0\u5728\u623F\u95F4\u91CC");
this["sleep" + houseNo].gotoAndStop(inArray[0].playerID);
this["sleep" + houseNo].yndie = false;
this["sleep" + houseNo].ynbag = inArray[0].ynbag;
this["sleep" + houseNo].houseNo = houseNo;
this["sleep" + houseNo].bag_mc.gotoAndStop(1);
if (inArray[0].ynbag == 0) {
bookArray.push("w0");
inArray[0].gotoAndStop(inArray[0]._totalframes);
} else {
trace("\u6CA1\u5305" + this["sleep" + houseNo].man);
this["sleep" + houseNo].brow_mc.gotoAndStop(this["sleep" + houseNo].brow_mc._totalframes);
this["sleep" + houseNo].man.gotoAndPlay(2);
inArray[0].removeMovieClip();
inArray.splice(0, 1);
var _local2 = 0;
while (_local2 < inArray.length) {
inArray[_local2]._x = in_mc._x + (_local2 * 50);
_local2++;
}
houseNo = -1;
}
}
function sleepKey() {
var _local1 = 0;
while (_local1 < sleepArray.length) {
if (sleepArray[_local1].yndie == true) {
sleepArray[_local1].yndie = false;
sleepArray[_local1].gotoAndStop(8);
trace("\u5305\u8FD8\u6CA1\u5728\u8DEF\u4E0A");
if (player_mc._currentframe != 50) {
reFu("w0");
bag_mc.gotoAndStop(bag_mc._totalframes);
inArray[0].removeMovieClip();
inArray.splice(0, 1);
_local1 = 0;
while (_local1 < inArray.length) {
inArray[_local1]._x = in_mc._x + (_local1 * 50);
_local1++;
}
} else {
player_mc.gotoAndStop("\u8D70\u8DEF");
reFu(bedFu(sleepArray[_local1].houseNo, 1)._name);
}
return(undefined);
}
_local1++;
}
}
function bedFu(noTemp, IDTemp) {
if (IDTemp == 1) {
switch (noTemp) {
case 1 :
return(f5);
case 2 :
return(f6);
case 3 :
return(f7);
case 4 :
return(f8);
case 5 :
return(f9);
case 6 :
return(f10);
case 7 :
return(f15);
switch (noTemp) {
case "f5" :
return(1);
case "f6" :
return(2);
case "f7" :
return(3);
case "f8" :
return(4);
case "f9" :
return(5);
case "f10" :
return(6);
case "f15" :
return(7);
}
}
}
switch (noTemp) {
case "f5" :
return(1);
case "f6" :
return(2);
case "f7" :
return(3);
case "f8" :
return(4);
case "f9" :
return(5);
case "f10" :
return(6);
case "f15" :
return(7);
}
}
function retSleepFu() {
if ((((this.room7._visible == true) && (random(4 - _root.bullpen_lv) == 0)) && (this.sleep7._currentframe == 8)) && (this.clean7._currentframe == 2)) {
return(7);
}
var _local3 = 1;
while (_local3 <= 7) {
if (((this["room" + _local3]._visible == true) && (this["sleep" + _local3]._currentframe == 8)) && (this["clean" + _local3]._currentframe == 2)) {
return(_local3);
}
_local3++;
}
return(-1);
}
function sleepEndFu(ob) {
outDup(ob._currentframe, ob.ynbullpen);
this["clean" + ob.houseNo].gotoAndStop(1);
bookArray.push(bedFu(ob.houseNo, 1)._name);
ob.gotoAndStop(ob._totalframes);
_root.deskbellSound.start();
deskbellSound_mc.gotoAndPlay(2);
}
function outDup(obID, ynbullpenTemp) {
inNum++;
var _local2 = outArray.length * 23;
if (this.getInstanceAtDepth(_local2) != null) {
_local2++;
}
ob = out_mc.duplicateMovieClip("out" + inNum, _local2);
ob.outID = obID;
ob.ynpush = false;
ob.gotoAndStop(obID);
ob.ynbullpen = ynbullpenTemp;
ob._x = ob._x + (outArray.length * 23);
ob._y = ob._y + (outArray.length * 23);
if (this.getInstanceAtDepth(ob._y) != null) {
ob.swapDepths(ob._y + 1);
} else {
ob.swapDepths(ob._y);
}
outArray.push(ob);
}
function outKey() {
if (outArray[0].ynpush == false) {
outArray[0].ynpush = true;
t1.actionArray.push(2);
bookArray.push("t1");
}
if (outArray[0].yndie == true) {
outArray[0].removeMovieClip();
outArray.splice(0, 1);
var _local2 = 0;
while (_local2 < t1.actionArray.length) {
if (t1.actionArray[_local2] == 2) {
t1.actionArray.splice(_local2, 1);
}
_local2++;
}
var _local1 = 0;
while (_local1 < outArray.length) {
outArray[_local1]._x = out_mc._x + (_local1 * 46);
_local1++;
}
reFu("t1");
}
}
function daisBegin($idTemp) {
daisFull_mc.gotoAndStop(_root.setDaisNum + 1);
if ($idTemp == -1) {
daisFull_mc.fix_mc.gotoAndStop(daisFull_mc.fix_mc._totalframes);
}
daisArray = new Array();
var _local3 = 0;
while (_local3 <= daisNum) {
var _local2 = daisFull_mc["dais" + _local3];
if ($idTemp == -1) {
_local2.gotoAndStop(_local2._totalframes);
} else if (_local3 > 7) {
_local2.gotoAndStop(_local2._totalframes);
}
daisArray.push(_local2);
_local3++;
}
}
function daisDup() {
trace("daisDup=" + daisTo);
daisTo = 0;
var _local2 = 0;
while (_local2 < daisArray.length) {
if (daisArray[_local2]._currentframe != daisArray[_local2]._totalframes) {
daisTo++;
}
_local2++;
}
if (daisTo < daisArray.length) {
if (_root.helpID == -1) {
var _local3 = random(daisNum + 1);
} else {
var _local3 = 3;
}
while (daisArray[_local3]._currentframe != daisArray[_local3]._totalframes) {
var _local3 = random(daisNum + 1);
}
if (isJD != -1) {
daisArray[_local3].id = isJD;
isJD = -1;
} else {
daisArray[_local3].id = random(7) + 1;
}
daisArray[_local3].yndie = false;
daisArray[_local3].gotoAndStop(daisArray[_local3].id);
daisGoArray.push(daisArray[_local3]);
bookArray.push("c6");
}
}
function daisKey() {
if (daisGoArray[0].yndie == true) {
daisGoArray[0].gotoAndStop(daisGoArray[0]._totalframes);
daisGoArray.splice(0, 1);
reFu("c6");
}
}
function daisWin(ob) {
ob.gotoAndStop(ob._totalframes);
var _local2 = 0;
if (_root.chefLv3 > 0) {
_local2 = 15 * _root.chefLv3;
} else if (_root.chefLv2 > 0) {
_local2 = 10 * _root.chefLv2;
}
if (_root.chefLv1 > 0) {
_local2 = 5 * _root.chefLv1;
}
fenArray.push(_root.dining_money + _local2);
}
function fenFu() {
if ((_root.ynfen == false) && (fenArray.length != 0)) {
_root.ynfen = true;
if ((fenArray[0] == null) || (fenArray[0] == 0)) {
fenArray[0] = 88;
trace("----------------------------------------\u5206\u6570\u51FA\u9519\u4E86");
}
_root.fenAdd = fenArray[0];
_root.fen = _root.fen + int(fenArray[0]);
fenArray.splice(0, 1);
_root.fen_mc.gotoAndPlay(2);
_root.takingmoneySound.start();
}
}
function ballBegin() {
batting1.yndie = false;
batting1.gotoAndStop(batting1._totalframes);
batting1.brow_mc.gotoAndStop(batting1.brow_mc._totalframes);
batting2.gotoAndStop(batting2._totalframes);
batting2.brow_mc.gotoAndStop(batting2.brow_mc._totalframes);
ball_mc.gotoAndStop(ball_mc._totalframes);
ballClew_mc.gotoAndStop(ballClew_mc._totalframes);
}
function ballDup() {
if (batting1._currentframe == batting1._totalframes) {
batting1.gotoAndStop(random(7) + 1);
batting1.man.gotoAndStop(3);
batting1.brow_mc.gotoAndStop(batting1.brow_mc._totalframes);
batting2.gotoAndStop(random(7) + 1);
batting2.man.gotoAndStop(3);
batting2.brow_mc.gotoAndStop(batting2.brow_mc._totalframes);
ball_mc.gotoAndStop(1);
}
}
function ballKey() {
if ((batting1._currentframe != batting1._totalframes) && (ball_mc._currentframe == 1)) {
if (random(ranBall) == 1) {
batting1.man.gotoAndStop(1);
batting1.brow_mc.gotoAndStop(1);
batting2.man.gotoAndStop(1);
batting2.brow_mc.gotoAndStop(1);
ball_mc.gotoAndStop(2);
bookArray.push("u0");
}
}
if (batting1.yndie == true) {
ballBegin();
reFu("u0");
}
}
function ballWaiterFu() {
if (((ballWaiter_mc.zz_mc._currentframe == 2) && (ballWaiter_mc._visible == true)) && (ballWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
bookArray.push("u0");
ballWaiter_mc.zz_mc.gotoAndStop(1);
return(undefined);
}
if ((random(10) == 1) && (ballClew_mc._currentframe == 1)) {
ballWaiter_mc.gotoAndStop(2);
}
}
}
function ballWaiterOver() {
ballBegin();
fenArray.push(_root.batting_money);
deleteBookArrayFu("u0");
}
function natatorBegin() {
natatorFull.swapDepths(natatorFull._y);
natatorFull.gotoAndStop(7);
natator0.gotoAndStop(7);
natator1.gotoAndStop(7);
natator2.gotoAndStop(7);
natatorClew_mc.gotoAndStop(2);
naNum = 0;
okNum = 0;
}
function natatorDup() {
if (naNum < 3) {
if (natatorFull._currentframe == natatorFull._totalframes) {
natatorFull.id = random(6) + 1;
natatorFull.gotoAndStop(natatorFull.id);
if (natatorClew_mc._currentframe == 2) {
this["natator" + naNum].gotoAndStop(natatorFull.id);
natatorFull.gotoAndStop(natatorFull._totalframes);
naNum++;
}
}
} else if ((natatorFull._currentframe == natatorFull._totalframes) && (okNum >= 3)) {
natatorFull.id = random(6) + 1;
natatorFull.gotoAndStop(natatorFull.id);
natatorClew_mc.gotoAndStop(1);
_root.swimmingpoolSound.start();
if (okNum == 3) {
okNum++;
bookArray.push("u5");
}
}
}
function natatorWaiterFu() {
if ((((natatorWaiter_mc._visible == true) && (random(10) == 1)) && (natatorWaiter_mc._currentframe == 1)) && (natatorClew_mc._currentframe == 1)) {
natatorWaiter_mc.gotoAndStop(2);
natatorMan.yndie = true;
natatorBegin();
this["natator" + naNum].gotoAndStop(natatorFull.id);
natatorFull.gotoAndStop(natatorFull._totalframes);
naNum++;
deleteBookArrayFu("u5");
}
}
function natatorKey() {
}
function natatorWin(ob) {
okNum++;
fenArray.push(_root.swimming_money);
ob.gotoAndStop(ob._totalframes);
}
function outFu(ob) {
}
function reFu(str) {
_root.life--;
_root.life_mc.gotoAndStop(6 - _root.life);
if (_root.life <= 0) {
_root.gotoAndStop("\u5931\u8D25\u753B\u9762");
}
i = 0;
while (i < bookArray.length) {
if (bookArray[i] == str) {
bookArray.splice(i, 1);
return(undefined);
}
i++;
}
}
function wayFu() {
if (bookArray.length > 0) {
var _local4 = -1;
var _local3 = 0;
while (_local3 < bookArray.length) {
if (bookArray[_local3].charAt(0) != "f") {
_local4 = _local3;
_local3 = bookArray.length;
}
_local3++;
}
if (_local4 == -1) {
return(undefined);
}
bookX = this[bookArray[_local4] + ""]._x + _root.gameFull_mc._x;
bookY = this[bookArray[_local4] + ""]._y + _root.gameFull_mc._y;
if ((((bookX > 50) && (bookX < 650)) && (bookY > 80)) && (bookY < 550)) {
_root.way_mc.gotoAndStop(2);
_root.way_mc.way_clew_mc.gotoAndStop(1);
} else {
_l4 = _root.way_mc._y - bookY;
_l5 = _root.way_mc._x - bookX;
_l2 = Math.atan2(_l4, _l5) * 57.29578;
_root.way_mc._rotation = _l2 + 180;
_root.way_mc.gotoAndStop(1);
if (bookArray[_local4] == "j11") {
_root.way_mc.way_clew_mc.gotoAndStop(2);
} else if (bookArray[_local4] == "j4") {
_root.way_mc.way_clew_mc.gotoAndStop(3);
} else if (bookArray[_local4] == "j7") {
_root.way_mc.way_clew_mc.gotoAndStop(4);
} else {
_root.way_mc.way_clew_mc.gotoAndStop(1);
}
}
} else {
_root.way_mc.way_clew_mc.gotoAndStop(1);
_root.way_mc.gotoAndStop(2);
}
}
function bit(obFull, ob, xx, yy, bitSpeed) {
rootaddx = (((((-ob._x) * _root._xscale) / 100) - obFull._x) + xx) / (bitSpeed / (obFull._xscale / 100));
rootaddy = (((((-ob._y) * _root._xscale) / 100) - obFull._y) + yy) / (bitSpeed / (obFull._xscale / 100));
obFull._x = obFull._x + rootaddx;
obFull._y = obFull._y + rootaddy;
if ((obFull._x > 110) && (rootaddx > 0)) {
obFull._x = 110;
rootaddx = 1;
}
if ((obFull._x < -270) && (rootaddx < 0)) {
obFull._x = -270;
rootaddx = -1;
}
if ((obFull._y > 140) && (rootaddy > 0)) {
obFull._y = 140;
rootaddy = 1;
}
if ((obFull._y < -80) && (rootaddy < 0)) {
obFull._y = -80;
rootaddy = -1;
}
if ((Math.abs(rootaddx) < 10) && (Math.abs(rootaddy) < 10)) {
ynbit = true;
}
}
function bitKey() {
if (ynbit == false) {
bit(_root.gameFull_mc, bit_mc, 350, 300, 2);
}
}
function btnLFu() {
bit_mc._x = 288;
bit_mc._y = 224;
ynbit = true;
}
function btnRFu() {
bit_mc._x = 565;
bit_mc._y = 307;
ynbit = true;
}
function groggeryBegin(groggeryBeginID) {
groggeryMan.yndie = false;
groggeryMan.gotoAndStop(groggeryMan._totalframes);
groggeryMan.brow_mc.gotoAndStop(groggeryMan.brow_mc._totalframes);
groggeryClew_mc.gotoAndStop(groggeryClew_mc._totalframes);
if (groggeryBeginID == 1) {
fenArray.push(_root.groggery_money);
}
}
function groggeryDup() {
if (groggeryClew_mc._currentframe != 1) {
groggeryMan.id = random(6) + 1;
groggeryMan.gotoAndStop(groggeryMan.id);
groggeryClew_mc.gotoAndStop(1);
bookArray.push("j11");
}
}
function groggeryKey() {
}
function groggeryWaiterFu() {
if (((groggeryWaiter_mc.zz_mc._currentframe == 2) && (groggeryWaiter_mc._visible == true)) && (groggeryWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
groggeryWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("j11");
return(undefined);
}
if ((random(10) == 1) && (groggeryClew_mc._currentframe == 1)) {
groggeryWaiter_mc.gotoAndStop(2);
groggeryMan.yndie = true;
deleteBookArrayFu("j11");
}
}
}
function billiardsBegin(billiardsBeginID) {
billiardsMan1.yndie = false;
billiardsMan1.gotoAndStop(billiardsMan1._totalframes);
billiardsMan1.brow_mc.gotoAndStop(billiardsMan1.brow_mc._totalframes);
billiardsMan2.yndie = false;
billiardsMan2.gotoAndStop(billiardsMan2._totalframes);
billiardsMan2.brow_mc.gotoAndStop(billiardsMan2.brow_mc._totalframes);
billiardsClew_mc.gotoAndStop(billiardsClew_mc._totalframes);
if (billiardsBeginID == 1) {
fenArray.push(_root.billiards_money);
}
}
function billiardsDup() {
if (billiardsClew_mc._currentframe != 1) {
billiardsMan1.id = 1;
billiardsMan1.gotoAndStop(billiardsMan1.id);
billiardsMan1.man.gotoAndStop("\u6253\u53F0\u7403");
billiardsMan1.brow_mc.gotoAndStop(billiardsMan1.brow_mc._totalframes);
billiardsMan2.id = 1;
billiardsMan2.gotoAndStop(billiardsMan2.id);
billiardsMan2.man.gotoAndStop("\u6253\u53F0\u7403");
billiardsMan2.brow_mc.gotoAndStop(billiardsMan2.brow_mc._totalframes);
billiardsClew_mc.gotoAndStop(billiardsClew_mc._totalframes);
}
}
function billiardsKey() {
if ((billiardsMan1._currentframe != billiardsMan1._totalframes) && (billiardsClew_mc._currentframe == billiardsClew_mc._totalframes)) {
if (random(200) == 1) {
billiardsMan1.man.gotoAndStop(1);
billiardsMan1.brow_mc.gotoAndStop(1);
billiardsMan2.man.gotoAndStop(1);
billiardsMan2.brow_mc.gotoAndStop(1);
billiardsClew_mc.gotoAndStop(1);
bookArray.push("j4");
}
}
}
function billiardsWaiterFu() {
if (((billiardsWaiter_mc.zz_mc._currentframe == 2) && (billiardsWaiter_mc._visible == true)) && (billiardsWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
billiardsWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("j4");
return(undefined);
}
if ((random(10) == 1) && (billiardsClew_mc._currentframe == 1)) {
billiardsWaiter_mc.gotoAndStop(2);
billiardsMan1.yndie = true;
billiardsMan2.yndie = true;
deleteBookArrayFu("j4");
trace("\u53F0\u7403\u670D\u52A1\u751F\u7684\u63A7\u5236");
}
}
}
function cinemaBegin(cinemaBeginID) {
cinemaMan.yndie = false;
cinemaMan.gotoAndStop(cinemaMan._totalframes);
cinemaMan.brow_mc.gotoAndStop(cinemaMan.brow_mc._totalframes);
cinemaClew_mc.gotoAndStop(cinemaClew_mc._totalframes);
if (cinemaBeginID == 1) {
if (threeFull_mc.cinema_room.movie_mc._currentframe == threeFull_mc.cinema_room.movie_mc._totalframes) {
threeFull_mc.cinema_room.movie_mc.gotoAndStop(1);
} else {
threeFull_mc.cinema_room.movie_mc.nextFrame();
}
fenArray.push(_root.cinema_money);
}
}
function cinemaDup() {
if (cinemaClew_mc._currentframe != 1) {
cinemaMan.id = random(6) + 1;
cinemaMan.gotoAndStop(cinemaMan.id);
cinemaClew_mc.gotoAndStop(1);
bookArray.push("j7");
}
}
function cinemaKey() {
}
function cinemaWaiterFu() {
if (((cinemaWaiter_mc.zz_mc._currentframe == 2) && (cinemaWaiter_mc._visible == true)) && (cinemaWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
cinemaWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("j7");
return(undefined);
}
if ((random(10) == 1) && (cinemaClew_mc._currentframe == 1)) {
cinemaWaiter_mc.gotoAndStop(2);
cinemaMan.yndie = true;
deleteBookArrayFu("j7");
}
}
}
function parkBegin(parkBeginID) {
if (parkBeginID == -1) {
var _local1 = carArray.length - 1;
while (_local1 >= 0) {
carArray[_local1].id = _local1;
carArray[_local1].man.id = _local1;
carArray[_local1].gotoAndStop(carArray[_local1]._totalframes);
carArray[_local1].clew.gotoAndStop(carArray[_local1].clew._totalframes);
carArray[_local1].man.gotoAndStop(carArray[_local1].man._totalframes);
_local1--;
}
}
if (parkBeginID != -1) {
carArray[parkBeginID].gotoAndStop(carArray[parkBeginID]._totalframes);
carArray[parkBeginID].clew.gotoAndStop(carArray[parkBeginID].clew._totalframes);
carArray[parkBeginID].man.gotoAndStop(carArray[parkBeginID].man._totalframes);
}
}
function parkDup() {
if (_root.isParkRoom == true) {
$id = random(3);
if (carArray[$id]._currentframe == carArray[$id]._totalframes) {
carArray[$id].gotoAndStop("\u5F00\u8F66\u6765" + (random(4) + 1));
carArray[$id].clew.gotoAndStop(1);
bookArray.push("s" + $id);
}
}
}
function parkKey() {
}
function dogBegin(dogBeginID) {
if (dogBeginID == 1) {
isJD = dogMan.id;
daisDup();
fenArray.push(_root.dog_money);
}
dogMan.yndie = false;
dogMan.gotoAndStop(dogMan._totalframes);
dogMan.brow_mc.gotoAndStop(dogMan.brow_mc._totalframes);
dogClew_mc.gotoAndStop(dogClew_mc._totalframes);
}
function dogDup() {
if ((dogClew_mc._currentframe != 1) && (_root.isDogRoom == true)) {
dogMan.id = random(6) + 1;
dogMan.gotoAndStop(dogMan.id);
dogClew_mc.gotoAndStop(1);
bookArray.push("w1");
}
}
function dogKey() {
}
function dogWaiterFu() {
if (((dogWaiter_mc.zz_mc._currentframe == 2) && (dogWaiter_mc._visible == true)) && (dogWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
dogWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("w1");
return(undefined);
}
if ((random(10) == 1) && (dogClew_mc._currentframe == 1)) {
dogWaiter_mc.gotoAndStop(2);
dogMan.yndie = true;
deleteBookArrayFu("w1");
isJD = dogMan.id;
daisDup();
}
}
}
function dustmanWaiterFu() {
if (((dustmanWaiter_mc._visible == true) && (random(10) == 1)) && (dustmanWaiter_mc._currentframe == dustmanWaiter_mc._totalframes)) {
trace("\u53EF\u4EE5\u6E05\u7406");
i = 0;
while (i < bookArray.length) {
if (bookArray[i].charAt(0) == "f") {
if (this["clean" + bedFu(bookArray[i], 2)]._currentframe == 1) {
trace("\u6E05\u7406");
_root.cleaningSound.start();
this["clean" + bedFu(bookArray[i], 2)].gotoAndStop(2);
dustmanWaiter_mc.gotoAndStop(bedFu(bookArray[i], 2));
bookArray.splice(i, 1);
}
}
i++;
}
}
}
function bellboyWaiterFu() {
if (((bellboyWaiter_mc._currentframe == 1) && (bellboyWaiter_mc.zz_mc._currentframe == 2)) && (bellboyWaiter_mc._visible == true)) {
if (random(_root.sleepAI) == 1) {
bookArray.push("s0");
bellboyWaiter_mc.zz_mc.gotoAndStop(1);
return(undefined);
}
if ((((random(5) == 1) && (bag_mc._currentframe != bag_mc._totalframes)) && (houseNo != -1)) && (inArray[0]._currentframe == inArray[0]._totalframes)) {
trace("\u642C\u884C\u674E=" + houseNo);
bellboyHouseNo = houseNo;
bellboyWaiter_mc.gotoAndStop(houseNo + 1);
bag_mc.gotoAndStop(bag_mc._totalframes);
deleteBookArrayFu("w0");
inArray[0].removeMovieClip();
inArray.splice(0, 1);
var _local2 = 0;
while (_local2 < inArray.length) {
inArray[_local2]._x = in_mc._x + (_local2 * 50);
_local2++;
}
}
}
}
function bellboyWaiterWinFu() {
fenArray.push(_root.bellboy_money);
trace("\u642C\u5B8C\u884C\u674E=" + bellboyHouseNo);
bellboyWaiter_mc.gotoAndStop(1);
this["sleep" + bellboyHouseNo].man.play();
this["sleep" + bellboyHouseNo].brow_mc.gotoAndStop(this["sleep" + bellboyHouseNo].brow_mc._totalframes);
if (bellboyHouseNo == houseNo) {
houseNo = -1;
}
bellboyHouseNo = -1;
}
function dieNewFu(ob) {
di = dieNewArray.length - 1;
while (di >= 0) {
if (dieNewArray[di] == ob) {
if (ob == carMan0) {
ob.beginFu(0);
} else if (ob == carMan1) {
ob.beginFu(1);
} else if (ob == carMan2) {
ob.beginFu(2);
} else {
ob.beginFu(-1);
}
reFu(ob.book);
}
di--;
}
}
function deleteBookArrayFu(str) {
i = 0;
while (i < bookArray.length) {
if (bookArray[i] == str) {
bookArray.splice(i, 1);
return(undefined);
}
i++;
}
}
function ticketBegin(ticketBeginID) {
ticketMan.yndie = false;
ticketMan.gotoAndStop(ticketMan._totalframes);
ticketMan.brow_mc.gotoAndStop(ticketMan.brow_mc._totalframes);
ticketClew_mc.gotoAndStop(ticketClew_mc._totalframes);
if (ticketBeginID == 1) {
fenArray.push(_root.ticket_money);
}
}
function ticketDup() {
if (ticketClew_mc._currentframe != 1) {
ticketMan.id = random(6) + 1;
ticketMan.gotoAndStop(ticketMan.id);
ticketClew_mc.gotoAndStop(1);
bookArray.push("z1");
}
}
function ticketWaiterFu() {
if (((ticketWaiter_mc.zz_mc._currentframe == 2) && (ticketWaiter_mc._visible == true)) && (ticketWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
ticketWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("z1");
return(undefined);
}
if ((random(50) == 1) && (ticketClew_mc._currentframe == 1)) {
ticketBegin(1);
}
ticketMan.yndie = true;
deleteBookArrayFu("z1");
}
}
function storeBegin(storeBeginID) {
storeMan.yndie = false;
storeMan.gotoAndStop(storeMan._totalframes);
storeMan.brow_mc.gotoAndStop(storeMan.brow_mc._totalframes);
storeClew_mc.gotoAndStop(storeClew_mc._totalframes);
if (storeBeginID == 1) {
fenArray.push(_root.store_money);
}
}
function storeDup() {
if (storeClew_mc._currentframe != 1) {
storeMan.id = random(6) + 1;
storeMan.gotoAndStop(storeMan.id);
storeClew_mc.gotoAndStop(1);
bookArray.push("z2");
}
}
function storeWaiterFu() {
if (((zz_mc._currentframe == 2) && (storeWaiter_mc._visible == true)) && (storeWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
zz_mc.gotoAndStop(1);
bookArray.push("z2");
return(undefined);
}
if ((random(50) == 1) && (storeClew_mc._currentframe == 1)) {
storeBegin(1);
storeMan.yndie = true;
deleteBookArrayFu("z2");
}
}
}
function gymBegin(gymBeginID) {
gymMan.yndie = false;
gymMan.gotoAndStop(gymMan._totalframes);
gymMan.brow_mc.gotoAndStop(gymMan.brow_mc._totalframes);
gymClew_mc.gotoAndStop(gymClew_mc._totalframes);
if (gymBeginID == 1) {
fenArray.push(_root.gym_money);
}
}
function gymDup() {
if (gymClew_mc._currentframe != 1) {
gymMan.id = random(6) + 1;
gymMan.gotoAndStop(gymMan.id);
gymClew_mc.gotoAndStop(1);
bookArray.push("j2");
}
}
function gymWaiterFu() {
if (((gymWaiter_mc.zz_mc._currentframe == 2) && (gymWaiter_mc._visible == true)) && (gymWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
gymWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("j2");
return(undefined);
}
if ((random(50) == 1) && (gymClew_mc._currentframe == 1)) {
gymBegin(1);
gymMan.yndie = true;
deleteBookArrayFu("j2");
}
}
}
function jeuBegin(jeuBeginID) {
jeuMan.yndie = false;
jeuMan.gotoAndStop(jeuMan._totalframes);
jeuMan.brow_mc.gotoAndStop(jeuMan.brow_mc._totalframes);
jeuClew_mc.gotoAndStop(jeuClew_mc._totalframes);
if (jeuBeginID == 1) {
fenArray.push(_root.jeu_money);
}
}
function jeuDup() {
if (jeuClew_mc._currentframe != 1) {
jeuMan.id = random(6) + 1;
jeuMan.gotoAndStop(jeuMan.id);
jeuClew_mc.gotoAndStop(1);
bookArray.push("u2");
}
}
function jeuWaiterFu() {
if (((jeuWaiter_mc.zz_mc._currentframe == 2) && (jeuWaiter_mc._visible == true)) && (jeuWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
jeuWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("u2");
return(undefined);
}
if ((random(50) == 1) && (jeuClew_mc._currentframe == 1)) {
jeuBegin(1);
jeuMan.yndie = true;
deleteBookArrayFu("u2");
}
}
}
function cafeBegin(cafeBeginID) {
cafeMan.yndie = false;
cafeMan.gotoAndStop(cafeMan._totalframes);
cafeMan.brow_mc.gotoAndStop(cafeMan.brow_mc._totalframes);
cafeClew_mc.gotoAndStop(cafeClew_mc._totalframes);
if (cafeBeginID == 1) {
fenArray.push(_root.cafe_money);
}
}
function cafeDup() {
if (cafeClew_mc._currentframe != 1) {
cafeMan.id = random(6) + 1;
cafeMan.gotoAndStop(cafeMan.id);
cafeClew_mc.gotoAndStop(1);
bookArray.push("k2");
}
}
function cafeWaiterFu() {
if (((cafeWaiter_mc.zz_mc._currentframe == 2) && (cafeWaiter_mc._visible == true)) && (cafeWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
cafeWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("k2");
return(undefined);
}
if ((random(50) == 1) && (cafeClew_mc._currentframe == 1)) {
cafeBegin(1);
cafeMan.yndie = true;
deleteBookArrayFu("k2");
}
}
}
function washBegin(washBeginID) {
washMan.yndie = false;
washMan.gotoAndStop(washMan._totalframes);
washMan.brow_mc.gotoAndStop(washMan.brow_mc._totalframes);
washClew_mc.gotoAndStop(washClew_mc._totalframes);
if (washBeginID == 1) {
fenArray.push(_root.wash_money);
}
}
function washDup() {
if (washClew_mc._currentframe != 1) {
washMan.id = random(6) + 1;
washMan.gotoAndStop(washMan.id);
washClew_mc.gotoAndStop(1);
bookArray.push("c4");
}
}
function washWaiterFu() {
if (((washWaiter_mc.zz_mc._currentframe == 2) && (washWaiter_mc._visible == true)) && (washWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
washWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("c4");
return(undefined);
}
if ((random(50) == 1) && (washClew_mc._currentframe == 1)) {
washBegin(1);
washMan.yndie = true;
deleteBookArrayFu("c4");
}
}
}
function frontWaiterFu() {
if (((frontWaiter_mc.zz_mc._currentframe == 2) && (frontWaiter_mc._visible == true)) && (frontWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
frontWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("t1");
return(undefined);
}
if (random(80) == 1) {
var _local2 = 0;
while (_local2 < bookArray.length) {
if (bookArray[_local2] == "t1") {
frontWaiter_mc.gotoAndPlay(2);
trace("frontWaiter_mc=" + frontWaiter_mc._currentframe);
}
_local2++;
}
}
}
}
function doormanWaiterFu() {
if (((doormanWaiter_mc.zz_mc._currentframe == 2) && (doormanWaiter_mc._visible == true)) && (doormanWaiter_mc._currentframe == 1)) {
if ((random(_root.sleepAI) == 1) && (_root.say_mc._currentframe == _root.say_mc._totalframes)) {
doormanWaiter_mc.zz_mc.gotoAndStop(1);
bookArray.push("s2");
return(undefined);
}
if (random(50) == 1) {
var _local2 = 0;
while (_local2 < bookArray.length) {
if ((carClew0_mc._currentframe == 1) && (bookArray[_local2] == "s0")) {
trace("\u95E8\u7AE5\u670D\u52A1\u5458" + bookArray[_local2]);
doormanWaiter_mc.gotoAndPlay("s0");
return(undefined);
}
if ((carClew1_mc._currentframe == 1) && (bookArray[_local2] == "s1")) {
trace("\u95E8\u7AE5\u670D\u52A1\u5458" + bookArray[_local2]);
doormanWaiter_mc.gotoAndPlay("s1");
return(undefined);
}
if ((carClew2_mc._currentframe == 1) && (bookArray[_local2] == "s2")) {
trace("\u95E8\u7AE5\u670D\u52A1\u5458" + bookArray[_local2]);
doormanWaiter_mc.gotoAndPlay("s2");
return(undefined);
}
_local2++;
}
}
}
}
function quarrelBegin(quarrelBeginID) {
trace("----------------------------------\u5435\u67B6\u4E2D");
if ((quarrelBeginID == 0) || (quarrelBeginID == -1)) {
quarrelMan0.gotoAndStop(2);
quarrelMan0.timeNum = 500;
quarrelMan.yndie = false;
}
if ((quarrelBeginID == 1) || (quarrelBeginID == -1)) {
quarrelMan1.gotoAndStop(2);
quarrelMan1.timeNum = 500;
quarrelMan.yndie = false;
}
if (quarrelBeginID != -1) {
}
}
function quarrelDup() {
if ((_root.helpID != -1) && (ynsay9 == false)) {
ynsay9 = true;
var _local2 = 1;
} else {
var _local2 = random(2);
}
if (quarrelArray[_local2]._currentframe != 1) {
quarrelArray[_local2].gotoAndStop(1);
if (_local2 == 0) {
bookArray.push("z0");
} else {
bookArray.push("c2");
}
}
}
function quarrelKey() {
var _local2 = 0;
while (_local2 < quarrelArray.length) {
if ((quarrelArray[_local2]._currentframe == 1) && (quarrelArray[_local2].man_mc._currentframe <= 82)) {
if (_root.helpID == -1) {
quarrelArray[_local2].timeNum--;
}
if (quarrelArray[_local2].timeNum <= 0) {
quarrelArray[_local2].gotoAndStop(2);
quarrelArray[_local2].timeNum = 800;
if (_local2 == 0) {
reFu("z0");
}
if (_local2 == 1) {
reFu("c2");
}
}
}
_local2++;
}
}
function quarrelWaiterFu() {
if ((_root.isQuarrelWaiter == true) && (random(50) == 1)) {
var _local2 = 0;
while (_local2 < quarrelArray.length) {
if ((quarrelArray[_local2]._currentframe == 1) && (quarrelArray[_local2].man_mc._currentframe == 82)) {
quarrelArray[_local2].man_mc.play();
if (_local2 == 0) {
deleteBookArrayFu("z0");
}
if (_local2 == 1) {
deleteBookArrayFu("c2");
}
}
_local2++;
}
}
}
function fireBegin() {
var _local2 = 0;
while (_local2 <= 3) {
this["fire" + _local2].id = _local2;
this["fire" + _local2].timeID = 0;
this["fire" + _local2].gotoAndStop(this["fire" + _local2]._totalframes);
fireArray.push(this["fire" + _local2]);
_local2++;
}
}
function fireDup() {
if ((_root.helpID != -1) && (ynsay5 == false)) {
ynsay5 = true;
var _local2 = 2;
} else {
var _local2 = random(fireArray.length);
}
if ((_local2 == 1) && (dogRoomFull_mc.floor3_mc._currentframe == 1)) {
return(undefined);
}
if (fireArray[_local2]._currentframe == fireArray[_local2]._totalframes) {
trace("--------------\u7740\u706B2" + fireArray[_local2]);
fireArray[_local2].timeID = 0;
fireArray[_local2].gotoAndStop(1);
if (fireArray[_local2].id == 0) {
bookArray.push("f12");
} else if (fireArray[_local2].id == 1) {
bookArray.push("j9");
} else if (fireArray[_local2].id == 2) {
bookArray.push("c1");
} else if (fireArray[_local2].id == 3) {
bookArray.push("u1");
}
}
}
function fireKey() {
isBell = false;
var _local4 = 0;
while (_local4 < fireArray.length) {
var _local3 = this["fire" + _local4];
if (_local3._currentframe != _local3._totalframes) {
_root.bell_mc.gotoAndStop(1);
trace("\u949F=" + _root.bell_mc);
isBell = true;
if (_root.helpID == -1) {
_local3.timeID++;
}
if (_local3.timeID < 300) {
_local3.gotoAndStop(1);
} else if (_local3.timeID < 600) {
_local3.gotoAndStop(2);
} else if (_local3.timeID < 610) {
_local3.gotoAndStop(3);
} else {
_local3.gotoAndStop(3);
_root.overID = 2;
_root.gotoAndStop("\u5931\u8D25\u753B\u9762");
}
}
_local4++;
}
if (isBell == false) {
_root.bell_mc.gotoAndStop(2);
}
}
function fireOver() {
this["fire" + _root.fireID].gotoAndStop(this["fire" + _root.fireID]._totalframes);
}
function waterBegin(waterBeginID) {
waterMan.yndie = false;
waterMan.gotoAndStop(waterMan._totalframes);
waterClew_mc.gotoAndStop(waterClew_mc._totalframes);
if (waterBeginID == 1) {
fenArray.push(_root.water_money);
}
}
function waterDup() {
if (waterClew_mc._currentframe != 1) {
waterMan.id = random(6) + 1;
waterMan.gotoAndStop(waterMan.id);
waterClew_mc.gotoAndStop(1);
bookArray.push("u6");
}
}
function waterWaiterFu() {
if ((((waterWaiter_mc._visible == true) && (random(50) == 1)) && (waterWaiter_mc._currentframe == 1)) && (waterClew_mc._currentframe == 1)) {
waterWaiter_mc.gotoAndPlay(2);
waterMan.yndie = true;
deleteBookArrayFu("u6");
}
}
function taxiBegin(taxiBeginID) {
taxiMan.yndie = false;
taxiMan.gotoAndStop(taxiMan._totalframes);
taxiMan.brow_mc.gotoAndStop(taxiMan.brow_mc._totalframes);
taxiClew_mc.gotoAndStop(taxiClew_mc._totalframes);
if (taxiBeginID == 1) {
fenArray.push(_root.taxi_money);
}
}
function taxiDup() {
if (((taxi_mc._currentframe == taxi_mc._totalframes) && (taxiMan._currentframe == taxiMan._totalframes)) && (taxiClew_mc._currentframe != 1)) {
taxiMan.id = random(6) + 1;
taxiMan.gotoAndStop(taxiMan.id);
taxiClew_mc.gotoAndStop(1);
bookArray.push("t2");
_root.phoneSound.start();
}
}
function taxiAction() {
taxiClew_mc.gotoAndStop(2);
taxi_mc.gotoAndPlay(1);
}
stop();
ynaction = false;
ynplayerKey = false;
goto = z1;
into = z1;
player_mc._x = goto._x;
player_mc._y = goto._y;
next_mc = null;
gotoArray = new Array();
yngotoArray = false;
isUndo = false;
court_mc._visible = _root.yncourt;
court_mc_on.yy = court_mc_on._y;
if (_root.yncourt == false) {
court_mc_on._y = -1000;
}
natatorium_mc._visible = _root.ynnatatorium;
natatorium_mc_on.yy = natatorium_mc_on._y;
if (_root.ynnatatorium == false) {
natatorium_mc_on._y = -1000;
}
lift_mc._visible = _root.ynlift;
tt_mc._visible = _root.ynlift;
chef1_mc.chefSon_mc.gotoAndStop(1);
chef2_mc.chefSon_mc.gotoAndStop(2);
chef3_mc.chefSon_mc.gotoAndStop(3);
if (_root.chefLv1 == 0) {
chef1_mc._visible = false;
}
if (_root.chefLv2 == 0) {
chef2_mc._visible = false;
}
if (_root.chefLv3 == 0) {
chef3_mc._visible = false;
}
ynsay5 = false;
ynsay6 = false;
ynsay7 = false;
ynsay8 = false;
ynsay9 = false;
ynsay10 = false;
ynbook = false;
bookArray = new Array();
in_mc.gotoAndStop(in_mc._totalframes);
inArray = new Array();
inNum = 0;
houseNo = -1;
sleepArray = new Array();
var i = 1;
while (i <= 6) {
this["clean" + i].swapDepths(this["clean" + i]._y);
this["clean" + i].gotoAndStop(2);
this["sleep" + i].gotoAndStop(this["sleep" + i]._totalframes);
this["sleep" + i].yndie = false;
this["room" + i]._visible = false;
this["sleep" + i].ynbullpen = false;
if (i <= _root.setSleepNum) {
this["room" + i]._visible = true;
sleepArray.push(this["sleep" + i]);
} else {
this[("sleep" + i) + "_on"].yy = this[("sleep" + i) + "_on"]._y;
this[("sleep" + i) + "_on"]._y = -1000;
}
i++;
}
this.clean7.swapDepths(this.clean7._y);
this.clean7.gotoAndStop(2);
this.sleep7.gotoAndStop(this.sleep7._totalframes);
this.sleep7.yndie = false;
this.room7._visible = false;
this.sleep7.ynbullpen = true;
if (_root.bullpen_lv != 0) {
this["room" + i]._visible = true;
sleepArray.push(this["sleep" + i]);
} else {
this.sleep7_on.yy = this.sleep7_on._y;
this.sleep7_on._y = -1000;
}
outArray = new Array();
out_mc.gotoAndStop(out_mc._totalframes);
daisNum = 7 + (_root.setDaisNum * 2);
daisBegin(-1);
daisTo = 0;
daisGoArray = new Array();
fenArray = new Array();
_root.ynfen = false;
ballBegin();
if (_root.yncourt == false) {
ballWaiter_mc._visible = false;
} else {
ballWaiter_mc._visible = _root.isBallWaiter;
}
ballWaiter_mc.zz_mc.gotoAndStop(2);
if (_root.isBallWaiter == true) {
ranBall = 300;
} else {
ranBall = 200;
}
natatorBegin();
if (_root.ynnatatorium == false) {
natatorWaiter_mc._visible = false;
} else {
natatorWaiter_mc._visible = _root.isNatatorWaiter;
}
backSpeed = 5;
ynbit = true;
dieNewArray = new Array();
groggeryMan.beginFu = groggeryBegin;
groggeryMan.book = "j11";
dieNewArray.push(groggeryMan);
groggeryBegin(-1);
if (_root.isGroggery == false) {
threeFull_mc.groggery_room._visible = false;
groggeryWaiter_mc._visible = false;
groggery_on.yy = groggery_on._y;
groggery_on._y = -9999;
} else {
groggeryWaiter_mc._visible = _root.isGroggeryWaiter;
setFloor(1);
}
groggeryWaiter_mc.zz_mc.gotoAndStop(2);
billiardsMan1.beginFu = billiardsBegin;
billiardsMan1.book = "j4";
dieNewArray.push(billiardsMan1);
billiardsBegin(-1);
if (_root.isBilliards == false) {
threeFull_mc.billiards_room._visible = false;
billiardsWaiter_mc._visible = false;
billiards_on.yy = billiards_on._y;
billiards_on._y = -9999;
} else {
billiardsWaiter_mc._visible = _root.isBilliardsWaiter;
setFloor(1);
}
billiardsWaiter_mc.zz_mc.gotoAndStop(2);
cinemaMan.beginFu = cinemaBegin;
cinemaMan.book = "j7";
dieNewArray.push(cinemaMan);
cinemaBegin(-1);
if (_root.isCinema == false) {
threeFull_mc.cinema_room._visible = false;
cinemaWaiter_mc._visible = false;
cinema_on.yy = cinema_on._y;
cinema_on._y = -9999;
} else {
cinemaWaiter_mc._visible = _root.isCinemaWaiter;
setFloor(1);
}
cinemaWaiter_mc.zz_mc.gotoAndStop(2);
parkRoom_mc._visible = _root.isParkRoom;
carArray = new Array();
carArray.push(car0);
carArray.push(car1);
carArray.push(car2);
car0.clew = carClew0_mc;
car1.clew = carClew1_mc;
car2.clew = carClew2_mc;
car0.man = carMan0;
car0.man.yndie = false;
car1.man = carMan1;
car1.man.yndie = false;
car2.man = carMan2;
car2.man.yndie = false;
_root.car_money = _root.park_money;
carMan0.beginFu = parkBegin;
carMan0.book = "s0";
carMan1.beginFu = parkBegin;
carMan1.book = "s1";
carMan2.beginFu = parkBegin;
carMan2.book = "s2";
dieNewArray.push(carMan0);
dieNewArray.push(carMan1);
dieNewArray.push(carMan2);
parkBegin(-1);
dogRoom_mc._visible = _root.isDogRoom;
dogMan.beginFu = dogBegin;
dieNewArray.push(dogMan);
dogBegin(-1);
dogWaiter_mc._visible = _root.isDogWaiter;
dogWaiter_mc.zz_mc.gotoAndStop(2);
dustmanWaiter_mc._visible = _root.isDustmanWaiter;
dustmanWaiter_mc.gotoAndStop(dustmanWaiter_mc._totalframes);
fi_mc.fiddleWaiter_mc._visible = _root.isFiddleWaiter;
fi_mc.pianoWaiter_mc._visible = _root.isPianoWaiter;
draw0_mc._visible = _root.isDraw0;
draw1_mc._visible = _root.isDraw1;
draw2_mc._visible = _root.isDraw2;
fi_mc.potted0_mc._visible = _root.isPotted0;
fi_mc.potted1_mc._visible = _root.isPotted1;
potted2_mc._visible = _root.isPotted2;
bellboyWaiter_mc._visible = _root.isDellboyWaiter;
bellboyHouseNo = -1;
bellboyWaiter_mc.zz_mc.gotoAndStop(2);
isJD = -1;
ticketBegin(-1);
if (_root.isTicket == false) {
ticketRoom_mc._visible = false;
ticketWaiter_mc._visible = false;
ticket_on.yy = ticket_on._y;
ticket_on._y = -9999;
} else {
ticketWaiter_mc._visible = _root.isTicketWaiter;
}
ticketWaiter_mc.zz_mc.gotoAndStop(2);
storeBegin(-1);
if (_root.isStore == false) {
storeRoom_mc._visible = false;
sz_mc._visible = false;
storeWaiter_mc._visible = false;
store_on.yy = store_on._y;
store_on._y = -9999;
} else {
storeWaiter_mc._visible = _root.isStoreWaiter;
}
zz_mc.gotoAndStop(2);
gymBegin(-1);
if (_root.isGym == false) {
threeFull_mc.gymRoom_mc._visible = false;
gymWaiter_mc._visible = false;
gym_on.yy = gym_on._y;
gym_on._y = -9999;
} else {
gymWaiter_mc._visible = _root.isGymWaiter;
setFloor(1);
}
gymWaiter_mc.zz_mc.gotoAndStop(2);
jeuBegin(-1);
if (_root.isJeu == false) {
jeuRoom_mc._visible = false;
jeuWaiter_mc._visible = false;
jeu_on.yy = jeu_on._y;
jeu_on._y = -9999;
} else {
jeuWaiter_mc._visible = _root.isJeuWaiter;
}
jeuWaiter_mc.zz_mc.gotoAndStop(2);
cafeBegin(-1);
if (_root.isCafe == false) {
threeFull_mc.cafeRoom_mc._visible = false;
cafeWaiter_mc._visible = false;
cafe_on.yy = cafe_on._y;
cafe_on._y = -9999;
} else {
cafeWaiter_mc._visible = _root.isCafeWaiter;
setFloor(1);
}
cafeWaiter_mc.zz_mc.gotoAndStop(2);
washBegin(-1);
if (_root.washLv == 0) {
washRoom_mc._visible = false;
washRoom_mc.washRoom.gotoAndStop(_root.washLv);
washWaiter_mc._visible = false;
wash_on.yy = wash_on._y;
wash_on._y = -9999;
} else {
washRoom_mc.washRoom.gotoAndStop(_root.washLv);
washWaiter_mc._visible = _root.isWashWaiter;
}
washWaiter_mc.zz_mc.gotoAndStop(2);
chefRoom_mc.chefRoom.gotoAndStop(_root.chefRoomLv);
if (_root.isFrontWaiter == true) {
frontWaiter_mc._visible = true;
} else {
frontWaiter_mc._visible = false;
}
frontWaiter_mc.zz_mc.gotoAndStop(2);
if (_root.isDoormanWaiter == true) {
doormanWaiter_mc._visible = true;
} else {
doormanWaiter_mc._visible = false;
}
doormanWaiter_mc.zz_mc.gotoAndStop(2);
quarrelArray = new Array();
quarrelArray.push(quarrelMan0);
quarrelArray.push(quarrelMan1);
quarrelBegin(-1);
_root.fireID = -1;
fireArray = new Array();
fireBegin();
_root.overID = 1;
waterBegin(-1);
if (_root.isJeu == false) {
waterWaiter_mc._visible = false;
} else {
waterWaiter_mc._visible = _root.isWaterWaiter;
}
taxi_mc.gotoAndStop(taxi_mc._totalframes);
taxiBegin(-1);
function setVisible() {
var _local4 = 0;
while (_local4 < _root.visibleArray.length) {
switch (_root.visibleArray[_local4]) {
case 1 :
court_mc._visible = _root.yncourt;
court_mc.gotoAndPlay(2);
court_mc_on._y = court_mc_on.yy;
break;
case 2 :
natatorium_mc._visible = _root.ynnatatorium;
natatorium_mc_on._y = natatorium_mc_on.yy;
natatorium_mc.gotoAndPlay(2);
break;
case 3 :
var _local3 = 1;
while (_local3 <= _root.setSleepNum) {
if (this["room" + _local3]._visible == false) {
this[("sleep" + _local3) + "_on"]._y = this[("sleep" + _local3) + "_on"].yy;
this["room" + _local3]._visible = true;
this["room" + _local3].gotoAndPlay(2);
sleepArray.push(this["sleep" + _local3]);
}
_local3++;
}
break;
case 4 :
_root.table_lv = int(_root.setDaisNum / 2) + 1;
daisNum = 7 + (_root.setDaisNum * 2);
daisBegin(1);
break;
case 5 :
this.room7._visible = true;
sleepArray.push(this.sleep7);
this.room7.gotoAndPlay(2);
this.sleep7_on._y = this.sleep7_on.yy;
break;
case 6 :
lift_mc._visible = _root.ynlift;
tt_mc._visible = _root.ynlift;
lift_mc.gotoAndPlay(15);
setArray();
break;
case 7 :
if (_root.chefLv1 > 0) {
chef1_mc._visible = true;
}
if (_root.chefLv2 > 0) {
chef2_mc._visible = true;
}
if (_root.chefLv3 > 0) {
chef3_mc._visible = true;
}
break;
case 8 :
break;
case 9 :
threeFull_mc.groggery_room._visible = true;
groggery_on._y = groggery_on.yy;
threeFull_mc.groggery_room.gotoAndPlay(2);
setFloor(1);
break;
case 10 :
threeFull_mc.billiards_room._visible = true;
threeFull_mc.billiards_room.gotoAndPlay(2);
billiards_on._y = billiards_on.yy;
setFloor(1);
break;
case 11 :
threeFull_mc.cinema_room._visible = true;
threeFull_mc.cinema_room.gotoAndPlay(2);
cinema_on._y = cinema_on.yy;
setFloor(1);
break;
case 12 :
if (_root.isGroggery == false) {
} else {
groggeryWaiter_mc._visible = _root.isGroggeryWaiter;
}
break;
case 13 :
if (_root.isBilliards == false) {
} else {
billiardsWaiter_mc._visible = _root.isBilliardsWaiter;
}
break;
case 14 :
if (_root.isCinema == false) {
} else {
cinemaWaiter_mc._visible = _root.isCinemaWaiter;
}
break;
case 15 :
dogWaiter_mc._visible = _root.isDogWaiter;
break;
case 16 :
bellboyWaiter_mc._visible = _root.isDellboyWaiter;
break;
case 17 :
if (_root.ynnatatorium == false) {
} else {
natatorWaiter_mc._visible = _root.isNatatorWaiter;
}
break;
case 18 :
if (_root.yncourt == false) {
} else {
ballWaiter_mc._visible = _root.isBallWaiter;
}
break;
case 19 :
dustmanWaiter_mc._visible = _root.isDustmanWaiter;
break;
case 20 :
dogRoom_mc._visible = _root.isDogRoom;
dogRoom_mc.gotoAndPlay(2);
break;
case 21 :
parkRoom_mc._visible = _root.isParkRoom;
parkRoom_mc.gotoAndPlay(2);
break;
case 22 :
fi_mc.fiddleWaiter_mc._visible = _root.isFiddleWaiter;
break;
case 23 :
fi_mc.pianoWaiter_mc._visible = _root.isPianoWaiter;
break;
case 24 :
_root.isDraw0 = true;
draw0_mc._visible = _root.isDraw0;
break;
case 25 :
draw1_mc._visible = _root.isDraw1;
break;
case 26 :
draw2_mc._visible = _root.isDraw2;
break;
case 27 :
fi_mc.potted0_mc._visible = _root.isPotted0;
break;
case 28 :
fi_mc.potted1_mc._visible = _root.isPotted1;
break;
case 29 :
potted2_mc._visible = _root.isPotted2;
break;
case 30 :
if (_root.isTicket == true) {
ticketRoom_mc._visible = true;
ticket_on._y = ticket_on.yy;
ticketRoom_mc.gotoAndPlay(2);
}
break;
case 31 :
if (_root.isStore == true) {
storeRoom_mc._visible = true;
sz_mc._visible = true;
store_on._y = store_on.yy;
storeRoom_mc.gotoAndPlay(2);
}
break;
case 32 :
if (_root.isGym == true) {
threeFull_mc.gymRoom_mc._visible = true;
gym_on._y = gym_on.yy;
threeFull_mc.gymRoom_mc.gotoAndPlay(2);
setFloor(1);
}
break;
case 33 :
if (_root.isJeu == true) {
jeuRoom_mc._visible = true;
jeu_on._y = jeu_on.yy;
jeuRoom_mc.gotoAndPlay(2);
jeuWaiter_mc._visible = _root.isJeuWaiter;
waterWaiter_mc._visible = _root.isWaterWaiter;
}
break;
case 34 :
if (_root.isCafe == true) {
threeFull_mc.cafeRoom_mc._visible = true;
cafe_on._y = cafe_on.yy;
threeFull_mc.cafeRoom_mc.gotoAndPlay(2);
setFloor(1);
cafeWaiter_mc._visible = _root.isCafeWaiter;
}
break;
case 35 :
washRoom_mc._visible = true;
washRoom_mc.washRoom.gotoAndStop(_root.washLv);
wash_on._y = wash_on.yy;
washRoom_mc.gotoAndPlay(2);
break;
case 36 :
if (_root.isTicketWaiter == true) {
ticketWaiter_mc._visible = true;
}
break;
case 37 :
if (_root.isStoreWaiter == true) {
storeWaiter_mc._visible = true;
}
break;
case 38 :
if (_root.isGymWaiter == true) {
gymWaiter_mc._visible = true;
}
break;
case 39 :
if (_root.isWashWaiter == true) {
washWaiter_mc._visible = true;
}
break;
case 40 :
chefRoom_mc.chefRoom.gotoAndStop(_root.chefRoomLv);
chefRoom_mc.gotoAndPlay(2);
break;
case 41 :
frontWaiter_mc._visible = true;
break;
case 42 :
break;
case 43 :
doormanWaiter_mc._visible = _root.isDoormanWaiter;
break;
case 44 :
if (_root.chefLv1 > 0) {
chef1_mc._visible = true;
}
if (_root.chefLv2 > 0) {
chef2_mc._visible = true;
}
if (_root.chefLv3 > 0) {
chef3_mc._visible = true;
}
break;
case 45 :
if (_root.chefLv1 > 0) {
chef1_mc._visible = true;
}
if (_root.chefLv2 > 0) {
chef2_mc._visible = true;
}
if (_root.chefLv3 > 0) {
chef3_mc._visible = true;
}
break;
case 46 :
if ((_root.isJeuWaiter == true) && (_root.isJeu == true)) {
jeuWaiter_mc._visible = _root.isJeuWaiter;
}
break;
case 47 :
if ((_root.isCafeWaiter == true) && (_root.isCafe == true)) {
cafeWaiter_mc._visible = _root.isCafeWaiter;
}
break;
case 48 :
if (!((_root.isWaterWaiter == true) && (_root.isJeu == true))) {
break;
}
waterWaiter_mc._visible = _root.isWaterWaiter;
}
_local4++;
}
_root.visibleArray.splice(0, _root.visibleArray.length);
}
setVisible();
function setFrontWaiter() {
ob = t1;
if (ob.actionArray[0] == 1) {
houseNo = retSleepFu();
if (houseNo != -1) {
trace("\u51FA\u623F\u95F4\u53F7");
ob.actionArray.splice(0, 1);
clew1_mc.gotoAndStop(1);
deleteBookArrayFu("t1");
if (houseNo == 7) {
expensiveroomSound.start();
}
// unexpected jump
}
if (ob.actionArray[1] == 2) {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(8);
}
trace("check out\u6536\u94B1");
ob.actionArray.splice(1, 1);
trace(outArray[0].ynbullpen);
if (outArray[0].ynbullpen == false) {
fenArray.push(_root.housing_money);
} else {
fenArray.push(_root.bullpen_moneyFull);
}
outArray[0].removeMovieClip();
outArray.splice(0, 1);
var _local2 = 0;
while (_local2 < outArray.length) {
outArray[_local2]._x = out_mc._x + (_local2 * 50);
_local2++;
}
deleteBookArrayFu("t1");
return(undefined);
}
_root.msg_mc.gotoAndPlay(2);
return(undefined);
}
if (ob.actionArray[0] == 2) {
if (_root.helpID != -1) {
_root.say_mc.gotoAndStop(8);
}
trace("check out\u6536\u94B1");
ob.actionArray.splice(0, 1);
trace(outArray[0].ynbullpen);
if (outArray[0].ynbullpen == false) {
fenArray.push(_root.housing_money);
} else {
fenArray.push(_root.bullpen_moneyFull);
}
outArray[0].removeMovieClip();
outArray.splice(0, 1);
var _local2 = 0;
while (_local2 < outArray.length) {
outArray[_local2]._x = out_mc._x + (_local2 * 50);
_local2++;
}
deleteBookArrayFu("t1");
}
return(undefined);
}
function setDoormanWaiter(obname) {
if (obname == "s0") {
isJD = carArray[0].man._currentframe;
daisDup();
carArray[0].gotoAndStop("\u8FDB\u8F66" + carArray[0]._currentframe);
carArray[0].clew.gotoAndStop(2);
deleteBookArrayFu("s0");
fenArray.push(_root.car_money);
return(undefined);
}
if (obname == "s1") {
isJD = carArray[1].man._currentframe;
daisDup();
carArray[1].gotoAndStop("\u8FDB\u8F66" + carArray[1]._currentframe);
carArray[1].clew.gotoAndStop(2);
deleteBookArrayFu("s1");
fenArray.push(_root.car_money);
return(undefined);
}
if (obname == "s2") {
isJD = carArray[2].man._currentframe;
daisDup();
carArray[2].gotoAndStop("\u8FDB\u8F66" + carArray[2]._currentframe);
carArray[2].clew.gotoAndStop(2);
deleteBookArrayFu("s2");
fenArray.push(_root.car_money);
return(undefined);
}
}
Instance of Symbol 297 MovieClip in Symbol 1464 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 339 MovieClip "bag_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(this._totalframes);
}
Instance of Symbol 362 MovieClip "fi_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 422 MovieClip "storeWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.z2);
}
Instance of Symbol 441 MovieClip "ticketWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.z1);
}
Instance of Symbol 446 MovieClip "washWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.c4);
}
Instance of Symbol 524 MovieClip "sleep7_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f15);
}
Instance of Symbol 563 MovieClip "lift_mc" in Symbol 1464 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 567 MovieClip "gym_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j2);
}
Instance of Symbol 569 MovieClip in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.t1);
}
Instance of Symbol 571 MovieClip "sleep1_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f5);
}
Instance of Symbol 571 MovieClip "sleep2_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f6);
}
Instance of Symbol 571 MovieClip "sleep3_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f7);
}
Instance of Symbol 571 MovieClip "sleep4_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f8);
}
Instance of Symbol 571 MovieClip "sleep5_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f9);
}
Instance of Symbol 571 MovieClip "sleep6_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f10);
}
Instance of Symbol 573 MovieClip "court_mc_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.u0);
}
Instance of Symbol 575 MovieClip "natatorium_mc_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.u5);
}
Instance of Symbol 577 MovieClip "cinema_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j7);
}
Instance of Symbol 577 MovieClip "groggery_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j11);
}
Instance of Symbol 579 MovieClip "billiards_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j4);
}
Instance of Symbol 577 MovieClip in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.s0);
}
Instance of Symbol 577 MovieClip in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.s1);
}
Instance of Symbol 577 MovieClip in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.s2);
}
Instance of Symbol 581 MovieClip in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.t2);
}
Instance of Symbol 583 MovieClip "store_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.z2);
}
Instance of Symbol 585 MovieClip "wash_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.c4);
}
Instance of Symbol 587 MovieClip "cafe_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.k2);
}
Instance of Symbol 573 MovieClip "jeu_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.u2);
}
Instance of Symbol 589 MovieClip "ticket_on" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.z1);
}
Instance of Symbol 593 MovieClip "jeuWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.u2);
}
Instance of Symbol 891 MovieClip "groggeryWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j11);
}
Instance of Symbol 910 MovieClip "cinemaWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j7);
}
Instance of Symbol 916 MovieClip "dogMan" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.w1);
}
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 928 MovieClip "dogWaiter_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
on (release) {
_parent.key(_parent.w1);
}
Instance of Symbol 974 MovieClip "bellboyWaiter_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y + 88888);
}
on (release) {
_parent.key(_parent.s0);
}
Instance of Symbol 1058 MovieClip "daisFull_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 732 MovieClip "sleep1" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 732 MovieClip "sleep2" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 732 MovieClip "sleep3" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 732 MovieClip "sleep4" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 732 MovieClip "sleep5" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 732 MovieClip "sleep6" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1067 MovieClip "ticketMan" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1068 MovieClip "storeMan" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1067 MovieClip "washMan" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1067 MovieClip "gymMan" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1068 MovieClip "jeuMan" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1071 MovieClip "cafeWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.k2);
}
Instance of Symbol 1075 MovieClip "doormanWaiter_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
on (release) {
_parent.key(_parent.s2);
}
Instance of Symbol 1078 MovieClip "frontWaiter_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
on (release) {
_parent.key(_parent.t1);
}
Instance of Symbol 1107 MovieClip "quarrelMan1" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
on (release) {
_root.gameFull_mc.key(_root.gameFull_mc.c2);
}
Instance of Symbol 1107 MovieClip "quarrelMan0" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
on (release) {
_root.gameFull_mc.key(_root.gameFull_mc.z0);
}
Instance of Symbol 1112 MovieClip "clew1_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
this.gotoAndStop(this._totalframes);
}
Instance of Symbol 1121 MovieClip "waterMan" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.u6);
}
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1144 MovieClip "chef1_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1144 MovieClip "chef2_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1144 MovieClip "chef3_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1149 MovieClip "gymWaiter_mc" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j2);
}
Instance of Symbol 1153 MovieClip "ballWaiter_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
on (release) {
_parent.key(_parent.u0);
}
Instance of Symbol 1068 MovieClip "taxiMan" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1179 MovieClip "dogClew_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1165 MovieClip "clean6" in Symbol 1464 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1163 MovieClip "t1_num" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1193 MovieClip "waterClew_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1195 MovieClip "taxiClew_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1197 MovieClip in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.c6);
}
Instance of Symbol 1199 MovieClip in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.w0);
}
Instance of Symbol 1437 MovieClip "player_mc" in Symbol 1464 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ynmain == false) {
_parent.main();
}
if (this.getInstanceAtDepth(this._y) != null) {
this.swapDepths(this._y + 1);
}
if (this.getInstanceAtDepth(this._y + 1) != null) {
this.swapDepths(this._y + 2);
} else {
this.swapDepths(this._y);
}
if (_root.helpID == -1) {
if (Key.isDown(38) || (Key.isDown(87))) {
_root.gameFull_mc._y = _root.gameFull_mc._y + 15;
}
if (Key.isDown(40) || (Key.isDown(83))) {
_root.gameFull_mc._y = _root.gameFull_mc._y - 15;
}
if (Key.isDown(39) || (Key.isDown(68))) {
_root.gameFull_mc._x = _root.gameFull_mc._x - 15;
}
if (Key.isDown(37) || (Key.isDown(65))) {
_root.gameFull_mc._x = _root.gameFull_mc._x + 15;
}
}
}
onClipEvent (keyDown) {
if (Key.isDown(90)) {
_root.enlargeFu();
}
if (Key.isDown(88)) {
_root.narrowFu();
}
if (Key.isDown(80) && (_root.pp_mc._currentframe <= 2)) {
if (_root.pp_mc._currentframe == 1) {
_root.pp_mc.gotoAndStop(2);
} else if (_root.pp_mc._currentframe == 2) {
_root.pp_mc.gotoAndStop(1);
}
}
if (Key.isDown(67) && (_root.say_mc._currentframe == 15)) {
_root.gameFull_mc.undoFu();
}
}
Instance of Symbol 1449 MovieClip "fire0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.f12);
}
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1449 MovieClip "fire1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.j9);
}
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1449 MovieClip "fire2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.c1);
}
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1449 MovieClip "fire3" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(_parent.u1);
}
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 1453 MovieClip "j11" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "w1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "z0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "c1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "c6" in Symbol 1464 MovieClip Frame 1
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "w2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "w5" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "f0" in Symbol 1464 MovieClip Frame 1
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "f14" in Symbol 1464 MovieClip Frame 1
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "w0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "c5" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "w3" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "w6" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "c0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "t1" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
actionArray = new Array();
}
Instance of Symbol 1453 MovieClip "t0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "d0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "s0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "s1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "s2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j3" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j4" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j5" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j6" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j7" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j8" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j9" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j10" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "j12" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "u0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "u1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "u2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "u3" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "u4" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "u5" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "c2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "c3" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "c4" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "k0" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "k1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "k2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "t2" in Symbol 1464 MovieClip Frame 1
onClipEvent (load) {
actionArray = new Array();
}
Instance of Symbol 1453 MovieClip "z1" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "z2" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1453 MovieClip "u6" in Symbol 1464 MovieClip Frame 1
on (release) {
_parent.key(this);
}
Instance of Symbol 1462 MovieClip "lift_mc" in Symbol 1464 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(this._y + 200);
}
Instance of Symbol 1453 MovieClip "w1" in Symbol 1464 MovieClip Frame 2
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "z0" in Symbol 1464 MovieClip Frame 2
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "c1" in Symbol 1464 MovieClip Frame 2
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "c3" in Symbol 1464 MovieClip Frame 2
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "c2" in Symbol 1464 MovieClip Frame 2
on (release) {
_root.key(this);
}
Instance of Symbol 1453 MovieClip "t0" in Symbol 1464 MovieClip Frame 2
on (release) {
_root.key(this);
}
Symbol 1466 MovieClip Frame 1
stop();
Symbol 1472 MovieClip Frame 1
stop();
Symbol 1472 MovieClip Frame 30
_root.ynfen = false;
Symbol 1479 MovieClip Frame 1
stop();
Symbol 1486 MovieClip Frame 1
stop();
Symbol 1491 Button
on (release) {
_root.pp_mc.gotoAndStop(3);
}
Symbol 1494 Button
on (release) {
_root.pp_mc.gotoAndStop(4);
}
Symbol 1500 Button
on (release) {
_root.backSoundFu(2);
gotoAndStop (2);
}
Symbol 1501 Button
on (release) {
_root.backSoundFu(1);
gotoAndStop (1);
}
Symbol 1502 MovieClip Frame 1
stop();
Symbol 1504 Button
on (release) {
_root.soundFu(2);
gotoAndStop (2);
}
Symbol 1505 Button
on (release) {
_root.soundFu(1);
gotoAndStop (1);
}
Symbol 1506 MovieClip Frame 1
stop();
Symbol 1511 Button
on (release) {
_root.gameFull_mc.undoFu();
}
Symbol 1514 Button
on (release) {
_root.enlargeFu();
}
Symbol 1517 Button
on (release) {
_root.narrowFu();
}
Symbol 1542 MovieClip Frame 1
stop();
if (kk != null) {
_root.bellSound.start();
}
kk = "kk";
Symbol 1546 MovieClip Frame 1
stop();
Symbol 1551 Button
on (release) {
if (kt_mc._currentframe == 1) {
kt_mc.gotoAndStop(2);
} else {
this.nextFrame();
}
}
Symbol 1553 Button
on (release) {
_root.gotoAndStop(19);
}
Symbol 1559 Button
on (release) {
_root.say_mc.nextFrame();
}
Symbol 1560 MovieClip Frame 1
stop();
Symbol 1567 Button
on (release) {
this.nextFrame();
}
Symbol 1573 Button
on (release) {
gotoAndStop (7);
}
Symbol 1583 MovieClip Frame 1
stop();
Symbol 1583 MovieClip Frame 15
if (_root.modeID == 1) {
le_mc._visible = true;
} else {
le_mc._visible = false;
}
Symbol 1593 MovieClip Frame 1
stop();
Symbol 1598 Button
on (press) {
_root._quality = _root._qualityText;
gotoAndStop (1);
}
Symbol 1604 Button
on (release) {
_root.gotoAndStop(10);
}
Symbol 1607 Button
on (release) {
gotoAndStop (1);
}
Symbol 1610 MovieClip Frame 75
_root.gotoAndStop(21);
Symbol 1611 MovieClip Frame 1
stop();
_root.ynmain = false;
Symbol 1611 MovieClip Frame 2
_root.ynmain = true;
baffle_mc.useHandCursor = false;
Symbol 1611 MovieClip Frame 3
_root._qualityText = _root._quality;
_root.ynmain = true;
if (_root._qualityText == "LOW") {
btn1.gotoAndStop(2);
} else if (_root._qualityText == "MEDIUM") {
btn2.gotoAndStop(2);
} else if (_root._qualityText == "HIGH") {
btn3.gotoAndStop(2);
} else if (_root._qualityText == "BEST") {
btn4.gotoAndStop(2);
}
baffle_mc.useHandCursor = false;
Instance of Symbol 1593 MovieClip "btn1" in Symbol 1611 MovieClip Frame 3
on (release) {
_parent.btn1.gotoAndStop(2);
_parent.btn2.gotoAndStop(1);
_parent.btn3.gotoAndStop(1);
_parent.btn4.gotoAndStop(1);
_root._qualityText = "LOW";
_root._quality = "LOW";
}
Instance of Symbol 1593 MovieClip "btn2" in Symbol 1611 MovieClip Frame 3
on (release) {
_parent.btn1.gotoAndStop(1);
_parent.btn2.gotoAndStop(2);
_parent.btn3.gotoAndStop(1);
_parent.btn4.gotoAndStop(1);
_root._qualityText = "MEDIUM";
_root._quality = "MEDIUM";
}
Instance of Symbol 1593 MovieClip "btn3" in Symbol 1611 MovieClip Frame 3
on (release) {
_parent.btn1.gotoAndStop(1);
_parent.btn2.gotoAndStop(1);
_parent.btn3.gotoAndStop(2);
_parent.btn4.gotoAndStop(1);
_root._qualityText = "HIGH";
_root._quality = "HIGH";
}
Instance of Symbol 1593 MovieClip "btn4" in Symbol 1611 MovieClip Frame 3
on (release) {
_parent.btn1.gotoAndStop(1);
_parent.btn2.gotoAndStop(1);
_parent.btn3.gotoAndStop(1);
_parent.btn4.gotoAndStop(2);
_root._qualityText = "BEST";
_root._quality = "BEST";
}
Symbol 1611 MovieClip Frame 4
_root.ynmain = true;
baffle_mc.useHandCursor = false;
Symbol 1611 MovieClip Frame 5
_root.ynmain = true;
baffle_mc.useHandCursor = false;
Symbol 1619 MovieClip Frame 1
stop();
Symbol 1620 MovieClip Frame 1
stop();
Symbol 1623 MovieClip Frame 1
stop();
Symbol 1623 MovieClip Frame 2
play();
Symbol 1623 MovieClip Frame 20
stop();
_root.gotoAndStop(21);
Symbol 1623 MovieClip Frame 21
play();
Symbol 1627 Button
on (release) {
_root.shopGotoID++;
if (_root.shopGotoID >= 8) {
_root.shopGotoID = 8;
}
shopFull_mc.gotoAndStop(_root.shopGotoID);
shopBeginFu();
if (_root.shopGotoID == 8) {
btnR_mc._visible = false;
}
btnL_mc._visible = true;
tipCash_mc.gotoAndStop(1);
}
Symbol 1628 Button
on (release) {
_root.shopGotoID--;
if (_root.shopGotoID <= 0) {
_root.shopGotoID = 1;
}
shopFull_mc.gotoAndStop(_root.shopGotoID);
shopBeginFu();
if (_root.shopGotoID == 1) {
btnL_mc._visible = false;
}
btnR_mc._visible = true;
tipCash_mc.gotoAndStop(1);
}
Symbol 1631 MovieClip Frame 1
stop();
Symbol 1638 Button
on (release) {
_root.gameFull_mc.setVisible();
gotoAndStop (2);
}
Symbol 1651 MovieClip Frame 1
stop();
Symbol 1656 MovieClip Frame 2
stop();
Symbol 1657 Button
on (release) {
_root.keyid = 6;
_root.cashFu();
}
Symbol 1659 MovieClip Frame 1
stop();
Symbol 1662 MovieClip Frame 1
stop();
Symbol 1667 MovieClip Frame 2
stop();
Symbol 1670 MovieClip Frame 1
stop();
Symbol 1676 MovieClip Frame 2
stop();
Symbol 1679 MovieClip Frame 1
stop();
Symbol 1684 MovieClip Frame 2
stop();
Symbol 1688 MovieClip Frame 2
stop();
Symbol 1691 MovieClip Frame 1
stop();
Symbol 1695 MovieClip Frame 2
stop();
Symbol 1696 Button
on (release) {
_root.keyid = 1;
_root.cashFu();
}
Symbol 1699 MovieClip Frame 1
stop();
Symbol 1706 MovieClip Frame 1
stop();
Symbol 1710 MovieClip Frame 2
stop();
Symbol 1711 Button
on (release) {
_root.keyid = 2;
_root.cashFu();
}
Symbol 1713 MovieClip Frame 1
stop();
Symbol 1716 MovieClip Frame 1
stop();
Symbol 1721 MovieClip Frame 1
stop();
Symbol 1725 MovieClip Frame 1
stop();
Symbol 1729 MovieClip Frame 1
stop();
Symbol 1732 MovieClip Frame 1
stop();
Symbol 1736 MovieClip Frame 1
stop();
Symbol 1740 MovieClip Frame 1
stop();
Symbol 1744 MovieClip Frame 1
stop();
Symbol 1748 MovieClip Frame 1
stop();
Symbol 1752 MovieClip Frame 1
stop();
Symbol 1756 MovieClip Frame 1
stop();
Symbol 1760 MovieClip Frame 1
stop();
Symbol 1766 MovieClip Frame 1
stop();
Symbol 1771 MovieClip Frame 1
stop();
Symbol 1780 MovieClip Frame 1
stop();
Symbol 1784 MovieClip Frame 1
stop();
Symbol 1788 MovieClip Frame 1
stop();
Symbol 1791 MovieClip Frame 1
stop();
Symbol 1794 MovieClip Frame 1
stop();
Symbol 1798 MovieClip Frame 1
stop();
Symbol 1801 MovieClip Frame 1
stop();
Symbol 1804 MovieClip Frame 1
stop();
Symbol 1808 MovieClip Frame 1
stop();
Symbol 1811 MovieClip Frame 1
stop();
Symbol 1814 MovieClip Frame 1
stop();
Symbol 1818 MovieClip Frame 1
stop();
Symbol 1821 MovieClip Frame 1
stop();
Symbol 1824 MovieClip Frame 1
stop();
Symbol 1828 MovieClip Frame 1
stop();
Symbol 1833 MovieClip Frame 1
stop();
Symbol 1838 MovieClip Frame 1
stop();
Symbol 1841 MovieClip Frame 1
stop();
Symbol 1844 MovieClip Frame 1
stop();
Symbol 1854 MovieClip Frame 1
stop();
Symbol 1860 MovieClip Frame 1
stop();
Symbol 1864 MovieClip Frame 1
stop();
Symbol 1867 MovieClip Frame 1
stop();
Symbol 1870 MovieClip Frame 1
stop();
Symbol 1876 MovieClip Frame 1
stop();
Symbol 1877 MovieClip Frame 1
stop();
Instance of Symbol 1651 MovieClip "shop8" in Symbol 1877 MovieClip Frame 1
onClipEvent (load) {
shopID = 8;
_root.shopBeginFu(this);
}
on (release) {
if (this._currentframe == 1) {
_root.cashFu(this);
}
}
on (rollOver) {
_root.showTextFu(this);
}
on (rollOut) {
_root.outFu(this);
}
Instance of Symbol 1670 MovieClip "shop3" in Symbol 1877 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1679 MovieClip "shop4" in Symbol 1877 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1691 MovieClip "shop5" in Symbol 1877 MovieClip Frame 1
/* no clip actions */
Symbol 1886 Button
on (release) {
_root.shopFull_mc.cashOKFu();
gotoAndStop (1);
}
Symbol 1889 Button
on (release) {
gotoAndStop (1);
}
Symbol 1895 MovieClip Frame 35
_parent.gotoAndStop(1);
Symbol 1899 Button
on (release) {
_root.option = 1;
gotoAndStop (2);
}
Symbol 1901 Button
on (release) {
_root.option = 2;
gotoAndStop (2);
}
Symbol 1903 Button
on (release) {
_root.option = 3;
gotoAndStop (2);
}
Symbol 1905 Button
on (release) {
_root.option = 4;
gotoAndStop (2);
}
Symbol 1906 MovieClip Frame 1
stop();
Symbol 1906 MovieClip Frame 5
if (_root.isFrontWaiter == true) {
btn1_mc._visible = false;
}
if ((_root.isCafeWaiter == true) || (_root.isCafe == false)) {
btn2_mc._visible = false;
}
if ((_root.isJeuWaiter == true) || (_root.isJeu == false)) {
btn3_mc._visible = false;
}
if ((_root.isWaterWaiter == true) || (_root.isJeu == false)) {
btn4_mc._visible = false;
}
Symbol 1907 MovieClip Frame 1
function cashFu(ob) {
if (int(_root["m" + ob.shopID]) > int(_root.fen)) {
tipCash_mc.gotoAndStop(3);
} else {
tipCash_mc.gotoAndStop(2);
}
_root.thisCash = int(_root["m" + ob.shopID]);
_root.keyid = ob.shopID;
}
function cashOKFu() {
_root.fen = _root.fen - int(_root["m" + _root.keyid]);
_root.visibleArray.push(_root.keyid);
switch (_root.keyid) {
case 1 :
_root.yncourt = true;
break;
case 2 :
_root.ynnatatorium = true;
break;
case 3 :
_root.setSleepNum++;
if (_root.setSleepNum >= 6) {
_root.setSleepNum = 6;
}
_root.room_lv = int(_root.setSleepNum - 1);
break;
case 4 :
_root.setDaisNum = _root.setDaisNum + 2;
if (_root.setDaisNum >= 2) {
_root.setDaisNum = 2;
}
_root.table_lv = int(_root.setDaisNum / 2) + 1;
break;
case 5 :
_root.bullpen_lv++;
if (_root.bullpen_lv >= 3) {
_root.bullpen_lv = 3;
}
if (_root.bullpen_lv == 0) {
_root.m5 = int(_root.objectShopArray[_root.lv].shop_bullpen_money0);
} else if (_root.bullpen_lv == 1) {
_root.m5 = int(_root.objectShopArray[_root.lv].shop_bullpen_money1);
} else {
_root.m5 = int(_root.objectShopArray[_root.lv].shop_bullpen_money2);
}
break;
case 6 :
_root.ynlift = true;
break;
case 7 :
_root.ynchef = true;
_root.chefLv1++;
break;
case 8 :
_root.isSpeedup = true;
_root.speedup_lv++;
if (_root.speedup_lv >= 2) {
_root.speedup_lv = 2;
}
if (_root.speedup_lv == 0) {
_root.m8 = int(_root.objectShopArray[_root.lv].shop_speedup_money0);
} else {
_root.m8 = int(_root.objectShopArray[_root.lv].shop_speedup_money1);
}
break;
case 9 :
_root.isGroggery = true;
break;
case 10 :
_root.isBilliards = true;
break;
case 11 :
_root.isCinema = true;
break;
case 12 :
_root.isGroggeryWaiter = true;
break;
case 13 :
_root.isBilliardsWaiter = true;
break;
case 14 :
_root.isCinemaWaiter = true;
break;
case 15 :
_root.isDogWaiter = true;
break;
case 16 :
_root.isDellboyWaiter = true;
break;
case 17 :
_root.isNatatorWaiter = true;
break;
case 18 :
_root.isBallWaiter = true;
break;
case 19 :
_root.isDustmanWaiter = true;
break;
case 20 :
_root.isDogRoom = true;
break;
case 21 :
_root.isParkRoom = true;
break;
case 22 :
_root.isFiddleWaiter = true;
break;
case 23 :
_root.isPianoWaiter = true;
break;
case 24 :
_root.isDraw0 = true;
break;
case 25 :
_root.isDraw1 = true;
break;
case 26 :
_root.isDraw2 = true;
break;
case 27 :
_root.isPotted0 = true;
break;
case 28 :
_root.isPotted1 = true;
break;
case 29 :
_root.isPotted2 = true;
break;
case 30 :
_root.isTicket = true;
break;
case 31 :
_root.isStore = true;
break;
case 32 :
_root.isGym = true;
break;
case 33 :
_root.isJeu = true;
break;
case 34 :
_root.isCafe = true;
break;
case 35 :
_root.washLv++;
if (_root.washLv >= 2) {
_root.washLv = 2;
}
break;
case 36 :
_root.isTicketWaiter = true;
break;
case 37 :
_root.isStoreWaiter = true;
break;
case 38 :
_root.isGymWaiter = true;
break;
case 39 :
_root.isWashWaiter = true;
break;
case 40 :
_root.chefRoomLv++;
if (_root.chefRoomLv >= 3) {
_root.chefRoomLv = 3;
}
break;
case 41 :
_root.isFrontWaiter = true;
break;
case 42 :
_root.isQuarrelWaiter = true;
break;
case 43 :
_root.isDoormanWaiter = true;
break;
case 44 :
if (_root.chefLv1 >= 3) {
_root.chefLv2++;
}
break;
case 45 :
if (_root.chefLv2 >= 3) {
_root.chefLv3++;
}
break;
case 46 :
_root.isCafeWaiter = true;
break;
case 47 :
_root.isJeuWaiter = true;
break;
case 48 :
_root.isWaterWaiter = true;
}
_root.setLv();
shopBeginFu();
shopOver(shopFull_mc["shop" + _root.keyid]);
}
function shopBeginFu() {
var _local3 = 1;
while (_local3 <= 50) {
var _local2 = shopFull_mc["shop" + _local3];
if (_local2 != null) {
_local2.shopID = _local3;
trace(_local2._name);
_local2.onPress = function () {
shopAI(this);
};
_local2.onRollOver = function () {
shopOver(this);
};
_local2.onRollOut = function () {
shopOut(this);
};
isVisibleFu(_local2);
}
_local3++;
}
}
function shopAI(ob) {
if (((((ob.shopID == 3) || (ob.shopID == 4)) || (ob.shopID == 5)) || (ob.shopID == 35)) || (ob.shopID == 40)) {
if (ob._currentframe != 1) {
cashFu(ob);
}
} else if (ob._currentframe == 1) {
cashFu(ob);
} else if (((ob.shopID == 7) || (ob.shopID == 44)) || (ob.shopID == 45)) {
if (ob._currentframe <= 3) {
cashFu(ob);
}
}
}
function isVisibleFu(ob) {
switch (ob.shopID) {
case 1 :
if ((_root.yncourt == true) || (_root.isJeu == true)) {
ob.gotoAndStop(2);
}
break;
case 2 :
if (_root.ynnatatorium == true) {
ob.gotoAndStop(2);
}
break;
case 3 :
if (_root.setSleepNum < 6) {
ob.gotoAndStop(2);
} else {
ob.gotoAndStop(1);
}
break;
case 4 :
if (_root.setDaisNum < 2) {
ob.gotoAndStop(2);
} else {
ob.gotoAndStop(1);
}
break;
case 5 :
if (_root.bullpen_lv == 0) {
ob.gotoAndStop(2);
} else if (_root.bullpen_lv < 3) {
ob.gotoAndStop(3);
} else {
ob.gotoAndStop(1);
}
break;
case 6 :
if (_root.ynlift == true) {
ob.gotoAndStop(2);
}
break;
case 7 :
ob.gotoAndStop(_root.chefLv1 + 1);
break;
case 8 :
if (_root.speedup_lv <= 1) {
ob.gotoAndStop(1);
} else {
ob.gotoAndStop(2);
}
break;
case 9 :
if (_root.isGroggery == true) {
ob.gotoAndStop(2);
}
break;
case 10 :
if ((_root.isBilliards == true) || (_root.isGym == true)) {
ob.gotoAndStop(2);
}
break;
case 11 :
if (_root.isCinema == true) {
ob.gotoAndStop(2);
}
break;
case 12 :
if ((_root.isGroggeryWaiter == true) || (_root.isGroggery == false)) {
ob.gotoAndStop(2);
} else {
ob.gotoAndStop(1);
}
break;
case 13 :
if ((_root.isBilliardsWaiter == true) || (_root.isBilliards == false)) {
ob.gotoAndStop(2);
}
break;
case 14 :
if ((_root.isCinemaWaiter == true) || (_root.isCinema == false)) {
ob.gotoAndStop(2);
}
break;
case 15 :
if ((_root.isDogWaiter == true) || (_root.isDogRoom == false)) {
ob.gotoAndStop(2);
}
break;
case 16 :
if (_root.isDellboyWaiter == true) {
ob.gotoAndStop(2);
}
break;
case 17 :
if ((_root.isNatatorWaiter == true) || (_root.ynnatatorium == false)) {
ob.gotoAndStop(2);
}
break;
case 18 :
if ((_root.isBallWaiter == true) || (_root.yncourt == false)) {
ob.gotoAndStop(2);
}
break;
case 19 :
if (_root.isDustmanWaiter == true) {
ob.gotoAndStop(2);
}
break;
case 20 :
if (_root.isDogRoom == true) {
ob.gotoAndStop(2);
}
break;
case 21 :
if (_root.isParkRoom == true) {
ob.gotoAndStop(2);
}
break;
case 22 :
if (_root.isFiddleWaiter == true) {
ob.gotoAndStop(2);
}
break;
case 23 :
if (_root.isPianoWaiter == true) {
ob.gotoAndStop(2);
}
break;
case 24 :
if (_root.isDraw0 == true) {
ob.gotoAndStop(2);
}
break;
case 25 :
if (_root.isDraw1 == true) {
ob.gotoAndStop(2);
}
break;
case 26 :
if (_root.isDraw2 == true) {
ob.gotoAndStop(2);
}
break;
case 27 :
if (_root.isPotted0 == true) {
ob.gotoAndStop(2);
}
break;
case 28 :
if (_root.isPotted1 == true) {
ob.gotoAndStop(2);
}
break;
case 29 :
if (_root.isPotted2 == true) {
ob.gotoAndStop(2);
}
break;
case 30 :
if (_root.isTicket == true) {
ob.gotoAndStop(2);
}
break;
case 31 :
if (_root.isStore == true) {
ob.gotoAndStop(2);
}
break;
case 32 :
if ((_root.isGym == true) || (_root.isBilliards == true)) {
ob.gotoAndStop(2);
}
break;
case 33 :
if ((_root.isJeu == true) || (_root.yncourt == true)) {
ob.gotoAndStop(2);
}
break;
case 34 :
if (_root.isCafe == true) {
ob.gotoAndStop(2);
}
break;
case 35 :
if (_root.washLv >= 2) {
ob.gotoAndStop(1);
} else {
ob.gotoAndStop(2);
}
break;
case 36 :
if ((_root.isTicketWaiter == true) || (_root.isTicket == false)) {
ob.gotoAndStop(2);
}
break;
case 37 :
if ((_root.isStoreWaiter == true) || (_root.isStore == false)) {
ob.gotoAndStop(2);
}
break;
case 38 :
if ((_root.isGymWaiter == true) || (_root.isGym == false)) {
ob.gotoAndStop(2);
}
break;
case 39 :
if ((_root.isWashWaiter == true) || (_root.washLv == 0)) {
ob.gotoAndStop(2);
}
break;
case 40 :
if (_root.chefRoomLv < 3) {
ob.gotoAndStop(2);
} else {
ob.gotoAndStop(1);
}
break;
case 41 :
if (_root.isFrontWaiter == true) {
ob.gotoAndStop(2);
}
break;
case 42 :
if (_root.isQuarrelWaiter == true) {
ob.gotoAndStop(2);
}
break;
case 43 :
if ((_root.isDoormanWaiter == true) || (_root.isParkRoom == false)) {
ob.gotoAndStop(2);
}
break;
case 44 :
if ((_root.chefLv1 >= 3) && (_root.chefRoomLv >= 2)) {
ob.gotoAndStop(_root.chefLv2 + 1);
} else {
ob.gotoAndStop(10);
}
break;
case 45 :
if ((_root.chefLv2 >= 3) && (_root.chefRoomLv >= 3)) {
ob.gotoAndStop(_root.chefLv3 + 1);
} else {
ob.gotoAndStop(10);
}
break;
case 46 :
if ((_root.isCafeWaiter == true) || (_root.isCafe == false)) {
ob.gotoAndStop(2);
}
break;
case 47 :
if ((_root.isJeuWaiter == true) || (_root.isJeu == false)) {
ob.gotoAndStop(2);
}
break;
case 48 :
if (!((_root.isWaterWaiter == true) || (_root.isJeu == false))) {
break;
}
ob.gotoAndStop(2);
}
}
function shopOver(ob) {
switch (ob.shopID) {
case 1 :
textSay.text = "Buy a tennis court!";
break;
case 2 :
textSay.text = "Buy a swimming pool!";
break;
case 3 :
textSay.text = "Buy an extra room!";
break;
case 4 :
textSay.text = "Upgrade the restaurant!";
break;
case 5 :
if (_root.bullpen_lv == 0) {
textSay.text = "Get a presidential suite, make more money!";
} else {
textSay.text = "Upgrade your presidential suite.";
}
break;
case 6 :
textSay.text = "Buy an elevator!";
break;
case 7 :
if (_root.chefLv1 > 0) {
textSay.text = "Upgrade Chef: Get a chef!";
} else {
textSay.text = "Trainee Chef: Get a chef!";
}
break;
case 8 :
textSay.text = "Buy rocket boots for faster movement!";
break;
case 9 :
textSay.text = "Buy a bar!";
break;
case 10 :
textSay.text = "Buy a snooker room!";
break;
case 11 :
textSay.text = "Buy a projection room!";
break;
case 12 :
textSay.text = "Get a bartender! ";
break;
case 13 :
textSay.text = "Get waitress for snooker room!";
break;
case 14 :
textSay.text = "Get a projectionist!";
break;
case 15 :
textSay.text = "Get a dog walker for guest pets!";
break;
case 16 :
textSay.text = "Get a Bell boy/girl";
break;
case 17 :
textSay.text = "Get a swimming pool cleaner!";
break;
case 18 :
textSay.text = "Get a tennis coach!";
break;
case 19 :
textSay.text = "Get a room cleaner!";
break;
case 20 :
textSay.text = "Get pet accommodation for your guest pets.";
break;
case 21 :
textSay.text = "Add parking spaces to your hotel.";
break;
case 22 :
textSay.text = "Get a violinist: earn more money per meal!";
break;
case 23 :
textSay.text = "Get a pianoist: earn more money per meal!";
break;
case 24 :
textSay.text = "Get a painting: attracts guests, make more money!";
break;
case 25 :
textSay.text = "Get a painting: attracts guests, make more money!";
break;
case 26 :
textSay.text = "Get a painting: attracts guests, make more money!";
break;
case 27 :
textSay.text = "Get a plant: attracts guests,make more money!";
break;
case 28 :
textSay.text = "Get a plant: attracts guests,make more money!";
break;
case 29 :
textSay.text = "Get a plant: attracts guests,make more money!";
break;
case 30 :
textSay.text = "Travel desk: organize flights for your guests and make more money!";
break;
case 31 :
textSay.text = "Store: give your customers snacks and other things!";
break;
case 32 :
textSay.text = "GYM: keep your guests fit and paying you more. cannot not be used with pool!";
break;
case 33 :
textSay.text = "Casino: requires a lot of attention, but can make you a lot of money!";
break;
case 34 :
textSay.text = "Cafe: give your guests a nice relaxing place to have a coffee and make you more money!";
break;
case 35 :
if (_root.washLv > 0) {
textSay.text = "Upgrade Laundromat: allow your customers to clean some dirty travel clothing!";
} else {
textSay.text = "Laundromat: allow your customers to clean some dirty travel clothing!";
}
break;
case 36 :
textSay.text = "Travel Assistant: helps guests with travel bookings!";
break;
case 37 :
textSay.text = "Store salesman";
break;
case 38 :
textSay.text = "Fitness coach: great motivator for your guests!";
break;
case 39 :
textSay.text = "Washlady\uFF1Ashe'll look after the clothes cleaning for you!";
break;
case 40 :
if (_root.chefRoomLv >= 2) {
textSay.text = "Upgrade Kitchen: make it bigger and better!";
} else {
textSay.text = "Kitchen upgrade: make it bigger and better!";
}
break;
case 41 :
textSay.text = "Concierge: Looks after the front desk.";
break;
case 42 :
textSay.text = "Security Guard: if a scuffle happens between guests, he'll stop it!";
break;
case 43 :
textSay.text = "Valet: he'll look after the guest car parking";
break;
case 44 :
if (_root.chefLv2 > 0) {
textSay.text = "Upgrade Chef: Can only be used when Trainee Chef is upgraded to max level and kitchen is level 2. Will increase cooking speed and income.";
} else {
textSay.text = "Sous Chef: Can only be used when Trainee Chef is upgraded to max level and kitchen is level 2. Will increase cooking speed and income.";
}
break;
case 45 :
if (_root.chefLv3 > 0) {
textSay.text = "Upgrade de Cuisine: Can only be used when Sous Chef is upgraded to max level and kitchen is level 3. Will increase cooking speed and income.";
} else {
textSay.text = "Chef de Cuisine: Can only be used when Sous Chef is upgraded to max level and kitchen is level 3. Will increase cooking speed and income.";
}
break;
case 46 :
textSay.text = "Cafe waiter: Looks after cafe customers.";
break;
case 47 :
textSay.text = "Cashier: Chip exchanger.";
break;
case 48 :
textSay.text = "Serving Waiter: Looks after casino guests.";
}
}
function shopOut(ob) {
}
stop();
baffle_mc.useHandCursor = false;
_root.ynmain = true;
stopAllSounds();
_root.keyid = 0;
btnL_mc._visible = false;
btnR_mc._visible = true;
_root.shopGotoID = 1;
textSay.text = " ";
_root.visibleArray = new Array();
if (_root.ynbackSound == false) {
_root.backSound.start(0, 999);
}
shopGotoID = 1;
shopBeginFu();
Instance of Symbol 1631 MovieClip in Symbol 1907 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Symbol 1907 MovieClip Frame 2
_root.ynmain = false;
_root.fenCa = _root.fenCa + (_root.fen_old - _root.fen);
_root.saveArray = _root.visibleArray.slice(0, _root.visibleArray.length);
_root.gotoAndStop(20);
Symbol 1942 MovieClip Frame 1
stop();
if (_root.overID == 1) {
gotoAndStop (1);
} else if (_root.overID == 2) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
Symbol 1959 Button
on (release) {
if (_root.over_mc._currentframe == 38) {
_root.over_mc.gotoAndStop(39);
}
gotoAndStop ("submit");
}
Symbol 1968 Button
on (release) {
gotoAndStop ("submited");
}
Symbol 1975 Button
on (release) {
gotoAndStop ("submited");
}
Symbol 1981 Button
on (release) {
viewHighscore();
}
Symbol 1982 MovieClip Frame 1
stop();
game_name = _root._game_name;
var highscore = eval (score_var);
_global.viewHighscore = function () {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + _root._game_name, "_blank");
};
if (highscore <= 0) {
this._visible = false;
}
trace(game_name);
trace(highscore);
trace("http://www.freeworldgroup.com/score/index.asp?game=" + game_name);
if (_root.over_mc._currentframe == 39) {
_root.over_mc.gotoAndStop(38);
}
if (ynok == true) {
pl._visible = false;
}
Symbol 1982 MovieClip Frame 3
function sendData() {
ynok = true;
send_var.game = game_name;
send_var.score = highscore;
send_var.name = name_txt.text;
if (send_var.name == "") {
send_var.name = "guest" + int(Math.random() * 1000);
}
send_var.sendAndLoad("http://www.freeworldgroup.com/score/score.asp", load_var, "POST");
gotoAndStop ("sending");
}
baffle_mc.useHandCursor = false;
stop();
gold_txt.text = highscore;
send_var = new LoadVars();
load_var = new LoadVars();
ok_btn.onRelease = sendData;
load_var.onLoad = function () {
gotoAndStop ("done");
};
Symbol 1985 Button
on (release) {
_root.returnFu();
}
Symbol 1986 Button
on (release) {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + _root._game_name, "_blank");
}
Symbol 1987 Button
on (release) {
getURL ("http://www.freeworldgroup.com/games9/gameindex/bedandbreakfast2.htm", "_blank");
}
Symbol 1988 Button
on (release) {
_root.gotoAndStop(10);
}
Instance of Symbol 1982 MovieClip in Symbol 1989 MovieClip Frame 89
//component parameters
onClipEvent (construct) {
_game_name = "bedandbreakfast2";
score_var = "_root.fenFull";
}
Symbol 1989 MovieClip Frame 105
stop();
Symbol 2021 MovieClip Frame 40
stop();
Symbol 2050 MovieClip Frame 41
stop();
Symbol 2051 MovieClip Frame 1
stop();
Symbol 2071 Button
on (release) {
getURL ("http://www.freeworldgroup.com/games8/gameindex/noodleshop.htm", "_blank");
}
Symbol 2075 Button
on (release) {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + _root._game_name, "_blank");
}
Symbol 2076 Button
on (release) {
_root.modeID = 2;
_root.gotoAndStop(20);
}
Symbol 2077 Button
on (release) {
getURL ("http://www.freeworldgroup.com/games9/gameindex/bedandbreakfast2.htm", "_blank");
}
Symbol 2078 Button
on (release) {
_root.gotoAndStop(10);
}
Instance of Symbol 2051 MovieClip "sb_mc" in Symbol 2079 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(_root.sexID);
}
Instance of Symbol 1982 MovieClip in Symbol 2079 MovieClip Frame 36
//component parameters
onClipEvent (construct) {
_game_name = "bedandbreakfast2";
score_var = "_root.fenFull";
}
Symbol 2079 MovieClip Frame 51
stop();
stop();