home *** CD-ROM | disk | FTP | other *** search
- w1_x = getProperty("/ziel2", _X) + "10";
- w2_x = getProperty("/ziel2", _X) - "10";
- frog_x = getProperty("/frosch", _X);
- frog_y = getProperty("/frosch", _Y);
- if(frog_y < "42" and frog_x < w1_x and w2_x < frog_x)
- {
- fscommand("startEffect","bonus");
- tellTarget("/ziel2")
- {
- gotoAndStop("ziel");
- play();
- }
- setProperty("/frosch", _X, "175");
- setProperty("/frosch", _Y, "225");
- tellTarget("/restzeit")
- {
- gotoAndStop("bonus");
- play();
- }
- tellTarget("/score")
- {
- score += "200";
- }
- tellTarget("/steuerung")
- {
- gotoAndStop("aus");
- play();
- }
- tellTarget("/ziel2aus")
- {
- gotoAndStop("aus");
- }
- }
-