home *** CD-ROM | disk | FTP | other *** search
- function Help_Stop(label)
- {
- if(this.Obj_Flags & 0x40)
- {
- _root.KeyLocked = 0;
- this.kill();
- }
- else
- {
- this.gotoAndPlay(label);
- }
- }
- function Help_Win(label)
- {
- if(this.Obj_Flags & 0x40)
- {
- _root.KeyLocked = 0;
- this.kill();
- _root.quitGame();
- _root.gotoWin();
- }
- else
- {
- this.gotoAndPlay(label);
- }
- }
- function Help_Lose(label)
- {
- if(this.Obj_Flags & 0x40)
- {
- _root.KeyLocked = 0;
- this.kill();
- _root.quitGame();
- _root.gotoLose();
- }
- else
- {
- this.gotoAndPlay(label);
- }
- }
- function Help_Cont(label)
- {
- if(this.Obj_Flags & 0x40)
- {
- this.Obj_Flags &= 65471;
- }
- else
- {
- this.gotoAndPlay(label);
- }
- }
- function Help_Loop()
- {
- if(this.Keys_pressed[8] & _root.Bits_on[1] || this.Keys_pressed[10] & _root.Bits_on[3] || this.Keys_pressed[4] & _root.Bits_on[6])
- {
- this.Obj_Flags |= 64;
- }
- }
- this.setHndlr(1,Help_Loop);
- this.gotoAndPlay("Help_None");
- _root.KEY_LT = 37;
- _root.KEY_RT = 39;
- _root.KEY_UP = 38;
- _root.KEY_DN = 40;
- _root.KEY_A = 65;
- _root.KEY_B = 83;
- _root.KEY_LB = 81;
- _root.KEY_RB = 87;
- _root.KEY_CHEAT = 17;
- _root.Obj_Flags_ALWAYSRUN = 384;
- _root.Obj_Flags_BACKGROUND = 256;
- _root.Obj_Flags_MICKEY = 128;
- _root.Obj_Flags_DEAD = 64;
- _root.Obj_Flags_SPECIAL = 32;
- _root.Obj_Flags_KILL = 16;
- _root.Obj_Flags_KEYBD = 8;
- _root.Obj_Flags_GONE = 4;
- _root.Obj_Flags_ATTACK = 2;
- _root.Obj_Flags_CLIMBING = 1;
- this.Obj_X1 = -5;
- this.Obj_X2 = 5;
- this.Obj_Y1 = -31;
- this.Obj_Y2 = 0;
-