Frame 1
level1 = new Array("01R9", "07R9", "03R9", "06R9", "07R9", "04R9", "07R9", "07R9", "05R9", "07R9", "07R9", "04R9", "07R9", "07R9", "03R9", "07R9", "08R9", "00N0", "00N0", "02G4", "07G4", "05G4", "05G4", "07G4", "09G4", "00N0", "00N0", "01B0", "03B0", "07B0", "07B0", "04B0", "07B0", "07B0", "05B0", "07B0", "07B0", "04B0", "07B0", "07B0", "03B0", "07B0", "07B0", "03B0", "07B0", "07B0", "04B0", "07B0", "07B0", "05B0", "07B0", "07B0", "04B0", "07B0", "07B0", "03B0", "07B0", "07B0", "03B0", "07B0", "07B0", "04B0", "07B0", "07B0", "05B0", "07B0", "07B0", "04B0", "07B0", "07B0", "03B0", "08B0", "00N0", "00N0", "02G4", "07G4", "05G4", "05G4", "07G4", "09G4", "00N0", "00N0", "01R9", "07R9", "03R9", "07R9", "07R9", "04R9", "07R9", "07R9", "05R9", "07R9", "07R9", "04R9", "07R9", "07R9", "03R9", "07R9", "08R9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01R5", "07R5", "07R5", "06R5", "07R5", "07R5", "07R5", "09R5", "00N0", "00N0", "00N0", "00N0", "02G0", "07G0", "05G0", "05G0", "07G0", "08G0", "00N0", "00N0", "00N0", "02R9", "07R9", "07R9", "07R9", "11R9");
levelc = new Array();
i = 0;
while (i < level1.length) {
levelc[i] = level1[i];
i++;
}
body = new Array(1, 1, 1, "steve");
level2 = new Array("01R8", "07R8", "03R8", "06R8", "07R8", "04R8", "07R8", "07R8", "04R8", "07R8", "07R8", "04R8", "07R8", "08R8", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02G1", "07G1", "04G1", "07G1", "07G1", "04G1", "07G1", "07G1", "03G1", "07G1", "07G1", "05G1", "07G1", "07G1", "04G1", "08G1", "00N0", "00N0", "00N0", "00N0", "02R7", "07R7", "04R7", "07R7", "07R7", "04R7", "07R7", "07R7", "03R7", "07R7", "07R7", "04R7", "07R7", "07R7", "03R7", "07R7", "07R7", "03R7", "07R7", "07R7", "04R7", "08R7", "00N0", "00N0", "00N0", "00N0", "00N0", "02R0", "04R0", "07R0", "09R0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B0", "07B0", "04B0", "07B0", "07B0", "06B0", "03B0", "07B0", "07B0", "07B0", "04B0", "07B0", "07B0", "07B0", "05B0", "07B0", "07B0", "07B0", "05B0", "07B0", "08B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02G5", "04G5", "07G5", "04G5", "09G5", "00N0", "00N0", "02R0", "03R0", "07R0", "07R0", "04R0", "07R0", "07R0", "03R0", "07R0", "07R0", "05R0", "07R0", "07R0", "03R0", "08R0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01G9", "07G9", "03G9", "06G9", "07G9", "03G9", "07G9", "07G9", "05G9", "07G9", "07G9", "03G9", "07G9", "07G9", "03G9", "07G9", "07G9", "03G9", "07G9", "07G9", "03G9", "07G9", "07G9", "03G9", "07G9", "07G9", "05G9", "07G9", "07G9", "03G9", "07G9", "07G9", "05G9", "08G9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B0", "07B0", "05B0", "07B0", "07B0", "04B0", "07B0", "07B0", "04B0", "07B0", "07B0", "04B0", "07B0", "07B0", "03B0", "07B0", "07B0", "04B0", "08B0", "00N0", "00N0", "00N0", "00N0", "00N0", "02G0", "04G0", "09G0", "00N0", "00N0", "00N0", "02R5", "04R5", "09R5", "00N0", "00N0", "00N0", "02R9", "07R9", "04R9", "06R9", "07R9", "04R9", "07R9", "07R9", "03R9", "07R9", "07R9", "04R9", "07R9", "07R9", "03R9", "07R9", "07R9", "03R9", "07R9", "07R9", "05R9", "07R9", "07R9", "04R9", "07R9", "07R9", "03R9", "07R9", "07R9", "04R9", "07R9", "07R9", "05R9", "07R9", "07R9", "04R9", "07R9", "07R9", "03R9", "07R9", "07R9", "04R9", "07R9", "07R9", "08R9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "11R0");
level3 = new Array("02R9", "03R9", "07R9", "06R9", "07R9", "08R9", "00N0", "00N0", "02G9", "05G9", "07G9", "07G9", "07G9", "03G9", "07G9", "06G9", "07G9", "07G9", "04G9", "07G9", "05G9", "08G9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02B0", "07B0", "03B0", "07B0", "07B0", "07B0", "03B0", "07B0", "07B0", "05B0", "07B0", "07B0", "07B0", "04B0", "07B0", "05B0", "07B0", "07B0", "03B0", "07B0", "08B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01G1", "03G1", "07G1", "04G1", "07G1", "05G1", "07G1", "03G1", "07G1", "05G1", "08G1", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02B9", "07B9", "04B9", "07B9", "08B9", "00N0", "02R0", "03R0", "08R0", "00N0", "02G9", "04G9", "06G9", "08G9", "00N0", "01B9", "05B9", "07B9", "04B9", "07B9", "03B9", "07B9", "04B9", "07B9", "05B9", "07B9", "03B9", "07B9", "06B9", "08B9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01R6", "07R6", "07R6", "04R6", "07R6", "07R6", "08R6", "00N0", "00N0", "00N0", "01G5", "07G5", "07G5", "07G5", "07G5", "07G5", "07G5", "07G5", "07G5", "07G5", "07G5", "07G5", "08G5", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B1", "07B1", "03B1", "07B1", "03B1", "07B1", "07B1", "07B1", "07B1", "07B1", "03B1", "07B1", "08B1", "00N0", "00N0", "00N0", "00N0", "01R9", "07R9", "04R9", "07R9", "07R9", "05R9", "07R9", "07R9", "08R9", "00N0", "00N0", "00N0", "00N0", "01G9", "03G9", "07G9", "05G9", "07G9", "08G9", "00N0", "00N0", "01B0", "04B0", "07B0", "05B0", "08B0", "00N0", "00N0", "01G5", "06G5", "08G5", "00N0", "00N0", "01B9", "07B9", "06B9", "11B9");
level4 = new Array("00N0", "00N0", "01R9", "03R9", "07R9", "07R9", "03R9", "07R9", "07R9", "07R9", "04R9", "06R9", "07R9", "07R9", "03R9", "07R9", "05R9", "08R9", "00N0", "00N0", "00N0", "00N0", "01B4", "07B4", "03B4", "07B4", "07B4", "07B4", "07B4", "07B4", "05B4", "07B4", "07B4", "07B4", "04B4", "07B4", "07B4", "07B4", "03B4", "07B4", "07B4", "07B4", "07B4", "07B4", "07B4", "03B4", "07B4", "07B4", "03B4", "07B4", "08B4", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01R5", "07R5", "07R5", "07R5", "03R5", "07R5", "07R5", "07R5", "04R5", "07R5", "07R5", "03R5", "07R5", "07R5", "06R5", "04R5", "07R5", "08R5", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02G9", "04G9", "07G9", "07G9", "07G9", "03G9", "07G9", "07G9", "07G9", "04G9", "07G9", "07G9", "07G9", "07G9", "04G9", "07G9", "07G9", "07G9", "04G9", "07G9", "07G9", "06G9", "07G9", "05G9", "07G9", "07G9", "07G9", "09G9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01R0", "07R0", "07R0", "03R0", "07R0", "07R0", "07R0", "03R0", "07R0", "07R0", "07R0", "06R0", "07R0", "07R0", "07R0", "05R0", "07R0", "07R0", "07R0", "03R0", "08R0", "00N0", "00N0", "00N0", "00N0", "00N0", "02R9", "06R9", "09R9", "00N0", "00N0", "00N0", "02R5", "07R5", "07R5", "03R5", "07R5", "07R5", "06R5", "07R5", "07R5", "04R5", "07R5", "07R5", "07R5", "07R5", "07R5", "07R5", "05R5", "07R5", "07R5", "08R5", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B9", "05B9", "07B9", "07B9", "07B9", "07B9", "04B9", "07B9", "06B9", "07B9", "07B9", "07B9", "03B9", "09B9", "00N0", "00N0", "00N0", "01G2", "07G2", "04G2", "07G2", "07G2", "07G2", "07G2", "03G2", "07G2", "07G2", "06G2", "07G2", "07G2", "05G2", "07G2", "09G2", "00N0", "00N0", "00N0", "00N0", "02R7", "06R7", "07R7", "03R7", "07R7", "07R7", "07R7", "07R7", "07R7", "07R7", "07R7", "04R7", "07R7", "07R7", "07R7", "07R7", "07R7", "07R7", "05R7", "08R7", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01G9", "07G9", "07G9", "07G9", "04G9", "07G9", "07G9", "07G9", "03G9", "07G9", "07G9", "07G9", "07G9", "03G9", "07G9", "07G9", "07G9", "07G9", "04G9", "07G9", "07G9", "05G9", "07G9", "07G9", "04G9", "07G9", "06G9", "07G9", "07G9", "03G9", "07G9", "07G9", "07G9", "07G9", "07G9", "04G9", "07G9", "07G9", "07G9", "05G9", "07G9", "07G9", "07G9", "07G9", "07G9", "07G9", "07G9", "03G9", "07G9", "07G9", "07G9", "07G9", "07G9", "06G9", "07G9", "08G9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01R0", "06R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "07R0", "08R0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B5", "07B5", "06B5", "07B5", "07B5", "07B5", "07B5", "07B5", "07B5", "07B5", "11B5");
level5 = new Array("00N0", "01R5", "04R5", "07R5", "07R5", "03R5", "07R5", "05R5", "07R5", "03R5", "07R5", "04R5", "07R5", "05R5", "07R5", "08R5", "00N0", "00N0", "00N0", "00N0", "00N0", "01B5", "05B5", "05B5", "07B5", "03B5", "05B5", "08B5", "00N0", "00N0", "00N0", "00N0", "01R7", "03R7", "07R7", "05R7", "06R7", "04R7", "07R7", "05R7", "08R7", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B1", "03B1", "07B1", "04B1", "06B1", "04B1", "07B1", "09B1", "00N0", "00N0", "00N0", "01B0", "07B0", "05B0", "03B0", "05B0", "07B0", "08B0", "00N0", "00N0", "00N0", "00N0", "01R3", "05R3", "06R3", "04R3", "07R3", "04R3", "07R3", "04R3", "07R3", "05R3", "07R3", "03R3", "07R3", "03R3", "07R3", "03R3", "07R3", "04R3", "07R3", "05R3", "07R3", "05R3", "07R3", "04R3", "07R3", "05R3", "07R3", "07R3", "07R3", "07R3", "07R3", "07R3", "03R3", "03R3", "04R3", "05R3", "03R3", "07R3", "07R3", "07R3", "04R3", "08R3", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B2", "03B2", "07B2", "03B2", "07B2", "03B2", "07B2", "03B2", "07B2", "07B2", "03B2", "07B2", "03B2", "07B2", "03B2", "07B2", "03B2", "04B2", "08B2", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01G6", "06G6", "03G6", "07G6", "04G6", "07G6", "05G6", "07G6", "05G6", "07G6", "03G6", "07G6", "03G6", "07G6", "08G6", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B5", "07B5", "07B5", "05B5", "07B5", "07B5", "04B5", "07B5", "07B5", "05B5", "07B5", "07B5", "08B5", "00N0", "00N0", "00N0", "01G7", "07G7", "03G7", "03G7", "07G7", "04G7", "07G7", "05G7", "07G7", "03G7", "05G7", "08G7", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B4", "05B4", "07B4", "03B4", "07B4", "03B4", "08B4", "00N0", "00N0", "00N0", "01G3", "07G3", "04G3", "07G3", "03G3", "07G3", "05G3", "07G3", "04G3", "07G3", "08G3", "00N0", "00N0", "00N0", "01R6", "06R6", "07R6", "05R6", "07R6", "03R6", "07R6", "04R6", "07R6", "04R6", "07R6", "05R6", "07R6", "05R6", "07R6", "03R6", "07R6", "04R6", "07R6", "05R6", "07R6", "05R6", "07R6", "05R6", "07R6", "03R6", "07R6", "04R6", "07R6", "03R6", "07R6", "03R6", "07R6", "04R6", "07R6", "03R6", "07R6", "08R6", "00N0", "00N0", "00N0", "00N0", "01B8", "07B8", "07B8", "11B8");
level6 = new Array("01B9", "07B9", "07B9", "06B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "08B9", "00N0", "00N0", "02B0", "09B0", "00N0", "00N0", "01B9", "05B9", "05B9", "08B9", "00N0", "00N0", "00N0", "02B0", "09B0", "00N0", "00N0", "00N0", "01B9", "05B9", "05B9", "08B9", "00N0", "00N0", "00N0", "00N0", "02B0", "09B0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B9", "05B9", "05B9", "08B9", "00N0", "00N0", "00N0", "00N0", "00N0", "02B0", "09B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B9", "05B9", "05B9", "08B9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02B0", "09B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "08B9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "08B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "07B9", "08B9", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "08B0", "00N0", "00N0", "02B3", "09B3", "00N0", "02B6", "09B6", "00N0", "02B9", "09B9", "00N0", "02B6", "09B6", "00N0", "02B3", "09B3", "00N0", "02B0", "09B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "01B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "05B0", "08B0", "00N0", "00N0", "02B3", "09B3", "00N0", "02B6", "09B6", "00N0", "02B9", "09B9", "00N0", "02B6", "09B6", "00N0", "02B3", "09B3", "00N0", "02B0", "09B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02B0", "07B0", "07B0", "07B0", "07B0", "07B0", "08B0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "00N0", "02B9", "11B9");
Symbol 31 Button
on (release) {
gotoAndStop (12);
}
Symbol 33 Button
on (release) {
gotoAndStop (8);
}
Symbol 37 Button
on (release) {
gotoAndStop (9);
}
Symbol 38 Button
on (release) {
gotoAndStop (10);
}
Symbol 39 Button
on (release) {
gotoAndStop(/:body[3]);
}
Symbol 41 Button
on (release) {
gotoAndStop (3);
}
Symbol 42 Button
on (release) {
tellTarget ("/" + /:body[3]) {
_name = "skater";
};
tellTarget ("/skater") {
gotoAndPlay (16);
};
gotoAndStop (6);
}
Symbol 45 Button
on (release) {
/:body[3] = "fred";
gotoAndStop (5);
}
Symbol 48 MovieClip Frame 1
gotoAndStop(/:body[0]);
Symbol 50 MovieClip Frame 1
gotoAndStop(/:body[1]);
Symbol 51 MovieClip Frame 1
gotoAndStop(/:body[1]);
Symbol 54 MovieClip Frame 1
gotoAndStop(/:body[0]);
Symbol 56 MovieClip Frame 1
gotoAndStop(/:body[1]);
Symbol 61 MovieClip Frame 1
gotoAndStop(/:body[0]);
Symbol 63 MovieClip Frame 1
gotoAndStop(/:body[2]);
Symbol 64 MovieClip Frame 1
gotoAndStop(/:body[0]);
Symbol 65 MovieClip Frame 1
gotoAndStop(/:body[1]);
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
play();
Symbol 71 MovieClip Frame 16
gotoAndStop (1);
Symbol 71 MovieClip Frame 28
stop();
Symbol 71 MovieClip Frame 30
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 71 MovieClip Frame 36
if ((/code:state == 30) || (/code:speed != 0)) {
gotoAndPlay (30);
} else {
gotoAndPlay (3);
Set("/code:state", 3);
}
Symbol 71 MovieClip Frame 37
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 71 MovieClip Frame 43
if ((/code:state == 30) || (/code:speed != 0)) {
gotoAndPlay (37);
} else {
gotoAndPlay (3);
Set("/code:state", 3);
}
Symbol 71 MovieClip Frame 45
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 71 MovieClip Frame 50
Symbol 73 Button
on (release) {
/:body[0]++;
if (/:body[0] == 6) {
/:body[0] = 1;
}
gotoAndPlay("skater:16");
}
Symbol 75 Button
on (release) {
/:body[1]++;
if (/:body[1] == 5) {
/:body[1] = 1;
}
gotoAndPlay("skater:16");
}
Symbol 77 Button
on (release) {
/:body[2]++;
if (/:body[2] == 4) {
/:body[2] = 1;
}
gotoAndPlay("skater:16");
}
Symbol 79 Button
on (release) {
/:body[3] = "steve";
gotoAndStop (4);
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
play();
Symbol 91 MovieClip Frame 16
gotoAndStop (1);
Symbol 91 MovieClip Frame 28
stop();
Symbol 91 MovieClip Frame 30
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 91 MovieClip Frame 36
if (/code:state == 30) {
gotoAndStop (30);
} else if (/code:speed != 0) {
gotoAndPlay (30);
} else {
gotoAndPlay (2);
Set("/code:state", 3);
}
Symbol 91 MovieClip Frame 37
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 91 MovieClip Frame 43
if (/code:state == 30) {
gotoAndStop (37);
} else if (/code:speed != 0) {
gotoAndPlay (37);
} else {
gotoAndPlay (2);
Set("/code:state", 3);
}
Symbol 91 MovieClip Frame 45
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 96 Button
on (release) {
Set("/code:lvlholder", 6);
/code:init();
gotoAndStop (7);
}
Symbol 105 Button
on (release) {
Set("/code:lvlholder", 4);
/code:init();
gotoAndStop (7);
}
Symbol 109 Button
on (release) {
Set("/code:lvlholder", 5);
/code:init();
gotoAndStop (7);
}
Symbol 111 Button
on (release) {
Set("/code:lvlholder", 3);
/code:init();
gotoAndStop (7);
}
Symbol 117 Button
on (release) {
Set("/code:lvlholder", 2);
/code:init();
gotoAndStop (7);
}
Symbol 118 Button
on (release) {
Set("/code:lvlholder", 1);
/code:init();
gotoAndStop (7);
}
Symbol 122 Button
on (keyPress "x") {
tellTarget ("/code") {
stop();
};
tellTarget ("/sound") {
gotoAndPlay ("stopbg");
};
if (eval ("/code:high" + /code:lvlholder) < /code:points) {
Set("/code:high" + /code:lvlholder, /code:points);
}
tellTarget ("/marker") {
gotoAndStop (1);
};
setProperty("/skater", _x , -200);
tellTarget ("/skater") {
_name = /:body[3];
};
gotoAndStop (3);
}
Symbol 124 Button
on (release) {
getURL ("mailto:stv_3@hotmail.com");
}
Symbol 125 Button
on (release) {
gotoAndStop (3);
}
Symbol 128 Button
on (release) {
getURL ("http://www.angelfire.com/fl4/entropy/flash.html", _blank);
}
Symbol 131 Button
on (release) {
gotoAndStop (12);
}
Symbol 138 Button
on (release) {
current = ((_xmouse - (_xmouse % 20)) - 20) / 20;
if ((/:levelc.length - 1) < (current + tile)) {
current = (/:levelc.length - 1) - tile;
msg = "ERROR: Cannot select past finish line.";
}
setProperty("marker", _x , (current + 1) * 20);
setVars();
}
Symbol 139 Button
on (release) {
addtile("00");
}
Symbol 140 Button
on (release) {
addtile("09");
}
Symbol 141 Button
on (release) {
addtile("08");
}
Symbol 142 Button
on (release) {
addtile("07");
}
Symbol 143 Button
on (release) {
addtile("06");
}
Symbol 144 Button
on (release) {
addtile("05");
}
Symbol 145 Button
on (release) {
addtile("04");
}
Symbol 146 Button
on (release) {
addtile("03");
}
Symbol 147 Button
on (release) {
addtile("02");
}
Symbol 148 Button
on (release) {
addtile("01");
}
Symbol 150 Button
on (release, keyPress "x") {
gotoAndStop (3);
}
Symbol 152 Button
on (release) {
gotoAndStop (11);
}
Symbol 154 Button
on (release) {
Set("/:levelc", new Array("01R9", "07R9", "07R9", "06R9", "07R9", "07R9", "11R9"));
current = (tile = 0);
setProperty("marker", _x , (current + 1) * 20);
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
msg = "New level created.";
}
Symbol 157 Button
on (release) {
if ((current + tile) == (/:levelc.length - 1)) {
msg = "ERROR: Cannot delete the finish line.";
} else if (((((substring(/:levelc[current + tile], 1, 2)) == 0) && ((current + tile) != 0)) && ((substring(/:levelc[(current + tile) - 1], 1, 2)) != 0)) && ((substring(/:levelc[(current + tile) + 1], 1, 2)) != 0)) {
msg = "ERROR: You must leave at least one space between buildings.";
} else {
howmany = 1;
flag = 0;
if (((substring(/:levelc[current + tile], 1, 2)) == 8) || ((substring(/:levelc[current + tile], 1, 2)) == 9)) {
while (2 < (substring(/:levelc[current + tile], 1, 2))) {
tile--;
howmany++;
}
} else if (((substring(/:levelc[current + tile], 1, 2)) == 1) || ((substring(/:levelc[current + tile], 1, 2)) == 2)) {
while ((substring(/:levelc[(current + tile) + howmany], 1, 2)) < 8) {
howmany++;
}
if ((substring(/:levelc[(current + tile) + howmany], 1, 2)) == 11) {
flag = 1;
}
howmany++;
}
if (!flag) {
i = current + tile;
while (i < /:levelc.length) {
/:levelc[i] = /:levelc[i + howmany];
i++;
}
/:levelc.length = /:levelc.length - howmany;
msg = "Tile(s) deleted.";
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
} else {
msg = "ERROR: Cannot delete last building b/c cannot delete finish line.";
}
}
}
Symbol 159 Button
on (release) {
if ((current + tile) == (/:levelc.length - 1)) {
msg = "ERROR: Cannot insert past the finish line.";
} else {
insertTile(current + tile);
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
}
}
Symbol 163 Button
on (press) {
if (tile >= 28) {
tile = tile - 28;
} else {
tile = 0;
}
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
}
Symbol 164 Button
on (press) {
if (((tile + 28) + 28) < /:levelc.length) {
tile = tile + 28;
} else if ((tile + 28) < /:levelc.length) {
tile = /:levelc.length - 28;
}
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
}
Symbol 166 Button
on (press) {
if ((tile + 28) < /:levelc.length) {
tile = tile + 1;
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
}
}
Symbol 167 Button
on (press) {
if (0 < tile) {
tile = tile - 1;
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
}
}
Symbol 168 Button
on (release) {
Set("/code:lvlholder", "c");
/code:init();
gotoAndStop (7);
}
on (keyPress "x") {
gotoAndStop (3);
}
Symbol 170 Button
on (release) {
if ((substring(/:levelc[current + tile], 1, 2)) == 0) {
msg = "ERROR: Cannot change color of a spacer.";
} else {
if (color == "R") {
color = "B";
} else if (color == "B") {
color = "G";
} else if (color == "G") {
color = "P";
} else if (color == "P") {
color = "Y";
} else if (color == "Y") {
color = "R";
}
changeBuild(current + tile);
msg = "Color of building changed.";
}
}
Symbol 172 Button
on (release) {
if ((substring(/:levelc[current + tile], 1, 2)) == 0) {
msg = "ERROR: Cannot change color of a spacer.";
} else {
if (color == "R") {
color = "Y";
} else if (color == "B") {
color = "R";
} else if (color == "G") {
color = "B";
} else if (color == "P") {
color = "G";
} else if (color == "Y") {
color = "P";
}
changeBuild(current + tile);
msg = "Color of building changed.";
}
}
Symbol 174 Button
on (release) {
if ((substring(/:levelc[current + tile], 1, 2)) == 0) {
msg = "ERROR: Cannot change height of a spacer.";
} else if (height < 9) {
height = height + 1;
changeBuild(current + tile);
msg = "Height of building changed.";
} else {
msg = "ERROR: Cannot make building higher than 9.";
}
}
Symbol 176 Button
on (release) {
if ((substring(/:levelc[current + tile], 1, 2)) == 0) {
msg = "ERROR: Cannot change height of a spacer.";
} else if (0 < height) {
height = height - 1;
changeBuild(current + tile);
msg = "Height of building changed.";
} else {
msg = "ERROR: Cannot make building shorter than 0.";
}
}
Symbol 186 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
if (/code:scoreArr.length >= 5) {
gotoAndStop (2);
} else {
stop();
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 215 Button
on (release) {
/:levelc.length = 0;
(i = 1);
(j = 0);
while (temp.length >= i) {
if ((substring(temp, i, 1)) eq ",") {
j++;
} else if ((((substring(temp, i, 1)) ne "\t") && ((substring(temp, i, 1)) ne "\r")) && ((substring(temp, i, 1)) ne " ")) {
/:levelc[j] = /:levelc[j] + (substring(temp, i, 1));
}
i++;
}
msg = "Level opened succesfully.";
gotoAndStop (10);
}
Symbol 220 Button
on (release) {
gotoAndStop (13);
}
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
play();
Symbol 226 MovieClip Frame 16
gotoAndStop (1);
Symbol 226 MovieClip Frame 28
stop();
Symbol 226 MovieClip Frame 30
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 226 MovieClip Frame 36
if (/code:state == 30) {
gotoAndStop (30);
} else if (/code:speed != 0) {
gotoAndPlay (30);
} else {
gotoAndPlay (2);
Set("/code:state", 3);
}
Symbol 226 MovieClip Frame 37
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 226 MovieClip Frame 43
if (/code:state == 30) {
gotoAndStop (37);
} else if (/code:speed != 0) {
gotoAndPlay (37);
} else {
gotoAndPlay (2);
Set("/code:state", 3);
}
Symbol 226 MovieClip Frame 45
/code:scoreArr.length = 0;
Set("/code:tempscore", 0);
Symbol 234 MovieClip Frame 2
if ((getProperty("/", _totalframes) != getProperty("/", _framesloaded)) && (1 < getProperty("/", _framesloaded))) {
prevFrame();
gotoAndPlay;
}
Symbol 234 MovieClip Frame 3
stop();
Symbol 234 MovieClip Frame 10
function addtile(num) {
if ((substring(/:levelc[current + tile], 1, 2)) == 11) {
msg = "ERROR: Cannot change the finish line.";
} else if (((((substring(/:levelc[current + tile], 1, 2)) == 1) || ((substring(/:levelc[current + tile], 1, 2)) == 2)) && (num != 1)) && (num != 2)) {
msg = "ERROR: Beginning of building must be a left end.";
} else if (((((substring(/:levelc[current + tile], 1, 2)) == 8) || ((substring(/:levelc[current + tile], 1, 2)) == 9)) && (num != 8)) && (num != 9)) {
msg = "ERROR: End of building must be a right end.";
} else if ((num == "00") && ((substring(/:levelc[current + tile], 1, 2)) != 0)) {
if (((((substring(/:levelc[(current + tile) - 1], 1, 2)) < 3) || (7 < (substring(/:levelc[(current + tile) - 1], 1, 2)))) || ((substring(/:levelc[(current + tile) + 1], 1, 2)) < 3)) || (7 < (substring(/:levelc[(current + tile) + 1], 1, 2)))) {
msg = "ERROR: There must be middles on either side of break.";
} else {
/:levelc[current + tile] = "00N0";
/:levelc[(current + tile) - 1] = "08" + (substring(/:levelc[(current + tile) - 1], 3, 2));
/:levelc[(current + tile) + 1] = "01" + (substring(/:levelc[(current + tile) + 1], 3, 2));
msg = "Break in building created.";
}
} else if (((2 < num) && (num < 8)) && ((substring(/:levelc[current + tile], 1, 2)) == 0)) {
msg = "ERROR: Cannot put a middle piece over a spacer.";
} else if ((7 < num) && ((substring(/:levelc[current + tile], 1, 2)) < 8)) {
if ((substring(/:levelc[current + tile], 1, 2)) == 0) {
/:levelc[current + tile] = num + "R5";
insertTile(current + tile);
/:levelc[current + tile] = "01R5";
if (/:levelc[(current + tile) + 2] != "00N0") {
insertTile((current + tile) + 2);
/:levelc[(current + tile) + 2] = "00N0";
}
if (/:level[(current + tile) - 1] != "00N0") {
insertTile(current + tile);
/:levelc[current + tile] = "00N0";
}
msg = "New building created.";
} else {
msg = "ERROR: Use spacer to create breaks in buildings.";
}
} else if ((((num == 1) || (num == 2)) && ((substring(/:levelc[current + tile], 1, 2)) != 1)) && ((substring(/:levelc[current + tile], 1, 2)) != 2)) {
if ((substring(/:levelc[current + tile], 1, 2)) == 0) {
/:levelc[current + tile] = num + "R5";
insertTile((current + tile) + 1);
/:levelc[(current + tile) + 1] = "08R5";
if (/:levelc[(current + tile) + 2] != "00N0") {
insertTile((current + tile) + 2);
/:levelc[(current + tile) + 2] = "00N0";
}
if (/:levelc[(current + tile) - 1] != "00N0") {
insertTile(current + tile);
/:levelc[current + tile] = "00N0";
}
msg = "New building created.";
} else {
msg = "ERROR: Use spacer to create breaks in buildings.";
}
} else {
if (num == "00") {
/:levelc[current + tile] = "00N0";
} else {
/:levelc[current + tile] = (num + color) + height;
}
msg = "Tile changed.";
}
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
setVars();
}
function insertTile(num) {
i = /:levelc.length;
while (num < i) {
/:levelc[i] = /:levelc[i - 1];
i--;
}
if ((substring(/:levelc[num], 1, 2)) < 3) {
/:levelc[num] = "00N0";
} else {
/:levelc[num] = "07" + (substring(/:levelc[num], 3, 2));
}
msg = "Tile inserted.";
}
function drawtile(number, i) {
if ((i < 0) || (/:levelc[i] == "00N0")) {
gotoAndStop(("t" + number) + ":10");
} else if (i >= /:levelc.length) {
gotoAndStop(("t" + number) + ":7");
gotoAndStop((("t" + number) + "/building:") + (substring(/:levelc[/:levelc.length - 1], 3, 1)));
setProperty("t" + number, _y , 192.5 - ((substring(/:levelc[/:levelc.length - 1], 4, 1)) * 2.5));
} else {
gotoAndStop((("t" + number) + ":") + (substring(/:levelc[i], 1, 2)));
gotoAndStop((("t" + number) + "/building:") + (substring(/:levelc[i], 3, 1)));
setProperty("t" + number, _y , 192.5 - ((substring(/:levelc[i], 4, 1)) * 2.5));
}
Set(("/tile" + number) + ":number", i);
}
function setVars() {
color = substring(/:levelc[current + tile], 3, 1);
height = Number(substring(/:levelc[current + tile], 4, 1));
}
function changeBuild(num) {
while (2 < (substring(/:levelc[num], 1, 2))) {
num--;
}
while ((substring(/:levelc[num], 1, 2)) < 8) {
/:levelc[num] = ((substring(/:levelc[num], 1, 2)) + color) + height;
num++;
}
/:levelc[num] = ((substring(/:levelc[num], 1, 2)) + color) + height;
i = 0;
while (i < 28) {
drawtile(i + 1, i + tile);
i++;
}
}
i = 0;
while (i < 28) {
current = (tile = 0);
drawtile(i + 1, i);
i++;
}
setVars();
Symbol 234 MovieClip Frame 11
temp = /:levelc;
temp = temp + "";
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 41
gotoAndStop (1);
Symbol 241 MovieClip Frame 65
gotoAndStop (1);
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 20
gotoAndPlay (2);
Symbol 249 MovieClip Frame 1
function drawtile(number, i) {
if ((i < 0) || (/:level[i] == "00N0")) {
gotoAndStop((("/tile" + number) + ":") + 10);
} else if (i >= /:level.length) {
gotoAndStop((("/tile" + number) + ":") + 7);
gotoAndStop((("/tile" + number) + "/building:") + (substring(/:level[/:level.length - 1], 3, 1)));
setProperty("/tile" + number, _y , 550 - ((substring(/:level[/:level.length - 1], 4, 1)) * 10));
} else {
gotoAndStop((("/tile" + number) + ":") + (substring(/:level[i], 1, 2)));
gotoAndStop((("/tile" + number) + "/building:") + (substring(/:level[i], 3, 1)));
setProperty("/tile" + number, _y , 550 - ((substring(/:level[i], 4, 1)) * 10));
}
Set(("/tile" + number) + ":number", i);
}
function tileloop(i) {
value = i + firsttile;
if (8 < value) {
value = value - 9;
} else if (value < 0) {
value = value + 9;
}
return(value);
}
function fallsound() {
if (20 < Math.abs(speed)) {
tellTarget ("/sound") {
gotoAndPlay ("fall2");
};
} else {
tellTarget ("/sound") {
gotoAndPlay ("fall1");
};
}
}
function setland(i) {
setProperty("/shadow", _visible , 1);
if ((/:level[i] == "00N0") || (i < 0)) {
land = 370;
setProperty("/shadow", _visible , 0);
} else if (i >= /:level.length) {
land = 260 - ((substring(/:level[/:level.length - 1], 4, 1)) * 10);
} else if ((substring(/:level[i], 1, 2)) == 13) {
land = 240 - ((substring(/:level[i], 4, 1)) * 10);
} else {
land = 260 - ((substring(/:level[i], 4, 1)) * 10);
}
setProperty("/shadow", _y , (land + vertoffset) + 46);
if ((skatey < (land + vertoffset)) && (1 < state)) {
if (state == 20) {
state = 30;
gotoAndStop("/skater:30");
} else if (state < 4) {
state = 1;
vert = 0;
}
tellTarget ("/marker") {
gotoAndStop (1);
};
}
if (state == 1) {
if (((0 < speed) && (((substring(/:level[tile], 1, 2)) == 1) || ((substring(/:level[tile], 1, 2)) == 2))) && (BH == "")) {
BH = "F";
} else if (((0 < speed) && (((substring(/:level[tile], 1, 2)) == 8) || ((substring(/:level[tile], 1, 2)) == 9))) && (BH == "F")) {
BH = "B";
} else if (((0 < speed) && ((substring(/:level[tile], 1, 2)) == 0)) && (BH == "B")) {
BH = "";
scoreArr[scoreArr.length] = "Building Hop!";
tempscore = tempscore + 100;
} else if (((speed < 0) && (((substring(/:level[tile], 1, 2)) == 8) || ((substring(/:level[tile], 1, 2)) == 9))) && (BH == "")) {
BH = "B";
} else if (((speed < 0) && (((substring(/:level[tile], 1, 2)) == 1) || ((substring(/:level[tile], 1, 2)) == 2))) && (BH == "B")) {
BH = "F";
} else if (((speed < 0) && ((substring(/:level[tile], 1, 2)) == 0)) && (BH == "F")) {
BH = "";
scoreArr[scoreArr.length] = "Building Hop!";
tempscore = tempscore + 100;
}
}
if (((substring(/:level[tile], 1, 2)) == 6) && (ladder < tile)) {
ladder = tile;
} else if ((substring(/:level[tile], 1, 2)) == 11) {
Set("/:message", "Level Complete!");
tellTarget ("/message") {
gotoAndPlay (2);
};
}
}
function movetiles(move) {
flag = 1;
while (flag) {
flag = 0;
if (0 < (eval (("/tile" + firsttile) + ":_x") - move)) {
drawtile(tileloop(8), eval (("/tile" + tileloop(8)) + ":number") - 9);
setProperty("/tile" + tileloop(8), _x , eval (("/tile" + firsttile) + ":_x") - 80);
firsttile = tileloop(8);
flag = 1;
} else if ((eval (("/tile" + firsttile) + ":_x") - move) < -120) {
drawtile(firsttile, eval (("/tile" + firsttile) + ":number") + 9);
setProperty("/tile" + firsttile, _x , eval (("/tile" + firsttile) + ":_x") + 720);
firsttile = tileloop(1);
flag = 1;
}
}
setProperty("/tile" + firsttile, _x , eval (("/tile" + firsttile) + ":_x") - move);
looper = 1;
while (looper < 9) {
setProperty("/tile" + tileloop(looper), _x , eval (("/tile" + firsttile) + ":_x") + (80 * looper));
looper++;
}
}
function setTileOffset(move) {
tileoffset = tileoffset + move;
if (80 < tileoffset) {
tileoffset = tileoffset - 80;
tile++;
setland(tile);
} else if (tileoffset < 0) {
tileoffset = tileoffset + 80;
tile--;
setland(tile);
}
}
function addFlips(num) {
Tflip = Tflip + num;
if (Rflip < Tflip) {
Rflip = Tflip;
} else if (Tflip < Lflip) {
Lflip = Tflip;
}
}
function score() {
if (((getProperty("/skater", _xscale) == -100) && (40 < Tflip)) || ((getProperty("/skater", _xscale) == 100) && (Tflip < -40))) {
scoreArr[scoreArr.length] = "Insane Flipage!";
tempscore = tempscore + 500;
} else if (22 < Math.abs(Tflip)) {
scoreArr[scoreArr.length] = "The Flipster";
tempscore = tempscore + 100;
} else if (10 < Math.abs(Tflip)) {
if (getProperty("/skater", _currentframe) == 17) {
scoreArr[scoreArr.length] = "Handstand";
} else {
scoreArr[scoreArr.length] = "Retreat to Feet";
}
tempscore = tempscore + 10;
} else if ((18 < Rflip) && (getProperty("/skater", _xscale) == -100)) {
scoreArr[scoreArr.length] = (Rflip * 10) + " Kung Fu Master";
tempscore = tempscore + (20 * Math.round((Rflip * 10) / 45));
} else if ((Lflip < -18) && (getProperty("/skater", _xscale) == 100)) {
scoreArr[scoreArr.length] = (Math.abs(Lflip) * 10) + " Kung Fu Master";
tempscore = tempscore + (20 * Math.round((Math.abs(Lflip) * 10) / 45));
} else if ((9 < Rflip) && (getProperty("/skater", _xscale) == -100)) {
scoreArr[scoreArr.length] = (Rflip * 10) + " Kick the Sky";
tempscore = tempscore + (10 * Math.round((Rflip * 10) / 45));
} else if ((Lflip < -9) && (getProperty("/skater", _xscale) == 100)) {
scoreArr[scoreArr.length] = (Math.abs(Lflip) * 10) + " Kick the Sky";
tempscore = tempscore + (10 * Math.round((Math.abs(Lflip) * 10) / 45));
}
if (((state == 3) && (getProperty("/skater", _currentframe) != 17)) && (0 < scoreArr.length)) {
(i = 0);
(/:message = "");
while (i < scoreArr.length) {
if (0 < i) {
Set("/:message", /:message + " + ");
}
if (((i % 2) == 0) && (i != 0)) {
Set("/:message", /:message + newline);
}
Set("/:message", /:message + scoreArr[i]);
i++;
}
points = points + (tempscore * scoreArr.length);
if (tempscore >= 300) {
tellTarget ("/message") {
gotoAndPlay (2);
};
} else {
tellTarget ("/message") {
gotoAndPlay (42);
};
}
tempscore = 0;
scoreArr.length = 0;
}
}
function drawings() {
setProperty("/city", _x , getProperty("/city", _x) - (speed / 10));
if (-10 < getProperty("/city", _x)) {
setProperty("/city", _x , getProperty("/city", _x) - (getProperty("/city", _width) / 2));
} else if (getProperty("/city", _x) < (-10 - (getProperty("/city", _width) / 2))) {
setProperty("/city", _x , getProperty("/city", _x) + (getProperty("/city", _width) / 2));
}
if ((getProperty("/skater", _xscale) == 100) && (speed < 0)) {
setProperty("/skater", _xscale , -100);
} else if ((getProperty("/skater", _xscale) == -100) && (0 < speed)) {
setProperty("/skater", _xscale , 100);
}
}
function init() {
Set("/:level", eval ("/:level" + lvlholder));
firsttile = 0;
state = 3;
speed = 0;
limit = 60;
points = 0;
tempscore = 0;
slower = 0;
horoffset = (vertoffset = 0);
holdright = (holdleft = (holddown = (holdup = (holdspace = 0))));
Tflip = (Rflip = (Lflip = 0));
scoreArr = new Array();
BH = "";
tile = 3;
tileoffset = 60;
ladder = 3;
timeset = Math.round(getTimer() / 1000);
Set("/marker:balance", 0);
Set("/marker:offset", 0);
gotoAndStop("/life:1");
life = 100;
tellTarget ("/skater") {
gotoAndStop (1);
};
tellTarget ("/exit") {
gotoAndStop (1);
};
tellTarget ("/message") {
gotoAndStop (1);
};
setProperty("/skater", _xscale , 100);
setProperty("/shadow", _visible , 1);
setProperty("/skater", _rotation , 0);
i = 0;
while (i < 9) {
drawtile(i, i);
setProperty("/tile" + i, _x , i * 80);
i++;
}
setProperty("/skater", _x , 300);
setProperty("/skater", _y , 260 - ((substring(/:level[3], 4, 1)) * 10));
setProperty("/shadow", _y , getProperty("/skater", _y) + 46);
land = getProperty("/skater", _y);
tellTarget ("/code") {
gotoAndPlay (2);
};
tellTarget ("/sound") {
gotoAndPlay ("startbg");
};
}
stop();
Symbol 249 MovieClip Frame 2
if (Key.isDown(Key.LEFT) && (Key.isDown(Key.RIGHT))) {
rightandleft = 1;
} else {
rightandleft = 0;
}
if (Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) {
if ((holdright == 0) || (2 < holdright)) {
if ((state < 2) && (getProperty("/skater", _currentframe) != 20)) {
setProperty("/skater", _rotation , getProperty("/skater", _rotation) + 10);
addFlips(1);
} else if ((state == 3) && (getProperty("/skater", _currentframe) == 1)) {
tellTarget ("/skater") {
gotoAndPlay ("push");
};
if (limit < Math.abs(speed + 10)) {
speed = limit;
} else if ((Math.abs(speed) < limit) && (speed >= 0)) {
speed = speed + 10;
} else if (speed < 0) {
speed = speed + 10;
} else {
speed = limit;
}
} else if (state == 2) {
Set("/marker:balance", /marker:balance - 1);
}
}
if (holdright < 3) {
holdright++;
}
} else if (!Key.isDown(Key.RIGHT)) {
holdright = 0;
}
if (Key.isDown(Key.LEFT) && (!Key.isDown(Key.RIGHT))) {
if ((holdleft == 0) || (2 < holdleft)) {
if ((state < 2) && (getProperty("/skater", _currentframe) != 20)) {
setProperty("/skater", _rotation , getProperty("/skater", _rotation) - 10);
addFlips(-1);
} else if ((getProperty("/skater", _currentframe) == 1) && (state == 3)) {
tellTarget ("/skater") {
gotoAndPlay ("push");
};
if (limit < Math.abs(speed - 10)) {
speed = -limit;
} else if ((Math.abs(speed) < limit) && (0 >= speed)) {
speed = speed - 10;
} else if (0 < speed) {
speed = speed - 10;
} else {
speed = -limit;
}
} else if (state == 2) {
/marker:balance++;
}
}
if (holdleft < 3) {
holdleft++;
}
} else if (!Key.isDown(Key.LEFT)) {
holdleft = 0;
}
if (Key.isDown(Key.UP)) {
if ((((1 < state) && (state < 4)) && (0 < vertoffset)) && ((holdup == 0) || (2 < holdup))) {
vertoffset = vertoffset - 10;
setProperty("/skater", _y , getProperty("/skater", _y) - 10);
setProperty("/shadow", _y , getProperty("/shadow", _y) - 10);
} else if (((getProperty("/skater", _currentframe) == 18) && (Math.abs(getProperty("/skater", _rotation)) < 20)) && (holdup == 0)) {
gotoAndStop("/skater:1");
} else if ((((state < 2) && (Math.abs(getProperty("/skater", _rotation)) < 20)) && (getProperty("/skater", _currentframe) != 17)) && (holdup == 0)) {
gotoAndStop("/skater:19");
scoreArr[scoreArr.length] = "Kickflip";
tempscore = tempscore + 20;
}
if (holdup < 3) {
holdup = holdup + 1;
}
} else if (!Key.isDown(Key.UP)) {
holdup = 0;
}
if (Key.isDown(Key.DOWN)) {
if ((((1 < state) && (state < 4)) && (vertoffset < 90)) && ((holddown == 0) || (2 < holddown))) {
vertoffset = vertoffset + 10;
setProperty("/skater", _y , getProperty("/skater", _y) + 10);
setProperty("/shadow", _y , getProperty("/shadow", _y) + 10);
} else if (((getProperty("/skater", _currentframe) == 19) && (Math.abs(getProperty("/skater", _rotation)) < 20)) && (holddown == 0)) {
tellTarget ("/skater") {
gotoAndStop (1);
};
} else if (((state < 2) && (150 < Math.abs(getProperty("/skater", _rotation)))) && (holddown == 0)) {
setProperty("/skater", _rotation , 0);
if (getProperty("/skater", _currentframe) == 17) {
tellTarget ("/skater") {
gotoAndStop (1);
};
holdright = (holdleft = 1);
} else {
tellTarget ("/skater") {
gotoAndStop (17);
};
holdright = (holdleft = 1);
}
} else if ((((state == 1) && (Math.abs(getProperty("/skater", _rotation)) < 20)) && (getProperty("/skater", _currentframe) != 17)) && (holddown == 0)) {
gotoAndStop("/skater:18");
scoreArr[scoreArr.length] = "Indy";
tempscore = tempscore + 20;
}
if (holddown < 3) {
holddown = holddown + 1;
}
} else if (!Key.isDown(Key.DOWN)) {
holddown = 0;
}
if (Key.isDown(Key.SPACE) and (holdspace == 0)) {
if ((state == 1) && (getProperty("/skater", _currentframe) == 20)) {
gotoAndStop("/skater:1");
} else if (((state == 1) && (getProperty("/skater", _currentframe) != 17)) && ((((getProperty("/skater", _rotation) >= 80) && (100 >= getProperty("/skater", _rotation))) && (getProperty("/skater", _xscale) == 100)) || (((getProperty("/skater", _rotation) >= -100) && (-80 >= getProperty("/skater", _rotation))) && (getProperty("/skater", _xscale) == -100)))) {
gotoAndStop("/skater:20");
scoreArr[scoreArr.length] = "Supaman";
tempscore = tempscore + 100;
} else if (state == 40) {
movetiles(80 * (ladder - tile));
tile = ladder;
vertoffset = 0;
setland(ladder);
setProperty("/skater", _y , land);
setProperty("/shadow", _visible , 1);
setProperty("/skater", _xscale , 100);
speed = 0;
state = 3;
if (life < 10) {
tellTarget ("/skater") {
gotoAndStop (50);
};
} else {
tellTarget ("/skater") {
gotoAndStop (1);
};
}
} else if (((state == 2) || (state == 3)) && (getProperty("/skater", _currentframe) < 18)) {
setProperty("/skater", _rotation , 0);
if (getProperty("/skater", _currentframe) != 17) {
tellTarget ("/skater") {
gotoAndStop (1);
};
}
tellTarget ("/marker") {
gotoAndStop (1);
};
state = 1;
vert = 6 + (0.1 * Math.abs(speed));
holdright = (holdleft = 1);
tellTarget ("/sound") {
gotoAndPlay ("jump");
};
}
holdspace = 1;
} else if (!Key.isDown(Key.SPACE)) {
holdspace = 0;
}
if (0 >= (120 - (Math.round(getTimer() / 1000) - timeset))) {
countdown = 0;
} else if (state != 10) {
countdown = 120 - (Math.round(getTimer() / 1000) - timeset);
}
if ((countdown % 60) < 10) {
showtime = (((countdown - (countdown % 60)) / 60) + ":0") + (countdown % 60);
} else {
showtime = (((countdown - (countdown % 60)) / 60) + ":") + (countdown % 60);
}
if (((((life < 10) || (countdown == 0)) || (tile >= /:level.length)) && (state == 3)) && (getProperty("/skater", _currentframe) != 17)) {
state = 10;
speed = 0;
tellTarget ("/exit") {
gotoAndPlay (2);
};
tellTarget ("/skater") {
stop();
};
}
slower++;
if (slower == 10) {
if (state == 5) {
time = time - 1;
} else if (Math.abs(speed) < (1 * state)) {
speed = 0;
} else if (0 < speed) {
speed = speed - (1 * state);
} else if (speed < 0) {
speed = speed + (1 * state);
}
slower = 0;
}
if (state == 5) {
if ((getProperty("/skater", _currentframe) == 28) && (!rightandleft)) {
gotoAndStop("/skater:1");
state = 3;
score();
if (0 < tempspeed) {
speed = -20;
} else {
speed = 20;
}
tellTarget ("/sound") {
gotoAndPlay ("land");
};
tellTarget ("/marker") {
gotoAndStop (1);
};
} else if (time == 0) {
tellTarget ("/marker") {
gotoAndStop (1);
};
speed = tempspeed;
state = 20;
fallsound();
tellTarget ("/skater") {
gotoAndPlay (30);
};
}
}
move = speed;
skatey = getProperty("/skater", _y);
if (((state == 2) || (state == 3)) && ((((15 < tileoffset) && (15 >= (tileoffset + speed))) && (((substring(/:level[tile], 1, 2)) == 1) || ((substring(/:level[tile], 1, 2)) == 14))) || (((tileoffset < 65) && ((tileoffset + speed) >= 65)) && (((substring(/:level[tile], 1, 2)) == 8) || ((substring(/:level[tile], 1, 2)) == 12))))) {
if (rightandleft) {
setProperty("/skater", _rotation , 0);
gotoAndPlay("/skater:21");
state = 5;
scoreArr[scoreArr.length] = "Handplant";
tempscore = tempscore + 20;
if (speed < 0) {
move = 15 - tileoffset;
} else {
move = 65 - tileoffset;
}
tempspeed = speed;
speed = 0;
time = 3;
tellTarget ("/marker") {
gotoAndStop ("handplant");
};
} else {
vert = 3 + (0.2 * Math.abs(speed));
tempspeed = speed;
state = 1;
if (speed < 0) {
setProperty("/skater", _rotation , 90);
if (Key.isDown(Key.LEFT) == 0) {
speed = (state = 0);
move = 15 - tileoffset;
}
} else {
setProperty("/skater", _rotation , -90);
if (Key.isDown(Key.RIGHT) == 0) {
speed = (state = 0);
move = 65 - tileoffset;
}
}
tellTarget ("/marker") {
gotoAndStop (1);
};
}
tellTarget ("/sound") {
gotoAndPlay ("jump");
};
}
if (((state < 2) || (20 < state)) && (skatey < 600)) {
skatey = skatey - vert;
if (-20 < vert) {
if (getProperty("/skater", _currentframe) == 20) {
vert = vert - 0.3;
} else {
vert = vert - 0.7;
}
}
}
if ((((tileoffset + speed) >= 80) && (((substring(/:level[tile + 1], 1, 2)) == 1) || ((substring(/:level[tile + 1], 1, 2)) == 2))) && (((260 - ((substring(/:level[tile + 1], 4, 1)) * 10)) + vertoffset) < skatey)) {
move = 79 - tileoffset;
vert = (speed = 0);
state = 30;
gotoAndStop("/skater:45");
setProperty("/skater", _rotation , 0);
fallsound();
} else if ((((tileoffset + speed) < 0) && (((substring(/:level[tile - 1], 1, 2)) == 8) || ((substring(/:level[tile - 1], 1, 2)) == 9))) && (((260 - ((substring(/:level[tile - 1], 4, 1)) * 10)) + vertoffset) < skatey)) {
move = 1 - tileoffset;
vert = (speed = 0);
state = 30;
gotoAndStop("/skater:45");
setProperty("/skater", _rotation , 0);
fallsound();
}
if ((((state < 2) || (state == 30)) && (vert < 0)) && (skatey >= (land + vertoffset))) {
if (getProperty("/skater", _y) < (land + vertoffset)) {
skatey = land + vertoffset;
}
if (state == 0) {
if (((((getProperty("/skater", _xscale) == -100) && (40 < getProperty("/skater", _rotation))) && (getProperty("/skater", _rotation) < 110)) || (((getProperty("/skater", _xscale) == 100) && (getProperty("/skater", _rotation) < -40)) && (-110 < getProperty("/skater", _rotation)))) && (getProperty("/skater", _currentframe) < 18)) {
move = (speed = -tempspeed);
setProperty("/skater", _rotation , 0);
state = 3;
score();
} else {
speed = (move = tempspeed);
setProperty("/skater", _rotation , 0);
state = 20;
fallsound();
tellTarget ("/skater") {
gotoAndPlay (30);
};
}
tellTarget ("/sound") {
gotoAndPlay ("land");
};
} else if (getProperty("/shadow", _visible) == 0) {
if (getProperty("/skater", _currentframe) != 45) {
tellTarget ("/skater") {
gotoAndStop (30);
};
}
tellTarget ("/sound") {
gotoAndPlay ("ahh");
};
setProperty("/skater", _rotation , 0);
state = 40;
life = life - 10;
tellTarget ("/life") {
gotoAndStop(9 - Math.round((/code:life / 100) * 8));
};
} else if (((getProperty("/skater", _rotation) < -40) && (0 < getProperty("/skater", _xscale))) || ((40 < getProperty("/skater", _rotation)) && (getProperty("/skater", _xscale) < 0))) {
tellTarget ("/skater") {
gotoAndPlay (30);
};
setProperty("/skater", _rotation , 0);
state = 20;
fallsound();
life = life - 5;
tellTarget ("/life") {
gotoAndStop(9 - Math.round((/code:life / 100) * 8));
};
} else if ((((40 < getProperty("/skater", _rotation)) && (0 < getProperty("/skater", _xscale))) || ((getProperty("/skater", _rotation) < -40) && (getProperty("/skater", _xscale) < 0))) || (17 < getProperty("/skater", _currentframe))) {
tellTarget ("/skater") {
gotoAndPlay (37);
};
setProperty("/skater", _rotation , 0);
state = 20;
fallsound();
life = life - 5;
tellTarget ("/life") {
gotoAndStop(9 - Math.round((/code:life / 100) * 8));
};
} else if ((getProperty("/skater", _rotation) >= -10) && (10 >= getProperty("/skater", _rotation))) {
setProperty("/skater", _rotation , 0);
state = 3;
score();
tellTarget ("/sound") {
gotoAndPlay ("land");
};
} else {
tellTarget ("/marker") {
gotoAndPlay (2);
};
state = 2;
if ((((/marker:offset - /marker:balance) < 0) && (0 < getProperty("/skater", _rotation))) || ((0 < (/marker:offset - /marker:balance)) && (getProperty("/skater", _rotation) < 0))) {
Set("/marker:offset", /marker:offset * -1);
}
Set("/marker:balance", /marker:balance * -1);
score();
scoreArr[scoreArr.length] = "Manual";
tellTarget ("/sound") {
gotoAndPlay ("land");
};
}
Tflip = (Lflip = (Rflip = 0));
BH = "";
holdup = (holddown = 1);
}
setProperty("/skater", _y , skatey);
movetiles(move);
setTileOffset(move);
drawings();
Symbol 249 MovieClip Frame 3
gotoAndPlay (2);
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 3
stop();
Symbol 269 MovieClip Frame 5
stop();
Symbol 269 MovieClip Frame 7
stop();
Symbol 269 MovieClip Frame 9
stop();
Symbol 269 MovieClip Frame 11
stop();
Symbol 269 MovieClip Frame 13
stop();
Symbol 269 MovieClip Frame 15
stop();
Symbol 269 MovieClip Frame 17
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 3
mover = random(3);
if (mover == 0) {
if (getProperty("/skater", _rotation) < 0) {
offset = offset - 1;
} else {
offset = offset + 1;
}
}
setProperty("marker", _x , (offset - balance) * 10);
if ((0 < getProperty("/skater", _rotation)) && (6 < (offset - balance))) {
if (0 < getProperty("/skater", _xscale)) {
gotoAndPlay("/skater:37");
} else {
gotoAndPlay("/skater:30");
}
/code:fallsound();
setProperty("/skater", _rotation , 0);
Set("/code:state", 20);
balance = 0;
offset = 0;
gotoAndStop (1);
} else if ((getProperty("/skater", _rotation) < 0) && ((offset - balance) < -6)) {
if (0 < getProperty("/skater", _xscale)) {
gotoAndPlay("/skater:30");
} else {
gotoAndPlay("/skater:37");
}
/code:fallsound();
setProperty("/skater", _rotation , 0);
Set("/code:state", 20);
balance = 0;
offset = 0;
gotoAndStop (1);
} else if (6 < Math.abs(offset - balance)) {
setProperty("/skater", _rotation , 0);
Set("/code:state", 3);
/code:score();
balance = 0;
offset = 0;
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 277 MovieClip Frame 5
gotoAndPlay (4);
Symbol 280 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 1
stop();