STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229494
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2575 · P5149

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/43935528?noj=FRM43935528-14DC" width="1" height="1"></div>

Ronin-Spirit of the Sword.swf

This is the info page for
Flash #11679

(Click the ID number above for more basic data on this flash file.)


Text
<P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"> </FONT></P>

Read FAQ

Ronin: Spirit of the Sword
FAQ for version 1.1
- Please complete the tutorial before trying out the rest of the game.  I am not
responsible for any frustration from anyone who whines that the sword is "hard to
use" before you take the tutorial.
- If you are easily offended by sexually explicit materials, please go into game
options and turn Adult Content off.  You'll still be playing a great game without
seeing any of the offensive materials.
- After finishing the tutorial, you can try Arena Mode if you just enjoyed the sword
fights, or Adventure Mode if you want the full dungeon crawl experience.
- For returning veterans, there are more hot keys available than those listed in the
tutorial: Use "spacebar" to search / use the space immediately to the front; press
"enter" to accept an item, press "I" to open / close the inventory, and press the
number keys 1-5 to use item 1-5 (when the inventory is open)

Loading 5124k of 5124k

Loading 5124k of 5124k

Play

CLICK TO SKIP...

the journey begins...

way of the ronin...

path of the sword.

face the unknown...

smite the darkness...

will you triumph?
or die trying?

Spirit of the Sword

Spirit of the Sword

GALLERY MODE

GAME OPTIONS

ADVENTURE MODE

ARENA MODE

TUTORIAL

HIGH SCORES

Now Loading...

Now Loading...

Now Loading...

Adjusts the current graphics quality.  Medium to Low quality is
recommended for most machines.

Automatically lowers quality of the game if the game lags.
Turning this option off can increase performance slightly.

Disables 3D background rendering during combat
to improve performance.

Turning this option on will allow the game to display
sexually explicit content intended for mature audiences only.

Accept

ON

OFF

Smoke Screen

Auto Quality Adjust

LOW

MEDIUM

HIGH

Graphics Quality

Adult Content

Select Graphics Options

Main Menu

Top Arena Contenders

5.

2.

3.

4.

6.

7.

8.

1.

Time of Death/Victory

Waves Survived

Name

Load Retry

The high score table is either busy or
down.  Please select an option below;
I am truly sorry for the inconvenience.

High Score Table Load Timeout

To make a screen capture, press the "PrintScreen" key on your keyboard,
open up any painting program, paste the image, and save it.  Then you can
click this icon to close Gallery Mode.

Click and drag to move the picture around.  The picture scales automatically to the
background and will be layered against other picture arrangements.
Double-Click a picture to flip it.  Drag the picture out of the screen to delete it.
In addition, click the background to change it.

Type in the name that you have collected and click this to summon a picture.
Once summoned, you can do the following:

In Gallery Mode, you can summon pictures of girls that you have seen
from Adventure Mode and arrange them for desktop backgrounds or just for fun.

How To Use Gallery Mode

Enter Name Here

NEW

PASSWORD

NORMAL

HARD

EXTREME

ESCAPE!

THE SEARCH

SHOWDOWN

RANDOM

Start Game

Reroll

Spirit Spells

999

999

Spirit

00

Chi

999

999

Health

00

Attack

Inventory

Confirm

Character

Current Episode

Difficulty Level

Select Mission Options

Skip Story

Next Page

Prev Page

Escape!

episode 1

The Search

episode 2

The Showdown

episode 3

......

Heads Taken

Scrolls Collected

Okay

Description

Scroll\nPart of the writings of a secret sword technique

hp+25

120

120

120

120

5

4

3

2

1

E

S

W

N

Ayame:

Write down this name
to unlock her in Gallery Mode!

You haven't completed all the
objectives yet.  Check the full map to
see what you still need to do.

Illegal
Space

Yes

No

Challenge your skill with
the sword by killing everyone
who stands in your way!
All sword skills and spirit spells
are also at your disposal.
Do you accept this challenge?

Arena Mode

00

00

00

:

Continue

Wave your hand over the
spirits to capture them and
regain health.

Usage:

Releases a host of dead
spirits and converts them
into life energy.

Description:

8 Spirit Points

Cost:

River of Souls

Once cast, the rest is
automatic.  Just wait for
it to end.

Vengeful spirits will
convert into blades
to attack ground enemies.

12 Spirit Points

Hail of Wrath

Move your hand over
your target and hold the
mouse button to fire.

Generates ghost flames
that burns the enemy.

24 Spirit Points

Searing Hands

Control the center of
the flame with your cursor,
click to fire.

A single spark of energy
tears through any living
soul into pieces.

36 Spirit Points

Icy Frozen Lightning Bolt

You learned a new spirit spell!

Mission Complete

close

Please write down this
password in order to save
your game for the next
level.  To keep the words
accurate, drag your mouse
over the text, right click
and select "copy", then
open up notepad, paste
the code, and save the
file for later use.

Next Episode

Next Difficulty Level

Password

You win!

time
wave












too white for you?

Game Over

The spirit of the sword
is calling you...
This is only a minor setback.
you must go on!

Time of Death:

Waves Survived:

0

Unknown Ronin

Enter Score

Enter High Score Name:

Unknown Ronin

Finish Time:

Victory!

CREDITS

game concept by
jamus tiberian

the rest of the game
jamus tiberian

music loop rips
rurouni kenshin
hack://sign
ddr

special thanks to
my supportive friends &
joined artist members

extended thanks to
newgrounds.com
players like you

thank you for playing!

please come back anytime
for more sword swinging action...

a dozen people were harmed
in the making of this game...
(emotionally.)

Game Controls:
Arrow Keys - Moves         Spacebar - Slashes (hold for combo)

ActionScript [AS1/AS2]

Frame 1
function Encode100(Num) { if (Num >= 100) { return("zR"); } return(chr(65 + parseInt(Num / 10)) + chr(74 + (Num % 10))); } function Encode26(Num) { return(chr(65 + Num)); } function Encode10(Num) { return(chr(90 - Num)); } function EncodeStr(Str) { var temp; temp = ""; i = 0; while (i < Str.length) { temp = temp + chr(Str.charCodeAt(i) + 5); i++; } return(Encode26(Str.length) + temp); } function EncodeNum(Num) { return(Encode26((Num - (Num % 100)) / 100) + Encode100(Num % 100)); } function CodeSet(Code) { this.c = Code; this.l = 0; } function Decode100(Code, Point) { return(parseInt(((Code.charCodeAt(Point) - 65) * 10) + (Code.charCodeAt(Point + 1) - 74))); } function Decode26(Code, Point) { return(parseInt(Code.charCodeAt(Point) - 65)); } function Decode10(Code, Point) { return(parseInt(90 - Code.charCodeAt(Point))); } function DecodeStr(Code, Point) { var temp; temp = ""; i = 0; while (i < Decode26(Code, Point)) { temp = temp + chr(Code.charCodeAt((i + Point) + 1) - 5); i++; } return(temp); } function DecodeNum(Code, Point) { return((Decode26(Code, Point) * 100) + Decode100(Code, Point + 1)); } function DecodeSet100(CS) { var p = CS.l; CS.l = CS.l + 2; return(Decode100(CS.c, p)); } function DecodeSet26(CS) { var p = CS.l; CS.l = CS.l + 1; return(Decode26(CS.c, p)); } function DecodeSet10(CS) { var p = CS.l; CS.l = CS.l + 1; return(Decode10(CS.c, p)); } function DecodeSetStr(CS) { var p = CS.l; trace(Decode26(CS.c, p) + 1); CS.l = CS.l + (Decode26(CS.c, p) + 1); return(DecodeStr(CS.c, p)); } function DecodeSetNum(CS) { var p = CS.l; CS.l = CS.l + 3; return(DecodeNum(CS.c, p)); } function DecodeSetPar(CS, ST) { var p = CS.l; CS.l++; return(Cs.c.charAt(p) == ST); } function EncodePlayer() { var temp = new String(); var i; temp = temp + Encode26(playerEpisode); temp = temp + "N"; i = 0; while (i < 4) { temp = temp + EncodeNum(playerMaxStats[i]); i++; } temp = temp + "E"; temp = temp + EncodeNum(playerCurStats[1]); temp = temp + EncodeNum(playerCurStats[3]); temp = temp + "O"; i = 0; while (i < 5) { temp = temp + Encode26(playerInventory[i] + i); i++; } temp = temp + "N"; temp = temp + Encode10(playerLevel); return(temp); } function DecodePlayer(Code) { var CS = new CodeSet(Code); var i; i = 0; while (i < Code.length) { if ((Code.charCodeAt(i) < 65) || (Code.charCodeAt(i) > 90)) { return(false); } i++; } playerEpisode = DecodeSet26(CS); if (!DecodeSetPar(CS, "N")) { return(false); } i = 0; while (i < 4) { playerMaxStats[i] = DecodeSetNum(CS); i++; } if (!DecodeSetPar(CS, "E")) { return(false); } playerCurStats[0] = playerMaxStats[0]; playerCurStats[1] = DecodeSetNum(CS); playerCurStats[2] = playerMaxStats[2]; playerCurStats[3] = DecodeSetNum(CS); if (!DecodeSetPar(CS, "O")) { return(false); } i = 0; while (i < 5) { playerInventory[i] = DecodeSet26(CS) - i; i++; } if (!DecodeSetPar(CS, "N")) { return(false); } playerLevel = DecodeSet10(CS); return(true); } function getNextLevel(cur, low, hi) { cur++; if ((cur >= hi) || (cur < low)) { return(low); } return(cur); } MAP_LOWER_LIM = 1; MAP_UPPER_LIM = 200; EOBJ_LOWER_LIM = 200; EOBJ_UPPER_LIM = 250; SHADOW_LOWER_LIM = 251; SHADOW_UPPER_LIM = 259; ATTACK_LOWER_LIM = 260; ATTACK_UPPER_LIM = 300; FX_LOWER_LIM = 300; FX_UPPER_LIM = 400; slashCount = 0; fxCount = 0; attackLevel = 0; eobjCount = 0; function generateFullMapDisplay(w, h) { FullMap.generateMapDisplay(w, h); } function updateFullMapDisplay(sx, sy, w, h) { var i; var j; var k; var displayFrame; i = 0; while (i < w) { j = 0; while (j < h) { if ((playerGrid[i][j] % 2) == 1) { if ((MapGrid[i][j] >> 4) > 0) { displayFrame = 1; } else { displayFrame = 5; } displayFrame = displayFrame + (MapGrid[i][j] % 4); } else { displayFrame = 5; if ((((i + 1) < w) && ((playerGrid[i + 1][j] % 2) == 1)) && ((MapGrid[i][j] & 1) > 0)) { displayFrame = displayFrame + 1; } if ((((j + 1) < h) && ((playerGrid[i][j + 1] % 2) == 1)) && ((MapGrid[i][j] & 2) > 0)) { displayFrame = displayFrame + 2; } } eval ((("FullMap.Grid" + i) + "-") + j).gotoAndStop(displayFrame); j++; } i++; } FullMap.setPlayerIcon(sx, sy); } function generateMapDisplay(w, h) { var i; var j; c = 1; i = 0; while (i < w) { j = 0; while (j < h) { c = getNextLevel(c, MAP_LOWER_LIM, MAP_UPPER_LIM); duplicateMovieClip ("oMapIndicator", (("Grid" + i) + "-") + j, c); eval ((("Grid" + i) + "-") + j)._x = (oMapIndicator._width * i) + DISPLAY_OFFSET_X; eval ((("Grid" + i) + "-") + j)._y = (oMapIndicator._height * j) + DISPLAY_OFFSET_Y; j++; } i++; } } function removeMapDisplay(w, h) { var i; var j; i = 0; while (i < w) { j = 0; while (j < h) { removeMovieClip((("Grid" + i) + "-") + j); j++; } i++; } } function updateMapDisplay(sx, sy, w, h) { var i; var j; var k; var displayFrame; i = 0; while (i < w) { j = 0; while (j < h) { if (!isLegalSpace(sx + i, sy + j)) { displayFrame = 1; } else { displayFrame = (Maze[sx + i][sy + j] >> 8) + 1; if ((Maze[sx + i][sy + j] % 16) > 0) { if (((Maze[sx + i][sy + j] % 16) <= 4) || ((Maze[sx + i][sy + j] % 16) == 11)) { if ((Maze[sx + i][sy + j] >> 8) == 0) { displayFrame = 13; } else { displayFrame = 9; } } else if ((Maze[sx + i][sy + j] % 16) <= 8) { displayFrame = 10; } else if ((Maze[sx + i][sy + j] >> 8) == 0) { displayFrame = 12; } else { displayFrame = 11; } } } if ((playerX == (sx + i)) && (playerY == (sy + j))) { displayFrame = displayFrame + 16; } eval ((("Grid" + i) + "-") + j).gotoAndStop(displayFrame); j++; } i++; } } c = 1; DISPLAY_OFFSET_X = 40; DISPLAY_OFFSET_Y = 20; function createSquareRoom(x, y, connections, special) { var sx = (x * ROOM_SIZE); var sy = (y * ROOM_SIZE); var wall = new Array(4); var wallCount = 0; var i; var j; i = 0; while (i < ROOM_SIZE) { j = 0; while (j < ROOM_SIZE) { Maze[sx + i][sy + j] = TILE_EMPTY; j++; } i++; } if (special > 0) { i = 0; while (i < ROOM_SIZE) { Maze[(sx + ROOM_SIZE) - 1][sy + i] = TILE_FILLED; i++; } if (((connections >> 0) % 2) != 0) { Maze[sx + 4][sy + 2] = TILE_EW_DOOR; } i = 0; while (i < ROOM_SIZE) { Maze[sx + i][(sy + ROOM_SIZE) - 1] = TILE_FILLED; i++; } if (((connections >> 1) % 2) != 0) { Maze[sx + 2][sy + 4] = TILE_NS_DOOR; } i = 0; while (i < ROOM_SIZE) { Maze[sx][sy + i] = TILE_FILLED; i++; } if (((connections >> 2) % 2) != 0) { Maze[sx + 0][sy + 2] = TILE_EW_DOOR; } i = 1; while (i < (ROOM_SIZE - 1)) { Maze[sx + i][sy] = TILE_FILLED; i++; } if (((connections >> 3) % 2) != 0) { Maze[sx + 2][sy + 0] = TILE_NS_DOOR; } } var LightType = (7 + random(2)); if (special == 1) { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + LightType; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + LightType; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + LightType; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + LightType; } else if (special == 2) { Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + OBJ_MAT; Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + OBJ_MAT; Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + OBJ_MAT; Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + OBJ_MAT; Maze[sx + 2][sy + 2] = Maze[sx + 2][sy + 2] + (OBJ_CHEST + FACING_WEST); } else { Maze[sx + 1][sy + 1] = GardenType(); Maze[sx + 1][sy + 2] = GardenType(); Maze[sx + 1][sy + 3] = GardenType(); Maze[sx + 2][sy + 1] = GardenType(); Maze[sx + 2][sy + 2] = GardenType(); Maze[sx + 2][sy + 3] = GardenType(); Maze[sx + 3][sy + 1] = GardenType(); Maze[sx + 3][sy + 2] = GardenType(); Maze[sx + 3][sy + 3] = GardenType(); Maze[sx + 2][sy + 2] = OBJ_GARDEN_LIGHT; } } function createCorridor(x, y, connections) { var sx = (x * ROOM_SIZE); var sy = (y * ROOM_SIZE); var i; var j; i = 0; while (i < ROOM_SIZE) { j = 0; while (j < ROOM_SIZE) { Maze[sx + i][sy + j] = TILE_FILLED; j++; } i++; } if ((((connections >> 0) % 2) != 0) && (((connections >> 2) % 2) != 0)) { i = 0; while (i < ROOM_SIZE) { Maze[sx + i][sy + 2] = TILE_EMPTY; i++; } } if ((((connections >> 1) % 2) != 0) && (((connections >> 3) % 2) != 0)) { i = 0; while (i < ROOM_SIZE) { Maze[sx + 2][sy + i] = TILE_EMPTY; i++; } } } function forceGridConnection(i, j, t) { var k; var l; t = t >> 4; switch (t) { case 0 : k = i + 1; l = j; break; case 1 : k = i; l = j + 1; break; case 2 : k = i - 1; l = j; break; case 3 : k = i; l = j - 1; } MapGrid[i][j] = MapGrid[i][j] + (1 << t); MapGrid[k][l] = MapGrid[k][l] + (1 << ((t + 2) % 4)); MapGrid[k][l] = (MapGrid[k][l] % 16) + ((MapGrid[i][j] >> 4) << 4); RoomCount++; } function createTutorialMap(w, h) { var i; var j; var k; var l; var t; MapGrid = new Array(w); i = 0; while (i < w) { MapGrid[i] = new Array(h); j = 0; while (j < h) { MapGrid[i][j] = 0; j++; } i++; } MapGrid[0][h - 1] = 16; MapGrid[w - 1][0] = 16; RoomCount = 2; forceGridConnection(0, 4, FACING_EAST); forceGridConnection(1, 4, FACING_EAST); forceGridConnection(2, 4, FACING_NORTH); forceGridConnection(2, 3, FACING_NORTH); forceGridConnection(2, 2, FACING_EAST); forceGridConnection(2, 2, FACING_NORTH); forceGridConnection(2, 1, FACING_NORTH); forceGridConnection(2, 0, FACING_EAST); forceGridConnection(3, 0, FACING_EAST); playerGrid = new Array(w); i = 0; while (i < w) { playerGrid[i] = new Array(h); j = 0; while (j < h) { playerGrid[i][j] = 0; j++; } i++; } playerGrid[2][0] = playerGrid[2][0] + MAP_ENEMY; playerGrid[2][0] = playerGrid[2][0] + 0; playerGrid[2][2] = playerGrid[2][2] + MAP_TRAP; playerGrid[2][2] = playerGrid[2][2] + 16; playerGrid[2][4] = playerGrid[2][4] + MAP_TRAP; playerGrid[2][4] = playerGrid[2][4] + 0; } function generateTutorialMap() { var i; var j; scrollsFound = 0; headsFound = 0; GRID_WIDTH = 5; GRID_HEIGHT = 5; Maze = new Array(GRID_WIDTH * ROOM_SIZE); i = 0; while (i < (GRID_WIDTH * ROOM_SIZE)) { Maze[i] = new Array(GRID_HEIGHT * ROOM_SIZE); j = 0; while (j < (GRID_HEIGHT * ROOM_SIZE)) { Maze[i][j] = TILE_FILLED; j++; } i++; } createTutorialMap(GRID_WIDTH, GRID_HEIGHT); createSquareRoom(0, 4, MapGrid[0][4] % 16, 1); createSquareRoom(2, 4, MapGrid[2][4] % 16, 1); createSquareRoom(2, 2, MapGrid[2][2] % 16, 0); createSquareRoom(3, 2, MapGrid[3][2] % 16, 2); createSquareRoom(2, 0, MapGrid[2][0] % 16, 1); createCorridor(1, 4, MapGrid[1][4] % 16); createCorridor(2, 1, MapGrid[2][1] % 16); createCorridor(2, 3, MapGrid[2][3] % 16); createCorridor(3, 0, MapGrid[3][0] % 16); createFinalRoom(GRID_WIDTH - 1, 0); Maze[(4 * ROOM_SIZE) + 2][2] = TILE_GARDEN; } ROOM_SIZE = 5; MISSION_TYPE = 0; TREASURE_PCT = 1; TRAP_DIFFICULTY = 1; ENEMY_DIFFICULTY = 1; ENEMY_PATROL_LEVEL = 1; SCROLLS_HIDDEN = 0; BOSSES_HIDDEN = 0; IN_GAME_TUTORIAL = false; GRID_WIDTH = 8; GRID_HEIGHT = 8; MIN_ROOM_COUNT = Math.floor((GRID_WIDTH * GRID_HEIGHT) / 2); MIN_EXTRA_CONNECTIONS = 0; MAX_EXTRA_CONNECTIONS = Math.floor((GRID_WIDTH * GRID_HEIGHT) / 50); TILE_GARDEN = 0; TILE_EW_DOOR = 1792; TILE_NS_DOOR = 1280; TILE_EMPTY = 1024; TILE_FILLED = 1536; TILE_SEARCHED = 64; FACING_EAST = 0; FACING_SOUTH = 16; FACING_WEST = 32; FACING_NORTH = 48; OBJ_GARDEN_LIGHT = 9; OBJ_MAT = 10; OBJ_SCROLL_CHEST = 11; OBJ_CHEST = 3; OBJ_BISHOJO = 12; MAP_ENEMY = 2; MAP_TRAP = 4; function Timer() { this.startTime = getTimer(); this.timeOver = function (i) { return(getTimer() > (this.startTime + i)); }; this.resetTimer = function () { this.startTime = getTimer(); }; this.getTimeDifference = function () { return(getTimer() - this.startTime); }; } function normalAngle(flashAngle) { if (flashAngle < 0) { flashAngle = 360 + flashAngle; } return(flashAngle); } function toX(angle, distance) { return(Math.round(Math.cos(((angle - 90) / 180) * Math.PI) * distance)); } function toY(angle, distance) { return(Math.round(Math.sin(((angle - 90) / 180) * Math.PI) * distance)); } function displacementAngle(xDisp, yDisp) { if (xDisp == 0) { xDisp = 0.1; } if (yDisp == 0) { yDisp = 0.1; } return(normalAngle((Math.atan2(yDisp, xDisp) / (Math.PI/180)) + 90)); } function diagonal(xDisp, yDisp) { return(Math.sqrt((xDisp * xDisp) + (yDisp * yDisp))); } function scaledDistanceX(dispX, dispY, scale) { if (dispY == 0) { dispY = 0.001; } var slope = (dispY / dispX); if (dispX > 0) { return(Math.sqrt((scale * scale) / ((slope * slope) + 1))); } return(-Math.sqrt((scale * scale) / ((slope * slope) + 1))); } function scaledDistanceY(dispX, dispY, scale) { if (dispX == 0) { dispX = 0.001; } var slope = (dispX / dispY); if (dispY > 0) { return(Math.sqrt((scale * scale) / ((slope * slope) + 1))); } return(-Math.sqrt((scale * scale) / ((slope * slope) + 1))); } function angleDifference(A, B) { var difference = Math.abs(normalAngle(A) - normalAngle(B)); if (difference > 180) { return(360 - difference); } return(difference); } function angleApproach(src, dest) { src = normalAngle(src); dest = normalAngle(dest); if (src < dest) { if ((dest - src) < 180) { return(1); } return(-1); } if ((src - dest) < 180) { return(-1); } return(1); } function verticalLineIntersect(x1, y1, x2, y2, xi, yi1, yi2) { if (x1 > x2) { var t = x1; x1 = x2; x2 = t; t = y1; y1 = y2; y2 = t; } if ((xi < x1) || (xi > x2)) { return(false); } var m = ((y2 - y1) / (x2 - x1)); var y = ((m * (xi - x1)) + y1); return((y > yi1) && (y < yi2)); } function horizontalLineIntersect(x1, y1, x2, y2, xi1, xi2, yi) { if (y1 > y2) { var t = x1; x1 = x2; x2 = t; t = y1; y1 = y2; y2 = t; } if ((yi < y1) || (yi > y2)) { return(false); } var m = ((x2 - x1) / (y2 - y1)); var x = ((m * (yi - y1)) + x1); return((x > xi1) && (x < xi2)); } function lineIntersectBox(x1, y1, x2, y2, bx, by, w, h) { if (horizontalLineIntersect(x1, y1, x2, y2, bx, bx + w, by)) { return(true); } if (horizontalLineIntersect(x1, y1, x2, y2, bx, bx + w, by + h)) { return(true); } if (verticalLineIntersect(x1, y1, x2, y2, bx, by, by + h)) { return(true); } if (verticalLineIntersect(x1, y1, x2, y2, bx + h, by, by + h)) { return(true); } return(false); } function pointIntersectBox(x1, y1, bx, by, w, h) { return((((x1 > bx) && (x1 < (bx + w))) && (y1 > by)) && (y1 < (by + h))); } function circleIntersectBox(cx, cy, r, bx, by, w, h) { var x1 = (bx - cx); var y1 = (by - cy); var x2 = ((bx + w) - cx); var y2 = ((by + h) - cy); r = r; if (x2 < 0) { if (y2 < 0) { return((r * r) > ((x2 * x2) + (y2 * y2))); } if (y1 > 0) { return((r * r) > ((x2 * x2) + (y1 * y1))); } return(r > (-x2)); } if (x1 > 0) { if (y2 < 0) { return((r * r) > ((x1 * x1) + (y2 * y2))); } if (y1 > 0) { return((r * r) > ((x1 * x1) + (y1 * y1))); } return(r > x1); } if (y2 < 0) { return(r > (-y2)); } if (y1 > 0) { return(r > y1); } return(true); } function pointIntersectCircle(x1, y1, cx, cy, r) { return(Math.sqrt(((x1 - cx) * (x1 - cx)) + ((y1 - cy) * (y1 - cy))) <= r); } smokeScreen = true; autoQuality = true; adultContent = true; playerInventory = new Array(5); i = 0; while (i < 5) { playerInventory[i] = 0; i++; } playerMaxStats = new Array(4); playerCurStats = new Array(4); i = 0; while (i < 3) { playerMaxStats[i] = 20; playerCurStats[i] = 20; i++; } playerMaxStats[3] = 0; playerMaxStats[3] = 0; playerLevel = 0; playerEpisode = 0; openingLoopPlaying = false; bishojoName = new Array(15); bishojoName[0] = "Tutorial"; bishojoName[1] = "Makoto"; bishojoName[2] = "Mai"; bishojoName[3] = "Ayame"; bishojoName[4] = "Ryoko"; bishojoName[5] = "Zelda"; bishojoName[6] = "Yuri"; bishojoName[7] = "Ren"; bishojoName[8] = "Natsumi"; bishojoName[9] = "Akari"; bishojoName[10] = "Hitomi"; bishojoName[11] = "Kanako"; bishojoName[12] = "Lara"; bishojoName[13] = "Red Fox"; bishojoName[14] = "Rei"; playerPass = null;
Frame 2
stop();
Frame 653
previousScene = "sceneMainMenu";
Frame 654
openingLoop.startLoop();
Frame 674
stop();
Frame 686
if ((selectedItem != "sceneGraphicsOptions") && (selectedItem != "sceneNewAdventure")) { openingLoop.fadeLoop(); stop(); }
Frame 691
_root.gotoAndPlay(selectedItem);
Instance of Symbol 283 MovieClip "objSmokeScreen" in Frame 692
onClipEvent (load) { if (!_root.smokeScreen) { gotoAndStop (693); } else { stop(); } }
Instance of Symbol 283 MovieClip "objAutoQuality" in Frame 692
onClipEvent (load) { if (!_root.autoQuality) { gotoAndStop (693); } else { stop(); } }
Instance of Symbol 291 MovieClip "objQuality" in Frame 692
onClipEvent (load) { if (_quality == "MEDIUM") { gotoAndStop (693); } else if (_quality == "HIGH") { gotoAndStop (694); } else { stop(); } }
Instance of Symbol 283 MovieClip "objAdultContent" in Frame 692
onClipEvent (load) { if (!_root.adultContent) { gotoAndStop (693); } else { stop(); } }
Frame 708
stop();
Frame 724
_root.gotoAndPlay(previousScene);
Frame 726
openingLoop.startLoop(); scoretable.HSTIME0 = "-100"; scoretable.filename = "scores/score.sco"; scoretable.scoresize = 8; scoretable.seed = Math.round(Math.random() * 10000); if (previousScene == "sceneEnterScore") { scoretable.action = "INSERT"; scoretable.winname = _root.roninName; scoretable.wintime = _root.roninTime; scoretable.winwave = _root.roninWave; } else { scoretable.action = "VIEW"; } scoretable.viewtype = "FLASH"; scoretable.loadVariables("http://kuiki.net/jamus_se/SamuraiHS/scores.php", "GET"); timeOutTimer = new Timer();
Frame 728
if (scoretable.HSTIME0 == "-100") { if (timeOutTimer.timeOver(15000)) { _root.gotoAndStop("scoreError"); } else { prevFrame(); play(); } } else { scoretable.renameTime(); }
Frame 742
stop();
Frame 754
openingLoop.fadeLoop(); stop();
Frame 755
_root.gotoAndPlay("sceneMainMenu");
Frame 757
stop();
Frame 775
MISSION_TYPE = 0; arenaMode = false; playerInventory[0] = 1; playerInventory[1] = 0; playerInventory[2] = 0; playerInventory[3] = 0; playerInventory[4] = 0; playerMaxStats[0] = 40; playerMaxStats[1] = 40; playerMaxStats[2] = 40; playerMaxStats[3] = 15; playerCurStats[0] = 40; playerCurStats[1] = 40; playerCurStats[2] = 40; playerCurStats[3] = 15; playerLevel = 3; playerEpisode = 0; GRID_WIDTH = 5; GRID_HEIGHT = 5; TREASURE_PCT = -1; TRAP_DIFFICULTY = 0; ENEMY_DIFFICULTY = 0; ENEMY_PATROL_LEVEL = -1; SCROLLS_HIDDEN = 0; BOSSES_HIDDEN = 0; TUTORIAL = true; IN_GAME_TUTORIAL = false; gotoScene = "sceneAdventure"; _root.gotoAndPlay(gotoScene);
Frame 789
MISSION_TYPE = 0; arenaMode = true; playerInventory[0] = 0; playerInventory[1] = 0; playerInventory[2] = 0; playerInventory[3] = 0; playerInventory[4] = 0; playerMaxStats[0] = 60; playerMaxStats[1] = 60; playerMaxStats[2] = 60; playerMaxStats[3] = 45; playerCurStats[0] = 60; playerCurStats[1] = 60; playerCurStats[2] = 60; playerCurStats[3] = 0; playerLevel = 4; playerEpisode = 0; GRID_WIDTH = 1; GRID_HEIGHT = 1; TREASURE_PCT = 0; TRAP_DIFFICULTY = 0; ENEMY_DIFFICULTY = 0; ENEMY_PATROL_LEVEL = 0; SCROLLS_HIDDEN = 0; BOSSES_HIDDEN = 0; TUTORIAL = false; IN_GAME_TUTORIAL = false; gotoScene = "sceneAdventure"; _root.gotoAndPlay(gotoScene);
Frame 805
function addToPile() { bCount++; duplicateMovieClip ("oBishojo", "bishojo" + bcount, bCount); bishojoPile[bishojoPile.length] = eval ("bishojo" + bcount); updatePile(); } function updatePile() { var temp; var i; var j; i = bishojoPile.length - 1; while (i >= 0) { j = 1; while (j < i) { if (bishojoPile[j]._y < bishojoPile[j + 1]._y) { temp = bishojoPile[j]; bishojoPile[j] = bishojoPile[j + 1]; bishojoPile[j + 1] = temp; } j++; } i--; } i = bishojoPile.length - 1; while (i >= 0) { j = 0; while (j < i) { if (bishojoPile[j].getDepth() < bishojoPile[j + 1].getDepth()) { bishojoPile[j].swapDepths(bishojoPile[j + 1]); } j++; } i--; } } someHandler = new Object(); someHandler.onMouseDown = function () { if (summonBox.hitTest(_xmouse, _ymouse, true)) { return(undefined); } var i = 0; while (i < bishojoPile.length) { if (bishojoPile[i].sprites.box.hitTest(_xmouse, _ymouse)) { bSelected = bishojoPile[i]; bOffsetX = bishojoPile[i]._x - _xmouse; bOffsetY = bishojoPile[i]._y - _ymouse; return(undefined); } i++; } if (bgPic._currentframe == bgPic._totalframes) { bgPic.gotoAndStop(2); } else { bgPic.nextFrame(); } }; someHandler.onMouseUp = function () { if (((bSelected._x < 0) || (bSelected._x > 550)) || (bSelected._y < 200)) { var i = 0; while (i < bishojoPile.length) { if (bishojoPile[i] == bSelected) { bishojoPile.splice(i, 1); removeMovieClip(bSelected._name); bSelected = null; return(undefined); } i++; } } if (!bDouble) { bDouble = true; bDoubleTimer.resetTimer(); } else { bSelected.play(); } bSelected = null; return(undefined); }; Mouse.addListener(someHandler); bishojoPile = new Array(); bDouble = false; bDoubleTimer = new Timer(); bDisable = false; bDisableTimer = new Timer(); bCount = 0; bSelected = null; bOffsetX = 0; bOffsetY = 0; gotoScene = null; nextBishojo = -1;
Instance of Symbol 418 MovieClip "bgPic" in Frame 805
onClipEvent (load) { gotoAndStop (806); }
Frame 821
bCount++; duplicateMovieClip ("sOriginal", "summonBox", 1); bishojoPile[0] = summonBox; sOriginal._visible = false;
Frame 823
if (summonBox.hitTest(_xmouse, _ymouse, true)) { bDisable = false; if (!summonBox.viewable) { summonBox.play(); } } if (((!summonBox.hitTest(_xmouse, _ymouse, true)) && (summonBox.viewable)) && (!bDisable)) { bDisable = true; bDisableTimer.resetTimer(); } if (bDisable && (bDisableTimer.timeOver(800))) { bDisable = false; summonBox.play(); } if (bSelected != null) { bSelected.moveTo(_xmouse + bOffsetX, _ymouse + bOffsetY); updatePile(); } if (bDouble && (bDoubleTimer.timeOver(400))) { bDouble = false; } if (gotoScene == null) { prevFrame(); play(); }
Frame 824
i = 0; while (i < bishojoPile.length) { bishojoPile[i].removeMovieClip(""); i++; } delete bishojoPile;
Frame 835
_root.gotoAndPlay(gotoScene);
Frame 840
function rerollStats() { playerInventory[0] = 1; playerInventory[1] = 0; playerInventory[2] = 0; playerInventory[3] = 0; playerInventory[4] = 0; playerMaxStats[0] = Math.floor(Math.random() * 15) + 20; playerMaxStats[1] = Math.floor(Math.random() * 15) + 20; playerMaxStats[2] = Math.floor(Math.random() * 15) + 20; playerMaxStats[3] = 4; playerLevel = 0; playerEpisode = 0; i = 0; while (i < 3) { playerCurStats[i] = playerMaxStats[i]; i++; } playerCurStats[3] = 0; createEpisode(); } function createEpisode() { playerPass = objCustomSetup.playerCode; levelDifficulty = Math.floor(playerEpisode / 3); MISSION_TYPE = playerEpisode % 3; updateEpisode(); } function updateEpisode() { if (levelDifficulty > Math.floor(playerEpisode / 3)) { levelDifficulty = 0; } if ((playerEpisode - (levelDifficulty * 3)) < MISSION_TYPE) { MISSION_TYPE = 0; } objDifficulty.update(levelDifficulty); objEpisode.update(MISSION_TYPE); } mapDifficulty = 0; levelDifficulty = 0; character = 0; GRID_WIDTH = 4; GRID_HEIGHT = 4; MISSION_TYPE = 0; arenaMode = false;
Frame 842
if (playerPass == null) { rerollStats(); objCustomSetup.update(0); } else { objCustomSetup.playerCode = playerPass; DecodePlayer(playerPass); createEpisode(); objCustomSetup.update(1); character = 1; objCharacter.update(character); }
Frame 857
stop();
Frame 870
if (gotoScene != "sceneGraphicsOptions") { fader.play(); stop(); }
Frame 872
if (MISSION_TYPE == 3) { GRID_WIDTH = 6 + Math.floor(Math.random() * 18); GRID_HEIGHT = 6 + Math.floor(Math.random() * 10); MAX_BISHOJO = Math.min(8, Math.floor((GRID_WIDTH * GRID_HEIGHT) / 32)); } else { switch (levelDifficulty) { case 0 : GRID_WIDTH = 8; GRID_HEIGHT = 8; MAX_BISHOJO = 3; break; case 1 : GRID_WIDTH = 12; GRID_HEIGHT = 12; MAX_BISHOJO = 6; break; case 2 : GRID_WIDTH = 24; GRID_HEIGHT = 16; MAX_BISHOJO = 8; } } if (MISSION_TYPE == 3) { switch (levelDifficulty) { case 0 : TREASURE_PCT = 3; TRAP_DIFFICULTY = 2; ENEMY_DIFFICULTY = 1; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 8; break; case 1 : TREASURE_PCT = 2; TRAP_DIFFICULTY = 3; ENEMY_DIFFICULTY = 2; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 12; break; case 2 : TREASURE_PCT = 2; TRAP_DIFFICULTY = 4; ENEMY_DIFFICULTY = 3; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 12; } } else { switch (levelDifficulty + (MISSION_TYPE * 3)) { case 0 : TREASURE_PCT = 2; TRAP_DIFFICULTY = 1; ENEMY_DIFFICULTY = 1; ENEMY_PATROL_LEVEL = 2; BEST_BISHOJO = 3; break; case 3 : TREASURE_PCT = 2; TRAP_DIFFICULTY = 1; ENEMY_DIFFICULTY = 1; ENEMY_PATROL_LEVEL = 3; BEST_BISHOJO = 6; break; case 6 : TREASURE_PCT = 1; TRAP_DIFFICULTY = 2; ENEMY_DIFFICULTY = 1; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 9; break; case 1 : TREASURE_PCT = 2; TRAP_DIFFICULTY = 2; ENEMY_DIFFICULTY = 2; ENEMY_PATROL_LEVEL = 2; BEST_BISHOJO = 6; break; case 4 : TREASURE_PCT = 2; TRAP_DIFFICULTY = 2; ENEMY_DIFFICULTY = 2; ENEMY_PATROL_LEVEL = 3; BEST_BISHOJO = 9; break; case 7 : TREASURE_PCT = 1; TRAP_DIFFICULTY = 3; ENEMY_DIFFICULTY = 2; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 12; break; case 2 : TREASURE_PCT = 1; TRAP_DIFFICULTY = 3; ENEMY_DIFFICULTY = 3; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 12; break; case 5 : TREASURE_PCT = 1; TRAP_DIFFICULTY = 4; ENEMY_DIFFICULTY = 3; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 12; break; case 8 : TREASURE_PCT = 0; TRAP_DIFFICULTY = 4; ENEMY_DIFFICULTY = 3; ENEMY_PATROL_LEVEL = 4; BEST_BISHOJO = 12; } } SCROLLS_HIDDEN = 0; BOSSES_HIDDEN = 0; switch (MISSION_TYPE) { case 1 : SCROLLS_HIDDEN = (levelDifficulty * 2) + 1; break; case 2 : BOSSES_HIDDEN = 1; break; case 3 : SCROLLS_HIDDEN = Math.floor(Math.random() * 3); BOSSES_HIDDEN = Math.floor(Math.random() * 2); } _root.gotoAndPlay(gotoScene);
Frame 873
function advanceStory() { aLock = false; if (goForward) { pages.nextFrame(); } else { pages.prevFrame(); } } function endStory() { if (goForward) { fadeScreen.stop(); _root.play(); } else if (pages._currentframe != 1) { pages.nextFrame(); } } goForward = true; aLock = false;
Frame 874
openingLoop.startLoop(); if (MISSION_TYPE == 3) { if (preMission) { _root.gotoAndPlay("sceneAdventure"); } else { _root.gotoAndPlay("sceneFinishLevel"); } } else { var gotoPage = new String(); if (preMission) { gotoScene = "sceneAdventure"; gotoPage = ("m" + MISSION_TYPE) + "p"; } else { gotoScene = "sceneFinishLevel"; gotoPage = "m" + MISSION_TYPE; } if (adultContent) { gotoPage = gotoPage + "h"; } pages.gotoAndStop(gotoPage); }
Frame 890
stop();
Frame 903
openingLoop.fadeLoop(); stop();
Frame 904
TUTORIAL = false; IN_GAME_TUTORIAL = false; _root.gotoAndPlay(gotoScene);
Frame 905
function AddTreasure() { return((Math.random() * 6) < TREASURE_PCT); } function TreasureType() { var result = (1 + Math.floor(Math.random() * 3)); if (result == 3) { result = 4; } if (Math.random() < 0.75) { return(result); } return(3); } function GardenType() { if (Math.random() < 0.4) { return(TILE_GARDEN); } return((2 + random(2)) << 8); } function createOpeningRoom(x, y) { var sx = (x * ROOM_SIZE); var sy = (y * ROOM_SIZE); var connections = (MapGrid[x][y] % 16); var i; var j; i = 0; while (i < ROOM_SIZE) { j = 0; while (j < ROOM_SIZE) { Maze[sx + i][sy + j] = TILE_EMPTY; j++; } i++; } i = 0; while (i < ROOM_SIZE) { Maze[sx + i][sy] = TILE_FILLED; Maze[sx + i][sy + 1] = TILE_FILLED; Maze[sx + 3][sy + i] = TILE_FILLED; Maze[sx + 4][sy + i] = TILE_FILLED; i++; } if (((connections >> 0) % 2) != 0) { Maze[sx + 4][sy + 2] = TILE_EMPTY; Maze[sx + 3][sy + 2] = TILE_EW_DOOR; } if (((connections >> 3) % 2) != 0) { Maze[sx + 2][sy + 0] = TILE_EMPTY; Maze[sx + 2][sy + 1] = TILE_NS_DOOR; } var LightType = (7 + random(2)); if (MISSION_TYPE == 0) { Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + LightType; Maze[sx][sy + 2] = TILE_FILLED; Maze[sx][sy + 3] = TILE_FILLED; Maze[sx][sy + 4] = TILE_FILLED; Maze[sx + 1][sy + 4] = TILE_FILLED; Maze[sx + 2][sy + 4] = TILE_FILLED; } else { i = 0; while (i < 2) { j = 3; while (j < ROOM_SIZE) { Maze[sx + i][sy + j] = GardenType(); j++; } i++; } Maze[sx + 1][sy + 3] = OBJ_GARDEN_LIGHT; } } function createFinalRoom(x, y) { var sx = (x * ROOM_SIZE); var sy = (y * ROOM_SIZE); i = 0; while (i < ROOM_SIZE) { j = 0; while (j < ROOM_SIZE) { Maze[sx + i][sy + j] = GardenType(); j++; } i++; } i = 0; while (i < ROOM_SIZE) { Maze[sx + i][(sy + ROOM_SIZE) - 1] = TILE_EMPTY; i++; } i = 0; while (i < ROOM_SIZE) { Maze[sx][sy + i] = TILE_EMPTY; i++; } Maze[sx + 2][sy + 2] = (TILE_GARDEN + OBJ_BISHOJO) + TILE_SEARCHED; } function createRoom(x, y, connections, roomType) { var sx = (x * ROOM_SIZE); var sy = (y * ROOM_SIZE); var wall = new Array(4); var wallCount = 0; var i; var j; i = 0; while (i < ROOM_SIZE) { j = 0; while (j < ROOM_SIZE) { Maze[sx + i][sy + j] = TILE_EMPTY; j++; } i++; } if (((connections >> 0) % 2) == 0) { wall[0] = true; wallCount++; i = 0; while (i < ROOM_SIZE) { Maze[(sx + ROOM_SIZE) - 1][sy + i] = TILE_FILLED; i++; } } if (((connections >> 1) % 2) == 0) { wall[1] = true; wallCount++; i = 0; while (i < ROOM_SIZE) { Maze[sx + i][(sy + ROOM_SIZE) - 1] = TILE_FILLED; i++; } } if (((connections >> 2) % 2) == 0) { wall[2] = true; wallCount++; i = 0; while (i < ROOM_SIZE) { Maze[sx][sy + i] = TILE_FILLED; i++; } } if (((connections >> 3) % 2) == 0) { wall[3] = true; wallCount++; i = 0; while (i < ROOM_SIZE) { Maze[sx + i][sy] = TILE_FILLED; i++; } } var AddLight = (Math.random() < 0.33); var AddGarden = (Math.random() < 0.33); var AddGardenLight = (Math.random() < 0.33); var CloseWalls = (Math.random() < 0.2); var RoomStyle = Math.floor(Math.random() * 2); var LightType = (7 + Math.floor(Math.random() * 2)); var StoveType = (5 + Math.floor(Math.random() * 2)); if (wallCount <= 1) { Maze[sx][sy] = TILE_FILLED; Maze[sx + 1][sy] = TILE_FILLED; Maze[sx][sy + 1] = TILE_FILLED; Maze[sx + 1][sy + 1] = TILE_FILLED; Maze[sx + 3][sy] = TILE_FILLED; Maze[sx + 4][sy] = TILE_FILLED; Maze[sx + 3][sy + 1] = TILE_FILLED; Maze[sx + 4][sy + 1] = TILE_FILLED; Maze[sx][sy + 3] = TILE_FILLED; Maze[sx][sy + 4] = TILE_FILLED; Maze[sx + 1][sy + 3] = TILE_FILLED; Maze[sx + 1][sy + 4] = TILE_FILLED; Maze[sx + 3][sy + 3] = TILE_FILLED; Maze[sx + 4][sy + 3] = TILE_FILLED; Maze[sx + 3][sy + 4] = TILE_FILLED; Maze[sx + 4][sy + 4] = TILE_FILLED; if (RoomStyle == 0) { if (wall[0]) { if (AddLight) { Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + LightType; } else if (AddTreasure()) { Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + (TreasureType() + FACING_WEST); } else { Maze[sx + 3][sy + 2] = TILE_FILLED; } } if (wall[1]) { if (AddLight) { Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + LightType; } else if (AddTreasure()) { Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + (TreasureType() + FACING_NORTH); } else { Maze[sx + 2][sy + 3] = TILE_FILLED; } } if (wall[2]) { if (AddLight) { Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + LightType; } else if (AddTreasure()) { Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + (TreasureType() + FACING_EAST); } else { Maze[sx + 1][sy + 2] = TILE_FILLED; } } if (wall[3]) { if (AddLight) { Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + LightType; } else if (AddTreasure()) { Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + (TreasureType() + FACING_SOUTH); } else { Maze[sx + 2][sy + 1] = TILE_FILLED; } } } else { if (AddLight) { if ((!wall[2]) && (!wall[3])) { Maze[sx + 1][sy + 1] = TILE_EMPTY + LightType; } if ((!wall[3]) && (!wall[0])) { Maze[sx + 3][sy + 1] = TILE_EMPTY + LightType; } if ((!wall[0]) && (!wall[1])) { Maze[sx + 3][sy + 3] = TILE_EMPTY + LightType; } if ((!wall[1]) && (!wall[2])) { Maze[sx + 1][sy + 3] = TILE_EMPTY + LightType; } } if (wall[0]) { Maze[sx + 3][sy + 2] = TILE_FILLED; } if (wall[1]) { Maze[sx + 2][sy + 3] = TILE_FILLED; } if (wall[2]) { Maze[sx + 1][sy + 2] = TILE_FILLED; } if (wall[3]) { Maze[sx + 2][sy + 1] = TILE_FILLED; } } } if (wallCount == 2) { if (wall[0] && (wall[2])) { if (AddLight) { if (((x + y) % 2) == 0) { Maze[sx + 1][sy + 0] = Maze[sx + 1][sy + 0] + LightType; Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + LightType; Maze[sx + 1][sy + 4] = Maze[sx + 1][sy + 4] + LightType; Maze[sx + 3][sy + 0] = Maze[sx + 3][sy + 0] + LightType; Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + LightType; Maze[sx + 3][sy + 4] = Maze[sx + 3][sy + 4] + LightType; if (CloseWalls) { Maze[sx + 1][sy + 1] = TILE_FILLED; Maze[sx + 1][sy + 3] = TILE_FILLED; Maze[sx + 3][sy + 1] = TILE_FILLED; Maze[sx + 3][sy + 3] = TILE_FILLED; } } else { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + LightType; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + LightType; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + LightType; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + LightType; if (CloseWalls) { Maze[sx + 1][sy + 0] = TILE_FILLED; Maze[sx + 1][sy + 2] = TILE_FILLED; Maze[sx + 1][sy + 4] = TILE_FILLED; Maze[sx + 3][sy + 0] = TILE_FILLED; Maze[sx + 3][sy + 2] = TILE_FILLED; Maze[sx + 3][sy + 4] = TILE_FILLED; if (roomStyle == 0) { Maze[sx + 2][sy + 2] = TILE_NS_DOOR; } } else if (AddTreasure()) { if (random(2) == 0) { Maze[sx + 1][sy + 2] = (TILE_EMPTY + TreasureType()) + FACING_EAST; } else { Maze[sx + 3][sy + 2] = (TILE_EMPTY + TreasureType()) + FACING_WEST; } } } } else if (CloseWalls) { i = 0; while (i < 5) { Maze[sx + 1][sy + i] = TILE_FILLED; Maze[sx + 3][sy + i] = TILE_FILLED; i++; } if (roomStyle == 0) { Maze[sx + 2][sy + 2] = TILE_NS_DOOR; } } else { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + OBJ_MAT; Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + OBJ_MAT; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + OBJ_MAT; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + OBJ_MAT; Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + OBJ_MAT; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + OBJ_MAT; if (AddTreasure()) { if (random(2) == 0) { Maze[sx + 1][sy + 2] = (TILE_EMPTY + TreasureType()) + FACING_EAST; } else { Maze[sx + 3][sy + 2] = (TILE_EMPTY + TreasureType()) + FACING_WEST; } } } } else if (wall[1] && (wall[3])) { if (AddLight) { if (((x + y) % 2) == 0) { Maze[sx + 0][sy + 1] = Maze[sx + 0][sy + 1] + LightType; Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + LightType; Maze[sx + 4][sy + 1] = Maze[sx + 4][sy + 1] + LightType; Maze[sx + 0][sy + 3] = Maze[sx + 0][sy + 3] + LightType; Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + LightType; Maze[sx + 4][sy + 3] = Maze[sx + 4][sy + 3] + LightType; if (CloseWalls) { Maze[sx + 1][sy + 1] = TILE_FILLED; Maze[sx + 3][sy + 1] = TILE_FILLED; Maze[sx + 1][sy + 3] = TILE_FILLED; Maze[sx + 3][sy + 3] = TILE_FILLED; } } else { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + LightType; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + LightType; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + LightType; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + LightType; if (CloseWalls) { Maze[sx + 0][sy + 1] = TILE_FILLED; Maze[sx + 2][sy + 1] = TILE_FILLED; Maze[sx + 4][sy + 1] = TILE_FILLED; Maze[sx + 0][sy + 3] = TILE_FILLED; Maze[sx + 2][sy + 3] = TILE_FILLED; Maze[sx + 4][sy + 3] = TILE_FILLED; if (roomStyle == 0) { Maze[sx + 2][sy + 2] = TILE_EW_DOOR; } } else if (AddTreasure()) { if (random(2) == 0) { Maze[sx + 2][sy + 1] = (TILE_EMPTY + TreasureType()) + FACING_SOUTH; } else { Maze[sx + 2][sy + 3] = (TILE_EMPTY + TreasureType()) + FACING_NORTH; } } } } else if (CloseWalls) { i = 0; while (i < 5) { Maze[sx + i][sy + 1] = TILE_FILLED; Maze[sx + i][sy + 3] = TILE_FILLED; i++; } if (roomStyle == 0) { Maze[sx + 2][sy + 2] = TILE_EW_DOOR; } } else { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + OBJ_MAT; Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + OBJ_MAT; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + OBJ_MAT; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + OBJ_MAT; Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + OBJ_MAT; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + OBJ_MAT; if (AddTreasure()) { if (random(2) == 0) { Maze[sx + 2][sy + 1] = (TILE_EMPTY + TreasureType()) + FACING_SOUTH; } else { Maze[sx + 2][sy + 3] = (TILE_EMPTY + TreasureType()) + FACING_NORTH; } } } } else { if (AddLight) { if (!(wall[0] && (wall[1]))) { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + LightType; } if (!(wall[1] && (wall[2]))) { Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + LightType; } if (!(wall[2] && (wall[3]))) { Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + LightType; } if (!(wall[3] && (wall[0]))) { Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + LightType; } } else if (AddTreasure()) { if (wall[0] && (wall[1])) { Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + (TreasureType() + FACING_NORTH); Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + OBJ_MAT; Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + OBJ_MAT; } if (wall[1] && (wall[2])) { Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + (TreasureType() + FACING_EAST); Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + OBJ_MAT; Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + OBJ_MAT; } if (wall[2] && (wall[3])) { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + (TreasureType() + FACING_SOUTH); Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + OBJ_MAT; Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + OBJ_MAT; } if (wall[3] && (wall[0])) { Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + (TreasureType() + FACING_WEST); Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + OBJ_MAT; Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + OBJ_MAT; } } if (wall[0] && (wall[1])) { if (AddGarden) { Maze[sx][sy] = GardenType(); Maze[sx + 1][sy] = GardenType(); Maze[sx][sy + 1] = GardenType(); Maze[sx + 1][sy + 1] = GardenType(); if (AddGardenLight) { Maze[sx + 1][sy + 1] = OBJ_GARDEN_LIGHT; } else if (AddTreasure()) { Maze[sx + 1][sy + 1] = TreasureType() + FACING_EAST; } } else { Maze[sx][sy] = TILE_FILLED; Maze[sx + 1][sy] = TILE_FILLED; Maze[sx][sy + 1] = TILE_FILLED; if (AddTreasure()) { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + (TreasureType() + FACING_EAST); } else { Maze[sx + 1][sy + 1] = TILE_FILLED; } } } if (wall[1] && (wall[2])) { if (AddGarden) { Maze[sx + 3][sy] = GardenType(); Maze[sx + 4][sy] = GardenType(); Maze[sx + 3][sy + 1] = GardenType(); Maze[sx + 4][sy + 1] = GardenType(); if (AddGardenLight) { Maze[sx + 3][sy + 1] = OBJ_GARDEN_LIGHT; } else if (AddTreasure()) { Maze[sx + 3][sy + 1] = TreasureType() + FACING_SOUTH; } } else { Maze[sx + 3][sy] = TILE_FILLED; Maze[sx + 4][sy] = TILE_FILLED; Maze[sx + 4][sy + 1] = TILE_FILLED; if (AddTreasure()) { Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + (TreasureType() + FACING_SOUTH); } else { Maze[sx + 3][sy + 1] = TILE_FILLED; } } } if (wall[2] && (wall[3])) { if (AddGarden) { Maze[sx + 3][sy + 3] = GardenType(); Maze[sx + 4][sy + 3] = GardenType(); Maze[sx + 3][sy + 4] = GardenType(); Maze[sx + 4][sy + 4] = GardenType(); if (AddGardenLight) { Maze[sx + 3][sy + 3] = OBJ_GARDEN_LIGHT; } else if (AddTreasure()) { Maze[sx + 3][sy + 3] = TreasureType() + FACING_WEST; } } else { Maze[sx + 3][sy + 4] = TILE_FILLED; Maze[sx + 4][sy + 3] = TILE_FILLED; Maze[sx + 4][sy + 4] = TILE_FILLED; if (AddTreasure()) { Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + (TreasureType() + FACING_WEST); } else { Maze[sx + 3][sy + 3] = TILE_FILLED; } } } if (wall[3] && (wall[0])) { if (AddGarden) { Maze[sx][sy + 3] = GardenType(); Maze[sx][sy + 4] = GardenType(); Maze[sx + 1][sy + 3] = GardenType(); Maze[sx + 1][sy + 4] = GardenType(); if (AddGardenLight) { Maze[sx + 1][sy + 3] = OBJ_GARDEN_LIGHT; } else if (AddTreasure()) { Maze[sx + 1][sy + 3] = TreasureType() + FACING_NORTH; } } else { Maze[sx][sy + 4] = TILE_FILLED; Maze[sx + 1][sy + 4] = TILE_FILLED; Maze[sx][sy + 3] = TILE_FILLED; if (AddTreasure()) { Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + (TreasureType() + FACING_NORTH); } else { Maze[sx + 1][sy + 3] = TILE_FILLED; } } } if (CloseWalls) { if (wall[0]) { i = 0; while (i < 5) { Maze[sx + 3][sy + i] = TILE_FILLED; i++; } } if (wall[1]) { i = 0; while (i < 5) { Maze[sx + i][sy + 3] = TILE_FILLED; i++; } } if (wall[2]) { i = 0; while (i < 5) { Maze[sx + 1][sy + i] = TILE_FILLED; i++; } } if (wall[3]) { i = 0; while (i < 5) { Maze[sx + i][sy + 1] = TILE_FILLED; i++; } } } } } if (wallCount == 3) { if (roomType == 3) { if (!wall[0]) { Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + (OBJ_SCROLL_CHEST + FACING_EAST); Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + OBJ_MAT; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + OBJ_MAT; } if (!wall[1]) { Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + (OBJ_SCROLL_CHEST + FACING_SOUTH); Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + OBJ_MAT; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + OBJ_MAT; } if (!wall[2]) { Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + (OBJ_SCROLL_CHEST + FACING_WEST); Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + OBJ_MAT; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + OBJ_MAT; } if (!wall[3]) { Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + (OBJ_SCROLL_CHEST + FACING_NORTH); Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + OBJ_MAT; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + OBJ_MAT; } } else if (roomType == 4) { if ((!wall[0]) || (!wall[2])) { Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + (OBJ_CHEST + FACING_SOUTH); Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + (OBJ_CHEST + FACING_SOUTH); Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + (OBJ_CHEST + FACING_SOUTH); Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + (OBJ_CHEST + FACING_NORTH); Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + (OBJ_CHEST + FACING_NORTH); Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + (OBJ_CHEST + FACING_NORTH); } if ((!wall[1]) || (!wall[3])) { Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + (OBJ_CHEST + FACING_EAST); Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + (OBJ_CHEST + FACING_EAST); Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + (OBJ_CHEST + FACING_EAST); Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + (OBJ_CHEST + FACING_WEST); Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + (OBJ_CHEST + FACING_WEST); Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + (OBJ_CHEST + FACING_WEST); } } else if (AddGarden) { Maze[sx + 1][sy + 1] = GardenType(); Maze[sx + 1][sy + 2] = GardenType(); Maze[sx + 1][sy + 3] = GardenType(); Maze[sx + 2][sy + 1] = GardenType(); Maze[sx + 2][sy + 2] = GardenType(); Maze[sx + 2][sy + 3] = GardenType(); Maze[sx + 3][sy + 1] = GardenType(); Maze[sx + 3][sy + 2] = GardenType(); Maze[sx + 3][sy + 3] = GardenType(); if (AddGardenLight) { Maze[(sx + 1) + random(3)][(sy + 1) + random(3)] = OBJ_GARDEN_LIGHT; } else if (bishojoCount < MAX_BISHOJO) { var objToAdd = (OBJ_BISHOJO + (bishojoCount % 4)); if (bishojoCount >= 4) { objToAdd = objToAdd + 128; } bishojoCount++; if (!wall[0]) { Maze[sx + 1][sy + 2] = objToAdd; } if (!wall[1]) { Maze[sx + 2][sy + 1] = objToAdd; } if (!wall[2]) { Maze[sx + 3][sy + 2] = objToAdd; } if (!wall[3]) { Maze[sx + 2][sy + 3] = objToAdd; } } else if (AddTreasure() || (AddTreasure())) { if (!wall[0]) { Maze[sx + 1][sy + 2] = TreasureType(); Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + FACING_EAST; } if (!wall[1]) { Maze[sx + 2][sy + 1] = TreasureType(); Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + FACING_SOUTH; } if (!wall[2]) { Maze[sx + 3][sy + 2] = TreasureType(); Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + FACING_WEST; } if (!wall[3]) { Maze[sx + 2][sy + 3] = TreasureType(); Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + FACING_NORTH; } } if (!wall[0]) { Maze[sx + 3][sy + 2] = TILE_GARDEN; } if (!wall[1]) { Maze[sx + 2][sy + 3] = TILE_GARDEN; } if (!wall[2]) { Maze[sx + 1][sy + 2] = TILE_GARDEN; } if (!wall[3]) { Maze[sx + 2][sy + 1] = TILE_GARDEN; } } else if (Math.random() < 0.7) { if (AddLight) { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + LightType; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + LightType; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + LightType; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + LightType; } else { Maze[sx + 1][sy + 1] = Maze[sx + 1][sy + 1] + OBJ_MAT; Maze[sx + 1][sy + 3] = Maze[sx + 1][sy + 3] + OBJ_MAT; Maze[sx + 3][sy + 1] = Maze[sx + 3][sy + 1] + OBJ_MAT; Maze[sx + 3][sy + 3] = Maze[sx + 3][sy + 3] + OBJ_MAT; } if (wall[2] && (AddTreasure() || (!wall[0]))) { Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + TreasureType(); Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + FACING_EAST; } if (wall[3] && (AddTreasure() || (!wall[1]))) { Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + TreasureType(); Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + FACING_SOUTH; } if (wall[0] && (AddTreasure() || (!wall[2]))) { Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + TreasureType(); Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + FACING_WEST; } if (wall[1] && (AddTreasure() || (!wall[3]))) { Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + TreasureType(); Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + FACING_NORTH; } } else { Maze[sx + 2][sy + 2] = Maze[sx + 2][sy + 2] + (StoveType + (random(4) << 4)); Maze[sx + 1][sy + 2] = Maze[sx + 1][sy + 2] + OBJ_MAT; Maze[sx + 2][sy + 1] = Maze[sx + 2][sy + 1] + OBJ_MAT; Maze[sx + 3][sy + 2] = Maze[sx + 3][sy + 2] + OBJ_MAT; Maze[sx + 2][sy + 3] = Maze[sx + 2][sy + 3] + OBJ_MAT; } if (!wall[0]) { i = 0; while (i < ROOM_SIZE) { if (i != Math.floor(ROOM_SIZE / 2)) { Maze[sx + 4][sy + i] = TILE_FILLED; } i++; } Maze[sx + 4][sy + 2] = TILE_EW_DOOR; } if (!wall[1]) { i = 0; while (i < ROOM_SIZE) { if (i != Math.floor(ROOM_SIZE / 2)) { Maze[sx + i][sy + 4] = TILE_FILLED; } i++; } Maze[sx + 2][sy + 4] = TILE_NS_DOOR; } if (!wall[2]) { i = 0; while (i < ROOM_SIZE) { if (i != Math.floor(ROOM_SIZE / 2)) { Maze[sx + 0][sy + i] = TILE_FILLED; } i++; } Maze[sx + 0][sy + 2] = TILE_EW_DOOR; } if (!wall[3]) { i = 0; while (i < ROOM_SIZE) { if (i != Math.floor(ROOM_SIZE / 2)) { Maze[sx + i][sy + 0] = TILE_FILLED; } i++; } Maze[sx + 2][sy + 0] = TILE_NS_DOOR; } } } function makeGridConnection(w, h) { do { i = Math.floor(Math.random() * w); j = Math.floor(Math.random() * h); } while ((MapGrid[i][j] >> 4) == 0); t = random(4); switch (t) { case 0 : k = i + 1; l = j; break; case 1 : k = i; l = j + 1; break; case 2 : k = i - 1; l = j; break; case 3 : k = i; l = j - 1; } if ((((k < 0) || (k == w)) || (l < 0)) || (l == h)) { return(undefined); } if (((MapGrid[i][j] >> 4) != (MapGrid[k][l] >> 4)) || (MapConnects && (ExtraConnections < MAX_EXTRA_CONNECTIONS))) { if (((MapGrid[i][j] >> t) % 2) == 0) { if ((MapGrid[i][j] >> 4) == (MapGrid[k][l] >> 4)) { ExtraConnections++; } MapGrid[i][j] = MapGrid[i][j] + (1 << t); MapGrid[k][l] = MapGrid[k][l] + (1 << ((t + 2) % 4)); if (((MapGrid[i][j] >> 4) > 0) && ((MapGrid[k][l] >> 4) > 0)) { MapConnects = true; } else { MapGrid[k][l] = (MapGrid[k][l] % 16) + ((MapGrid[i][j] >> 4) << 4); RoomCount++; } } } } function findScrollRoom(w, h) { var i; var j; i = Math.floor(((Math.random() * w) / 2) + (w / 2)); j = Math.floor((Math.random() * h) / 2); if ((i == (w - 1)) && (j == 0)) { return(undefined); } if ((((((MapGrid[i][j] % 16) == 1) || ((MapGrid[i][j] % 16) == 2)) || ((MapGrid[i][j] % 16) == 4)) || ((MapGrid[i][j] % 16) == 8)) && ((MapGrid[i][j] >> 4) < 3)) { MapGrid[i][j] = (MapGrid[i][j] % 16) + 48; scrollCount++; } } function findBossRoom(w, h) { var i; var j; i = Math.floor(((Math.random() * w) / 2) + (w / 2)); j = Math.floor((Math.random() * h) / 2); if ((i == (w - 1)) && (j == 0)) { return(undefined); } if ((((((MapGrid[i][j] % 16) == 1) || ((MapGrid[i][j] % 16) == 2)) || ((MapGrid[i][j] % 16) == 4)) || ((MapGrid[i][j] % 16) == 8)) && ((MapGrid[i][j] >> 4) < 3)) { MapGrid[i][j] = (MapGrid[i][j] % 16) + 64; headCount++; } } function createMapGrid(w, h) { var i; var j; var k; var l; var t; MapGrid = new Array(w); i = 0; while (i < w) { MapGrid[i] = new Array(h); j = 0; while (j < h) { MapGrid[i][j] = 0; j++; } i++; } MapGrid[0][h - 1] = 16; MapGrid[w - 1][0] = 32; MapConnects = false; RoomCount = 2; ExtraConnections = 0; while (((!MapConnects) || (RoomCount < MIN_ROOM_COUNT)) || (ExtraConnections < MIN_EXTRA_CONNECTIONS)) { makeGridConnection(w, h); } scrollCount = 0; var trial = 0; while ((scrollCount < SCROLLS_HIDDEN) && (trial < 10000)) { findScrollRoom(w, h); trial++; } SCROLLS_HIDDEN = scrollCount; headCount = 0; trial = 0; while ((headCount < BOSSES_HIDDEN) && (trial < 10000)) { findBossRoom(w, h); trial++; } BOSSES_HIDDEN = headCount; } function createPlayerGrid(w, h) { var i; var j; var n; playerGrid = new Array(w); i = 0; while (i < w) { playerGrid[i] = new Array(h); j = 0; while (j < h) { n = 0; if ((MapGrid[i][j] >> 4) == 3) { n = n + (MAP_ENEMY + 48); } else if ((MapGrid[i][j] >> 4) == 4) { n = n + (MAP_ENEMY + 64); } else if (Math.random() < 0.25) { n = n + MAP_ENEMY; n = n + (Math.floor(Math.random() * ENEMY_PATROL_LEVEL) << 4); } else if (Math.random() < 0.25) { n = n + MAP_TRAP; n = n + ((Math.floor(Math.random() * TRAP_DIFFICULTY) + 1) << 4); } if ((i == (w - 1)) && (j == 0)) { playerGrid[i][j] = 0; } else { playerGrid[i][j] = n; } j++; } i++; } } function generateMap() { var i; var j; scrollsFound = 0; headsFound = 0; Maze = new Array(GRID_WIDTH * ROOM_SIZE); MIN_ROOM_COUNT = Math.floor((GRID_WIDTH * GRID_HEIGHT) / 2); MIN_EXTRA_CONNECTIONS = 0; MAX_EXTRA_CONNECTIONS = Math.floor((GRID_WIDTH * GRID_HEIGHT) / 50); i = 0; while (i < (GRID_WIDTH * ROOM_SIZE)) { Maze[i] = new Array(GRID_HEIGHT * ROOM_SIZE); j = 0; while (j < (GRID_HEIGHT * ROOM_SIZE)) { Maze[i][j] = TILE_FILLED; j++; } i++; } createMapGrid(GRID_WIDTH, GRID_HEIGHT); createPlayerGrid(GRID_WIDTH, GRID_HEIGHT); if (!adultContent) { MAX_BISHOJO = 0; } bishojoCount = 0; bishojoStock = new Array(MAX_BISHOJO); i = 0; while (i < MAX_BISHOJO) { do { wasUsed = false; bishojoStock[i] = Math.floor(Math.random() * BEST_BISHOJO); j = 0; while (j < i) { if (bishojoStock[i] == bishojoStock[j]) { wasUsed = true; } j++; } } while (wasUsed); i++; } i = GRID_WIDTH - 1; while (i >= 0) { j = 0; while (j < GRID_HEIGHT) { if ((((MapGrid[i][j] >> 4) != 0) && (!((i == (GRID_WIDTH - 1)) && (j == 0)))) && (!((i == 0) && (j == (GRID_HEIGHT - 1))))) { createRoom(i, j, MapGrid[i][j] % 16, MapGrid[i][j] >> 4); } j++; } i--; } createOpeningRoom(0, GRID_HEIGHT - 1); createFinalRoom(GRID_WIDTH - 1, 0); } function continueTutorial(msgType) { if (contType == CONTINUE_SELECT_TUTORIAL) { } if (msgType == contType) { if ((msgType != CONTINUE_COORDINATE) || (((msgType == CONTINUE_COORDINATE) && (playerX == CONTINUE_X)) && (playerY == CONTINUE_Y))) { nextTutorial(); } } } function nextTutorial() { var ReiAction = "talk"; var msg = null; worldReiPointer.pointToNothing(); contType = CONTINUE_MESSAGE_END; tutLevel++; switch (tutLevel) { case 1 : msg = "Are you ready to go through this training level? "; msg = msg + "Let's finish it together!"; break; case 2 : msg = "First of all, let's go over some basics on movement. "; msg = msg + "Try moving your cursor around the screen."; break; case 3 : msg = "The red arrow indicates the turn/move direction. "; msg = msg + "Try turning around now."; tutorialTurnLock = false; tutLevel++; break; case 5 : msg = "The mini-map to the upper left corner has a "; msg = msg + "compass... and more. Click it now."; worldReiPointer.pointToObject("worldAutoMap"); contType = CONTINUE_MAP_OPEN; break; case 6 : msg = "The mini map displays details of the area around you. "; msg = msg + "You can open or close the map by pressing 'M'."; break; case 7 : msg = "Let's move on, shall we? Head toward the exit to the East. "; msg = msg + "Use the mini-map to guide you if you're lost."; contType = CONTINUE_COORDINATE; ReiAction = "stand"; tutorialMoveLock = false; CONTINUE_X = 3; CONTINUE_Y = 22; break; case 8 : msg = "You can walk through doors as if they are empty spaces. "; msg = msg + "Keep going East."; ReiAction = "stand"; contType = CONTINUE_ENTER_COMBAT; tutLevel++; break; case 10 : msg = "There's trouble ahead. Prepare yourself for combat!"; break; case 11 : msg = "Now is a good time to review the combat interface."; msg = msg + "Take note on the three bars to the bottom right."; worldCombatSpace.shurikenMachine.startChuck(1); worldReiPointer.pointToLocation(440, 350); contType = CONTINUE_PLAYER_DAMAGED; break; case 12 : msg = "This is your health bar. Needless to say, you'd die "; msg = msg + "if your health drops to or below zero."; worldReiPointer.pointToLocation(400, 350); break; case 13 : msg = "Now, let's learn how to block an attack. "; msg = msg + "First, press and hold spacebar."; ReiAction = "block"; combatActionLock = false; contType = CONTINUE_PLAYER_BLOCKING; break; case 14 : msg = "Now, hold the sword over the red attack icon "; msg = msg + "when it fades out in order to block."; ReiAction = "block"; worldCombatSpace.shurikenMachine.startChuck(9999); contType = CONTINUE_ATTACK_BLOCKED; break; case 15 : msg = "Your chi drops when you block. "; msg = msg + "When chi runs out, even your blocks will take damage."; ReiAction = "block"; worldReiPointer.pointToLocation(400, 365); worldCombatSpace.shurikenMachine.stopChuck(); break; case 16 : msg = "Now try blocking these last few shuriken traps."; worldCombatSpace.shurikenMachine.startChuck(5); worldCombatSpace.shurikenMachine.destroyMachine(); ReiAction = "unblock"; contType = CONTINUE_EXIT_COMBAT; break; case 17 : msg = "Oh no, you're hurt! To see a numerical version "; msg = msg + "of your stats, left click at the stats."; worldReiPointer.pointToLocation(440, 350); tutorialMoveLock = true; break; case 18 : msg = "Time to heal! Your riceball is the "; msg = msg + "perfect remedy. Double click it to eat it."; worldReiPointer.pointToLocation(180, 370); tutorialItemLock = false; contType = CONTINUE_USE_ITEM; break; case 19 : msg = "Okay, let's move on! Let's head North. "; msg = msg + "Summon the mini-map by pressing 'M' if you're lost."; tutorialMoveLock = false; contType = CONTINUE_ENTER_COMBAT; ReiAction = "stand"; break; case 20 : msg = "How annoying... bamboo blockades! "; msg = msg + "Let's slice our way through this mess!"; break; case 21 : msg = "First, let's learn how to do a slash attack. "; msg = msg + "Keep your mouse still and hold down the left button."; ReiAction = "slash"; contType = CONTINUE_START_SLASH; break; case 22 : msg = "Your attack bar starts to drain in this position. "; msg = msg + "Your slash becomes more powerful as the bar drains."; worldReiPointer.pointToLocation(400, 332); ReiAction = "slash"; break; case 23 : msg = "Finish the attack by continuing the hold "; msg = msg + "and moving your mouse downward."; reiHitTarget = 0; ReiAction = "slashOut"; tutorialTraceHits = true; contType = CONTINUE_END_SLASH; break; case 24 : msg = "The location that I'm pointing to is the apex of "; msg = msg + "your last attack. It's the midpoint of your entire slash."; worldReiPointer.pointToObject("worldReiPointer"); break; case 25 : msg = "If you tried to hit the blockade, you'd notice that "; msg = msg + "the apex is the only point that can damage your target."; worldReiPointer.pointToObject("worldReiPointer"); break; case 26 : msg = "Okay, let's try out the more precise stab attack. "; msg = msg + "From a ready position, double click and hold the second click."; contType = CONTINUE_START_STAB; break; case 27 : msg = "Release your mouse button to release the stab. "; msg = msg + "The apex of a stab is its end point."; contType = CONTINUE_END_STAB; break; case 28 : msg = "Okay, let's take out these two blockades. "; worldReiPointer.pointToObject("worldReiPointer"); ReiAction = "slash"; break; case 29 : msg = "Train yourself in both attack types. "; msg = msg + "You'll need to stab and slash each target to destroy them."; reiHitTarget = 1; ReiAction = "slashOut"; contType = CONTINUE_EXIT_COMBAT; break; case 30 : msg = "That was tedious! After all that action, I'm a little lost..."; tutorialMoveLock = true; tutorialTraceHits = false; break; case 31 : msg = "Fortunately, there's an automap to keep track of our progress."; msg = msg + "Open it by pressing 'F'."; contType = CONTINUE_FULL_MAP_OPEN; break; case 32 : msg = "The dot indicates where we are. You can see unexplored passages "; msg = msg + "to the North and East. Let's go East."; tutorialMoveLock = false; contType = CONTINUE_COORDINATE; CONTINUE_X = 15; CONTINUE_Y = 12; break; case 33 : msg = "Look, a treasure chest! Let's search it! "; msg = msg + "Move forward until you're next to the chest."; contType = CONTINUE_COORDINATE; CONTINUE_X = 16; CONTINUE_Y = 12; break; case 34 : msg = "Move your mouse over the chest and left click "; msg = msg + "to open it."; tutorialMoveLock = true; worldReiPointer.pointToLocation(270, 265); contType = CONTINUE_START_SEARCH; break; case 35 : msg = "Remember, items like swords and armors are all "; msg = msg + "searchable. Dig around everything you see!"; tutorialMoveLock = false; break; case 36 : msg = "By the way, aren't you "; msg = msg + "a little tired of using the mouse to move around?"; break; case 37 : msg = "There are two sets of keyboard shortcuts for movement: "; msg = msg + "The keys WASD or the arrow keys."; break; case 38 : msg = "All right, let's get out of this room and head North."; tutorialLockSquare = false; ReiAction = "stand"; contType = CONTINUE_ENTER_COMBAT; break; case 39 : msg = "A monster... I know just the thing that can take it "; msg = msg + "down. Let's use a spirit spell!"; combatActionLock = true; break; case 40 : msg = "This is your spirit bar. It charges by absorbing "; msg = msg + "spirit energy from slain enemies."; worldReiPointer.pointToLocation(400, 382); break; case 41 : msg = "The spells you learned are those with a shadow and the "; msg = msg + "spells that you can cast are solid icons."; break; case 42 : msg = "To cast a spell, press 'C', then left click on the "; msg = msg + "symbol that appears and the subsequent ones until the spell is cast."; ReiAction = "stand"; tutorialSpellLock = false; contType = CONTINUE_CAST_SPELL; break; case 43 : msg = "You are invincible when the spirit spell is in effect. "; msg = msg + "Now finish up this zombie with your sword!"; ReiAction = "stand"; combatActionLock = false; contType = CONTINUE_EXIT_COMBAT; break; case 44 : msg = "Hang in there, the test is almost over! "; msg = msg + "Let's head East."; contType = CONTINUE_COORDINATE; CONTINUE_X = 20; CONTINUE_Y = 2; break; case 45 : msg = "This is it! The exit is here!"; tutorialMoveLock = true; tutorialTurnLock = true; break; case 46 : msg = "Remember that each mission has a specific objective; "; msg = msg + "for this test, we just need to find an exit."; break; case 47 : msg = "Whenever you've completed the objective, find me, "; msg = msg + "and then click on me to end the mission."; break; case 48 : msg = "In this case, here I am. Talk to me when you're "; msg = msg + "ready to end this training."; ReiAction = "walkAway"; break; case 49 : tutorialMoveLock = false; tutorialTurnLock = false; ReiAction = "walkAway"; contType = -1; } if (msg != null) { worldTutorial.noPriorityMessage(msg); worldTutorial._visible = true; worldRei.switchTo(ReiAction); } else { worldTutorial._visible = false; worldRei.switchTo(ReiAction); } } function tutorialReiAttacks() { eval ("_root.worldCombatSpace." + reiTarget[reiHitTarget]).explosion(10); } function tutorialReiDeparts() { Maze[22][2] = (TILE_GARDEN + OBJ_BISHOJO) + TILE_SEARCHED; renderSpace(PlayerX, PlayerY, PlayerT); } CONTINUE_MESSAGE_END = 1; CONTINUE_FACING_EAST = 2; CONTINUE_COORDINATE = 3; CONTINUE_MAP_OPEN = 4; CONTINUE_FULL_MAP_OPEN = 10; CONTINUE_ENTER_COMBAT = 5; CONTINUE_PLAYER_DAMAGED = 6; CONTINUE_PLAYER_BLOCKING = 7; CONTINUE_ATTACK_BLOCKED = 8; CONTINUE_USE_ITEM = 9; CONTINUE_START_SLASH = 11; CONTINUE_END_SLASH = 12; CONTINUE_START_STAB = 13; CONTINUE_END_STAB = 14; CONTINUE_START_SEARCH = 15; CONTINUE_CAST_SPELL = 16; CONTINUE_X = 0; CONTINUE_Y = 0; tutLevel = 0; contType = -1; if (TUTORIAL) { tutorialTurnLock = true; tutorialMoveLock = true; combatActionLock = true; tutorialItemLock = true; tutorialTraceHits = false; tutorialLockSquare = true; tutorialSpellLock = true; } else { tutorialTurnLock = false; tutorialMoveLock = false; combatActionLock = false; tutorialItemLock = false; tutorialTraceHits = false; tutorialLockSquare = false; tutorialSpellLock = false; } reiTarget = new Array(); function restoreStats() { ATK_N_RESTORE = Math.ceil(playerMaxStats[0] / 30); CHI_N_RESTORE = Math.ceil(playerMaxStats[2] / 30); if (!(inCombat && (combatCursor.isAttacking()))) { playerCurStats[0] = (((playerCurStats[0] + ATK_N_RESTORE) < playerMaxStats[0]) ? (playerCurStats[0] + ATK_N_RESTORE) : (playerMaxStats[0])); } if (!(inCombat && (combatCursor.isBlocking()))) { playerCurStats[2] = (((playerCurStats[2] + CHI_N_RESTORE) < playerMaxStats[2]) ? (playerCurStats[2] + CHI_N_RESTORE) : (playerMaxStats[2])); } updateInterface(); } function takeHandle() { handleTaken = true; } function releaseHandle() { handleTaken = false; } function updateCombatCursor() { if (worldInterface.hitTest(combatCursor._x, combatCursor._y)) { combatCursor.showHand(); } else { combatCursor.hideHand(); } } function updateCursor() { if (((!worldInterface.hitTest(cursor._x, cursor._y)) && (!worldAutoMap.hitTest(cursor._x, cursor._y))) && (!handleTaken)) { if (cursor._y < TURN_OFFSET) { cursor.gotoAndStop("Forward"); cursorAction = CA_FORWARD; } else if (cursor._x < TURN_OFFSET) { cursor.gotoAndStop("TurnLeft"); cursorAction = CA_TURNLEFT; } else if (cursor._x > (SCREEN_WIDTH - TURN_OFFSET)) { cursor.gotoAndStop("TurnRight"); cursorAction = CA_TURNRIGHT; } else if (Obj10.hitTest(cursor._x, cursor._y, true) && (canSearch())) { cursor.gotoAndStop("Search"); cursorAction = CA_SEARCH; } else if (cursor._y > (SCREEN_HEIGHT - TURN_OFFSET)) { cursor.gotoAndStop("Reverse"); cursorAction = CA_REVERSE; } else { cursor.gotoAndStop("Normal"); cursorAction = CA_NORMAL; } } else { cursor.gotoAndStop("Normal"); cursorAction = CA_NORMAL; } } function setCursorCommand(ca) { cursorAction = ca; } function cursorClick() { if ((cursorAction == CA_FULLMAP) && (FullMap._visible)) { showOrHideFullMap(); return(undefined); } if (handleTaken) { return(undefined); } switch (cursorAction) { case CA_FORWARD : move(); break; case CA_TURNLEFT : turnLeft(); break; case CA_TURNRIGHT : turnRight(); break; case CA_REVERSE : turnLeft(); turnLeft(); break; case CA_SEARCH : searchTile(); break; case CA_FULLMAP : if (inCombat) { break; } showOrHideFullMap(); } renderSpace(playerX, playerY, playerT); if (playerT == 0) { continueTutorial(CONTINUE_FACING_EAST); } } SCREEN_WIDTH = 550; SCREEN_HEIGHT = 400; INTERFACE_HEIGHT = 80; TURN_OFFSET = 120; CA_NORMAL = 0; CA_FORWARD = 1; CA_TURNLEFT = 2; CA_TURNRIGHT = 3; CA_REVERSE = 4; CA_SEARCH = 5; CA_FULLMAP = 6; function move() { if (TUTORIAL && (tutorialMoveLock)) { return(undefined); } if (lockKeys) { return(undefined); } ox = playerX; oy = playerY; if (getAxis(playerT) == AXIS_X) { playerX = playerX + getInc(playerT); } else { playerY = playerY + getInc(playerT); } if (isBlockTile(playerX, playerY)) { playerX = ox; playerY = oy; } else if (((playerX == 12) && (playerY == 9)) && (tutorialLockSquare)) { playerX = ox; playerY = oy; worldTutorial.noPriorityMessage("Let's explore the room to the east first."); } else { if (((Maze[playerX][playerY] & TILE_NS_DOOR) == TILE_NS_DOOR) || ((Maze[playerX][playerY] & TILE_EW_DOOR) == TILE_EW_DOOR)) { sndWalk.gotoAndPlay("door"); } else if ((Maze[playerX][playerY] & TILE_EMPTY) == TILE_EMPTY) { sndWalk.gotoAndPlay("floor"); } else { sndWalk.gotoAndPlay("grass"); } combatCheck(); } continueTutorial(CONTINUE_COORDINATE); if (((playerGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] % 2) == 1) && (((playerX % 5) == 0) || ((playerY % 5) == 0))) { if (Math.random() < 0.5) { _root.worldTutorial.newMessage("If you are feeling lost, try pressing 'F' to open up the full map.", 10); } else { _root.worldTutorial.newMessage("If you are feeling lost, try pressing 'M' to open up the mini map.", 10); } } } function turnRight() { if (TUTORIAL && (tutorialTurnLock)) { return(undefined); } if (lockKeys) { return(undefined); } playerT = (playerT + 1) % 4; sndWalk.gotoAndPlay("turn"); combatCheck(); } function turnLeft() { if (TUTORIAL && (tutorialTurnLock)) { return(undefined); } if (lockKeys) { return(undefined); } playerT--; if (playerT < 0) { playerT = 3; } sndWalk.gotoAndPlay("turn"); combatCheck(); } function canSearch() { var o = getForward(); if ((Maze[o.x][o.y] % 16) == 0) { return(false); } if (((Maze[o.x][o.y] & TILE_SEARCHED) != 0) && ((Maze[o.x][o.y] % 16) != OBJ_BISHOJO)) { _root.worldTutorial.newMessage("This item has been searched before. It cannot be searched again.", 20); return(false); } if ((Maze[o.x][o.y] % 16) <= 6) { return(true); } if ((getReverse((Maze[o.x][o.y] >> 4) % 4) == playerT) && ((Maze[o.x][o.y] % 16) == 11)) { return(true); } if ((Maze[o.x][o.y] % 16) >= OBJ_BISHOJO) { return(true); } return(false); } function searchTile() { var o = getForward(); if (canSearch()) { treasureType = Maze[o.x][o.y] % 16; switch (treasureType) { case 1 : sndSearch.gotoAndPlay("sword"); break; case 2 : sndSearch.gotoAndPlay("armor"); break; case 3 : sndSearch.gotoAndPlay("chest"); break; case OBJ_BISHOJO : if ((Maze[o.x][o.y] & TILE_SEARCHED) != 0) { worldReiMessage.play(); return(undefined); } case OBJ_BISHOJO + 1 : case OBJ_BISHOJO + 2 : case OBJ_BISHOJO + 3 : ox = playerX; oy = playerY; playerX = o.x; playerY = o.y; teaseBox.bName = bishojoName[bishojoStock[((((Maze[o.x][o.y] >> 7) % 2) * 4) + (Maze[o.x][o.y] % 16)) - OBJ_BISHOJO] + 1]; teaseBox.play(); return(undefined); default : sndSearch.gotoAndPlay("general"); } continueTutorial(CONTINUE_START_SEARCH); worldMessageBox.play(); } } function confirmSearch() { var o = getForward(); Maze[o.x][o.y] = Maze[o.x][o.y] + TILE_SEARCHED; renderSpace(playerX, playerY, playerT); } function autoConsumeItem() { var i; i = 0; while ((i < 5) && (playerInventory[i] != 3)) { i++; } if (i < 5) { useItem(i); } } function useItem(i) { if (tutorialItemLock) { return(undefined); } var RICEBALL_HEAL = 25; var SUSHI_HEAL = 50; var SAKE_HEAL = 100; var SHURIKEN_AMOUNT = 10; switch (playerInventory[i]) { case 1 : playerCurStats[1] = (((playerCurStats[1] + RICEBALL_HEAL) > playerMaxStats[1]) ? (playerMaxStats[1]) : (playerCurStats[1] + RICEBALL_HEAL)); sndUseItem.gotoAndPlay("food"); break; case 2 : playerCurStats[1] = (((playerCurStats[1] + SUSHI_HEAL) > playerMaxStats[1]) ? (playerMaxStats[1]) : (playerCurStats[1] + SUSHI_HEAL)); sndUseItem.gotoAndPlay("food"); break; case 3 : playerCurStats[2] = (((playerCurStats[2] + SAKE_HEAL) > playerMaxStats[2]) ? (playerMaxStats[2]) : (playerCurStats[2] + SAKE_HEAL)); playerCurStats[0] = (((playerCurStats[0] + SAKE_HEAL) > playerMaxStats[0]) ? (playerMaxStats[0]) : (playerCurStats[0] + SAKE_HEAL)); sndUseItem.gotoAndPlay("food"); break; case 5 : sndUseItem.gotoAndPlay("weapon"); if (inCombat) { makeExplosiveAttack(); } break; case 6 : sndUseItem.gotoAndPlay("weapon"); if (!inCombat) { break; } var k = 0; for(;;){ if (k >= SHURIKEN_AMOUNT) { break; } makeShurikenAttack(); k++; }; } continueTutorial(CONTINUE_USE_ITEM); playerInventory[i] = 0; updateInterface(); } function showOrHideFullMap() { _root.sndPaper.play(); if (FullMap._visible) { FullMap._visible = false; releaseHandle(); if (autoMap) { generateMapDisplay(ROOM_SIZE, ROOM_SIZE); updateMapDisplay(playerX - Math.floor(ROOM_SIZE / 2), playerY - Math.floor(ROOM_SIZE / 2), ROOM_SIZE, ROOM_SIZE); } } else { continueTutorial(CONTINUE_FULL_MAP_OPEN); takeHandle(); if (autoMap) { removeMapDisplay(ROOM_SIZE, ROOM_SIZE); } updateFullMapDisplay(Math.floor(playerX / ROOM_SIZE), Math.floor(playerY / ROOM_SIZE), GRID_WIDTH, GRID_HEIGHT); FullMap.updateInterface(); FullMap._visible = true; } } function showAutoMap() { continueTutorial(CONTINUE_MAP_OPEN); generateMapDisplay(ROOM_SIZE, ROOM_SIZE); updateMapDisplay(playerX - 2, playerY - 2, ROOM_SIZE, ROOM_SIZE); } function updateAutoMap() { updateMapDisplay(playerX - 2, playerY - 2, ROOM_SIZE, ROOM_SIZE); } function hideAutoMap() { removeMapDisplay(ROOM_SIZE, ROOM_SIZE); } function playerDeath() { worldBloodScreen.play(); gotoScene = "sceneFailLevel"; worldPainPortrait.startPain(); } function playerDamage() { continueTutorial(CONTINUE_PLAYER_DAMAGED); worldPainPortrait.startPain(); } function createSlashShadow() { slashCount = getNextLevel(slashCount, SHADOW_LOWER_LIM, SHADOW_UPPER_LIM); slashName = "_root.shadow" + slashCount; duplicateMovieClip ("SlashShadow", "shadow" + slashCount, slashCount); eval ("shadow" + slashCount)._visible = false; } function createStabShadow() { slashCount = getNextLevel(slashCount, SHADOW_LOWER_LIM, SHADOW_UPPER_LIM); slashName = "_root.shadow" + slashCount; duplicateMovieClip ("StabShadow", "shadow" + slashCount, slashCount); } function createBlood(x, y) { worldCombatSpace.createBlood(x, y); } function createDamage(x, y) { worldCombatSpace.createDamage(x, y); } function createSparks(x, y) { worldCombatSpace.createSparks(x, y); } function makeSmallSlashAttack(x, y, s, t, d) { worldCombatSpace.createFlash(x, y); worldCombatSpace.counterStrike(x, y); worldCombatSpace.hitObject(x, y, s, t, d, "smallBlood"); if (tutorialTraceHits) { worldReiPointer.pointToLocation(x, y); } } function makeSlashAttack(x, y, s, t, d) { worldCombatSpace.createFlash(x, y); worldCombatSpace.counterStrike(x, y); worldCombatSpace.hitObject(x, y, Math.floor(s * 1.35), t, d, null); if (tutorialTraceHits) { worldReiPointer.pointToLocation(x, y); } } function makeStabAttack(x, y, s, t, d) { worldCombatSpace.counterStrike(x, y); worldCombatSpace.hitObject(x, y, Math.floor(s * 1.35), t, d, null); if (tutorialTraceHits) { worldReiPointer.pointToLocation(x, y); } } function makeSpellAttack(x, y, s, d) { worldCombatSpace.counterStrike(x, y); worldCombatSpace.hitObject(x, y, Math.floor(s * 1.35), false, 1, d); if (tutorialTraceHits) { worldReiPointer.pointToLocation(x, y); } } function makeExplosiveAttack() { worldExplosion.play(); } function makeShurikenAttack() { var x = worldCombatSpace.getSAttackX(); var y = worldCombatSpace.getSAttackY(); worldCombatSpace.createShuriken(x, y); } function generateAttack(x, y, s, so, ft, dt, dl) { return(worldCombatSpace.generateAttack(x, y, s, so, ft, dt, dl)); } function causeDamage(x, y, s, dt, dl) { worldCombatSpace.causeDamage(x, y, s, dt, dl); } function isCombatSpace(x, y) { var s = Maze[x][y]; return(((s >> 8) <= 4) && (((s % 16) == 0) || ((s % 16) == OBJ_MAT))); } function combatCheck() { var xi = 0; var yi = 0; if (getAxis(playerT) == AXIS_X) { xi = getInc(playerT); } else { yi = getInc(playerT); } if ((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] & (MAP_ENEMY + MAP_TRAP)) > 0) { if (isCombatSpace(playerX, playerY) && (!isBlockTile(playerX, playerY))) { if (isCombatSpace(playerX + xi, playerY + yi) && (!isBlockTile(playerX + xi, playerY + yi))) { if ((((Math.random() * ROOM_SIZE) < 2) || ((MapGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] >> 4) > 3)) || (TUTORIAL)) { lockKeys = true; worldPreCombat.unsheath(MapGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] >> 4); } } } } } function initCombat() { if (TUTORIAL) { continueTutorial(CONTINUE_ENTER_COMBAT); if ((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] & MAP_ENEMY) > 0) { worldCombatSpace.initEnemy((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] >> 4) % 16); } else { worldCombatSpace.initSpecial((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] >> 4) % 16); } } else { shurikenCount = 0; if ((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] & MAP_ENEMY) > 0) { worldCombatSpace.initEnemy((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] >> 4) % 16); } else { worldCombatSpace.initTrap((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] >> 4) % 16, Math.floor(Math.random() * 2)); } } inCombat = true; } function isLegalSpace(x, y) { return((((x >= 0) && (x < MAX_WIDTH)) && (y >= 0)) && (y < MAX_HEIGHT)); } function isBlockTile(x, y) { if (!isLegalSpace(x, y)) { return(true); } if (((Maze[x][y] % 16) > 0) && ((Maze[x][y] % 16) != 10)) { return(true); } var tileNumber = (Maze[x][y] >> 8); return(tileNumber == 6); } function isBishojo(x, y) { return((Maze[x][y] % 16) >= OBJ_BISHOJO); } function isFloorTile(x, y) { if ((Maze[x][y] >> 8) <= 4) { return(true); } return(false); } function getAxis(t) { return(t % 2); } function getInc(t) { if (t < 2) { return(1); } return(-1); } function getReverse(t) { return((t + 2) % 4); } function getForward() { var o = new Object(); o.x = playerX; o.y = playerY; if (playerT == 0) { o.x++; } else if (playerT == 1) { o.y++; } else if (playerT == 2) { o.x--; } else { o.y--; } return(o); } function resolveDirection(viewer, object) { switch (viewer) { case 0 : switch (object) { case 0 : return(3); case 1 : return(2); case 2 : return(1); case 3 : return(4); } case 1 : switch (object) { case 0 : return(4); case 1 : return(3); case 2 : return(2); case 3 : return(1); } case 2 : switch (object) { case 0 : return(1); case 1 : return(4); case 2 : return(3); case 3 : return(2); } case 3 : switch (object) { case 0 : return(2); case 1 : return(1); case 2 : return(4); case 3 : return(3); } } } function renderBlock(turn, name, tileAttributes) { switch ((tileAttributes >> 8) % 16) { case -1 : if (eval ("Block" + name)._totalframes >= 7) { eval ("Block" + name).gotoAndStop(7); } else { eval ("Block" + name).gotoAndStop(1); } break; case 0 : eval ("Block" + name).gotoAndStop(1); break; case TILE_EW_DOOR >> 8 : if (getAxis(playerT) == AXIS_X) { eval ("Block" + name).gotoAndStop(5); } else { eval ("Block" + name).gotoAndStop(4); } break; case TILE_NS_DOOR >> 8 : if (getAxis(playerT) == AXIS_Y) { eval ("Block" + name).gotoAndStop(5); } else { eval ("Block" + name).gotoAndStop(4); } break; default : eval ("Block" + name)._visible = true; eval ("Block" + name).gotoAndStop((tileAttributes >> 8) % 16); } var showObject = true; if (isBlockTile((tileAttributes >> 8) % 16)) { showObject = false; } if ((tileAttributes & (3840 == TILE_EW_DOOR)) || (attribues & (3840 == TILE_NS_DOOR))) { showObject = false; } if (showObject) { switch (tileAttributes % 16) { case 0 : eval ("Obj" + name)._visible = false; eval ("Obj" + name).sprites._visible = false; break; default : eval ("Obj" + name)._visible = true; eval ("Obj" + name).sprites._visible = false; if ((tileAttributes & TILE_SEARCHED) != 0) { eval ("Obj" + name).gotoAndStop(((((tileAttributes % 16) - 1) * 4) + resolveDirection(turn, (tileAttributes >> 4) % 4)) + 80); } else { eval ("Obj" + name).gotoAndStop((((tileAttributes % 16) - 1) * 4) + resolveDirection(turn, (tileAttributes >> 4) % 4)); } break; case OBJ_BISHOJO : case OBJ_BISHOJO + 1 : case OBJ_BISHOJO + 2 : case OBJ_BISHOJO + 3 : if ((tileAttributes & TILE_SEARCHED) != 0) { eval ("Obj" + name)._visible = true; eval ("Obj" + name).sprites._visible = true; eval ("Obj" + name).sprites.gotoAndPlay("gal0"); eval ("Obj" + name).gotoAndStop(((OBJ_BISHOJO - 1) * 4) + 1); } else { eval ("Obj" + name)._visible = true; eval ("Obj" + name).sprites._visible = true; eval ("Obj" + name).sprites.gotoAndPlay("gal" + (bishojoStock[((((tileAttributes >> 7) % 2) * 4) + (tileAttributes % 16)) - OBJ_BISHOJO] + 1)); eval ("Obj" + name).gotoAndStop(((OBJ_BISHOJO - 1) * 4) + 1); } } } else { eval ("Obj" + name)._visible = false; } } function renderSpace(x, y, t) { var i; var j; var k; var l; var m; var axis = getAxis(t); var inc = getInc(t); var side; if ((t == 0) || (t == 3)) { side = 1; } else { side = -1; } i = 0; while (Math.abs(i) <= 4) { j = -4; while (j <= 4) { m = i; do { if (axis == AXIS_X) { k = x + m; l = y + j; } else { k = x + j; l = y + m; } m = m + inc; } while (((Math.abs(i) == 4) && (isLegalSpace(k, l))) && (isFloorTile(k, l))); if (((m != i) && (isLegalSpace(k, l))) || (Math.abs(m - i) > ROOM_SIZE)) { if (axis == AXIS_X) { k = x + i; l = y + j; } else { k = x + j; l = y + i; } } if (!isLegalSpace(k, l)) { renderBlock(t, ("" + Math.abs(i)) + (j * side), -1); } else { renderBlock(t, ("" + Math.abs(i)) + (j * side), Maze[k][l]); } j++; } i = i + inc; } worldAutoMap.compass.gotoAndStop(playerT + 1); if (autoMap) { updateAutoMap(); } updatePlayerGrid(PG_DISCOVER); } function hideSpace() { var i = 0; while (i <= 4) { var j = -4; while (j <= 4) { eval (("Block" + i) + j)._visible = false; eval (("Obj" + i) + j)._visible = false; j++; } i++; } } function showSpace() { var i = 0; while (i <= 4) { var j = -4; while (j <= 4) { eval (("Block" + i) + j)._visible = true; j++; } i++; } renderSpace(playerX, playerY, playerT); } function updatePlayerGrid(e) { if (e == PG_DISCOVER) { playerGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] = playerGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] | 1; } if (e == PG_CLEAR_DANGER) { if ((playerGrid[Math.floor(playerX / ROOM_SIZE)][Math.floor(playerY / ROOM_SIZE)] & MAP_ENEMY) > 0) { playerCurStats[3] = Math.min(playerMaxStats[3], playerCurStats[3] + Math.max(_root.worldSpellSpace.spiritGain[MapGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] >> 4], ENEMY_DIFFICULTY)); updateInterface(); } if ((MapGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] >> 4) == 4) { headsFound++; } playerGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] = playerGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] - (playerGrid[Math.floor(playerX / 5)][Math.floor(playerY / 5)] & (MAP_ENEMY + MAP_TRAP)); } } function updateInterface() { var i = 0; if ((!inCombat) && (worldPortrait._visible == false)) { worldPortrait._visible = true; worldPainPortrait.gotoAndStop(1); } if (teaseBox._visible) { worldPortrait.gotoAndStop(15); } else if (playerCurStats[1] == playerMaxStats[1]) { worldPortrait.gotoAndStop(1); } else { worldPortrait.gotoAndStop(10 - Math.floor((playerCurStats[1] / playerMaxStats[1]) * 10)); } i = 0; while (i < 4) { eval ("worldInterface.stat" + i).adjustMaximum(playerMaxStats[i]); eval ("worldInterface.stat" + i).adjustCurrent(playerCurStats[i]); if (showNumbers) { eval ("worldInterface.stat" + i).adjustDisplayMode(1); } else { eval ("worldInterface.stat" + i).adjustDisplayMode(0); } i++; } i = 0; while (i < 5) { eval ("worldInterface.invSlot" + i).adjustIcon(playerInventory[i]); i++; } } PG_DISCOVER = 0; PG_CLEAR_DANGER = 1;
Frame 906
AXIS_X = 0; AXIS_Y = 1; MAX_WIDTH = ROOM_SIZE * GRID_WIDTH; MAX_HEIGHT = ROOM_SIZE * GRID_HEIGHT; SCREEN_WIDTH = 550; SCREEN_HEIGHT = 400; MAX_NUMBER = 50; slashCount = MAX_NUMBER; splatOriginal._visible = false; slashShadow._visible = false; stabShadow._visible = false; oStrikePoint._visible = false; oSpark._visible = false; if (TUTORIAL) { generateTutorialMap(); } else if (!arenaMode) { sh = SCROLLS_HIDDEN; bh = BOSSES_HIDDEN; do { SCROLLS_HIDDEN = sh; BOSSES_HIDDEN = bh; generateMap(); } while (((MISSION_TYPE == 1) && (SCROLLS_HIDDEN == 0)) || ((MISSION_TYPE == 2) && (BOSSES_HIDDEN == 0))); } playerX = Math.round(ROOM_SIZE / 2) - 1; playerY = ((ROOM_SIZE * (GRID_HEIGHT - 1)) + Math.round(ROOM_SIZE / 2)) - 1; playerT = 0; if (TUTORIAL) { playerX--; playerT = 2; } duplicateMovieClip ("oCursor", "cursor", 10000); duplicateMovieClip ("oCombatCursor", "combatCursor", 10001); oCursor._visible = false; Mouse.hide(); cursor.startDrag(true); if (!arenaMode) { sndMusicLoops.gotoAndPlay("explore"); } else { sndMusicLoops.gotoAndPlay("boss"); } autoMap = false; showNumbers = false; handleTaken = false; inCombat = false; lockKeys = false; restoreTimer = new Timer(); gotoScene = null;
Instance of Symbol 607 MovieClip "worldReiPointer" in Frame 906
onClipEvent (load) { _visible = false; }
Instance of Symbol 620 MovieClip "FullMap" in Frame 906
onClipEvent (load) { _visible = false; }
Instance of Symbol 633 MovieClip "oCombatCursor" in Frame 906
onClipEvent (load) { _visible = false; }
Instance of Symbol 722 MovieClip "worldRei" in Frame 906
onClipEvent (load) { if ((!_root.IN_GAME_TUTORIAL) && (!_root.TUTORIAL)) { stop(); _visible = false; } }
Instance of Symbol 959 MovieClip "oMapIndicator" in Frame 906
onClipEvent (load) { if (_name == "oMapIndicator") { _visible = false; } }
Instance of Symbol 978 MovieClip "teaseBox" in Frame 906
onClipEvent (load) { _visible = false; }
Instance of Symbol 981 MovieClip "worldReiMessage" in Frame 906
onClipEvent (load) { _visible = false; }
Frame 907
if (autoQuality) { qualityTimer = new Timer(); } if (arenaMode) { gotoAndPlay (944); } else { generateFullMapDisplay(GRID_WIDTH, GRID_HEIGHT); }
Frame 908
renderSpace(PlayerX, PlayerY, PlayerT);
Frame 922
if (TUTORIAL) { nextTutorial(); }
Frame 925
updateCursor(); if (autoQuality && (inCombat)) { frameCount++; if (qualityTimer.timeOver(1000)) { if (frameCount < 14) { lagCount++; } else { lagCount = 0; } if (lagCount >= 3) { if ((_quality == "BEST") || (_quality == "HIGH")) { _quality = "MEDIUM"; } else if (_quality == "MEDIUM") { _quality = "LOW"; } lagCount = 0; } qualityTimer.resetTimer(); frameCount = 0; } } if (inCombat && (!handleTaken)) { updateCombatCursor(); if (worldCombatSpace.enemyObjectCount == 0) { worldPreCombat.sheath(); } if (restoreTimer.timeOver(350)) { restoreStats(); restoreTimer.resetTimer(); } } else if (restoreTimer.timeOver(250)) { restoreStats(); restoreTimer.resetTimer(); } if (worldTutorial._visible) { if (!inCombat) { o = getForward(); if ((Maze[o.x][o.y] == TILE_EW_DOOR) || (Maze[o.x][o.y] == TILE_NS_DOOR)) { worldTutorial.newMessage("Doors open automatically when you walk through them.", 10); } if (canSearch()) { worldTutorial.newMessage("The item in front of you is searchable. Click on it or press Spacebar to search it.", 10); } } else { if (playerCurStats[0] < (playerMaxStats[0] / 3)) { worldTutorial.newMessage("You are running low on attack power. Rest and block a bit.", 10); } if (playerCurStats[2] < (playerMaxStats[2] / 3)) { worldTutorial.newMessage("You are running low on defensive Chi. Time to counter-attack.", 10); } } } if (gotoScene == null) { prevFrame(); play(); }
Frame 927
if (inCombat) { combatCursor.stopDrag(); combatCursor._visible = false; } else { cursor.stopDrag(); cursor._visible = false; } if (autoMap) { worldAutoMap.play(); } Mouse.show();
Frame 937
delete Maze; delete MapGrid; delete playerGrid; fader.play(); stop();
Frame 940
_root.gotoAndPlay(gotoScene);
Frame 944
function initCombat() { waveInitializer.nextWave(); } worldPortrait._visible = false; worldInterface._visible = false; inCombat = true;
Frame 959
stop();
Frame 960
worldPortrait._visible = true; worldInterface._visible = true; worldPreCombat.arenaUnsheath(); _root.worldCombatSpace.enemyObjectCount = 1;
Frame 964
updateCursor(); if (autoQuality) { frameCount++; if (qualityTimer.timeOver(1000)) { if (frameCount < 14) { lagCount++; } else { lagCount = 0; } if (lagCount >= 3) { if ((_quality == "BEST") || (_quality == "HIGH")) { _quality = "MEDIUM"; } else if (_quality == "MEDIUM") { _quality = "LOW"; } lagCount = 0; } qualityTimer.resetTimer(); frameCount = 0; } } if (!handleTaken) { updateCombatCursor(); if (worldCombatSpace.enemyObjectCount == 0) { playerCurStats[3] = Math.min(playerMaxStats[3], playerCurStats[3] + (worldSpellSpace.spiritGain[0] * waveInitializer.zombieCount)); playerCurStats[3] = Math.min(playerMaxStats[3], playerCurStats[3] + (worldSpellSpace.spiritGain[1] * waveInitializer.samuraiCount)); playerCurStats[3] = Math.min(playerMaxStats[3], playerCurStats[3] + (worldSpellSpace.spiritGain[2] * waveInitializer.wolfCount)); playerCurStats[3] = Math.min(playerMaxStats[3], playerCurStats[3] + (worldSpellSpace.spiritGain[3] * waveInitializer.ninjaCount)); playerCurStats[3] = Math.min(playerMaxStats[3], playerCurStats[3] + (worldSpellSpace.spiritGain[4] * waveInitializer.bossCount)); updateInterface(); waveInitializer.nextWave(); } if (restoreTimer.timeOver(350)) { restoreStats(); restoreTimer.resetTimer(); } } if (gotoScene == null) { prevFrame(); play(); }
Frame 966
combatCursor.stopDrag(); combatCursor._visible = false; roninTime = aTimer.timeDiff; roninWave = waveInitializer.wave - 1; roninModTime = aTimer.clickStopWatch(); Mouse.show();
Frame 967
inCombat = false;
Frame 978
fader.play(); stop();
Frame 981
_root.gotoAndPlay(gotoScene);
Frame 990
function invChange() { var i = 0; while (i < 5) { eval ("stats.invSlot" + i).adjustIcon(_root.playerInventory[i]); i++; } i = 1; while (i <= 4) { eval ("stats.cast" + i)._visible = false; i++; } i = 1; while (i <= playerLevel) { eval ("stats.cast" + i)._visible = true; i++; } } function attChange() { stats.att0 = _root.playerMaxStats[0]; stats.att1c = _root.playerCurStats[1]; stats.att1 = _root.playerMaxStats[1]; stats.att2 = _root.playerMaxStats[2]; stats.att3c = _root.playerCurStats[3]; stats.att3 = _root.playerMaxStats[3]; } function createEpisode() { levelDifficulty = Math.floor(playerEpisode / 3); MISSION_TYPE = playerEpisode % 3; updateEpisode(); } function updateEpisode() { if (levelDifficulty > Math.floor(playerEpisode / 3)) { levelDifficulty = 0; } if ((playerEpisode - (levelDifficulty * 3)) < MISSION_TYPE) { MISSION_TYPE = 0; } objDifficulty.update(levelDifficulty); objEpisode.update(MISSION_TYPE); }
Frame 991
openingLoop.startLoop(); if (MISSION_TYPE != 3) { if (((levelDifficulty * 3) + MISSION_TYPE) == playerEpisode) { if (((playerEpisode % 3) < 2) && (playerEpisode < 6)) { playerLevel++; newSpell.gotoAndStop(playerLevel); } else { gotoAndPlay (1023); } playerEpisode++; } else { gotoAndPlay (1023); } } else { gotoAndPlay (1023); }
Frame 1007
stop();
Frame 1024
playerMaxStats[3] = playerMaxStats[3] + (6 + (levelDifficulty * 3)); playerPass = _root.EncodePlayer(); if (MISSION_TYPE == 2) { gotoScene = "sceneCredits"; } else { gotoScene = "sceneMainMenu"; } invChange(); attChange(); createEpisode();
Frame 1037
stop();
Frame 1049
if (gotoScene == "sceneCredits") { openingLoop.fadeLoop(); stop(); }
Frame 1050
_root.gotoAndPlay(gotoScene);
Frame 1060
function invChange() { var i = 0; while (i < 5) { eval ("stats.invSlot" + i).adjustIcon(_root.playerInventory[i]); i++; } i = 1; while (i <= 4) { eval ("stats.cast" + i)._visible = false; i++; } i = 1; while (i <= playerLevel) { eval ("stats.cast" + i)._visible = true; i++; } } function attChange() { stats.att0 = _root.playerMaxStats[0]; stats.att1c = _root.playerCurStats[1]; stats.att1 = _root.playerMaxStats[1]; stats.att2 = _root.playerMaxStats[2]; stats.att3c = _root.playerCurStats[3]; stats.att3 = _root.playerMaxStats[3]; } function createEpisode() { levelDifficulty = Math.floor(playerEpisode / 3); MISSION_TYPE = playerEpisode % 3; updateEpisode(); } function updateEpisode() { if (levelDifficulty > Math.floor(playerEpisode / 3)) { levelDifficulty = 0; } if ((playerEpisode - (levelDifficulty * 3)) < MISSION_TYPE) { MISSION_TYPE = 0; } objDifficulty.update(levelDifficulty); objEpisode.update(MISSION_TYPE); }
Frame 1061
if (!arenaMode) { gameHint = "HINT:\n\n"; hintNum = int(Math.floor(Math.random() * 18)); switch (hintNum) { case 0 : gameHint = "The following items are searchable:\n\n"; gameHint = gameHint + "Sword (increase Attack)\n"; gameHint = gameHint + "Armor (increase Health)\n"; gameHint = gameHint + "Wine (increase Chi)\n"; gameHint = gameHint + "Food (gives random food)\n"; gameHint = gameHint + "Chest (gives random item)\n"; break; case 1 : gameHint = gameHint + "Slashes are powerful but inaccurate; "; gameHint = gameHint + "Stabs does the opposite. Therefore, the "; gameHint = gameHint + "best combat strategy is to use stabs "; gameHint = gameHint + "to break enemy attacks and use slashes "; gameHint = gameHint + "when the enemy's guard is down."; break; case 2 : gameHint = "Samurai:\n\n"; gameHint = gameHint + "The standard grunt unit. He uses the same "; gameHint = gameHint + "types of attacks as the player. Advanced "; gameHint = gameHint + "samurais anticipates your attacks and raises "; gameHint = gameHint + "his sword in defense. Your best bet is to "; gameHint = gameHint + "break him down after blocking his attacks. "; break; case 3 : gameHint = "Wolf:\n\n"; gameHint = gameHint + "The utlimate melee bastard. At a distance, "; gameHint = gameHint + "it is harmless, but once it gets into close "; gameHint = gameHint + "range, it'll rip you a new one with its claws. "; gameHint = gameHint + "To fend him off if it got close, stab it. "; gameHint = gameHint + "Keep it out of close range at all costs. "; break; case 4 : gameHint = "Ninja (1 of 2):\n\n"; gameHint = gameHint + "Annoying bugger, that he is. The ninja has "; gameHint = gameHint + "two unique attacks. One of them is palm strike. "; gameHint = gameHint + "Always remember that the strikes goes bottom left, "; gameHint = gameHint + "top right, and the interval between the two "; gameHint = gameHint + "attacks is always the same."; break; case 5 : gameHint = "Ninja (2 of 2):\n\n"; gameHint = gameHint + "The ninja's second unique attack is the shuriken "; gameHint = gameHint + "throw. To defeat it, time your block so that it "; gameHint = gameHint + "moves along the throwing path at the same speed "; gameHint = gameHint + "as the ninja did. One final hint: ninjas like to "; gameHint = gameHint + "dodge, so aim low where it really hurts."; break; case 6 : gameHint = gameHint + "Before you complete your spirit spell, you are "; gameHint = gameHint + "helpless against your enemies, so time your spells "; gameHint = gameHint + "such that they'd be cast before damages are done "; gameHint = gameHint + "to you. "; break; case 7 : gameHint = gameHint + "Every enemy has an alert state where it can "; gameHint = gameHint + "effectively block your attacks and counter attack. "; gameHint = gameHint + "On the other hand, they also have vulerable states "; gameHint = gameHint + "that usually come in after they attack. "; break; case 8 : gameHint = gameHint + "The player portrait is a very effective way to "; gameHint = gameHint + "find out how well you're doing in a glance. "; gameHint = gameHint + "While we're on the topic, stockpiling food never "; gameHint = gameHint + "hurts, so don't use food until you need it. "; break; case 9 : gameHint = gameHint + "Spirit spells are costly and hard to use, but "; gameHint = gameHint + "they are extremely powerful. Save them as a "; gameHint = gameHint + "last resort, when you're in real trouble... "; gameHint = gameHint + "and be careful, you can still be hurt when "; gameHint = gameHint + "you are still trying to complete the spell "; gameHint = gameHint + "gesture. "; break; case 10 : gameHint = gameHint + "Alternate between attack and defense. "; gameHint = gameHint + "Life will not be good for you if you happen to exhaust "; gameHint = gameHint + "the attack bar or the chi bar. Your attack bar "; gameHint = gameHint + "replenishes once you let go of an attack, "; gameHint = gameHint + "and chi bar starts restoring if you release your block. "; break; case 11 : gameHint = "Traps:\n\n"; gameHint = gameHint + "The bamboo trap fires after a certain interval and "; gameHint = gameHint + "the explosives cannot be blocked, so take them out "; gameHint = gameHint + "as fast as you can. As for shurikens, block them. "; gameHint = gameHint + "if you're unlucky enough to be low on chi, you can "; gameHint = gameHint + "resort to trying to hit them with your sword."; break; case 12 : gameHint = gameHint + "Just because you reached the end of a level doesn't "; gameHint = gameHint + "mean you'll have to end it. search around some more,"; gameHint = gameHint + "and earn every item you can get out of the level. "; gameHint = gameHint + "While you are at it, search for pleasent surprises... "; gameHint = gameHint + "if you're playing with adult content on, anyway. "; break; case 13 : gameHint = gameHint + "Please go and try out Dark Prophecy if you are looking "; gameHint = gameHint + "for a more stealthy experience. For action packed shooting "; gameHint = gameHint + "fun, try GunBlaze. This is my shameless advertisement. SHAMELESS!"; break; case 14 : gameHint = gameHint + "Use the mini-map to help you locate items that you; "; gameHint = gameHint + "might otherwise miss. Speaking of items, don't "; gameHint = gameHint + "hesitate to walk into a garden. Bushes have the tendency "; gameHint = gameHint + "to block your view from potential treasures. "; break; case 15 : gameHint = gameHint + "If you are stuck in a certain level, you can replay "; gameHint = gameHint + "old episodes or try out random levels in lower difficulties, "; gameHint = gameHint + "which usually contains more treasures. "; break; case 16 : gameHint = gameHint + "The Normal difficulty can only give you two out of four "; gameHint = gameHint + "spirit spells. Replay the game at Hard difficulty in order "; gameHint = gameHint + "to discover more interesting treasures. As for Extreme... "; gameHint = gameHint + "Well, if you want a challenge, you'll find it there. "; break; case 17 : gameHint = gameHint + "Rooms containing scrolls are guarded by ninjas. You "; gameHint = gameHint + "can identify those rooms by seeing the chests marked with "; gameHint = gameHint + "the golden lotus flower. Boss rooms are filled with an "; gameHint = gameHint + "unusual amount of treasure. "; break; } } else { gotoAndPlay (1089); }
Frame 1077
stop();
Frame 1079
prevFrame(); play();
Frame 1105
stop();
Frame 1118
stopAllSounds(); previousScene = "sceneEnterScore"; _root.gotoAndPlay("sceneHighScore");
Frame 1145
stop();
Frame 1159
stopAllSounds(); previousScene = "sceneEnterScore"; _root.gotoAndPlay("sceneHighScore");
Frame 1160
function getBoundLeft() { return(GameArea._x); } function getBoundRight() { return(GameArea._x + GameArea._width); } function getBoundTop() { return(GameArea._y); } function getBoundBottom() { return(GameArea._y + GameArea._height); } function masterSubscribe(subscriberName) { subscriber[totalSubscribers] = subscriberName; totalSubscribers++; } function masterRemove(subscriberName) { var i = 0; while ((i < totalSubscribers) && (subscriberName != subscriber[i])) { i++; } if (i < totalSubscribers) { totalSubscribers--; var j = i; while (j < totalSubscribers) { subscriber[j] = subscriber[j + 1]; j++; } } } function masterSort() { var i = (totalSubscribers - 1); while (i > 0) { var j = 0; while (j < i) { if (eval (subscriber[j])._y > eval (subscriber[j + 1])._y) { eval (subscriber[j]).swapDepths(eval (subscriber[j + 1])); var temp = subscriber[j]; subscriber[j] = subscriber[j + 1]; subscriber[j + 1] = temp; } j++; } i--; } } function villianSubscribe(subscriberName) { villianSubscriber[totalVillianSubscribers] = subscriberName; totalVillianSubscribers++; } function villianRemove(subscriberName) { var i = 0; while ((i < totalVillianSubscribers) && (subscriberName != villianSubscriber[i])) { i++; } if (i < totalVillianSubscribers) { totalVillianSubscribers--; var j = i; while (j < totalVillianSubscribers) { villianSubscriber[j] = villianSubscriber[j + 1]; j++; } } } function villianCollisionBoardcast(collisionSource, collisionMessage, sourceDirection) { var i = 0; while (i < totalVillianSubscribers) { if (eval (eval (villianSubscriber[i]).Sprite.getShadow()).hitTest(eval (collisionSource))) { eval (villianSubscriber[i]).Command.recieveMessage(sourceDirection); eval (villianSubscriber[i]).Command.recieveMessage(collisionMessage); } i++; } } function heroSubscribe(subscriberName) { heroSubscriber[totalheroSubscribers] = subscriberName; totalheroSubscribers++; } function heroRemove(subscriberName) { var i = 0; while ((i < totalheroSubscribers) && (subscriberName != heroSubscriber[i])) { i++; } if (i < totalheroSubscribers) { totalheroSubscribers--; var j = i; while (j < totalheroSubscribers) { heroSubscriber[j] = heroSubscriber[j + 1]; j++; } } } function heroCollisionBoardcast(collisionSource, collisionMessage, sourceDirection) { var i = 0; while (i < totalheroSubscribers) { if (eval (eval (heroSubscriber[i]).Sprite.getShadow()).hitTest(eval (collisionSource))) { eval (heroSubscriber[i]).Command.recieveMessage(sourceDirection); eval (heroSubscriber[i]).Command.recieveMessage(collisionMessage); } i++; } } maxSubscribers = 10; totalSubscribers = 0; subscriber = new Array(); totalVillianSubscribers = 0; villianSubscriber = new Array(); totalHeroSubscribers = 0; heroSubscriber = new Array(); respawnInterval = 2000; respawnTimer = -3000; respawnCounter = 1; gotoScene = null;
Instance of Symbol 1181 MovieClip "GameArea" in Frame 1160
onClipEvent (load) { }
Frame 1176
duplicateMovieClip ("oGenyu", "Genyu", 1);
Frame 1178
masterSort(); if ((respawnTimer + respawnInterval) < getTimer()) { respawnTimer = getTimer(); if (totalVillianSubscribers < 3) { duplicateMovieClip ("oZombie", "HOI" + respawnCounter, respawnCounter + totalHeroSubscribers); with (eval ("HOI" + respawnCounter)) { var pointSelect = random(4); _x = eval ("_root.RespawnPoint" + pointSelect)._x; _y = eval ("_root.RespawnPoint" + pointSelect)._y; } respawnCounter++; } }
Frame 1179
if (gotoScene == null) { prevFrame(); play(); }
Frame 1180
var i = 0; while (i < totalSubscribers) { eval (subscriber[i]).removeMovieClip(); i++; }
Frame 1190
_root.gotoAndPlay(gotoScene);
Symbol 15 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 25 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 34 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "foregroundDisabled"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 35 MovieClip [UpArrow] Frame 1
stop();
Symbol 35 MovieClip [UpArrow] Frame 2
stop();
Symbol 35 MovieClip [UpArrow] Frame 3
stop();
Symbol 41 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(highlight3D_mc, "highlight3D"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight");
Symbol 48 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 54 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 55 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 63 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 71 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "arrow"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 79 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(arrow_mc, "foregroundDisabled"); component.registerSkinElement(face_mc, "face"); component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 80 MovieClip [DownArrow] Frame 1
stop();
Symbol 80 MovieClip [DownArrow] Frame 2
stop();
Symbol 80 MovieClip [DownArrow] Frame 3
stop();
Symbol 83 MovieClip Frame 1
var component = _parent; component.registerSkinElement(track_mc, "scrollTrack");
Symbol 84 MovieClip [FScrollBarSymbol] Frame 1
#initclip 4 FScrollBarClass = function () { if (this._height == 4) { return(undefined); } this.init(); this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0))); this.smallScroll = 1; this.width = (this.horizontal ? (this._width) : (this._height)); this._xscale = (this._yscale = 100); this.setScrollPosition(0); this.tabEnabled = false; if (this._targetInstanceName.length > 0) { this.setScrollTarget(this._parent[this._targetInstanceName]); } this.tabChildren = false; this.setSize(this.width); }; FScrollBarClass.prototype = new FUIComponentClass(); FScrollBarClass.prototype.setHorizontal = function (flag) { if (this.horizontal && (!flag)) { this._xscale = 100; this._rotation = 0; } else if (flag && (!this.horizontal)) { this._xscale = -100; this._rotation = -90; } this.horizontal = flag; }; FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) { if (!this.enable) { return(undefined); } this.pageSize = pSize; this.minPos = Math.max(mnPos, 0); this.maxPos = Math.max(mxPos, 0); this.scrollPosition = Math.max(this.minPos, this.scrollPosition); this.scrollPosition = Math.min(this.maxPos, this.scrollPosition); if ((this.maxPos - this.minPos) <= 0) { this.scrollThumb_mc.removeMovieClip(); this.upArrow_mc.gotoAndStop(3); this.downArrow_mc.gotoAndStop(3); this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null)); this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null)); this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null); this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null); this.scrollTrack_mc.useHandCursor = false; } else { var tmp = this.getScrollPosition(); this.upArrow_mc.gotoAndStop(1); this.downArrow_mc.gotoAndStop(1); this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller); this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling); this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller); this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling); this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller); this.scrollTrack_mc.onRelease = this.stopScrolling; this.scrollTrack_mc.onDragOut = this.stopScrolling; this.scrollTrack_mc.onRollOut = this.stopScrolling; this.scrollTrack_mc.useHandCursor = false; this.attachMovie("ScrollThumb", "scrollThumb_mc", 3); this.scrollThumb_mc._x = 0; this.scrollThumb_mc._y = this.upArrow_mc._height; this.scrollThumb_mc.onPress = this.startDragThumb; this.scrollThumb_mc.controller = this; this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb); this.scrollThumb_mc.useHandCursor = false; this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize; this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid; this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop; this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot; this.thumbHeight = Math.max(this.thumbHeight, 6); this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height; this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height; this.thumbMid_mc._y = this.thumbTop_mc._height; this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight; this.scrollTop = this.scrollThumb_mc._y; this.trackHeight = this.trackSize - this.thumbHeight; this.scrollBot = this.trackHeight + this.scrollTop; tmp = Math.min(tmp, this.maxPos); this.setScrollPosition(Math.max(tmp, this.minPos)); } }; FScrollBarClass.prototype.getScrollPosition = function () { return(this.scrollPosition); }; FScrollBarClass.prototype.setScrollPosition = function (pos) { this.scrollPosition = pos; if (this.scrollThumb_mc != undefined) { pos = Math.min(pos, this.maxPos); pos = Math.max(pos, this.minPos); } this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop; this.executeCallBack(); }; FScrollBarClass.prototype.setLargeScroll = function (lScroll) { this.largeScroll = lScroll; }; FScrollBarClass.prototype.setSmallScroll = function (sScroll) { this.smallScroll = sScroll; }; FScrollBarClass.prototype.setEnabled = function (enabledFlag) { var wasEnabled = this.enable; if (enabledFlag && (!wasEnabled)) { this.enable = enabledFlag; if (this.textField != undefined) { this.setScrollTarget(this.textField); } else { this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos); this.setScrollPosition(this.cachedPos); } this.clickFilter = undefined; } else if ((!enabledFlag) && (wasEnabled)) { this.textField.removeListener(this); this.cachedPos = this.getScrollPosition(); this.cachedMinPos = this.minPos; this.cachedMaxPos = this.maxPos; if (this.clickFilter == undefined) { this.setScrollProperties(this.pageSize, 0, 0); } else { this.clickFilter = true; } this.enable = enabledFlag; } }; FScrollBarClass.prototype.setSize = function (hgt) { if (this._height == 1) { return(undefined); } this.width = hgt; this.scrollTrack_mc._yscale = 100; this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height; if (this.upArrow_mc == undefined) { this.attachMovie("UpArrow", "upArrow_mc", 1); this.attachMovie("DownArrow", "downArrow_mc", 2); this.downArrow_mc.controller = (this.upArrow_mc.controller = this); this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false); this.upArrow_mc._x = (this.upArrow_mc._y = 0); this.downArrow_mc._x = 0; } this.scrollTrack_mc.controller = this; this.downArrow_mc._y = this.width - this.downArrow_mc._height; this.trackSize = this.width - (2 * this.downArrow_mc._height); if (this.textField != undefined) { this.onTextChanged(); } else { this.setScrollProperties(this.pageSize, this.minPos, this.maxPos); } }; FScrollBarClass.prototype.scrollIt = function (inc, mode) { var delt = this.smallScroll; if (inc != "one") { delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll)); } var newPos = (this.getScrollPosition() + (mode * delt)); if (newPos > this.maxPos) { newPos = this.maxPos; } else if (newPos < this.minPos) { newPos = this.minPos; } this.setScrollPosition(newPos); }; FScrollBarClass.prototype.startDragThumb = function () { this.lastY = this._ymouse; this.onMouseMove = this.controller.dragThumb; }; FScrollBarClass.prototype.dragThumb = function () { this.scrollMove = this._ymouse - this.lastY; this.scrollMove = this.scrollMove + this._y; if (this.scrollMove < this.controller.scrollTop) { this.scrollMove = this.controller.scrollTop; } else if (this.scrollMove > this.controller.scrollBot) { this.scrollMove = this.controller.scrollBot; } this._y = this.scrollMove; var c = this.controller; c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos; this.controller.isScrolling = true; updateAfterEvent(); this.controller.executeCallBack(); }; FScrollBarClass.prototype.stopDragThumb = function () { this.controller.isScrolling = false; this.onMouseMove = null; }; FScrollBarClass.prototype.startTrackScroller = function () { this.controller.trackScroller(); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1); }; FScrollBarClass.prototype.scrollInterval = function (inc, mode) { clearInterval(this.scrolling); if (inc == "page") { this.trackScroller(); } else { this.scrollIt(inc, mode); } this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode); }; FScrollBarClass.prototype.trackScroller = function () { if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) { this.scrollIt("page", 1); } else if (this.scrollThumb_mc._y > this._ymouse) { this.scrollIt("page", -1); } }; FScrollBarClass.prototype.stopScrolling = function () { this.controller.downArrow_mc.gotoAndStop(1); this.controller.upArrow_mc.gotoAndStop(1); clearInterval(this.controller.scrolling); }; FScrollBarClass.prototype.startUpScroller = function () { this.controller.upArrow_mc.gotoAndStop(2); this.controller.scrollIt("one", -1); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1); }; FScrollBarClass.prototype.startDownScroller = function () { this.controller.downArrow_mc.gotoAndStop(2); this.controller.scrollIt("one", 1); this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1); }; FScrollBarClass.prototype.setScrollTarget = function (tF) { if (tF == undefined) { this.textField.removeListener(this); delete this.textField[(this.horizontal ? "hScroller" : "vScroller")]; if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) { this.textField.unwatch("text"); this.textField.unwatch("htmltext"); } } this.textField = undefined; if (!(tF instanceof TextField)) { return(undefined); } this.textField = tF; this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this; this.onTextChanged(); this.onChanged = function () { this.onTextChanged(); }; this.onScroller = function () { if (!this.isScrolling) { if (!this.horizontal) { this.setScrollPosition(this.textField.scroll); } else { this.setScrollPosition(this.textField.hscroll); } } }; this.textField.addListener(this); this.textField.watch("text", this.callback); this.textField.watch("htmlText", this.callback); }; FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) { clearInterval(this.hScroller.synchScroll); clearInterval(this.vScroller.synchScroll); this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50); this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50); return(newVal); }; FScrollBarClass.prototype.onTextChanged = function () { if ((!this.enable) || (this.textField == undefined)) { return(undefined); } clearInterval(this.synchScroll); if (this.horizontal) { var pos = this.textField.hscroll; this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll); this.setScrollPosition(Math.min(pos, this.textField.maxhscroll)); } else { var pos = this.textField.scroll; var pageSize = (this.textField.bottomScroll - this.textField.scroll); this.setScrollProperties(pageSize, 1, this.textField.maxscroll); this.setScrollPosition(Math.min(pos, this.textField.maxscroll)); } }; FScrollBarClass.prototype.executeCallBack = function () { if (this.textField == undefined) { super.executeCallBack(); } else if (this.horizontal) { this.textField.hscroll = this.getScrollPosition(); } else { this.textField.scroll = this.getScrollPosition(); } }; Object.registerClass("FScrollBarSymbol", FScrollBarClass); #endinitclip
Symbol 88 MovieClip [FLabelSymbol] Frame 1
#initclip 1 _global.FLabelClass = function () { if (this.hostComponent == undefined) { this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller)); } if (this.customTextStyle == undefined) { if (this.hostComponent.textStyle == undefined) { this.hostComponent.textStyle = new TextFormat(); } this.textStyle = this.hostComponent.textStyle; this.enable = true; } }; FLabelClass.prototype = new MovieClip(); Object.registerClass("FLabelSymbol", FLabelClass); FLabelClass.prototype.setLabel = function (label) { var val = this.hostComponent.styleTable.embedFonts.value; if (val != undefined) { this.labelField.embedFonts = val; } this.labelField.setNewTextFormat(this.textStyle); this.labelField.text = label; this.labelField._height = this.labelField.textHeight + 2; }; FLabelClass.prototype.setSize = function (width) { this.labelField._width = width; }; FLabelClass.prototype.setEnabled = function (enable) { this.enable = enable; var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value; if (tmpColor == undefined) { tmpColor = (enable ? 0 : 8947848); } this.setColor(tmpColor); }; FLabelClass.prototype.getLabel = function () { return(this.labelField.text); }; FLabelClass.prototype.setColor = function (col) { this.labelField.textColor = col; }; #endinitclip
Symbol 91 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(background_mc, "background");
Symbol 100 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 103 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 105 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 108 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(disabled_mc, "foregroundDisabled");
Symbol 111 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(dot_mc, "radioDot");
Symbol 112 MovieClip [frb_states] Frame 1
stop();
Symbol 112 MovieClip [frb_states] Frame 2
stop();
Symbol 112 MovieClip [frb_states] Frame 3
stop();
Symbol 112 MovieClip [frb_states] Frame 4
stop();
Symbol 112 MovieClip [frb_states] Frame 5
stop();
Symbol 113 MovieClip [FUIComponentSymbol] Frame 1
#initclip 2 function FUIComponentClass() { this.init(); } FUIComponentClass.prototype = new MovieClip(); FUIComponentClass.prototype.init = function () { this.enable = true; this.focused = false; this.useHandCursor = false; this._accImpl = new Object(); this._accImpl.stub = true; this.styleTable = new Array(); if (_global.globalStyleFormat == undefined) { _global.globalStyleFormat = new FStyleFormat(); globalStyleFormat.isGlobal = true; _global._focusControl = new Object(); _global._focusControl.onSetFocus = function (oldFocus, newFocus) { oldFocus.myOnKillFocus(); newFocus.myOnSetFocus(); }; Selection.addListener(_global._focusControl); } if (this._name != undefined) { this._focusrect = false; this.tabEnabled = true; this.focusEnabled = true; this.tabChildren = false; this.tabFocused = true; if (this.hostStyle == undefined) { globalStyleFormat.addListener(this); } else { this.styleTable = this.hostStyle; } this.deadPreview._visible = false; this.deadPreview._width = (this.deadPreview._height = 1); this.methodTable = new Object(); this.keyListener = new Object(); this.keyListener.controller = this; this.keyListener.onKeyDown = function () { this.controller.myOnKeyDown(); }; this.keyListener.onKeyUp = function () { this.controller.myOnKeyUp(); }; for (var i in this.styleFormat_prm) { this.setStyleProperty(i, this.styleFormat_prm[i]); } } }; FUIComponentClass.prototype.setEnabled = function (enabledFlag) { this.enable = ((arguments.length > 0) ? (enabledFlag) : true); this.tabEnabled = (this.focusEnabled = enabledFlag); if ((!this.enable) && (this.focused)) { Selection.setFocus(undefined); } }; FUIComponentClass.prototype.getEnabled = function () { return(this.enable); }; FUIComponentClass.prototype.setSize = function (w, h) { this.width = w; this.height = h; this.focusRect.removeMovieClip(); }; FUIComponentClass.prototype.setChangeHandler = function (chng, obj) { this.handlerObj = ((obj == undefined) ? (this._parent) : (obj)); this.changeHandler = chng; }; FUIComponentClass.prototype.invalidate = function (methodName) { this.methodTable[methodName] = true; this.onEnterFrame = this.cleanUI; }; FUIComponentClass.prototype.cleanUI = function () { if (this.methodTable.setSize) { this.setSize(this.width, this.height); } else { this.cleanUINotSize(); } this.methodTable = new Object(); delete this.onEnterFrame; }; FUIComponentClass.prototype.cleanUINotSize = function () { for (var funct in this.methodTable) { this[funct](); } }; FUIComponentClass.prototype.drawRect = function (x, y, w, h) { var inner = this.styleTable.focusRectInner.value; var outer = this.styleTable.focusRectOuter.value; if (inner == undefined) { inner = 16777215 /* 0xFFFFFF */; } if (outer == undefined) { outer = 0; } this.createEmptyMovieClip("focusRect", 1000); this.focusRect.controller = this; this.focusRect.lineStyle(1, outer); this.focusRect.moveTo(x, y); this.focusRect.lineTo(x + w, y); this.focusRect.lineTo(x + w, y + h); this.focusRect.lineTo(x, y + h); this.focusRect.lineTo(x, y); this.focusRect.lineStyle(1, inner); this.focusRect.moveTo(x + 1, y + 1); this.focusRect.lineTo((x + w) - 1, y + 1); this.focusRect.lineTo((x + w) - 1, (y + h) - 1); this.focusRect.lineTo(x + 1, (y + h) - 1); this.focusRect.lineTo(x + 1, y + 1); }; FUIComponentClass.prototype.pressFocus = function () { this.tabFocused = false; this.focusRect.removeMovieClip(); Selection.setFocus(this); }; FUIComponentClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this.width + 4, this.height + 4); }; FUIComponentClass.prototype.myOnSetFocus = function () { this.focused = true; Key.addListener(this.keyListener); if (this.tabFocused) { this.drawFocusRect(); } }; FUIComponentClass.prototype.myOnKillFocus = function () { this.tabFocused = true; this.focused = false; this.focusRect.removeMovieClip(); Key.removeListener(this.keyListener); }; FUIComponentClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this); }; FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) { this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal); }; FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) { if (value == "") { return(undefined); } var tmpValue = parseInt(value); if (!isNaN(tmpValue)) { value = tmpValue; } var global = ((arguments.length > 2) ? (isGlobal) : false); if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].useGlobal || (!global)) { this.styleTable[propName].value = value; if (this.setCustomStyleProperty(propName, value)) { } else if (propName == "embedFonts") { this.invalidate("setSize"); } else if (propName.subString(0, 4) == "text") { if (this.textStyle == undefined) { this.textStyle = new TextFormat(); } var textProp = propName.subString(4, propName.length); this.textStyle[textProp] = value; this.invalidate("setSize"); } else { for (var j in this.styleTable[propName].coloredMCs) { var myColor = new Color(this.styleTable[propName].coloredMCs[j]); if (this.styleTable[propName].value == undefined) { var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"}; myColor.setTransform(myTObj); } else { myColor.setRGB(value); } } } this.styleTable[propName].useGlobal = global; } }; FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) { if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].coloredMCs == undefined) { this.styleTable[propName].coloredMCs = new Object(); } this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef; if (this.styleTable[propName].value != undefined) { var myColor = new Color(skinMCRef); myColor.setRGB(this.styleTable[propName].value); } }; _global.FStyleFormat = function () { this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true}; this.listeners = new Object(); this.isGlobal = false; if (arguments.length > 0) { for (var i in arguments[0]) { this[i] = arguments[0][i]; } } }; _global.FStyleFormat.prototype = new Object(); FStyleFormat.prototype.addListener = function () { var arg = 0; while (arg < arguments.length) { var mcRef = arguments[arg]; this.listeners[arguments[arg]] = mcRef; for (var i in this) { if (this.isAStyle(i)) { mcRef.updateStyleProperty(this, i.toString()); } } arg++; } }; FStyleFormat.prototype.removeListener = function (component) { this.listeners[component] = undefined; for (var prop in this) { if (this.isAStyle(prop)) { if (component.styleTable[prop].useGlobal == this.isGlobal) { component.styleTable[prop].useGlobal = true; var value = (this.isGlobal ? undefined : (globalStyleFormat[prop])); component.setStyleProperty(prop, value, true); } } } }; FStyleFormat.prototype.applyChanges = function () { var count = 0; for (var i in this.listeners) { var component = this.listeners[i]; if (arguments.length > 0) { var j = 0; while (j < arguments.length) { if (this.isAStyle(arguments[j])) { component.updateStyleProperty(this, arguments[j]); } j++; } } else { for (var j in this) { if (this.isAStyle(j)) { component.updateStyleProperty(this, j.toString()); } } } } }; FStyleFormat.prototype.isAStyle = function (name) { return((this.nonStyles[name] ? false : true)); }; #endinitclip
Symbol 119 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent; component.registerSkinElement(boundingBox, "background"); stop();
Symbol 119 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled"); stop();
Symbol 120 MovieClip [FRadioButtonSymbol] Frame 1
#initclip 3 function FRadioButtonClass() { this.init(); } function FRadioButtonGroupClass() { this.radioInstances = new Array(); } FRadioButtonClass.prototype = new FUIComponentClass(); FRadioButtonGroupClass.prototype = new FUIComponentClass(); Object.registerClass("FRadioButtonSymbol", FRadioButtonClass); FRadioButtonClass.prototype.init = function () { if (this.initialState == undefined) { this.selected = false; } else { this.selected = this.initialState; } super.setSize(this._width, this._height); this.boundingBox_mc.unloadMovie(); this.boundingBox_mc._width = 0; this.boundingBox_mc._height = 0; this.attachMovie("frb_hitArea", "frb_hitArea_mc", 1); this.attachMovie("frb_states", "frb_states_mc", 2); this.attachMovie("FLabelSymbol", "fLabel_mc", 3); super.init(); this._xscale = 100; this._yscale = 100; this.setSize(this.width, this.height); this.setChangeHandler(this.changeHandler); if (this.label != undefined) { this.setLabel(this.label); } if (this.initialState == undefined) { this.setValue(false); } else { this.setValue(this.initialState); } if (this.data == "") { this.data = undefined; } else { this.setData(this.data); } this.addToRadioGroup(); this.ROLE_SYSTEM_RADIOBUTTON = 45; this.STATE_SYSTEM_SELECTED = 16; this.EVENT_OBJECT_STATECHANGE = 32778; this.EVENT_OBJECT_NAMECHANGE = 32780; this._accImpl.master = this; this._accImpl.stub = false; this._accImpl.get_accRole = this.get_accRole; this._accImpl.get_accName = this.get_accName; this._accImpl.get_accState = this.get_accState; this._accImpl.get_accDefaultAction = this.get_accDefaultAction; this._accImpl.accDoDefaultAction = this.accDoDefaultAction; }; FRadioButtonClass.prototype.setHitArea = function (w, h) { var hit = this.frb_hitArea_mc; this.hitArea = hit; if (this.frb_states_mc._width > w) { hit._width = this.frb_states_mc._width; } else { hit._width = w; } hit._visible = false; if (arguments.length > 1) { hit._height = h; } }; FRadioButtonClass.prototype.txtFormat = function (pos) { var txtS = this.textStyle; var sTbl = this.styleTable; txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = pos)) : undefined); txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 0)) : undefined); txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 0)) : undefined); if (this.flabel_mc._height > this.height) { super.setSize(this.width, this.flabel_mc._height); } else { super.setSize(this.width, this.height); } this.setEnabled(this.enable); }; FRadioButtonClass.prototype.setSize = function (w, h) { this.setLabel(this.getLabel()); this.setLabelPlacement(this.labelPlacement); if (this.frb_states_mc._height < this.flabel_mc.labelField._height) { super.setSize(w, this.flabel_mc.labelField._height); } this.setHitArea(this.width, this.height); this.setLabelPlacement(this.labelPlacement); }; FRadioButtonClass.prototype.setLabelPlacement = function (pos) { this.setLabel(this.getLabel()); this.txtFormat(pos); var halfLabelH = (this.fLabel_mc._height / 2); var halfFrameH = (this.frb_states_mc._height / 2); var vertCenter = (halfFrameH - halfLabelH); var radioWidth = this.frb_states_mc._width; var frame = this.frb_states_mc; var label = this.fLabel_mc; var w = (this.width - frame._width); if (frame._width > this.width) { w = 0; } else { w = this.width - frame._width; } this.fLabel_mc.setSize(w); if ((pos == "right") || (pos == undefined)) { this.labelPlacement = "right"; this.frb_states_mc._x = 0; this.fLabel_mc._x = radioWidth; this.txtFormat("left"); } else if (pos == "left") { this.labelPlacement = "left"; this.fLabel_mc._x = 0; this.frb_states_mc._x = this.width - radioWidth; this.txtFormat("right"); } this.fLabel_mc._y = vertCenter; this.frb_hitArea_mc._y = vertCenter; this.setLabel(this.getLabel()); }; FRadioButtonClass.prototype.setData = function (dataValue) { this.data = dataValue; }; FRadioButtonClass.prototype.getData = function () { return(this.data); }; FRadioButtonClass.prototype.getState = function () { return(this.selected); }; FRadioButtonClass.prototype.getSize = function () { return(this.width); }; FRadioButtonClass.prototype.getGroupName = function () { return(this.groupName); }; FRadioButtonClass.prototype.setGroupName = function (groupName) { var i = 0; while (i < this._parent[this.groupName].radioInstances.length) { if (this._parent[this.groupName].radioInstances[i] == this) { delete this._parent[this.groupName].radioInstances[i]; } i++; } this.groupName = groupName; this.addToRadioGroup(); }; FRadioButtonClass.prototype.addToRadioGroup = function () { if (this._parent[this.groupName] == undefined) { this._parent[this.groupName] = new FRadioButtonGroupClass(); } this._parent[this.groupName].addRadioInstance(this); }; FRadioButtonClass.prototype.setValue = function (selected) { if (selected || (selected == undefined)) { this.setState(true); this.focusRect.removeMovieClip(); this.executeCallBack(); } else if (selected == false) { this.setState(false); } }; FRadioButtonClass.prototype.setTabState = function (selected) { Selection.setFocus(this); this.setState(selected); this.drawFocusRect(); this.executeCallBack(); }; FRadioButtonClass.prototype.setState = function (selected) { if (selected || (selected == undefined)) { this.tabEnabled = true; for (var i in this._parent) { if ((this != this._parent[i]) && (this._parent[i].groupName == this.groupName)) { this._parent[i].setState(false); this._parent[i].tabEnabled = false; } } } if (this.enable) { this.flabel_mc.setEnabled(true); if (selected || (selected == undefined)) { this.frb_states_mc.gotoAndStop("selectedEnabled"); this.enabled = false; this.selected = true; this.tabEnabled = true; this.tabFocused = true; } else { this.frb_states_mc.gotoAndStop("unselectedEnabled"); this.enabled = true; this.selected = false; this.tabEnabled = false; var enabTrue = this._parent[this.groupName].getEnabled(); var noneSelect = (this._parent[this.groupName].getValue() == undefined); if (enabTrue && (noneSelect)) { this._parent[this.groupName].radioInstances[0].tabEnabled = true; } } } else { this.flabel_mc.setEnabled(false); if (selected || (selected == undefined)) { this.frb_states_mc.gotoAndStop("selectedDisabled"); this.enabled = false; this.selected = true; this.tabEnabled = false; } else { this.frb_states_mc.gotoAndStop("unselectedDisabled"); this.enabled = false; this.selected = false; this.tabEnabled = false; } } if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true); } }; FRadioButtonClass.prototype.getValue = function () { if (this.selected) { if ((this.data == "") || (this.data == undefined)) { return(this.getLabel()); } return(this.data); } }; FRadioButtonClass.prototype.setEnabled = function (enable) { if ((enable == true) || (enable == undefined)) { this.enable = true; super.setEnabled(true); } else { this.enable = false; super.setEnabled(false); } this.setState(this.selected); var cgn = (this._parent[this.groupName].getEnabled() == undefined); var cgnez = (this._parent[this.groupName].radioInstances[0].getEnabled() == false); if (cgn && (cgnez)) { var i = 0; while (i < this._parent[this.groupName].radioInstances.length) { if (this._parent[this.groupName].radioInstances[i].getEnabled() == true) { this._parent[this.groupName].radioInstances[i].tabEnabled = true; return(undefined); } i++; } } }; FRadioButtonClass.prototype.getEnabled = function () { return(this.enable); }; FRadioButtonClass.prototype.setLabel = function (label) { this.fLabel_mc.setLabel(label); this.txtFormat(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE); } }; FRadioButtonClass.prototype.getLabel = function () { return(this.fLabel_mc.getLabel()); }; FRadioButtonClass.prototype.onPress = function () { this.pressFocus(); this.frb_states_mc.gotoAndStop("press"); }; FRadioButtonClass.prototype.onRelease = function () { this.frb_states_mc.gotoAndStop("unselectedDisabled"); this.setValue(!this.selected); }; FRadioButtonClass.prototype.onReleaseOutside = function () { this.frb_states_mc.gotoAndStop("unselectedEnabled"); }; FRadioButtonClass.prototype.onDragOut = function () { this.frb_states_mc.gotoAndStop("unselectedEnabled"); }; FRadioButtonClass.prototype.onDragOver = function () { this.frb_states_mc.gotoAndStop("press"); }; FRadioButtonClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this._parent[this.groupName]); }; FRadioButtonGroupClass.prototype.addRadioInstance = function (instance) { this.radioInstances.push(instance); this.radioInstances[0].tabEnabled = true; }; FRadioButtonGroupClass.prototype.setEnabled = function (enableFlag) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setEnabled(enableFlag); i++; } }; FRadioButtonGroupClass.prototype.getEnabled = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].getEnabled() != this.radioInstances[0].getEnabled()) { return(undefined); } i++; } return(this.radioInstances[0].getEnabled()); }; FRadioButtonGroupClass.prototype.setChangeHandler = function (changeHandler, obj) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setChangeHandler(changeHandler, obj); i++; } }; FRadioButtonGroupClass.prototype.getValue = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected == true) { if ((this.radioInstances[i].data == "") || (this.radioInstances[i].data == undefined)) { return(this.radioInstances[i].getLabel()); } return(this.radioInstances[i].data); } i++; } }; FRadioButtonGroupClass.prototype.getData = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected) { return(this.radioInstances[i].getData()); } i++; } }; FRadioButtonGroupClass.prototype.getInstance = function () { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].selected == true) { return(i); } i++; } }; FRadioButtonGroupClass.prototype.setValue = function (dataValue) { var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].data == dataValue) { this.radioInstances[i].setValue(true); return(undefined); } i++; } var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].getLabel() == dataValue) { this.radioInstances[i].setValue(true); } i++; } }; FRadioButtonGroupClass.prototype.setSize = function (w) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setSize(w); i++; } }; FRadioButtonGroupClass.prototype.getSize = function () { var widestRadio = 0; var i = 0; while (i < this.radioInstances.length) { if (this.radioInstances[i].width >= widestRadio) { widestRadio = this.radioInstances[i].width; } i++; } return(widestRadio); }; FRadioButtonGroupClass.prototype.setGroupName = function (groupName) { this.oldGroupName = this.radioInstances[0].groupName; var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].groupName = groupName; this.radioInstances[i].addToRadioGroup(); i++; } delete this._parent[this.oldGroupName]; }; FRadioButtonGroupClass.prototype.getGroupName = function () { return(this.radioInstances[0].groupName); }; FRadioButtonGroupClass.prototype.setLabelPlacement = function (pos) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setLabelPlacement(pos); i++; } }; FRadioButtonGroupClass.prototype.setStyleProperty = function (propName, value, isGlobal) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].setStyleProperty(propName, value, isGlobal); i++; } }; FRadioButtonGroupClass.prototype.addListener = function () { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].addListener(); i++; } }; FRadioButtonGroupClass.prototype.applyChanges = function () { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].applyChanges(); i++; } }; FRadioButtonGroupClass.prototype.removeListener = function (component) { var i = 0; while (i < this.radioInstances.length) { this.radioInstances[i].removeListener(component); i++; } }; FRadioButtonClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this._width + 6, this._height - 3); }; FRadioButtonClass.prototype.myOnKillFocus = function () { Key.removeListener(this.keyListener); this.focused = false; this.focusRect.removeMovieClip(); this._parent[this.groupName].foobar = 0; }; FRadioButtonClass.prototype.myOnKeyDown = function () { if ((Key.getCode() == 32) && (this._parent[this.groupName].getValue() == undefined)) { if (this._parent[this.groupName].radioInstances[0] == this) { this.setTabState(true); } } if ((Key.getCode() == 40) && (this.pressOnce == undefined)) { this.foobar = this._parent[this.groupName].getInstance(); var i = this.foobar; while (i < this._parent[this.groupName].radioInstances.length) { var inc = (i + 1); if (this._parent[this.groupName].radioInstances[inc].getEnabled()) { this._parent[this.groupName].radioInstances[inc].setTabState(true); return(undefined); } i++; } } if ((Key.getCode() == 38) && (this.pressOnce == undefined)) { this.foobar = this._parent[this.groupName].getInstance(); var i = this.foobar; while (i >= 0) { var inc = (i - 1); if (this._parent[this.groupName].radioInstances[inc].getEnabled()) { this._parent[this.groupName].radioInstances[inc].setTabState(true); return(undefined); } i--; } } }; FRadioButtonClass.prototype.get_accRole = function (childId) { return(this.master.ROLE_SYSTEM_RADIOBUTTON); }; FRadioButtonClass.prototype.get_accName = function (childId) { return(this.master.getLabel()); }; FRadioButtonClass.prototype.get_accState = function (childId) { if (this.master.getState()) { return(this.master.STATE_SYSTEM_SELECTED); } return(0); }; FRadioButtonClass.prototype.get_accDefaultAction = function (childId) { if (this.master.getState()) { return("UnCheck"); } return("Check"); }; FRadioButtonClass.prototype.accDoDefaultAction = function (childId) { this.master.setValue(!this.master.getValue()); }; #endinitclip boundingBox_mc._visible = false; deadPreview._visible = false;
Symbol 124 Button
on (rollOver) { nextFrame(); } on (rollOut) { prevFrame(); }
Symbol 132 MovieClip Frame 1
stop();
Symbol 153 Button
on (release) { _root.play(); }
Symbol 154 MovieClip Frame 2
if (_root.getBytesLoaded() < _root.getBytesTotal()) { loadingText = ("Loading " + Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + "%"; estimate = ("Complete in " + Math.round((_root.getBytesTotal() - _root.getBytesLoaded()) / ((_root.getBytesLoaded() / getTimer()) * 1000))) + " seconds"; prevFrame(); play(); }
Symbol 154 MovieClip Frame 4
stop();
Symbol 156 Button
on (press) { _root.gotoAndPlay("sceneOpeningEnd"); }
Symbol 235 MovieClip Frame 1
volumeControl = new Sound(); stop();
Symbol 235 MovieClip Frame 4
if (volumeControl.getVolume() > 5) { volumeControl.setVolume(volumeControl.getVolume() - 5); prevFrame(); play(); } else { stopAllSounds(); volumeControl.setVolume(100); _root.openingLoopPlaying = false; _root.play(); gotoAndStop (1); }
Symbol 237 MovieClip Frame 1
function startLoop() { if (!_root.openingLoopPlaying) { _root.openingLoopPlaying = true; play(); } } function fadeLoop() { fader.play(); } stop();
Symbol 237 MovieClip Frame 3
stop();
Symbol 248 Button
on (release) { with (_root) { if (adultContent) { previousScene = "sceneMainMenu"; selectedItem = "sceneGallery"; play(); } } }
Symbol 249 Button
on (release) { with (_root) { selectedItem = "sceneGraphicsOptions"; play(); } }
Symbol 250 Button
on (release) { with (_root) { selectedItem = "sceneNewArena"; play(); } }
Symbol 251 Button
on (release) { with (_root) { previousScene = "sceneMainMenu"; selectedItem = "sceneHighScore"; play(); } }
Symbol 252 Button
on (release) { with (_root) { selectedItem = "sceneTutorial"; play(); } }
Symbol 253 Button
on (release) { with (_root) { selectedItem = "sceneNewAdventure"; play(); } }
Symbol 262 MovieClip Frame 26
if (Math.random() < 0.5) { gotoAndPlay (1); }
Symbol 262 MovieClip Frame 53
if (Math.random() < 0.5) { gotoAndPlay (27); }
Symbol 263 MovieClip Frame 2
_rotation = (Math.random() * 360); xTrans = (Math.random() * 4) + 1; yTrans = (Math.random() * 4) + 1; _xscale = (_xscale + (Math.random() * 20)); _yscale = _xscale; if (Math.random() < 0.66) { _x = (Math.random() * 550); _y = ((-Math.random()) * 50); } else { _x = ((-Math.random()) * 50); _y = (Math.random() * 400); }
Symbol 263 MovieClip Frame 4
_x = (_x + xTrans); _y = (_y + yTrans); xTrans = xTrans + ((Math.random() - 0.5) / 3); if ((_x > 550) || (_y > 400)) { removeMovieClip(""); } else { prevFrame(); play(); }
Symbol 264 MovieClip Frame 1
sakuraTimer = new _root.Timer(); nextSpawnTime = 100; c = 1;
Instance of Symbol 263 MovieClip "oSakura" in Symbol 264 MovieClip Frame 1
onClipEvent (load) { if (_name == "oSakura") { stop(); _visible = false; } }
Symbol 264 MovieClip Frame 3
if ((!((_root.smokeScreen && (_root.arenaMode)) && (_root.inCombat))) && (sakuraTimer.timeOver(nextSpawnTime))) { duplicateMovieClip ("oSakura", "saku" + c, c); c = (c + 1) % 5000; sakuraTimer.resetTimer(); nextSpawnTime = 200 + (Math.random() * 300); } prevFrame(); play();
Symbol 278 MovieClip Frame 1
function update(v) { gotoAndStop(v + 1); } stop();
Symbol 280 Button
on (release) { play(); }
Symbol 283 MovieClip Frame 1
function update(v) { gotoAndStop(v + 1); }
Symbol 284 Button
on (release) { if (smokeScreen) { objSmokeScreen.update(1); smokeScreen = false; } else { objSmokeScreen.update(0); smokeScreen = true; } } on (rollOver) { objHelpDisplay.update(3); } on (rollOut) { objHelpDisplay.update(0); }
Symbol 286 Button
on (release) { if (autoQuality) { objAutoQuality.update(1); autoQuality = false; } else { objAutoQuality.update(0); autoQuality = true; } } on (rollOver) { objHelpDisplay.update(2); } on (rollOut) { objHelpDisplay.update(0); }
Symbol 291 MovieClip Frame 1
function update(v) { gotoAndStop(v + 1); }
Symbol 292 Button
on (release) { if (_quality == "LOW") { objQuality.update(1); _quality = "MEDIUM"; } else if (_quality == "MEDIUM") { objQuality.update(2); _quality = "HIGH"; } else { objQuality.update(0); _quality = "LOW"; } } on (rollOver) { objHelpDisplay.update(1); } on (rollOut) { objHelpDisplay.update(0); }
Symbol 294 Button
on (release) { if (adultContent) { objAdultContent.update(1); adultContent = false; } else { objAdultContent.update(0); adultContent = true; } } on (rollOver) { objHelpDisplay.update(4); } on (rollOut) { objHelpDisplay.update(0); }
Symbol 300 MovieClip Frame 1
function startLoop() { play(); } function fadeLoop() { fader.play(); } stop();
Symbol 300 MovieClip Frame 3
stop();
Symbol 338 MovieClip Frame 1
function renameTime() { var timeDiff; var i = 0; while (i < 8) { timeDiff = int(eval ("timeObj" + i).text); minu = Math.floor(timeDiff / 60000); if (minu < 10) { minu = "0" + minu; } sec = Math.floor((timeDiff % 60000) / 1000); if (sec < 10) { sec = "0" + sec; } milsec = Math.floor((timeDiff % 1000) / 10); if (milsec < 10) { milsec = "0" + milsec; } eval ("timeObj" + i).text = (((minu + ":") + sec) + ":") + milsec; i++; } } stop();
Symbol 341 MovieClip Frame 2
_xscale = (60 + (Math.random() * 50)); _yscale = _xscale; xTrans = (Math.random() * 2) - 1; yTrans = ((4 * _xscale) / 100) + Math.random(); if (Math.random() < 0.66) { _x = (Math.random() * 550); _y = ((-Math.random()) * 50); } else { if (_parent.wind >= 0) { _x = ((-Math.random()) * 20); } else { _x = (550 + (Math.random() * 20)); } _y = (Math.random() * 400); } _visible = true;
Symbol 341 MovieClip Frame 4
_x = (_x + (_parent.wind + xTrans)); _y = (_y + yTrans); yTrans = yTrans + 0.01; if (((_y > (180 + (_yscale * 2))) || (_x < -20)) || (_x > 570)) { removeMovieClip(""); } else { prevFrame(); play(); }
Symbol 342 MovieClip Frame 1
windTimer = new _root.Timer(); snowTimer = new _root.Timer(); nextSpawnTime = 100; c = 1; wind = 0;
Instance of Symbol 341 MovieClip "oSnow" in Symbol 342 MovieClip Frame 1
onClipEvent (load) { _visible = false; if (_name == "oSnow") { stop(); } }
Symbol 342 MovieClip Frame 3
if (snowTimer.timeOver(nextSpawnTime)) { duplicateMovieClip ("oSnow", "snow" + c, c); c = (c + 1) % 5000; snowTimer.resetTimer(); nextSpawnTime = 200 + (Math.random() * 100); } if (windTimer.timeOver(1000)) { wind = wind + ((Math.random() * 2) - 1); if (wind > 5) { if (Math.random() < 0.2) { wind = 0; } else { wind = 5; } } if (wind < -5) { if (Math.random() < 0.2) { wind = 0; } else { wind = -5; } } windTimer.resetTimer(); } prevFrame(); play();
Symbol 346 Button
on (release) { _root.gotoAndPlay("sceneHighScore"); }
Symbol 347 Button
on (release) { _root.gotoAndPlay("sceneHSCancel"); }
Symbol 359 MovieClip Frame 2
stop();
Symbol 360 Button
on (rollOver, press) { editHelp._xscale = 100; editHelp._yscale = 100; editHelp._visible = true; } on (rollOut, release, releaseOutside) { editHelp._xscale = 0; editHelp._yscale = 0; editHelp._visible = false; }
Symbol 362 Button
on (release) { _root.gotoScene = "sceneMainMenu"; }
Symbol 364 Button
on (release) { _root.nextBishojo = -1; var i = 0; while (i < _root.bishojoName.length) { if (nextBishojo.toLowerCase() == _root.bishojoName[i].toLowerCase()) { _root.nextBishojo = i; } i++; } if (_root.nextBishojo != -1) { _root.addToPile(); } }
Symbol 366 MovieClip Frame 1
stop(); viewable = true;
Instance of Symbol 359 MovieClip "editHelp" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { _xscale = 0; _yscale = 0; _visible = false; }
Symbol 366 MovieClip Frame 2
viewable = false;
Symbol 366 MovieClip Frame 10
_visible = false; stop();
Symbol 366 MovieClip Frame 11
_visible = true;
Symbol 414 MovieClip Frame 1
stop();
Instance of Symbol 385 MovieClip "box" in Symbol 414 MovieClip Frame 2
onClipEvent (load) { stop(); _visible = false; }
Symbol 414 MovieClip Frame 16
gotoAndPlay (2);
Symbol 414 MovieClip Frame 18
stop();
Symbol 414 MovieClip Frame 23
stop();
Symbol 414 MovieClip Frame 28
stop();
Symbol 414 MovieClip Frame 33
stop();
Symbol 414 MovieClip Frame 38
stop();
Symbol 414 MovieClip Frame 43
stop();
Symbol 414 MovieClip Frame 48
stop();
Symbol 414 MovieClip Frame 53
stop();
Symbol 414 MovieClip Frame 58
stop();
Symbol 414 MovieClip Frame 63
stop();
Symbol 414 MovieClip Frame 68
stop();
Symbol 414 MovieClip Frame 73
stop();
Symbol 414 MovieClip Frame 78
stop();
Symbol 414 MovieClip Frame 83
stop();
Symbol 415 MovieClip Frame 1
function moveTo(x, y) { _x = x; _y = y; _xscale = ((((_y - 200) / 350) * 90) + 20); _yscale = _xscale; } function flip() { play(); } if (_name == "oBishojo") { stop(); }
Symbol 415 MovieClip Frame 2
moveTo(_x, _y); sprites.gotoAndPlay("gal" + _root.nextBishojo); stop();
Symbol 415 MovieClip Frame 14
stop();
Symbol 415 MovieClip Frame 26
gotoAndStop (3);
Symbol 418 MovieClip Frame 1
if (_root.MISSION_TYPE != 2) { stop(); }
Symbol 418 MovieClip Frame 2
stop();
Symbol 418 MovieClip Frame 4
stop();
Symbol 421 MovieClip Frame 1
function update(v) { gotoAndStop(v + 1); } stop();
Symbol 422 Button
on (release) { character = 1 - character; if (character == 0) { _root.rerollStats(); objCustomSetup.update(character); } else { objCustomSetup.selectPanel(character); } objCharacter.update(character); }
Symbol 426 MovieClip Frame 1
function update(v) { gotoAndStop(v + 1); } stop();
Symbol 427 Button
on (release) { levelDifficulty = (levelDifficulty + 1) % 3; updateEpisode(); }
Symbol 432 MovieClip Frame 1
function update(v) { gotoAndStop(v + 1); } stop();
Symbol 433 Button
on (release) { MISSION_TYPE = (MISSION_TYPE + 1) % 4; updateEpisode(); }
Symbol 435 Button
on (release) { _root.gotoAndPlay("sceneMainMenu"); }
Symbol 436 Button
on (release) { preMission = true; gotoScene = "sceneStoryline"; play(); }
Symbol 438 Button
on (release) { _root.rerollStats(); update(0); }
Symbol 494 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 1
function adjustIcon(i) { if (i == 0) { icon._visible = false; } else { icon._visible = true; icon.gotoAndStop(i); } } stop();
Symbol 500 Button
on (release) { if (!_root.DecodePlayer(playerCode)) { playerCode = "ERROR"; } else { _root.createEpisode(); update(1); } }
Symbol 501 MovieClip Frame 1
function selectPanel(n) { gotoAndStop((n + 1) * 3); } function update(n) { invChange(); attChange(); selectPanel(n); } function invChange() { var i = 0; while (i < 5) { eval ("stats.invSlot" + i).adjustIcon(_root.playerInventory[i]); i++; } i = 1; while (i <= 4) { eval ("stats.cast" + i)._visible = false; i++; } i = 1; while (i <= _root.playerLevel) { eval ("stats.cast" + i)._visible = true; i++; } } function attChange() { stats.att0 = _root.playerMaxStats[0]; stats.att1c = _root.playerCurStats[1]; stats.att1 = _root.playerMaxStats[1]; stats.att2 = _root.playerMaxStats[2]; stats.att3c = _root.playerCurStats[3]; stats.att3 = _root.playerMaxStats[3]; } function mapHeightChange() { _root.GRID_HEIGHT = objMapHeight.getScrollPosition(); MAP_HEIGHT = objMapHeight.getScrollPosition(); } function mapWidthChange() { _root.GRID_WIDTH = objMapWidth.getScrollPosition(); MAP_WIDTH = objMapWidth.getScrollPosition(); } function tdChange() { _root.TRAP_DIFFICULTY = objTrapDifficulty.getScrollPosition(); } function edChange() { _root.ENEMY_DIFFICULTY = objEnemyDifficulty.getScrollPosition(); } function tpChange() { _root.TREASURE_PCT = objTreasureAmount.getScrollPosition(); } function eplChange() { _root.ENEMY_PATROL_LEVEL = objEnemyClass.getScrollPosition(); } stop();
Symbol 501 MovieClip Frame 8
stop();
Symbol 510 Button
on (release) { with (_root) { if (!aLock) { aLock = true; goForward = false; fadeScreen.play(); } } }
Symbol 511 Button
on (release) { with (_root) { if (!aLock) { aLock = true; goForward = true; fadeScreen.play(); } } }
Symbol 513 MovieClip Frame 10
stop();
Symbol 513 MovieClip Frame 20
_root.advanceStory();
Symbol 558 MovieClip Frame 1
stop();
Symbol 558 MovieClip Frame 5
_root.endStory();
Symbol 558 MovieClip Frame 9
_root.endStory();
Symbol 558 MovieClip Frame 12
_root.endStory();
Symbol 558 MovieClip Frame 15
_root.endStory();
Symbol 558 MovieClip Frame 18
_root.endStory();
Symbol 558 MovieClip Frame 22
_root.endStory();
Symbol 558 MovieClip Frame 30
stop();
Symbol 558 MovieClip Frame 34
_root.endStory();
Symbol 558 MovieClip Frame 39
_root.endStory();
Symbol 558 MovieClip Frame 42
_root.endStory();
Symbol 558 MovieClip Frame 46
_root.endStory();
Symbol 558 MovieClip Frame 49
_root.endStory();
Symbol 558 MovieClip Frame 54
_root.endStory();
Symbol 559 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 1
function changeLoopTo(newLoopLabel) { targetLabel = newLoopLabel; gotoAndPlay (5); } volumeControl = new Sound(); stop();
Symbol 563 MovieClip Frame 6
if (volumeControl.getVolume() > 5) { volumeControl.setVolume(volumeControl.getVolume() - 5); prevFrame(); play(); } else { stopAllSounds(); volumeControl.setVolume(100); gotoAndPlay(targetLabel); }
Symbol 563 MovieClip Frame 16
stop();
Symbol 563 MovieClip Frame 26
stop();
Symbol 563 MovieClip Frame 36
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 12
gotoAndStop (1);
Symbol 566 MovieClip Frame 22
gotoAndStop (1);
Symbol 570 MovieClip Frame 1
stop();
Symbol 570 MovieClip Frame 12
gotoAndStop (1);
Symbol 570 MovieClip Frame 22
gotoAndStop (1);
Symbol 570 MovieClip Frame 32
gotoAndStop (1);
Symbol 570 MovieClip Frame 42
gotoAndStop (1);
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 12
gotoAndStop (1);
Symbol 575 MovieClip Frame 22
gotoAndStop (1);
Symbol 575 MovieClip Frame 32
gotoAndStop (1);
Symbol 575 MovieClip Frame 42
gotoAndStop (1);
Symbol 577 MovieClip Frame 1
stop();
Symbol 577 MovieClip Frame 18
stop();
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 13
_root.worldCombatSpace.explosiveAttack(60);
Symbol 596 MovieClip Frame 1
stop();
Symbol 596 MovieClip Frame 8
removeMovieClip("");
Symbol 599 MovieClip Frame 1
if (_name == "stabShadow") { stop(); _visible = false; }
Symbol 599 MovieClip Frame 7
removeMovieClip("");
Symbol 604 MovieClip Frame 1
function arenaUnsheath() { musicLoop = "none"; with (_root) { cursor.stopDrag(); cursor._visible = false; cursor._x = -150; } _root.worldTutorial.newMessage("When your cursor switches, prepare for combat!", 20); gotoAndPlay (5); } function unsheath(roomType) { if (roomType > 2) { musicLoop = "boss"; } else { musicLoop = "combat"; } if (_root.smokeScreen) { _root.worldSmokeScreen.play(); } with (_root) { takeHandle(); if (autoMap) { worldAutoMap.play(); } cursor.stopDrag(); cursor._visible = false; cursor._x = -150; inCombat = true; } _root.worldTutorial.newMessage("When your cursor switches, prepare for combat!", 20); gotoAndPlay (5); } function moveCursorTowardPoint() { var xdiff = (swordPoint._x - cursor._x); var ydiff = (swordPoint._y - cursor._y); if (_root.diagonal(xdiff, ydiff) > (MOVE_SPEED * 1.5)) { cursor._x = cursor._x + _root.scaledDistanceX(xdiff, ydiff, MOVE_SPEED); cursor._y = cursor._y + _root.scaledDistanceY(xdiff, ydiff, MOVE_SPEED); } else { moveFinished = true; } } function moveCursorTowardMouse() { var xdiff = ((_root._xmouse - _x) - cursor._x); var ydiff = ((_root._ymouse - _y) - cursor._y); if (_root.diagonal(xdiff, ydiff) > (MOVE_SPEED * 1.5)) { cursor._x = cursor._x + _root.scaledDistanceX(xdiff, ydiff, MOVE_SPEED); cursor._y = cursor._y + _root.scaledDistanceY(xdiff, ydiff, MOVE_SPEED); } else { prepareCombat(); gotoAndStop (1); } } function prepareCombat() { with (_root) { releaseHandle(); initCombat(); combatCursor._visible = true; combatCursor.px = _xmouse; combatCursor.py = _ymouse; combatCursor.startDrag(true); } stop(); } function sheath() { if (_root.smokeScreen) { _root.worldSmokeScreen.play(); } with (_root) { takeHandle(); combatCursor.cancelAllSpells(); combatCursor.stopDrag(); combatCursor._visible = false; combatCursor._x = -150; } _root.worldTutorial.newMessage("Remember, the icon change back only when the last hostile obstacle is taken out.", 20); gotoAndPlay (41); } function restoreToNormal() { with (_root) { inCombat = false; releaseHandle(); cursor._visible = true; cursor.startDrag(true); if (autoMap && (!worldAutoMap.isOpen)) { worldAutoMap.play(); } updatePlayerGrid(PG_CLEAR_DANGER); continueTutorial(CONTINUE_EXIT_COMBAT); } } MOVE_SPEED = 70; stop();
Symbol 604 MovieClip Frame 12
_root.lockKeys = false;
Symbol 604 MovieClip Frame 21
if (musicLoop != "none") { _root.sndMusicLoops.changeLoopTo(musicLoop); }
Symbol 604 MovieClip Frame 32
moveCursorTowardMouse();
Symbol 604 MovieClip Frame 33
prevFrame(); play();
Symbol 604 MovieClip Frame 41
moveFinished = false;
Instance of Symbol 603 MovieClip "cursor" in Symbol 604 MovieClip Frame 41
onClipEvent (load) { o = new Object(); o.x = _root._xmouse; o.y = _root._ymouse; globalToLocal(o); _x = o.x; _y = o.y; }
Symbol 604 MovieClip Frame 42
moveCursorTowardPoint();
Symbol 604 MovieClip Frame 43
if (!moveFinished) { prevFrame(); play(); }
Symbol 604 MovieClip Frame 60
_root.sndMusicLoops.changeLoopTo("explore");
Symbol 604 MovieClip Frame 72
restoreToNormal(); stop();
Symbol 607 MovieClip Frame 1
function pointToLocation(x, y) { _x = x; _y = y; _visible = true; gotoAndPlay (2); } function pointToObject(objName) { _x = eval ("_root." + objName)._x; _y = eval ("_root." + objName)._y; _visible = true; gotoAndPlay (2); } function pointToNothing() { _visible = false; stop(); } stop();
Symbol 607 MovieClip Frame 20
gotoAndPlay (2);
Symbol 610 MovieClip Frame 1
function newMessage(msg, priority) { if (!IN_GAME_TUTORIAL) { return(undefined); } if ((!hasMessage) || (priority >= currentPriority)) { messageDelay = (90 * msg.length) + 2000; tutorialTimer.resetTimer(); hasMessage = true; _visible = true; _root.worldRei.switchTo("talk"); messageText = msg; currentPriority = priority; } } function noPriorityMessage(msg) { messageDelay = (90 * msg.length) + 2000; tutorialTimer.resetTimer(); hasMessage = true; _visible = true; messageText = msg; } tutorialTimer = new _root.Timer(); hasMessage = true; currentPriority = 0;
Symbol 610 MovieClip Frame 3
if (hasMessage && (tutorialTimer.timeOver(messageDelay))) { hasMessage = false; if (!_root.TUTORIAL) { messageText = ""; _visible = false; } if (_root.IN_GAME_TUTORIAL) { _root.worldRei.switchTo("stand"); } if (_root.TUTORIAL) { _root.continueTutorial(_root.CONTINUE_MESSAGE_END); } } prevFrame(); play();
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 2
stop();
Symbol 615 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 2
stop();
Symbol 619 MovieClip Frame 1
stop();
Symbol 620 MovieClip Frame 1
function generateMapDisplay(w, h) { WIDTH = w; HEIGHT = h; var i; var j; c = 1; i = 0; while (i < w) { j = 0; while (j < h) { c++; duplicateMovieClip ("oMapIndicator", (("Grid" + i) + "-") + j, c); eval ((("Grid" + i) + "-") + j)._x = (FULL_MAP_OFFSET * i) + DISPLAY_OFFSET_X; eval ((("Grid" + i) + "-") + j)._y = (FULL_MAP_OFFSET * j) + DISPLAY_OFFSET_Y; j++; } i++; } } function setPlayerIcon(x, y) { if ((((x < 0) || (x >= WIDTH)) || (y < 0)) || (y >= HEIGHT)) { playerIcon._visible = false; } else { playerIcon._visible = true; } playerIcon._x = DISPLAY_OFFSET_X + (FULL_MAP_OFFSET * x); playerIcon._y = DISPLAY_OFFSET_Y + (FULL_MAP_OFFSET * y); } function updateInterface() { var i; i = 0; while (i < 5) { eval ("scroll" + i)._visible = false; i++; } i = 0; while (i < _root.SCROLLS_HIDDEN) { eval ("scroll" + i)._visible = true; eval ("scroll" + i).gotoAndStop(1); i++; } i = 0; while (i < _root.scrollsFound) { eval ("scroll" + i).gotoAndStop(2); i++; } i = 0; while (i < 3) { eval ("head" + i)._visible = false; i++; } i = 0; while (i < _root.BOSSES_HIDDEN) { eval ("head" + i)._visible = true; eval ("head" + i).gotoAndStop(1); i++; } i = 0; while (i < _root.headsFound) { eval ("head" + i).gotoAndStop(2); i++; } _root.worldTutorial.newMessage("Unexplored passages are shown as short lines connected one way.", 30); } DISPLAY_OFFSET_X = 35; DISPLAY_OFFSET_Y = 15; FULL_MAP_OFFSET = 20;
Instance of Symbol 619 MovieClip "oMapIndicator" in Symbol 620 MovieClip Frame 1
onClipEvent (load) { if (_name == "oMapIndicator") { _visible = false; } }
Symbol 620 MovieClip Frame 2
duplicateMovieClip ("oPlayerIcon", "playerIcon", 10000); oPlayerIcon._visible = false; stop();
Symbol 621 Button
on (press) { _parent.startSwing(); } on (release, releaseOutside) { _parent.startRelease(); } on (keyPress "c") { _parent.startSpell(); } on (keyPress "C") { _parent.startSpell(); }
Symbol 632 MovieClip Frame 30
gotoAndPlay (1);
Symbol 632 MovieClip Frame 40
stop(); _parent.startBlock();
Symbol 632 MovieClip Frame 42
with (_parent) { attackState = ST_GUARD; }
Symbol 632 MovieClip Frame 44
_parent.stopAttack();
Symbol 632 MovieClip Frame 55
gotoAndPlay (1);
Symbol 632 MovieClip Frame 75
_parent.startHold(); stop();
Symbol 632 MovieClip Frame 79
stop();
Symbol 632 MovieClip Frame 92
if (_parent.mousePressed) { prevFrame(); play(); }
Symbol 632 MovieClip Frame 94
_parent.endStab();
Symbol 632 MovieClip Frame 102
_parent.stopAttack();
Symbol 632 MovieClip Frame 117
_parent.stopAttack();
Symbol 632 MovieClip Frame 127
_parent.stopAttack();
Symbol 632 MovieClip Frame 136
stop();
Symbol 632 MovieClip Frame 146
stop();
Symbol 632 MovieClip Frame 157
stop();
Symbol 633 MovieClip Frame 1
function showHand() { if (attackState == ST_GUARD) { animation.gotoAndStop("normal"); showingHand = true; } } function hideHand() { if (showingHand) { showingHand = false; stopAttack(); } } function getStatus() { return(attackState); } function isBlocking() { return(attackState == ST_BLOCK); } function isAttackPulsing() { return(((attackState == ST_ATTACK) || (attackState == ST_ATTACKPAUSE)) || (attackState == ST_STABBING)); } function canAttack() { return(_root.playerCurStats[0] > Math.ceil(_root.playerMaxStats[0] / 5)); } function isAttacking() { return(((((attackState == ST_RAISEARM) || (attackState == ST_ATTACK)) || (attackState == ST_ATTACKPAUSE)) || (attackState == ST_STABBING)) || (attackState == ST_PRESTAB)); } function resolveBlock(x, y, r) { if (_root.circleIntersectBox(x, y, r, (_x - 60) + animation._x, (_y - 15) + animation._y, 140, 30)) { return(true); } _root.worldTutorial.newMessage("You just missed a block. You must move the cursor directly over a strike point to block an attack.", 30); return(false); } function startSwing() { if (_root.combatActionLock) { return(undefined); } if (attackState == ST_RAISINGARM) { startStab(); } else if (attackState == ST_GUARD) { if (_root.playerCurStats[0] < Math.ceil(_root.playerMaxStats[0] / 5)) { _root.worldTutorial.newMessage("You don't have enough attack power to start an attack.", 30); var i = 0; while (i < 5) { if (_root.playerInventory[i] == 5) { _root.worldTutorial.newMessage("Now is a good time to use your bomb. Double click it in the inventory.", 30); } if (_root.playerInventory[i] == 6) { _root.worldTutorial.newMessage("Now is a good time to use your shurikens. Double click it in the inventory.", 30); } i++; } animation.gotoAndPlay("outOfEnergy"); } else { ax = null; attackState = ST_RAISINGARM; attackStrength = Math.ceil(_root.playerMaxStats[0] / 5); _root.playerCurStats[0] = _root.playerCurStats[0] - attackStrength; animation.gotoAndPlay("swing"); } } mousePressed = true; } function startHold() { if (!mousePressed) { stopAttack(); } else { _root.continueTutorial(_root.CONTINUE_START_SLASH); attackState = ST_RAISEARM; flameTimer = new _root.Timer(); } } function startRelease() { if (attackState == ST_RAISEARM) { attackState = ST_GUARD; animation.gotoAndPlay("swingCancel"); _root.playerCurStats[0] = _root.playerCurStats[0] + Math.ceil(_root.playerMaxStats[0] / 5); } else if ((attackState == ST_ATTACK) || (attackState == ST_ATTACKPAUSE)) { startPause(); } mousePressed = false; } function startAttack() { if (attackState == ST_ATTACK) { return(undefined); } if (attackState == ST_RAISINGARM) { minorAttack = true; } else { minorAttack = false; } attackTimer.resetTimer(); attackState = ST_ATTACK; tx = _x; ty = _y; _root.createSlashShadow(); animation.gotoAndPlay("swingDown"); } function startBlock() { attackState = ST_BLOCK; with (_root) { continueTutorial(CONTINUE_PLAYER_BLOCKING); } } function startPause() { if (attackState == ST_ATTACKPAUSE) { return(undefined); } var dispx = (px - _x); var dispy = (-Math.abs(py - _y)); var slashDist = _root.diagonal(dispx, dispy); attackTimer.resetTimer(); attackState = ST_ATTACKPAUSE; if (eval (_root.slashName)._visible) { attackStrength = Math.floor(attackStrength * (1 + (_root.diagonal(_x - px, _y - py) / _root.diagonal(_root.SCREEN_WIDTH, _root.SCREEN_HEIGHT)))); if (minorAttack) { _root.makeSmallSlashAttack((_x + px) / 2, (_y + py) / 2, attackStrength, false, _rotation); } else { _root.makeSlashAttack((_x + px) / 2, (_y + py) / 2, attackStrength, true, _rotation); } _root.continueTutorial(_root.CONTINUE_END_SLASH); } else { _root.worldTutorial.newMessage("You need to move your mouse farther when you try to complete an attack.", 30); startRecover(); } } function startStab() { _rotation = 0; attackState = ST_PRESTAB; _root.continueTutorial(_root.CONTINUE_START_STAB); animation.gotoAndPlay("stab"); } function endStab() { attackState = ST_STABBING; _root.createStabShadow(); eval (_root.slashName)._x = _x; eval (_root.slashName)._y = _y; _root.continueTutorial(_root.CONTINUE_END_STAB); _root.makeStabAttack(_x, _y, attackStrength, false, _rotation); } function startRecover() { if ((attackState == ST_ATTACK) || (attackState == ST_ATTACKPAUSE)) { animation.gotoAndPlay("recover"); attackState = ST_RECOVER; eval (_root.slashName).play(); } px = _x; py = _y; } function stopAttack() { attackState = ST_GUARD; animation.gotoAndPlay("guard"); } function startSpell() { if (attackState == ST_GUARD) { if (_root.worldSpellSpace.initSpell()) { animation.gotoAndStop("spirit"); attackState = ST_PREPARE_SPELL; } } } function stopSpell() { if (attackState == ST_WRAITHBEAM) { _root.combatCursor.startDrag(true); _root.worldSpellSpace.beamSpell.stopAttack(); } stopAttack(); } function castSpell(s) { spellTimer.resetTimer(); animation.gotoAndStop("spell"); attackState = ST_PREPARE_SPELL + s; attackCount = 0; if (attackState == ST_WRAITHBEAM) { moveCount = 0; px = (_x + ((Math.random() * BEAM_REPELL) * 2)) - BEAM_REPELL; py = (_y + ((Math.random() * BEAM_REPELL) * 2)) - BEAM_REPELL; _root.combatCursor.stopDrag(); _root.worldSpellSpace.beamSpell.startAttack(); } } function cancelAllSpells() { if (attackState >= ST_PREPARE_SPELLS) { stopSpell(); } } px = null; py = null; ST_GUARD = 0; ST_RAISEARM = 1; ST_ATTACK = 2; ST_ATTACKPAUSE = 3; ST_RECOVER = 4; ST_STARTBLOCK = 5; ST_BLOCK = 6; ST_RAISINGARM = 7; ST_PRESTAB = 8; ST_STABBING = 9; ST_PREPARE_SPELL = 10; ST_GHOSTFLAME = 13; ST_WINDBLADE = 12; ST_SOULRAIN = 11; ST_WRAITHBEAM = 14; ATTACK_TIME = 600; ATTACK_PAUSE = 50; ATTACK_MIN_DISTANCE = 5; ATTACK_MIN_SLASH_DISTANCE = 10; GHOST_COUNT = 20; GHOST_DAMAGE = 15; GHOST_DELAY = 200; GHOST_DURATION = 6000; BLADE_COUNT = 15; BLADE_DAMAGE = 25; BLADE_DELAY = 200; SOUL_COUNT = 12; SOUL_HEAL = 4; SOUL_DELAY = 60; SOUL_DURATION = 4000; BEAM_DURATION = 8000; BEAM_DAMAGE = 600; BEAM_REPELL = 4; spellTimer = new _root.Timer(); attackTimer = new _root.Timer(); attackState = 0; showingHand = false; mousePressed = false; o = new Object();
Symbol 633 MovieClip Frame 3
if ((((attackState == ST_GUARD) || (attackState == ST_RECOVER)) && (Key.isDown(32))) && (!_root.combatActionLock)) { _rotation = 0; attackState = ST_STARTBLOCK; animation.gotoAndPlay("block"); } switch (attackState) { case ST_RAISINGARM : case ST_RAISEARM : var dispx = (_x - px); var dispy = (_y - py); var diag = _root.diagonal(dispx, dispy); var ang = _root.displacementAngle(dispx, dispy); if (flameTimer.timeOver(800 / Math.ceil(_root.playerMaxStats[0] / 20))) { _root.worldTutorial.newMessage("Remember, charge attacks are more powerful, but it drains your attack power!", 20); var n = 0; while (n < 2) { if (_root.playerCurStats[0] > 0) { _root.playerCurStats[0]--; attackStrength++; } n++; } flameTimer.resetTimer(); } ax = _x; ay = _y; if (((diag > ATTACK_MIN_DISTANCE) && (ang > 120)) && (ang < 240)) { startAttack(); } case ST_GUARD : if ((px != null) && (!showingHand)) { _rotation = (((_x - px) / _root.SCREEN_WIDTH) * (-90)); } px = _x; py = _y; break; case ST_ATTACK : var dispx; var dispy; var slashDistance; var moveDistance; px = ax; py = ay; dispx = px - _x; dispy = py - _y; slashDistance = _root.diagonal(dispx, dispy); dispx = tx - _x; dispy = ty - _y; moveDistance = _root.diagonal(dispx, dispy); tx = _x; ty = _y; dispx = px - _x; dispy = -Math.abs(py - _y); if (((_y - py) >= 0) && (slashDistance > ATTACK_MIN_SLASH_DISTANCE)) { _rotation = _root.displacementAngle(dispx, dispy); if (py > _y) { _rotation = (-_rotation); } eval (_root.slashName)._visible = true; eval (_root.slashName)._x = _x; eval (_root.slashName)._y = _y; eval (_root.slashName)._yscale = slashDistance; eval (_root.slashName)._rotation = _rotation; } else { eval (_root.slashName)._visible = false; } if ((moveDistance < ATTACK_MIN_DISTANCE) || (attackTimer.timeOver(ATTACK_TIME))) { startPause(); } break; case ST_ATTACKPAUSE : if (attackTimer.timeOver(_root.ATTACK_PAUSE)) { startRecover(); } break; case ST_PRESTAB : case ST_STABBING : break; case ST_RECOVER : _rotation = (_rotation / 2); break; case ST_STARTBLOCK : case ST_BLOCK : _root.worldTutorial.newMessage("Remember that your Chi doesn't recover while you are blocking."); if (!Key.isDown(32)) { animation.play(); } px = _x; py = _y; break; case ST_PREPARE_SPELL : _rotation = 0; break; case ST_GHOSTFLAME : if (attackTimer.timeOver(GHOST_DELAY) && (mousePressed)) { attackTimer.resetTimer(); _root.worldSpellSpace.create("oGhostFlame", (_x - 60) + Math.floor(Math.random() * 10), (_y - 50) + Math.floor(Math.random() * 10)); attackCount++; if (attackCount > GHOST_COUNT) { stopSpell(); } } animation.spellFlame._alpha = Math.min(100, (1.2 - (spellTimer.getTimeDifference() / GHOST_DURATION)) * 100); if (spellTimer.timeOver(GHOST_DURATION)) { stopSpell(); } break; case ST_SOULRAIN : if (attackTimer.timeOver(SOUL_DELAY) && (attackCount < SOUL_COUNT)) { attackTimer.resetTimer(); _root.worldSpellSpace.create("oHealingSoul", _root.worldCombatSpace.getAttackX(), _root.worldCombatSpace.getAttackY()); attackCount++; } animation.spellFlame._alpha = Math.min(100, (1.2 - (spellTimer.getTimeDifference() / GHOST_DURATION)) * 100); if (spellTimer.timeOver(SOUL_DURATION)) { stopSpell(); } break; case ST_WINDBLADE : if (attackTimer.timeOver(BLADE_DELAY)) { attackTimer.resetTimer(); _root.worldSpellSpace.create("oWindBlade", _root.worldCombatSpace.getFloorSpawnX(), _root.worldCombatSpace.getFloorSpawnY()); attackCount++; if (attackCount > BLADE_COUNT) { stopSpell(); } } break; case ST_WRAITHBEAM : if ((attackCount == 0) || (attackCount == 2)) { _x = ((_x + px) / 2); _y = ((_y + py) / 2); moveCount++; if (moveCount >= 4) { attackCount++; } if (attackCount == 3) { stopSpell(); } else if (attackCount == 1) { spellTimer.resetTimer(); px = _root._xmouse; py = _root._ymouse; mx = 0; my = 0; } } else { if (spellTimer.timeOver(BEAM_DURATION)) { moveCount = 0; attackCount++; } mx = (((_x - 275) / 275) * (-1)) * BEAM_REPELL; my = (((_y - 200) / 200) * (-1)) * BEAM_REPELL; var r = ((_root._xmouse - px) + mx); _x = (_x + r); var r = ((_root._ymouse - py) + my); _y = (_y + r); px = _root._xmouse; py = _root._ymouse; animation.spellFlame._alpha = Math.min(100, (1.2 - (spellTimer.getTimeDifference() / BEAM_DURATION)) * 100); _root.worldSpellSpace.beamSpell.adjust(mx * 10, my * 10, Math.min(100, (1 - (spellTimer.getTimeDifference() / BEAM_DURATION)) * 100)); } } prevFrame(); play();
Symbol 634 Button
on (keyPress "<Left>") { with (_root) { setCursorCommand(CA_TURNLEFT); cursorClick(); } } on (keyPress "<Right>") { with (_root) { setCursorCommand(CA_TURNRIGHT); cursorClick(); } } on (keyPress "<Up>") { with (_root) { setCursorCommand(CA_FORWARD); cursorClick(); } } on (keyPress "<Down>") { with (_root) { setCursorCommand(CA_REVERSE); cursorClick(); } } on (keyPress "a") { with (_root) { setCursorCommand(CA_TURNLEFT); cursorClick(); } } on (keyPress "d") { with (_root) { setCursorCommand(CA_TURNRIGHT); cursorClick(); } } on (keyPress "w") { with (_root) { setCursorCommand(CA_FORWARD); cursorClick(); } } on (keyPress "s") { with (_root) { setCursorCommand(CA_REVERSE); cursorClick(); } } on (keyPress "A") { with (_root) { setCursorCommand(CA_TURNLEFT); cursorClick(); } } on (keyPress "D") { with (_root) { setCursorCommand(CA_TURNRIGHT); cursorClick(); } } on (keyPress "W") { with (_root) { setCursorCommand(CA_FORWARD); cursorClick(); } } on (keyPress "S") { with (_root) { setCursorCommand(CA_REVERSE); cursorClick(); } } on (keyPress "<Space>") { with (_root) { setCursorCommand(CA_SEARCH); cursorClick(); } } on (keyPress "f") { with (_root) { setCursorCommand(CA_FULLMAP); cursorClick(); } } on (keyPress "F") { with (_root) { setCursorCommand(CA_FULLMAP); cursorClick(); } }
Symbol 635 Button
on (press) { _root.cursorClick(); }
Symbol 640 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 1
function startPain() { _root.worldPortrait._visible = false; animation = false; gotoAndPlay (2); } stop();
Symbol 645 MovieClip Frame 2
animation = true;
Symbol 645 MovieClip Frame 11
if (animation) { _root.worldPortrait._visible = true; }
Symbol 665 MovieClip Frame 1
stop();
Symbol 670 Button
on (release, keyPress "<Enter>") { if (!incStats) { takeItem(); } }
Symbol 671 Button
on (release, keyPress "<Space>") { message = messageText[treasureType]; }
Symbol 672 MovieClip Frame 1
function takeItem() { incStats = true; if (treasureType == -1) { play(); return(undefined); } switch (treasureType) { case 4 : _root.playerMaxStats[2] = _root.playerMaxStats[2] + 2; break; case 7 : _root.playerMaxStats[0] = _root.playerMaxStats[0] + 2; break; case 8 : var p = (_root.playerCurStats[1] / _root.playerMaxStats[1]); _root.playerMaxStats[1] = _root.playerMaxStats[1] + 2; _root.playerCurStats[1] = Math.ceil(_root.playerMaxStats[1] * p); treasureType = -1; break; case 9 : _root.scrollsFound++; break; default : var i = 0; for(;;){ if (i >= 5) { break; } if ((_root.playerInventory[i] == 0) && (treasureType > 0)) { _root.playerInventory[i] = treasureType; treasureType = -1; } i++; }; } _root.confirmSearch(); _root.updateInterface(); play(); } function setupTreasure() { treasureType = -1; var i = 0; while (i < 5) { if (_root.playerInventory[i] == 0) { treasureType = 0; } i++; } if ((treasureType == -1) && (((_root.treasureType > 4) && (_root.treasureType != 11)) || (_root.treasureType == 3))) { _root.worldTutorial.newMessage("Use or discard items in your inventory by double clicking it.", 30); message = "Inventory full. Cannot accept item."; icon.adjustIcon(0); } else { if (_root.TreasureType == 11) { treasureType = 9; } else if (_root.treasureType == 1) { treasureType = 8; } else if (_root.treasureType == 2) { treasureType = 7; } else if (_root.treasureType == 3) { treasureType = 1 + random(8); } else if (_root.treasureType == 4) { treasureType = 4; } else { treasureType = 1 + random(3); } if ((treasureType < 7) && (treasureType != 4)) { _root.worldTutorial.newMessage("To use this item, double click it when it appears in your inventory.", 30); } message = "You have found:\n" + description[treasureType]; icon.adjustIcon(treasureType); } } messageText = new Array(9); messageText[1] = "Riceball\nRestores 25 health points"; messageText[2] = "Sushi\nRestores 50 health points"; messageText[3] = "Sake\nRestores all Chi and power points"; messageText[4] = "Wineskin\nIncreases maximum Chi by 2"; messageText[5] = "Bomb\nCauses 60 points of damage"; messageText[6] = "Shurikens\nSet of 10, 20 points damage each"; messageText[7] = "Katana\nIncreases maximum power by 2"; messageText[8] = "Armor\nIncreases maximum health by 2"; messageText[9] = "Scroll\nContains secrets of a powerful sword technique"; description = new Array(9); description[1] = "riceball"; description[2] = "sushi"; description[3] = "sake"; description[4] = "wineskin"; description[5] = "bomb"; description[6] = "shurikens"; description[7] = "katana"; description[8] = "armor"; description[9] = "scroll";
Symbol 672 MovieClip Frame 2
stop(); incStats = false;
Symbol 672 MovieClip Frame 3
_root.takeHandle();
Symbol 672 MovieClip Frame 7
setupTreasure();
Symbol 672 MovieClip Frame 9
stop();
Symbol 672 MovieClip Frame 14
_root.releaseHandle(); gotoAndStop (2);
Symbol 674 MovieClip Frame 1
function updateLocation() { convert = new object(); convert.x = _root._xmouse; convert.y = _root._ymouse; _parent.globalToLocal(convert); _x = convert.x; _y = convert.y; } function startCustomDrag() { drag = true; updateLocation(); _visible = true; } function stopCustomDrag() { drag = false; _visible = false; } drag = false;
Symbol 674 MovieClip Frame 3
if (drag) { updateLocation(); } prevFrame(); play();
Symbol 675 Button
on (rollOver) { traceMouseMsg("SPIRIT"); _root.worldTutorial.newMessage("Kill enemies to charge bar, use to release powerful attacks.", 10); } on (rollOut, dragOut) { untraceMouse(); }
Symbol 676 Button
on (rollOver) { traceMouseMsg("CHI"); _root.worldTutorial.newMessage("Chi points determines the amount of damages you can block.", 10); } on (rollOut, dragOut) { untraceMouse(); }
Symbol 677 Button
on (rollOver) { traceMouseMsg("HP"); _root.worldTutorial.newMessage("Needless to say, when your health goes below zero, you'd die.", 10); } on (rollOut, dragOut) { untraceMouse(); }
Symbol 678 Button
on (rollOver) { traceMouseMsg("ATTACK"); _root.worldTutorial.newMessage("Your attack power charge time and damage of your attacks.", 10); } on (rollOut, dragOut) { untraceMouse(); }
Symbol 679 Button
on (rollOver) { _root.worldTutorial.newMessage("Click here or press Tab to switch between number and bar style stats display.", 10); } on (press, keyPress "<Tab>") { if (_root.showNumbers) { _root.showNumbers = false; } else { _root.showNumbers = true; } _root.updateInterface(); }
Symbol 680 Button
on (rollOver) { _root.worldTutorial.newMessage("Click here or press 'I' to show this interface.", 25); } on (press, keyPress "i") { play(); } on (keyPress "I") { play(); }
Symbol 685 MovieClip Frame 1
function adjustDisplayMode(m) { displayMode = m; if (displayMode == 0) { gotoAndStop (2); adjustMaximum(barMaximum); adjustCurrent(barCurrent); } else { gotoAndStop (3); _xscale = 100; } } function adjustCurrent(p) { barCurrent = p; if (displayMode == 0) { var i = 1; while (i <= 4) { if (_root.worldSpellSpace.spellCost[i] <= p) { eval ("cast" + i)._visible = true; } else { eval ("cast" + i)._visible = false; } eval ("canCast" + i)._visible = false; i++; } var i = 1; while (i <= _root.playerLevel) { eval ("canCast" + i)._visible = true; i++; } } } function adjustMaximum(p) { barMaximum = p; } barMaximum = 100; displayMode = 0;
Symbol 685 MovieClip Frame 2
stop();
Symbol 690 MovieClip Frame 1
function adjustDisplayMode(m) { displayMode = m; if (displayMode == 0) { gotoAndStop (2); adjustMaximum(barMaximum); adjustCurrent(barCurrent); } else { gotoAndStop (3); _xscale = 100; } } function adjustCurrent(p) { barCurrent = p; if (displayMode == 0) { current._xscale = (int(barCurrent) / int(barMaximum)) * 100; } } function adjustMaximum(p) { barMaximum = p; if (displayMode == 0) { if (p > 100) { _xscale = 100; } else { _xscale = p; } } } barMaximum = 100; displayMode = 0;
Symbol 690 MovieClip Frame 2
stop();
Symbol 699 Button
on (rollOver) { _root.worldTutorial.newMessage("Click here or press 'I' to hide this interface.", 25); } on (press, keyPress "i") { play(); } on (keyPress "I") { play(); }
Symbol 700 Button
on (rollOver) { traceMouseMsg("INVENTORY"); _root.worldTutorial.newMessage("To check the scrolls that you collected, check the full map by pressing 'F'.", 10); } on (rollOut, dragOut) { untraceMouse(); }
Symbol 701 Button
on (rollOver) { traceMouse(4); _root.worldTutorial.newMessage("Double-click on an item to use it. Alternately, press the number of the item twice.", 10); } on (rollOut, dragOut) { untraceMouse(); } on (release) { clickItem(4); } on (keyPress "5") { useItem(4); }
Symbol 702 Button
on (rollOver) { traceMouse(3); _root.worldTutorial.newMessage("Double-click on an item to use it. Alternately, press the number of the item twice.", 10); } on (rollOut, dragOut) { untraceMouse(); } on (release) { clickItem(3); } on (keyPress "4") { useItem(3); }
Symbol 703 Button
on (rollOver) { traceMouse(2); _root.worldTutorial.newMessage("Double-click on an item to use it. Alternately, press the number of the item twice.", 10); } on (rollOut, dragOut) { untraceMouse(); } on (release) { clickItem(2); } on (keyPress "3") { useItem(2); }
Symbol 704 Button
on (rollOver) { traceMouse(1); _root.worldTutorial.newMessage("Double-click on an item to use it. Alternately, press the number of the item twice.", 10); } on (rollOut, dragOut) { untraceMouse(); } on (release) { clickItem(1); } on (keyPress "2") { useItem(1); }
Symbol 705 Button
on (rollOver) { traceMouse(0); _root.worldTutorial.newMessage("Double-click on an item to use it. Alternately, press the number of the item twice.", 10); } on (rollOut, dragOut) { untraceMouse(); } on (release) { clickItem(0); } on (keyPress "1") { useItem(0); }
Symbol 706 MovieClip Frame 1
function traceMouseMsg(m) { if (_root.inCombat) { return(undefined); } tooltips.tooltips = m; tooltips.startCustomDrag(true); } function traceMouse(i) { if (_root.playerInventory[i] != 0) { tooltips.tooltips = itemTips[_root.playerInventory[i]]; tooltips.startCustomDrag(true); } } function untraceMouse() { tooltips.stopCustomDrag(); } function clickItem(i) { untraceMouse(); if ((getTimer() - lastClickTime) > DBL_CLICK_TOLERANCE) { lastClickTime = getTimer(); } else { _root.useItem(i); } } function useItem(i) { _root.useItem(i); } DBL_CLICK_TOLERANCE = 325; lastClickTime = 0; itemTips = new Array(6); itemTips[1] = "HP+25"; itemTips[2] = "HP+50"; itemTips[3] = "+CHI/ATK"; itemTips[5] = "DMG 60"; itemTips[6] = "DMG 10x20";
Instance of Symbol 674 MovieClip "tooltips" in Symbol 706 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 706 MovieClip Frame 16
_root.updateInterface();
Symbol 706 MovieClip Frame 18
stop();
Symbol 706 MovieClip Frame 35
gotoAndStop (2);
Symbol 722 MovieClip Frame 1
function switchTo(newSt) { if (st != newSt) { st = newSt; gotoAndPlay(newSt); } }
Symbol 722 MovieClip Frame 5
st = "stand";
Symbol 722 MovieClip Frame 20
gotoAndPlay(st);
Symbol 722 MovieClip Frame 41
stop();
Symbol 722 MovieClip Frame 45
_root.tutorialReiAttacks();
Symbol 722 MovieClip Frame 60
gotoAndPlay (5);
Symbol 722 MovieClip Frame 80
stop();
Symbol 722 MovieClip Frame 90
gotoAndPlay (5);
Symbol 722 MovieClip Frame 115
gotoAndPlay(st);
Symbol 722 MovieClip Frame 166
_root.tutorialReiDeparts(); stop();
Symbol 723 MovieClip Frame 40
gotoAndPlay (10);
Symbol 729 MovieClip Frame 1
function startAttack() { alive = true; Mouse.addListener(someListener); resetAttack(); } function resetAttack() { if (alive) { _x = _root.combatCursor._x; _y = _root.combatCursor._y; attacking = false; _rotation = 0; gotoAndPlay (3); } else { gotoAndStop (2); } } function stopAttack() { alive = false; Mouse.removeListener(someListener); if (!attacking) { gotoAndStop (2); } } function adjust(x, y, a) { if (!attacking) { _x = (_root.combatCursor._x + x); _y = (_root.combatCursor._y + y); _alpha = a; } } someListener = new Object(); someListener.onMouseDown = function () { if (attacking) { return(undefined); } attacking = true; _rotation = ((Math.random() * 100) - 50); _alpha = 100; _root.makeStabAttack(_x, _y, _root.combatCursor.BEAM_DAMAGE, true, _rotation); _root.combatCursor.attackCount = 2; }; alive = false;
Symbol 729 MovieClip Frame 2
attacking = false; stop();
Symbol 729 MovieClip Frame 5
if (!attacking) { prevFrame(); play(); }
Symbol 729 MovieClip Frame 16
resetAttack();
Symbol 731 MovieClip Frame 40
_parent.destroy();
Symbol 732 MovieClip Frame 1
function destroy() { removeMovieClip(""); }
Instance of Symbol 731 MovieClip "soul" in Symbol 732 MovieClip Frame 1
onClipEvent (load) { s = Math.floor(Math.random() * 30) + 80; _xscale = s; _yscale = s; }
Symbol 732 MovieClip Frame 3
if (hitTest(_root.combatCursor._x, _root.combatCursor._y, false)) { _root.worldCombatSpace.createThing(_root.combatCursor._x, _root.combatCursor._y, "ghostSplatOriginal"); _root.playerCurStats[1] = Math.min(_root.playerCurStats[1] + _root.combatCursor.SOUL_HEAL, _root.playerMaxStats[1]); destroy(); } prevFrame(); play();
Symbol 736 MovieClip Frame 7
x = _x; y = (_y - 80) - Math.floor(Math.random() * 120); _root.worldCombatSpace.hitObjectSpecial(x, Math.floor(_root.combatCursor.BLADE_DAMAGE), "ghostSplatOriginal");
Symbol 736 MovieClip Frame 14
removeMovieClip("");
Symbol 738 MovieClip Frame 5
_root.makeSpellAttack(_x, _y, _root.combatCursor.GHOST_DAMAGE, "ghostSplatOriginal");
Symbol 738 MovieClip Frame 12
removeMovieClip("");
Symbol 739 Button
on (press) { _parent.play(); gotoAndPlay (1); } on (keyPress "c") { _parent.destroy(); } on (keyPress "C") { _parent.destroy(); }
Symbol 740 MovieClip Frame 20
_parent.destroy();
Symbol 750 MovieClip Frame 1
function reset() { gotoAndStop (1); } function destroy() { _parent.spellFailure(3); reset(); } stop();
Symbol 750 MovieClip Frame 2
stop();
Symbol 750 MovieClip Frame 3
_parent.clearSpellsBut(3);
Symbol 750 MovieClip Frame 6
stop();
Symbol 750 MovieClip Frame 10
stop();
Symbol 750 MovieClip Frame 14
stop();
Symbol 750 MovieClip Frame 23
_parent.launchAttack(3);
Symbol 751 Button
on (press) { _parent.play(); gotoAndPlay (1); } on (keyPress "c") { _parent.destroy(); } on (keyPress "C") { _parent.destroy(); }
Symbol 752 MovieClip Frame 20
_parent.destroy();
Symbol 760 MovieClip Frame 1
function reset() { gotoAndStop (1); } function destroy() { _parent.spellFailure(4); reset(); } stop();
Symbol 760 MovieClip Frame 2
stop();
Symbol 760 MovieClip Frame 3
_parent.clearSpellsBut(4);
Symbol 760 MovieClip Frame 6
stop();
Symbol 760 MovieClip Frame 10
stop();
Symbol 760 MovieClip Frame 14
stop();
Symbol 760 MovieClip Frame 23
_parent.launchAttack(4);
Symbol 761 Button
on (press) { _parent.play(); gotoAndPlay (1); } on (keyPress "c") { _parent.destroy(); } on (keyPress "C") { _parent.destroy(); }
Symbol 762 MovieClip Frame 20
_parent.destroy();
Symbol 770 MovieClip Frame 1
function reset() { gotoAndStop (1); } function destroy() { _parent.spellFailure(2); reset(); } stop();
Symbol 770 MovieClip Frame 2
stop();
Symbol 770 MovieClip Frame 3
_parent.clearSpellsBut(2);
Symbol 770 MovieClip Frame 6
stop();
Symbol 770 MovieClip Frame 10
stop();
Symbol 770 MovieClip Frame 14
stop();
Symbol 770 MovieClip Frame 23
_parent.launchAttack(2);
Symbol 771 Button
on (press) { _parent.play(); gotoAndPlay (1); } on (keyPress "c") { _parent.destroy(); } on (keyPress "C") { _parent.destroy(); }
Symbol 772 MovieClip Frame 20
_parent.destroy();
Symbol 781 MovieClip Frame 1
function reset() { gotoAndStop (1); } function destroy() { _parent.spellFailure(1); reset(); } stop();
Symbol 781 MovieClip Frame 2
stop();
Symbol 781 MovieClip Frame 3
_parent.clearSpellsBut(1);
Symbol 781 MovieClip Frame 6
stop();
Symbol 781 MovieClip Frame 10
stop();
Symbol 781 MovieClip Frame 14
stop();
Symbol 781 MovieClip Frame 23
_parent.launchAttack(1);
Symbol 784 MovieClip Frame 1
function initSpell() { if (_root.tutorialSpellLock) { return(undefined); } currentSpell = -1; casting = false; if (_root.TUTORIAL) { casting = true; spell2.gotoAndStop(2); } else { var i = 1; while (i <= 4) { if (spellCost[i] <= _root.playerCurStats[3]) { casting = true; eval ("spell" + i).gotoAndStop(2); } i++; } } if (casting) { gotoAndStop (3); } return(casting); } function spellFailure(s) { if ((currentSpell == -1) && (casting)) { casting = false; clearSpellsBut(s); _root.CombatCursor.stopSpell(); gotoAndStop (2); } else if (currentSpell == s) { _root.CombatCursor.stopSpell(); gotoAndStop (2); } } function clearSpellsBut(s) { currentSpell = s; var i = 1; while (i <= 4) { if (i != s) { eval ("spell" + i).reset(); } i++; } } function launchAttack(s) { _root.continueTutorial(_root.CONTINUE_CAST_SPELL); _root.playerCurStats[3] = _root.playerCurStats[3] - spellCost[s]; _root.updateInterface(); _root.CombatCursor.castSpell(s); if (s == 1) { gotoAndPlay (5); } else { gotoAndStop (2); } } function create(thing, x, y) { duplicateMovieClip (thing, "thing" + createCount, createCount); eval ("thing" + createCount)._x = x; eval ("thing" + createCount)._y = y; createCount++; } spellCost = new Array(5); spellCost[1] = 8; spellCost[2] = 12; spellCost[3] = 24; spellCost[4] = 36; spiritGain = new Array(5); spiritGain[0] = 1; spiritGain[1] = 2; spiritGain[2] = 2; spiritGain[3] = 3; spiritGain[4] = 10;
Instance of Symbol 732 MovieClip "oHealingSoul" in Symbol 784 MovieClip Frame 1
onClipEvent (load) { if (_name == "oHealingSoul") { stop(); _visible = false; } }
Instance of Symbol 736 MovieClip "oWindBlade" in Symbol 784 MovieClip Frame 1
onClipEvent (load) { if (_name == "oWindBlade") { stop(); _visible = false; } }
Instance of Symbol 738 MovieClip "oGhostFlame" in Symbol 784 MovieClip Frame 1
onClipEvent (load) { if (_name == "oGhostFlame") { stop(); _visible = false; } }
Symbol 784 MovieClip Frame 2
createCount = 1; stop();
Symbol 784 MovieClip Frame 4
gotoAndStop (2);
Symbol 785 MovieClip Frame 1
if ((_name == "splatOriginal") || (_name == "smallBlood")) { stop(); _visible = false; }
Symbol 785 MovieClip Frame 12
removeMovieClip("");
Symbol 788 MovieClip Frame 1
if (_name == "ghostSplatOriginal") { stop(); _visible = false; }
Symbol 788 MovieClip Frame 9
removeMovieClip("");
Symbol 791 MovieClip Frame 1
function getRandomX() { var o = new Object(); o.x = 0; o.y = 0; localToGlobal(o); return(o.x + ((random(_width) * _parent._xscale) / 100)); } function getRandomY() { var o = new Object(); o.x = 0; o.y = 0; localToGlobal(o); return(o.y + ((random(_height) * _parent._xscale) / 100)); } function customHitTest(x, y) { return((((x > _x) && (x < (_x + _width))) && (y > _y)) && (y < (_y + _height))); }
Symbol 791 MovieClip Frame 2
stop();
Symbol 801 MovieClip Frame 1
function explosion(d) { trapHP--; gotoAndPlay("explode" + trapHP); } function customHitTest(x, y, d, t, s) { o.x = x; o.y = y; globalToLocal(o); if (hitBox.hitTest(x, y, false)) { if (t && (tHit)) { _parent.createSparks(x, y); return(undefined); } if (t) { tHit = true; } if ((!t) && (ntHit)) { _parent.createSparks(x, y); return(undefined); } if (!t) { ntHit = true; } explosion(); } } if (_name == "oBlockade") { stop(); _visible = false; } stdHeight = _height / 2;
Symbol 801 MovieClip Frame 5
_parent.registerObject(_name); ntHit = false; tHit = false; trapHP = 3;
Symbol 801 MovieClip Frame 17
stop();
Symbol 801 MovieClip Frame 20
immune = true;
Symbol 801 MovieClip Frame 31
immune = false; stop();
Symbol 801 MovieClip Frame 32
immune = true;
Symbol 801 MovieClip Frame 43
immune = false; stop();
Symbol 801 MovieClip Frame 57
_parent.enemyObjectCount--; _parent.unregisterObject(_name); removeMovieClip("");
Symbol 803 MovieClip Frame 1
function attack() { _parent.enemyObjectCount++; _parent.generateShurikenAttack(_parent.getAttackX(), _parent.getAttackY()); } function startChuck(c) { chuckCount = c; gotoAndPlay (2); } function stopChuck() { chucking = false; } function destroyMachine() { alive = false; } chuckCount = 0; alive = true; stop();
Symbol 803 MovieClip Frame 2
trapTimer = new _root.Timer(); chucking = true;
Symbol 803 MovieClip Frame 4
if (chucking && (chuckCount > 0)) { if (trapTimer.timeOver(4500)) { trapTimer.resetTimer(); attack(); chuckCount--; } prevFrame(); play(); } else { chucking = false; if (!alive) { _parent.enemyObjectCount--; alive = true; } stop(); }
Symbol 805 MovieClip Frame 1
function canMoveLeft() { return((_parent._x - _parent._width) > _root.worldESpawnFloor._x); } function canMoveRight() { return((_parent._x + _parent._width) < (_root.worldESpawnFloor._x + _root.worldESpawnFloor._width)); } function canMoveUp() { return(_parent._y > _root.worldESpawnFloor._y); } function canMoveDown() { return(_parent._y < (_root.worldESpawnFloor._y + _root.worldESpawnFloor._height)); } function translate() { _parent._x = _parent._x + ((_x * _parent._xscale) / 100); _parent._y = _parent._y + ((_y * _parent._xscale) / 100); } function getCoord() { o = new Object(); o.x = _x; o.y = _y; _parent.localToGlobal(o); return(o); }
Symbol 805 MovieClip Frame 2
stop();
Symbol 831 MovieClip Frame 1
function explosion(d) { health = health - d; if (health <= 0) { death(false, LOCATION_TORSO, 1); } } function death(t, l, s) { immune = true; tracer.translate(); if (t) { if (s <= 0) { _xscale = (-_xscale); } if (forward) { gotoAndPlay (440); } else { gotoAndPlay (340); } } else if (forward) { gotoAndPlay (490); } else { gotoAndPlay (390); } } function cleanUp() { _parent.enemyObjectCount--; _parent.unregisterObject(_name); removeMovieClip(""); } function customHitTest(x, y, d, t, s, cn) { var hh = false; var o = new Object(); o.x = x; o.y = y; globalToLocal(o); if (hitBoxHead.customHitTest(o.x, o.y) && (t)) { hh = true; d = d + 10; } if ((!immune) && (hitTest(x, y, true))) { if ((health - d) <= 0) { health = 0; if (attacking) { removeMovieClip("_parent." + attackSource); } if (hitBoxHead.customHitTest(o.x, o.y)) { death(t, LOCATION_HEAD, s); } else { death(t, LOCATION_TORSO, s); } } else if (hitBoxHead.customHitTest(o.x, o.y) || (hitBoxTorso.customHitTest(o.x, o.y))) { health = health - d; if (attacking) { attacking = false; removeMovieClip("_parent." + attackSource); gotoAndPlay (300); } else if (forward) { gotoAndPlay (310); } if (hh) { _parent.createPainBlood(x, y); } else if (cn != null) { _parent.createThing(x, y, cn); } else { _parent.createBlood(x, y); } } } } function defaultEvent() { if (health > 0) { if (!forward) { gotoAndPlay (50); } } else { death(false, 0, -1); } } function randomClaw() { if (Math.floor(Math.random() * 2) == 0) { gotoAndPlay (240); } else { gotoAndPlay (265); } } function randomJump() { switch (Math.floor(Math.random() * 3)) { case 0 : if (tracer.canMoveLeft()) { gotoAndPlay (190); } return; case 1 : if (tracer.canMoveRight()) { gotoAndPlay (215); } return; case 2 : gotoAndPlay (155); } } function AIEvent() { if (health > 0) { var actionTaken = Math.floor(Math.random() * 100); if (!forward) { if (actionTaken < MOVE_PCT) { if (random(2) == 0) { if (tracer.canMoveLeft()) { gotoAndPlay (85); } } else if (tracer.canMoveRight()) { gotoAndPlay (115); } } else if (actionTaken < BITE_PCT) { randomJump(); } } else if (actionTaken < CLAW_PCT) { randomClaw(); } else { gotoAndPlay (310); } } else { death(false, 0, -1); } } LOCATION_HEAD = 0; LOCATION_TORSO = 1; LOCATION_FEET = 2; if (_name == "oWolf") { stop(); _visible = false; }
Symbol 831 MovieClip Frame 2
_parent.registerObject(_name); _y = (_y - 50); stdHeight = 30; switch (_root.ENEMY_DIFFICULTY) { case 1 : MOVE_PCT = 30; BITE_PCT = 75; BITE_DELAY = 800; BITE_DAMAGE = 10; CLAW_PCT = 30; CLAW_DAMAGE = 3; health = 150; break; case 2 : MOVE_PCT = 25; BITE_PCT = 85; BITE_DELAY = 450; BITE_DAMAGE = 14; CLAW_PCT = 60; CLAW_DAMAGE = 4; health = 280; break; case 3 : MOVE_PCT = 20; BITE_PCT = 100; BITE_DELAY = 200; BITE_DAMAGE = 25; CLAW_PCT = 100; CLAW_DAMAGE = 5; health = 450; } immune = true; attacking = false; forward = false;
Symbol 831 MovieClip Frame 20
immune = false; gotoAndPlay (50);
Symbol 831 MovieClip Frame 55
AIEvent();
Symbol 831 MovieClip Frame 60
AIEvent();
Symbol 831 MovieClip Frame 65
AIEvent();
Symbol 831 MovieClip Frame 70
defaultEvent(); AIEvent();
Symbol 831 MovieClip Frame 104
tracer.translate(); defaultEvent(); AIEvent();
Symbol 831 MovieClip Frame 134
tracer.translate(); defaultEvent(); AIEvent();
Symbol 831 MovieClip Frame 156
biteTimer = new _root.Timer(); o = biteTracer.getCoord(); attackSource = _parent.generateAttack(o.x, o.y, 110, _name, 222.222222222222 + BITE_DELAY, _parent.DAMAGE_TYPE_BLOCKABLE, BITE_DAMAGE); attacking = true; biteTimer.resetTimer();
Symbol 831 MovieClip Frame 159
if (!biteTimer.timeOver(111.111111111111 + BITE_DELAY)) { prevFrame(); play(); }
Symbol 831 MovieClip Frame 160
forward = true;
Symbol 831 MovieClip Frame 167
attacking = false;
Symbol 831 MovieClip Frame 179
tracer.translate(); defaultEvent(); AIEvent();
Symbol 831 MovieClip Frame 191
biteTimer = new _root.Timer(); o = biteTracer.getCoord(); attackSource = _parent.generateAttack(o.x, o.y, 100, _name, 166.666666666667 + BITE_DELAY, _parent.DAMAGE_TYPE_BLOCKABLE, BITE_DAMAGE); attacking = true; biteTimer.resetTimer();
Symbol 831 MovieClip Frame 194
if (!biteTimer.timeOver(111.111111111111 + BITE_DELAY)) { prevFrame(); play(); }
Symbol 831 MovieClip Frame 195
forward = true;
Symbol 831 MovieClip Frame 201
attacking = false;
Symbol 831 MovieClip Frame 209
tracer.translate(); defaultEvent(); AIEvent();
Symbol 831 MovieClip Frame 216
biteTimer = new _root.Timer(); o = biteTracer.getCoord(); attackSource = _parent.generateAttack(o.x, o.y, 100, _name, 166.666666666667 + BITE_DELAY, _parent.DAMAGE_TYPE_BLOCKABLE, BITE_DAMAGE); attacking = true; biteTimer.resetTimer();
Symbol 831 MovieClip Frame 219
if (!biteTimer.timeOver(111.111111111111 + BITE_DELAY)) { prevFrame(); play(); }
Symbol 831 MovieClip Frame 220
forward = true;
Symbol 831 MovieClip Frame 225
attacking = false;
Symbol 831 MovieClip Frame 234
tracer.translate(); defaultEvent(); AIEvent();
Symbol 831 MovieClip Frame 241
o = biteTracer.getCoord(); attackSource = _parent.generateAttack(o.x, o.y, 160, _name, 55.5555555555556, _parent.DAMAGE_TYPE_BLOCKABLE, CLAW_DAMAGE); attacking = true;
Symbol 831 MovieClip Frame 249
attacking = false;
Symbol 831 MovieClip Frame 259
tracer.translate(); AIEvent();
Symbol 831 MovieClip Frame 266
o = biteTracer.getCoord(); attackSource = _parent.generateAttack(o.x, o.y, 160, _name, 55.5555555555556, _parent.DAMAGE_TYPE_BLOCKABLE, CLAW_DAMAGE); attacking = true;
Symbol 831 MovieClip Frame 274
attacking = false;
Symbol 831 MovieClip Frame 284
tracer.translate(); AIEvent();
Symbol 831 MovieClip Frame 323
forward = false;
Symbol 831 MovieClip Frame 328
tracer.translate(); defaultEvent(); AIEvent();
Symbol 831 MovieClip Frame 379
cleanUp();
Symbol 831 MovieClip Frame 429
cleanUp();
Symbol 831 MovieClip Frame 478
cleanUp();
Symbol 831 MovieClip Frame 529
cleanUp();
Symbol 836 MovieClip Frame 1
if (_name == "painSplatOriginal") { stop(); _visible = false; }
Symbol 836 MovieClip Frame 15
removeMovieClip("");
Symbol 837 MovieClip Frame 1
function violentReaction() { removeMovieClip(""); } function endAttack() { violentReaction(); } if (_name == "oGhostFlame") { _visible = false; }
Symbol 837 MovieClip Frame 2
stop();
Symbol 861 MovieClip Frame 1
function explosion(d) { if (!immune) { health = health - d; if (health <= 0) { death(true, LOCATION_HEAD, 1); } } } function death(t, l, s) { immune = true; tracer.translate(); gotoAndPlay (290); } function cleanUp() { _parent.enemyObjectCount--; _parent.unregisterObject(_name); removeMovieClip(""); } function customHitTest(x, y, d, t, s, cn) { var o = new Object(); o.x = x; o.y = y; globalToLocal(o); if (hitBoxHead.customHitTest(o.x, o.y) && (t)) { hh = true; d = d + 20; } else { hh = false; } if ((!immune) && (hitTest(x, y, true))) { if ((health - d) <= 0) { _parent.createBlood(x, y); health = 0; if (attacking) { var c = 0; while (c < outstandingAttacks) { removeMovieClip("_parent." + attackSource[c]); c++; } var c = 0; while (c < 5) { removeMovieClip("_parent." + ghostArray[c]); c++; } } if (hitBoxHead.customHitTest(o.x, o.y)) { death(t, LOCATION_HEAD, s); } else if (hitBoxTorso.customHitTest(o.x, o.y)) { death(t, LOCATION_TORSO, s); } else if (hitBoxFeet.customHitTest(o.x, o.y)) { death(t, LOCATION_FEET, s); } else { death(false, 0, -1); } } else if ((hitBoxHead.customHitTest(o.x, o.y) || (hitBoxTorso.customHitTest(o.x, o.y))) || (hitBoxFeet.customHitTest(o.x, o.y))) { if (hh) { _parent.createPainBlood(x, y); } else if (cn != null) { _parent.createThing(x, y, cn); } else { _parent.createBlood(x, y); } health = health - d; } else { _parent.createSparks(x, y); } } } function flameAttack(minFlameReq) { if (MAX_FLAME_ATTACK >= minFlameReq) { o = eval ("flameTrace" + i).getCoord(); ghostArray[i] = _parent.createGhostFlame(o.x, o.y, (i * 20) + 80); attackSource[i] = _parent.generateAttack(o.x, o.y, 120 + (i * 6), ghostArray[i], -333.333333333333 + (FLAME_DELAY * (1 + (i * 0.2))), _parent.DAMAGE_TYPE_BLOCKABLE + _parent.DAMAGE_TYPE_SLASHABLE, ATTACK_DAMAGE); outstandingAttacks++; } i++; } function defaultEvent() { if (health > 0) { gotoAndPlay (23); } else { death(false, 0, -1); } } function AIEvent() { if (health > 0) { var actionTaken = (Math.random() * 100); if (actionTaken < FLAME_ATTACK_PCT) { gotoAndPlay (40); } else if (actionTaken < CHARGE_PCT) { if (_x < (_root.SCREEN_WIDTH / 2)) { gotoAndPlay (250); } else { gotoAndPlay (210); } } else if (actionTaken < TELEPORT_PCT) { gotoAndPlay (160); } if (((Math.random() * 100) < COUNTER_ATTACK_PCT) && (_root.combatCursor.isAttackPulsing())) { if (_root.combatCursor._y < (_root.SCREEN_WIDTH / 2)) { gotoAndPlay (100); } else { gotoAndPlay (130); } } } else { death(false, 0, -1); } } LOCATION_HEAD = 0; LOCATION_TORSO = 1; LOCATION_FEET = 2; if (_name == "oFNinja") { stop(); _visible = false; }
Symbol 861 MovieClip Frame 2
_parent.registerObject(_name); stdHeight = 140; switch (_root.ENEMY_DIFFICULTY) { case 1 : FLAME_ATTACK_PCT = 20; CHARGE_PCT = 50; TELEPORT_PCT = 70; COUNTER_ATTACK_PCT = 50; ATTACK_DELAY = 700; JUMP_DELAY = 2500; MAX_FLAME_ATTACK = 3; MAX_CHARGE_ATTACK = 2; FLAME_DELAY = 1000; CHARGE_BASE = 300; CHARGE_DELAY = 300; ATTACK_DAMAGE = 5; health = 620; break; case 2 : FLAME_ATTACK_PCT = 30; CHARGE_PCT = 60; TELEPORT_PCT = 70; COUNTER_ATTACK_PCT = 75; ATTACK_DELAY = 400; JUMP_DELAY = 2500; MAX_FLAME_ATTACK = 4; MAX_CHARGE_ATTACK = 3; FLAME_DELAY = 750; CHARGE_BASE = 0; CHARGE_DELAY = 250; ATTACK_DAMAGE = 8; if (_root.arenaMode) { health = 900; } else { health = 1500; } break; case 3 : FLAME_ATTACK_PCT = 30; CHARGE_PCT = 80; TELEPORT_PCT = 100; COUNTER_ATTACK_PCT = 90; ATTACK_DELAY = 200; JUMP_DELAY = 2500; MAX_FLAME_ATTACK = 5; MAX_CHARGE_ATTACK = 3; FLAME_DELAY = 500; CHARGE_BASE = 0; CHARGE_DELAY = 200; ATTACK_DAMAGE = 12; health = 2600; } immune = true; attacking = false; leftSide = _x < (_root.SCREEN_WIDTH / 2); ninjaTimer = new _root.Timer(); outstandingAttacks = 0; attackSource = new Array(50); ghostArray = new Array(5);
Symbol 861 MovieClip Frame 18
immune = false; defaultEvent();
Symbol 861 MovieClip Frame 25
AIEvent();
Symbol 861 MovieClip Frame 28
AIEvent();
Symbol 861 MovieClip Frame 31
AIEvent();
Symbol 861 MovieClip Frame 34
defaultEvent(); AIEvent();
Symbol 861 MovieClip Frame 50
i = 0; attacking = true;
Symbol 861 MovieClip Frame 61
flameAttack(3);
Symbol 861 MovieClip Frame 66
flameAttack(5);
Symbol 861 MovieClip Frame 71
flameAttack(2);
Symbol 861 MovieClip Frame 76
flameAttack(4);
Symbol 861 MovieClip Frame 81
flameAttack(1);
Symbol 861 MovieClip Frame 93
gotoAndPlay (160);
Symbol 861 MovieClip Frame 101
frameDelay = 333.333333333333 + ATTACK_DELAY; outstandingAttacks = 1; attacking = true; o = attackTrace.getCoord(); attackSource[0] = _parent.generateAttack(o.x, o.y, 125, _name, frameDelay, _parent.DAMAGE_TYPE_BLOCKABLE, ATTACK_DAMAGE);
Symbol 861 MovieClip Frame 104
ninjaTimer.resetTimer();
Symbol 861 MovieClip Frame 106
if (!ninjaTimer.TimeOver(ATTACK_DELAY)) { prevFrame(); play(); }
Symbol 861 MovieClip Frame 121
attacking = false; defaultEvent(); AIEvent();
Symbol 861 MovieClip Frame 131
frameDelay = 333.333333333333 + ATTACK_DELAY; outstandingAttacks = 1; attacking = true; o = attackTrace.getCoord(); attackSource[0] = _parent.generateAttack(o.x, o.y, 125, _name, frameDelay, _parent.DAMAGE_TYPE_BLOCKABLE, ATTACK_DAMAGE);
Symbol 861 MovieClip Frame 133
ninjaTimer.resetTimer();
Symbol 861 MovieClip Frame 135
if (!ninjaTimer.TimeOver(ATTACK_DELAY)) { prevFrame(); play(); }
Symbol 861 MovieClip Frame 151
attacking = false; defaultEvent(); AIEvent();
Symbol 861 MovieClip Frame 181
_x = _parent.getFloorSpawnX();
Symbol 861 MovieClip Frame 201
defaultEvent();
Symbol 861 MovieClip Frame 211
i = 0; while (i < MAX_CHARGE_ATTACK) { o = eval ("attackTrace" + i).getCoord(); attackSource[i] = _parent.generateAttack(o.x, o.y, 150 + (i * 25), _name, (611.111111111111 + CHARGE_BASE) + (i * CHARGE_DELAY), _parent.DAMAGE_TYPE_BLOCKABLE, ATTACK_DAMAGE); i++; } outstandingAttacks = MAX_CHARGE_ATTACK; attacking = true;
Symbol 861 MovieClip Frame 241
tracer.translate(); attacking = false; if (!tracer.canMoveLeft()) { gotoAndPlay (160); } else { defaultEvent(); AIEvent(); }
Symbol 861 MovieClip Frame 251
i = 0; while (i < MAX_CHARGE_ATTACK) { o = eval ("attackTrace" + i).getCoord(); attackSource[i] = _parent.generateAttack(o.x, o.y, 150 + (i * 25), _name, (611.111111111111 + CHARGE_BASE) + (i * CHARGE_DELAY), _parent.DAMAGE_TYPE_BLOCKABLE, ATTACK_DAMAGE); i++; } outstandingAttacks = MAX_CHARGE_ATTACK; attacking = true;
Symbol 861 MovieClip Frame 281
tracer.translate(); attacking = false; if (!tracer.canMoveRight()) { gotoAndPlay (160); } else { defaultEvent(); AIEvent(); }
Symbol 861 MovieClip Frame 378
cleanUp();
Symbol 866 MovieClip Frame 1
function explosion(d) { violentReaction(); } function violentReaction() { _parent.createSparks(_x, _y); _parent.enemyObjectCount--; removeMovieClip(""); } function endAttack() { _parent.enemyObjectCount--; removeMovieClip(""); } attackDelay = 1500; stdHeight = _height / 2; _rotation = (_rotation + (random(40) - 20)); if (_name == "oShurikenAttack") { stop(); _visible = false; }
Symbol 866 MovieClip Frame 3
startTime = getTimer(); _xscale = 50; _yscale = 50; _parent.generateAttack(_x, _y, 120, _name, attackDelay, _parent.DAMAGE_TYPE_BLOCKABLE + _parent.DAMAGE_TYPE_SLASHABLE, 2 + (2 * _root.ENEMY_DIFFICULTY));
Symbol 866 MovieClip Frame 5
_xscale = (50 + (Math.pow((getTimer() - startTime) / attackDelay, 4) * 100)); if (_xscale > 300) { _xscale = 300; } _yscale = _xscale; prevFrame(); play();
Symbol 866 MovieClip Frame 6
stop();
Symbol 886 MovieClip Frame 1
function explosion(d) { if (!immune) { health = health - d; if (health <= 0) { death(true, LOCATION_HEAD, 1); } } } function death(t, l, s) { immune = true; tracer.translate(); if (t) { if (s <= 0) { _xscale = (-_xscale); } if (l == LOCATION_HEAD) { gotoAndPlay (190); } else if (l == LOCATION_TORSO) { gotoAndPlay (235); } else { gotoAndPlay (280); } } else if (Math.random() > 0.5) { if (Math.random() > 0.5) { _xscale = (-_xscale); } gotoAndPlay (370); } else { gotoAndPlay (325); } } function cleanUp() { _parent.enemyObjectCount--; _parent.unregisterObject(_name); removeMovieClip(""); } function shurikenAttack(x, y) { if ((shurikensInHand > 0) && (random(3) == 0)) { shurikensInHand--; _parent.generateShurikenAttack(x, y); _parent.enemyObjectCount++; } } function customHitTest(x, y, d, t, s, cn) { var o = new Object(); o.x = x; o.y = y; globalToLocal(o); if (hitBoxHead.customHitTest(o.x, o.y) && (t)) { hh = true; d = d + 20; } else { hh = false; } if ((!immune) && (hitTest(x, y, true))) { if ((health - d) <= 0) { health = 0; if (attacking) { removeMovieClip("_parent." + attackSource1); removeMovieClip("_parent." + attackSource2); } if (hitBoxHead.customHitTest(o.x, o.y)) { death(t, LOCATION_HEAD, s); } else if (hitBoxTorso.customHitTest(o.x, o.y)) { death(t, LOCATION_TORSO, s); } else if (hitBoxFeet.customHitTest(o.x, o.y)) { death(t, LOCATION_FEET, s); } else { death(false, 0, -1); } } else if ((hitBoxHead.customHitTest(o.x, o.y) || (hitBoxTorso.customHitTest(o.x, o.y))) || (hitBoxFeet.customHitTest(o.x, o.y))) { health = health - d; if (attacking) { attacking = false; removeMovieClip("_parent." + attackSource1); removeMovieClip("_parent." + attackSource2); gotoAndPlay (170); } if (hh) { _parent.createPainBlood(x, y); } else if (cn != null) { _parent.createThing(x, y, cn); } else { _parent.createBlood(x, y); } } } } function defaultEvent() { if (health > 0) { gotoAndPlay (20); } else { death(false, 0, -1); } } function AIEvent() { if (health > 0) { var actionTaken = (Math.random() * 100); if (actionTaken < DODGE_PCT) { if (_root.combatCursor.isAttackPulsing()) { if (random(3) == 0) { gotoAndPlay (75); } else if (random(2) == 0) { gotoAndPlay (45); } else { gotoAndPlay (60); } } } else if (actionTaken < JUMP_ATTACK_PCT) { if (leftSide) { leftSide = false; gotoAndPlay (115); } else { leftSide = true; gotoAndPlay (90); } } else if (actionTaken < STAND_ATTACK_PCT) { gotoAndPlay (140); } } else { death(false, 0, -1); } } LOCATION_HEAD = 0; LOCATION_TORSO = 1; LOCATION_FEET = 2; if (_name == "oNinja") { stop(); _visible = false; }
Symbol 886 MovieClip Frame 2
_parent.registerObject(_name); stdHeight = 140; switch (_root.ENEMY_DIFFICULTY) { case 1 : DODGE_PCT = 40; JUMP_ATTACK_PCT = 60; STAND_ATTACK_PCT = 70; ATTACK_DELAY = 1000; JUMP_DELAY = 2500; ATTACK_DAMAGE = 5; MAX_SHURIKENS = 2; health = 120; break; case 2 : DODGE_PCT = 50; JUMP_ATTACK_PCT = 70; STAND_ATTACK_PCT = 85; ATTACK_DELAY = 800; JUMP_DELAY = 1800; ATTACK_DAMAGE = 12; MAX_SHURIKENS = 3; health = 450; break; case 3 : DODGE_PCT = 30; JUMP_ATTACK_PCT = 55; STAND_ATTACK_PCT = 90; ATTACK_DELAY = 350; JUMP_DELAY = 1000; ATTACK_DAMAGE = 20; MAX_SHURIKENS = 5; health = 700; } immune = true; attacking = false; leftSide = _x < (_root.SCREEN_WIDTH / 2); ninjaTimer = new _root.Timer();
Symbol 886 MovieClip Frame 16
immune = false; defaultEvent();
Symbol 886 MovieClip Frame 23
AIEvent();
Symbol 886 MovieClip Frame 27
AIEvent();
Symbol 886 MovieClip Frame 31
AIEvent();
Symbol 886 MovieClip Frame 35
AIEvent();
Symbol 886 MovieClip Frame 39
defaultEvent(); AIEvent();
Symbol 886 MovieClip Frame 54
defaultEvent();
Symbol 886 MovieClip Frame 69
defaultEvent();
Symbol 886 MovieClip Frame 84
defaultEvent();
Symbol 886 MovieClip Frame 90
shurikensInHand = MAX_SHURIKENS;
Symbol 886 MovieClip Frame 95
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 96
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 97
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 98
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 99
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 100
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 101
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 108
ninjaTimer.resetTimer();
Symbol 886 MovieClip Frame 110
if (ninjaTimer.timeOver(JUMP_DELAY)) { tracer.translate(); defaultEvent(); } else { prevFrame(); play(); }
Symbol 886 MovieClip Frame 115
shurikensInHand = MAX_SHURIKENS;
Symbol 886 MovieClip Frame 121
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 122
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 123
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 124
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 125
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 126
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 127
o = handTracer.getCoord(); shurikenAttack(o.x, o.y);
Symbol 886 MovieClip Frame 133
ninjaTimer.resetTimer();
Symbol 886 MovieClip Frame 135
if (ninjaTimer.timeOver(JUMP_DELAY)) { tracer.translate(); defaultEvent(); } else { prevFrame(); play(); }
Symbol 886 MovieClip Frame 141
frameDelay1 = 111.111111111111; frameDelay2 = 777.777777777778; attackSource1 = _parent.generateAttack(attackBoundBox1.getRandomX(), attackBoundBox1.getRandomY(), random(40) + 80, _name, ATTACK_DELAY + frameDelay1, _parent.DAMAGE_TYPE_BLOCKABLE, ATTACK_DAMAGE); attackSource2 = _parent.generateAttack(attackBoundBox2.getRandomX(), attackBoundBox2.getRandomY(), random(40) + 80, _name, ATTACK_DELAY + frameDelay2, _parent.DAMAGE_TYPE_BLOCKABLE, ATTACK_DAMAGE); ninjaTimer.resetTimer(); attacking = true;
Symbol 886 MovieClip Frame 145
if (!ninjaTimer.timeOver(ATTACK_DELAY)) { prevFrame(); play(); }
Symbol 886 MovieClip Frame 167
attacking = false; defaultEvent();
Symbol 886 MovieClip Frame 181
defaultEvent();
Symbol 886 MovieClip Frame 229
cleanUp();
Symbol 886 MovieClip Frame 273
cleanUp();
Symbol 886 MovieClip Frame 319
cleanUp();
Symbol 886 MovieClip Frame 364
cleanUp();
Symbol 886 MovieClip Frame 409
cleanUp();
Symbol 887 MovieClip Frame 1
startDelay = random(20) * 25; startTimer = new _root.Timer(); if (_name == "oShuriken") { stop(); _visible = false; } else { _rotation = (random(30) - 15); }
Symbol 887 MovieClip Frame 3
if (!startTimer.timeOver(startDelay)) { prevFrame(); play(); }
Symbol 887 MovieClip Frame 15
_root.makeStabAttack(_x, _y, 20, false, 1); removeMovieClip("");
Symbol 897 MovieClip Frame 1
function explosion(d) { if (!immune) { health = health - d; if (health <= 0) { death(true, LOCATION_HEAD, 1); } } } function death(t, l, s) { immune = true; tracer.translate(); if (t) { if (s <= 0) { _xscale = (-_xscale); } if (l == LOCATION_HEAD) { gotoAndPlay (220); } else if (l == LOCATION_TORSO) { gotoAndPlay (265); } else { gotoAndPlay (310); } } else if (Math.random() > 0.5) { if (Math.random() > 0.5) { _xscale = (-_xscale); } gotoAndPlay (400); } else { gotoAndPlay (355); } } function cleanUp() { _parent.enemyObjectCount--; _parent.unregisterObject(_name); removeMovieClip(""); } function customHitTest(x, y, d, t, s, cn) { var hh = false; var o = new Object(); o.x = x; o.y = y; globalToLocal(o); if (hitBoxHead.customHitTest(o.x, o.y) && (t)) { hh = true; d = d + 20; } if ((!immune) && (hitTest(x, y, true))) { if ((health - d) <= 0) { health = 0; if (attacking) { removeMovieClip("_parent." + attackSource); } if (hitBoxHead.customHitTest(o.x, o.y)) { death(t, LOCATION_HEAD, s); } else if (hitBoxTorso.customHitTest(o.x, o.y)) { death(t, LOCATION_TORSO, s); } else if (hitBoxFeet.customHitTest(o.x, o.y)) { death(t, LOCATION_FEET, s); } else { death(false, 0, -1); } } else if ((hitBoxHead.customHitTest(o.x, o.y) || (hitBoxTorso.customHitTest(o.x, o.y))) || (hitBoxFeet.customHitTest(o.x, o.y))) { health = health - d; if (attacking) { attacking = false; removeMovieClip("_parent." + attackSource); gotoAndPlay (200); } if (hh) { _parent.createPainBlood(x, y); } else if (cn != null) { _parent.createThing(x, y, cn); } else { _parent.createBlood(x, y); } } else { _parent.createSparks(x, y); } } } function startAttack(sa) { shortAttack = sa; gotoAndPlay (170); } function startBlock(location) { if (location == 0) { gotoAndPlay (100); } else { gotoAndPlay (125); } } function defaultEvent() { if (health > 0) { alert = false; gotoAndPlay (40); } else { death(false, 0, -1); } } function counterEvent() { if (_root.combatCursor.isAttacking()) { var actionTaken = (Math.random() * 100); if (actionTaken < COUNTER_ATTACK_PCT) { startAttack(true); return(true); } if (actionTaken < ALERT_PCT) { gotoAndPlay (150); return(true); } } else if (_root.combatCursor.isBlocking() || (!_root.combatCursor.canAttack())) { var actionTaken = (Math.random() * 100); if (actionTaken < COUNTER_ATTACK_PCT) { startAttack(false); return(true); } } return(false); } function AIEvent() { if (health > 0) { var actionTaken = (Math.random() * 100); var hasCounter = false; if (actionTaken < COUNTER_PCT) { hasCounter = counterEvent(); } if (!hasCounter) { actionTaken = Math.random() * 100; if (actionTaken < MOVE_PCT) { if (random(2) == 0) { if (tracer.canMoveLeft()) { gotoAndPlay (70); } } else if (tracer.canMoveRight()) { gotoAndPlay (85); } } else if (actionTaken < ATTACK_PCT) { startAttack(false); } } } else { death(false, 0, -1); } } LOCATION_HEAD = 0; LOCATION_TORSO = 1; LOCATION_FEET = 2; if (_name == "oSamurai") { stop(); _visible = false; }
Symbol 897 MovieClip Frame 2
_parent.registerObject(_name); stdHeight = 160; switch (_root.ENEMY_DIFFICULTY) { case 1 : COUNTER_PCT = 50; MOVE_PCT = 50; ATTACK_PCT = 80; COUNTER_ATTACK_PCT = 20; ALERT_PCT = 70; BLOCK_PCT = 30; DODGE_PCT = 70; BLOCK_DELAY = 600; MAX_INCREMENT = 4; ATTACK_INCREMENT = 200; MIN_ATTACK_DELAY = 1000; ATTACK_DAMAGE = 6; health = 80; break; case 2 : COUNTER_PCT = 80; MOVE_PCT = 60; ATTACK_PCT = 80; COUNTER_ATTACK_PCT = 30; ALERT_PCT = 90; BLOCK_PCT = 60; DODGE_PCT = 100; BLOCK_DELAY = 200; MAX_INCREMENT = 6; ATTACK_INCREMENT = 100; MIN_ATTACK_DELAY = 600; ATTACK_DAMAGE = 10; health = 160; break; case 3 : COUNTER_PCT = 100; MOVE_PCT = 50; ATTACK_PCT = 100; COUNTER_ATTACK_PCT = 50; ALERT_PCT = 100; BLOCK_PCT = 80; DODGE_PCT = 100; BLOCK_DELAY = 0; MAX_INCREMENT = 15; ATTACK_INCREMENT = 50; MIN_ATTACK_DELAY = 500; ATTACK_DAMAGE = 8; health = 320; } immune = true; alert = false; attacking = false;
Symbol 897 MovieClip Frame 30
immune = false; defaultEvent();
Symbol 897 MovieClip Frame 45
AIEvent();
Symbol 897 MovieClip Frame 50
AIEvent();
Symbol 897 MovieClip Frame 55
AIEvent();
Symbol 897 MovieClip Frame 60
AIEvent();
Symbol 897 MovieClip Frame 65
defaultEvent(); AIEvent();
Symbol 897 MovieClip Frame 81
tracer.translate(); defaultEvent(); AIEvent();
Symbol 897 MovieClip Frame 96
tracer.translate(); defaultEvent(); AIEvent();
Symbol 897 MovieClip Frame 103
blockTimer = new _root.Timer();
Symbol 897 MovieClip Frame 105
if (!blockTimer.timeOver(BLOCK_DELAY)) { prevFrame(); play(); }
Symbol 897 MovieClip Frame 116
defaultEvent(); AIEvent();
Symbol 897 MovieClip Frame 129
blockTimer = new _root.Timer();
Symbol 897 MovieClip Frame 131
if (!blockTimer.timeOver(BLOCK_DELAY)) { prevFrame(); play(); }
Symbol 897 MovieClip Frame 142
defaultEvent(); AIEvent();
Symbol 897 MovieClip Frame 150
alert = true; alertTimer = new _root.Timer();
Symbol 897 MovieClip Frame 157
if (_root.combatCursor.isAttackPulsing() || (alertTimer.timeOver(2500))) { alert = false; var actionTaken = (Math.random() * 100); if (actionTaken < BLOCK_PCT) { if (_root.combatCursor._y < (_root.SCREEN_HEIGHT / 2)) { startBlock(0); } else { startBlock(1); } } else if (actionTaken < DODGE_PCT) { if (random(2) == 0) { if (tracer.canMoveLeft()) { gotoAndPlay (70); } else { gotoAndPlay (85); } } else if (tracer.canMoveRight()) { gotoAndPlay (85); } else { gotoAndPlay (70); } } else { defaultEvent(); AIEvent(); } } else { prevFrame(); play(); }
Instance of Symbol 205 MovieClip "evilFlame" in Symbol 897 MovieClip Frame 170
onClipEvent (load) { _visible = false; }
Symbol 897 MovieClip Frame 171
attackDelay = MIN_ATTACK_DELAY; frameDelay = 111.111111111111; if (!shortAttack) { attackDelay = attackDelay + (ATTACK_INCREMENT * Math.floor(Math.random() * MAX_INCREMENT)); } attackSource = _parent.generateAttack(attackBoundBox.getRandomX(), attackBoundBox.getRandomY(), random(60) + 100, _name, attackDelay + frameDelay, _parent.DAMAGE_TYPE_BLOCKABLE, Math.floor((ATTACK_DAMAGE * attackDelay) / MIN_ATTACK_DELAY)); attackTimer = new _root.Timer(); attacking = true;
Symbol 897 MovieClip Frame 175
if (((!evilFlame._visible) && (!shortAttack)) && (attackTimer.timeOver(MIN_ATTACK_DELAY / 2))) { evilFlame._visible = true; } if (!attackTimer.timeOver(attackDelay)) { prevFrame(); play(); }
Symbol 897 MovieClip Frame 176
evilFlame._visible = false;
Symbol 897 MovieClip Frame 189
attacking = false; defaultEvent();
Symbol 897 MovieClip Frame 211
defaultEvent();
Symbol 897 MovieClip Frame 259
cleanUp();
Symbol 897 MovieClip Frame 304
cleanUp();
Symbol 897 MovieClip Frame 349
cleanUp();
Symbol 897 MovieClip Frame 394
cleanUp();
Symbol 897 MovieClip Frame 439
cleanUp();
Symbol 917 MovieClip Frame 1
function explosion(d) { health = health - d; if (health <= 0) { death(false, LOCATION_TORSO, 1); } } function death(t, l, s) { immune = true; tracer.translate(); if (t) { if (s <= 0) { _xscale = (-_xscale); } if (l == LOCATION_HEAD) { gotoAndPlay (230); } else if (l == LOCATION_TORSO) { gotoAndPlay (275); } else { gotoAndPlay (320); } } else if (Math.abs(s) > 45) { if (s > 0) { _xscale = (-_xscale); } gotoAndPlay (366); } else { gotoAndPlay (365); } } function cleanUp() { _parent.enemyObjectCount--; _parent.unregisterObject(_name); removeMovieClip(""); } function customHitTest(x, y, d, t, s, cn) { var hh = false; var o = new Object(); o.x = x; o.y = y; globalToLocal(o); if (hitBoxHead.customHitTest(o.x, o.y) && (t)) { hh = true; d = d + 20; } if ((!immune) && (hitTest(x, y, true))) { if ((health - d) <= 0) { health = 0; if (biting) { removeMovieClip("_parent." + biteSource); } if (hitBoxHead.customHitTest(o.x, o.y)) { death(t, LOCATION_HEAD, s); } else if (hitBoxTorso.customHitTest(o.x, o.y)) { death(t, LOCATION_TORSO, s); } else if (hitBoxFeet.customHitTest(o.x, o.y)) { death(t, LOCATION_FEET, s); } else { death(false, 0, -1); } } else if ((hitBoxHead.customHitTest(o.x, o.y) || (hitBoxTorso.customHitTest(o.x, o.y))) || (hitBoxFeet.customHitTest(o.x, o.y))) { health = health - d; if (biting) { biting = false; removeMovieClip("_parent." + biteSource); gotoAndPlay (210); } if (hh) { _parent.createPainBlood(x, y); } else if (cn != null) { _parent.createThing(x, y, cn); } else { _parent.createBlood(x, y); } } } } function defaultEvent() { if (health > 0) { gotoAndPlay (50); } else { death(false, 0, -1); } } function AIEvent() { if (health > 0) { var actionTaken = Math.floor(Math.random() * 100); if (actionTaken < MOVE_PCT) { if (random(2) == 0) { if (tracer.canMoveLeft()) { gotoAndPlay (85); } } else if (tracer.canMoveRight()) { gotoAndPlay (115); } } else if (actionTaken < BITE_PCT) { gotoAndPlay (155); } } else { death(false, 0, -1); } } LOCATION_HEAD = 0; LOCATION_TORSO = 1; LOCATION_FEET = 2; if (_name == "oZombie") { stop(); _visible = false; }
Symbol 917 MovieClip Frame 2
_parent.registerObject(_name); stdHeight = 130; switch (_root.ENEMY_DIFFICULTY) { case 0 : MOVE_PCT = 50; BITE_PCT = 0; BITE_DELAY = 2800; BITE_DAMAGE = 3; health = 80; break; case 1 : MOVE_PCT = 40; BITE_PCT = 70; BITE_DELAY = 1500; BITE_DAMAGE = 5; health = 60; break; case 2 : MOVE_PCT = 40; BITE_PCT = 80; BITE_DELAY = 800; BITE_DAMAGE = 10; health = 60; break; case 3 : MOVE_PCT = 20; BITE_PCT = 100; BITE_DELAY = 400; BITE_DAMAGE = 15; health = 150; } immune = true; biting = false;
Symbol 917 MovieClip Frame 40
immune = false; gotoAndPlay (50);
Symbol 917 MovieClip Frame 64
AIEvent();
Symbol 917 MovieClip Frame 79
defaultEvent(); AIEvent();
Symbol 917 MovieClip Frame 109
tracer.translate(); defaultEvent(); AIEvent();
Symbol 917 MovieClip Frame 139
tracer.translate(); defaultEvent(); AIEvent();
Symbol 917 MovieClip Frame 156
biteTimer = new _root.Timer(); o = biteTracer.getCoord(); biteSource = _parent.generateAttack(o.x, o.y, 160, _name, 888.888888888889 + BITE_DELAY, _parent.DAMAGE_TYPE_BLOCKABLE, BITE_DAMAGE); biting = true; biteTimer.resetTimer();
Symbol 917 MovieClip Frame 169
if (!biteTimer.timeOver(1000 + BITE_DELAY)) { prevFrame(); play(); }
Symbol 917 MovieClip Frame 200
biting = false; defaultEvent();
Symbol 917 MovieClip Frame 222
defaultEvent(); AIEvent();
Symbol 917 MovieClip Frame 269
cleanUp();
Symbol 917 MovieClip Frame 314
cleanUp();
Symbol 917 MovieClip Frame 359
cleanUp();
Symbol 917 MovieClip Frame 404
cleanUp();
Symbol 919 MovieClip Frame 1
if (_name == "oFlash") { stop(); _visible = false; }
Symbol 919 MovieClip Frame 10
removeMovieClip("");
Symbol 920 MovieClip Frame 1
if (_name == "dmgOriginal") { stop(); _visible = false; }
Symbol 920 MovieClip Frame 6
removeMovieClip("");
Symbol 922 MovieClip Frame 1
FADE_TIME = _parent.StrikePointProp[int(_name.subString(11, _name.length))][0]; DAMAGE_TYPE = _parent.StrikePointProp[int(_name.subString(11, _name.length))][1]; DAMAGE_LEVEL = _parent.StrikePointProp[int(_name.subString(11, _name.length))][2]; SOURCE = _parent.StrikePointProp[int(_name.subString(11, _name.length))][3]; _rotation = random(360); if (_name == "oStrikePoint") { stop(); _visible = false; }
Symbol 922 MovieClip Frame 6
startTime = getTimer();
Symbol 922 MovieClip Frame 8
if ((startTime + FADE_TIME) > getTimer()) { _alpha = ((1 - ((getTimer() - startTime) / FADE_TIME)) * 100); prevFrame(); play(); }
Symbol 922 MovieClip Frame 9
eval ("_parent." + SOURCE).endAttack(); _parent.causeDamage(_x, _y, _xscale / 100, DAMAGE_TYPE, DAMAGE_LEVEL); removeMovieClip("");
Symbol 924 MovieClip Frame 1
if (_name == "oSpark") { stop(); _visible = false; }
Symbol 924 MovieClip Frame 13
removeMovieClip("");
Symbol 925 MovieClip Frame 1
if ((_name == "splatOriginal") || (_name == "smallBlood")) { stop(); _visible = false; }
Symbol 925 MovieClip Frame 12
removeMovieClip("");
Symbol 930 MovieClip Frame 1
function explosion(d) { destroyTrap(); } function customHitTest(x, y, d, t, s) { if (hitTest(x, y, false)) { trapHP = trapHP - d; if (trapHP <= 0) { destroyTrap(); } else { _parent.createSparks(x, y); } } } function destroyTrap() { if (immune) { return(undefined); } removeMovieClip("_parent." + attackIcon); gotoAndPlay (56); } function endAttack() { play(); } trapTimer = new _root.Timer(); trapTimer.resetTimer(); stdHeight = _height / 2; startDelay = (Math.random() * 40) * 250; _parent.challengeDelay(startDelay); attackDelay = 4000 + ((Math.random() * 20) * 100); trapHP = 1; if (_name == "oBambooTrap") { stop(); _visible = false; } immune = false;
Symbol 930 MovieClip Frame 2
startDelay = _parent.getMinDelay(startDelay);
Symbol 930 MovieClip Frame 4
if (!trapTimer.timeOver(startDelay)) { prevFrame(); play(); }
Symbol 930 MovieClip Frame 6
_parent.registerObject(_name);
Symbol 930 MovieClip Frame 28
if (Math.abs(_rotation) < 90) { attackIcon = _parent.generateAttack(_x, _y - 45, 80, _name, attackDelay, 0, 2 * _root.TRAP_DIFFICULTY); } else { attackIcon = _parent.generateAttack(_x, _y + 45, 80, _name, attackDelay, 0, 2 * _root.TRAP_DIFFICULTY); }
Symbol 930 MovieClip Frame 30
stop();
Symbol 930 MovieClip Frame 51
gotoAndPlay (17);
Symbol 930 MovieClip Frame 56
immune = true;
Symbol 930 MovieClip Frame 68
_parent.enemyObjectCount--; _parent.unregisterObject(_name); removeMovieClip("");
Symbol 931 MovieClip Frame 1
function explosion(d) { violentReaction(); } function violentReaction() { _parent.createSparks(_x, _y); _parent.enemyObjectCount--; removeMovieClip(""); } function endAttack() { _parent.enemyObjectCount--; removeMovieClip(""); } _root.shurikenCount++; startTime = getTimer(); startDelay = ((_root.shurikenCount % 12) * 800) + (Math.random() * 700); _parent.challengeDelay(startDelay); attackDelay = ((Math.random() * 100) + 1200) - ((_root.TRAP_DIFFICULTY - 1) * 200); stdHeight = _height / 2; _rotation = (_rotation + ((Math.random() * 40) - 20)); if (_name == "oShurikenTrap") { stop(); _visible = false; }
Symbol 931 MovieClip Frame 2
startDelay = _parent.getMinDelay(startDelay);
Symbol 931 MovieClip Frame 4
if ((startTime + startDelay) > getTimer()) { prevFrame(); play(); } else { startTime = getTimer(); _xscale = 50; _yscale = 50; _parent.generateAttack(_x, _y, 120, _name, attackDelay, _parent.DAMAGE_TYPE_BLOCKABLE + _parent.DAMAGE_TYPE_SLASHABLE, 1 + (_root.TRAP_DIFFICULTY * 2)); }
Symbol 931 MovieClip Frame 7
_xscale = (50 + (Math.pow((getTimer() - startTime) / attackDelay, 4) * 100)); if (_xscale > 300) { _xscale = 300; } _yscale = _xscale; prevFrame(); play();
Symbol 931 MovieClip Frame 8
stop();
Symbol 932 MovieClip Frame 1
function createThing(x, y, Thing) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip (Thing, "splat" + fxCount, fxCount); eval ("splat" + fxCount)._x = x; eval ("splat" + fxCount)._y = y; } function createBlood(x, y) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("splatOriginal", "splat" + fxCount, fxCount); eval ("splat" + fxCount)._x = x; eval ("splat" + fxCount)._y = y; } function createPainBlood(x, y) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("painSplatOriginal", "splat" + fxCount, fxCount); eval ("splat" + fxCount)._x = x; eval ("splat" + fxCount)._y = y; } function createDamage(x, y, s) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("dmgOriginal", "splat" + fxCount, fxCount); eval ("splat" + fxCount)._x = x; eval ("splat" + fxCount)._y = y; eval ("splat" + fxCount)._xscale = s; eval ("splat" + fxCount)._yscale = s; } function createSparks(x, y) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("oSpark", "Spark" + fxCount, fxCount); eval ("Spark" + fxCount)._x = x; eval ("Spark" + fxCount)._y = y; } function createFlash(x, y) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("oFlash", "Spark" + fxCount, fxCount); eval ("Spark" + fxCount)._x = x; eval ("Spark" + fxCount)._y = y; } function createShuriken(x, y) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("oShuriken", "Spark" + fxCount, fxCount); eval ("Spark" + fxCount)._x = x; eval ("Spark" + fxCount)._y = y; } function createGhostFlame(x, y, s) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("oGhostFlame", "Spark" + fxCount, fxCount); eval ("Spark" + fxCount)._x = x; eval ("Spark" + fxCount)._y = y; eval ("Spark" + fxCount)._xscale = s; eval ("Spark" + fxCount)._yscale = s; return("Spark" + fxCount); } function generateAttack(x, y, s, so, ft, dt, dl) { _root.worldTutorial.newMessage("An attack is coming up. You can try blocking it, or counter attack the source of the attack.", 15); attackLevel = _root.getNextLevel(attackLevel, _root.ATTACK_LOWER_LIM, _root.ATTACK_UPPER_LIM); duplicateMovieClip ("oStrikePoint", "StrikePoint" + attackLevel, attackLevel); eval ("StrikePoint" + attackLevel)._x = x; eval ("StrikePoint" + attackLevel)._y = y; eval ("StrikePoint" + attackLevel)._xscale = s; eval ("StrikePoint" + attackLevel)._yscale = s; StrikePointProp[attackLevel][0] = ft; StrikePointProp[attackLevel][1] = dt; StrikePointProp[attackLevel][2] = dl; StrikePointProp[attackLevel][3] = so; return("StrikePoint" + attackLevel); } function counterStrike(x, y) { var i = _root.ATTACK_LOWER_LIM; while (i < _root.ATTACK_UPPER_LIM) { if ((eval ("StrikePoint" + i)._visible && ((eval ("StrikePoint" + i).DAMAGE_TYPE & DAMAGE_TYPE_SLASHABLE) > 0)) && (_root.pointIntersectCircle(x, y, eval ("StrikePoint" + i)._x, eval ("StrikePoint" + i)._y, STRIKE_POINT_BASE_WIDTH * 2))) { eval (eval ("StrikePoint" + i).SOURCE).violentReaction(); removeMovieClip("StrikePoint" + i); } i++; } } function causeDamage(x, y, s, dt, dl) { if (_root.combatCursor.getStatus() > _root.combatCursor.ST_PREPARE_SPELL) { createThing(x, y, "ghostSplatOriginal"); return(undefined); } if (((dt & (DAMAGE_TYPE_BLOCKABLE > 0)) && (_root.combatCursor.isBlocking())) && (_root.combatCursor.resolveBlock(x, y, STRIKE_POINT_BASE_WIDTH * s))) { with (_root) { continueTutorial(CONTINUE_ATTACK_BLOCKED); } createSparks(x, y); if (Math.floor(dl * 1.5) > _root.playerCurStats[2]) { _root.autoConsumeItem(); } if (Math.floor(dl * 1.5) <= _root.playerCurStats[2]) { _root.playerCurStats[2] = _root.playerCurStats[2] - Math.floor(dl * 1.5); _root.updateInterface(); return(undefined); } dl = dl - _root.playerCurStats[2]; _root.playerCurStats[2] = 0; _root.worldTutorial.newMessage("Your last block blew through your Chi and you took damage. Keep your Chi high!", 30); } createDamage(x, y, s * 100); _root.playerCurStats[1] = _root.playerCurStats[1] - dl; if (_root.playerCurStats[1] <= 0) { _root.playerCurStats[1] = 0; _root.playerDeath(); } else { _root.playerDamage(); } _root.updateInterface(); } SPARK_BASE_LEVEL = 20; SPARK_MAX_LEVEL = 10; sparkLevel = SPARK_BASE_LEVEL; ATTACK_BASE_LEVEL = 10; ATTACK_MAX_LEVEL = 10; attackLevel = ATTACK_BASE_LEVEL; DAMAGE_TYPE_BLOCKABLE = 1; DAMAGE_TYPE_SLASHABLE = 2; STRIKE_POINT_BASE_WIDTH = 20; StrikePointProp = new Array(); i = _root.ATTACK_LOWER_LIM; while (i < _root.ATTACK_UPPER_LIM) { StrikePointProp[i] = new Array(4); i++; } function registerObject(objName) { objCount++; objRec[objCount - 1] = objName; } function unregisterObject(objName) { var i = 0; while (i < objCount) { if (objRec[i] == objName) { objCount--; objRec[i] = objRec[objCount]; } i++; } } function hitObject(x, y, d, t, s, custName) { var i = 0; while (i < objCount) { eval (objRec[i]).customHitTest(x, y, d, t, s, custName); i++; } } function hitObjectSpecial(x, d, custName) { var i = 0; while (i < objCount) { if (eval (objRec[i])._y > 200) { eval (objRec[i]).customHitTest(x, eval (objRec[i])._y - eval (objRec[i]).stdHeight, d, false, 1, custName); } i++; } } function explosiveAttack(d) { var i = 0; while (i < objCount) { eval (objRec[i]).explosion(d); i++; } var i = _root.ATTACK_LOWER_LIM; while (i < _root.ATTACK_UPPER_LIM) { if (eval ("StrikePoint" + i)._visible) { eval (eval ("StrikePoint" + i).SOURCE).explosion(d); removeMovieClip("StrikePoint" + i); } i++; } } function crandom(n) { return(Math.floor(Math.random() * n)); } function getAttackX() { return(crandom(450) + 50); } function getAttackY() { return(crandom(260) + 20); } function getSAttackX() { return(crandom(_root.worldESpawnFloor._width) + _root.worldESpawnFloor._x); } function getSAttackY() { return(crandom((_root.worldESpawnFloor._y - _root.worldESpawnCeil._y) + _root.worldESpawnFloor._height) + _root.worldESpawnCeil._y); } function getCeilSpawnX() { return(crandom(_root.worldESpawnCeil._width) + _root.worldESpawnCeil._x); } function getCeilSpawnY() { return(crandom(_root.worldESpawnCeil._height) + _root.worldESpawnCeil._y); } function getFloorSpawnX() { return(crandom(_root.worldESpawnFloor._width) + _root.worldESpawnFloor._x); } function getFloorSpawnY() { return(crandom(_root.worldESpawnFloor._height) + _root.worldESpawnFloor._y); } function generateShurikenAttack(x, y) { fxCount = _root.getNextLevel(fxCount, _root.FX_LOWER_LIM, _root.FX_UPPER_LIM); duplicateMovieClip ("oShurikenAttack", "trap" + fxCount, fxCount); eval ("trap" + fxCount)._x = x; eval ("trap" + fxCount)._y = y; } function initSpecial(typ) { if (typ == 0) { enemyObjectCount = 1; _root.ENEMY_DIFFICULTY = 1; } else { enemyObjectCount = 2; _root.ENEMY_DIFFICULTY = 0; eobjCount = _root.getNextLevel(eobjCount, _root.EOBJ_LOWER_LIM, _root.EOBJ_UPPER_LIM); duplicateMovieClip ("oBlockade", "trap" + eobjCount, eobjCount); eval ("trap" + eobjCount)._x = 205; eval ("trap" + eobjCount)._y = 310; _root.reiTarget[0] = "trap" + eobjCount; eobjCount = _root.getNextLevel(eobjCount, _root.EOBJ_LOWER_LIM, _root.EOBJ_UPPER_LIM); duplicateMovieClip ("oBlockade", "trap" + eobjCount, eobjCount); eval ("trap" + eobjCount)._x = 345; eval ("trap" + eobjCount)._y = 310; _root.reiTarget[1] = "trap" + eobjCount; } } function challengeDelay(t) { bareMinimumDelay = Math.min(t, bareMinimumDelay); } function getMinDelay(sd) { return((sd - bareMinimumDelay) + 500); } function initTrap(lev, typ) { var eoc = ((crandom(lev * 2) + lev) + 1); enemyObjectCount = enemyObjectCount + eoc; bareMinimumDelay = 50000; if (typ == 0) { var i = 0; while (i < eoc) { eobjCount = _root.getNextLevel(eobjCount, _root.EOBJ_LOWER_LIM, _root.EOBJ_UPPER_LIM); duplicateMovieClip ("oShurikenTrap", "trap" + eobjCount, eobjCount); eval ("trap" + eobjCount)._x = getAttackX(); eval ("trap" + eobjCount)._y = getAttackY(); i++; } } else { var trapRemoval = 0; var i = 0; while (i < eoc) { if ((Math.random() < 0.5) || (_root.arenaMode)) { eobjCount = _root.getNextLevel(eobjCount, _root.EOBJ_LOWER_LIM, _root.EOBJ_UPPER_LIM); duplicateMovieClip ("oBambooTrap", "trap" + eobjCount, eobjCount); eval ("trap" + eobjCount)._x = getFloorSpawnX(); eval ("trap" + eobjCount)._y = getFloorSpawnY() - 40; } else if ((_root.Maze[_root.playerX][_root.playerY] >> 8) == 4) { eobjCount = _root.getNextLevel(eobjCount, _root.EOBJ_LOWER_LIM, _root.EOBJ_UPPER_LIM); duplicateMovieClip ("oBambooTrap", "trap" + eobjCount, eobjCount); eval ("trap" + eobjCount)._x = getCeilSpawnX(); eval ("trap" + eobjCount)._y = getCeilSpawnY() + 20; eval ("trap" + eobjCount)._rotation = 180; } else { trapRemoval++; } i++; } enemyObjectCount = enemyObjectCount - trapRemoval; } } function initEnemy(lev) { enemyObjectCount = enemyObjectCount + 1; eobjCount = _root.getNextLevel(eobjCount, _root.EOBJ_LOWER_LIM, _root.EOBJ_UPPER_LIM); if (lev == 4) { duplicateMovieClip ("oFNinja", "enemy" + eobjCount, eobjCount); eval ("enemy" + eobjCount)._x = getFloorSpawnX(); eval ("enemy" + eobjCount)._y = getFloorSpawnY(); } else if (lev == 2) { duplicateMovieClip ("oWolf", "enemy" + eobjCount, eobjCount); eval ("enemy" + eobjCount)._x = getFloorSpawnX(); eval ("enemy" + eobjCount)._y = getFloorSpawnY(); } else if (lev == 1) { duplicateMovieClip ("oSamurai", "enemy" + eobjCount, eobjCount); eval ("enemy" + eobjCount)._x = getFloorSpawnX(); eval ("enemy" + eobjCount)._y = getFloorSpawnY(); } else if (lev == 0) { duplicateMovieClip ("oZombie", "enemy" + eobjCount, eobjCount); eval ("enemy" + eobjCount)._x = getFloorSpawnX(); eval ("enemy" + eobjCount)._y = getFloorSpawnY(); if ((!_root.arenaMode) && (_root.ENEMY_DIFFICULTY > 1)) { enemyObjectCount++; eobjCount = _root.getNextLevel(eobjCount, _root.EOBJ_LOWER_LIM, _root.EOBJ_UPPER_LIM); duplicateMovieClip ("oZombie", "enemy" + eobjCount, eobjCount); eval ("enemy" + eobjCount)._x = getFloorSpawnX(); eval ("enemy" + eobjCount)._y = getFloorSpawnY(); } } else { duplicateMovieClip ("oNinja", "enemy" + eobjCount, eobjCount); if (Math.random() < 0.5) { eval ("enemy" + eobjCount)._x = _root.worldESpawnCeil._x + ((Math.random() * _root.worldESpawnCeil._width) / 5); } else { eval ("enemy" + eobjCount)._x = (_root.worldESpawnCeil._x + _root.worldESpawnCeil._width) - ((Math.random() * _root.worldESpawnCeil._width) / 5); } eval ("enemy" + eobjCount)._y = getFloorSpawnY(); } } objRec = new Array(EOBJ_UPPER_LIM - EOBJ_LOWER_LIM); objCount = 0;
Instance of Symbol 803 MovieClip "shurikenMachine" in Symbol 932 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 932 MovieClip Frame 2
enemyObjectCount = 0; stop();
Symbol 939 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 10
_root.hideSpace(); stop();
Symbol 939 MovieClip Frame 11
_root.showSpace();
Symbol 945 MovieClip Frame 1
stop();
Symbol 946 Button
on (rollOver) { _root.worldTutorial.newMessage("Click here or press 'M' to show the mini-map.", 25); } on (press, keyPress "m") { if (!_root.inCombat) { _root.autoMap = true; play(); } } on (keyPress "M") { if (!_root.inCombat) { _root.autoMap = true; play(); } }
Symbol 947 Button
on (rollOver) { _root.worldTutorial.newMessage("Click here or press 'M' to hide the mini-map. Press 'F' to show the full map.", 25); } on (press, keyPress "m") { _root.autoMap = false; play(); } on (keyPress "M") { _root.autoMap = false; play(); }
Symbol 948 MovieClip Frame 1
isOpen = false; stop();
Symbol 948 MovieClip Frame 15
if (!_root.inCombat) { _root.showAutoMap(); isOpen = true; stop(); }
Symbol 948 MovieClip Frame 16
_root.hideAutoMap();
Symbol 959 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 2
gotoAndPlay("tease" + Math.floor(Math.random() * 3));
Symbol 964 MovieClip Frame 12
gotoAndStop (1);
Symbol 964 MovieClip Frame 22
gotoAndStop (1);
Symbol 964 MovieClip Frame 32
gotoAndStop (1);
Symbol 976 MovieClip Frame 1
stop();
Symbol 978 MovieClip Frame 1
function stopTease() { _visible = false; with (_root) { releaseHandle(); playerX = ox; playerY = oy; worldPortrait.gotoAndStop(10 - Math.floor((playerCurStats[1] / playerMaxStats[1]) * 10)); renderSpace(PlayerX, PlayerY, PlayerT); } gotoAndStop (1); } stop();
Symbol 978 MovieClip Frame 2
_visible = true; _root.takeHandle(); teaseTimer = new _root.Timer(); teaseSound.play(); teaseText.gotoAndStop(Math.ceil(Math.random() * 4)); if (_root.playerEpisode == 0) { newbieNote._visible = true; } else { newbieNote._visible = false; }
Symbol 978 MovieClip Frame 4
if (teaseTimer.timeOver(3500)) { stopTease(); } else { prevFrame(); play(); }
Symbol 981 MovieClip Frame 1
function stopTease() { _visible = false; with (_root) { releaseHandle(); } gotoAndStop (1); } stop();
Symbol 981 MovieClip Frame 2
if ((_root.scrollsFound < _root.SCROLLS_HIDDEN) || (_root.headsFound < _root.BOSSES_HIDDEN)) { _visible = true; _root.takeHandle(); teaseTimer = new _root.Timer(); } else { if (_root.TUTORIAL) { _root.gotoScene = "sceneMainMenu"; } else { _root.gotoScene = "sceneStoryline"; } _root.preMission = false; }
Symbol 981 MovieClip Frame 4
if (teaseTimer.timeOver(6000)) { stopTease(); } else { prevFrame(); play(); }
Symbol 1033 MovieClip Frame 1
lastBishojo = 0; stop();
Instance of Symbol 414 MovieClip "sprites" in Symbol 1033 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 1041 MovieClip Frame 1
stop();
Symbol 1047 MovieClip Frame 1
stop();
Symbol 1051 MovieClip Frame 1
stop();
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 1
stop();
Symbol 1061 MovieClip Frame 1
stop();
Symbol 1062 MovieClip Frame 1
stop();
Symbol 1065 Button
on (release) { _root.gotoScene = "sceneMainMenu"; _root.gotoAndPlay("sceneCancel"); }
Symbol 1079 MovieClip Frame 1
function nextWave() { wave++; _root.shurikenCount = 0; _root.TRAP_DIFFICULTY = 1; _root.ENEMY_DIFFICULTY = Math.min(3, Math.floor((wave - 1) / 20) + 1); bambooDelay = -1; bambooWaves = 0; shurikenDelay = -1; shurikenWaves = 0; zombieCount = 0; samuraiCount = 0; wolfCount = 0; ninjaCount = 0; bossCount = 0; title = "Wave " + wave; subtitle = ""; switch (wave) { case 1 : subtitle = "Target Practice"; zombieCount = 1; break; case 2 : subtitle = "Danger Room"; shurikenDelay = 1000; shurikenWaves = 1; bambooDelay = 0; bambooWaves = 1; break; case 3 : subtitle = "The Samurai"; samuraiCount = 1; break; case 4 : subtitle = "The Wolf"; wolfCount = 1; break; case 5 : subtitle = "The Ninja"; ninjaCount = 1; break; case 6 : subtitle = "Swords and Traps"; samuraiCount = 1; bambooDelay = 3000; bambooWaves = 1; break; case 7 : subtitle = "Resident Evil Time"; zombieCount = 3; break; case 8 : subtitle = "Ninja and His Slave"; ninjaCount = 1; zombieCount = 1; break; case 9 : subtitle = "Shuriken Fever"; shurikenDelay = 0; shurikenWaves = 3; break; case 10 : subtitle = "The Hidden Ninja"; shurikenDelay = 6000; shurikenWaves = 3; samuraiCount = 1; break; case 11 : subtitle = "One Ninja, Lots of Shurikens"; ninjaCount = 1; shurikenDelay = 6000; shurikenWaves = 8; break; case 12 : subtitle = "The Companions"; samuraiCount = 1; wolfCount = 1; break; case 13 : subtitle = "Samurai Rush"; samuraiCount = 2; break; case 14 : subtitle = "Wolf Pack"; wolfCount = 2; break; case 15 : subtitle = "Red Fox"; bossCount = 1; break; case 16 : subtitle = "The Undead Gang"; samuraiCount = 1; zombieCount = 2; break; case 17 : subtitle = "Hmm, Ninjas"; ninjaCount = 2; break; case 18 : subtitle = "Gotta Catch Em All"; shurikenDelay = 0; shurikenWaves = 5; break; case 19 : subtitle = "Deadly Combo"; samuraiCount = 1; ninjaCount = 1; bambooDelay = 6000; bambooWaves = 6; break; case 20 : subtitle = "Two Animals And A Funeral"; wolfCount = 2; zombieCount = 1; break; case 21 : subtitle = "Undead Premium"; zombieCount = 2; break; case 22 : subtitle = "Samurai Boss"; samuraiCount = 1; bambooDelay = 12000; bambooWaves = 6; break; case 23 : subtitle = "Alpha Wolf"; wolfCount = 1; shurikenDelay = 12000; shurikenWaves = 6; break; case 24 : subtitle = "Ninja Boss"; ninjaCount = 1; bambooDelay = 12000; bambooWaves = 6; break; case 25 : subtitle = "Blood Fang"; bossCount = 1; break; case 26 : _root.gotoScene = "sceneFinishArena"; } if (subtitle.length > 0) { countingDown = true; _root.worldCombatSpace.enemyObjectCount = 1; gotoAndPlay (3); } } wave = 0; bambooTimer = new _root.Timer(); shurikenTimer = new _root.Timer(); stop();
Symbol 1079 MovieClip Frame 64
countingDown = false; _root.worldCombatSpace.enemyObjectCount = 0; bambooTimer.resetTimer(); shurikenTimer.resetTimer(); if (bambooDelay == 0) { while (bambooWaves > 0) { bambooWaves--; _root.worldCombatSpace.initTrap(_root.TRAP_DIFFICULTY, 1); } } if (shurikenDelay == 0) { while (shurikenWaves > 0) { shurikenWaves--; _root.worldCombatSpace.initTrap(_root.TRAP_DIFFICULTY, 0); } } i = 0; while (i < wolfCount) { _root.worldCombatSpace.initEnemy(2); i++; } i = 0; while (i < zombieCount) { _root.worldCombatSpace.initEnemy(0); i++; } i = 0; while (i < samuraiCount) { _root.worldCombatSpace.initEnemy(1); i++; } i = 0; while (i < ninjaCount) { _root.worldCombatSpace.initEnemy(3); i++; } i = 0; while (i < bossCount) { _root.worldCombatSpace.initEnemy(4); i++; }
Symbol 1079 MovieClip Frame 67
if (!countingDown) { if (((bambooDelay != -1) && (bambooWaves > 0)) && (bambooTimer.timeOver(bambooDelay))) { bambooWaves--; bambooTimer.resetTimer(); _root.worldCombatSpace.initTrap(_root.TRAP_DIFFICULTY, 1); } if (((shurikenDelay != -1) && (shurikenWaves > 0)) && (shurikenTimer.timeOver(shurikenDelay))) { shurikenWaves--; shurikenTimer.resetTimer(); _root.shurikenCount = 0; _root.worldCombatSpace.initTrap(_root.TRAP_DIFFICULTY, 0); } prevFrame(); play(); } else { gotoAndPlay (3); }
Symbol 1084 MovieClip Frame 1
function clickStopWatch() { stopTime = true; return((((minu + ":") + sec) + ":") + milsec); } gameTimer = new _root.Timer(); stopTime = false;
Symbol 1084 MovieClip Frame 3
if (!stopTime) { timeDiff = gameTimer.getTimeDifference(); minu = Math.floor(timeDiff / 60000); if (minu < 10) { minu = "0" + minu; } sec = Math.floor((timeDiff % 60000) / 1000); if (sec < 10) { sec = "0" + sec; } milsec = Math.floor((timeDiff % 1000) / 10); if (milsec < 10) { milsec = "0" + milsec; } prevFrame(); play(); } else { stop(); }
Symbol 1111 Button
on (release) { nextFrame(); }
Symbol 1114 MovieClip Frame 1
if (_root.playerEpisode == 1) { stop(); }
Symbol 1114 MovieClip Frame 2
stop();
Symbol 1115 Button
on (release) { _root.play(); }
Symbol 1123 Button
on (release) { stopAllSounds(); _root.gotoAndPlay("sceneMainMenu"); }
Symbol 1143 MovieClip Frame 70
stop();
Symbol 1144 Button
on (release) { _root.gotoScene = "sceneMainMenu"; }
Symbol 1155 MovieClip Frame 619
stop();
Symbol 1157 MovieClip Frame 1
function cleanBuffer() { var i = 0; while (i < bufferSize) { buffer[i] = 0; i++; } bufferCleared = true; } function pushBuffer(keyCode) { var i = (bufferSize - 1); while (i > 0) { buffer[i] = buffer[i - 1]; i--; } buffer[0] = keyCode; } function popBuffer() { return(buffer[0]); } function checkBuffer(move3, move2, move1, move0) { return((((move0 == buffer[0]) && (move1 == buffer[1])) && (move2 == buffer[2])) && (move3 == buffer[3])); } function sendCommandMessage(msg) { _parent.Command.recieveMessage(msg); } disabled = false; bodyWidth = 50; attackOffset = 50; walkingOffset = 15; verticalOffset = 15; standByInterval = 200; target = "Nothing"; approach = "Nothing"; strategy = "StandBy"; xDiff = 0; yDiff = 0; distance = 0; standByTimer = 0;
Symbol 1157 MovieClip Frame 3
if (!disabled) { if ((_parent.Command.getState() == "recovering") || (target == "Nothing")) { target = _root.heroSubscriber[random(_root.heroTotalSubscribers)]; if (random(100) < 50) { approach = "Left"; } else { approach = "Right"; } strategy = "StandBy"; } xDiff = _parent._x - eval ("_root." + target)._x; yDiff = _parent._y - eval ("_root." + target)._y; distance = parseInt(Math.sqrt((xDiff * xDiff) + (yDiff * yDiff))); if ((Math.abs(yDiff) <= verticalOffset) && (Math.abs(xDiff) <= ((bodyWidth * 2) + attackOffset))) { if ((_parent.Sprite.getDirection() == "Left") && (xDiff < 0)) { sendCommandMessage("Right"); } else if ((_parent.Sprite.getDirection() == "Right") && (xDiff > 0)) { sendCommandMessage("Left"); } else { sendCommandMessage("Punch"); } } else if (strategy == "VerticalApproach") { if (yDiff > verticalOffset) { sendCommandMessage("Up"); } else if (yDiff < (-verticalOffset)) { sendCommandMessage("Down"); } else if (random(100) < 25) { strategy = "StandBy"; } else { strategy = "HorizontalApproach"; } } else if (strategy == "HorizontalApproach") { if (approach == "Left") { if (math.random() < 0.005) { strategy = "StandBy"; } else if (((xDiff + bodyWidth) + attackOffset) > walkingOffset) { sendCommandMessage("Left"); } else if (((xDiff + bodyWidth) + attackOffset) < (-walkingOffset)) { sendCommandMessage("Right"); } else { strategy = "VerticalApproach"; } } else if (approach == "Right") { if (math.random() < 0.005) { strategy = "StandBy"; } else if (((xDiff - bodyWidth) - attackOffset) > walkingOffset) { sendCommandMessage("Left"); } else if (((xDiff - bodyWidth) - attackOffset) < (-walkingOffset)) { sendCommandMessage("Right"); } else { strategy = "VerticalApproach"; } } } else if (strategy == "StandBy") { strategy = "StandByWaiting"; standByTimer = getTimer(); } else if ((strategy == "StandByWaiting") && ((standByTimer + standByInterval) < getTimer())) { if (Distance < (bodyWidth * 2)) { strategy = "HorizontalApproach"; } else if (random(4) == 0) { strategy = "HorizontalApproach"; } else { strategy = "StandBy"; } } }
Symbol 1157 MovieClip Frame 4
prevFrame(); play();
Symbol 1158 MovieClip Frame 1
function recieveMessage(msg) { var i = (bufferSize - 1); while (i > 0) { buffer[i] = buffer[i - 1]; i--; } buffer[0] = msg; } function processMessage() { var msg = buffer[0]; var i = 0; while (i < (bufferSize - 1)) { buffer[i] = buffer[i + 1]; i++; } buffer[bufferSize - 1] = ""; return(msg); } function messageEmpty() { return(buffer[0] == ""); } function cleanBuffer() { var i = 0; while (i < bufferSize) { buffer[i] = ""; i++; } } function getState() { return(state); } function sendSpriteMessage(msg) { _parent.Sprite.recieveMessage(msg); } function sendSpriteState(frame) { _parent.Sprite.Set.gotoAndPlay(frame); } function spriteTranslate(x, y) { _parent._x = _parent._x + x; if ((_parent._y + y) > _root.getBoundBottom()) { _parent._y = _root.getBoundBottom(); } else if ((_parent._y + y) < _root.getBoundTop()) { _parent._y = _root.getBoundTop(); } else { _parent._y = _parent._y + y; } } function spriteTakesDamage(amount) { health = health - amount; } function spriteWalk(x, y) { if (x < 0) { sendSpriteMessage("Left"); } else if (x > 0) { sendSpriteMessage("Right"); } if (state != "walking") { sendSpriteState("Movement"); state = "walking"; } attackState = "Nothing"; spriteTranslate(x, y); } function spriteStand() { if (state != "standing") { sendSpriteState("StandStill"); state = "standing"; ready = true; conscious = true; } attackState = "Nothing"; } function spriteAttack(newState) { state = "attacking"; attackState = newState; ready = false; sendSpriteState(newState); } function spriteAttackComboWait() { state = "waiting"; ready = true; waitTimer = getTimer(); } function spritePain(painState) { state = "hurting"; ready = false; conscious = false; spriteTakesDamage(1); if ((health <= 0) && (painState == "Punch2")) { spriteFall(); } else if (painState == "Punch1") { sendSpriteState("Pain1"); } else if (painState == "Punch2") { sendSpriteState("Pain2"); } } function spriteFall() { state = "fallen"; ready = false; conscious = false; spriteTakesDamage(2); sendSpriteState("Fall"); } function spriteRecover() { state = "recovering"; sendSpriteState("Recover"); } function spriteFade() { state = "fading"; _root.masterRemove(_parent._name); _root.villianRemove(_parent._name); } function spriteFallBack(x) { if (_parent.Sprite.getDirection() == "Left") { spriteTranslate(x, 0); } else { spriteTranslate(-x, 0); } } function spriteContinuousFallBack() { state = "falling"; } function spriteStopFallBack() { state = "fallen"; } if (_parent._name == "oZombie") { stop(); disabled = true; _parent._visible = false; } else { disabled = false; _root.masterSubscribe(_parent._name); _root.villianSubscribe(_parent._name); } state = "standing"; attackState = "Nothing"; ready = true; conscious = true; health = 6; buffer = new Array(); bufferSize = 4; waitTimer = 0; attackWait = 500;
Symbol 1158 MovieClip Frame 2
cleanBuffer();
Symbol 1158 MovieClip Frame 3
if (!disabled) { if ((state == "waiting") && ((waitTimer + attackWait) < getTimer())) { spriteStand(); } if (state == "falling") { spriteFallBack(15); } if (state == "fading") { if (_parent._alpha > 0) { _parent._alpha = _parent._alpha - 10; } else { _root.masterRemove(_parent._name); _root.villianRemove(_parent._name); _parent.removeMovieClip(""); } } if (messageEmpty()) { if (ready) { if (state == "walking") { spriteStand(); } } } else { while (!messageEmpty()) { var incoming = processMessage(); if (conscious) { if (((incoming == "Punch1") || (incoming == "Punch2")) || (incoming == "Punch3")) { sendSpriteMessage(processMessage()); spriteFall(); } } if (ready && (conscious)) { if (incoming == "Left") { spriteWalk(-5, 0); } if (incoming == "Right") { spriteWalk(5, 0); } if (incoming == "Up") { spriteWalk(0, -5); } if (incoming == "Down") { spriteWalk(0, 5); } if (incoming == "Punch") { if (attackState == "Nothing") { spriteAttack("Punch1"); } else if (attackState == "Punch1") { spriteAttack("Punch2"); } else if (attackState == "Punch2") { spriteAttack("Punch3"); } } } if (incoming == "Strike") { if (_parent.Sprite.getDirection() == "Left") { _root.heroCollisionBoardcast(_parent.Sprite.getAttackShadow(), attackState, "Right"); } else { _root.heroCollisionBoardcast(_parent.Sprite.getAttackShadow(), attackState, "Left"); } } if (incoming == "FallBack") { spriteFallBack(15); } if (incoming == "ContinuousFallBack") { spriteContinuousFallBack(); } if (incoming == "StopFallBack") { spriteStopFallBack(); } if (incoming == "Ready") { if (state == "attacking") { spriteAttackComboWait(); } else if (state == "hurting") { spriteStand(); } else if (state == "fallen") { spriteFade(); } else if (state == "recovering") { spriteStand(); } } } } }
Symbol 1158 MovieClip Frame 4
prevFrame(); play();
Symbol 1166 MovieClip Frame 24
gotoAndPlay (1);
Symbol 1166 MovieClip Frame 44
gotoAndPlay (25);
Symbol 1166 MovieClip Frame 54
_parent.sendCommandMessage("Strike");
Symbol 1166 MovieClip Frame 59
_parent.sendCommandMessage("Ready"); stop();
Symbol 1166 MovieClip Frame 68
_parent.sendCommandMessage("Strike");
Symbol 1166 MovieClip Frame 77
_parent.sendCommandMessage("Ready"); stop();
Symbol 1166 MovieClip Frame 84
_parent.sendCommandMessage("Strike");
Symbol 1166 MovieClip Frame 92
_parent.sendCommandMessage("Ready"); stop();
Symbol 1166 MovieClip Frame 115
_parent.sendCommandMessage("Ready"); stop();
Symbol 1169 MovieClip Frame 1
function recieveMessage(msg) { var frameSwitch; if ((msg == "Left") && (facing == "Right")) { _parent._xscale = 100; facing = "Left"; } if ((msg == "Right") && (facing == "Left")) { _parent._xscale = -100; facing = "Right"; } } function getDirection() { return(facing); } function sendCommandMessage(msg) { _parent.Command.recieveMessage(msg); } function getShadow() { return(("_root." + _parent._name) + ".Sprite.Shadow"); } function getAttackShadow() { return(("_root." + _parent._name) + ".Sprite.Set.AttackShadow"); } facing = "Left";
Symbol 1169 MovieClip Frame 2
stop();
Symbol 1171 MovieClip Frame 1
function cleanBuffer() { var i = 0; while (i < bufferSize) { buffer[i] = 0; i++; } bufferCleared = true; } function pushBuffer(keyCode) { var i = (bufferSize - 1); while (i > 0) { buffer[i] = buffer[i - 1]; i--; } buffer[0] = keyCode; } function popBuffer() { return(buffer[0]); } function checkBuffer(move3, move2, move1, move0) { return((((move0 == buffer[0]) && (move1 == buffer[1])) && (move2 == buffer[2])) && (move3 == buffer[3])); } function sendCommandMessage(msg) { _parent.Command.recieveMessage(msg); } disabled = false; buffer = new Array(); bufferSize = 4; bufferCleared = true; bufferClearTimer = 0; bufferClearDelay = 300; keyMoveLeft = 37; keyMoveUp = 38; keyMoveRight = 39; keyMoveDown = 40; keyPunch = 32; keyKick = 88;
Symbol 1171 MovieClip Frame 3
if (!disabled) { if ((!bufferCleared) && ((bufferClearTimer + bufferClearDelay) < getTimer())) { cleanBuffer(); } var inputKey = 0; if (Key.isDown(keyMoveLeft)) { inputKey = keyMoveLeft; sendCommandMessage("Left"); } else if (Key.isDown(keyMoveRight)) { inputKey = keyMoveRight; sendCommandMessage("Right"); } if (Key.isDown(keyMoveUp)) { inputKey = keyMoveUp; sendCommandMessage("Up"); } else if (Key.isDown(keyMoveDown)) { inputKey = keyMoveDown; sendCommandMessage("Down"); } if (Key.isDown(keyPunch)) { inputKey = keyPunch; } if (Key.isDown(keyKick)) { inputKey = keyKick; } if ((inputKey != 0) && (popBuffer() != inputKey)) { if (bufferCleared) { bufferCleared = false; } bufferClearTimer = getTimer(); pushBuffer(inputKey); } if (checkBuffer(keyMoveLeft, keyMoveDown, keyMoveRight, keyPunch) || (checkBuffer(keyMoveRight, keyMoveDown, keyMoveLeft, keyPunch))) { sendCommandMessage("Dragon Blade"); } else if ((inputKey == keyPunch) && (popBuffer() == keyPunch)) { sendCommandMessage("Punch"); } else if ((inputKey == keyKick) && (popBuffer() == keyKick)) { sendCommandMessage("Kick"); } }
Symbol 1171 MovieClip Frame 4
prevFrame(); play();
Symbol 1172 MovieClip Frame 1
function recieveMessage(msg) { var i = (bufferSize - 1); while (i > 0) { buffer[i] = buffer[i - 1]; i--; } buffer[0] = msg; } function processMessage() { var msg = buffer[0]; var i = 0; while (i < (bufferSize - 1)) { buffer[i] = buffer[i + 1]; i++; } buffer[bufferSize - 1] = ""; return(msg); } function messageEmpty() { return(buffer[0] == ""); } function cleanBuffer() { var i = 0; while (i < bufferSize) { buffer[i] = ""; i++; } } function sendSpriteMessage(msg) { _parent.Sprite.recieveMessage(msg); } function sendSpriteState(frame) { _parent.Sprite.Set.gotoAndPlay(frame); } function spriteTranslate(x, y) { if ((_parent._x + x) > _root.getBoundRight()) { _parent._x = _root.getBoundRight(); } else if ((_parent._x + x) < _root.getBoundLeft()) { _parent._x = _root.getBoundLeft(); } else { _parent._x = _parent._x + x; } if ((_parent._y + y) > _root.getBoundBottom()) { _parent._y = _root.getBoundBottom(); } else if ((_parent._y + y) < _root.getBoundTop()) { _parent._y = _root.getBoundTop(); } else { _parent._y = _parent._y + y; } } function spriteTakesDamage(amount) { } function spriteWalk(x, y) { if (x < 0) { sendSpriteMessage("Left"); } else if (x > 0) { sendSpriteMessage("Right"); } if (state != "walking") { sendSpriteState("Movement"); state = "walking"; } attackState = "Nothing"; spriteTranslate(x, y); } function spriteStand() { if (state != "standing") { sendSpriteState("StandStill"); ready = true; conscious = true; state = "standing"; } attackState = "Nothing"; } function spriteAttack(newState) { state = "attacking"; attackState = newState; ready = false; sendSpriteState(newState); } function spriteAttackComboWait() { state = "waiting"; ready = true; waitTimer = getTimer(); } function spritePain(painState) { state = "hurting"; ready = false; conscious = false; spriteTakesDamage(1); if ((health <= 0) && (painState == "Punch2")) { spriteFall(); } if (painState == "Punch1") { sendSpriteState("Pain2"); } else if (painState == "Punch2") { sendSpriteState("Pain1"); } } function spriteFall() { state = "hurting"; ready = false; conscious = false; spriteTakesDamage(2); sendSpriteState("Fall"); } function spriteRecover() { state = "recovering"; sendSpriteState("Recover"); } function spriteFade() { state = "fading"; _root.masterRemove(_parent._name); _root.heroRemove(_parent._name); } function spriteFallBack(x) { if (_parent.Sprite.getDirection() == "Left") { spriteTranslate(x, 0); } else { spriteTranslate(-x, 0); } } function spriteContinuousFallBack() { state = "falling"; } function spriteStopFallBack() { state = "fallen"; } if (_parent._name == "oGenyu") { stop(); _parent._visible = false; disabled = true; } else { disabled = false; _root.masterSubscribe(_parent._name); _root.heroSubscribe(_parent._name); } state = "standing"; attackState = "Nothing"; ready = true; conscious = true; health = 25; buffer = new Array(); bufferSize = 10; waitTimer = 0; attackWait = 222.222222222222;
Symbol 1172 MovieClip Frame 2
cleanBuffer();
Symbol 1172 MovieClip Frame 3
if (!disabled) { if ((state == "waiting") && ((waitTimer + attackWait) < getTimer())) { spriteStand(); } if (state == "falling") { spriteFallBack(20); } if (state == "fading") { if (_parent._alpha > 0) { _parent._alpha = _parent._alpha - 10; } else { disabled = true; } } if (messageEmpty()) { if (ready) { if (state == "walking") { spriteStand(); } } } else { while (!messageEmpty()) { var incoming = processMessage(); if (conscious) { if ((incoming == "Punch1") || (incoming == "Punch2")) { sendSpriteMessage(processMessage()); spritePain(incoming); } if (incoming == "Punch3") { sendSpriteMessage(processMessage()); spriteFall(); } } if (ready && (conscious)) { if (incoming == "Left") { spriteWalk(-10, 0); } if (incoming == "Right") { spriteWalk(10, 0); } if (incoming == "Up") { spriteWalk(0, -10); } if (incoming == "Down") { spriteWalk(0, 10); } if (incoming == "Punch") { if (attackState == "Nothing") { spriteAttack("Punch1"); } else if (attackState == "Punch1") { spriteAttack("Punch2"); } else if (attackState == "Punch2") { spriteAttack("Punch3"); } } } if (incoming == "Strike") { if (_parent.Sprite.getDirection() == "Left") { _root.villianCollisionBoardcast(_parent.Sprite.getAttackShadow(), attackState, "Right"); } else { _root.villianCollisionBoardcast(_parent.Sprite.getAttackShadow(), attackState, "Left"); } } if (incoming == "FallBack") { spriteFallBack(3); } if (incoming == "ContinuousFallBack") { spriteContinuousFallBack(); } if (incoming == "StopFallBack") { spriteStopFallBack(); } if (incoming == "Ready") { if (state == "attacking") { spriteAttackComboWait(); } else if (state == "hurting") { spriteStand(); } else if (state == "fallen") { if (health > 0) { spriteRecover(); } else { spriteFade(); } } else if (state == "recovering") { spriteStand(); } } } } }
Symbol 1172 MovieClip Frame 4
prevFrame(); play();
Symbol 1177 MovieClip Frame 16
gotoAndPlay (1);
Symbol 1177 MovieClip Frame 43
gotoAndPlay (20);
Symbol 1177 MovieClip Frame 49
_parent.sendCommandMessage("Strike");
Symbol 1177 MovieClip Frame 53
_parent.sendCommandMessage("Ready");
Symbol 1177 MovieClip Frame 64
_parent.sendCommandMessage("Strike");
Symbol 1177 MovieClip Frame 68
_parent.sendCommandMessage("Ready");
Symbol 1177 MovieClip Frame 73
_parent.recieveMessage("turnAround");
Symbol 1177 MovieClip Frame 80
_parent.sendCommandMessage("Strike");
Symbol 1177 MovieClip Frame 83
_parent.sendCommandMessage("Ready");
Symbol 1177 MovieClip Frame 87
stop();
Symbol 1177 MovieClip Frame 90
_parent.sendCommandMessage("FallBack");
Symbol 1177 MovieClip Frame 98
_parent.sendCommandMessage("Ready"); stop();
Symbol 1177 MovieClip Frame 124
_parent.sendCommandMessage("ContinuousFallBack");
Symbol 1177 MovieClip Frame 125
_parent.sendCommandMessage("StopFallBack");
Symbol 1177 MovieClip Frame 126
_parent.sendCommandMessage("Ready"); stop();
Symbol 1177 MovieClip Frame 138
_parent.sendCommandMessage("Ready"); stop();
Symbol 1178 MovieClip Frame 1
function recieveMessage(msg) { var frameSwitch; if ((msg == "Left") && (facing == "Right")) { _parent._xscale = 100; facing = "Left"; } if ((msg == "Right") && (facing == "Left")) { _parent._xscale = -100; facing = "Right"; } if ((msg == "turnAround") && (facing == "Right")) { _parent._xscale = 100; facing = "Left"; } else if ((msg == "turnAround") && (facing == "Left")) { _parent._xscale = -100; facing = "Right"; } } function getDirection() { return(facing); } function sendCommandMessage(msg) { _parent.Command.recieveMessage(msg); } function getShadow() { return(("_root." + _parent._name) + ".Sprite.Shadow"); } function getAttackShadow() { return(("_root." + _parent._name) + ".Sprite.Set.AttackShadow"); } facing = "Left";
Symbol 1178 MovieClip Frame 2
stop();

Library Items

Symbol 1 Sound [FX_Reload]
Symbol 2 Sound [TorchLoop]
Symbol 3 GraphicUsed by:4 24 33 56 70 78
Symbol 4 MovieClipUses:3Used by:15
Symbol 5 GraphicUsed by:6 23 32 57 69 77
Symbol 6 MovieClipUses:5Used by:15
Symbol 7 GraphicUsed by:8 30 58 75
Symbol 8 MovieClipUses:7Used by:15
Symbol 9 GraphicUsed by:10 31 59 76
Symbol 10 MovieClipUses:9Used by:15
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:15
Symbol 13 GraphicUsed by:14 18 40 42 43 49 50 62 66
Symbol 14 MovieClipUses:13Used by:15
Symbol 15 MovieClipUses:4 6 8 10 12 14Used by:35
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:25
Symbol 18 MovieClipUses:13Used by:25
Symbol 19 GraphicUsed by:20 67
Symbol 20 MovieClipUses:19Used by:25
Symbol 21 GraphicUsed by:22 68
Symbol 22 MovieClipUses:21Used by:25
Symbol 23 MovieClipUses:5Used by:25
Symbol 24 MovieClipUses:3Used by:25
Symbol 25 MovieClipUses:17 18 20 22 23 24Used by:35
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:34
Symbol 28 GraphicUsed by:29 74
Symbol 29 MovieClipUses:28Used by:34
Symbol 30 MovieClipUses:7Used by:34
Symbol 31 MovieClipUses:9Used by:34
Symbol 32 MovieClipUses:5Used by:34
Symbol 33 MovieClipUses:3Used by:34
Symbol 34 MovieClipUses:27 29 30 31 32 33Used by:35
Symbol 35 MovieClip [UpArrow]Uses:15 25 34
Symbol 36 GraphicUsed by:37 46 47 51 85
Symbol 37 MovieClipUses:36Used by:41
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:41
Symbol 40 MovieClipUses:13Used by:41
Symbol 41 MovieClipUses:37 39 40Used by:55
Symbol 42 MovieClipUses:13Used by:48
Symbol 43 MovieClipUses:13Used by:48
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:48
Symbol 46 MovieClipUses:36Used by:48
Symbol 47 MovieClipUses:36Used by:48
Symbol 48 MovieClipUses:42 43 45 46 47Used by:55
Symbol 49 MovieClipUses:13Used by:54
Symbol 50 MovieClipUses:13Used by:54
Symbol 51 MovieClipUses:36Used by:54
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:54
Symbol 54 MovieClipUses:49 50 51 53Used by:55
Symbol 55 MovieClip [ScrollThumb]Uses:41 48 54
Symbol 56 MovieClipUses:3Used by:63
Symbol 57 MovieClipUses:5Used by:63
Symbol 58 MovieClipUses:7Used by:63
Symbol 59 MovieClipUses:9Used by:63
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:63
Symbol 62 MovieClipUses:13Used by:63
Symbol 63 MovieClipUses:56 57 58 59 61 62Used by:80
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:71
Symbol 66 MovieClipUses:13Used by:71
Symbol 67 MovieClipUses:19Used by:71
Symbol 68 MovieClipUses:21Used by:71
Symbol 69 MovieClipUses:5Used by:71
Symbol 70 MovieClipUses:3Used by:71
Symbol 71 MovieClipUses:65 66 67 68 69 70Used by:80
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:79
Symbol 74 MovieClipUses:28Used by:79
Symbol 75 MovieClipUses:7Used by:79
Symbol 76 MovieClipUses:9Used by:79
Symbol 77 MovieClipUses:5Used by:79
Symbol 78 MovieClipUses:3Used by:79
Symbol 79 MovieClipUses:73 74 75 76 77 78Used by:80
Symbol 80 MovieClip [DownArrow]Uses:63 71 79
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClip [FScrollBarSymbol]Uses:83
Symbol 85 MovieClip [frb_hitArea]Uses:36
Symbol 86 FontUsed by:87
Symbol 87 EditableTextUses:86Used by:88
Symbol 88 MovieClip [FLabelSymbol]Uses:87
Symbol 89 GraphicUsed by:90 616 731 1106
Symbol 90 MovieClipUses:89Used by:91
Symbol 91 MovieClipUses:90Used by:112
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:100
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:100
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:100
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:100
Symbol 100 MovieClipUses:93 95 97 99Used by:112
Symbol 101 GraphicUsed by:102 104
Symbol 102 MovieClipUses:101Used by:103
Symbol 103 MovieClipUses:102Used by:112
Symbol 104 MovieClipUses:101Used by:105
Symbol 105 MovieClipUses:104Used by:112
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClipUses:107Used by:112
Symbol 109 GraphicUsed by:110 621 634 635 739 751 761 771
Symbol 110 MovieClipUses:109Used by:111
Symbol 111 MovieClipUses:110Used by:112
Symbol 112 MovieClip [frb_states]Uses:91 100 103 105 108 111
Symbol 113 MovieClip [FUIComponentSymbol]
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:120
Symbol 116 GraphicUsed by:119
Symbol 117 GraphicUsed by:118  Timeline
Symbol 118 MovieClipUses:117Used by:119
Symbol 119 MovieClip [FBoundingBoxSymbol]Uses:116 118Used by:120
Symbol 120 MovieClip [FRadioButtonSymbol]Uses:115 119
Symbol 121 GraphicUsed by:124 359 360 362 364
Symbol 122 GraphicUsed by:124 360
Symbol 123 GraphicUsed by:124 360
Symbol 124 ButtonUses:121 122 123Used by:132
Symbol 125 FontUsed by:126 128 145 146 147 155 230 231 238 239 240 241 242 243 279 281 282 288 289 290 301 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 345 358 419 420 423 424 425 428 429 430 431 434 437 498 499 507 508 509 611 614 666 667 673 682 683 688 689 693 694 695 696 697 941 942 943 944 965 1040 1063 1064 1066 1071 1085 1087 1089 1091 1092 1097 1101 1105 1110 1112 1120 1129 1130 1131 1134 1135 1138 1156
Symbol 126 TextUses:125Used by:132
Symbol 127 FontUsed by:128 274 275 276 277 285 287 293 295 296 302 348 352 354 355 357 365 439 441 442 445 446 448 451 452 454 457 458 473 502 503 504 505 608 669 960 979 1067 1080 1081 1082 1083 1086 1088 1090 1094 1095 1096 1098 1099 1100 1102 1103 1104 1107 1108 1116 1117 1121 1124 1125 1132 1133 1136 1139
Symbol 128 TextUses:125 127Used by:132
Symbol 129 GraphicUsed by:132 359 620
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:132 351 359 620 672 674 706 948 1084  Timeline
Symbol 132 MovieClipUses:124 126 128 129 131Used by:Timeline
Symbol 133 GraphicUsed by:144
Symbol 134 GraphicUsed by:144 266 1143 1177
Symbol 135 GraphicUsed by:144 248 249 250 251 252 253 266 1143 1177
Symbol 136 GraphicUsed by:144 266 1143 1177
Symbol 137 GraphicUsed by:144 266 1143 1177
Symbol 138 GraphicUsed by:144 266 1143 1177
Symbol 139 GraphicUsed by:144 266 1143 1177
Symbol 140 GraphicUsed by:144 266 1143 1177
Symbol 141 GraphicUsed by:144 266 1143 1177
Symbol 142 GraphicUsed by:144 266 1143 1177
Symbol 143 GraphicUsed by:144 266 1143 1177
Symbol 144 MovieClipUses:133 134 135 136 137 138 139 140 141 142 143Used by:Timeline
Symbol 145 EditableTextUses:125Used by:154
Symbol 146 EditableTextUses:125Used by:154
Symbol 147 TextUses:125Used by:154
Symbol 148 GraphicUsed by:153 280 284 286 292 294 346 347 366 422 427 433 435 436 438 495 496 500 501 510 511 670 671 690 1065 1111 1115 1123 1144  Timeline
Symbol 149 GraphicUsed by:153 280 284 286 292 294 346 347 422 427 433 435 436 438 500 510 511 670 671 1065 1111 1115 1123 1144
Symbol 150 GraphicUsed by:153 280 284 286 292 294 346 347 422 427 433 435 436 438 500 510 511 670 671 1065 1111 1115 1123 1144
Symbol 151 GraphicUsed by:153 156 248 249 250 251 252 253 280 284 286 292 294 346 347 385 422 427 433 435 436 438 500 510 511 513 558 577 670 671 675 676 677 678 679 680 699 700 701 702 703 704 705 939 946 947 1011 1062 1065 1111 1115 1123 1144  Timeline
Symbol 152 SoundUsed by:153 280 284 286 292 294 346 347 422 427 433 435 436 438 500 510 511 670 671 1065 1111 1115 1123 1144
Symbol 153 ButtonUses:148 149 150 151 152Used by:154  Timeline
Symbol 154 MovieClipUses:145 146 147 153Used by:Timeline
Symbol 155 TextUses:125Used by:Timeline
Symbol 156 ButtonUses:151Used by:Timeline
Symbol 157 FontUsed by:158 165 166 167 173 186 515 531 541 1147 1148 1149 1150 1151 1152 1153 1154
Symbol 158 TextUses:157Used by:Timeline
Symbol 159 GraphicUsed by:Timeline
Symbol 160 GraphicUsed by:Timeline
Symbol 161 GraphicUsed by:Timeline
Symbol 162 GraphicUsed by:Timeline
Symbol 163 GraphicUsed by:Timeline
Symbol 164 GraphicUsed by:Timeline
Symbol 165 TextUses:157Used by:Timeline
Symbol 166 TextUses:157Used by:Timeline
Symbol 167 TextUses:157Used by:Timeline
Symbol 168 GraphicUsed by:Timeline
Symbol 169 GraphicUsed by:Timeline
Symbol 170 GraphicUsed by:Timeline
Symbol 171 GraphicUsed by:Timeline
Symbol 172 GraphicUsed by:Timeline
Symbol 173 TextUses:157Used by:Timeline
Symbol 174 GraphicUsed by:897 1143  Timeline
Symbol 175 GraphicUsed by:897 1143  Timeline
Symbol 176 GraphicUsed by:897 1143  Timeline
Symbol 177 GraphicUsed by:897 1143  Timeline
Symbol 178 GraphicUsed by:897 1143  Timeline
Symbol 179 GraphicUsed by:897 1143  Timeline
Symbol 180 GraphicUsed by:897 1143  Timeline
Symbol 181 GraphicUsed by:897 1143  Timeline
Symbol 182 GraphicUsed by:897 1143  Timeline
Symbol 183 GraphicUsed by:897 1143  Timeline
Symbol 184 GraphicUsed by:897 1143  Timeline
Symbol 185 GraphicUsed by:897 1143  Timeline
Symbol 186 TextUses:157Used by:Timeline
Symbol 187 BitmapUsed by:188
Symbol 188 GraphicUses:187Used by:Timeline
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:Timeline
Symbol 191 BitmapUsed by:192
Symbol 192 GraphicUses:191Used by:Timeline
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:Timeline
Symbol 195 GraphicUsed by:604  Timeline
Symbol 196 GraphicUsed by:603 604  Timeline
Symbol 197 GraphicUsed by:604  Timeline
Symbol 198 GraphicUsed by:601 632  Timeline
Symbol 199 GraphicUsed by:632  Timeline
Symbol 200 GraphicUsed by:924  Timeline
Symbol 201 GraphicUsed by:924  Timeline
Symbol 202 GraphicUsed by:897  Timeline
Symbol 203 GraphicUsed by:632  Timeline
Symbol 204 GraphicUsed by:205 837 861
Symbol 205 MovieClipUses:204Used by:632 722 897  Timeline
Symbol 206 GraphicUsed by:632  Timeline
Symbol 207 GraphicUsed by:596  Timeline
Symbol 208 BitmapUsed by:209 215 245
Symbol 209 GraphicUses:208Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 210 BitmapUsed by:211 212 245
Symbol 211 GraphicUses:210Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 212 GraphicUses:210Used by:785 831 836 861 886 897 917 920 925 1143 1166  Timeline
Symbol 213 GraphicUsed by:897 1143  Timeline
Symbol 214 GraphicUsed by:897 1143  Timeline
Symbol 215 GraphicUses:208Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 216 BitmapUsed by:217 218
Symbol 217 GraphicUses:216Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 218 GraphicUses:216Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 219 BitmapUsed by:220 221 245
Symbol 220 GraphicUses:219Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 221 GraphicUses:219Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:645 785 831 836 861 886 897 917 925 1143 1166 1177  Timeline
Symbol 224 BitmapUsed by:225
Symbol 225 GraphicUses:224Used by:831 861 886 897 917 1143  Timeline
Symbol 226 BitmapUsed by:227
Symbol 227 GraphicUses:226Used by:Timeline
Symbol 228 BitmapUsed by:229
Symbol 229 GraphicUses:228Used by:Timeline
Symbol 230 TextUses:125Used by:244  Timeline
Symbol 231 TextUses:125Used by:244  Timeline
Symbol 232 GraphicUsed by:244  Timeline
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:418  Timeline
Symbol 235 MovieClipUsed by:237 300  Timeline
Symbol 236 SoundUsed by:237
Symbol 237 MovieClipUses:235 236Used by:Timeline
Symbol 238 TextUses:125Used by:Timeline
Symbol 239 TextUses:125Used by:Timeline
Symbol 240 TextUses:125Used by:Timeline
Symbol 241 TextUses:125Used by:Timeline
Symbol 242 TextUses:125Used by:Timeline
Symbol 243 TextUses:125Used by:Timeline
Symbol 244 MovieClipUses:230 231 232Used by:Timeline
Symbol 245 GraphicUses:210 208 219Used by:248 249 250 251 252 253
Symbol 246 SoundUsed by:248 249 250 251 252 253 570 861 897 1143
Symbol 247 SoundUsed by:248 249 250 251 252 253 920
Symbol 248 ButtonUses:135 245 151 246 247Used by:Timeline
Symbol 249 ButtonUses:135 245 151 246 247Used by:Timeline
Symbol 250 ButtonUses:135 245 151 246 247Used by:Timeline
Symbol 251 ButtonUses:135 245 151 246 247Used by:Timeline
Symbol 252 ButtonUses:135 245 151 246 247Used by:Timeline
Symbol 253 ButtonUses:135 245 151 246 247Used by:Timeline
Symbol 254 GraphicUsed by:Timeline
Symbol 255 GraphicUsed by:645 665  Timeline
Symbol 256 GraphicUsed by:645 665  Timeline
Symbol 257 GraphicUsed by:645 665  Timeline
Symbol 258 GraphicUsed by:645 665  Timeline
Symbol 259 GraphicUsed by:645 665  Timeline
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:260Used by:262
Symbol 262 MovieClipUses:261Used by:263
Symbol 263 MovieClipUses:262Used by:264
Symbol 264 MovieClipUses:263Used by:418  Timeline
Symbol 265 GraphicUsed by:266 1143 1177
Symbol 266 MovieClipUses:265 134 136 135 137 138 139 140 141 142 143Used by:267
Symbol 267 MovieClipUses:266Used by:Timeline
Symbol 268 FontUsed by:269 270 271 349 514 530 540 1070
Symbol 269 TextUses:268Used by:Timeline
Symbol 270 TextUses:268Used by:Timeline
Symbol 271 TextUses:268Used by:Timeline
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:Timeline
Symbol 274 TextUses:127Used by:278
Symbol 275 TextUses:127Used by:278
Symbol 276 TextUses:127Used by:278
Symbol 277 TextUses:127Used by:278
Symbol 278 MovieClipUses:274 275 276 277Used by:Timeline
Symbol 279 TextUses:125Used by:Timeline
Symbol 280 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 281 TextUses:125Used by:283
Symbol 282 TextUses:125Used by:283
Symbol 283 MovieClipUses:281 282Used by:Timeline
Symbol 284 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 285 TextUses:127Used by:Timeline
Symbol 286 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 287 TextUses:127Used by:Timeline
Symbol 288 TextUses:125Used by:291
Symbol 289 TextUses:125Used by:291
Symbol 290 TextUses:125Used by:291
Symbol 291 MovieClipUses:288 289 290Used by:Timeline
Symbol 292 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 293 TextUses:127Used by:Timeline
Symbol 294 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 295 TextUses:127Used by:Timeline
Symbol 296 TextUses:127Used by:Timeline
Symbol 297 GraphicUsed by:Timeline
Symbol 298 GraphicUsed by:706 1084  Timeline
Symbol 299 SoundUsed by:300
Symbol 300 MovieClipUses:235 299Used by:Timeline
Symbol 301 TextUses:125Used by:Timeline
Symbol 302 TextUses:127Used by:Timeline
Symbol 303 EditableTextUses:125Used by:338
Symbol 304 EditableTextUses:125Used by:338
Symbol 305 EditableTextUses:125Used by:338
Symbol 306 TextUses:125Used by:338
Symbol 307 EditableTextUses:125Used by:338
Symbol 308 EditableTextUses:125Used by:338
Symbol 309 EditableTextUses:125Used by:338
Symbol 310 TextUses:125Used by:338
Symbol 311 EditableTextUses:125Used by:338
Symbol 312 EditableTextUses:125Used by:338
Symbol 313 EditableTextUses:125Used by:338
Symbol 314 TextUses:125Used by:338
Symbol 315 EditableTextUses:125Used by:338
Symbol 316 EditableTextUses:125Used by:338
Symbol 317 EditableTextUses:125Used by:338
Symbol 318 TextUses:125Used by:338
Symbol 319 EditableTextUses:125Used by:338
Symbol 320 EditableTextUses:125Used by:338
Symbol 321 EditableTextUses:125Used by:338
Symbol 322 TextUses:125Used by:338
Symbol 323 EditableTextUses:125Used by:338
Symbol 324 EditableTextUses:125Used by:338
Symbol 325 EditableTextUses:125Used by:338
Symbol 326 TextUses:125Used by:338
Symbol 327 EditableTextUses:125Used by:338
Symbol 328 EditableTextUses:125Used by:338
Symbol 329 EditableTextUses:125Used by:338
Symbol 330 TextUses:125Used by:338
Symbol 331 EditableTextUses:125Used by:338
Symbol 332 EditableTextUses:125Used by:338
Symbol 333 EditableTextUses:125Used by:338
Symbol 334 TextUses:125Used by:338
Symbol 335 TextUses:125Used by:338
Symbol 336 TextUses:125Used by:338
Symbol 337 TextUses:125Used by:338
Symbol 338 MovieClipUses:303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337Used by:Timeline
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:339Used by:341
Symbol 341 MovieClipUses:340Used by:342
Symbol 342 MovieClipUses:341Used by:418  Timeline
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:418  Timeline
Symbol 345 TextUses:125Used by:Timeline
Symbol 346 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 347 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 348 TextUses:127Used by:Timeline
Symbol 349 TextUses:268Used by:Timeline
Symbol 350 GraphicUsed by:351 948
Symbol 351 MovieClipUses:350 131Used by:366 672  Timeline
Symbol 352 TextUses:127Used by:359
Symbol 353 GraphicUsed by:359 362
Symbol 354 TextUses:127Used by:359
Symbol 355 TextUses:127Used by:359
Symbol 356 GraphicUsed by:359 364
Symbol 357 TextUses:127Used by:359
Symbol 358 TextUses:125Used by:359
Symbol 359 MovieClipUses:352 353 121 354 355 356 357 358 129 131Used by:366
Symbol 360 ButtonUses:121 122 123Used by:366
Symbol 361 GraphicUsed by:362
Symbol 362 ButtonUses:121 353 361Used by:366
Symbol 363 GraphicUsed by:364
Symbol 364 ButtonUses:121 356 363Used by:366
Symbol 365 EditableTextUses:127Used by:366
Symbol 366 MovieClipUses:359 360 362 364 365 148 351Used by:Timeline
Symbol 367 GraphicUsed by:414 722
Symbol 368 GraphicUsed by:414 722
Symbol 369 GraphicUsed by:414
Symbol 370 GraphicUsed by:414
Symbol 371 GraphicUsed by:414
Symbol 372 GraphicUsed by:414
Symbol 373 GraphicUsed by:414 722
Symbol 374 GraphicUsed by:414
Symbol 375 GraphicUsed by:414 722
Symbol 376 GraphicUsed by:414 722
Symbol 377 GraphicUsed by:414 722
Symbol 378 GraphicUsed by:414 722
Symbol 379 GraphicUsed by:414
Symbol 380 GraphicUsed by:414 721
Symbol 381 GraphicUsed by:414
Symbol 382 GraphicUsed by:414 722
Symbol 383 GraphicUsed by:414 722
Symbol 384 GraphicUsed by:414 722
Symbol 385 MovieClipUses:151Used by:414  Timeline
Symbol 386 BitmapUsed by:387
Symbol 387 GraphicUses:386Used by:414
Symbol 388 BitmapUsed by:389
Symbol 389 GraphicUses:388Used by:414
Symbol 390 BitmapUsed by:391
Symbol 391 GraphicUses:390Used by:414
Symbol 392 BitmapUsed by:393
Symbol 393 GraphicUses:392Used by:414
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:414
Symbol 396 BitmapUsed by:397
Symbol 397 GraphicUses:396Used by:414
Symbol 398 BitmapUsed by:399
Symbol 399 GraphicUses:398Used by:414
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:414
Symbol 402 BitmapUsed by:403
Symbol 403 GraphicUses:402Used by:414
Symbol 404 BitmapUsed by:405
Symbol 405 GraphicUses:404Used by:414
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:414
Symbol 408 BitmapUsed by:409
Symbol 409 GraphicUses:408Used by:414
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:414
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:414
Symbol 414 MovieClipUses:367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 387 389 391 393 395 397 399 401 403 405 407 409 411 413Used by:415 1033
Symbol 415 MovieClipUses:414Used by:Timeline
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:418
Symbol 418 MovieClipUses:417 344 342 234 264Used by:Timeline
Symbol 419 TextUses:125Used by:421
Symbol 420 TextUses:125Used by:421
Symbol 421 MovieClipUses:419 420Used by:Timeline
Symbol 422 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 423 TextUses:125Used by:426
Symbol 424 TextUses:125Used by:426
Symbol 425 TextUses:125Used by:426
Symbol 426 MovieClipUses:423 424 425Used by:Timeline
Symbol 427 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 428 TextUses:125Used by:432
Symbol 429 TextUses:125Used by:432
Symbol 430 TextUses:125Used by:432
Symbol 431 TextUses:125Used by:432
Symbol 432 MovieClipUses:428 429 430 431Used by:Timeline
Symbol 433 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 434 TextUses:125Used by:Timeline
Symbol 435 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 436 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 437 TextUses:125Used by:501
Symbol 438 ButtonUses:148 149 150 151 152Used by:501
Symbol 439 TextUses:127Used by:496
Symbol 440 GraphicUsed by:496
Symbol 441 EditableTextUses:127Used by:496
Symbol 442 EditableTextUses:127Used by:496
Symbol 443 BitmapUsed by:444 681
Symbol 444 GraphicUses:443Used by:496
Symbol 445 TextUses:127Used by:496
Symbol 446 EditableTextUses:127Used by:496
Symbol 447 GraphicUsed by:496 501  Timeline
Symbol 448 TextUses:127Used by:496
Symbol 449 BitmapUsed by:450 691
Symbol 450 GraphicUses:449Used by:496
Symbol 451 EditableTextUses:127Used by:496
Symbol 452 EditableTextUses:127Used by:496
Symbol 453 GraphicUsed by:496
Symbol 454 TextUses:127Used by:496
Symbol 455 BitmapUsed by:456 691
Symbol 456 GraphicUses:455Used by:496
Symbol 457 EditableTextUses:127Used by:496
Symbol 458 TextUses:127Used by:496
Symbol 459 BitmapUsed by:460 691
Symbol 460 GraphicUses:459Used by:496
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:463 740 752 762 772 1106
Symbol 463 MovieClipUses:462Used by:496 685
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:466 762 1106
Symbol 466 MovieClipUses:465Used by:496 685
Symbol 467 BitmapUsed by:468
Symbol 468 GraphicUses:467Used by:469 740 1106
Symbol 469 MovieClipUses:468Used by:496 685
Symbol 470 BitmapUsed by:471
Symbol 471 GraphicUses:470Used by:472 752 1106
Symbol 472 MovieClipUses:471Used by:496 685
Symbol 473 TextUses:127Used by:496
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:496 706
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:494
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:494
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:494
Symbol 482 BitmapUsed by:483
Symbol 483 GraphicUses:482Used by:494
Symbol 484 BitmapUsed by:485
Symbol 485 GraphicUses:484Used by:494
Symbol 486 BitmapUsed by:487
Symbol 487 GraphicUses:486Used by:494
Symbol 488 BitmapUsed by:489
Symbol 489 GraphicUses:488Used by:494
Symbol 490 BitmapUsed by:491
Symbol 491 GraphicUses:490Used by:494
Symbol 492 BitmapUsed by:493
Symbol 493 GraphicUses:492Used by:494 615
Symbol 494 MovieClipUses:477 479 481 483 485 487 489 491 493Used by:495
Symbol 495 MovieClipUses:494 148Used by:496 672 706
Symbol 496 MovieClipUses:439 440 441 442 444 445 446 447 448 450 451 452 453 454 456 457 458 460 463 148 466 469 472 473 475 495Used by:501  Timeline
Symbol 497 GraphicUsed by:501
Symbol 498 EditableTextUses:125Used by:501
Symbol 499 TextUses:125Used by:501
Symbol 500 ButtonUses:148 149 150 151 152Used by:501
Symbol 501 MovieClipUses:148 437 438 496 497 498 447 499 500Used by:Timeline
Symbol 502 TextUses:127Used by:Timeline
Symbol 503 TextUses:127Used by:Timeline
Symbol 504 TextUses:127Used by:Timeline
Symbol 505 TextUses:127Used by:Timeline
Symbol 506 GraphicUsed by:Timeline
Symbol 507 TextUses:125Used by:Timeline
Symbol 508 TextUses:125Used by:Timeline
Symbol 509 TextUses:125Used by:Timeline
Symbol 510 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 511 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 512 SoundUsed by:513 559 706 948
Symbol 513 MovieClipUses:151 512Used by:Timeline
Symbol 514 TextUses:268Used by:558
Symbol 515 TextUses:157Used by:558
Symbol 516 BitmapUsed by:517
Symbol 517 GraphicUses:516Used by:558
Symbol 518 BitmapUsed by:519
Symbol 519 GraphicUses:518Used by:558
Symbol 520 BitmapUsed by:521
Symbol 521 GraphicUses:520Used by:558
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:558
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:558
Symbol 526 BitmapUsed by:527
Symbol 527 GraphicUses:526Used by:558
Symbol 528 BitmapUsed by:529
Symbol 529 GraphicUses:528Used by:558
Symbol 530 TextUses:268Used by:558
Symbol 531 TextUses:157Used by:558
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:558
Symbol 534 BitmapUsed by:535
Symbol 535 GraphicUses:534Used by:558
Symbol 536 BitmapUsed by:537
Symbol 537 GraphicUses:536Used by:558
Symbol 538 BitmapUsed by:539
Symbol 539 GraphicUses:538Used by:558
Symbol 540 TextUses:268Used by:558
Symbol 541 TextUses:157Used by:558
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:558
Symbol 544 BitmapUsed by:545
Symbol 545 GraphicUses:544Used by:558
Symbol 546 BitmapUsed by:547
Symbol 547 GraphicUses:546Used by:558
Symbol 548 BitmapUsed by:549
Symbol 549 GraphicUses:548Used by:558
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:558
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:558
Symbol 554 BitmapUsed by:555
Symbol 555 GraphicUses:554Used by:558
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:558
Symbol 558 MovieClipUses:514 515 517 151 519 521 523 525 527 529 530 531 533 535 537 539 540 541 543 545 547 549 551 553 555 557Used by:Timeline
Symbol 559 MovieClipUses:512Used by:Timeline
Symbol 560 SoundUsed by:563
Symbol 561 SoundUsed by:563
Symbol 562 SoundUsed by:563
Symbol 563 MovieClipUses:560 561 562Used by:Timeline
Symbol 564 SoundUsed by:566 886 1143 1166
Symbol 565 SoundUsed by:566
Symbol 566 MovieClipUses:564 565Used by:Timeline
Symbol 567 SoundUsed by:570
Symbol 568 SoundUsed by:570
Symbol 569 SoundUsed by:570
Symbol 570 MovieClipUses:567 246 568 569Used by:Timeline
Symbol 571 SoundUsed by:575 722
Symbol 572 SoundUsed by:575 722 1177
Symbol 573 SoundUsed by:575
Symbol 574 SoundUsed by:575
Symbol 575 MovieClipUses:571 572 573 574Used by:Timeline
Symbol 576 SoundUsed by:577
Symbol 577 MovieClipUses:151 576Used by:Timeline
Symbol 578 BitmapUsed by:579 1010
Symbol 579 GraphicUses:578Used by:595
Symbol 580 BitmapUsed by:581
Symbol 581 GraphicUses:580Used by:595 801 930
Symbol 582 SoundUsed by:595
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:595 801 930
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:595 801 930
Symbol 587 BitmapUsed by:588
Symbol 588 GraphicUses:587Used by:595 801 930
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:595 801 930
Symbol 591 BitmapUsed by:592
Symbol 592 GraphicUses:591Used by:595 801 930
Symbol 593 BitmapUsed by:594
Symbol 594 GraphicUses:593Used by:595 801 930
Symbol 595 MovieClipUses:579 581 582 584 586 588 590 592 594Used by:Timeline
Symbol 596 MovieClipUses:207Used by:Timeline
Symbol 597 GraphicUsed by:599
Symbol 598 SoundUsed by:599 861 1143 1177
Symbol 599 MovieClipUses:597 598Used by:Timeline
Symbol 600 SoundUsed by:604
Symbol 601 MovieClipUses:198Used by:604
Symbol 602 MovieClipUsed by:604 633
Symbol 603 MovieClipUses:196Used by:604
Symbol 604 MovieClipUses:195 196 197 600 601 602 603Used by:Timeline
Symbol 605 GraphicUsed by:607
Symbol 606 GraphicUsed by:607
Symbol 607 MovieClipUses:605 606Used by:Timeline
Symbol 608 EditableTextUses:127Used by:610
Symbol 609 GraphicUsed by:610
Symbol 610 MovieClipUses:608 609Used by:Timeline
Symbol 611 TextUses:125Used by:620
Symbol 612 GraphicUsed by:613 861
Symbol 613 MovieClipUses:612Used by:620
Symbol 614 TextUses:125Used by:620
Symbol 615 MovieClipUses:493Used by:620
Symbol 616 MovieClipUses:89Used by:617
Symbol 617 MovieClipUses:616Used by:620 959
Symbol 618 GraphicUsed by:619 959
Symbol 619 MovieClipUses:618Used by:620
Symbol 620 MovieClipUses:611 613 614 615 617 129 131 619Used by:Timeline
Symbol 621 ButtonUses:109Used by:632
Symbol 622 GraphicUsed by:632
Symbol 623 SoundUsed by:632
Symbol 624 SoundUsed by:632 722 861
Symbol 625 SoundUsed by:632 722 897 1143 1177
Symbol 626 SoundUsed by:632 897 1079 1143
Symbol 627 GraphicUsed by:632 1106
Symbol 628 GraphicUsed by:629 723
Symbol 629 MovieClipUses:628Used by:630 738 1106
Symbol 630 MovieClipUses:629Used by:632
Symbol 631 GraphicUsed by:632 640
Symbol 632 MovieClipUses:621 198 199 622 623 203 205 624 625 206 626 627 630 631Used by:633
Symbol 633 MovieClipUses:602 632Used by:Timeline
Symbol 634 ButtonUses:109Used by:640
Symbol 635 ButtonUses:109Used by:640
Symbol 636 GraphicUsed by:640
Symbol 637 GraphicUsed by:640
Symbol 638 GraphicUsed by:640
Symbol 639 GraphicUsed by:640
Symbol 640 MovieClipUses:634 631 635 636 637 638 639Used by:Timeline
Symbol 641 GraphicUsed by:645 665
Symbol 642 GraphicUsed by:645 665
Symbol 643 GraphicUsed by:645 665
Symbol 644 GraphicUsed by:645 665
Symbol 645 MovieClipUses:255 256 641 257 642 643 259 209 211 644 258 215 217 218 220 221 223Used by:Timeline
Symbol 646 GraphicUsed by:665
Symbol 647 GraphicUsed by:665
Symbol 648 GraphicUsed by:665
Symbol 649 GraphicUsed by:665
Symbol 650 GraphicUsed by:665
Symbol 651 GraphicUsed by:665
Symbol 652 GraphicUsed by:665
Symbol 653 GraphicUsed by:665
Symbol 654 GraphicUsed by:665
Symbol 655 GraphicUsed by:665
Symbol 656 GraphicUsed by:665
Symbol 657 GraphicUsed by:665
Symbol 658 GraphicUsed by:665
Symbol 659 GraphicUsed by:665
Symbol 660 GraphicUsed by:665
Symbol 661 GraphicUsed by:665
Symbol 662 GraphicUsed by:665
Symbol 663 GraphicUsed by:665
Symbol 664 GraphicUsed by:665
Symbol 665 MovieClipUses:255 256 641 257 646 647 643 259 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 258 663 644 642 664Used by:Timeline
Symbol 666 TextUses:125Used by:672
Symbol 667 TextUses:125Used by:672
Symbol 668 GraphicUsed by:672
Symbol 669 EditableTextUses:127Used by:672
Symbol 670 ButtonUses:148 149 150 151 152Used by:672
Symbol 671 ButtonUses:148 149 150 151 152Used by:672
Symbol 672 MovieClipUses:351 131 666 667 668 669 495 670 671Used by:Timeline
Symbol 673 EditableTextUses:125Used by:674
Symbol 674 MovieClipUses:673 131Used by:706
Symbol 675 ButtonUses:151Used by:706
Symbol 676 ButtonUses:151Used by:706
Symbol 677 ButtonUses:151Used by:706
Symbol 678 ButtonUses:151Used by:706
Symbol 679 ButtonUses:151Used by:706
Symbol 680 ButtonUses:151Used by:706
Symbol 681 GraphicUses:443Used by:706
Symbol 682 EditableTextUses:125Used by:685
Symbol 683 EditableTextUses:125Used by:685
Symbol 684 GraphicUsed by:685 690
Symbol 685 MovieClipUses:463 466 469 472 682 683 684Used by:706
Symbol 686 GraphicUsed by:687
Symbol 687 MovieClipUses:686Used by:690
Symbol 688 EditableTextUses:125Used by:690
Symbol 689 EditableTextUses:125Used by:690
Symbol 690 MovieClipUses:687 148 688 689 684Used by:706
Symbol 691 GraphicUses:449 455 459Used by:706
Symbol 692 GraphicUsed by:706
Symbol 693 TextUses:125Used by:706
Symbol 694 TextUses:125Used by:706
Symbol 695 TextUses:125Used by:706
Symbol 696 TextUses:125Used by:706
Symbol 697 TextUses:125Used by:706
Symbol 698 GraphicUsed by:706
Symbol 699 ButtonUses:151Used by:706
Symbol 700 ButtonUses:151Used by:706
Symbol 701 ButtonUses:151Used by:706
Symbol 702 ButtonUses:151Used by:706
Symbol 703 ButtonUses:151Used by:706
Symbol 704 ButtonUses:151Used by:706
Symbol 705 ButtonUses:151Used by:706
Symbol 706 MovieClipUses:674 298 675 676 677 678 679 680 681 685 690 691 131 512 692 475 693 495 694 695 696 697 698 699 700 701 702 703 704 705Used by:Timeline
Symbol 707 GraphicUsed by:722
Symbol 708 GraphicUsed by:722
Symbol 709 GraphicUsed by:722
Symbol 710 GraphicUsed by:722
Symbol 711 GraphicUsed by:722
Symbol 712 GraphicUsed by:722
Symbol 713 GraphicUsed by:722
Symbol 714 GraphicUsed by:722
Symbol 715 GraphicUsed by:722
Symbol 716 GraphicUsed by:722
Symbol 717 GraphicUsed by:722
Symbol 718 GraphicUsed by:722
Symbol 719 GraphicUsed by:720
Symbol 720 MovieClipUses:719Used by:721
Symbol 721 MovieClipUses:380 720Used by:722
Symbol 722 MovieClipUses:707 367 377 708 384 376 373 709 710 378 711 383 382 712 713 714 715 375 205 624 625 368 716 717 718 721 571 572Used by:Timeline
Symbol 723 MovieClipUses:628Used by:729
Symbol 724 GraphicUsed by:725
Symbol 725 MovieClipUses:724Used by:729 919
Symbol 726 GraphicUsed by:729 1106
Symbol 727 GraphicUsed by:729 1106
Symbol 728 SoundUsed by:729
Symbol 729 MovieClipUses:723 725 726 727 728Used by:784
Symbol 730 GraphicUsed by:731 1106
Symbol 731 MovieClipUses:89 730Used by:732
Symbol 732 MovieClipUses:731Used by:784
Symbol 733 GraphicUsed by:736 1106
Symbol 734 SoundUsed by:736
Symbol 735 GraphicUsed by:736 1106
Symbol 736 MovieClipUses:733 734 735Used by:784
Symbol 737 SoundUsed by:738
Symbol 738 MovieClipUses:629 737Used by:784
Symbol 739 ButtonUses:109Used by:740
Symbol 740 MovieClipUses:739 468 462Used by:750
Symbol 741 ShapeTweeningUsed by:750
Symbol 742 SoundUsed by:750 760 770 781
Symbol 743 GraphicUsed by:750
Symbol 744 ShapeTweeningUsed by:750
Symbol 745 GraphicUsed by:750
Symbol 746 ShapeTweeningUsed by:750
Symbol 747 GraphicUsed by:750
Symbol 748 GraphicUsed by:750
Symbol 749 SoundUsed by:750 760 770 781 1079
Symbol 750 MovieClipUses:740 741 742 743 744 745 746 747 748 749Used by:784
Symbol 751 ButtonUses:109Used by:752
Symbol 752 MovieClipUses:751 471 462Used by:760
Symbol 753 ShapeTweeningUsed by:760
Symbol 754 GraphicUsed by:760
Symbol 755 ShapeTweeningUsed by:760
Symbol 756 GraphicUsed by:760
Symbol 757 ShapeTweeningUsed by:760
Symbol 758 GraphicUsed by:760
Symbol 759 GraphicUsed by:760
Symbol 760 MovieClipUses:752 753 742 754 755 756 757 758 759 749Used by:784
Symbol 761 ButtonUses:109Used by:762
Symbol 762 MovieClipUses:761 465 462Used by:770
Symbol 763 ShapeTweeningUsed by:770
Symbol 764 GraphicUsed by:770
Symbol 765 ShapeTweeningUsed by:770
Symbol 766 GraphicUsed by:770
Symbol 767 ShapeTweeningUsed by:770
Symbol 768 GraphicUsed by:770
Symbol 769 GraphicUsed by:770
Symbol 770 MovieClipUses:762 763 742 764 765 766 767 768 769 749Used by:784
Symbol 771 ButtonUses:109Used by:772
Symbol 772 MovieClipUses:771 462Used by:781
Symbol 773 ShapeTweeningUsed by:781
Symbol 774 GraphicUsed by:781
Symbol 775 ShapeTweeningUsed by:781
Symbol 776 GraphicUsed by:781
Symbol 777 ShapeTweeningUsed by:781
Symbol 778 GraphicUsed by:781
Symbol 779 GraphicUsed by:780
Symbol 780 MovieClipUses:779Used by:781
Symbol 781 MovieClipUses:772 773 742 774 775 776 777 778 780 749Used by:784
Symbol 782 SoundUsed by:784
Symbol 783 SoundUsed by:784
Symbol 784 MovieClipUses:729 732 736 738 750 760 770 781 782 783Used by:Timeline
Symbol 785 MovieClipUses:212 211 209 215 217 218 220 221 223 SS2Used by:932
Symbol 786 GraphicUsed by:788
Symbol 787 SoundUsed by:788
Symbol 788 MovieClipUses:786 787Used by:932
Symbol 789 GraphicUsed by:801
Symbol 790 GraphicUsed by:791
Symbol 791 MovieClipUses:790Used by:801 831 861 886 897 917
Symbol 792 GraphicUsed by:801
Symbol 793 GraphicUsed by:801
Symbol 794 SoundUsed by:801 930
Symbol 795 SoundUsed by:801 930
Symbol 796 GraphicUsed by:797
Symbol 797 MovieClipUses:796Used by:801 930
Symbol 798 GraphicUsed by:799
Symbol 799 MovieClipUses:798Used by:801 930
Symbol 800 SoundUsed by:801 930
Symbol 801 MovieClipUses:789 791 793 792 794 795 584 581 797 799 800 586 588 590 592 594Used by:932
Symbol 802 GraphicUsed by:803 865
Symbol 803 MovieClipUses:802Used by:932
Symbol 804 GraphicUsed by:805
Symbol 805 MovieClipUses:804Used by:831 861 886 897 917
Symbol 806 GraphicUsed by:807 831
Symbol 807 MovieClipUses:806Used by:831
Symbol 808 GraphicUsed by:809 831
Symbol 809 MovieClipUses:808Used by:831
Symbol 810 GraphicUsed by:831
Symbol 811 GraphicUsed by:812
Symbol 812 MovieClipUses:811Used by:831
Symbol 813 GraphicUsed by:814
Symbol 814 MovieClipUses:813Used by:831
Symbol 815 SoundUsed by:831 897
Symbol 816 SoundUsed by:831
Symbol 817 GraphicUsed by:831
Symbol 818 SoundUsed by:831 886
Symbol 819 SoundUsed by:831 886 1177
Symbol 820 SoundUsed by:831
Symbol 821 GraphicUsed by:831
Symbol 822 SoundUsed by:831
Symbol 823 GraphicUsed by:831
Symbol 824 GraphicUsed by:831
Symbol 825 GraphicUsed by:831
Symbol 826 SoundUsed by:831
Symbol 827 GraphicUsed by:831 886
Symbol 828 SoundUsed by:831 861 886 897 917
Symbol 829 SoundUsed by:831 886 897 917 1166
Symbol 830 SoundUsed by:831 861 886 917 1143 1166
Symbol 831 MovieClipUses:805 807 809 810 812 814 815 791 816 817 818 808 819 820 821 822 823 209 211 824 215 217 218 220 221 223 806 825 826 212 827 828 225 829 830 SS3Used by:932
Symbol 832 GraphicUsed by:833
Symbol 833 MovieClipUses:832Used by:836
Symbol 834 SoundUsed by:836 1177
Symbol 835 SoundUsed by:836 886 897 925 1177
Symbol 836 MovieClipUses:833 834 212 211 835 209 215 217 218 220 221 223Used by:932
Symbol 837 MovieClipUses:204Used by:932
Symbol 838 GraphicUsed by:861
Symbol 839 GraphicUsed by:861
Symbol 840 GraphicUsed by:861
Symbol 841 GraphicUsed by:861
Symbol 842 GraphicUsed by:861
Symbol 843 GraphicUsed by:861
Symbol 844 GraphicUsed by:861
Symbol 845 GraphicUsed by:861
Symbol 846 GraphicUsed by:861
Symbol 847 GraphicUsed by:861
Symbol 848 SoundUsed by:861
Symbol 849 SoundUsed by:861
Symbol 850 SoundUsed by:861
Symbol 851 SoundUsed by:861
Symbol 852 GraphicUsed by:861
Symbol 853 SoundUsed by:861
Symbol 854 GraphicUsed by:861
Symbol 855 GraphicUsed by:861
Symbol 856 GraphicUsed by:861
Symbol 857 GraphicUsed by:861
Symbol 858 SoundUsed by:861
Symbol 859 SoundUsed by:861 886 897 917 1143
Symbol 860 GraphicUsed by:861
Symbol 861 MovieClipUses:805 204 838 839 840 841 842 843 844 612 845 846 847 848 791 849 850 851 852 853 854 855 856 598 857 858 624 859 209 211 212 215 217 218 220 221 223 828 830 860 225 246Used by:932
Symbol 862 SoundUsed by:866 887 931
Symbol 863 GraphicUsed by:865
Symbol 864 GraphicUsed by:865
Symbol 865 MovieClipUses:802 863 864Used by:866 887 931
Symbol 866 MovieClipUses:862 865Used by:932
Symbol 867 GraphicUsed by:886
Symbol 868 GraphicUsed by:886
Symbol 869 GraphicUsed by:886
Symbol 870 GraphicUsed by:886
Symbol 871 GraphicUsed by:886
Symbol 872 GraphicUsed by:886
Symbol 873 GraphicUsed by:886
Symbol 874 GraphicUsed by:886
Symbol 875 GraphicUsed by:886
Symbol 876 GraphicUsed by:886
Symbol 877 GraphicUsed by:886
Symbol 878 SoundUsed by:886
Symbol 879 SoundUsed by:886
Symbol 880 SoundUsed by:886 1166
Symbol 881 SoundUsed by:886
Symbol 882 GraphicUsed by:886
Symbol 883 GraphicUsed by:886
Symbol 884 GraphicUsed by:886
Symbol 885 GraphicUsed by:886
Symbol 886 MovieClipUses:805 867 868 869 870 871 872 873 874 875 876 877 819 791 818 878 564 879 880 881 215 209 882 217 218 220 221 223 212 859 211 827 883 829 225 884 885 830 828 835Used by:932
Symbol 887 MovieClipUses:865 862Used by:932
Symbol 888 SoundUsed by:897
Symbol 889 SoundUsed by:897 917
Symbol 890 SoundUsed by:897
Symbol 891 SoundUsed by:897
Symbol 892 GraphicUsed by:897
Symbol 893 GraphicUsed by:897
Symbol 894 GraphicUsed by:897
Symbol 895 GraphicUsed by:897
Symbol 896 GraphicUsed by:897
Symbol 897 MovieClipUses:805 174 175 176 177 178 179 180 181 182 183 184 185 815 791 888 889 626 205 890 625 202 891 212 892 211 209 215 217 218 220 221 223 893 894 828 895 246 896 225 829 213 214 859 835Used by:932
Symbol 898 GraphicUsed by:917 1143
Symbol 899 GraphicUsed by:917 1143
Symbol 900 GraphicUsed by:917 1143
Symbol 901 GraphicUsed by:917 1143
Symbol 902 GraphicUsed by:917 1143
Symbol 903 GraphicUsed by:917 1143
Symbol 904 GraphicUsed by:917 1143
Symbol 905 GraphicUsed by:917 1143
Symbol 906 GraphicUsed by:917 1143
Symbol 907 GraphicUsed by:917 1143
Symbol 908 GraphicUsed by:917 1143
Symbol 909 SoundUsed by:917 1166
Symbol 910 SoundUsed by:917 1166
Symbol 911 GraphicUsed by:917 1143
Symbol 912 SoundUsed by:917
Symbol 913 GraphicUsed by:917
Symbol 914 GraphicUsed by:915 917 1143
Symbol 915 MovieClipUses:914Used by:917
Symbol 916 GraphicUsed by:917
Symbol 917 MovieClipUses:805 898 899 900 901 902 903 904 905 906 907 908 889 791 909 910 911 912 913 215 209 217 218 220 221 223 828 212 211 915 225 829 859 914 830 916Used by:932
Symbol 918 GraphicUsed by:919
Symbol 919 MovieClipUses:725 918Used by:932
Symbol 920 MovieClipUses:212 247Used by:932
Symbol 921 GraphicUsed by:922
Symbol 922 MovieClipUses:921Used by:932
Symbol 923 SoundUsed by:924
Symbol 924 MovieClipUses:200 201 923Used by:932
Symbol 925 MovieClipUses:212 211 835 209 215 217 218 220 221 223Used by:932
Symbol 926 GraphicUsed by:930
Symbol 927 GraphicUsed by:930
Symbol 928 GraphicUsed by:930
Symbol 929 GraphicUsed by:930
Symbol 930 MovieClipUses:926 928 927 794 929 795 581 800 584 586 588 590 592 594 797 799Used by:932
Symbol 931 MovieClipUses:862 865Used by:932
Symbol 932 MovieClipUses:785 788 801 803 831 836 837 861 866 886 887 897 917 919 920 922 924 925 930 931Used by:Timeline
Symbol 933 GraphicUsed by:939
Symbol 934 SoundUsed by:939
Symbol 935 GraphicUsed by:939
Symbol 936 GraphicUsed by:939
Symbol 937 GraphicUsed by:939
Symbol 938 GraphicUsed by:939
Symbol 939 MovieClipUses:933 934 935 936 937 151 938Used by:Timeline
Symbol 940 GraphicUsed by:945
Symbol 941 TextUses:125Used by:945
Symbol 942 TextUses:125Used by:945
Symbol 943 TextUses:125Used by:945
Symbol 944 TextUses:125Used by:945
Symbol 945 MovieClipUses:940 941 942 943 944Used by:948
Symbol 946 ButtonUses:151Used by:948
Symbol 947 ButtonUses:151Used by:948
Symbol 948 MovieClipUses:945 946 350 131 512 947Used by:Timeline
Symbol 949 GraphicUsed by:959
Symbol 950 GraphicUsed by:959
Symbol 951 GraphicUsed by:959
Symbol 952 GraphicUsed by:959
Symbol 953 GraphicUsed by:959
Symbol 954 GraphicUsed by:959
Symbol 955 GraphicUsed by:959
Symbol 956 GraphicUsed by:959
Symbol 957 GraphicUsed by:959
Symbol 958 GraphicUsed by:959
Symbol 959 MovieClipUses:949 950 618 951 952 953 954 955 956 617 957 958Used by:Timeline
Symbol 960 EditableTextUses:127Used by:978
Symbol 961 SoundUsed by:964
Symbol 962 SoundUsed by:964
Symbol 963 SoundUsed by:964
Symbol 964 MovieClipUses:961 962 963Used by:978
Symbol 965 TextUses:125Used by:967
Symbol 966 GraphicUsed by:967
Symbol 967 MovieClipUses:965 966Used by:978
Symbol 968 BitmapUsed by:969
Symbol 969 GraphicUses:968Used by:976
Symbol 970 BitmapUsed by:971
Symbol 971 GraphicUses:970Used by:976
Symbol 972 BitmapUsed by:973
Symbol 973 GraphicUses:972Used by:976
Symbol 974 BitmapUsed by:975
Symbol 975 GraphicUses:974Used by:976
Symbol 976 MovieClipUses:969 971 973 975Used by:978
Symbol 977 GraphicUsed by:978
Symbol 978 MovieClipUses:960 964 967 976 977Used by:Timeline
Symbol 979 TextUses:127Used by:981
Symbol 980 GraphicUsed by:981
Symbol 981 MovieClipUses:979 980Used by:Timeline
Symbol 982 GraphicUsed by:1033
Symbol 983 GraphicUsed by:1033
Symbol 984 GraphicUsed by:1033
Symbol 985 GraphicUsed by:1033
Symbol 986 GraphicUsed by:1033
Symbol 987 GraphicUsed by:1033
Symbol 988 GraphicUsed by:1032 1033
Symbol 989 GraphicUsed by:1033
Symbol 990 GraphicUsed by:1033
Symbol 991 GraphicUsed by:1033
Symbol 992 GraphicUsed by:1033
Symbol 993 GraphicUsed by:1033
Symbol 994 GraphicUsed by:1033
Symbol 995 GraphicUsed by:996
Symbol 996 MovieClipUses:995Used by:1033
Symbol 997 GraphicUsed by:1011
Symbol 998 BitmapUsed by:999
Symbol 999 GraphicUses:998Used by:1011 1025 1027
Symbol 1000 BitmapUsed by:1001 1028
Symbol 1001 GraphicUses:1000Used by:1011
Symbol 1002 BitmapUsed by:1003
Symbol 1003 GraphicUses:1002Used by:1011 1025 1027
Symbol 1004 BitmapUsed by:1005
Symbol 1005 GraphicUses:1004Used by:1011 1025 1027
Symbol 1006 BitmapUsed by:1007
Symbol 1007 GraphicUses:1006Used by:1011 1025 1027
Symbol 1008 BitmapUsed by:1009
Symbol 1009 GraphicUses:1008Used by:1011 1025 1027
Symbol 1010 GraphicUses:578Used by:1011 1025 1027
Symbol 1011 MovieClipUses:997 999 151 1001 1003 1005 1007 1009 1010Used by:1033
Symbol 1012 GraphicUsed by:1025
Symbol 1013 BitmapUsed by:1014
Symbol 1014 GraphicUses:1013Used by:1025 1027
Symbol 1015 BitmapUsed by:1016
Symbol 1016 GraphicUses:1015Used by:1025 1027
Symbol 1017 BitmapUsed by:1018
Symbol 1018 GraphicUses:1017Used by:1025 1027
Symbol 1019 BitmapUsed by:1020
Symbol 1020 GraphicUses:1019Used by:1025 1027
Symbol 1021 BitmapUsed by:1022
Symbol 1022 GraphicUses:1021Used by:1025 1027
Symbol 1023 BitmapUsed by:1024
Symbol 1024 GraphicUses:1023Used by:1025 1027
Symbol 1025 MovieClipUses:1003 999 1012 1005 1007 1009 1010 1014 1016 1018 1020 1022 1024Used by:1033
Symbol 1026 GraphicUsed by:1027
Symbol 1027 MovieClipUses:999 1026 1003 1005 1007 1009 1010 1014 1016 1018 1020 1022 1024Used by:1033
Symbol 1028 GraphicUses:1000Used by:1033
Symbol 1029 GraphicUsed by:1033
Symbol 1030 GraphicUsed by:1032
Symbol 1031 GraphicUsed by:1032
Symbol 1032 MovieClipUses:1030 1031 988Used by:1033
Symbol 1033 MovieClipUses:414 982 983 984 985 986 987 988 989 990 991 992 993 994 996 1011 1025 1027 1028 1029 1032Used by:Timeline
Symbol 1034 BitmapUsed by:1035
Symbol 1035 GraphicUses:1034Used by:1041 1051 1054 1058 1061
Symbol 1036 BitmapUsed by:1037
Symbol 1037 GraphicUses:1036Used by:1041 1051 1054 1058 1061
Symbol 1038 GraphicUsed by:1041 1051
Symbol 1039 GraphicUsed by:1041
Symbol 1040 TextUses:125Used by:1041
Symbol 1041 MovieClipUses:1035 1037 1038 1039 1040Used by:Timeline
Symbol 1042 GraphicUsed by:1047
Symbol 1043 GraphicUsed by:1047 1054
Symbol 1044 GraphicUsed by:1047
Symbol 1045 GraphicUsed by:1047 1051 1054 1058 1061
Symbol 1046 GraphicUsed by:1047 1054 1058 1061
Symbol 1047 MovieClipUses:1042 1043 1044 1045 1046Used by:Timeline
Symbol 1048 GraphicUsed by:1051
Symbol 1049 GraphicUsed by:1051
Symbol 1050 GraphicUsed by:1051 1054 1058 1061 1062
Symbol 1051 MovieClipUses:1035 1037 1048 1038 1049 1045 1050Used by:Timeline
Symbol 1052 GraphicUsed by:1054
Symbol 1053 GraphicUsed by:1054
Symbol 1054 MovieClipUses:1035 1037 1052 1053 1043 1045 1050 1046Used by:Timeline
Symbol 1055 GraphicUsed by:1058
Symbol 1056 GraphicUsed by:1058 1061
Symbol 1057 GraphicUsed by:1058
Symbol 1058 MovieClipUses:1035 1037 1055 1056 1057 1045 1050 1046Used by:Timeline
Symbol 1059 GraphicUsed by:1061
Symbol 1060 GraphicUsed by:1061
Symbol 1061 MovieClipUses:1035 1037 1059 1056 1060 1045 1050 1046Used by:Timeline
Symbol 1062 MovieClipUses:151 1050Used by:Timeline
Symbol 1063 TextUses:125Used by:Timeline
Symbol 1064 TextUses:125Used by:Timeline
Symbol 1065 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 1066 TextUses:125Used by:Timeline
Symbol 1067 TextUses:127Used by:Timeline
Symbol 1068 BitmapUsed by:1069
Symbol 1069 GraphicUses:1068Used by:Timeline
Symbol 1070 EditableTextUses:268Used by:1079
Symbol 1071 EditableTextUses:125Used by:1079
Symbol 1072 SoundUsed by:1079
Symbol 1073 GraphicUsed by:1079
Symbol 1074 GraphicUsed by:1079
Symbol 1075 GraphicUsed by:1079
Symbol 1076 GraphicUsed by:1079
Symbol 1077 GraphicUsed by:1079
Symbol 1078 GraphicUsed by:1079
Symbol 1079 MovieClipUses:1070 1071 1072 1073 1074 1075 1076 1077 1078 626 749Used by:Timeline
Symbol 1080 EditableTextUses:127Used by:1084
Symbol 1081 EditableTextUses:127Used by:1084
Symbol 1082 EditableTextUses:127Used by:1084
Symbol 1083 TextUses:127Used by:1084
Symbol 1084 MovieClipUses:1080 1081 1082 1083 298 131Used by:Timeline
Symbol 1085 TextUses:125Used by:Timeline
Symbol 1086 TextUses:127Used by:1106
Symbol 1087 TextUses:125Used by:1106
Symbol 1088 TextUses:127Used by:1106
Symbol 1089 TextUses:125Used by:1106
Symbol 1090 TextUses:127Used by:1106
Symbol 1091 TextUses:125Used by:1106
Symbol 1092 TextUses:125Used by:1106
Symbol 1093 GraphicUsed by:1106
Symbol 1094 TextUses:127Used by:1106
Symbol 1095 TextUses:127Used by:1106
Symbol 1096 TextUses:127Used by:1106
Symbol 1097 TextUses:125Used by:1106
Symbol 1098 TextUses:127Used by:1106
Symbol 1099 TextUses:127Used by:1106
Symbol 1100 TextUses:127Used by:1106
Symbol 1101 TextUses:125Used by:1106
Symbol 1102 TextUses:127Used by:1106
Symbol 1103 TextUses:127Used by:1106
Symbol 1104 TextUses:127Used by:1106
Symbol 1105 TextUses:125Used by:1106
Symbol 1106 MovieClipUses:462 1086 1087 1088 1089 1090 1091 1092 89 730 1093 465 1094 1095 1096 1097 735 733 468 1098 1099 1100 1101 627 629 471 1102 1103 1104 1105 726 727Used by:Timeline
Symbol 1107 TextUses:127Used by:Timeline
Symbol 1108 TextUses:127Used by:Timeline
Symbol 1109 GraphicUsed by:Timeline
Symbol 1110 TextUses:125Used by:1114
Symbol 1111 ButtonUses:148 149 150 151 152Used by:1114
Symbol 1112 TextUses:125Used by:1114
Symbol 1113 GraphicUsed by:1114
Symbol 1114 MovieClipUses:1110 1111 1112 1113Used by:Timeline
Symbol 1115 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 1116 TextUses:127Used by:Timeline
Symbol 1117 TextUses:127Used by:Timeline
Symbol 1118 BitmapUsed by:1119
Symbol 1119 GraphicUses:1118Used by:Timeline
Symbol 1120 EditableTextUses:125Used by:Timeline
Symbol 1121 TextUses:127Used by:Timeline
Symbol 1122 GraphicUsed by:Timeline
Symbol 1123 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 1124 EditableTextUses:127Used by:Timeline
Symbol 1125 TextUses:127Used by:Timeline
Symbol 1126 GraphicUsed by:Timeline
Symbol 1127 GraphicUsed by:Timeline
Symbol 1128 GraphicUsed by:Timeline
Symbol 1129 TextUses:125Used by:Timeline
Symbol 1130 TextUses:125Used by:Timeline
Symbol 1131 TextUses:125Used by:Timeline
Symbol 1132 EditableTextUses:127Used by:Timeline
Symbol 1133 EditableTextUses:127Used by:Timeline
Symbol 1134 TextUses:125Used by:Timeline
Symbol 1135 TextUses:125Used by:Timeline
Symbol 1136 EditableTextUses:127Used by:Timeline
Symbol 1137 GraphicUsed by:Timeline
Symbol 1138 TextUses:125Used by:Timeline
Symbol 1139 TextUses:127Used by:Timeline
Symbol 1140 GraphicUsed by:1143 1177
Symbol 1141 SoundUsed by:1143
Symbol 1142 GraphicUsed by:1143 1177
Symbol 1143 MovieClipUses:265 134 136 135 137 138 139 140 141 142 143 176 174 177 175 178 179 180 181 182 183 184 185 898 899 900 901 902 903 904 905 906 907 908 1140 1141 626 598 209 211 830 215 217 218 212 220 914 221 223 1142 911 225 625 213 214 859 564 246Used by:Timeline
Symbol 1144 ButtonUses:148 149 150 151 152Used by:Timeline
Symbol 1145 FontUsed by:1146
Symbol 1146 TextUses:1145Used by:1155
Symbol 1147 TextUses:157Used by:1155
Symbol 1148 TextUses:157Used by:1155
Symbol 1149 TextUses:157Used by:1155
Symbol 1150 TextUses:157Used by:1155
Symbol 1151 TextUses:157Used by:1155
Symbol 1152 TextUses:157Used by:1155
Symbol 1153 TextUses:157Used by:1155
Symbol 1154 TextUses:157Used by:1155
Symbol 1155 MovieClipUses:1146 1147 1148 1149 1150 1151 1152 1153 1154 SS4Used by:Timeline
Symbol 1156 TextUses:125Used by:Timeline
Symbol 1157 MovieClipUsed by:1170
Symbol 1158 MovieClipUsed by:1170
Symbol 1159 GraphicUsed by:1166
Symbol 1160 GraphicUsed by:1166
Symbol 1161 GraphicUsed by:1166
Symbol 1162 GraphicUsed by:1166
Symbol 1163 GraphicUsed by:1166
Symbol 1164 GraphicUsed by:1165
Symbol 1165 MovieClipUses:1164Used by:1166 1177  Timeline
Symbol 1166 MovieClipUses:1159 1160 1161 1162 1163 1165 910 564 909 880 209 211 212 830 215 217 218 220 221 223 829Used by:1169
Symbol 1167 GraphicUsed by:1168
Symbol 1168 MovieClipUses:1167Used by:1169 1178
Symbol 1169 MovieClipUses:1166 1168Used by:1170
Symbol 1170 MovieClipUses:1157 1158 1169Used by:Timeline
Symbol 1171 MovieClipUsed by:1179
Symbol 1172 MovieClipUsed by:1179
Symbol 1173 GraphicUsed by:1174
Symbol 1174 MovieClipUses:1173Used by:1177
Symbol 1175 GraphicUsed by:1177
Symbol 1176 GraphicUsed by:1177
Symbol 1177 MovieClipUses:265 134 136 135 137 138 139 140 141 142 143 572 1165 625 1174 1140 598 1175 1142 834 1176 209 211 835 215 217 218 220 221 223 819Used by:1178
Symbol 1178 MovieClipUses:1177 1168Used by:1179
Symbol 1179 MovieClipUses:1171 1172 1178Used by:Timeline
Symbol 1180 GraphicUsed by:1181
Symbol 1181 MovieClipUses:1180Used by:Timeline
Streaming Sound 1Used by:Timeline
Streaming Sound 2Used by:Symbol 785 MovieClip
Streaming Sound 3Used by:Symbol 831 MovieClip
Streaming Sound 4Used by:Symbol 1155 MovieClip

Instance Names

"spiritFlame"Frame 504Symbol 205 MovieClip
"openingLoop"Frame 653Symbol 237 MovieClip
"objHelpDisplay"Frame 692Symbol 278 MovieClip
"objSmokeScreen"Frame 692Symbol 283 MovieClip
"objAutoQuality"Frame 692Symbol 283 MovieClip
"objQuality"Frame 692Symbol 291 MovieClip
"objAdultContent"Frame 692Symbol 283 MovieClip
"openingLoop"Frame 725Symbol 300 MovieClip
"scoretable"Frame 725Symbol 338 MovieClip
"sOriginal"Frame 805Symbol 366 MovieClip
"oBishojo"Frame 805Symbol 415 MovieClip
"bgPic"Frame 805Symbol 418 MovieClip
"fader"Frame 840Symbol 235 MovieClip
"objCharacter"Frame 840Symbol 421 MovieClip
"objDifficulty"Frame 840Symbol 426 MovieClip
"objEpisode"Frame 840Symbol 432 MovieClip
"objCustomSetup"Frame 840Symbol 501 MovieClip
"openingLoop"Frame 873Symbol 300 MovieClip
"fadeScreen"Frame 873Symbol 513 MovieClip
"pages"Frame 873Symbol 558 MovieClip
"fader"Frame 905Symbol 235 MovieClip
"sndPaper"Frame 905Symbol 559 MovieClip
"sndMusicLoops"Frame 905Symbol 563 MovieClip
"sndUseItem"Frame 905Symbol 566 MovieClip
"sndSearch"Frame 905Symbol 570 MovieClip
"sndWalk"Frame 905Symbol 575 MovieClip
"worldBloodScreen"Frame 905Symbol 577 MovieClip
"worldExplosion"Frame 906Symbol 595 MovieClip
"slashShadow"Frame 906Symbol 596 MovieClip
"stabShadow"Frame 906Symbol 599 MovieClip
"worldPreCombat"Frame 906Symbol 604 MovieClip
"worldReiPointer"Frame 906Symbol 607 MovieClip
"worldTutorial"Frame 906Symbol 610 MovieClip
"FullMap"Frame 906Symbol 620 MovieClip
"oCombatCursor"Frame 906Symbol 633 MovieClip
"oCursor"Frame 906Symbol 640 MovieClip
"worldPainPortrait"Frame 906Symbol 645 MovieClip
"worldPortrait"Frame 906Symbol 665 MovieClip
"worldMessageBox"Frame 906Symbol 672 MovieClip
"worldInterface"Frame 906Symbol 706 MovieClip
"worldRei"Frame 906Symbol 722 MovieClip
"worldSpellSpace"Frame 906Symbol 784 MovieClip
"worldCombatSpace"Frame 906Symbol 932 MovieClip
"worldSmokeScreen"Frame 906Symbol 939 MovieClip
"worldAutoMap"Frame 906Symbol 948 MovieClip
"oMapIndicator"Frame 906Symbol 959 MovieClip
"teaseBox"Frame 906Symbol 978 MovieClip
"worldReiMessage"Frame 906Symbol 981 MovieClip
"Obj00"Frame 906Symbol 1033 MovieClip
"Block00"Frame 906Symbol 1041 MovieClip
"Block0-1"Frame 906Symbol 1047 MovieClip
"Block01"Frame 906Symbol 1047 MovieClip
"Obj11"Frame 906Symbol 1033 MovieClip
"Obj1-1"Frame 906Symbol 1033 MovieClip
"Obj10"Frame 906Symbol 1033 MovieClip
"Block10"Frame 906Symbol 1051 MovieClip
"Block1-1"Frame 906Symbol 1054 MovieClip
"Block11"Frame 906Symbol 1054 MovieClip
"Obj2-1"Frame 906Symbol 1033 MovieClip
"Obj20"Frame 906Symbol 1033 MovieClip
"Obj21"Frame 906Symbol 1033 MovieClip
"Block20"Frame 906Symbol 1051 MovieClip
"Block2-1"Frame 906Symbol 1054 MovieClip
"Block2-2"Frame 906Symbol 1058 MovieClip
"Block21"Frame 906Symbol 1054 MovieClip
"Block22"Frame 906Symbol 1058 MovieClip
"Obj31"Frame 906Symbol 1033 MovieClip
"Obj3-1"Frame 906Symbol 1033 MovieClip
"Obj30"Frame 906Symbol 1033 MovieClip
"Obj3-2"Frame 906Symbol 1033 MovieClip
"Block30"Frame 906Symbol 1051 MovieClip
"Block3-1"Frame 906Symbol 1054 MovieClip
"Block3-2"Frame 906Symbol 1058 MovieClip
"Block3-3"Frame 906Symbol 1061 MovieClip
"Block31"Frame 906Symbol 1054 MovieClip
"Obj32"Frame 906Symbol 1033 MovieClip
"Block32"Frame 906Symbol 1058 MovieClip
"Block33"Frame 906Symbol 1061 MovieClip
"Block44"Frame 906Symbol 1062 MovieClip
"Block43"Frame 906Symbol 1062 MovieClip
"Block42"Frame 906Symbol 1062 MovieClip
"Block4-4"Frame 906Symbol 1062 MovieClip
"Block4-3"Frame 906Symbol 1062 MovieClip
"Block4-2"Frame 906Symbol 1062 MovieClip
"Block41"Frame 906Symbol 1062 MovieClip
"Block4-1"Frame 906Symbol 1062 MovieClip
"Block40"Frame 906Symbol 1062 MovieClip
"worldESpawnCeil"Frame 906Symbol 385 MovieClip
"worldESpawnFloor"Frame 906Symbol 385 MovieClip
"waveInitializer"Frame 945Symbol 1079 MovieClip
"pedals"Frame 945Symbol 264 MovieClip
"aTimer"Frame 960Symbol 1084 MovieClip
"openingLoop"Frame 990Symbol 237 MovieClip
"newSpell"Frame 990Symbol 1106 MovieClip
"objDifficulty"Frame 1023Symbol 426 MovieClip
"objEpisode"Frame 1023Symbol 432 MovieClip
"stats"Frame 1023Symbol 496 MovieClip
"oZombie"Frame 1160Symbol 1170 MovieClip
"oGenyu"Frame 1160Symbol 1179 MovieClip
"RespawnPoint0"Frame 1160Symbol 1165 MovieClip
"RespawnPoint2"Frame 1160Symbol 1165 MovieClip
"RespawnPoint3"Frame 1160Symbol 1165 MovieClip
"RespawnPoint1"Frame 1160Symbol 1165 MovieClip
"GameArea"Frame 1160Symbol 1181 MovieClip
"highlight3D_mc"Symbol 15 MovieClip Frame 1Symbol 4 MovieClip
"darkshadow_mc"Symbol 15 MovieClip Frame 1Symbol 6 MovieClip
"shadow_mc"Symbol 15 MovieClip Frame 1Symbol 8 MovieClip
"highlight_mc"Symbol 15 MovieClip Frame 1Symbol 10 MovieClip
"arrow_mc"Symbol 15 MovieClip Frame 1Symbol 12 MovieClip
"face_mc"Symbol 15 MovieClip Frame 1Symbol 14 MovieClip
"arrow_mc"Symbol 25 MovieClip Frame 1Symbol 17 MovieClip
"face_mc"Symbol 25 MovieClip Frame 1Symbol 18 MovieClip
"shadow_mc"Symbol 25 MovieClip Frame 1Symbol 20 MovieClip
"highlight_mc"Symbol 25 MovieClip Frame 1Symbol 22 MovieClip
"highlight3D_mc"Symbol 25 MovieClip Frame 1Symbol 23 MovieClip
"darkshadow_mc"Symbol 25 MovieClip Frame 1Symbol 24 MovieClip
"arrow_mc"Symbol 34 MovieClip Frame 1Symbol 27 MovieClip
"face_mc"Symbol 34 MovieClip Frame 1Symbol 29 MovieClip
"shadow_mc"Symbol 34 MovieClip Frame 1Symbol 30 MovieClip
"highlight_mc"Symbol 34 MovieClip Frame 1Symbol 31 MovieClip
"darkshadow_mc"Symbol 34 MovieClip Frame 1Symbol 32 MovieClip
"highlight3D_mc"Symbol 34 MovieClip Frame 1Symbol 33 MovieClip
"up"Symbol 35 MovieClip [UpArrow] Frame 1Symbol 15 MovieClip
"down"Symbol 35 MovieClip [UpArrow] Frame 2Symbol 25 MovieClip
"disabled"Symbol 35 MovieClip [UpArrow] Frame 3Symbol 34 MovieClip
"highlight3D_mc"Symbol 41 MovieClip Frame 1Symbol 37 MovieClip
"darkshadow_mc"Symbol 41 MovieClip Frame 1Symbol 39 MovieClip
"shadow_mc"Symbol 41 MovieClip Frame 1Symbol 40 MovieClip
"highlight_mc"Symbol 48 MovieClip Frame 1Symbol 42 MovieClip
"face_mc"Symbol 48 MovieClip Frame 1Symbol 43 MovieClip
"shadow_mc"Symbol 48 MovieClip Frame 1Symbol 45 MovieClip
"darkshadow_mc"Symbol 48 MovieClip Frame 1Symbol 46 MovieClip
"highlight3D_mc"Symbol 48 MovieClip Frame 1Symbol 47 MovieClip
"shadow_mc"Symbol 54 MovieClip Frame 1Symbol 49 MovieClip
"highlight_mc"Symbol 54 MovieClip Frame 1Symbol 50 MovieClip
"darkshadow_mc"Symbol 54 MovieClip Frame 1Symbol 51 MovieClip
"highlight3D_mc"Symbol 54 MovieClip Frame 1Symbol 53 MovieClip
"mc_sliderBot"Symbol 55 MovieClip [ScrollThumb] Frame 1Symbol 41 MovieClip
"mc_sliderMid"Symbol 55 MovieClip [ScrollThumb] Frame 1Symbol 48 MovieClip
"mc_sliderTop"Symbol 55 MovieClip [ScrollThumb] Frame 1Symbol 54 MovieClip
"highlight3D_mc"Symbol 63 MovieClip Frame 1Symbol 56 MovieClip
"darkshadow_mc"Symbol 63 MovieClip Frame 1Symbol 57 MovieClip
"shadow_mc"Symbol 63 MovieClip Frame 1Symbol 58 MovieClip
"highlight_mc"Symbol 63 MovieClip Frame 1Symbol 59 MovieClip
"arrow_mc"Symbol 63 MovieClip Frame 1Symbol 61 MovieClip
"face_mc"Symbol 63 MovieClip Frame 1Symbol 62 MovieClip
"arrow_mc"Symbol 71 MovieClip Frame 1Symbol 65 MovieClip
"face_mc"Symbol 71 MovieClip Frame 1Symbol 66 MovieClip
"shadow_mc"Symbol 71 MovieClip Frame 1Symbol 67 MovieClip
"highlight_mc"Symbol 71 MovieClip Frame 1Symbol 68 MovieClip
"highlight3D_mc"Symbol 71 MovieClip Frame 1Symbol 69 MovieClip
"darkshadow_mc"Symbol 71 MovieClip Frame 1Symbol 70 MovieClip
"arrow_mc"Symbol 79 MovieClip Frame 1Symbol 73 MovieClip
"face_mc"Symbol 79 MovieClip Frame 1Symbol 74 MovieClip
"shadow_mc"Symbol 79 MovieClip Frame 1Symbol 75 MovieClip
"highlight_mc"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"darkshadow_mc"Symbol 79 MovieClip Frame 1Symbol 77 MovieClip
"highlight3D_mc"Symbol 79 MovieClip Frame 1Symbol 78 MovieClip
"up"Symbol 80 MovieClip [DownArrow] Frame 1Symbol 63 MovieClip
"down"Symbol 80 MovieClip [DownArrow] Frame 2Symbol 71 MovieClip
"disabled"Symbol 80 MovieClip [DownArrow] Frame 3Symbol 79 MovieClip
"track_mc"Symbol 83 MovieClip Frame 1Symbol 82 MovieClip
"scrollTrack_mc"Symbol 84 MovieClip [FScrollBarSymbol] Frame 1Symbol 83 MovieClip
"labelField"Symbol 88 MovieClip [FLabelSymbol] Frame 1Symbol 87 EditableText
"background_mc"Symbol 91 MovieClip Frame 1Symbol 90 MovieClip
"highlight3D_mc"Symbol 100 MovieClip Frame 1Symbol 93 MovieClip
"highlight_mc"Symbol 100 MovieClip Frame 1Symbol 95 MovieClip
"shadow_mc"Symbol 100 MovieClip Frame 1Symbol 97 MovieClip
"darkshadow_mc"Symbol 100 MovieClip Frame 1Symbol 99 MovieClip
"background_mc"Symbol 103 MovieClip Frame 1Symbol 102 MovieClip
"background_mc"Symbol 105 MovieClip Frame 1Symbol 104 MovieClip
"disabled_mc"Symbol 108 MovieClip Frame 1Symbol 107 MovieClip
"dot_mc"Symbol 111 MovieClip Frame 1Symbol 110 MovieClip
"frb_frame_mc"Symbol 112 MovieClip [frb_states] Frame 1Symbol 100 MovieClip
"boundingBox"Symbol 119 MovieClip [FBoundingBoxSymbol] Frame 1Symbol 118 MovieClip
"boundingBox2"Symbol 119 MovieClip [FBoundingBoxSymbol] Frame 2Symbol 118 MovieClip
"deadPreview"Symbol 120 MovieClip [FRadioButtonSymbol] Frame 1Symbol 115 MovieClip
"boundingBox_mc"Symbol 120 MovieClip [FRadioButtonSymbol] Frame 1Symbol 119 MovieClip [FBoundingBoxSymbol]
"fader"Symbol 237 MovieClip Frame 1Symbol 235 MovieClip
"pedal"Symbol 262 MovieClip Frame 1Symbol 261 MovieClip
"pedal"Symbol 262 MovieClip Frame 27Symbol 261 MovieClip
"pedal"Symbol 262 MovieClip Frame 53Symbol 261 MovieClip
"oSakura"Symbol 264 MovieClip Frame 1Symbol 263 MovieClip
"fader"Symbol 300 MovieClip Frame 1Symbol 235 MovieClip
"timeObj4"Symbol 338 MovieClip Frame 1Symbol 303 EditableText
"timeObj1"Symbol 338 MovieClip Frame 1Symbol 307 EditableText
"timeObj2"Symbol 338 MovieClip Frame 1Symbol 311 EditableText
"timeObj3"Symbol 338 MovieClip Frame 1Symbol 315 EditableText
"timeObj5"Symbol 338 MovieClip Frame 1Symbol 319 EditableText
"timeObj6"Symbol 338 MovieClip Frame 1Symbol 323 EditableText
"timeObj7"Symbol 338 MovieClip Frame 1Symbol 327 EditableText
"timeObj0"Symbol 338 MovieClip Frame 1Symbol 331 EditableText
"oSnow"Symbol 342 MovieClip Frame 1Symbol 341 MovieClip
"editHelp"Symbol 366 MovieClip Frame 1Symbol 359 MovieClip
"box"Symbol 414 MovieClip Frame 2Symbol 385 MovieClip
"sprites"Symbol 415 MovieClip Frame 1Symbol 414 MovieClip
"icon"Symbol 495 MovieClip Frame 1Symbol 494 MovieClip
"cast1"Symbol 496 MovieClip Frame 1Symbol 463 MovieClip
"cast2"Symbol 496 MovieClip Frame 1Symbol 466 MovieClip
"cast3"Symbol 496 MovieClip Frame 1Symbol 469 MovieClip
"cast4"Symbol 496 MovieClip Frame 1Symbol 472 MovieClip
"invSlot4"Symbol 496 MovieClip Frame 1Symbol 495 MovieClip
"invSlot3"Symbol 496 MovieClip Frame 1Symbol 495 MovieClip
"invSlot2"Symbol 496 MovieClip Frame 1Symbol 495 MovieClip
"invSlot1"Symbol 496 MovieClip Frame 1Symbol 495 MovieClip
"invSlot0"Symbol 496 MovieClip Frame 1Symbol 495 MovieClip
"stats"Symbol 501 MovieClip Frame 1Symbol 496 MovieClip
"cursor"Symbol 604 MovieClip Frame 31Symbol 601 MovieClip
"swordPoint"Symbol 604 MovieClip Frame 41Symbol 602 MovieClip
"cursor"Symbol 604 MovieClip Frame 41Symbol 603 MovieClip
"head0"Symbol 620 MovieClip Frame 1Symbol 613 MovieClip
"head1"Symbol 620 MovieClip Frame 1Symbol 613 MovieClip
"head2"Symbol 620 MovieClip Frame 1Symbol 613 MovieClip
"scroll4"Symbol 620 MovieClip Frame 1Symbol 615 MovieClip
"scroll3"Symbol 620 MovieClip Frame 1Symbol 615 MovieClip
"scroll2"Symbol 620 MovieClip Frame 1Symbol 615 MovieClip
"scroll1"Symbol 620 MovieClip Frame 1Symbol 615 MovieClip
"scroll0"Symbol 620 MovieClip Frame 1Symbol 615 MovieClip
"oPlayerIcon"Symbol 620 MovieClip Frame 1Symbol 617 MovieClip
"oMapIndicator"Symbol 620 MovieClip Frame 1Symbol 619 MovieClip
"spiritFlame"Symbol 632 MovieClip Frame 75Symbol 205 MovieClip
"spellFlame"Symbol 632 MovieClip Frame 135Symbol 630 MovieClip
"swordPoint"Symbol 633 MovieClip Frame 1Symbol 602 MovieClip
"animation"Symbol 633 MovieClip Frame 1Symbol 632 MovieClip
"icon"Symbol 672 MovieClip Frame 6Symbol 495 MovieClip
"cast1"Symbol 685 MovieClip Frame 1Symbol 463 MovieClip
"cast2"Symbol 685 MovieClip Frame 1Symbol 466 MovieClip
"cast3"Symbol 685 MovieClip Frame 1Symbol 469 MovieClip
"cast4"Symbol 685 MovieClip Frame 1Symbol 472 MovieClip
"canCast4"Symbol 685 MovieClip Frame 1Symbol 472 MovieClip
"canCast3"Symbol 685 MovieClip Frame 1Symbol 469 MovieClip
"canCast2"Symbol 685 MovieClip Frame 1Symbol 466 MovieClip
"canCast1"Symbol 685 MovieClip Frame 1Symbol 463 MovieClip
"VarMax"Symbol 685 MovieClip Frame 3Symbol 682 EditableText
"current"Symbol 690 MovieClip Frame 1Symbol 687 MovieClip
"VarMax"Symbol 690 MovieClip Frame 3Symbol 688 EditableText
"tooltips"Symbol 706 MovieClip Frame 1Symbol 674 MovieClip
"stat3"Symbol 706 MovieClip Frame 2Symbol 685 MovieClip
"stat2"Symbol 706 MovieClip Frame 2Symbol 690 MovieClip
"stat1"Symbol 706 MovieClip Frame 2Symbol 690 MovieClip
"stat0"Symbol 706 MovieClip Frame 2Symbol 690 MovieClip
"invSlot4"Symbol 706 MovieClip Frame 15Symbol 495 MovieClip
"invSlot3"Symbol 706 MovieClip Frame 15Symbol 495 MovieClip
"invSlot2"Symbol 706 MovieClip Frame 15Symbol 495 MovieClip
"invSlot1"Symbol 706 MovieClip Frame 15Symbol 495 MovieClip
"invSlot0"Symbol 706 MovieClip Frame 15Symbol 495 MovieClip
"soul"Symbol 732 MovieClip Frame 1Symbol 731 MovieClip
"beamSpell"Symbol 784 MovieClip Frame 1Symbol 729 MovieClip
"oHealingSoul"Symbol 784 MovieClip Frame 1Symbol 732 MovieClip
"oWindBlade"Symbol 784 MovieClip Frame 1Symbol 736 MovieClip
"oGhostFlame"Symbol 784 MovieClip Frame 1Symbol 738 MovieClip
"spell3"Symbol 784 MovieClip Frame 1Symbol 750 MovieClip
"spell4"Symbol 784 MovieClip Frame 1Symbol 760 MovieClip
"spell2"Symbol 784 MovieClip Frame 1Symbol 770 MovieClip
"spell1"Symbol 784 MovieClip Frame 1Symbol 781 MovieClip
"hitBox"Symbol 801 MovieClip Frame 4Symbol 791 MovieClip
"tracer"Symbol 831 MovieClip Frame 1Symbol 805 MovieClip
"hitBoxHead"Symbol 831 MovieClip Frame 50Symbol 791 MovieClip
"hitBoxTorso"Symbol 831 MovieClip Frame 50Symbol 791 MovieClip
"tracer"Symbol 831 MovieClip Frame 85Symbol 805 MovieClip
"biteTracer"Symbol 831 MovieClip Frame 155Symbol 805 MovieClip
"tracer"Symbol 831 MovieClip Frame 155Symbol 805 MovieClip
"biteTracer"Symbol 831 MovieClip Frame 190Symbol 805 MovieClip
"biteTracer"Symbol 831 MovieClip Frame 215Symbol 805 MovieClip
"biteTracer"Symbol 831 MovieClip Frame 240Symbol 805 MovieClip
"biteTracer"Symbol 831 MovieClip Frame 265Symbol 805 MovieClip
"tracer"Symbol 861 MovieClip Frame 1Symbol 805 MovieClip
"hitBoxHead"Symbol 861 MovieClip Frame 23Symbol 791 MovieClip
"hitBoxTorso"Symbol 861 MovieClip Frame 23Symbol 791 MovieClip
"hitBoxFeet"Symbol 861 MovieClip Frame 23Symbol 791 MovieClip
"flameTrace3"Symbol 861 MovieClip Frame 40Symbol 805 MovieClip
"flameTrace1"Symbol 861 MovieClip Frame 40Symbol 805 MovieClip
"flameTrace2"Symbol 861 MovieClip Frame 40Symbol 805 MovieClip
"flameTrace4"Symbol 861 MovieClip Frame 40Symbol 805 MovieClip
"flameTrace0"Symbol 861 MovieClip Frame 40Symbol 805 MovieClip
"attackTrace"Symbol 861 MovieClip Frame 100Symbol 805 MovieClip
"attackTrace"Symbol 861 MovieClip Frame 130Symbol 805 MovieClip
"attackTrace2"Symbol 861 MovieClip Frame 210Symbol 805 MovieClip
"attackTrace1"Symbol 861 MovieClip Frame 210Symbol 805 MovieClip
"attackTrace0"Symbol 861 MovieClip Frame 210Symbol 805 MovieClip
"attackTrace0"Symbol 861 MovieClip Frame 250Symbol 805 MovieClip
"attackTrace1"Symbol 861 MovieClip Frame 250Symbol 805 MovieClip
"attackTrace2"Symbol 861 MovieClip Frame 250Symbol 805 MovieClip
"sprite"Symbol 866 MovieClip Frame 4Symbol 865 MovieClip
"tracer"Symbol 886 MovieClip Frame 1Symbol 805 MovieClip
"hitBoxHead"Symbol 886 MovieClip Frame 20Symbol 791 MovieClip
"hitBoxTorso"Symbol 886 MovieClip Frame 20Symbol 791 MovieClip
"hitBoxFeet"Symbol 886 MovieClip Frame 20Symbol 791 MovieClip
"handTracer"Symbol 886 MovieClip Frame 90Symbol 805 MovieClip
"attackBoundBox2"Symbol 886 MovieClip Frame 140Symbol 791 MovieClip
"attackBoundBox1"Symbol 886 MovieClip Frame 140Symbol 791 MovieClip
"tracer"Symbol 897 MovieClip Frame 1Symbol 805 MovieClip
"hitBoxHead"Symbol 897 MovieClip Frame 40Symbol 791 MovieClip
"hitBoxTorso"Symbol 897 MovieClip Frame 40Symbol 791 MovieClip
"hitBoxFeet"Symbol 897 MovieClip Frame 40Symbol 791 MovieClip
"attackBoundBox"Symbol 897 MovieClip Frame 170Symbol 791 MovieClip
"evilFlame"Symbol 897 MovieClip Frame 170Symbol 205 MovieClip
"tracer"Symbol 917 MovieClip Frame 1Symbol 805 MovieClip
"hitBoxHead"Symbol 917 MovieClip Frame 49Symbol 791 MovieClip
"hitBoxTorso"Symbol 917 MovieClip Frame 49Symbol 791 MovieClip
"hitBoxFeet"Symbol 917 MovieClip Frame 49Symbol 791 MovieClip
"tracer"Symbol 917 MovieClip Frame 85Symbol 805 MovieClip
"biteTracer"Symbol 917 MovieClip Frame 155Symbol 805 MovieClip
"tracer"Symbol 917 MovieClip Frame 155Symbol 805 MovieClip
"sprite"Symbol 931 MovieClip Frame 6Symbol 865 MovieClip
"smallBlood"Symbol 932 MovieClip Frame 1Symbol 785 MovieClip
"ghostSplatOriginal"Symbol 932 MovieClip Frame 1Symbol 788 MovieClip
"oBlockade"Symbol 932 MovieClip Frame 1Symbol 801 MovieClip
"shurikenMachine"Symbol 932 MovieClip Frame 1Symbol 803 MovieClip
"oWolf"Symbol 932 MovieClip Frame 1Symbol 831 MovieClip
"painSplatOriginal"Symbol 932 MovieClip Frame 1Symbol 836 MovieClip
"oGhostFlame"Symbol 932 MovieClip Frame 1Symbol 837 MovieClip
"oFNinja"Symbol 932 MovieClip Frame 1Symbol 861 MovieClip
"oShurikenAttack"Symbol 932 MovieClip Frame 1Symbol 866 MovieClip
"oNinja"Symbol 932 MovieClip Frame 1Symbol 886 MovieClip
"oShuriken"Symbol 932 MovieClip Frame 1Symbol 887 MovieClip
"oSamurai"Symbol 932 MovieClip Frame 1Symbol 897 MovieClip
"oZombie"Symbol 932 MovieClip Frame 1Symbol 917 MovieClip
"oFlash"Symbol 932 MovieClip Frame 1Symbol 919 MovieClip
"dmgOriginal"Symbol 932 MovieClip Frame 1Symbol 920 MovieClip
"oStrikePoint"Symbol 932 MovieClip Frame 1Symbol 922 MovieClip
"oSpark"Symbol 932 MovieClip Frame 1Symbol 924 MovieClip
"splatOriginal"Symbol 932 MovieClip Frame 1Symbol 925 MovieClip
"oBambooTrap"Symbol 932 MovieClip Frame 1Symbol 930 MovieClip
"oShurikenTrap"Symbol 932 MovieClip Frame 1Symbol 931 MovieClip
"compass"Symbol 948 MovieClip Frame 1Symbol 945 MovieClip
"teaseSound"Symbol 978 MovieClip Frame 1Symbol 964 MovieClip
"newbieNote"Symbol 978 MovieClip Frame 1Symbol 967 MovieClip
"teaseText"Symbol 978 MovieClip Frame 1Symbol 976 MovieClip
"sprites"Symbol 1033 MovieClip Frame 1Symbol 414 MovieClip
"AttackShadow"Symbol 1166 MovieClip Frame 45Symbol 1165 MovieClip
"Set"Symbol 1169 MovieClip Frame 1Symbol 1166 MovieClip
"Shadow"Symbol 1169 MovieClip Frame 1Symbol 1168 MovieClip
"Interface"Symbol 1170 MovieClip Frame 1Symbol 1157 MovieClip
"Command"Symbol 1170 MovieClip Frame 1Symbol 1158 MovieClip
"Sprite"Symbol 1170 MovieClip Frame 1Symbol 1169 MovieClip
"AttackShadow"Symbol 1177 MovieClip Frame 44Symbol 1165 MovieClip
"Set"Symbol 1178 MovieClip Frame 1Symbol 1177 MovieClip
"Shadow"Symbol 1178 MovieClip Frame 1Symbol 1168 MovieClip
"Interface"Symbol 1179 MovieClip Frame 1Symbol 1171 MovieClip
"Command"Symbol 1179 MovieClip Frame 1Symbol 1172 MovieClip
"Sprite"Symbol 1179 MovieClip Frame 1Symbol 1178 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "FX_Reload"
ExportAssets (56)Timeline Frame 1Symbol 2 as "TorchLoop"
ExportAssets (56)Timeline Frame 1Symbol 35 as "UpArrow"
ExportAssets (56)Timeline Frame 1Symbol 55 as "ScrollThumb"
ExportAssets (56)Timeline Frame 1Symbol 80 as "DownArrow"
ExportAssets (56)Timeline Frame 1Symbol 84 as "FScrollBarSymbol"
ExportAssets (56)Timeline Frame 1Symbol 85 as "frb_hitArea"
ExportAssets (56)Timeline Frame 1Symbol 88 as "FLabelSymbol"
ExportAssets (56)Timeline Frame 1Symbol 112 as "frb_states"
ExportAssets (56)Timeline Frame 1Symbol 113 as "FUIComponentSymbol"
ExportAssets (56)Timeline Frame 1Symbol 119 as "FBoundingBoxSymbol"
ExportAssets (56)Timeline Frame 1Symbol 120 as "FRadioButtonSymbol"

Labels

"sceneOpeningEnd"Frame 620
"sceneMainMenu"Frame 653
"sceneGraphicsOptions"Frame 692
"sceneHighScore"Frame 725
"sceneHSCancel"Frame 753
"scoreError"Frame 756
"sceneTutorial"Frame 775
"sceneNewArena"Frame 789
"sceneGallery"Frame 805
"sceneNewAdventure"Frame 840
"sceneStoryline"Frame 873
"sceneAdventure"Frame 905
"sceneArena"Frame 944
"sceneCancel"Frame 967
"sceneFinishLevel"Frame 990
"sceneShowFinishStats"Frame 1023
"sceneFailLevel"Frame 1060
"sceneEnterScore"Frame 1089
"sceneFinishArena"Frame 1129
"sceneCredits"Frame 1160
"Symbol_32"Symbol 88 MovieClip [FLabelSymbol] Frame 1
"Symbol_23"Symbol 97 MovieClip Frame 1
"Symbol_22"Symbol 99 MovieClip Frame 1
"unselectedEnabled"Symbol 112 MovieClip [frb_states] Frame 1
"press"Symbol 112 MovieClip [frb_states] Frame 2
"unselectedDisabled"Symbol 112 MovieClip [frb_states] Frame 3
"selectedDisabled"Symbol 112 MovieClip [frb_states] Frame 4
"selectedEnabled"Symbol 112 MovieClip [frb_states] Frame 5
"Symbol_36"Symbol 113 MovieClip [FUIComponentSymbol] Frame 1
"enabled"Symbol 119 MovieClip [FBoundingBoxSymbol] Frame 1
"disabled"Symbol 119 MovieClip [FBoundingBoxSymbol] Frame 2
"fadeSound"Symbol 235 MovieClip Frame 3
"intro"Symbol 237 MovieClip Frame 2
"horizontal"Symbol 262 MovieClip Frame 1
"vertical"Symbol 262 MovieClip Frame 27
"intro"Symbol 300 MovieClip Frame 2
"gal0"Symbol 414 MovieClip Frame 2
"gal1"Symbol 414 MovieClip Frame 17
"gal2"Symbol 414 MovieClip Frame 22
"gal3"Symbol 414 MovieClip Frame 27
"gal4"Symbol 414 MovieClip Frame 32
"gal5"Symbol 414 MovieClip Frame 37
"gal6"Symbol 414 MovieClip Frame 42
"gal7"Symbol 414 MovieClip Frame 47
"gal8"Symbol 414 MovieClip Frame 52
"gal9"Symbol 414 MovieClip Frame 57
"gal10"Symbol 414 MovieClip Frame 62
"gal11"Symbol 414 MovieClip Frame 67
"gal12"Symbol 414 MovieClip Frame 72
"gal13"Symbol 414 MovieClip Frame 77
"gal14"Symbol 414 MovieClip Frame 82
"m0p"Symbol 558 MovieClip Frame 1
"m0"Symbol 558 MovieClip Frame 6
"m1p"Symbol 558 MovieClip Frame 10
"m1"Symbol 558 MovieClip Frame 13
"m2p"Symbol 558 MovieClip Frame 16
"m2"Symbol 558 MovieClip Frame 19
"m0ph"Symbol 558 MovieClip Frame 30
"m0h"Symbol 558 MovieClip Frame 35
"m1ph"Symbol 558 MovieClip Frame 40
"m1h"Symbol 558 MovieClip Frame 43
"m2ph"Symbol 558 MovieClip Frame 47
"m2h"Symbol 558 MovieClip Frame 50
"fadeSound"Symbol 563 MovieClip Frame 5
"explore"Symbol 563 MovieClip Frame 15
"combat"Symbol 563 MovieClip Frame 25
"boss"Symbol 563 MovieClip Frame 35
"noSound"Symbol 566 MovieClip Frame 1
"weapon"Symbol 566 MovieClip Frame 10
"food"Symbol 566 MovieClip Frame 20
"noSound"Symbol 570 MovieClip Frame 1
"general"Symbol 570 MovieClip Frame 10
"sword"Symbol 570 MovieClip Frame 20
"armor"Symbol 570 MovieClip Frame 30
"chest"Symbol 570 MovieClip Frame 40
"noSound"Symbol 575 MovieClip Frame 1
"floor"Symbol 575 MovieClip Frame 10
"grass"Symbol 575 MovieClip Frame 20
"door"Symbol 575 MovieClip Frame 30
"turn"Symbol 575 MovieClip Frame 40
"unsheath"Symbol 604 MovieClip Frame 5
"sheath"Symbol 604 MovieClip Frame 41
"guard"Symbol 632 MovieClip Frame 1
"block"Symbol 632 MovieClip Frame 35
"outOfEnergy"Symbol 632 MovieClip Frame 50
"swing"Symbol 632 MovieClip Frame 70
"swingDown"Symbol 632 MovieClip Frame 76
"stab"Symbol 632 MovieClip Frame 87
"recover"Symbol 632 MovieClip Frame 110
"swingCancel"Symbol 632 MovieClip Frame 125
"spell"Symbol 632 MovieClip Frame 135
"spirit"Symbol 632 MovieClip Frame 145
"normal"Symbol 632 MovieClip Frame 157
"Normal"Symbol 640 MovieClip Frame 1
"TurnLeft"Symbol 640 MovieClip Frame 6
"Forward"Symbol 640 MovieClip Frame 12
"TurnRight"Symbol 640 MovieClip Frame 18
"Reverse"Symbol 640 MovieClip Frame 24
"Search"Symbol 640 MovieClip Frame 30
"stand"Symbol 722 MovieClip Frame 5
"slash"Symbol 722 MovieClip Frame 30
"slashOut"Symbol 722 MovieClip Frame 42
"block"Symbol 722 MovieClip Frame 70
"unblock"Symbol 722 MovieClip Frame 81
"talk"Symbol 722 MovieClip Frame 100
"walkAway"Symbol 722 MovieClip Frame 125
"explode2"Symbol 801 MovieClip Frame 20
"explode1"Symbol 801 MovieClip Frame 32
"explode0"Symbol 801 MovieClip Frame 44
"frChuck"Symbol 803 MovieClip Frame 2
"stand"Symbol 831 MovieClip Frame 50
"moveLeft"Symbol 831 MovieClip Frame 85
"moveRight"Symbol 831 MovieClip Frame 115
"bite"Symbol 831 MovieClip Frame 155
"jumpLeft"Symbol 831 MovieClip Frame 190
"jumpRight"Symbol 831 MovieClip Frame 215
"clawLeft"Symbol 831 MovieClip Frame 240
"clawRight"Symbol 831 MovieClip Frame 265
"violentReaction"Symbol 831 MovieClip Frame 300
"moveBack"Symbol 831 MovieClip Frame 310
"slashBackDeath"Symbol 831 MovieClip Frame 340
"stabBackDeath"Symbol 831 MovieClip Frame 390
"slashFrontDeath"Symbol 831 MovieClip Frame 440
"stabFrontDeath"Symbol 831 MovieClip Frame 490
"stand"Symbol 861 MovieClip Frame 23
"flameAttack"Symbol 861 MovieClip Frame 40
"counterUp"Symbol 861 MovieClip Frame 100
"counterDown"Symbol 861 MovieClip Frame 130
"teleport"Symbol 861 MovieClip Frame 160
"chargeLeft"Symbol 861 MovieClip Frame 210
"chargeRight"Symbol 861 MovieClip Frame 250
"death"Symbol 861 MovieClip Frame 290
"stand"Symbol 886 MovieClip Frame 20
"dodgeLeft"Symbol 886 MovieClip Frame 45
"dodgeRight"Symbol 886 MovieClip Frame 60
"dodgeDown"Symbol 886 MovieClip Frame 75
"jumpAttackLeft"Symbol 886 MovieClip Frame 90
"jumpAttackRight"Symbol 886 MovieClip Frame 115
"standingAttack"Symbol 886 MovieClip Frame 140
"violentReaction"Symbol 886 MovieClip Frame 170
"slashHeadDeath"Symbol 886 MovieClip Frame 190
"slashTorsoDeath"Symbol 886 MovieClip Frame 235
"slashFeetDeath"Symbol 886 MovieClip Frame 280
"stabFrontDeath"Symbol 886 MovieClip Frame 325
"stabSideDeath"Symbol 886 MovieClip Frame 370
"stand"Symbol 897 MovieClip Frame 40
"moveLeft"Symbol 897 MovieClip Frame 70
"moveRight"Symbol 897 MovieClip Frame 85
"blockUp"Symbol 897 MovieClip Frame 100
"blockdown"Symbol 897 MovieClip Frame 125
"alert"Symbol 897 MovieClip Frame 150
"attack"Symbol 897 MovieClip Frame 170
"violentReaction"Symbol 897 MovieClip Frame 200
"slashHeadDeath"Symbol 897 MovieClip Frame 220
"slashTorsoDeath"Symbol 897 MovieClip Frame 265
"slashFeetDeath"Symbol 897 MovieClip Frame 310
"stabFrontDeath"Symbol 897 MovieClip Frame 355
"stabSideDeath"Symbol 897 MovieClip Frame 400
"stand"Symbol 917 MovieClip Frame 50
"moveLeft"Symbol 917 MovieClip Frame 85
"moveRight"Symbol 917 MovieClip Frame 115
"bite"Symbol 917 MovieClip Frame 155
"violentReaction"Symbol 917 MovieClip Frame 210
"slashHeadDeath"Symbol 917 MovieClip Frame 230
"slashTorsoDeath"Symbol 917 MovieClip Frame 275
"slashFeetDeath"Symbol 917 MovieClip Frame 320
"stabFrontDeath"Symbol 917 MovieClip Frame 365
"stabSideDeath"Symbol 917 MovieClip Frame 366
"restartAttack"Symbol 930 MovieClip Frame 17
"explode"Symbol 930 MovieClip Frame 56
"noSound"Symbol 964 MovieClip Frame 1
"tease0"Symbol 964 MovieClip Frame 10
"tease1"Symbol 964 MovieClip Frame 20
"tease2"Symbol 964 MovieClip Frame 30
"respawn"Symbol 1079 MovieClip Frame 3
"StandStill"Symbol 1166 MovieClip Frame 1
"Movement"Symbol 1166 MovieClip Frame 25
"Punch1"Symbol 1166 MovieClip Frame 45
"Punch2"Symbol 1166 MovieClip Frame 63
"Punch3"Symbol 1166 MovieClip Frame 79
"Fall"Symbol 1166 MovieClip Frame 94
"StandStill"Symbol 1177 MovieClip Frame 1
"Movement"Symbol 1177 MovieClip Frame 20
"Punch1"Symbol 1177 MovieClip Frame 44
"Punch2"Symbol 1177 MovieClip Frame 58
"Punch3"Symbol 1177 MovieClip Frame 73
"Pain1"Symbol 1177 MovieClip Frame 88
"Pain2"Symbol 1177 MovieClip Frame 89
"Fall"Symbol 1177 MovieClip Frame 113
"Recover"Symbol 1177 MovieClip Frame 126

Dynamic Text Variables

loadingTextSymbol 145 EditableText"Loading 5124k of 5124k"
estimateSymbol 146 EditableText"Loading 5124k of 5124k"
HSTIME4Symbol 303 EditableText""
HSWAVE4Symbol 304 EditableText""
HSNAME4Symbol 305 EditableText""
HSTIME1Symbol 307 EditableText""
HSWAVE1Symbol 308 EditableText""
HSNAME1Symbol 309 EditableText""
HSTIME2Symbol 311 EditableText""
HSWAVE2Symbol 312 EditableText""
HSNAME2Symbol 313 EditableText""
HSTIME3Symbol 315 EditableText""
HSWAVE3Symbol 316 EditableText""
HSNAME3Symbol 317 EditableText""
HSTIME5Symbol 319 EditableText""
HSWAVE5Symbol 320 EditableText""
HSNAME5Symbol 321 EditableText""
HSTIME6Symbol 323 EditableText""
HSWAVE6Symbol 324 EditableText""
HSNAME6Symbol 325 EditableText""
HSTIME7Symbol 327 EditableText""
HSWAVE7Symbol 328 EditableText""
HSNAME7Symbol 329 EditableText""
HSTIME0Symbol 331 EditableText""
HSWAVE0Symbol 332 EditableText""
HSNAME0Symbol 333 EditableText""
nextBishojoSymbol 365 EditableText"Enter Name Here"
att3Symbol 441 EditableText"999"
att3cSymbol 442 EditableText"999"
att2Symbol 446 EditableText"00"
att1Symbol 451 EditableText"999"
att1cSymbol 452 EditableText"999"
att0Symbol 457 EditableText"00"
playerCodeSymbol 498 EditableText""
messageTextSymbol 608 EditableText"......"
messageSymbol 669 EditableText"Scroll\nPart of the writings of a secret sword technique"
tooltipsSymbol 673 EditableText"hp+25"
barMaximumSymbol 682 EditableText"120"
barCurrentSymbol 683 EditableText"120"
barMaximumSymbol 688 EditableText"120"
barCurrentSymbol 689 EditableText"120"
bNameSymbol 960 EditableText"Ayame:"
subtitleSymbol 1070 EditableText""
titleSymbol 1071 EditableText""
milsecSymbol 1080 EditableText"00"
secSymbol 1081 EditableText"00"
minuSymbol 1082 EditableText"00"
playerPassSymbol 1120 EditableText""
gameHintSymbol 1124 EditableText"You win! time wave too white for you?"
roninWaveSymbol 1132 EditableText"0"
roninModTimeSymbol 1133 EditableText"Unknown Ronin"
roninNameSymbol 1136 EditableText"Unknown Ronin"




http://swfchan.com/3/11679/info.shtml
Created: 6/6 -2019 23:30:31 Last modified: 6/6 -2019 23:30:31 Server time: 14/11 -2024 23:35:13