home *** CD-ROM | disk | FTP | other *** search
- levelCodes = new Array();
- levelCodes["steep forest"] = 0;
- levelCodes["icy heights"] = 5;
- levelCodes["deadly dungeons"] = 10;
- levelCodes["flying saucer"] = 15;
- enterLevelCode = function()
- {
- var _loc1_ = _root;
- if(_loc1_.levelCodes[_loc1_.inputLevelCode.toLowerCase()] ne "")
- {
- _loc1_.continuePoint = _loc1_.levelCodes[_loc1_.inputLevelCode.toLowerCase()];
- if(_loc1_.continuePoint >= 5 && _loc1_.fullVersion != true)
- {
- _loc1_.destination = "trialover";
- }
- else
- {
- _loc1_.destination = "game";
- }
- _loc1_.play();
- }
- else
- {
- _loc1_.badCodeMc.gotoAndPlay(2);
- _loc1_.inputLevelCode = "";
- }
- };
- Selection.setFocus(_root.textfieldLevelCode);
-