Frame 1
_root.rnd = 1;
Instance of Symbol 15 MovieClip [roger] "roger" in Frame 1
onClipEvent (keyDown) {
if (Key.isDown(39) and (_root.dead == 0)) {
_root.dir = 6;
} else if (Key.isDown(37) and (_root.dead == 0)) {
_root.dir = 4;
} else if (Key.isDown(38) and (_root.dead == 0)) {
_root.dir = 8;
} else if (Key.isDown(40) and (_root.dead == 0)) {
_root.dir = 2;
}
}
onClipEvent (keyUp) {
if (_root.dead == 0) {
_root.loc = 0;
}
}
Frame 2
_root.treasure.gotoAndPlay(_root.rnd);
_root.door.gotoAndPlay(1);
dead = 0;
dir = 0;
loc = 1;
jump = 0;
t1 = 0;
t2 = 0;
t3 = 0;
t4 = 0;
t5 = 0;
t6 = 0;
t7 = 0;
t8 = 0;
t9 = 0;
t10 = 0;
t11 = 0;
t12 = 0;
t13 = 0;
t14 = 0;
t15 = 0;
_root.roger.gotoAndPlay(1);
Frame 4
this.stop();
Frame 5
_root.roger._alpha = 100;
Frame 11
_root.roger._alpha = 0;
Frame 17
_root.roger._alpha = 100;
Frame 23
_root.roger._alpha = 0;
Frame 29
_root.roger._alpha = 100;
Frame 35
_root.roger._alpha = 0;
Frame 41
_root.roger._alpha = 100;
_root.roger.gotoAndPlay(1);
this.gotoAndPlay(1);
Symbol 15 MovieClip [roger] Frame 2
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 5);
}
Symbol 15 MovieClip [roger] Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 4
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
Symbol 15 MovieClip [roger] Frame 6
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 8
if ((_root.dead == 0) and (_root.t1 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 7);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 11
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 12
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 14
if ((_root.dead == 0) and (_root.t2 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 15
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 17
if ((_root.dead == 0) and (_root.t3 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 18
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 20
if ((_root.dead == 0) and (_root.t4 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 21
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 23
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 24
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 26
if ((_root.dead == 0) and (_root.t5 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 27
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 29
if ((_root.dead == 0) and (_root.t6 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 30
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 32
if ((_root.dead == 0) and (_root.t7 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 33
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 35
if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 36
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 38
if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 5);
}
Symbol 15 MovieClip [roger] Frame 39
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 41
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if (((_root.dir == 6) and (_root.loc == 0)) and (_root.t8 == 0)) {
_root.t8 = 1;
_root.loc = 1;
} else if (((_root.dir == 6) and (_root.loc == 0)) and (_root.t8 == 1)) {
_root.t8 = 0;
_root.loc = 1;
}
Symbol 15 MovieClip [roger] Frame 42
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 44
if ((_root.dead == 0) and (_root.t9 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 7);
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 45
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 47
if ((_root.dead == 0) and (_root.t10 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 48
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 50
if ((_root.dead == 0) and (_root.t11 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 51
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 53
if ((_root.dead == 0) and (_root.t12 != 1)) {
this.gotoAndPlay(_currentframe + 2);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 5);
}
Symbol 15 MovieClip [roger] Frame 54
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 55
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
Symbol 15 MovieClip [roger] Frame 57
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 59
if ((_root.dead == 0) and (_root.t13 != 1)) {
this.gotoAndPlay(_currentframe + 2);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 7);
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 5);
}
Symbol 15 MovieClip [roger] Frame 60
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 61
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
Symbol 15 MovieClip [roger] Frame 63
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 65
if ((_root.dead == 0) and (_root.t14 != 1)) {
this.gotoAndPlay(_currentframe + 2);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 7);
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 5);
}
Symbol 15 MovieClip [roger] Frame 66
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 67
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
Symbol 15 MovieClip [roger] Frame 69
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 71
if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 7);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 72
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 74
if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 75
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 77
if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 78
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 80
if ((_root.dead == 0) and (_root.t15 == 1)) {
_root.dead = 1;
_root.loc = 1;
_root.gotoAndPlay("dead");
} else if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 81
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 83
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 84
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 86
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 87
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 89
if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 90
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 92
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 93
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 95
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 96
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 98
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if (((_root.dir == 6) and (_root.loc == 0)) and (_root.t8 == 1)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 99
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 101
if ((_root.dir == 4) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 2) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 102
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 104
if ((_root.dir == 8) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe - 4);
} else if ((_root.dir == 6) and (_root.loc == 0)) {
_root.loc = 1;
this.gotoAndPlay(_currentframe + 2);
}
Symbol 15 MovieClip [roger] Frame 105
this.gotoAndPlay(_currentframe - 1);
Symbol 15 MovieClip [roger] Frame 111
_root.jump++;
if (_root.jump >= 4) {
_root.rnd++;
if (_root.rnd >= 16) {
_root.rnd = 16;
}
_root.gotoAndPlay(2);
}
Symbol 15 MovieClip [roger] Frame 117
this.gotoAndPlay(_currentframe - 11);
Symbol 25 MovieClip Frame 1
_root.t2 = 1;
Symbol 25 MovieClip Frame 11
_root.t2 = 0;
_root.t3 = 1;
Symbol 25 MovieClip Frame 21
_root.t3 = 0;
_root.t4 = 1;
Symbol 25 MovieClip Frame 31
_root.t4 = 0;
Symbol 28 MovieClip Frame 1
_root.t1 = 1;
Symbol 28 MovieClip Frame 19
_root.t1 = 0;
Symbol 33 MovieClip Frame 1
_root.t5 = 1;
_root.t7 = 1;
Symbol 33 MovieClip Frame 14
_root.t5 = 0;
_root.t7 = 0;
Symbol 33 MovieClip Frame 22
_root.t6 = 1;
Symbol 33 MovieClip Frame 35
_root.t6 = 0;
Symbol 37 MovieClip Frame 2
if (_root.t8 == 1) {
this.gotoAndPlay(_currentframe + 2);
}
Symbol 37 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 37 MovieClip Frame 5
if (_root.t8 == 0) {
this.gotoAndPlay(_currentframe + 2);
}
Symbol 37 MovieClip Frame 6
this.gotoAndPlay(_currentframe - 1);
Symbol 37 MovieClip Frame 8
if (_root.t8 == 1) {
this.gotoAndPlay(_currentframe - 4);
}
Symbol 37 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 39 MovieClip Frame 1
_root.t9 = 1;
Symbol 39 MovieClip Frame 21
_root.t9 = 0;
_root.t10 = 1;
Symbol 39 MovieClip Frame 41
_root.t10 = 0;
_root.t11 = 1;
Symbol 39 MovieClip Frame 61
_root.t11 = 0;
Symbol 43 MovieClip Frame 1
_root.t12 = 1;
_root.t13 = 0;
_root.t14 = 0;
Symbol 43 MovieClip Frame 11
_root.t12 = 1;
_root.t13 = 1;
_root.t14 = 0;
Symbol 43 MovieClip Frame 21
_root.t12 = 0;
_root.t13 = 1;
_root.t14 = 1;
Symbol 43 MovieClip Frame 31
_root.t12 = 0;
_root.t13 = 0;
_root.t14 = 1;
Symbol 43 MovieClip Frame 41
_root.t12 = 0;
_root.t13 = 0;
_root.t14 = 0;
Symbol 43 MovieClip Frame 51
_root.t12 = 0;
_root.t13 = 0;
_root.t14 = 1;
Symbol 43 MovieClip Frame 61
_root.t12 = 0;
_root.t13 = 1;
_root.t14 = 1;
Symbol 43 MovieClip Frame 71
_root.t12 = 1;
_root.t13 = 1;
_root.t14 = 0;
Symbol 43 MovieClip Frame 81
_root.t12 = 1;
_root.t13 = 0;
_root.t14 = 0;
Symbol 43 MovieClip Frame 91
_root.t12 = 0;
_root.t13 = 0;
_root.t14 = 0;
Symbol 49 MovieClip Frame 11
_root.t15 = 1;
Symbol 49 MovieClip Frame 16
_root.t15 = 0;
Symbol 49 MovieClip Frame 31
_root.t15 = 1;
Symbol 49 MovieClip Frame 36
_root.t15 = 0;
Symbol 65 MovieClip Frame 1
this.stop();
Symbol 65 MovieClip Frame 2
this.stop();
Symbol 65 MovieClip Frame 3
this.stop();
Symbol 65 MovieClip Frame 4
this.stop();
Symbol 65 MovieClip Frame 5
this.stop();
Symbol 65 MovieClip Frame 6
this.stop();
Symbol 65 MovieClip Frame 7
this.stop();
Symbol 65 MovieClip Frame 8
this.stop();
Symbol 65 MovieClip Frame 9
this.stop();
Symbol 65 MovieClip Frame 10
this.stop();
Symbol 65 MovieClip Frame 11
this.stop();
Symbol 65 MovieClip Frame 12
this.stop();
Symbol 65 MovieClip Frame 13
this.stop();
Symbol 65 MovieClip Frame 14
this.stop();
Symbol 65 MovieClip Frame 15
this.stop();
Symbol 65 MovieClip Frame 16
this.stop();
Symbol 65 MovieClip Frame 17
this.stop();
Symbol 65 MovieClip Frame 18
this.stop();
Symbol 65 MovieClip Frame 19
this.stop();
Symbol 65 MovieClip Frame 20
this.stop();