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

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

Panftr Player.swf

This is the info page for
Flash #249773

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


Text
Loading... 0 Percent

<p align="left"></p>

(Select Enemy)

Help

Quality

Slow

Pause

LEVEL NAME AND
LEVEL DESCRIPTION
5 FLOORS 48 ROOMS

SET HP

000000

000000

RE - HP

PlayerCURRENTSTATUS

Pan

Enemy CURRENTSTATUS

Enemy Name

NEW ENEMY

volume

LEVEL NAME AND
LEVEL DESCRIPTION
5 FLOORS 48 ROOMS

SET HP

000000

000000

RE - HP

PlayerCURRENTSTATUS

Enemy CURRENTSTATUS

Enemy Name

New ENEMY

BACK

GET LIST

EXTERNAL ENEMY URL LIST

LOAD LIST

<EXTERNAL URL>

LOADING

hurrhurr imma gryphon

SCORE: 0

<EXTERNAL URL>

WARNING: LOTS of VORE

Alsnapz 2015/08/28

Cheats(?):
hold w/a/s/d to control enemy attacks
Home slows framerate
Insert pauses!

Cheats(?):
hold w/a/s/d to control enemy attacks
Home slows framerate
Insert pauses!

Warning!
Sounds!

Play

Movement: Arrow Keys
Attack: Space+Arrow Keys
Arrows to Struggle
Attack+Arrows to Control
Rapidly Tap Down to change Mode
New Enemy button Changes Enemy
RE-HP Refills health

Panftr

ActionScript [AS1/AS2]

Frame 1
System.security.allowDomain("*"); if (_root != this) { this.onEnterFrame = function () { stop(); if (getBytesLoaded() < getBytesTotal()) { } else { this.onEnterFrame = function () { _root.controller.syncInsidePlayer(this); }; gotoAndStop ("rootCache"); } }; stop(); } else { gotoAndPlay ("rootLoad"); }
Instance of Symbol 3 MovieClip in Frame 2
onClipEvent (enterFrame) { if (_root.getBytesLoaded() < _root.getBytesTotal()) { this._xscale = 4500 * (_root.getBytesLoaded() / _root.getBytesTotal()); } else { _root.play(); } _parent.loadtext = ("Loading... " + (Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 1000) / 10)) + " Percent"; }
Frame 4
function colorize(obje, passr, passg, passb, passa) { tempc = new Color(eval (obje)); tempc = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; tempc.rb = passr; tempc.gb = passg; tempc.bb = passb; tempc.ab = passa; eval (obje).Acolor = tempc; eval (obje).Ccolor = new Color(eval (obje)); eval (obje).Ccolor.setTransform(eval (obje).Acolor); } GLOBAL_PLAYERGRAPHIC = 1; GLOBAL_PLAYERSUBGRAPHIC = 1; GLOBAL_ASSISTANCE = 0; GLOBAL_SANDBOXTYPE = System.security.sandboxType; System.security.allowDomain("*");
Frame 5
flashTraceFilters = function (mc) { var _local2 = mc.filters; for (var _local4 in _local2) { var _local1 = _local2[_local4]; trace((("Filter: " + typeof(_local1)) + " ") + _local4); for (var _local3 in _local1) { trace((("\t" + _local3) + ": ") + _local1[_local3]); } if (_local1 instanceof flash.filters.GradientBevelFilter) { scode = ""; scode = scode + "new flash.filters.GradientBevelFilter( "; scode = scode + (_local1.distance + ", "); scode = scode + (_local1.angle + ", "); scode = scode + (("Array(" + _local1.colors) + "), "); scode = scode + (("Array(" + _local1.alphas) + "), "); scode = scode + (("Array(" + _local1.ratios) + "), "); scode = scode + (_local1.blurX + ", "); scode = scode + (_local1.blurY + ", "); scode = scode + (_local1.strength + ", "); scode = scode + (_local1.quality + ", "); scode = scode + (("\"" + _local1.type) + "\", "); scode = scode + _local1.knockout; scode = scode + " )"; trace(scode); } } }; flashApplyFilter = function (MC, filtobject) { var _local1 = []; _local1.push(filtobject); MC.filters = _local1; }; flashApplyFilters = function (MC, filtlist) { var _local2 = []; for (obj in filtlist) { _local2.push(filtlist[obj]); } MC.filters = _local2; }; flashColorize = function (obj, r, g, b, al) { var _local2 = new flash.geom.Transform(obj); if (al == undefined) { al = 1; } var _local1 = new flash.geom.ColorTransform(r, g, b, al, 0, 0, 0, 0); _local2.colorTransform = _local1; return(_local1); }; onEnterFrame = function () { gamescore = "Score: " + minigame.entertainor.gGameScore; }; stop();
Frame 7
stop();
Frame 9
var m_input_raw_mouse_x = _xmouse; var m_input_raw_mouse_y = _ymouse; var m_input_raw_mouse_dx = 0; var m_input_raw_mouse_dy = 0; var m_input_raw_mouse_down = 0; var m_input_raw_mouse_clicked = 0; var m_input_raw_mouse_wheel = 0; var m_input_keys_active = new Object(); var m_game_mouse_listener = new Object(); m_game_mouse_listener.onMouseMove = function () { var _local2 = _xmouse; var _local1 = _ymouse; m_input_raw_mouse_dx = _local2 - m_input_raw_mouse_x; m_input_raw_mouse_dy = _local1 - m_input_raw_mouse_y; m_input_raw_mouse_x = _local2; m_input_raw_mouse_y = _local1; }; m_game_mouse_listener.onMouseDown = function () { if (m_input_raw_mouse_down == 0) { m_input_raw_mouse_clicked = 1; } m_input_raw_mouse_down = m_input_raw_mouse_down + 1; }; m_game_mouse_listener.onMouseUp = function () { m_input_raw_mouse_down = 0; }; m_game_mouse_listener.onMouseWheel = function (vdelta) { m_input_raw_mouse_wheel = m_input_raw_mouse_wheel + vdelta; }; Mouse.addListener(m_game_mouse_listener); stop();
Instance of Symbol 70 MovieClip "controller" in Frame 9
onClipEvent (load) { function _loadSyncClipInto(uclipDST, path) { var mclListener = new Object(); mclListener.loaded = false; mclListener.onLoadInit = function (target_mc) { mclListener.loaded = true; }; mclListener.onLoadComplete = function (target_mc, httpStatus) { }; mclListener.onLoadProgress = function (target_mc, errorCode, httpStatus) { }; mclListener.onLoadError = function (target_mc, errorCode, httpStatus) { trace((("onLoadError: " + errorCode) + " ") + httpStatus); }; var _local1 = new MovieClipLoader(); _local1.addListener(mclListener); _local1.loadClip(path, uclipDST); mclListener.loader = _local1; return(mclListener); } function syncInsidePlayer(fromwhere) { fromwhere._syncInsidePlayer = 1; } function _updateVictimSyncInternalClip(CO) { CO.toanim.gotoAndStop(CO.anim); CO.toanim.aniclip.gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC); var _local3 = CO.clip.transform; var _local4 = new flash.geom.Matrix(); CO.toanim.transform = _local3; CO.toanim.aniclip.mc.stop(); } function _updateVictimSyncInternalClipNextframe(CO) { var _local2 = CO.toanim.aniclip.mc._currentframe; CO.toanim.aniclip.mc.nextFrame(); var _local3 = CO.toanim.aniclip.mc._currentframe; if (_local3 == _local2) { CO.toanim.aniclip.mc.gotoAndStop(1); } } function updateVictimSync(from) { if (from.loaded != 1) { from.loaded = 0; if (from.mc == undefined) { from.createEmptyMovieClip("mc", 0); from.mapClips = new Object(); if (GLOBAL_LOCALSCOPE) { from._attachedLoader = _loadSyncClipInto(from.mc, GLOBAL_SWF_NAME); } else { from._attachedLoader = _loadSyncClipInto(from.mc, GLOBAL_SWF_URL); } } if (from._attachedLoader != undefined) { if (from._attachedLoader.loaded) { if (from.mc._syncInsidePlayer == 1) { from.loaded = 1; } } } from.mc._visible = false; from._visible = false; } if (from.loaded == 1) { from.mc._visible = true; from._visible = true; if (_root.controller.GLOBAL_SHOW_PLAYER_INSIDEPLUS) { if (from.mc.SPECIALPLAYER == undefined) { from.mc.attachMovie("mcPlayer", "SPECIALPLAYER", from.mc.getNextHighestDepth()); } else { _root.controller.GLOBALUPDATECOX[String(from.mc.SPECIALPLAYER)] = from.mc.SPECIALPLAYER; } } var _local3 = new Object(); for (var _local4 in from.mapClips) { if (from.mapClips[_local4].clip._visible == undefined) { _local3[_local4] = 1; } } for (var _local4 in _local3) { from.mapClips[_local4].toanim.removeMovieClip(); delete from.mapClips[_local4]; } for (var _local4 in from.mapClips) { _updateVictimSyncInternalClip(from.mapClips[_local4]); if (!isPaused()) { _updateVictimSyncInternalClipNextframe(from.mapClips[_local4]); } } } } function updateVictimSyncClip(from, anim) { var _local5 = getEnemyGSync(from); var _local2 = _local5.VICSYNC; if (_local2 != undefined) { var _local1 = String(from); var _local3; if (_local2.mapClips.hasOwnProperty(_local1)) { _local3 = _local2.mapClips[_local1].toanim; } else { _local2.mapClips[_local1] = new Object(); _local2.mapClips[_local1].clip = from; _local2.mapClips[_local1].anim = anim; _local2.mapClips[_local1].toanim = _local3; _local2.mapClips[_local1].key = _local1; } _local2.mapClips[_local1].clip = from; _local2.mapClips[_local1].anim = anim; _local2.mapClips[_local1].key = _local1; if (_local3 == undefined) { _local3 = _local2.mc.attachMovie("mcPlayer", _local1, _local2.mc.getNextHighestDepth()); } _local2.mapClips[_local1].toanim = _local3; _updateVictimSyncInternalClip(_local2.mapClips[_local1]); } else { trace((("updateVictimSyncClip: No VICSYNC " + anim) + " ") + from); } } function displayHelp() { _root.GLOBAL_ASSISTANCE = 1; GLOBAL_ASSISTANCE_TIMER = 0; Log("Use arrow keys and spacebar"); } function _extSetup(T, D) { var _local5; var _local2 = T._parent; if (T == T.G._parent.enemyshad.t.enemy) { trace((((T + " ") + T._parent) + " ") + T.G); trace("Ext setup was shadow!"); } else if (T == T.G._parent.enemyshad.t.enemy.enemy) { trace((((T + " ") + T._parent) + " ") + T.G); trace("Ext setup was shadow from correct external clip!"); } else { trace("Ext setup called: " + T); for (var _local4 in D) { _local2[_local4] = D[_local4]; } _local2.hp = _local2.maxhp; T.in_movex = 0; T.in_movey = 0; T.in_action = 0; if (D.in_movex != undefined) { T.in_movex = D.in_movex; } if (D.in_movey != undefined) { T.in_movey = D.in_movey; } if (D.in_action != undefined) { T.in_action = D.in_action; } T.s_atktype = 0; T.s_animbusy = 0; T.s_idle = 1; T.s_moving = 0; T.s_attacking = 0; T.s_hit = 0; T.s_vx = 0; _local2.ignore_hitweak = -1; _local2.ignore_hitanim = false; _local2.ignore_hitanimonly = false; _local2.hatk_original = _local2.hatk; _local2.matk_original = _local2.matk; _local2.latk_original = _local2.latk; _local2.hdef_original = _local2.hdef; _local2.mdef_original = _local2.mdef; _local2.ldef_original = _local2.ldef; _local2.hatk_original = _local2.hatk; T.is_external = true; T.is_external_loaded = 0; _local2._xscale = 100; _local2._yscale = 100; T._xscale = 100; T._yscale = 100; _local5 = "idle"; } if (D.m_scale == undefined) { _local2.m_scale = 100; } var _local6 = 100 * (100 / _local2.m_scale); T.onEnterFrame = function () { }; if (_local5 != undefined) { T.gotoAndPlay(_local5); } T._xscale = _local6; T._yscale = _local6; } function goPlay(target, animm) { var _local1; var _local2; if ((target != undefined) and (animm != undefined)) { _local1 = target; _local2 = animm; } else if (target != undefined) { trace((("Reassigned target to enemy: " + target) + " ") + animm); _local1 = getEnemyT(GLOBAL_ENEMY); _local2 = target; } else { trace(((" goPlay has bad arguments: " + target) + " ") + animm); } if (_local1.__animmap == undefined) { _local1.__animmap = new Object(); } if (_local1.__animnamemap == undefined) { _local1.__animnamemap = new Object(); } if (_local1.__aniprefix != undefined) { _local2 = _local1.__aniprefix + _local2; } if (!_local1.__animmap.hasOwnProperty(_local1._currentframe)) { _local1.__animmap[_local1._currentframe] = new Object(); } _local1.__animcurrent = _local2; _local1.gotoAndPlay(_local2); _local1.__animmap[_local1._currentframe][_local2] = 0; if (!_local1.__animnamemap.hasOwnProperty(_local2)) { _local1.__animnamemap[_local2] = new Object({fmin:_local1._currentframe, fmax:_local1._currentframe}); } var _local3 = _local1.__animnamemap[_local2]; if (_local1._currentframe > _local3.fmax) { _local3.fmax = _local1._currentframe; } if (_local1._currentframe < _local3.fmin) { _local3.fmin = _local1._currentframe; } } function enemyCurrAnim() { return(getEnemyT(GLOBAL_ENEMY).__animcurrent); } function playerCurrAnim() { return(GLOBAL_PLAYER.__animcurrent); } function enemyPlay(thisone) { goPlay(getEnemyT(GLOBAL_ENEMY), thisone); } function goPlayGetMinFrame(target, aname) { if (target.__animmap != undefined) { if (target.__animmap.hasOwnProperty(aname)) { return(target.__animnamemap[aname].fmin); } } return(undefined); } function goPlayGetMaxFrame(target, aname) { if (target.__animmap != undefined) { if (target.__animmap.hasOwnProperty(aname)) { return(target.__animnamemap[aname].fmax); } } return(undefined); } function fixURL(url) { if (GLOBAL_LOCALSCOPE) { } else if (GLOBAL_USEHTTPS) { if (url.indexOf("http:") == 0) { url = "https" + url.substring(4); } } else if (url.indexOf("https:") == 0) { url = "http" + url.substring(5); } return(url); } function _loadGui(targ, url, usermessage) { var tp = targ._parent; tp.controllerClip = _root.controller; tp.MovieClipLoaderURL = url; tp.MovieClipLoaderStatus = 0; tp.onLoadInit = function (target_mc) { target_mc._visible = false; target_mc.stop(); target_mc.G = _root.controller; tp.MovieClipLoaderStatus = 3; }; tp.onLoadComplete = function (target_mc, httpStatus) { tp.MovieClipLoaderStatus = 2; }; tp.onLoadProgress = function (target_mc, errorCode, httpStatus) { tp.MovieClipLoaderStatus = 1; }; tp.onLoadError = function (target_mc, errorCode, httpStatus) { trace("Could not load gui: " + tp.MovieClipLoaderURL); Log("Could not load gui: " + tp.MovieClipLoaderURL); tp.MovieClipLoaderStatus = -1; }; var _local2 = new MovieClipLoader(); _local2.addListener(tp); targ._visible = false; _local2.loadClip(url, targ); } function _loadMovie(targ, url, usermessage) { var tp = targ._parent; GLOBAL_ENEMY.is_external_loaded = 0; tp.controllerClip = _root.controller; tp.MovieClipLoaderURL = url; tp.onLoadInit = function (target_mc) { target_mc.stop(); }; tp.onLoadComplete = function (target_mc, httpStatus) { }; tp.onLoadProgress = function (target_mc, errorCode, httpStatus) { }; tp.onLoadError = function (target_mc, errorCode, httpStatus) { trace("Could not load: " + tp.MovieClipLoaderURL); Log("Could not load: " + tp.MovieClipLoaderURL); var _local2 = 0; while (_local2 < tp.controllerClip.GLOBAL_LOADEEMS.length) { if (tp.controllerClip.GLOBAL_LOADEEMS[_local2] == tp.MovieClipLoaderURL) { var _local3 = true; var _local1 = 0; while (_local1 < tp.controllerClip.GLOBAL_LOADEEMS_BROKEN.length) { if (tp.controllerClip.GLOBAL_LOADEEMS_BROKEN[_local1] == tp.MovieClipLoaderURL) { _local3 = false; break; } _local1++; } if (_local3) { tp.controllerClip.GLOBAL_LOADEEMS_BROKEN.push(tp.MovieClipLoaderURL); } } _local2++; } }; var _local5 = new MovieClipLoader(); _local5.addListener(tp); _local5.loadClip(url, targ); } function cameraComputeZoomScale(targetclip) { var _local6 = targetclip._x - _parent.camControl._x; var _local3 = targetclip._y - _parent.camControl._y; var _local5 = (120 + ((1 - GLOBAL_CAMERA_ZOOMPLAYER) * (GLOBAL_FLOOR - 120))) - _parent.camControl._y; var _local7 = -(targetclip._y - GLOBAL_FLOOR); var _local2 = _local7 / ((GLOBAL_CAMERA_ZOOMPLAYER * 240) / 2); if (_local2 > 1) { _local2 = 1; } if (_local2 < 0) { _local2 = 0; } _local3 = (_local2 * _local3) + ((1 - _local2) * _local5); _parent.camControl._x = _parent.camControl._x + _local6; _parent.camControl._y = _parent.camControl._y + _local3; _parent.camControl._xscale = _parent.camControl._xscale * GLOBAL_CAMERA_ZOOMPLAYER; _parent.camControl._yscale = _parent.camControl._yscale * GLOBAL_CAMERA_ZOOMPLAYER; } function isPaused() { if (GLOBAL_PAUSE or GLOBAL_TRUEPAUSE) { return(true); } return(false); } function mcPointToLocal(mc, px, py) { var _local5 = new flash.geom.Point(px, py); if (mc != undefined) { var _local6 = new Array(); var _local8 = this._parent; var _local2 = mc; while (_local2 != _local8) { _local6.unshift(_local2); _local2 = _local2._parent; } var _local4 = 0; var _local7 = _local6.length; while (_local4 != _local7) { _local2 = _local6[_local4]; var _local3 = _local2.transform.matrix.clone(); _local3.invert(); _local5 = _local3.transformPoint(_local5); _local4++; } } return(Object({_x:_local5.x, _y:_local5.y})); } function mcPointToGlobal(mc, px, py) { var _local4 = new flash.geom.Point(px, py); if (mc != undefined) { var _local5 = this._parent; var _local2 = mc; while (_local2 != _local5) { var _local3 = _local2.transform.matrix; _local4 = _local3.transformPoint(_local4); _local2 = _local2._parent; } } return(Object({_x:_local4.x, _y:_local4.y})); } function rand(nval, pval) { if (pval == undefined) { if (nval == undefined) { return(Math.random()); } if (nval > 0) { return(Math.floor(nval * Math.random())); } if (nval == 0) { } } return(0); } function chance(percent) { if (percent != undefined) { return((100 * Math.random()) < percent); } return((100 * Math.random()) < 50); } function smoothChanceDown(healthpercent) { var _local1 = 100 - healthpercent; if (_local1 > 0) { if (_local1 < 100) { return(chance(_local1)); } return(true); } return(false); } function smoothChanceUp(healthpercent) { var _local1 = healthpercent; if (_local1 > 0) { if (_local1 < 100) { return(chance(_local1)); } return(true); } return(false); } function chanceSmoothLess(percent, lowpercent) { if (percent <= lowpercent) { return(true); } if (lowpercent < 100) { (percent - lowpercent) / (100 - lowpercent); } else { return(true); } } function chanceCall(percent, functionptr, arg0, arg1, arg2, arg3, arg4, arg5, arg6) { if (chance(percent)) { functionptr(arg0, arg1, arg2, arg3, arg4, arg5, arg6); return(true); } return(false); } function histFromObject(A) { var _local4 = new Array(); var _local2 = new Array(); for (akey in A) { _local2.push(akey); } _local2.sort(); var _local1 = 0; while (_local1 < _local2.length) { _local4.push(A[_local2[_local1]]); _local1++; } return(_local4); } function histToUnityRange(A) { var _local3 = 0; var _local4 = 0; var _local5 = 0; for (akey in A) { var _local1 = A[akey]; if (_local1 < _local3) { _local3 = _local1; } if (_local1 > _local4) { _local4 = _local1; } _local5 = _local5 + _local1; } _local4 = _local4 / _local5; _local3 = _local3 / _local5; if (_local3 < _local4) { var _local6 = new Object(); var _local7 = _local4 - _local3; for (akey in A) { _local6[akey] = ((A[akey] / _local5) - _local3) / _local7; } return(histFromObject(_local6)); } return(histFromObject(A)); } function histSelect(distofanims) { var _local2 = new Array(); var _local9 = new Array(); var _local4 = 0; var _local8 = 0; for (akey in distofanims) { var _local1 = distofanims[akey]; _local2.push(_local1); _local9.push(akey); if (_local1 < _local4) { _local4 = _local1; } if (_local1 > _local8) { _local8 = _local1; } } if (_local4 < _local8) { var _local7 = 0; var _local3 = 0; while (_local3 < _local2.length) { var _local6 = _local2[_local3] - _local4; _local7 = _local7 + _local6; _local2[_local3] = _local7; _local3++; } var _local10 = Math.random() * _local7; _local3 = 0; while (_local3 < _local2.length) { if (_local2[_local3] > _local10) { return(_local9[_local3]); } _local3++; } } for (var _local11 in distofanims) { return(_local11); } return(undefined); } function histBlend(A, B, factor) { if (A.length == B.length) { var _local2 = histToUnityRange(A); var _local4 = histToUnityRange(B); var _local3 = new Array(_local2.length); var _local1 = 0; while (_local1 < _local2.length) { _local3[_local1] = _local2[_local1] + (factor * (_local4[_local1] - _local2[_local1])); _local1++; } return(histToUnityRange(_local3)); } return(histFromObject(A)); } function setPlayerName(uname) { GLOBAL_PLAYER.m_name = uname; } function setPlayerGraphic(sid, subid) { if (sid < 1) { sid = 1; } sid = sid % GLOBAL_MAX_PLAYERGRAPHIC; if (sid < 1) { sid = 1; } _root.GLOBAL_PLAYERGRAPHIC = sid; if (subid != undefined) { _root.GLOBAL_PLAYERSUBGRAPHIC = subid; } } function getPlayerGraphic() { return(_root.GLOBAL_PLAYERGRAPHIC); } function getPlayerSubGraphic() { return(_root.GLOBAL_PLAYERSUBGRAPHIC); } function getPlayerMode() { return(GLOBAL_PLAYER_MODE); } function isPlayerFacingEnemy() { var _local1 = GLOBAL_ENEMY._xscale > 0; var _local2 = GLOBAL_PLAYER._xscale > 0; return(_local1 != _local2); } function playerFacing() { if (GLOBAL_PLAYER._xscale >= 0) { return(1); } return(-1); } function enemyFacing() { if (GLOBAL_ENEMY._xscale >= 0) { return(1); } return(-1); } function enemyFacingRight() { return(GLOBAL_ENEMY._xscale >= 0); } function enemyFacingLeft() { return(GLOBAL_ENEMY._xscale < 0); } function playerInputX() { return(GLOBAL_PLAYER.in_movex); } function playerInputY() { return(GLOBAL_PLAYER.in_movey); } function playerInputA() { return(GLOBAL_PLAYER.in_action); } function playerTapReset() { GLOBAL_PLAYER_TAPS.L = 2; GLOBAL_PLAYER_TAPS.R = 2; GLOBAL_PLAYER_TAPS.U = 2; GLOBAL_PLAYER_TAPS.D = 2; GLOBAL_PLAYER_TAPS.B = 2; } function playerTapGet() { var _local1 = ""; for (var _local2 in GLOBAL_PLAYER_TAPS) { if (GLOBAL_PLAYER_TAPS[_local2] == 1) { _local1 = _local1 + _local2; } } return(_local1); } function getPlayerRelativeMovement(option) { if (option == undefined) { option = 0; } var _local2 = GLOBAL_PLAYER; var _local6 = GLOBAL_ENEMY; var _local4 = _local6._xscale > 0; var _local1 = ""; var _local3 = ""; if (_local2.in_action) { _local1 = "B"; _local3 = _local3 + "B"; } _local3 = _local1; if (_local2.in_movex < 0) { if (_local4) { _local1 = _local1 + "L"; } else { _local1 = _local1 + "R"; } _local3 = _local1; } else if (_local2.in_movex > 0) { if (_local4) { _local1 = _local1 + "R"; } else { _local1 = _local1 + "L"; } _local3 = _local1; } else if (_local2.in_movey < 0) { _local1 = _local1 + "D"; } else if (_local2.in_movey > 0) { _local1 = _local1 + "U"; } if (_local1 == "") { } if (option == 1) { if (_local2.in_movey < 0) { _local3 = _local3 + "D"; } else if (_local2.in_movey > 0) { _local3 = _local3 + "U"; } return(_local3); } return(_local1); } function getNextAnimation(AO, RM) { var _local2 = ""; if (AO != undefined) { if (RM == "B") { if (AO.b != undefined) { _local2 = AO.b; } } else if (RM == "L") { if (AO.l != undefined) { _local2 = AO.l; } } else if (RM == "R") { if (AO.r != undefined) { _local2 = AO.r; } } else if (RM == "U") { if (AO.u != undefined) { _local2 = AO.u; } } else if (RM == "D") { if (AO.d != undefined) { _local2 = AO.d; } } else if (RM == "BL") { if (AO.bl != undefined) { _local2 = AO.bl; } } else if (RM == "BR") { if (AO.br != undefined) { _local2 = AO.br; } } else if (RM == "BU") { if (AO.bu != undefined) { _local2 = AO.bu; } } else if (RM == "BD") { if (AO.bd != undefined) { _local2 = AO.bd; } } else if (RM == "LU") { if (AO.lu != undefined) { _local2 = AO.lu; } else if (AO.l != undefined) { _local2 = AO.l; } else if (AO.u != undefined) { _local2 = AO.u; } } else if (RM == "RU") { if (AO.ru != undefined) { _local2 = AO.ru; } else if (AO.r != undefined) { _local2 = AO.r; } else if (AO.u != undefined) { _local2 = AO.u; } } else if (RM == "LD") { if (AO.ld != undefined) { _local2 = AO.ld; } else if (AO.l != undefined) { _local2 = AO.l; } else if (AO.d != undefined) { _local2 = AO.d; } } else if (RM == "RD") { if (AO.rd != undefined) { _local2 = AO.rd; } else if (AO.r != undefined) { _local2 = AO.r; } else if (AO.d != undefined) { _local2 = AO.d; } } else if (RM == "BLU") { if (AO.blu != undefined) { _local2 = AO.blu; } else if (AO.bl != undefined) { _local2 = AO.bl; } else if (AO.bu != undefined) { _local2 = AO.bu; } else if (AO.b != undefined) { _local2 = AO.b; } else if (AO.l != undefined) { _local2 = AO.l; } else if (AO.u != undefined) { _local2 = AO.u; } } else if (RM == "BRU") { if (AO.bru != undefined) { _local2 = AO.bru; } else if (AO.br != undefined) { _local2 = AO.br; } else if (AO.bu != undefined) { _local2 = AO.bu; } else if (AO.b != undefined) { _local2 = AO.b; } else if (AO.r != undefined) { _local2 = AO.r; } else if (AO.u != undefined) { _local2 = AO.u; } } else if (RM == "BLD") { if (AO.bld != undefined) { _local2 = AO.bld; } else if (AO.bl != undefined) { _local2 = AO.bl; } else if (AO.bd != undefined) { _local2 = AO.bd; } else if (AO.b != undefined) { _local2 = AO.b; } else if (AO.l != undefined) { _local2 = AO.l; } else if (AO.d != undefined) { _local2 = AO.d; } } else if (RM == "BRD") { if (AO.brd != undefined) { _local2 = AO.brd; } else if (AO.br != undefined) { _local2 = AO.br; } else if (AO.bd != undefined) { _local2 = AO.bd; } else if (AO.b != undefined) { _local2 = AO.b; } else if (AO.r != undefined) { _local2 = AO.r; } else if (AO.d != undefined) { _local2 = AO.d; } } } return(_local2); } function initDigestion(target) { _traceF1("initDigestion"); target.digeststruct = new Object(); target.digeststruct.frames = 0; target.digeststruct.curr = 0; target.digeststruct.escapes = new Array(); } function startDigestion(target, onehpperframes) { _traceF2("startDigestion"); if (target.digeststruct == undefined) { initDigestion(target); } target.digeststruct.frames = onehpperframes; } function stopDigestion(target) { _traceF1("stopDigestion"); target.digeststruct.frames = 0; target.digeststruct.curr = 0; target.digeststruct.escapes = new Array(); target.digeststruct = undefined; } function endDigestion(target) { _traceF1("endDigestion"); target.digeststruct.frames = 0; target.digeststruct.curr = 0; target.digeststruct.escapes = new Array(); target.digeststruct = undefined; } function getDigestion(target) { if (target.digeststruct == undefined) { initDigestion(target); } return(target.digeststruct); } function enemyGetAnimStruct() { if (GLOBAL_ENEMY.enemy.animstruct == undefined) { if (GLOBAL_ENEMY.enemy.enemy.animstruct == undefined) { if (GLOBAL_ENEMY.enemy.enemy.enemy.animstruct == undefined) { // unexpected jump } return(GLOBAL_ENEMY.enemy.enemy.enemy.animstruct); } else { return(GLOBAL_ENEMY.enemy.enemy.animstruct); } } else { return(GLOBAL_ENEMY.enemy.animstruct); } return(undefined); } function enemyGetDigestionStruct() { if (GLOBAL_ENEMY.enemy.digeststruct == undefined) { if (GLOBAL_ENEMY.enemy.enemy.digeststruct == undefined) { if (GLOBAL_ENEMY.enemy.enemy.enemy.digeststruct == undefined) { // unexpected jump } return(GLOBAL_ENEMY.enemy.enemy.enemy.digeststruct); } else { return(GLOBAL_ENEMY.enemy.enemy.digeststruct); } } else { return(GLOBAL_ENEMY.enemy.digeststruct); } return(undefined); } function hurtPlayer(whodoes, amount) { if (amount >= 0) { if (GLOBAL_PLAYER.hp > amount) { GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp - amount; } else { GLOBAL_PLAYER.hp = 0; } } else { healPlayer(whodoes, -amount); } } function healPlayer(whodoes, amount) { if (amount >= 0) { GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp + amount; if (GLOBAL_PLAYER.hp > GLOBAL_PLAYER.maxhp) { GLOBAL_PLAYER.hp = GLOBAL_PLAYER.maxhp; } } else { hurtPlayer(whodoes, -amount); } } function healEnemy(amount, optiona) { if (optiona != undefined) { amount = optiona; } if (amount >= 0) { GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp + amount; if (GLOBAL_ENEMY.hp > GLOBAL_ENEMY.maxhp) { GLOBAL_ENEMY.hp = GLOBAL_ENEMY.maxhp; } } else { hurtEnemy(-amount); } } function hurtEnemy(amount, optiona) { if (optiona != undefined) { amount = optiona; } if (amount >= 0) { if (GLOBAL_ENEMY.hp > amount) { GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp - amount; } else { GLOBAL_ENEMY.hp = 0; } } else { healEnemy(-amount); } } function enemySetIgnoreHits(vals) { if (vals != 0) { GLOBAL_ENEMY.ignore_hitanim = 1; } else { GLOBAL_ENEMY.ignore_hitanim = 0; } } function enemySetIgnoreWeakHits(vals) { if (vals == undefined) { GLOBAL_ENEMY.ignore_hitweak = -1; } else { GLOBAL_ENEMY.ignore_hitweak = vals; } } function enemySetDontPlayHitAnimation(vals) { if (vals != 0) { GLOBAL_ENEMY.ignore_hitanimonly = 1; } else { GLOBAL_ENEMY.ignore_hitanimonly = 0; } } function enemySetAttackHistogram(vallow, valmedium, valhigh) { if (vallow == undefined) { vallow = 0; } if (valmedium == undefined) { valmedium = 0; } if (valhigh == undefined) { valhigh = 0; } if (valhigh < 0) { valhigh = 0; } if (valmedium < 0) { valmedium = 0; } if (vallow < 0) { vallow = 0; } if (((valhigh + valmedium) + vallow) <= 0) { vallow = 0.09; valmedium = 0.71; valhigh = 0.1; } var _local1 = new Array(valhigh, vallow, valmedium); var _local5 = (_local1[0] + _local1[1]) + _local1[2]; _local1[0] = _local1[0] / _local5; _local1[1] = _local1[1] / _local5; _local1[2] = _local1[2] / _local5; GLOBAL_ENEMY_ATKUSE = _local1; } function enemySetAllowPets(doit) { GLOBAL_ALLOW_PETS = doit; } function getNumEscapes(targ) { if (targ.digeststruct != undefined) { var _local1 = targ.digeststruct; if (_local1.escapes != undefined) { return(_local1.escapes.length); } } return(0); } function toggleOption(optname) { if (GLOBAL_OPTIONS[optname] > 0) { GLOBAL_OPTIONS[optname] = 0; } else { GLOBAL_OPTIONS[optname] = 1; } } function getOption(optname) { return(GLOBAL_OPTIONS[optname]); } function setAnims(targ, AO) { if (targ.animstruct == undefined) { targ.animstruct = new Object(); } targ.animstruct = AO; } function clearAnims(targ, AO) { targ.animstruct = undefined; } function replaceEscape(targ, nextanim, inputseq, count, options) { return(setEscape(targ, nextanim, inputseq, count, options, true)); } function setEscape(targ, nextanim, inputseq, count, options, specialkey) { if (targ.digeststruct != undefined) { var _local2 = targ.digeststruct; var _local7 = new Object(); _local7.inseq = inputseq; _local7.count = count; _local7.options = options; _local7.curr = 0; _local7.anim = nextanim; _local7.inputs = new Array(); var _local9 = inputseq.split(" "); var _local1 = 0; while (_local1 < _local9.length) { var _local5 = _local9[_local1].toUpperCase(); var _local6 = ""; var _local4 = 0; while (_local4 < _local5.length) { var _local3 = _local5.charCodeAt(_local4); if ((_local3 >= 65) && (_local3 <= 90)) { _local6 = _local6 + String.fromCharCode(_local3); } _local4++; } if (_local6.length > 0) { _local7.inputs.push(_local6); } _local1++; } if (_local2.escapes == undefined) { _local2.escapes = new Array(); _local2.escapes.push(_local7); } else { var _local8 = true; _local1 = 0; while (_local1 < _local2.escapes.length) { if (_local2.escapes[_local1].anim == nextanim) { if (specialkey == true) { if (_local8 == true) { _local2.escapes[_local1].inseq = _local7.inseq; _local2.escapes[_local1].inputs = _local7.inputs; _local2.escapes[_local1].options = _local7.options; _local2.escapes[_local1].count = count; _local8 = false; } else { _local2.escapes.splice(_local1, 1); _local1--; } } else if (_local2.escapes[_local1].inseq == inputseq) { if (_local2.escapes[_local1].options == options) { _local8 = false; } } } _local1++; } if (_local8) { _local2.escapes.push(_local7); } } } } function setBlockEscape(nframes) { var _local1 = getEnemyT(GLOBAL_ENEMY); if (_local1.digeststruct != undefined) { _local1.digeststruct.blockescapes = nframes; } } function updateOnlyDigestion(target) { if (target.digeststruct != undefined) { var _local2 = target.digeststruct; if (_local2.frames > 0) { _local2.curr = _local2.curr + 1; this.hurtPlayer(target, 1 / _local2.frames); } } } function inputStringToArray(inputseq) { var _local7 = new Array(); var _local6 = inputseq.split(" "); var _local5 = 0; while (_local5 < _local6.length) { var _local3 = _local6[_local5].toUpperCase(); var _local4 = ""; var _local2 = 0; while (_local2 < _local3.length) { var _local1 = _local3.charCodeAt(_local2); if ((_local1 >= 65) && (_local1 <= 90)) { _local4 = _local4 + String.fromCharCode(_local1); } _local2++; } if (_local4.length > 0) { _local7.push(_local4); } _local5++; } return(_local7); } function genericAdjustEscapeTimes(targ, inputseq, mycallback, userarg) { if (targ.digeststruct != undefined) { var _local5 = targ.digeststruct; var _local8 = inputStringToArray(inputseq); if (_local5.escapes != undefined) { var _local6 = 0; while (_local6 < _local8.length) { var _local7 = _local8[_local6]; var _local2 = 0; while (_local2 < _local5.escapes.length) { var _local3 = _local5.escapes[_local2]; var _local4 = false; var _local1 = 0; while (_local1 < _local3.inputs.length) { if (_local3.inputs[_local1] == _local7) { _local4 = true; break; } _local1++; } if (_local4) { mycallback(_local5.escapes[_local2], userarg); } _local2++; } _local6++; } } } } function resetEscapeTimesPercent(targ, inputseq, factor) { var _local1 = function (T, user) { T.curr = user * T.count; }; return(genericAdjustEscapeTimes(targ, inputseq, _local1, factor)); } function updateDigestion(target, movedex) { var _local8 = ""; if (target.digeststruct != undefined) { var _local7 = target.digeststruct; updateOnlyDigestion(target); if (_local7.escapes != undefined) { if (movedex == "") { if (GLOBAL_PLAYER.hp < 1) { movedex = "E"; } else { movedex = "W"; } } var _local5 = 0; while (_local5 < _local7.escapes.length) { var _local1 = _local7.escapes[_local5]; var _local4 = false; var _local2 = 0; while (_local2 < _local1.inputs.length) { if (_local1.inputs[_local2] == "W") { _local4 = true; break; } _local2++; } if (_local4) { if (movedex != "W") { _local1.curr = 0; } } else { _local1.curr = _local1.curr - 0.0333333333333333; } if (_local1.curr < 0) { _local1.curr = 0; } if (movedex != undefined) { var _local6 = 0; _local2 = 0; while (_local2 < _local1.inputs.length) { if (_local1.inputs[_local2] == movedex) { _local6 = true; break; } _local2++; } if (_local6) { if (movedex == "W") { _local1.curr = _local1.curr + 0.0333333333333333; } else { _local1.curr = _local1.curr + 1; } if (_local1.curr > _local1.count) { if (_local8 == "") { _local8 = _local1.anim; _local1.curr = 0; } } } } _local5++; } } if (_local7.blockescapes != undefined) { _local7.blockescapes--; if (_local7.blockescapes < 1) { _local7.blockescapes = undefined; } } } return(_local8); } function upMapAOVars(AO) { if (AO != undefined) { if (AO.E != undefined) { if (AO.e == undefined) { AO.e = AO.E; } } if (AO.W != undefined) { if (AO.w == undefined) { AO.w = AO.W; } } if (AO.L != undefined) { if (AO.l == undefined) { AO.l = AO.L; } } if (AO.R != undefined) { if (AO.r == undefined) { AO.r = AO.R; } } if (AO.U != undefined) { if (AO.u == undefined) { AO.u = AO.U; } } if (AO.D != undefined) { if (AO.d == undefined) { AO.d = AO.D; } } if (AO.B != undefined) { if (AO.b == undefined) { AO.b = AO.B; } } if (AO.BL != undefined) { if (AO.bl == undefined) { AO.bl = AO.BL; } } if (AO.BR != undefined) { if (AO.br == undefined) { AO.br = AO.BR; } } if (AO.BU != undefined) { if (AO.bu == undefined) { AO.bu = AO.BU; } } if (AO.BD != undefined) { if (AO.bd == undefined) { AO.bd = AO.BD; } } if (AO.LU != undefined) { if (AO.lu == undefined) { AO.lu = AO.LU; } } if (AO.RU != undefined) { if (AO.ru == undefined) { AO.ru = AO.RU; } } if (AO.LD != undefined) { if (AO.ld == undefined) { AO.ld = AO.LD; } } if (AO.RD != undefined) { if (AO.rd == undefined) { AO.rd = AO.RD; } } if (AO.BLU != undefined) { if (AO.blu == undefined) { AO.blu = AO.BLU; } } if (AO.BRU != undefined) { if (AO.bru == undefined) { AO.bru = AO.BRU; } } if (AO.BLD != undefined) { if (AO.bld == undefined) { AO.bld = AO.BLD; } } if (AO.BRD != undefined) { if (AO.brd == undefined) { AO.brd = AO.BRD; } } } } function handleBasicStruggle(targ, AO) { if (targ.animstruct != undefined) { if (AO == undefined) { AO = targ.animstruct; } } upMapAOVars(AO); targ.animstruct = AO; if (AO != undefined) { if (GLOBAL_PLAYER.hp < 1) { if (AO.e != undefined) { goPlay(targ, AO.e); return(false); } } } var _local4 = getPlayerRelativeMovement(1); if (targ.digeststruct != undefined) { var _local5 = targ.digeststruct; if (_local5.blockescapes != undefined) { _local4 = ""; } } var _local2 = updateDigestion(targ, _local4); if (_local2 == "") { _local2 = getNextAnimation(AO, _local4); if (_local2 != "") { goPlay(targ, _local2); _traceF2((("Handle digest update, play this: " + _local2) + " from ") + targmoveindex); return(true); } _traceF2((("Handle digest update, play this digest: " + _local2) + " from ") + targmoveindex); } else { goPlay(targ, _local2); return(true); } return(false); } function actGet(target) { var _local1 = new Object(); _local1.idle = target.s_idle; _local1.attack = target.s_atktype; _local1.busy = target.s_animbusy; _local1.moving = target.s_moving; _local1.attacking = target.s_attacking; _local1.hit = target.s_hit; _local1.inputX = target.in_movex; _local1.inputY = target.in_movey; _local1.inputA = target.in_action; _local1.vx = target.s_vx; return(_local1); } function actIdle(target) { _traceF1("actIdle"); target.s_idle = 1; target.s_atktype = 0; target.s_animbusy = 0; target.s_moving = 0; target.s_attacking = 0; target.s_hit = 0; target.in_movex = 0; target.in_movey = 0; target.in_action = 0; target.s_vx = 0; } function actMove(target, uvx) { _traceF1("actMove"); target.s_idle = 0; if (uvx != undefined) { target.s_moving = uvx; } else { target.s_moving = 0; } target.s_attacking = 0; target.s_hit = 0; target.s_animbusy = 0; } function actSetMove(target, amt) { if (amt == undefined) { amt = 0; } target.s_moving = amt; } function actMoveAttack(target, uvx, attype) { _traceF1("actMoveAttack"); target.s_idle = 0; if (uvx != undefined) { target.s_moving = uvx; } else { target.s_moving = 0; } target.s_attacking = 0; target.s_hit = 0; target.s_animbusy = 0; target.s_attacking = 1; target.s_animbusy = 0; target.s_atktype = attype; } function actHurt(target, knockback) { _traceF1("actHurt"); target.s_idle = 0; target.s_moving = 0; target.s_attacking = 0; target.s_hit = 1; target.s_animbusy = 1; if (knockback != undefined) { target.s_vx = knockback; } else { target.s_vx = 0; } } function actAttack(target, type) { _traceF1("actAttack"); target.s_idle = 0; target.s_moving = 0; target.s_attacking = 1; target.s_hit = 0; target.s_animbusy = 1; target.s_atktype = type; } function actBusy(target, movex) { _traceF1("actBusy"); target.s_idle = 0; target.s_moving = 0; target.s_attacking = 0; target.s_hit = 1; target.s_animbusy = 1; if (movex != undefined) { target.s_vx = -movex; target.s_moving = -movex; } else { target.s_moving = 0; target.s_vx = 0; } } function actSetBusy(target, mv) { target.s_animbusy = mv; } function actUnbusy(target) { _traceF1("actUnbusy"); target.s_hit = 0; target.s_animbusy = 0; target.s_vx = 0; } function consumePlayer(target) { _traceF1("consumePlayer"); var _local1 = GLOBAL_PLAYER; _local1.s_consumed = 1; _local1._alpha = 0; _local1.s_animbusy = 1; _local1.s_hit = 1; _local1.s_vx = 0; _local1.in_movex = 0; _local1.in_movey = 0; _local1.in_action = 0; _local1.stop(); _local1.mc.stop(); GLOBAL_ENEMY.s_atktype = 8; } function isPlayerConsumed(target) { if (target == undefined) { target = GLOBAL_PLAYER; } if (target.s_consumed != undefined) { return(target.s_consumed > 0); } return(target._alpha < 50); } function suckPlayer(target, range, speed) { var _local3 = GLOBAL_PLAYER; var _local4 = mcPointToGlobal(target, 0, 0); var _local2 = _local4._x - _local3._x; if (Math.abs(_local2) < range) { var _local1 = 1 - Math.abs(_local2 / range); if (_local2 < 0) { _local1 = -_local1; } _local3._x = _local3._x + (speed * _local1); } } function instantKillPlayer(target) { _traceF1("instantKillPlayer"); var _local1 = GLOBAL_PLAYER; _local1.hp = 0; } function setPlayerStatus(msg) { GLOBAL_PLAYER.m_status = msg; } function setPlayerMode(newmode) { if (newmode == undefined) { GLOBAL_PLAYER_MODE++; if (GLOBAL_PLAYER_MODE > GLOBAL_PLAYER_MODE_MAX) { GLOBAL_PLAYER_MODE = 0; } } else if ((newmode >= 0) && (newmode <= GLOBAL_PLAYER_MODE_MAX)) { GLOBAL_PLAYER_MODE = newmode; } if (GLOBAL_PLAYER_MODE == 0) { setPlayerSparkAt(GLOBAL_PLAYER); setPlayerSparkPhysics("MoveUp,2"); GLOBAL_PLAYERSPARK.gotoAndPlay("number" + GLOBAL_PLAYER_MODE); } else if (GLOBAL_PLAYER_MODE == 1) { setPlayerSparkAt(GLOBAL_PLAYER); setPlayerSparkPhysics("MoveUp,2"); GLOBAL_PLAYERSPARK.gotoAndPlay("number" + GLOBAL_PLAYER_MODE); } } function pointsSetPerDamage(factor) { if (factor > 0) { GLOBAL_SCORE_ON_DAMAGE = factor; } else { GLOBAL_SCORE_ON_DAMAGE = 0; } } function pointsAdd(amount, dontuselog) { if (amount > 0) { GLOBAL_POINTS = GLOBAL_POINTS + amount; if (dontuselog == 1) { Log(((GLOBAL_PLAYER.m_name + " got ") + amount) + " points!"); } } } function pointsGet(amount) { return(GLOBAL_POINTS); } function pointsGetFightDelta(amount) { return(GLOBAL_POINTS - GLOBAL_POINTS_START); } function setHAtk(v) { GLOBAL_ENEMY.hatk = v; } function setMAtk(v) { GLOBAL_ENEMY.matk = v; } function setLAtk(v) { GLOBAL_ENEMY.latk = v; } function setHDef(v) { GLOBAL_ENEMY.hdef = v; } function setMDef(v) { GLOBAL_ENEMY.mdef = v; } function setLDef(v) { GLOBAL_ENEMY.ldef = v; } function setMaxHP(v) { GLOBAL_ENEMY.maxhp = v; } function setHP(v) { GLOBAL_ENEMY.hp = v; } function setTrophys(v) { var _local2 = GLOBAL_ENEMY._currentframe; if (!GLOBAL_TROPHYCASE.hasOwnProperty(_local2)) { GLOBAL_TROPHYCASE[_local2] = new Object(); } var _local6 = new Array(); var _local5 = 0; while (_local5 < v.length) { var _local4 = v[_local5]; _local5++; var _local1 = new Object(); _local1.got = false; _local1.frame = _local4; var _local3 = 0; for (var _local8 in GLOBAL_TROPHYCASE[_local2]) { _local3++; } _local1.index = _local3; if (GLOBAL_TROPHYCASE[_local2].hasOwnProperty(_local1.frame)) { _local1.got = GLOBAL_TROPHYCASE[_local2][_local1.frame].got; _local1.index = GLOBAL_TROPHYCASE[_local2][_local1.frame].index; } trace((((((((("Add trophy: " + _local4) + " ") + _local1.got) + " ") + _local1.frame) + " ") + _local1.index) + " ") + _local3); _local6[_local1.frame] = _local1; GLOBAL_TROPHYCASE[_local2] = _local6; } GLOBAL_TROPHYCASE[_local2] = _local6; } function winTrophy(s) { var _local1 = GLOBAL_ENEMY._currentframe; if (GLOBAL_TROPHYCASE.hasOwnProperty(_local1)) { if (GLOBAL_TROPHYCASE[_local1].hasOwnProperty(s)) { Tk = GLOBAL_TROPHYCASE[_local1][s]; Tk.got = true; return(true); } } trace("No trophy: " + s); return(false); } function wonTrophys(sa) { var _local5 = 0; var _local2 = GLOBAL_ENEMY._currentframe; if (GLOBAL_TROPHYCASE.hasOwnProperty(_local2)) { var _local3 = 0; while (_local3 < sa.length) { var _local1 = sa[_local3]; if (GLOBAL_TROPHYCASE[_local2].hasOwnProperty(_local1)) { if (GLOBAL_TROPHYCASE[_local2][_local1].got) { _local5++; } trace((("What: " + _local1) + " ") + GLOBAL_TROPHYCASE[_local2][_local1].got); } else { trace("Does not have trophy: " + _local1); } _local3++; } } else { trace("No trophys: " + _local2); } return(_local5); } function setHMLDef(vh, vm, vl) { GLOBAL_ENEMY.hdef = vh; GLOBAL_ENEMY.mdef = vm; GLOBAL_ENEMY.ldef = vl; } function setHMLAtk(vh, vm, vl) { GLOBAL_ENEMY.hatk = vh; GLOBAL_ENEMY.matk = vm; GLOBAL_ENEMY.latk = vl; } function setScaleValue(v) { GLOBAL_ENEMY.m_scale = v; GLOBAL_ENEMY.enemy.m_scale = v; getEnemyT(GLOBAL_ENEMY).m_scale = v; var _local2 = 100 * (100 / v); if (GLOBAL_ENEMY._xscale >= 0) { GLOBAL_ENEMY._xscale = 100; } else { GLOBAL_ENEMY._xscale = -100; } GLOBAL_ENEMY._yscale = 100; getEnemyT(GLOBAL_ENEMY)._xscale = _local2; getEnemyT(GLOBAL_ENEMY)._yscale = _local2; } function setName(v) { GLOBAL_ENEMY.m_name = v; } function setStatus(v) { GLOBAL_ENEMY.m_status = v; } function setCredit(v) { GLOBAL_ENEMY.m_credit = v; } function getHAtk() { return(GLOBAL_ENEMY.hatk); } function getMAtk() { return(GLOBAL_ENEMY.matk); } function getLAtk() { return(GLOBAL_ENEMY.latk); } function getHDef() { return(GLOBAL_ENEMY.hdef); } function getMDef() { return(GLOBAL_ENEMY.mdef); } function getLDef() { return(GLOBAL_ENEMY.ldef); } function getMaxHP() { return(GLOBAL_ENEMY.maxhp); } function getHP() { return(GLOBAL_ENEMY.hp); } function getScaleValue() { return(GLOBAL_ENEMY.m_scale); } function getName() { return(GLOBAL_ENEMY.m_name); } function getStatus() { return(GLOBAL_ENEMY.m_status); } function getCredit() { return(GLOBAL_ENEMY.m_credit); } function resetHAtk(v) { GLOBAL_ENEMY.hatk = GLOBAL_ENEMY.hatk_original; } function resetMAtk(v) { GLOBAL_ENEMY.matk = GLOBAL_ENEMY.matk_original; } function resetLAtk(v) { GLOBAL_ENEMY.latk = GLOBAL_ENEMY.latk_original; } function resetHDef(v) { GLOBAL_ENEMY.hdef = GLOBAL_ENEMY.hdef_original; } function resetMDef(v) { GLOBAL_ENEMY.mdef = GLOBAL_ENEMY.mdef_original; } function resetLDef(v) { GLOBAL_ENEMY.ldef = GLOBAL_ENEMY.ldef_original; } function resetMaxHP(v) { GLOBAL_ENEMY.maxhp = GLOBAL_ENEMY.maxhp_original; } function setEnemySolid(v) { if (v == 1) { GLOBAL_ENEMY.m_notsolid = undefined; } else { GLOBAL_ENEMY.m_notsolid = 1; } } function setEnemyFaceTarget(v) { if (v == 1) { GLOBAL_ENEMY.m_dontfacetarget = 0; } else { GLOBAL_ENEMY.m_dontfacetarget = 1; } } function setEnemyAIUseAttacks(v) { if (v == 1) { GLOBAL_ENEMY.m_dontattackauto = undefined; } else { GLOBAL_ENEMY.m_dontattackauto = 1; } } function setEnemyAINoAutoIdle(v) { if (v == 1) { GLOBAL_ENEMY.m_dontautoidle = 1; } else { GLOBAL_ENEMY.m_dontautoidle = undefined; } } function setEnemyRollOption(v) { GLOBAL_ENEMY.m_rolloption = v; } function getEnemyRollOption() { return(GLOBAL_ENEMY.m_rolloption); } function setPlayerHP(v) { GLOBAL_PLAYER.hp = v; } function setPlayerAbove(ynq) { if (ynq == 1) { if (GLOBAL_PLAYER.getDepth() < GLOBAL_ENEMY.getDepth()) { GLOBAL_ENEMY.swapDepths(GLOBAL_PLAYER); } } else if (GLOBAL_PLAYER.getDepth() > GLOBAL_ENEMY.getDepth()) { GLOBAL_ENEMY.swapDepths(GLOBAL_PLAYER); } } function enemyReplaceWalk(newanim) { if (newanim == undefined) { newanim = "walk"; } GLOBAL_ENEMY.replaceAnimWalk = newanim; if (getEnemyT(GLOBAL_ENEMY).__animcurrent != newanim) { goPlay(getEnemyT(GLOBAL_ENEMY), newanim); } } function syncSubclip(owner, subclip, framename, funccall) { if (GLOBAL_SYNCMAP.hasOwnProperty(subclip)) { GLOBAL_SYNCMAP[subclip].framename = framename; GLOBAL_SYNCMAP[subclip].owner = owner; GLOBAL_SYNCMAP[subclip].target = subclip; GLOBAL_SYNCMAP[subclip].ownerstring = String(owner); GLOBAL_SYNCMAP[subclip].targetstring = String(subclip).substr(GLOBAL_SYNCMAP[subclip].ownerstring.length); GLOBAL_SYNCMAP[subclip].funccall = funccall; } else { var _local2 = new Object(); _local2.framename = framename; _local2.owner = owner; _local2.target = subclip; _local2.funccall = funccall; _local2.ownerstring = String(owner); _local2.targetstring = String(subclip).substr(_local2.ownerstring.length); _local2.fixedframemap = new Object(); GLOBAL_SYNCMAP[subclip] = _local2; } } function setPreSync(func) { GLOBAL_PRESYNC = func; } function setPostSync(func) { GLOBAL_POSTSYNC = func; } function isV(key) { return(GLOBAL_VALUES.hasOwnProperty(key)); } function setValue(key, val) { if (GLOBAL_VALUES[key] != val) { _traceF1(((("setValue( " + key) + ", ") + val) + ");"); } GLOBAL_VALUES[key] = val; } function getValue(key, usedefault) { if (GLOBAL_VALUES.hasOwnProperty(key)) { return(GLOBAL_VALUES[key]); } return(usedefault); } function hasValue(key) { return(GLOBAL_VALUES.hasOwnProperty(key)); } function addValue(key, addme) { if (GLOBAL_VALUES.hasOwnProperty(key)) { if (addme != val) { _traceF1(((("addValue( " + key) + ", ") + addme) + ");"); } GLOBAL_VALUES[key] = GLOBAL_VALUES[key] + addme; return(true); } trace(("Value: " + key) + " does not exist, adding as 0"); GLOBAL_VALUES[key] = addme; return(false); } function setF(key, func) { GLOBAL_FUNCS[key] = func; } function callF(key, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { if (GLOBAL_FUNCS.hasOwnProperty(key)) { return(GLOBAL_FUNCS[key](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)); } trace(("callF: " + key) + " does not exist"); } function setAnimPrefix(target, v) { target.__aniprefix = v; } function unconsumePlayer(target, xposrel, playanim) { _traceF1("unconsumePlayer"); if (isPlayerConsumed(GLOBAL_PLAYER)) { var _local2 = GLOBAL_PLAYER; _local2.s_consumed = 0; _local2._alpha = 100; _local2.s_animbusy = 0; _local2.s_hit = 1; _local2.s_vx = 0; _local2.in_movex = 0; _local2.in_movey = 0; _local2.in_action = 0; if (playanim != undefined) { goPlay(_local2, playanim); } else { goPlay(_local2, "hitm"); } trace((((target + " ") + target._parent) + " ") + target._parent._parent); if (xposrel != undefined) { if (target._parent._parent == GLOBAL_ENEMY) { _local2._x = target._parent._parent._x + ((xposrel * (target._xscale / 100)) * (target._parent._parent._xscale / 100)); } else { _local2._x = target._parent._x + ((xposrel * (target._xscale / 100)) * (target._parent._xscale / 100)); } } else if (target._parent._parent == GLOBAL_ENEMY) { _local2._x = target._parent._parent._x + ((32 * (target._xscale / 100)) * (target._parent._parent._xscale / 100)); } else { _local2._x = target._parent._x + ((32 * (target._xscale / 100)) * (target._parent._xscale / 100)); } } } function enemySetViewBetween(doit) { if (doit == 0) { GLOBAL_SHOW_PLAYER_INSIDEPLUS_ENEMY_ENABLE = false; } else { GLOBAL_SHOW_PLAYER_INSIDEPLUS_ENEMY_ENABLE = true; } } function playerSignedDistance(target) { var _local3 = GLOBAL_ENEMY._x; var _local2 = GLOBAL_PLAYER._x; var _local4 = GLOBAL_ENEMY._xscale < 0; var _local6 = getCBox(GLOBAL_PLAYER); if (target == undefined) { target = getEnemyT(GLOBAL_ENEMY); } var _local5 = getCBox(GLOBAL_ENEMY.enemy); if ((_local6 != undefined) and (_local5 != undefined)) { A = _local6.getBounds(_root); B = _local5.getBounds(_root); if (!_local4) { _local3 = B.xMax; _local2 = A.xMin; } else { _local3 = B.xMin; _local2 = A.xMax; } } if (_local4) { return(_local3 - _local2); } return(_local2 - _local3); } function playerDistance(target) { var _local3 = getCBox(GLOBAL_PLAYER); if (target == undefined) { target = getEnemyT(GLOBAL_ENEMY); } var _local2 = getCBox(GLOBAL_ENEMY.enemy); if ((_local3 != undefined) and (_local2 != undefined)) { A = _local3.getBounds(_root); B = _local2.getBounds(_root); if ((A.xMin <= B.xMax) and (A.xMax >= B.xMin)) { if ((A.yMin <= B.yMax) and (A.yMax >= B.yMin)) { return(-Math.abs(0.5 * ((A.xMax + A.xMin) - (B.xMax + B.xMin)))); } } if (A.xMin >= B.xMax) { return(Math.abs(B.xMax - A.xMin)); } if (A.xMax <= B.xMin) { return(Math.abs(B.xMin - A.xMax)); } } return(Math.abs(GLOBAL_PLAYER._x - GLOBAL_ENEMY._x)); } function playerEnemyCenterDistance() { var _local1 = (GLOBAL_PLAYER._x - GLOBAL_ENEMY._x) * 1; if (GLOBAL_ENEMY._xscale < 0) { return(-_local1); } return(_local1); } function playerWithin(target, distance, fardistance) { if (fardistance != undefined) { var _local1 = playerDistance(target); return((_local1 >= distance) and (_local1 <= fardistance)); } return(playerDistance(target) < distance); } function playSound(soundkey, extravolume, exparam) { var _local5 = _parent.soundbank; if (extravolume != undefined) { var _local7 = new Sound(_local5); _local7.setVolume(extravolume); } else { var _local7 = new Sound(_local5); _local7.setVolume(100); } var _local4 = ""; var _local2 = 0; while (_local2 < soundkey.length) { if (soundkey.charCodeAt(_local2) == 46) { _local4 = _local4 + "_"; } else { _local4 = _local4 + soundkey.charAt(_local2); } _local2++; } var _local9 = _local5._currentframe; _local5.gotoAndPlay(1); _local5.gotoAndPlay(_local4); var _local6 = _local5._currentframe; if (_local6 == 1) { trace(((((((((((("Manual soundplay" + _local5) + ": ") + _local4) + " :") + extravolume) + " |") + exparam) + " [") + _local9) + " ") + _local6) + "]"); } } function _getRollBox(bc) { if (bc.rollbox != undefined) { return(bc.rollbox); } if (bc.rollBox != undefined) { return(bc.rollBox); } if (bc.Rollbox != undefined) { return(bc.Rollbox); } if (bc.RollBox != undefined) { return(bc.RollBox); } if (bc.ROLLBOX != undefined) { return(bc.ROLLBOX); } return(undefined); } function _getCBox(bc) { if (bc.cbox != undefined) { return(bc.cbox); } if (bc.cBox != undefined) { return(bc.cBox); } if (bc.Cbox != undefined) { return(bc.Cbox); } if (bc.CBox != undefined) { return(bc.CBox); } if (bc.CBOX != undefined) { return(bc.CBOX); } return(undefined); } function _getABox(bc) { if (bc.abox != undefined) { return(bc.abox); } if (bc.aBox != undefined) { return(bc.aBox); } if (bc.Abox != undefined) { return(bc.Abox); } if (bc.ABox != undefined) { return(bc.ABox); } if (bc.ABOX != undefined) { return(bc.ABOX); } return(undefined); } function _getSBox(bc) { if (bc.sbox != undefined) { return(bc.sbox); } if (bc.sBox != undefined) { return(bc.sBox); } if (bc.Sbox != undefined) { return(bc.Sbox); } if (bc.SBox != undefined) { return(bc.SBox); } if (bc.SBOX != undefined) { return(bc.SBOX); } return(undefined); } function _getScopelessFunc(bc, usefunc) { var _local1 = usefunc(bc); if (_local1 != undefined) { return(_local1); } _local1 = usefunc(bc.aniclip.mc); if (_local1 != undefined) { return(_local1); } _local1 = usefunc(bc.aniclip.mc.mc); if (_local1 != undefined) { return(_local1); } _local1 = usefunc(bc.enemy); if (_local1 != undefined) { return(_local1); } return(undefined); } function getCBox(mc) { return(_getScopelessFunc(mc, _getCBox)); } function getRollBox(mc) { return(_getScopelessFunc(mc, _getRollBox)); } function getABox(mc) { return(_getScopelessFunc(mc, _getABox)); } function getSBox(mc) { return(_getScopelessFunc(mc, _getSBox)); } function getEnemyT(GE) { if (GE.enemy.enemy != undefined) { return(GE.enemy.enemy); } return(GE.enemy); } function getEnemyGSync(GC) { var _local2 = GC; while (_local2.VICSYNC == undefined) { if (_local2.VICSYNC != undefined) { return(_local2); } if (_local2 == _root) { return(undefined); } _local2 = _local2._parent; } return(_local2); } function getEnemyURL(index) { if (index > GLOBAL_MAXENEMYNONEXTERNAL) { var _local1 = (index - GLOBAL_MAXENEMYNONEXTERNAL) - 1; if (_local1 < GLOBAL_LOADEEMS.length) { return(GLOBAL_LOADEEMS[_local1]); } } return(""); } function getEnemyURLIndex(index) { if (index > GLOBAL_MAXENEMYNONEXTERNAL) { var _local1 = (index - GLOBAL_MAXENEMYNONEXTERNAL) - 1; if (_local1 < GLOBAL_LOADEEMS.length) { return(_local1); } } return(-1); } function stringTrimR(s, char, flip) { if (flip == undefined) { flip = 0; } if (flip) { var _local4 = s.indexOf(char); var _local1 = _local4; while (_local4 > 0) { _local1 = _local4; _local4 = s.indexOf(char, _local1 + 1); } if (_local1 >= 0) { s = s.substr(_local1 + 1); } } else { var _local4 = s.indexOf(char); if (_local4 > 0) { s = s.substr(0, _local4); } } return(s); } function stringTrimL(s, char, flip) { if (flip == undefined) { flip = 0; } var _local1 = s.indexOf(char); var _local2 = _local1; while (_local1 > 0) { _local2 = _local1; _local1 = s.indexOf(char, _local2 + 1); } if (_local2 >= 0) { if (flip) { s = s.substr(0, _local2); } else { s = s.substr(_local2 + 1); } } return(s); } function getEnemyURLName(index) { var _local1 = ""; if (GLOBAL_ENEMY_DATA.hasOwnProperty(index)) { var _local5 = GLOBAL_ENEMY_DATA[index]; var _local4 = _local5.m_name; var _local3 = _local5.m_status; var _local2 = _local5.m_credit; if (_local4 == undefined) { _local4 = "?"; } if (_local3 == undefined) { _local3 = "?"; } if (_local2 == undefined) { _local2 = "?"; } _local1 = ((((_local4 + ", ") + _local3) + "[") + _local2) + "]"; } else { _local1 = getEnemyURL(index); _local1 = stringTrimL(_local1, "/"); _local1 = stringTrimL(_local1, ".", 1); _local1 = stringTrimL(_local1, "."); } return(_local1); } function _getScopeless(bc, targetname) { var _local1 = function (xc) { if (xc.hasOwnProperty(targetname)) { return(xc[targetname]); } return(undefined); }; return(_getScopelessFunc(bc, _local1)); } function reassignAllXClips(mc) { var _local3 = getCBox(mc); if (_local3 == mc) { _local3 = undefined; } if (_local3 != mc.cbox) { mc.cbox = _local3; } if (_local3 != mc.cBox) { mc.cBox = _local3; } if (_local3 != mc.CBox) { mc.CBox = _local3; } if (_local3 != mc.CBOX) { mc.CBOX = _local3; } var _local4 = getABox(mc); if (_local4 == mc) { _local4 = undefined; } if (_local4 != mc.abox) { mc.abox = _local4; } if (_local4 != mc.aBox) { mc.aBox = _local4; } if (_local4 != mc.ABox) { mc.ABox = _local4; } if (_local4 != mc.ABOX) { mc.ABOX = _local4; } var _local2 = getSBox(mc); if (_local2 == mc) { _local2 = undefined; } if (_local2 != mc.sbox) { mc.sbox = _local2; } if (_local2 != mc.sBox) { mc.sBox = _local2; } if (_local2 != mc.SBox) { mc.SBox = _local2; } if (_local2 != mc.SBOX) { mc.SBOX = _local2; } } function hitPlayerAttack(clip) { var _local1 = getABox(GLOBAL_PLAYER); return(_local1.hitTest(clip)); } function hitPlayerHeadCenter(clip) { return(clip.hitTest(_root.player.head.center)); } function hitPlayerHead(clip) { return(clip.hitTest(_root.player.head)); } function hitPlayerCenter(clip) { return(clip.hitTest(_root.player.centerbox)); } function hitPlayer(clip) { return(clip.hitTest(_root.player.cbox)); } function getPlayer() { return(_root.player); } function getPlayerHealthPercent() { return(100 * (_root.player.hp / 63)); } function getEnemyHealthPercent() { return(100 * (_root.enemy.hp / _root.enemy.maxhp)); } function getPlayerHP() { return(_root.player.hp); } function getEnemyHP() { return(_root.enemy.hp); } function getEnemy() { return(_root.enemy); } function getController() { return(_root.controller); } function enemyFacePlayer() { if (GLOBAL_ENEMY._x < GLOBAL_PLAYER._x) { GLOBAL_ENEMY._xscale = Math.abs(GLOBAL_ENEMY._xscale); } else { GLOBAL_ENEMY._xscale = -Math.abs(GLOBAL_ENEMY._xscale); } } function enemyGetXPosition() { return(GLOBAL_ENEMY._x); } function playerGetXPosition() { return(GLOBAL_PLAYER._x); } function enemyRecenter(atx) { if (atx == undefined) { atx = 0; } var _local2 = GLOBAL_PLAYER._x - GLOBAL_ENEMY._x; GLOBAL_ENEMY._x = atx; GLOBAL_PLAYER._x = atx + _local2; } function enemyPlaceFromPlayer(deltx, delty) { if (GLOBAL_PLAYER._xscale > 0) { GLOBAL_ENEMY._x = deltx + GLOBAL_PLAYER._x; } else { GLOBAL_ENEMY._x = (-deltx) + GLOBAL_PLAYER._x; } if (delty != undefined) { GLOBAL_ENEMY._y = delty; } } function setPlayerHasHead(v) { if (v) { _root.GLOBAL_PLAYERHEAD = 1; GLOBAL_PLAYERHASHEAD = true; } else { _root.GLOBAL_PLAYERHEAD = 0; GLOBAL_PLAYERHASHEAD = false; } } function enemyGetID() { return(GLOBAL_ENEMY._currentframe); } function enemyGetHashData(thisframe) { if (GLOBAL_ENEMY_HASHCODES.hasOwnProperty(thisframe)) { return(GLOBAL_ENEMY_HASHCODES[thisframe]); } var _local1 = new Object(); _local1.external = 0; _local1.url = ""; _local1.index = thisframe; if (thisframe > GLOBAL_MAXENEMYNONEXTERNAL) { var _local13 = (thisframe - GLOBAL_MAXENEMYNONEXTERNAL) - 1; if (_local13 < GLOBAL_LOADEEMS.length) { _local1.url = GLOBAL_LOADEEMS[_local13]; _local1.external = 1; } else { return(undefined); } } var _local12 = 2147483647 /* 0x7FFFFFFF */; var _local9 = 2147483647 /* 0x7FFFFFFF */; var _local3 = int(_local12); if (_local1.external) { _local3 = _local12; } else { _local3 = _local12 * _local1.index; } var _local5 = 0; while (_local5 < _local1.url.length) { var _local4 = _local1.url.charCodeAt(_local5); _local3 = _local3 ^ (((_local4 | (_local4 << 8)) | (_local4 << 16)) | (_local4 << 24)); _local3 = _local3 + _local9; _local5++; } _local1.hashcode = _local3; _local1.hashflip = ((((_local3 >> 24) & 255) ^ ((_local3 >> 16) & 255)) ^ ((_local3 >> 8) & 255)) ^ (_local3 & 255); _local1.red = 0; _local1.green = 0; _local1.blue = 0; var _local2 = 0; while (_local2 < 11) { var _local8 = (_local3 >> (0 + (_local2 * 3))) & 1; var _local7 = (_local3 >> (1 + (_local2 * 3))) & 1; var _local6 = (_local3 >> (2 + (_local2 * 3))) & 1; _local1.red = _local1.red << 1; _local1.green = _local1.green << 1; _local1.blue = _local1.blue << 1; _local1.red = _local1.red | _local8; _local1.green = _local1.green | _local7; _local1.blue = _local1.blue | _local6; _local2++; } _local1.red = _local1.red / 2048; _local1.green = _local1.green / 2048; _local1.blue = _local1.blue / 2048; var _local10 = Math.sqrt(((_local1.red * _local1.red) + (_local1.green * _local1.green)) + (_local1.blue * _local1.blue)); if (_local10 > 0) { _local1.red = _local1.red / _local10; _local1.green = _local1.green / _local10; _local1.blue = _local1.blue / _local10; } GLOBAL_ENEMY_HASHCODES[thisframe] = _local1; return(_local1); } function toggleQuality() { if (_root._quality == "LOW") { _root._quality = "MEDIUM"; } else if (_root._quality == "MEDIUM") { _root._quality = "HIGH"; } else { _root._quality = "LOW"; } } function toggleSlowMode() { GLOBAL_PAUSEHFR++; GLOBAL_PAUSEHFR = GLOBAL_PAUSEHFR % 4; } function legacy4Struggle(target, aright, aleft, aup, adown) { return(legacy8StruggleDist(target, aright, aleft, aup, adown, aright, aleft, aup, adown)); } function legacy8Struggle(target, aright, aleft, aup, adown, bright, bleft, bup, bdown) { return(legacy8StruggleDist(target, aright, aleft, aup, adown, bright, bleft, bup, bdown)); } function legacyRandomStruggle(target, aright, aleft, aup, adown) { var _local1 = new Object(); if (adown != undefined) { _local1[adown] = 1; } if (aup != undefined) { _local1[aup] = 1; } if (aleft != undefined) { _local1[aleft] = 1; } if (aright != undefined) { _local1[aright] = 1; } return(legacy8StruggleDist(target, _local1, _local1, _local1, _local1, _local1, _local1, _local1, _local1)); } function legacySelectAndPlay(target, distofanims) { if (typeof(distofanims) == "string") { target.gotoAndPlay(distofanims); return(true); } var _local1 = histSelect(distofanims); if (_local1 != undefined) { target.gotoAndPlay(_local1); return(true); } return(false); } function legacy4StruggleDist(target, aright, aleft, aup, adown, bright, bleft, bup, bdown) { return(legacy8StruggleDist(target, aright, aleft, aup, adown, aright, aleft, aup, adown)); } function legacy8StruggleDist(target, aright, aleft, aup, adown, bright, bleft, bup, bdown) { var _local4 = playerInputX(); var _local3 = playerInputY(); var _local5 = playerInputA(); var _local2 = enemyFacingRight(); if (_local5 != 0) { if (_local4 < 0) { if (_local2) { return(legacySelectAndPlay(target, aleft)); } return(legacySelectAndPlay(target, aright)); } if (_local4 > 0) { if (_local2) { return(legacySelectAndPlay(target, aright)); } return(legacySelectAndPlay(target, aleft)); } if (_local3 > 0) { return(legacySelectAndPlay(target, aup)); } if (_local3 < 0) { return(legacySelectAndPlay(target, adown)); } } else { if (_local4 < 0) { if (_local2) { return(legacySelectAndPlay(target, bleft)); } return(legacySelectAndPlay(target, bright)); } if (_local4 > 0) { if (_local2) { return(legacySelectAndPlay(target, bright)); } return(legacySelectAndPlay(target, bleft)); } if (_local3 > 0) { return(legacySelectAndPlay(target, bup)); } if (_local3 < 0) { return(legacySelectAndPlay(target, bdown)); } } return(false); } function _stopExtSounds() { var _local2 = new Sound(GLOBAL_ENEMY); _local2.stop(); _local2.setVolume(0); var _local3 = new Sound(GLOBAL_ENEMY.enemy); _local3.stop(); _local3.setVolume(0); var _local4 = new Sound(GLOBAL_ENEMY.enemy.enemy); _local4.stop(); _local4.setVolume(0); var _local5 = new Sound(GLOBAL_ENEMY.enemy.enemy.enemy); _local5.stop(); _local5.setVolume(0); var _local1 = new Sound(getEnemyT(GLOBAL_ENEMY)); _local1.stop(); _local1.setVolume(0); } function _startExtSounds() { var _local2 = new Sound(GLOBAL_ENEMY); _local2.stop(); _local2.setVolume(100); var _local3 = new Sound(GLOBAL_ENEMY.enemy); _local3.stop(); _local3.setVolume(100); var _local4 = new Sound(GLOBAL_ENEMY.enemy.enemy); _local4.stop(); _local4.setVolume(100); var _local5 = new Sound(GLOBAL_ENEMY.enemy.enemy.enemy); _local5.stop(); _local5.setVolume(100); var _local1 = new Sound(getEnemyT(GLOBAL_ENEMY)); _local1.stop(); _local1.setVolume(100); } function easClear() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.s_moving = 0; _local1.s_movespeed = 0; _local1.s_atktype = 0; _local1.s_moving = 0; _local1.s_attacking = 0; _local1.s_hit = 0; _local1.s_vx = 0; } function eaiActionStay() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.in_movex = 0; } function eaiActionMoveToward() { var _local1 = getEnemyT(GLOBAL_ENEMY); var _local2 = playerDistance(); if (_local2 < 0) { _local1.in_movex = -1; } else { _local1.in_movex = 1; } } function eaiActionMoveAway() { var _local1 = getEnemyT(GLOBAL_ENEMY); var _local2 = playerDistance(); if (_local2 < 0) { _local1.in_movex = 1; } else { _local1.in_movex = -1; } } function eaiActionMoveUp() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.in_movey = 1; } function eaiActionMoveDown() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.in_movey = -1; } function eaiActionAttack() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.in_action = 1; } function eaiActionAttackLow() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.in_movex = 0; eaiActionMoveDown(); _local1.in_action = 1; } function eaiActionAttackMid() { var _local1 = getEnemyT(GLOBAL_ENEMY); eaiActionMoveToward(); _local1.in_movey = 0; _local1.in_action = 1; } function eaiActionAttackHigh() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.in_movex = 0; eaiActionMoveUp(); _local1.in_action = 1; } function eaiAnimPlayIdle() { goPlay(getEnemyT(GLOBAL_ENEMY), "idle"); } function eaiAnimPlay(specific) { goPlay(getEnemyT(GLOBAL_ENEMY), specific); } function eaiActBusy() { var _local1 = getEnemyT(GLOBAL_ENEMY); _local1.in_movex = 0; _local1.in_movey = 0; _local1.in_action = 0; _local1.s_idle = 0; _local1.s_moving = 0; _local1.s_attacking = 0; _local1.s_hit = 1; _local1.s_animbusy = 1; } function _enemyAIDefault(G, enemy, player) { if (!G.isPlayerConsumed(player)) { if (((Math.abs(player._x - enemy._x) < (2 * player._width)) || (!player.s_attacking)) && ((G.getCBox(player).getBounds(_root).xMax + 16) < G.getCBox(enemy.enemy).getBounds(_root).xMin)) { G.getEnemyT(enemy).in_movex = -1 * enemy.ai; if ((Math.random() * 10) < 2) { enemy.ai = 1; } } else if (((Math.abs(player._x - enemy._x) < (2 * player._width)) || (!player.s_attacking)) && ((G.getCBox(player).getBounds(_root).xMin - 16) > G.getCBox(enemy.enemy).getBounds(_root).xMax)) { G.getEnemyT(enemy).in_movex = 1 * enemy.ai; if ((Math.random() * 10) < 2) { enemy.ai = 1; } } else { G.getEnemyT(enemy).in_movex = 0; if ((player.s_attacking && (!G.getEnemyT(enemy).s_attacking)) && (Math.abs(player._x - enemy._x) < (2 * player._width))) { enemy.ai = -1; } else if ((((G.getEnemyT(enemy).s_moving != 0) && (!G.getEnemyT(enemy).s_attacking)) && (!G.getEnemyT(enemy).s_hit)) && (!G.getEnemyT(enemy).s_animbusy)) { if (enemy.m_dontautoidle == undefined) { G.goPlay(G.getEnemyT(enemy), "idle"); } } else { var _local6 = player._x < enemy._x; var _local7 = true; var _local5 = G.histSelect(G.GLOBAL_ENEMY_ATKUSE); if (enemy.m_dontattackauto != 1) { if (_local6) { if (_local5 == 0) { G.getEnemyT(enemy).in_movex = 0; G.getEnemyT(enemy).in_movey = 1; G.getEnemyT(enemy).in_action = 1; } else if (_local5 == 1) { G.getEnemyT(enemy).in_movex = 0; G.getEnemyT(enemy).in_movey = -1; G.getEnemyT(enemy).in_action = 1; } else { G.getEnemyT(enemy).in_movex = -1; G.getEnemyT(enemy).in_movey = 0; G.getEnemyT(enemy).in_action = 1; } } else if (_local5 == 0) { G.getEnemyT(enemy).in_movex = 0; G.getEnemyT(enemy).in_movey = 1; G.getEnemyT(enemy).in_action = 1; } else if (_local5 == 1) { G.getEnemyT(enemy).in_movex = 0; G.getEnemyT(enemy).in_movey = -1; G.getEnemyT(enemy).in_action = 1; } else { G.getEnemyT(enemy).in_movex = 1; G.getEnemyT(enemy).in_movey = 0; G.getEnemyT(enemy).in_action = 1; } } } } } } function manualReset(T) { if (T._manuallyReset == undefined) { GLOBAL_DELAY_STARTNOISE = 4; var _local3 = T.getBytesLoaded() >= T.getBytesTotal(); if (_local3) { T._manuallyReset = 0; var _local2 = T._parent; _local2.m_scale = 100; _local2.m_name = "NULL"; _local2.m_status = "NULL"; _local2.m_credit = "AUTO"; _local2.maxhp = 100; _local2.hp = _local2.maxhp; T.in_movex = 0; T.in_movey = 0; T.in_action = 0; _local2.hatk = 0; _local2.matk = 0; _local2.latk = 0; _local2.hdef = 0; _local2.mdef = 0; _local2.ldef = 0; T.s_atktype = 0; T.s_animbusy = 0; T.s_idle = 1; T.s_moving = 0; T.s_attacking = 0; T.s_hit = 0; T.s_vx = 0; _local2.m_cameraoffset = 0; return(true); } trace("Force Reframe..."); T.gotoAndPlay("idle"); } return(false); } function calcShadowPosition(ycoord) { var _local2 = Math.abs(GLOBAL_FLOOR - ycoord) / 10; var _local1 = 1; if (_local2 > 1) { _local1 = 1 / _local2; if (_local1 > 1) { _local1 = 1; } } return(GLOBAL_FLOOR); } function calcShadowScale(ycoord) { var _local2 = Math.abs(GLOBAL_FLOOR - ycoord) / 10; if (_local2 > 1) { var _local1 = 1 / _local2; if (_local1 > 1) { _local1 = 1; } return(Math.sqrt(_local1)); } return(1); } function enemyClearIcon(cellid) { if (GLOBAL_ENEMY_DATA[cellid] != undefined) { if (GLOBAL_ENEMY_DATA[cellid].bitmap != undefined) { GLOBAL_ENEMY_DATA[cellid].bitmap.dispose(); } } } function enemySetIconBitmap(cellid, srcbmp, srcrect) { if (GLOBAL_ENEMY_DATA[cellid] != undefined) { if (GLOBAL_ENEMY_DATA[cellid].bitmap != undefined) { GLOBAL_ENEMY_DATA[cellid].bitmap.dispose(); } var _local2 = new flash.display.BitmapData(srcrect.width, srcrect.height, true, 0); if (srcbmp != undefined) { _local2.copyPixels(srcbmp, srcrect, new flash.geom.Point(0, 0)); } GLOBAL_ENEMY_DATA[cellid].bitmap = _local2; trace("EnemyBitmap: created " + cellid); } return(true); } function enemyGetIconBitmap(cellid) { if (GLOBAL_ENEMY_DATA[cellid] != undefined) { if (GLOBAL_ENEMY_DATA[cellid].bitmap == undefined) { if (GLOBAL_ENEMY_DATA[cellid].bitmapstring != undefined) { if (enemyLoadIconString(cellid, GLOBAL_ENEMY_DATA[cellid].bitmapstring)) { return(GLOBAL_ENEMY_DATA[cellid].bitmap); } } // unexpected jump } return(GLOBAL_ENEMY_DATA[cellid].bitmap); } var _local2 = getEnemyURLIndex(cellid); if (GLOBAL_LOADEEMS_ICONS[_local2] != undefined) { trace("Premade icon for: " + cellid); GLOBAL_ENEMY_DATA[cellid] = new Object(); GLOBAL_ENEMY_DATA[cellid].bitmapstring = GLOBAL_LOADEEMS_ICONS[_local2]; if (enemyLoadIconString(cellid, GLOBAL_ENEMY_DATA[cellid].bitmapstring)) { return(GLOBAL_ENEMY_DATA[cellid].bitmap); } } return(undefined); } function enemySetIconString(cellid, x64lzssstring) { if (GLOBAL_ENEMY_DATA[cellid] != undefined) { GLOBAL_ENEMY_DATA[cellid].bitmapstring = x64lzssstring; return(true); } return(false); } function enemyLoadIconString(cellid, x64lzssstring) { if (GLOBAL_ENEMY_DATA[cellid] != undefined) { var _local14 = function (A, i) { var _local1 = A[i]; return(_local1); }; var _local15 = function (A, i) { return((((A[i] << 24) | (A[i + 1] << 16)) | (A[i + 2] << 8)) | A[i + 3]); }; var _local20 = TexDa.arrayFromA64(x64lzssstring); var _local10 = TexDa.lzssDecompress(_local20); var _local12 = new Array(); _local12.push(_local14(_local10, 0)); _local12.push(_local14(_local10, 1)); var _local5 = 2; while (_local5 < _local10.length) { _local12.push(_local14(_local10, _local5)); _local12.push(_local15(_local10, _local5 + 1)); _local5 = _local5 + 5; } var _local11 = _local12; var _local4 = 0; var _local16 = _local11.length; var _local8 = _local11[_local4]; _local4++; var _local18 = _local11[_local4]; _local4++; enemySetIconBitmap(cellid, undefined, new flash.geom.Rectangle(0, 0, _local8, _local18)); var _local13 = GLOBAL_ENEMY_DATA[cellid].bitmap; var _local3 = 0; while (_local4 < _local16) { var _local9 = _local11[_local4]; _local4++; var _local2 = _local11[_local4]; _local4++; var _local1 = 0; while (_local1 < _local9) { var _local7 = _local3 % _local8; var _local6 = Math.floor(_local3 / _local8); if ((_local2 & 16777216) != 0) { _local2 = _local2 | -16777216; } _local13.setPixel32(_local7 + 0, _local6 + 0, _local2); _local3++; _local1++; } } GLOBAL_ENEMY_DATA[cellid].bitmapstring = x64lzssstring; return(true); } return(false); } function enemySaveIconString(cellid) { if (GLOBAL_ENEMY_DATA[cellid] != undefined) { if (GLOBAL_ENEMY_DATA[cellid].bitmap != undefined) { var _local10 = GLOBAL_ENEMY_DATA[cellid].bitmap; var _local18 = new flash.geom.Rectangle(0, 0, _local10.width, _local10.height); var _local3 = new Array(); var _local20 = Math.floor(_local18.width); var _local19 = Math.floor(_local18.height); var _local11 = Math.floor(_local18.x); var _local14 = Math.floor(_local18.y); var _local12 = _local11 + _local20; var _local16 = _local14 + _local19; var _local5 = 0; var _local1 = 0; _local3.push(_local20); _local3.push(_local19); var _local8 = _local14; while (_local8 < _local16) { var _local4 = _local11; while (_local4 < _local12) { var _local2 = _local10.getPixel32(_local4, _local8); if ((_local2 >> 24) & true) { _local2 = _local2 & 16777215; _local2 = _local2 | 16777216; } else { _local2 = 0; } if (_local2 != _local5) { if (_local1 > 0) { _local3.push(_local1); _local3.push(_local5); } _local1 = 0; } _local1++; if (_local1 > 255) { _local3.push(_local1); _local3.push(_local5); _local1 = 0; _local1++; } _local5 = _local2; _local4++; } _local8++; } if (_local1 > 0) { if (_local5 != undefined) { _local3.push(_local1); _local3.push(_local5); } } var _local13 = function (v) { return(Math.floor(v) & 255); }; var _local15 = function (v) { v = Math.floor(v); var _local1 = new Array(); _local1.push((v >> 24) & 255); _local1.push((v >> 16) & 255); _local1.push((v >> 8) & 255); _local1.push(v & 255); return(_local1); }; var _local9 = new Array(); _local9.push(_local13(_local3[0])); _local9.push(_local13(_local3[1])); var _local7 = 2; while (_local7 < _local3.length) { _local9.push(_local13(_local3[_local7])); var _local6 = _local15(_local3[_local7 + 1]); _local9.push(_local6[0]); _local9.push(_local6[1]); _local9.push(_local6[2]); _local9.push(_local6[3]); _local7 = _local7 + 2; } var _local21 = TexDa.lzssCompress(_local9); var _local23 = TexDa.arrayToA64(_local21); return(_local23); } } return(""); } function _traceFx(msg) { trace((((("#GT [" + GLOBAL_ENEMY_FRAMES_RUN) + "](") + getEnemyT(GLOBAL_ENEMY)._currentframe) + ")\t") + msg); } function enableFullTrace(newlevel) { GLOBAL_FULL_TRACE = 0; _traceF0 = function (msg) { _traceFx(msg); }; _traceF1 = function (msg) { }; _traceF2 = function (msg) { }; _traceF3 = function (msg) { }; if (newlevel > 0) { _traceF1 = function (msg) { _traceFx(msg); }; GLOBAL_FULL_TRACE = 1; if (newlevel > 1) { _traceF2 = function (msg) { _traceFx(msg); }; GLOBAL_FULL_TRACE = 2; if (newlevel > 2) { _traceF3 = function (msg) { _traceFx(msg); }; GLOBAL_FULL_TRACE = 3; } } } } function disableFullTrace() { GLOBAL_FULL_TRACE = 0; } function Log(s) { LogScrollOffset = 0; GLOBAL_LOG.unshift(s + newline); if (GLOBAL_LOG.length > 4096) { GLOBAL_LOG.pop(); } } function parseString(s) { var _local5 = ""; var _local2 = 0; var _local8 = s.length; while (_local2 < _local8) { if (s.charCodeAt(_local2) == 37) { if ((_local2 + 1) < _local8) { if (s.charCodeAt(_local2 + 1) == 91) { var _local7 = _local2 + 2; var _local6 = _local7; var _local3 = _local2 + 1; while (_local3 < _local8) { if (s.charCodeAt(_local3) == 93) { _local6 = _local3; break; } _local3++; } var _local1 = s.substr(_local7, _local6 - _local7); if (GLOBAL_VALUES.hasOwnProperty(_local1)) { _local5 = _local5 + GLOBAL_VALUES[_local1]; } else { _local1 = _local1.toLowerCase(); hasmsg = _local1; if (_local1 == "enemyname") { hasmsg = GLOBAL_ENEMY.m_name; } else if (_local1 == "playername") { hasmsg = GLOBAL_PLAYER.m_name; } else if (_local1 == "enemydescr") { hasmsg = GLOBAL_ENEMY.m_status; } else if (_local1 == "playerdescr") { hasmsg = ""; } else if (_local1 == "enemyhp") { hasmsg = GLOBAL_ENEMY.hp; } else if (_local1 == "playerhp") { hasmsg = GLOBAL_PLAYER.hp; } else if (getValue(_local1, undefined) != undefined) { hasmsg = getValue(_local1); } _local5 = _local5 + hasmsg; } _local2 = _local6 + 1; } else { _local5 = _local5 + s.charAt(_local2); _local5 = _local5 + s.charAt(_local2 + 1); _local2 = _local2 + 2; } } else { _local5 = _local5 + s.charAt(_local2); _local2++; } } else { _local5 = _local5 + s.charAt(_local2); _local2++; } } return(_local5); } function LogParsed(s) { Log(parseString(s)); } function chatMessage(msg, flags) { _parent.camControl.chatbubble.addMessage(parseString(msg), flags); } function chatClear() { _parent.camControl.chatbubble.clearMessage(); } function chatTarget(mclip) { _parent.camControl.chatbubble.setTarget(mclip); } function chatType(framename) { if (framename != undefined) { _parent.camControl.chatbubble.bubbletype.gotoAndStop(framename); _parent.camControl.chatbubble.bubbletail.gotoAndStop(framename); } return(_parent.camControl.chatbubble.bubbletype); } function numclamp(v) { if (v < 0) { v = 0; } else { v = Math.ceil(v); } return(v); } function addcharactervariables(targ) { targ.hp = 63; targ.in_movex = 0; targ.in_movey = 0; targ.in_action = 0; targ.hatk = 32; targ.matk = 32; targ.latk = 32; targ.hdef = 0; targ.mdef = 0; targ.ldef = 0; targ.hdefon = 0; targ.mdefon = 0; targ.ldefon = 0; targ.s_atktype = 0; targ.s_animbusy = 0; targ.s_idle = 1; targ.s_moving = 0; targ.s_attacking = 0; targ.s_hit = 0; targ.s_vx = 0; targ.s_movespeed = 1; targ.m_name = "NULL"; targ.m_status = "NULL"; targ._y = GLOBAL_FLOOR; targ.s_vy = 0; } function pauseall() { GLOBAL_PAUSE = true; GLOBAL_PLAYER.stop(); GLOBAL_PLAYER.aniclip.mc.stop(); GLOBAL_PLAYER.aniclip.mc.mc.stop(); getEnemyT(GLOBAL_ENEMY).stop(); _parent.playershad.t.stop(); _parent.playershad.t.head.stop(); _parent.playershad.t.aniclip.stop(); _parent.playershad.t.aniclip.mc.stop(); _parent.enemyshad.t.stop(); _parent.enemyshad.t.enemy.stop(); GLOBAL_ENEMYSPARK.stop(); GLOBAL_PLAYERSPARK.stop(); } function unpauseall() { GLOBAL_PAUSE = false; if ((GLOBAL_QTE_DATA.qliveevent <= 0) && (!GLOBAL_QTE_DATA.active)) { GLOBAL_PLAYER.play(GLOBAL_PLAYER._currentframe); if (GLOBAL_PLAYER.aniclip.mc.mc != undefined) { GLOBAL_PLAYER.aniclip.mc.mc.play(); } else { GLOBAL_PLAYER.aniclip.mc.play(); } getEnemyT(GLOBAL_ENEMY).play(GLOBAL_ENEMY._currentframe); GLOBAL_ENEMYSPARK.play(GLOBAL_ENEMYSPARK._currentframe); GLOBAL_PLAYERSPARK.stop(GLOBAL_PLAYERSPARK._currentframe); } } function moveCharacterGravity(sourcedata, char) { char.s_vy = char.s_vy + 0.533333333333333; sourcedata._y = sourcedata._y + char.s_vy; if (sourcedata._y >= GLOBAL_FLOOR) { sourcedata._y = GLOBAL_FLOOR; char.s_vy = 0; } } function movecharacter(obje, objdataclip, options) { var _local4 = Math.abs(obje._xscale); var _local3 = "null"; if (!isPlayerConsumed(objdataclip)) { if ((objdataclip.s_idle || (objdataclip.s_moving != 0)) && (((!objdataclip.s_attacking) && (!objdataclip.s_hit)) && (!objdataclip.s_animbusy))) { if (objdataclip.in_action) { obje.hdefon = 0; obje.mdefon = 0; obje.ldefon = 0; if ((objdataclip.attackmode == undefined) || (objdataclip.attackmode == 0)) { if (objdataclip.in_movex > 0) { if (obje.m_dontfacetarget != 1) { obje._xscale = _local4; } _local3 = "atkm"; } else if (objdataclip.in_movex < 0) { if (obje.m_dontfacetarget != 1) { obje._xscale = -_local4; } _local3 = "atkm"; } if (objdataclip.in_movey > 0) { _local3 = "atkh"; } else if (objdataclip.in_movey < 0) { _local3 = "atkl"; } } else if (objdataclip.attackmode == 1) { if (objdataclip.in_movex > 0) { if (obje.m_dontfacetarget != 1) { obje._xscale = _local4; } _local3 = "atkp"; } else if (objdataclip.in_movex < 0) { if (obje.m_dontfacetarget != 1) { obje._xscale = -_local4; } _local3 = "atkp"; } if (objdataclip.in_movey > 0) { _local3 = "atkp"; } else if (objdataclip.in_movey < 0) { _local3 = "atkp"; } } } else if (objdataclip.s_running == 1) { _local3 = "idle"; if (objdataclip.in_movex > 0) { obje.hdefon = 0; obje.mdefon = 0; obje.ldefon = 0; if (obje.m_dontfacetarget != 1) { obje._xscale = _local4; } _local3 = "run"; } else if (objdataclip.in_movex < 0) { obje.hdefon = 0; obje.mdefon = 0; obje.ldefon = 0; if (obje.m_dontfacetarget != 1) { obje._xscale = -_local4; } _local3 = "run"; } else { objdataclip.s_running = 0; _local3 = "idle"; } } else if (objdataclip.in_movex > 0) { obje.hdefon = 0; obje.mdefon = 0; obje.ldefon = 0; if (obje.m_dontfacetarget != 1) { obje._xscale = _local4; } if (objdataclip.s_moving == 0) { _local3 = "walk"; } } else if (objdataclip.in_movex < 0) { obje.hdefon = 0; obje.mdefon = 0; obje.ldefon = 0; if (obje.m_dontfacetarget != 1) { obje._xscale = -_local4; } if (objdataclip.s_moving == 0) { _local3 = "walk"; } } else if (objdataclip.in_movex == 0) { obje.hdefon = 0; obje.mdefon = 0; obje.ldefon = 0; if (objdataclip.in_movey > 0) { obje.hdefon = 1; } else if (objdataclip.in_movey < 0) { obje.ldefon = 1; } else if (objdataclip.in_movey == 0) { obje.mdefon = 1; } } if (objdataclip.in_movex == 0) { if ((((objdataclip.s_moving != 0) && (!objdataclip.s_attacking)) && (!objdataclip.s_hit)) && (!objdataclip.s_animbusy)) { if (obje.m_dontautoidle == undefined) { _local3 = "idle"; } } } } else if (objdataclip.s_moving != 0) { } } objdataclip.def_h._visible = false; objdataclip.def_m._visible = false; objdataclip.def_l._visible = false; if (obje.hdefon != 0) { objdataclip.def_h._visible = true; } if (obje.mdefon != 0) { objdataclip.def_m._visible = true; } if (obje.ldefon != 0) { objdataclip.def_l._visible = true; } if (_local3 == "null") { if (((((objdataclip.s_idle == 0) && (objdataclip.s_moving == 0)) && (objdataclip.s_attacking == 0)) && (objdataclip.s_hit == 1)) && (objdataclip.s_animbusy == 1)) { _local3 = objdataclip.__animcurrent; } } if (_local3 != "null") { if (_local3 == "walk") { if (objdataclip.replaceAnimWalk != undefined) { _local3 = objdataclip.replaceAnimWalk; } else { _local3 = "walk"; } } if ((options != undefined) and (options == 2)) { objdataclip.__animcurrent = _local3; objdataclip.gotoAndStop(_local3); } else if (objdataclip.__animcurrent != _local3) { goPlay(objdataclip, _local3); } } } function moveplayer() { GLOBAL_PLAYER.attackmode = GLOBAL_PLAYER_MODE; movecharacter(GLOBAL_PLAYER, GLOBAL_PLAYER, 2); if (!isPlayerConsumed(GLOBAL_PLAYER)) { if ((((GLOBAL_PLAYER.s_idle == 0) && (GLOBAL_PLAYER.s_moving != 0)) && (GLOBAL_PLAYER.s_vx == 0)) && (!GLOBAL_PLAYER.s_animbusy)) { GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + ((GLOBAL_PLAYER._xscale / Math.abs(GLOBAL_PLAYER._xscale)) * GLOBAL_PLAYER.s_moving); } } if ((GLOBAL_PLAYER.s_vx != 0) && (!GLOBAL_PLAYER.s_animbusy)) { if (GLOBAL_PLAYER._x > GLOBAL_ENEMY._x) { GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + GLOBAL_PLAYER.s_vx; } else { GLOBAL_PLAYER._x = GLOBAL_PLAYER._x - GLOBAL_PLAYER.s_vx; } } moveCharacterGravity(GLOBAL_PLAYER, GLOBAL_PLAYER); if (GLOBAL_ENEMY.m_notsolid != 1) { var _local6 = getCBox(GLOBAL_ENEMY.enemy); var _local5 = getCBox(GLOBAL_PLAYER); if (((_local5 != undefined) && (_local6 != undefined)) && (_local5.hitTest(_local6))) { var _local3 = _local6.getBounds(_root); var _local4 = _local5.getBounds(_root); if (((_local3.xMin + _local3.xMax) / 2) > ((_local4.xMin + _local4.xMax) / 2)) { GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + (_local3.xMin - _local4.xMax); } else { GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + (_local3.xMax - _local4.xMin); } } } if (GLOBAL_USE_DARKROLLS) { var _local5 = getRollBox(GLOBAL_PLAYER); if (_local5 != undefined) { var _local6 = getCBox(GLOBAL_ENEMY.enemy); if (((_local5 != undefined) && (_local6 != undefined)) && (_local5.hitTest(_local6))) { var _local3 = _local6.getBounds(_root); var _local4 = _local5.getBounds(_root); var _local2 = 0; if (((_local3.xMin + _local3.xMax) / 2) > ((_local4.xMin + _local4.xMax) / 2)) { _local2 = _local3.xMin - _local4.xMax; } else { _local2 = _local3.xMax - _local4.xMin; } if (GLOBAL_ENEMY.m_rolloption == 1) { GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + _local2; } else if (GLOBAL_ENEMY.m_rolloption == 2) { GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + _local2; if (_local2 > 0) { actMove(GLOBAL_PLAYER, 4); } else { actMove(GLOBAL_PLAYER, -4); } GLOBAL_PLAYER.s_hit = 1; goPlay(GLOBAL_PLAYER, "hith"); Log(((GLOBAL_PLAYER.m_name + " crashed into ") + GLOBAL_ENEMY.m_name) + "!"); } } } } } function moveenemy(ENMC) { moveCharacterGravity(ENMC, getEnemyT(ENMC)); if (getEnemyT(ENMC)._run != undefined) { return(getEnemyT(ENMC)._run(this, ENMC)); } if (getEnemyT(ENMC) != undefined) { movecharacter(ENMC, getEnemyT(ENMC), undefined); } else { movecharacter(ENMC, ENMC, undefined); } if (ENMC.m_dontfacetarget != 1) { enemyFacePlayer(); } if (((getEnemyT(ENMC).s_idle == 0) && (getEnemyT(ENMC).s_moving != 0)) && (!getEnemyT(ENMC).s_animbusy)) { ENMC._x = ENMC._x + (((ENMC._xscale / Math.abs(ENMC._xscale)) * getEnemyT(ENMC).s_moving) * ENMC.s_movespeed); } if ((getEnemyT(ENMC).s_vx != 0) && (!getEnemyT(ENMC).s_animbusy)) { if (GLOBAL_PLAYER._x > ENMC._x) { ENMC._x = ENMC._x - getEnemyT(ENMC).s_vx; } else { ENMC._x = ENMC._x + getEnemyT(ENMC).s_vx; } } else if (((getEnemyT(ENMC).s_moving != 0) && (getEnemyT(ENMC).s_vx != 0)) && (getEnemyT(ENMC).s_animbusy)) { if (GLOBAL_PLAYER._x > ENMC._x) { ENMC._x = ENMC._x - getEnemyT(ENMC).s_vx; } else { ENMC._x = ENMC._x + getEnemyT(ENMC).s_vx; } } if (ENMC.m_notsolid != 1) { if (getCBox(ENMC.enemy).hitTest(getCBox(GLOBAL_PLAYER))) { var _local4 = getCBox(ENMC.enemy).getBounds(_root); var _local5 = getCBox(GLOBAL_PLAYER).getBounds(_root); if (((_local4.xMin + _local4.xMax) / 2) < ((_local5.xMin + _local5.xMax) / 2)) { ENMC._x = ENMC._x + (_local5.xMin - _local4.xMax); } else { ENMC._x = ENMC._x + (_local5.xMax - _local4.xMin); } } } } function setClipAt(mc, clip) { var _local2 = clip.getBounds(_root); mc._x = (_local2.xMax + _local2.xMin) * 0.5; mc._y = (_local2.xMax + _local2.xMin) * 0.5; } function setClipAtExact(mc, clip) { var _local2 = mcPointToGlobal(clip, 0, 0); var _local6 = mcPointToGlobal(clip, 1, 0); var _local4 = _local6._x - _local2._x; var _local3 = _local6._y - _local2._y; var _local5 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); var _local7 = 57.2957795130823 * Math.atan2(_local3 / _local5, _local4 / _local5); mc._x = _local2._x; mc._y = _local2._y; mc._rotation = _local7; mc._xscale = (100 * _local5) / 1; mc._yscale = mc._xscale; } function _resetSparkSim(clip) { clip.xvel = 0; clip.yvel = 0; clip.rotvel = 0; clip.xacc = 0; clip.yacc = 0; clip.rotacc = 0; clip.shrinkto = 0; clip.shrinktime = 0; clip.shrinktimemax = 0; } function _updateSparkSim(mc, steps) { if (mc.xacc != 0) { mc.xvel = mc.xvel + (steps * mc.xacc); } if (mc.yacc != 0) { mc.yvel = mc.yvel + (steps * mc.yacc); } if (mc.rotacc != 0) { mc.rotvel = mc.rotvel + (steps * mc.rotacc); } if (mc.xvel != 0) { mc._x = mc._x + (steps * mc.xvel); } if (mc.yvel != 0) { mc._y = mc._y + (steps * mc.yvel); } if (mc.rotvel != 0) { mc._rotation = mc._rotation + (steps * mc.rotvel); } if (mc.shrinktimemax > 0) { if (mc.shrinktime == mc.shrinktimemax) { mc._originalscalex = mc._xscale; mc._originalscaley = mc._yscale; } mc.shrinktime = mc.shrinktime - steps; if (mc.shrinktime < 0) { mc.shrinktime = 0; } var _local3 = (1 - mc.shrinkto) * ((1 * mc.shrinktime) / (1 * mc.shrinktimemax)); mc._xscale = (mc.shrinkto + _local3) * mc._originalscalex; mc._yscale = (mc.shrinkto + _local3) * mc._originalscaley; } } function _setClipPhysics(clip, vx, vy, ax, ay, rv, ra, shrinkin, shrinkamount) { if (vx != undefined) { clip.xvel = vx; } else { clip.xvel = 0; } if (vy != undefined) { clip.yvel = vy; } else { clip.yvel = 0; } if (ax != undefined) { clip.xacc = ax; } else { clip.xacc = 0; } if (ay != undefined) { clip.yacc = ay; } else { clip.yacc = 0; } if (rv != undefined) { clip.rotvel = rv; } else { clip.rotvel = 0; } if (ra != undefined) { clip.rotacc = ra; } else { clip.rotacc = 0; } if (shrinkin != undefined) { clip.shrinkto = 0; clip.shrinktime = shrinkin; clip.shrinktimemax = shrinkin; if (shrinkamount != undefined) { clip.shrinkto = shrinkamount / 100; } } else { clip.shrinktimemax = 0; clip.shrinkto = 0; clip.shrinktime = 0; } } function _parseClipPhysicsAndSet(clip, lex) { var _local5; var _local4; var _local10; var _local9; var _local7; var _local11; var _local8; var _local6; var _local2 = lex.split(","); var _local3 = _local2.length; var _local1 = 0; while (_local1 < _local3) { if (_local2[_local1] == "MoveUp") { _local1++; if (_local1 < _local3) { _local4 = -Number(_local2[_local1]); } } else if (_local2[_local1] == "MoveRight") { _local1++; if (_local1 < _local3) { _local5 = Number(_local2[_local1]); } } else if (_local2[_local1] == "MoveLeft") { _local1++; if (_local1 < _local3) { _local5 = -Number(_local2[_local1]); } } else if (_local2[_local1] == "MoveDown") { _local1++; if (_local1 < _local3) { _local4 = Number(_local2[_local1]); } } else if (_local2[_local1] == "Spin") { _local1++; if (_local1 < _local3) { _local7 = Number(_local2[_local1]); } } else if (_local2[_local1] == "Shrink") { _local1++; if (_local1 < _local3) { _local8 = 60; _local6 = Number(_local2[_local1]); } } _local1++; } _setClipPhysics(clip, _local5, _local4, _local10, _local9, _local7, _local11, _local8, _local6); } function setEnemySparkPhysics(lex) { _parseClipPhysicsAndSet(GLOBAL_ENEMYSPARK, lex); } function setPlayerSparkPhysics(lex) { _parseClipPhysicsAndSet(GLOBAL_PLAYERSPARK, lex); } function setEnemySparkAnim(anim) { if (anim != undefined) { GLOBAL_PLAYERSPARK.gotoAndPlay(anim); } } function setPlayerSparkAt(clip, anim, offsetx, offsety) { setClipAt(GLOBAL_PLAYERSPARK, clip); _resetSparkSim(GLOBAL_PLAYERSPARK); if (GLOBAL_PLAYER._xscale < 0) { GLOBAL_PLAYERSPARK._xscale = -100; } else { GLOBAL_PLAYERSPARK._xscale = 100; } if (offsetx != undefined) { if (GLOBAL_PLAYERSPARK._xscale > 0) { GLOBAL_PLAYERSPARK._x = GLOBAL_PLAYERSPARK._x + offsetx; } else { GLOBAL_PLAYERSPARK._x = GLOBAL_PLAYERSPARK._x - offsetx; } } if (offsety != undefined) { GLOBAL_PLAYERSPARK._y = GLOBAL_PLAYERSPARK._y + offsety; } if (anim != undefined) { GLOBAL_PLAYERSPARK.gotoAndPlay(anim); } } function setEnemySparkAt(clip, anim, offsetx, offsety) { setClipAt(GLOBAL_ENEMYSPARK, clip); _resetSparkSim(GLOBAL_ENEMYSPARK); if (GLOBAL_ENEMY._xscale < 0) { GLOBAL_ENEMYSPARK._xscale = -100; } else { GLOBAL_ENEMYSPARK._xscale = 100; } if (offsetx != undefined) { if (GLOBAL_ENEMYSPARK._xscale > 0) { GLOBAL_ENEMYSPARK._x = GLOBAL_ENEMYSPARK._x + offsetx; } else { GLOBAL_ENEMYSPARK._x = GLOBAL_ENEMYSPARK._x - offsetx; } } if (offsety != undefined) { GLOBAL_ENEMYSPARK._y = GLOBAL_ENEMYSPARK._y + offsety; } if (anim != undefined) { GLOBAL_ENEMYSPARK.gotoAndPlay(anim); } } function setPlayerScale(val) { GLOBAL_PLAYER._xscale = val * (GLOBAL_PLAYER._xscale / Math.abs(GLOBAL_PLAYER._xscale)); GLOBAL_PLAYER._yscale = val * (GLOBAL_PLAYER._yscale / Math.abs(GLOBAL_PLAYER._yscale)); } function getPlayerScale() { return(Math.abs(GLOBAL_PLAYER._xscale)); } function setEnemySparkOnScreen(anim, screenfloatx, screenfloaty, screenscale) { _resetSparkSim(GLOBAL_ENEMYSPARK); GLOBAL_ENEMYSPARK._x = _parent.camControl._x; GLOBAL_ENEMYSPARK._y = _parent.camControl._y; var _local3 = 0; if (screenfloatx != undefined) { _local3 = (screenfloatx * _parent.camControl.fixX) * (_parent.camControl._xscale / 200); } var _local2 = 0; if (screenfloaty != undefined) { _local2 = ((-screenfloaty) * _parent.camControl.fixY) * (_parent.camControl._yscale / 200); } GLOBAL_ENEMYSPARK._x = GLOBAL_ENEMYSPARK._x + _local3; GLOBAL_ENEMYSPARK._y = GLOBAL_ENEMYSPARK._y + _local2; if (screenscale != undefined) { GLOBAL_ENEMYSPARK._xscale = screenscale * Math.abs(_parent.camControl._xscale / 100); GLOBAL_ENEMYSPARK._yscale = screenscale * Math.abs(_parent.camControl._yscale / 100); } if (anim != undefined) { GLOBAL_ENEMYSPARK.gotoAndPlay(anim); } } function setEnemySparkAtExact(clip, anim, param) { _resetSparkSim(GLOBAL_ENEMYSPARK); setClipAtExact(GLOBAL_ENEMYSPARK, clip); if (param != undefined) { for (var _local2 in param) { GLOBAL_ENEMYSPARK[_local2] = param[_local2]; } } if (anim != undefined) { GLOBAL_ENEMYSPARK.gotoAndPlay(anim); } } function unscaleEnemySpark(arg1) { if (arg1 != undefined) { GLOBAL_ENEMYSPARK._xscale = arg1; GLOBAL_ENEMYSPARK._yscale = arg1; } else { GLOBAL_ENEMYSPARK._xscale = 100; GLOBAL_ENEMYSPARK._yscale = 100; } } function getEnemySpark() { return(GLOBAL_ENEMYSPARK); } function damagecollisions() { var _local2 = null; var _local1 = null; var _local4 = getABox(GLOBAL_PLAYER); var _local6 = getCBox(GLOBAL_PLAYER); var _local3 = getABox(GLOBAL_ENEMY.enemy); var _local5 = getCBox(GLOBAL_ENEMY.enemy); if (getEnemyT(GLOBAL_ENEMY).s_attacking) { if (((_local3 != undefined) && (_local6 != undefined)) && (_local3.hitTest(_local6))) { if (getEnemyT(GLOBAL_ENEMY).s_atktype < 1) { var _local7 = GLOBAL_ENEMY.latk - GLOBAL_PLAYER.ldef; if (GLOBAL_PLAYER.ldefon != 0) { _local7 = _local7 / 2; } _local7 = numclamp(_local7); setEnemySparkAt(getABox(GLOBAL_ENEMY.enemy)); if (GLOBAL_PLAYER.ldefon != 0) { GLOBAL_ENEMYSPARK.gotoAndPlay("cutblock"); } else { GLOBAL_ENEMYSPARK.gotoAndPlay("cutlow"); } GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp - _local7; _local2 = "hitl"; GLOBAL_PLAYER.s_hit = 1; getEnemyT(GLOBAL_ENEMY).s_attacking = 0; Log(((((GLOBAL_ENEMY.m_name + " hit ") + GLOBAL_PLAYER.m_name) + " for ") + _local7) + "!"); } else if (getEnemyT(GLOBAL_ENEMY).s_atktype == 1) { var _local7 = GLOBAL_ENEMY.matk - GLOBAL_PLAYER.mdef; if (GLOBAL_PLAYER.mdefon != 0) { _local7 = _local7 / 2; } _local7 = numclamp(_local7); setEnemySparkAt(getABox(GLOBAL_ENEMY.enemy)); if (GLOBAL_PLAYER.mdefon != 0) { GLOBAL_ENEMYSPARK.gotoAndPlay("cutblock"); } else { GLOBAL_ENEMYSPARK.gotoAndPlay("cutmid"); } GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp - _local7; _local2 = "hitm"; GLOBAL_PLAYER.s_hit = 1; getEnemyT(GLOBAL_ENEMY).s_attacking = 0; Log(((((GLOBAL_ENEMY.m_name + " hit ") + GLOBAL_PLAYER.m_name) + " for ") + _local7) + "!"); } else if (getEnemyT(GLOBAL_ENEMY).s_atktype == 2) { var _local7 = GLOBAL_ENEMY.hatk - GLOBAL_PLAYER.hdef; if (GLOBAL_PLAYER.hdefon != 0) { _local7 = _local7 / 2; } _local7 = numclamp(_local7); setEnemySparkAt(getABox(GLOBAL_ENEMY.enemy)); if (GLOBAL_PLAYER.hdefon != 0) { GLOBAL_ENEMYSPARK.gotoAndPlay("cutblock"); } else { GLOBAL_ENEMYSPARK.gotoAndPlay("cuthigh"); } GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp - _local7; _local2 = "hith"; GLOBAL_PLAYER.s_hit = 1; getEnemyT(GLOBAL_ENEMY).s_attacking = 0; Log(((((GLOBAL_ENEMY.m_name + " hit ") + GLOBAL_PLAYER.m_name) + " for ") + _local7) + "!"); } numclamp(GLOBAL_PLAYER.hp); } } if (GLOBAL_PLAYER.s_attacking and (GLOBAL_ENEMY.hp >= 1)) { if (((_local5 != undefined) && (_local4 != undefined)) && (_local4.hitTest(_local5))) { if (GLOBAL_PLAYER.s_atktype < 1) { var _local7 = GLOBAL_PLAYER.latk - GLOBAL_ENEMY.ldef; if (GLOBAL_ENEMY.ldefon != 0) { _local7 = _local7 / 2; } _local7 = numclamp(_local7); setPlayerSparkAt(getABox(GLOBAL_PLAYER)); if (GLOBAL_ENEMY.ldefon != 0) { GLOBAL_PLAYERSPARK.gotoAndPlay("hitblock"); } else { GLOBAL_PLAYERSPARK.gotoAndPlay("hitlow"); } GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp - _local7; if (!GLOBAL_ENEMY.ignore_hitanim) { if ((_local7 > GLOBAL_ENEMY.ignore_hitweak) && (!GLOBAL_ENEMY.ignore_hitanimonly)) { _local1 = "hitl"; } } if ((_local7 > GLOBAL_ENEMY.ignore_hitweak) && (!GLOBAL_ENEMY.ignore_hitanimonly)) { GLOBAL_ENEMY.s_hit = true; GLOBAL_ENEMY.ai = -1; } GLOBAL_PLAYER.s_attacking = 0; if ((GLOBAL_SCORE_ON_DAMAGE * _local7) > 0) { GLOBAL_POINTS = GLOBAL_POINTS + (GLOBAL_SCORE_ON_DAMAGE * _local7); Log(((((GLOBAL_PLAYER.m_name + " hit ") + GLOBAL_ENEMY.m_name) + " for ") + _local7) + "!"); } } else if (GLOBAL_PLAYER.s_atktype == 1) { var _local7 = GLOBAL_PLAYER.matk - GLOBAL_ENEMY.mdef; if (GLOBAL_ENEMY.lmdefon != 0) { _local7 = _local7 / 2; } _local7 = numclamp(_local7); setPlayerSparkAt(getABox(GLOBAL_PLAYER)); if (GLOBAL_ENEMY.lmdefon != 0) { GLOBAL_PLAYERSPARK.gotoAndPlay("hitblock"); } else { GLOBAL_PLAYERSPARK.gotoAndPlay("hitmid"); } GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp - _local7; if (!GLOBAL_ENEMY.ignore_hitanim) { if ((_local7 > GLOBAL_ENEMY.ignore_hitweak) && (!GLOBAL_ENEMY.ignore_hitanimonly)) { _local1 = "hitm"; } } if ((_local7 > GLOBAL_ENEMY.ignore_hitweak) && (!GLOBAL_ENEMY.ignore_hitanimonly)) { GLOBAL_ENEMY.s_hit = true; GLOBAL_ENEMY.ai = -1; } GLOBAL_PLAYER.s_attacking = 0; if ((GLOBAL_SCORE_ON_DAMAGE * _local7) > 0) { GLOBAL_POINTS = GLOBAL_POINTS + (GLOBAL_SCORE_ON_DAMAGE * _local7); Log(((((GLOBAL_PLAYER.m_name + " hit ") + GLOBAL_ENEMY.m_name) + " for ") + _local7) + "!"); } } else if (GLOBAL_PLAYER.s_atktype == 2) { var _local7 = GLOBAL_PLAYER.hatk - GLOBAL_ENEMY.hdef; if (GLOBAL_ENEMY.hdefon != 0) { _local7 = _local7 / 2; } _local7 = numclamp(_local7); setPlayerSparkAt(getABox(GLOBAL_PLAYER)); if (GLOBAL_ENEMY.hdefon != 0) { GLOBAL_PLAYERSPARK.gotoAndPlay("hitblock"); } else { GLOBAL_PLAYERSPARK.gotoAndPlay("hithigh"); } GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp - _local7; if (!GLOBAL_ENEMY.ignore_hitanim) { if ((_local7 > GLOBAL_ENEMY.ignore_hitweak) && (!GLOBAL_ENEMY.ignore_hitanimonly)) { _local1 = "hith"; } } if ((_local7 > GLOBAL_ENEMY.ignore_hitweak) && (!GLOBAL_ENEMY.ignore_hitanimonly)) { GLOBAL_ENEMY.s_hit = true; GLOBAL_ENEMY.ai = -1; } GLOBAL_PLAYER.s_attacking = 0; if ((GLOBAL_SCORE_ON_DAMAGE * _local7) > 0) { GLOBAL_POINTS = GLOBAL_POINTS + (GLOBAL_SCORE_ON_DAMAGE * _local7); Log(((((GLOBAL_PLAYER.m_name + " hit ") + GLOBAL_ENEMY.m_name) + " for ") + _local7) + "!"); } } else if (GLOBAL_PLAYER.s_atktype == 4) { var _local7 = 0; if (GLOBAL_ALLOW_PETS) { setPlayerSparkAt(getABox(GLOBAL_PLAYER)); GLOBAL_PLAYERSPARK.gotoAndPlay("heart"); _local1 = "hitp"; Log(((GLOBAL_PLAYER.m_name + " pet ") + GLOBAL_ENEMY.m_name) + "!"); } else { setPlayerSparkAt(getABox(GLOBAL_PLAYER)); GLOBAL_PLAYERSPARK.gotoAndPlay("heart"); } GLOBAL_PLAYER.s_attacking = 0; } numclamp(GLOBAL_ENEMY.hp); } } if (!isPlayerConsumed(GLOBAL_PLAYER)) { if (_local1 != null) { goPlay(getEnemyT(GLOBAL_ENEMY), _local1); } if (_local2 != null) { goPlay(GLOBAL_PLAYER, _local2); actHurt(GLOBAL_PLAYER, 1); } } } function _pickEnemyReset() { V = new Object(); GLOBAL_VALUES = V; GLOBAL_SYNCMAP = new Object(); GLOBAL_POSTSYNC = function (G, Obj, extra) { }; GLOBAL_PRESYNC = function (G, Obj, extra) { }; GLOBAL_ENEMY_AI_FUNC = _enemyAIDefault; GLOBAL_ENEMY.m_scale = undefined; GLOBAL_ENEMY.enemy.m_scale = undefined; getEnemyT(GLOBAL_ENEMY).m_scale = undefined; GLOBAL_ALLOW_PETS = 0; BLOCK_ENEMY_ONE_FRAME = true; GLOBAL_SHOW_CONSUMED_PLAYER = false; GLOBAL_SHOW_PLAYER_INSIDEPLUS_ENEMY_ENABLE = false; } function pickEnemy(userev) { GLOBAL_ENEMY_FRAMES_RUN = 0; GLOBAL_ENEMY_REQUEST_VICTORY = 0; GLOBAL_ENEMY_REQUEST_VICTORY_NEXT = 0; var _local5 = userev; var _local7 = false; var _local4; if ((_local5 < 2) || (_local5 > GLOBAL_MAXENEMYFRAMES)) { if ((GLOBAL_ENEMY._currentframe + 1) > GLOBAL_MAXENEMYFRAMES) { _pickEnemyReset(); _local4 = 2; } else { _pickEnemyReset(); _local4 = GLOBAL_ENEMY._currentframe + 1; } } else if (GLOBAL_ENEMY._currentframe == int(_local5)) { _local7 = true; _local4 = int(_local5); } else { _pickEnemyReset(); _local4 = int(_local5); } if (_local4 != undefined) { GLOBAL_ENEMY.m_scale = 100; GLOBAL_ENEMY.maxhp = 1; GLOBAL_ENEMY.hp = GLOBAL_ENEMY.maxhp; GLOBAL_ENEMY.enemy.in_movex = 0; GLOBAL_ENEMY.enemy.in_movey = 0; GLOBAL_ENEMY.enemy.in_action = 0; getEnemyT(GLOBAL_ENEMY).in_movex = 0; getEnemyT(GLOBAL_ENEMY).in_movey = 0; getEnemyT(GLOBAL_ENEMY).in_action = 0; GLOBAL_ENEMY.hatk = 0; GLOBAL_ENEMY.matk = 0; GLOBAL_ENEMY.latk = 0; GLOBAL_ENEMY.hdef = 0; GLOBAL_ENEMY.mdef = 0; GLOBAL_ENEMY.ldef = 0; GLOBAL_ENEMY.enemy.s_atktype = 0; GLOBAL_ENEMY.enemy.s_animbusy = 0; GLOBAL_ENEMY.enemy.s_idle = 1; GLOBAL_ENEMY.enemy.s_moving = 0; GLOBAL_ENEMY.enemy.s_attacking = 0; GLOBAL_ENEMY.enemy.s_hit = 0; GLOBAL_ENEMY.enemy.s_vx = 0; getEnemyT(GLOBAL_ENEMY).s_atktype = 0; getEnemyT(GLOBAL_ENEMY).s_animbusy = 0; getEnemyT(GLOBAL_ENEMY).s_idle = 1; getEnemyT(GLOBAL_ENEMY).s_moving = 0; getEnemyT(GLOBAL_ENEMY).s_attacking = 0; getEnemyT(GLOBAL_ENEMY).s_hit = 0; getEnemyT(GLOBAL_ENEMY).s_vx = 0; GLOBAL_ENEMY.m_cameraoffset = 0; GLOBAL_ENEMY.m_animPrefix = undefined; GLOBAL_ENEMY.m_background = undefined; GLOBAL_ENEMY.m_notsolid = undefined; GLOBAL_ENEMY.m_dontfacetarget = 0; GLOBAL_ENEMY.m_dontattackauto = undefined; GLOBAL_ENEMY.m_dontautoidle = undefined; GLOBAL_ENEMY.m_dontplayhurt = undefined; GLOBAL_ENEMY.m_dontplayhurtforweakattacks = -1; GLOBAL_ENEMY.m_rolloption = 0; GLOBAL_ENEMY._manuallyReset = undefined; GLOBAL_ENEMY.is_external = undefined; GLOBAL_ENEMY.is_external_loaded = 0; GLOBAL_ENEMY.enemy.is_external_loaded = 0; GLOBAL_ENEMY.enemy.enemy.is_external_loaded = 0; GLOBAL_ENEMY.m_loadurl = undefined; GLOBAL_ENEMY_ATKUSE = new Array(0.1, 0.09, 0.71); GLOBAL_ENEMY.gotoAndStop(_local4); GLOBAL_ENEMY.enemy.G = this; GLOBAL_ENEMY.enemy.enemy.G = this; getEnemyT(GLOBAL_ENEMY).G = this; GLOBAL_ENEMY.m_blatently_reset = 2; GLOBAL_ENEMY.m_blatently_resetenemy = _local4; } if (_local7) { GLOBAL_ENEMY._manuallyReset = undefined; getEnemyT(GLOBAL_ENEMY)._manuallyReset = undefined; getEnemyT(GLOBAL_ENEMY).gotoAndPlay("idle"); } if ((!_local7) && (_local4 != undefined)) { GLOBAL_ENEMY.m_name = "Default"; GLOBAL_ENEMY.m_status = "Default"; GLOBAL_ENEMY.m_credit = ""; if (_local4 > GLOBAL_MAXENEMYNONEXTERNAL) { GLOBAL_ENEMY.m_loadurl = fixURL(_root.externalURL); GLOBAL_ENEMY.is_external = fixURL(_root.externalURL); GLOBAL_ENEMY.m_name = "EXTERNAL"; GLOBAL_ENEMY.m_status = "SxS*NOTLOADED"; var _local6 = (_local4 - GLOBAL_MAXENEMYNONEXTERNAL) - 1; if (_local6 < GLOBAL_LOADEEMS.length) { GLOBAL_ENEMY.m_loadurl = fixURL(GLOBAL_LOADEEMS[_local6]); GLOBAL_ENEMY.is_external = fixURL(GLOBAL_LOADEEMS[_local6]); GLOBAL_ENEMY.bitmapiconstring = undefined; if (GLOBAL_LOADEEMS_ICONS[_local6] != undefined) { GLOBAL_ENEMY.bitmapiconstring = GLOBAL_LOADEEMS_ICONS[_local6]; } } BLOCK_ENEMY_ONE_FRAME = true; } musicStop(); } GLOBAL_ENEMY.enemy.G = this; getEnemyT(GLOBAL_ENEMY).G = this; GLOBAL_ENEMY.enemy.enemy.G = this; GLOBAL_ENEMY.ignore_hitweak = -1; GLOBAL_ENEMY.ignore_hitanim = false; GLOBAL_ENEMY.ignore_hitanimonly = false; GLOBAL_ENEMY.hatk_original = GLOBAL_ENEMY.hatk; GLOBAL_ENEMY.matk_original = GLOBAL_ENEMY.matk; GLOBAL_ENEMY.latk_original = GLOBAL_ENEMY.latk; GLOBAL_ENEMY.hdef_original = GLOBAL_ENEMY.hdef; GLOBAL_ENEMY.mdef_original = GLOBAL_ENEMY.mdef; GLOBAL_ENEMY.ldef_original = GLOBAL_ENEMY.ldef; GLOBAL_ENEMY.hatk_original = GLOBAL_ENEMY.hatk; _parent.camControl.emptygrid.drawnyet = undefined; GLOBAL_PLAYER.m_status = "Normal"; GLOBAL_SCORE_ON_DAMAGE = 1; GLOBAL_POINTS_START = GLOBAL_POINTS; fadeInBG(); _resetSparkSim(GLOBAL_ENEMYSPARK); _resetSparkSim(GLOBAL_PLAYERSPARK); BLOCK_ENEMY_ONE_FRAME = true; if (Math.random() < 0.5) { GLOBAL_ENEMY._x = GLOBAL_PLAYER._x + 640; GLOBAL_ENEMY._xscale = -Math.abs(GLOBAL_ENEMY._xscale); } else { GLOBAL_ENEMY._x = GLOBAL_PLAYER._x - 640; GLOBAL_ENEMY._xscale = Math.abs(GLOBAL_ENEMY._xscale); } GLOBAL_ENEMY_TIMEOUT = 0; } function victoryStatus() { if (GLOBAL_ENEMY.hp < 1) { return(-1); } return(GLOBAL_ENEMY_REQUEST_VICTORY); } function victoryRequest(nextenemy, endanim) { GLOBAL_ENEMY_REQUEST_VICTORY = 1; GLOBAL_ENEMY_REQUEST_VICTORY_NEXT = 0; if (nextenemy != undefined) { if (typeof(nextenemy) == "number") { GLOBAL_ENEMY_REQUEST_VICTORY_NEXT = nextenemy; } else if (typeof(nextenemy) == "string") { if (GLOBAL_ENEMIES_BY_NAME.hasOwnProperty(nextenemy)) { GLOBAL_ENEMY_REQUEST_VICTORY_NEXT = GLOBAL_ENEMIES_BY_NAME[nextenemy]; } else { _traceF0(("requestVictory does not have monster: \"" + nextenemy) + "\""); } } } } function ObjHitsBody(obj) { return(getCBox(GLOBAL_PLAYER).hitTest(obj)); } function ObjHitsBodyCenter(obj) { return(GLOBAL_PLAYER.centerbox.hitTest(obj)); } function ObjHitsHead(obj) { return(GLOBAL_PLAYER.head.hitTest(obj)); } function ObjHitsHeadCenter(obj) { return(GLOBAL_PLAYER.head.center.hitTest(obj)); } function CanVoreHigh() { if (GLOBAL_PLAYER.hdefon == 0) { return(true); } return(false); } function CanVoreMid() { if (GLOBAL_PLAYER.mdefon == 0) { return(true); } return(false); } function CanVoreLow() { if (GLOBAL_PLAYER.ldefon == 0) { return(true); } return(false); } function CanVore() { if (((GLOBAL_PLAYER.ldefon == 0) && (GLOBAL_PLAYER.mdefon == 0)) && (GLOBAL_PLAYER.hdefon == 0)) { return(true); } return(false); } function shakeBegin(freq, amplitude, autodecay) { if (GLOBAL_CAMERA_SHAKE.use == 0) { GLOBAL_CAMERA_SHAKE.phase = 0; GLOBAL_CAMERA_SHAKE.decay = 0; GLOBAL_CAMERA_SHAKE.maxdecay = 10; } GLOBAL_CAMERA_SHAKE.use = 1; GLOBAL_CAMERA_SHAKE.amp = amplitude; GLOBAL_CAMERA_SHAKE.freq = freq * Math.PI; GLOBAL_CAMERA_SHAKE.autodecay = -1; if (autodecay != undefined) { if (autodecay > 0) { GLOBAL_CAMERA_SHAKE.autodecay = autodecay; } else { GLOBAL_CAMERA_SHAKE.autodecay = -1; } } } function shakeEnd(decay) { GLOBAL_CAMERA_SHAKE.autodecay = -1; GLOBAL_CAMERA_SHAKE.use = 0; if (decay != undefined) { if (decay > 0) { GLOBAL_CAMERA_SHAKE.maxdecay = decay; } else { GLOBAL_CAMERA_SHAKE.maxdecay = 0; } } } function _setClipColor(mc, color) { var _local2 = new flash.geom.Transform(mc); var _local6 = 1; var _local4 = (color & 255) / 255; var _local7 = ((color >> 8) & 255) / 255; var _local3 = ((color >> 16) & 255) / 255; var _local1 = new flash.geom.ColorTransform(_local4, _local7, _local3, _local6, 0, 0, 0, 0); _local2.colorTransform = _local1; return(_local1); } function fadeBG(nframes, optionalcolor) { GLOBAL_BG_FADE_COLOR = 0; if (optionalcolor != undefined) { GLOBAL_BG_FADE_COLOR = optionalcolor; } GLOBAL_BG_FADE = -1; GLOBAL_BG_FADE_TIME = -1; if ((nframes != undefined) and (nframes > 0)) { GLOBAL_BG_FADE = 0; GLOBAL_BG_FADE_TIME = nframes; } else { _setClipColor(GLOBAL_SCROLLBG, GLOBAL_BG_FADE_COLOR); GLOBAL_BG_FADE_PREV_COLOR = GLOBAL_BG_FADE_COLOR; } } function fadeInBG(nframes, optionalcolor) { GLOBAL_BG_FADE_COLOR = 16777215 /* 0xFFFFFF */; if (optionalcolor != undefined) { GLOBAL_BG_FADE_COLOR = optionalcolor; } GLOBAL_BG_FADE = -1; GLOBAL_BG_FADE_TIME = -1; if ((nframes != undefined) and (nframes > 0)) { GLOBAL_BG_FADE = 0; GLOBAL_BG_FADE_TIME = nframes; } else { _setClipColor(GLOBAL_SCROLLBG, GLOBAL_BG_FADE_COLOR); GLOBAL_BG_FADE_PREV_COLOR = GLOBAL_BG_FADE_COLOR; } } function fadeBGGetColor() { return(GLOBAL_BG_FADE_CURRENT_COLOR); } function showConsumedPlayer(how, freezy) { if (how != undefined) { GLOBAL_SHOW_CONSUMED_PLAYER = how; } else { GLOBAL_SHOW_CONSUMED_PLAYER = false; } if (freezy != undefined) { GLOBAL_SHOW_CONSUMED_PLAYER_FROZEN = freezy; } else { GLOBAL_SHOW_CONSUMED_PLAYER_FROZEN = false; } } function musicPlay(localname) { if (localname != GLOBAL_MUSIC_FILE) { GLOBAL_MUSIC_FILE = localname; } trace("MUSIC: " + GLOBAL_MUSIC_FILE); GLOBAL_MUSIC.loadSound(GLOBAL_MUSIC_FILE, true); GLOBAL_MUSIC.start(); GLOBAL_MUSIC.onSoundComplete = function () { GLOBAL_MUSIC.start(); }; GLOBAL_MUSIC.setVolume(0.5 * GLOBAL_SET_VOLUME); } function musicStop() { GLOBAL_MUSIC.setVolume(0); GLOBAL_MUSIC.stop(); } function musicUpdate() { } function resetPlayer() { GLOBAL_PLAYER.hp = 63; GLOBAL_PLAYER.s_atktype = 0; GLOBAL_PLAYER.s_animbusy = 0; GLOBAL_PLAYER.s_idle = 1; GLOBAL_PLAYER.s_moving = 0; GLOBAL_PLAYER.s_attacking = 0; GLOBAL_PLAYER.s_hit = 0; GLOBAL_PLAYER.s_vx = 0; GLOBAL_PLAYER.s_consumed = undefined; GLOBAL_PLAYER._alpha = 100; GLOBAL_PLAYER.head._alpha = 100; GLOBAL_PLAYER.head._visible = true; GLOBAL_PLAYER._visible = true; setPlayerScale(100); goPlay(GLOBAL_PLAYER, "idle"); setPlayerHasHead(true); G.enemyFacePlayer(); } function qteEvent(frames, typeobject) { if (typeobject == undefined) { typeobject = new Object({type:1}); } GLOBAL_QTE_DATA.qliveevent = 0; for (var _local2 in typeobject) { GLOBAL_QTE_DATA[_local2] = typeobject[_local2]; } if (frames == undefined) { frames = 20; } GLOBAL_QTE_DATA.result = 0; GLOBAL_QTE_DATA.active = true; GLOBAL_QTE_DATA.timeleft = frames; GLOBAL_QTE_DATA.qsetup = 0; if (GLOBAL_QTE_DATA.qliveevent > 0) { } else { GLOBAL_ENEMY.enemy.stop(); getEnemyT(GLOBAL_ENEMY).stop(); GLOBAL_PLAYER.stop(); GLOBAL_PLAYER.aniclip.mc.stop(); GLOBAL_PLAYER.aniclip.mc.mc.stop(); if (GLOBAL_SHOW_CONSUMED_PLAYER) { GLOBAL_PLAYER._alpha = 100; } } } function qteAbort(setto) { if (setto != undefined) { GLOBAL_QTE_DATA.result = setto; } else { GLOBAL_QTE_DATA.result = 0; } GLOBAL_QTE_DATA.active = 0; } function qteCheck() { trace("Checking QTE result: " + GLOBAL_QTE_DATA.result); return(GLOBAL_QTE_DATA.result); } function loadURLList(textData) { var _local10 = new Array(); var _local4 = new Array(); var _local11 = 0; var _local2 = 0; while (_local2 < textData.length) { var _local8 = textData.charCodeAt(_local2); if ((_local8 == 13) || (_local8 == 0)) { if (_local11 < _local2) { var _local3 = textData.substring(_local11, _local2); if (String.fromCharCode(_local3.charCodeAt(0)) == "#") { } else if (String.fromCharCode(_local3.charCodeAt(0)) == "~") { if (_local4.length > 0) { _local4[_local4.length - 1] = _local3.substr(1); } } else { var _local7 = new Object(); _local7.text = _local3; _local10.push(_local7); _local4.push(undefined); loadicon = undefined; } } _local11 = _local2 + 1; } _local2++; } _local2 = 0; while (_local2 < _local10.length) { var _local12 = _local10[_local2]; var _local9 = _local4[_local2]; var _local6 = _local12.text; BLOCK_ENEMY_ONE_FRAME = true; var _local5 = true; var _local1 = 0; while (_local1 < GLOBAL_LOADEEMS.length) { if (GLOBAL_LOADEEMS[_local1] == _local6) { _local5 = false; break; } _local1++; } if (_local5) { GLOBAL_LOADEEMS.push(_local6); if (_local9 != undefined) { GLOBAL_LOADEEMS_ICONS[GLOBAL_LOADEEMS.length] = _local9; } GLOBAL_MAXENEMYFRAMES = GLOBAL_MAXENEMYFRAMES + 1; } _local2++; } return(0); } function getURLList() { var _local2 = ""; var _local1 = 0; while (_local1 < GLOBAL_LOADEEMS.length) { _local2 = _local2 + GLOBAL_LOADEEMS[_local1]; _local2 = _local2 + newline; if (GLOBAL_LOADEEMS_ICONS[_local1] != undefined) { _local2 = _local2 + (("~" + GLOBAL_LOADEEMS_ICONS[_local1]) + newline); } _local1++; } return(_local2); } function enemySetAIFunction(fptr) { GLOBAL_ENEMY_AI_FUNC = fptr; } function setCustomGui(embedpath, embedframe) { var _local2 = 0; if (embedframe == undefined) { if (GLOBAL_GAME_GUI_TYPE_FRAME != GLOBAL_GAME_GUI_TYPE_FRAME_DEFAULT) { _local2 = _local2 + 1; } GLOBAL_GAME_GUI_TYPE_FRAME = GLOBAL_GAME_GUI_TYPE_FRAME_DEFAULT; } else { if (GLOBAL_GAME_GUI_TYPE_FRAME != embedframe) { _local2 = _local2 + 1; } GLOBAL_GAME_GUI_TYPE_FRAME = embedframe; } if (embedpath == 0) { if (GLOBAL_GAME_GUI_TYPE != GLOBAL_GAME_GUI_TYPE_DEFAULT) { _local2 = _local2 + 1; } GLOBAL_GAME_GUI_TYPE = GLOBAL_GAME_GUI_TYPE_DEFAULT; } else { if (GLOBAL_GAME_GUI_TYPE != "gamecustom") { _local2 = _local2 + 1; } GLOBAL_GAME_GUI_TYPE = "gamecustom"; if (embedpath == undefined) { var _local3 = getEnemyURL(enemyGetID()); if (GLOBAL_GAME_GUI_TYPE_PATH != _local3) { _local2 = _local2 + 1; } GLOBAL_GAME_GUI_TYPE_PATH = _local3; } else { if (GLOBAL_GAME_GUI_TYPE_PATH != embedpath) { _local2 = _local2 + 1; } GLOBAL_GAME_GUI_TYPE_PATH = embedpath; } } if (_local2) { _parent.camControl.gotoAndStop(GLOBAL_GAME_GUI_TYPE); } } _root._quality = "MEDIUM"; GLOBAL_USE_DARKROLLS = true; GLOBAL_LOADEEMS = new Array(); GLOBAL_LOADEEMS_ICONS = new Object(); GLOBAL_LOADEEMS_BROKEN = new Array(); var GLOBAL_LOCALSCOPE = (String(_root._url).indexOf("file") == 0); var GLOBAL_USEHTTPS = (String(_root._url).indexOf("https") == 0); trace((((_root._url + " ") + GLOBAL_LOCALSCOPE) + " ") + GLOBAL_USEHTTPS); var GLOBAL_SWF_NAME = ""; var GLOBAL_SWF_URL = unescape(String(_root._url)); swfName = String(_root._url); swfName = swfName.slice(swfName.lastIndexOf("/") + 1); GLOBAL_SWF_NAME = unescape(swfName); trace((GLOBAL_SWF_NAME + " ") + GLOBAL_SWF_URL); if (GLOBAL_LOCALSCOPE) { trace("no defaults"); } else { var URLPLACE = "http://d.facdn.net/art/"; GLOBAL_LOADEEMS.push(URLPLACE + "alsnapz/1439336097/1439336097.alsnapz_pan_kuiko.swf"); GLOBAL_LOADEEMS.push(URLPLACE + "alsnapz/1439336328/1439336328.alsnapz_pan_ankles.swf"); GLOBAL_LOADEEMS.push(URLPLACE + "alsnapz/1439336210/1439336210.alsnapz_pan_dinopotimus.swf"); GLOBAL_LOADEEMS_ICONS[GLOBAL_LOADEEMS.length - 1] = "SwCOGon0vJe130mV0gvFHEq7SNAaRSeKg2G90000qlzvF9E0O83W6W7M8G197e8I3uK10Gme2CW83CNW1cEI0bRu0GuJi37uu0dM0466mR2FOW17UmG4CM1JXuCEDW+27Lm1Nc04++Fx1x5Oh6GB0OKO627Sr27t0GDQOJ6-jXY2OK5He50i4nyG064h+mi6CvapoCYBM0O4CJ2u4mAAWM2pjO0AcgYXk0F9dV15tMmyMCp58h02BomY4RK7XFkXn7KkuXvry2qSUHYEkh3mym4EGr3G-my0WeIpD4oDL2vI72T43jaGEWKyc2mya4gO88WtaXyqoqc8Y1mzYrLE8jP-4b29SYwfSZ4ZT29hSV83ZoSY0-AeaocPCcBF4e5JVvSEGAMmkdVQAIBvZz+WyFmkZ1Y1AQYX5yg14H4-6vLPAOcIcX1O2QMk5elOQRgJ3t51+Tw92mRPoGQodDsfLEn8LFSnPdgZAH0DO3VV8qh0X+GJ54K4zK1PnoeC08DcWLr6WawJnWfxEe3fGzPkFIF96j9qaii3noPSOcTfvRAc1md9mOQw86SfnS8r90h0iToS347g08H+f24Apo4LbIDAK4zZ8JH-JYO5Xe8058J5nz9xLavaaKHmH2e4URH4G2k5xOjVMpkPhlsBwloXhdwS5UE8"; GLOBAL_LOADEEMS_ICONS[GLOBAL_LOADEEMS.length - 1] = "aAL8myn+oSM002y7W3oha3rjtZoUvpZU30O0GK80n04Wi0AOCykuGmmpyZ0m5e973yE70EiVK2MFeG0CEm130E1MI0i24o0ZI0E4YfH1ENWf60U161XXH8C00qGRRS0J9Kn2HWu03GOi+oO1i40l49O+3Rp811BuA47GiZ7ExXtOOS90DXPTS2oIAnm8-eI844nHJC65JL1aHO058meYSDu-C43n5t7mXEK562KnVNao1G5nuSC703r1C14U1eanYN0P6pon690l6Ou1VEiq5f71aKGg8UOo0H6HTGEtH48yo7We+8OS1ACYvEKOsaMK13MW85h113smzZ9rPI5QoduX0eA6jdfVfMNy06LF92A0Dd6avX9sT68emqPYbclhvPBi9cglvPC-tcow00V6zcdtPdV0mJ3Ho3++4G5ZaoxQWkE8lqe0WBD12Z8-ziGV00B+5AIWJ0W+ifVFSqN15GGci82BJwBIaRctx9hcmb5SHAwWgUfH3m2TgAcnW2x8Gaf9OQO46kd9BOUgdLnKVRL9LDbJuX2KNPWEXS5iIDJCJC5mOPU6GbrYM1kKMn5YQ1rMx2L1SzwAXHolyavN3CLSD9BOc5mGXXp0bOn2EPyOGwH1YP-4JGsKXXOBu7raIWC3qS0dVXmKpPHrdX-O6ss4QrAD3osBNXASMv60c5gPpW2MlX9C3BNR1CUFLA02gPRTm4dbIXJIZC7MFXh7JL1IbXPBbQdbhC7IJZt3qj6KpNq4Z0rU1rIh4DCDzqNhOKBWliql3I3qz4FWZW1j0SRWz4g82ial9iA92axkoMuY9EqkOFuT4oaCKH0dZGr10bG95oO0XoRo6-2lBQmz7-7Y4Oef16FjEa89AazYYc8ruE8ZBlYSVmfbjzxwDeEZOm0VakGZU8Oz-I824w0TuahZjpurFIhES2HKrIC4F7vLH-jaZfRxJir49zPbJil8q-0Pi8BDsAJe26kg4E1cMy75+T9Nrm469L9eNc96hY18MATcarYoX8l6GePU+6dcFlvLpYjbhm1DW4DdkwgunmRd7wv3QaocW+1YE2o7xq2paGv5C0J8nc3YG3ofX-IXyYxBK2peeBwTvAU1dcOmZcDhqc3+ZG1BWL2yNcAf4Kova-TemVQ3hMd97XwMV4HgNWA3ENn9Llsr5MroWFHT5MlbrVQrmLHkPDh0AVjUkh+zxTnk4md0gDiV1Rzn43"; } GLOBAL_OPTIONS = new Object(); GLOBAL_OPTIONS.showDirty = 1; GLOBAL_OPTIONS.showNaughty = 1; GLOBAL_EXTERNAL_XML_FILEURL = "external.xml"; GLOBAL_MAX_PLAYERGRAPHIC = 7; GLOBAL_MAXENEMYFRAMES = GLOBAL_LOADEEMS.length; _root.GLOBAL_PLAYERGRAPHIC = 1; _root.GLOBAL_PLAYERSUBGRAPHIC = 1; _root.GLOBAL_PLAYERHEAD = 1; _root.GLOBAL_SKIN_CLASS = "Human"; _root.GLOBAL_SKIN_BODY_PART = "newBarb"; _root.GLOBAL_SKIN_ARM_PART = "newBarb"; _root.GLOBAL_SKIN_HAND_PART = "newBarb"; _root.GLOBAL_SKIN_LEG_PART = "newBarb"; _root.GLOBAL_SKIN_FOOT_PART = "newBarb"; _root.GLOBAL_SKIN_HEAD_PART = "newBarb"; _root.GLOBAL_SKIN_WEAPON_PARTL = "sword"; _root.GLOBAL_SKIN_WEAPON_PARTR = "none"; _root.GLOBAL_SKIN_TAIL_PART = "none"; _root.GLOBAL_SKIN_EAR_PART = "none"; _root.GLOBAL_SKIN_GENDER_PART = "none"; GLOBAL_SET_VOLUME = 50; GLOBAL_TAPDASH_FRAMES = 3; GLOBAL_TAPDASH_STATE = 0; GLOBAL_TAPDASH_DIRECTION = 0; _root.GLOBAL_WEAPON_TYPE = 2; GLOBAL_ENEMIES_BY_NAME_LOADING = 0; GLOBAL_CAMERA_ZOOMPLAYER = 1; GLOBAL_ALLOW_PETS = 0; GLOBAL_PLAYER_MODE = 0; GLOBAL_PLAYER_MODE_MAX = 1; GLOBAL_PLAYER_MODE_DETECT = 0; GLOBAL_ENEMY_REQUEST_VICTORY = 0; GLOBAL_ENEMY_REQUEST_VICTORY_NEXT = 0; GLOBAL_GAME_GUI_TYPE_DEFAULT = "game"; GLOBAL_GAME_GUI_TYPE = GLOBAL_GAME_GUI_TYPE_DEFAULT; GLOBAL_GAME_GUI_TYPE_PATH = 0; GLOBAL_GAME_GUI_TYPE_FRAME_DEFAULT = "customGui"; GLOBAL_GAME_GUI_TYPE_FRAME = 0; GLOBAL_TROPHYCASE = new Object(); var GLOBALUPDATECOX = new Object(); GLOBAL_SHOW_PLAYER_INSIDEPLUS = true; GLOBAL_SHOW_PLAYER_INSIDEPLUS_ENEMY_ENABLE = false; GLOBAL_QTE_DATA = new Object({result:0}); ATTACK_MEDIUM = 1; ATTACK_HIGH = 2; ATTACK_LOW = 0; ATTACK_SPECIAL = 1; _parent.camControl.gotoAndStop(GLOBAL_GAME_GUI_TYPE); _parent.camControl.resetStage(); var mcPointToParent = function (mc, mcparent, px, py) { var _local3 = new flash.geom.Point(px, py); if (mc != undefined) { var _local1 = mc; do { if (_local1 == mcparent) { break; } var _local2 = _local1.transform.matrix; _local3 = _local2.transformPoint(_local3); _local1 = _local1._parent; } while (_local1 != undefined); } return(Object({_x:_local3.x, _y:_local3.y})); }; var mcPointAndRotationToParent = function (mc, mcparent, px, py) { var _local1 = mcPointToParent(mc, mcparent, 0, 0); var _local2 = mcPointToParent(mc, mcparent, 1, 0); _local1._rotation = 57.2957795130823 * Math.atan2(_local2._y - _local1._y, _local2._x - _local1._x); return(_local1); }; var mcDirectSyncPosition = function (obj, targ) { obj._x = targ._x; obj._y = targ._y; }; var mcDirectSyncRotation = function (obj, targ) { obj._rotation = targ._rotation; }; var mcDirectSyncScale = function (obj, targ) { obj._xscale = targ._xscale; obj._yscale = targ._yscale; }; var mcDirectSync = function (obj, targ) { obj._x = targ._x; obj._y = targ._y; obj._rotation = targ._rotation; obj._xscale = targ._xscale; obj._yscale = targ._yscale; }; GLOBAL_SYNCMAP = new Object(); GLOBAL_PRESYNC = function (G, Obj, extra) { }; GLOBAL_POSTSYNC = function (G, Obj, extra) { }; V = new Object(); GLOBAL_VALUES = V; GLOBAL_FUNCS = new Object(); GLOBAL_ENEMY_HASHCODES = new Object(); var GLOBAL_ENEMY_AI_FUNC = _enemyAIDefault; _root.nvSetVolume = function (amt100) { var _local2 = new Sound(_parent); _local2.setVolume(amt100); GLOBAL_SET_VOLUME = amt100; GLOBAL_MUSIC.setVolume(0.5 * GLOBAL_SET_VOLUME); }; _root.nvSetVolume(GLOBAL_SET_VOLUME); GLOBAL_ENEMY_DATA = new Object(); GLOBAL_CURRENT_BACKGROUND = "default"; GLOBAL_FLOOR = 200; GLOBAL_LIVES = 6; GLOBAL_KILLS = 0; GLOBAL_POINTS = 0; GLOBAL_LOG = new Array(); GLOBAL_TRUEPAUSE = false; GLOBAL_PAUSE = false; GLOBAL_PAUSECTR = false; GLOBAL_PAUSEHFR = 0; GLOBAL_PAUSEHFRCTR = 0; GLOBAL_PLAYER = _parent.player; GLOBAL_PLAYERHASHEAD = true; GLOBAL_ENEMY = _parent.enemy; GLOBAL_ENEMY_TIMEOUT = 0; GLOBAL_BG = _parent.MBG; _parent.colorize(_parent.playershad, -100, -100, -100, -50); _parent.colorize(_parent.enemyshad, -100, -100, -100, -50); GLOBAL_CAMERA_SHAKE = new Object(); GLOBAL_CAMERA_SHAKE.use = false; GLOBAL_CAMERA_SHAKE.freq = 5; GLOBAL_CAMERA_SHAKE.amp = 1; GLOBAL_CAMERA_SHAKE.decay = 0; GLOBAL_CAMERA_SHAKE.maxdecay = 0; GLOBAL_ENEMYSPARK = _parent.enemyspark; GLOBAL_PLAYERSPARK = _parent.playerspark; GLOBAL_ENEMY_FRAMES_RUN = 0; GLOBAL_FULL_TRACE = 0; GLOBAL_ENEMY_ATKUSE = new Array(0.1, 0.09, 0.71); GLOBAL_PLAYER_TAPS = new Object(); GLOBAL_SCORE_ON_DAMAGE = 1; GLOBAL_POINTS_START = 0; GLOBAL_DELAY_STARTNOISE = 0; playerTapReset(); GLOBAL_SHOW_CONSUMED_PLAYER = false; GLOBAL_SHOW_CONSUMED_PLAYER_FROZEN = false; GLOBAL_MAXENEMYFRAMES = GLOBAL_ENEMY._totalframes; _traceF0 = _traceFx; _traceF1 = function (msg) { }; _traceF2 = function (msg) { }; _traceF3 = function (msg) { }; LogScrollOffset = 0; GLOBAL_BG_FADE = -1; GLOBAL_BG_FADE_TIME = -1; GLOBAL_BG_FADE_COLOR = 16777215 /* 0xFFFFFF */; GLOBAL_BG_FADE_PREV_COLOR = 16777215 /* 0xFFFFFF */; GLOBAL_BG_FADE_CURRENT_COLOR = 16777215 /* 0xFFFFFF */; GLOBAL_SCROLLBG = _parent.scrollbg; GLOBAL_MUSIC = new Sound(this); GLOBAL_MUSIC_FILE = ""; addcharactervariables(GLOBAL_PLAYER); addcharactervariables(GLOBAL_ENEMY); GLOBAL_ENEMY.ai = 1; GLOBAL_PLAYER.m_name = "Pan"; GLOBAL_PLAYER.m_status = "Little Yellow Cute Dinosaur Thingey"; setPlayerHasHead(true); GLOBAL_ENEMIES_BY_NAME = new Object(); GLOBAL_ENEMIES_BY_NAME_SORTED = new Array(); BLOCK_ENEMY_ONE_FRAME = true; GLOBAL_MAXENEMYNONEXTERNAL = 1; LOADINGXML = false; LOADINGXMLCOMPLETED = false; REGISTER_FIRST_ENEMY_FRAME = 1; GLOBAL_ENEMY.gotoAndStop("external"); Log((GLOBAL_SWF_NAME + " ") + GLOBAL_SWF_URL); Log((((("Player: " + System.capabilities.playerType) + ", ") + GLOBAL_LOCALSCOPE) + ": ") + _root._url); } onClipEvent (enterFrame) { if (_root.GLOBAL_ASSISTANCE) { if (GLOBAL_ASSISTANCE_TIMER == undefined) { GLOBAL_ASSISTANCE_TIMER = 0; } GLOBAL_ASSISTANCE_TIMER++; if (GLOBAL_ASSISTANCE_TIMER > 30) { GLOBAL_ASSISTANCE_TIMER = 0; _root.GLOBAL_ASSISTANCE = 0; } } if (REGISTER_FIRST_ENEMY_FRAME) { GLOBAL_MAXENEMYNONEXTERNAL = GLOBAL_ENEMY._currentframe; GLOBAL_MAXENEMYFRAMES = GLOBAL_MAXENEMYNONEXTERNAL; GLOBAL_MAXENEMYFRAMES = GLOBAL_MAXENEMYFRAMES + GLOBAL_LOADEEMS.length; REGISTER_FIRST_ENEMY_FRAME = 0; BLOCK_ENEMY_ONE_FRAME = true; trace("Synced auto: " + GLOBAL_MAXENEMYNONEXTERNAL); var loadme = new XML(); loadme.ignoreWhite = true; loadme.onLoad = function (success) { var _local2 = loadme.firstChild.firstChild; while (_local2 != null) { var _local5 = _local2.attributes.path; var _local1 = _local2.attributes.local; var _local4 = _local2.attributes.icon; if (_local1 == undefined) { _local1 = 0; } _local1 = Number(_local1); var _local3 = false; if (GLOBAL_LOCALSCOPE) { _local3 = true; } else if (_local1 == 0) { _local3 = true; } if (_local3) { GLOBAL_LOADEEMS.push(_local5); if (_local4 != undefined) { GLOBAL_LOADEEMS_ICONS[GLOBAL_LOADEEMS.length - 1] = _local4; } GLOBAL_MAXENEMYFRAMES = GLOBAL_MAXENEMYFRAMES + 1; } _local2 = _local2.nextSibling; } trace("loaded XML " + GLOBAL_LOADEEMS); LOADINGXML = false; }; LOADINGXML = true; if (GLOBAL_EXTERNAL_XML_FILEURL == undefined) { GLOBAL_EXTERNAL_XML_FILEURL = "external.xml"; } loadme.load(GLOBAL_EXTERNAL_XML_FILEURL); } if (LOADINGXML) { LOADINGXMLCOMPLETED = false; if (loadme.getBytesTotal() > 0) { } return(undefined); } if (!LOADINGXMLCOMPLETED) { _parent.camControl.emptygrid.drawnyet = undefined; _parent.camControl.emptygrid.selectnext = 1; LOADINGXMLCOMPLETED = true; Log("Loaded!"); pickEnemy(2); } if (GLOBAL_LOADEEMS_BROKEN.length > 0) { while (GLOBAL_LOADEEMS_BROKEN.length > 0) { var killme = GLOBAL_LOADEEMS_BROKEN.pop(); var i = 0; while (i < GLOBAL_LOADEEMS.length) { if (GLOBAL_LOADEEMS[i] == killme) { GLOBAL_LOADEEMS.splice(i, 1); if (GLOBAL_ENEMY_HASHCODES.hasOwnProperty(i)) { delete GLOBAL_ENEMY_HASHCODES[i]; } if (GLOBAL_ENEMY_DATA.hasOwnProperty(i)) { delete GLOBAL_ENEMY_DATA[i]; } GLOBAL_MAXENEMYFRAMES = GLOBAL_MAXENEMYFRAMES - 1; trace("EXREMOVE: " + killme); Log("EXREMOVE: " + killme); break; } i++; } } pickEnemy(0); } GLOBAL_PLAYER.aniclip.mc.G = this; GLOBAL_ENEMY.enemy.G = this; GLOBAL_ENEMY.enemy.enemy.G = this; getEnemyT(GLOBAL_ENEMY).G = this; var correctMyExternalEnemy = 0; if (GLOBAL_ENEMY.m_name == "EXTERNAL") { BLOCK_ENEMY_ONE_FRAME = true; if (GLOBAL_ENEMY.m_status == "SxS*NOTLOADED") { if (GLOBAL_ENEMIES_BY_NAME_LOADING > 0) { pickEnemy(2); GLOBAL_ENEMIES_BY_NAME_LOADING = 0; var nenemies = 0; var names = new Array(); for (var key in GLOBAL_ENEMIES_BY_NAME) { names.push(new Object({name:key, value:GLOBAL_ENEMIES_BY_NAME[key]})); } names.sortOn("name", Array.CASEINSENSITIVE); GLOBAL_ENEMIES_BY_NAME_SORTED = new Object(); var ia = 0; while (ia < names.length) { GLOBAL_ENEMIES_BY_NAME_SORTED[ia + 2] = names[ia].value; ia++; } trace(GLOBAL_ENEMIES_BY_NAME_SORTED); _parent.camControl.gotoAndStop(GLOBAL_GAME_GUI_TYPE); return(undefined); } _stopExtSounds(); if (GLOBAL_ENEMY.m_loadurl != undefined) { GLOBAL_ENEMY.is_external = fixURL(GLOBAL_ENEMY.m_loadurl); GLOBAL_ENEMY.is_external_loaded = 0; GLOBAL_ENEMY._manuallyReset = undefined; GLOBAL_ENEMY.enemy._xscale = 100; GLOBAL_ENEMY.enemy._yscale = 100; _loadMovie(_parent.enemyshad.t.enemy, GLOBAL_ENEMY.m_loadurl, ""); _loadMovie(GLOBAL_ENEMY.enemy, GLOBAL_ENEMY.m_loadurl, ""); } else { GLOBAL_ENEMY.is_external = fixURL(_root.externalURL); GLOBAL_ENEMY.is_external_loaded = 0; GLOBAL_ENEMY._manuallyReset = undefined; GLOBAL_ENEMY.enemy._xscale = 100; GLOBAL_ENEMY.enemy._yscale = 100; _loadMovie(_parent.enemyshad.t.enemy, _root.externalURL, ""); _loadMovie(GLOBAL_ENEMY.enemy, _root.externalURL, ""); } _parent.enemyshad.t.enemy.G = this; _parent.enemyshad.t.enemy.enemy.G = this; GLOBAL_ENEMY.m_status = ""; } } if (GLOBAL_ENEMY.is_external) { if (!GLOBAL_ENEMY.is_external_loaded) { var FMin = goPlayGetMinFrame(getEnemyT(GLOBAL_ENEMY), "idle"); if (FMin == undefined) { FMin = 1; } if (getEnemyT(GLOBAL_ENEMY)._currentframe != FMin) { correctMyExternalEnemy = 1; } } else if (GLOBAL_ENEMY.is_external_loaded == 1) { correctMyExternalEnemy = 1; GLOBAL_ENEMY.is_external_loaded = 2; } } if (GLOBAL_ENEMY.m_blatently_reset > 0) { GLOBAL_ENEMY.m_blatently_reset--; if (GLOBAL_ENEMY.m_blatently_reset < 1) { GLOBAL_CURRENT_BACKGROUND = GLOBAL_ENEMY.m_background; if (GLOBAL_CURRENT_BACKGROUND == undefined) { GLOBAL_CURRENT_BACKGROUND = "default"; } _parent.scrollbg.gotoAndStop(GLOBAL_CURRENT_BACKGROUND); } } var usethisenemy = GLOBAL_ENEMY._currentframe; var continueme = true; if (GLOBAL_ENEMY.is_external) { if (!GLOBAL_ENEMY.is_external_loaded) { continueme = false; } } if ((GLOBAL_ENEMY.m_name == "EXTERNAL") || (GLOBAL_ENEMY.m_status == "SxS*NOTLOADED")) { continueme = false; } if (GLOBAL_ENEMY_DATA.hasOwnProperty(usethisenemy)) { if (continueme) { var EDATA = GLOBAL_ENEMY_DATA[usethisenemy]; if (EDATA.m_scale == undefined) { EDATA.m_scale = GLOBAL_ENEMY.m_scale; } if (EDATA.m_name == undefined) { EDATA.m_name = GLOBAL_ENEMY.m_name; } if (EDATA.m_status == undefined) { EDATA.m_status = GLOBAL_ENEMY.m_status; } if (EDATA.m_credit == undefined) { EDATA.m_credit = GLOBAL_ENEMY.m_credit; } if (EDATA.maxhp == undefined) { EDATA.maxhp = GLOBAL_ENEMY.maxhp; } if (GLOBAL_ENEMIES_BY_NAME[EDATA.m_name] == undefined) { GLOBAL_ENEMIES_BY_NAME[EDATA.m_name] = GLOBAL_ENEMY._currentframe; } } } else if (continueme) { var EDATA = new Object(); EDATA.m_scale = GLOBAL_ENEMY.m_scale; EDATA.m_name = GLOBAL_ENEMY.m_name; EDATA.m_status = GLOBAL_ENEMY.m_status; EDATA.m_credit = GLOBAL_ENEMY.m_credit; EDATA.maxhp = GLOBAL_ENEMY.maxhp; GLOBAL_ENEMIES_BY_NAME[EDATA.m_name] = GLOBAL_ENEMY._currentframe; GLOBAL_ENEMY_DATA[usethisenemy] = EDATA; } if (GLOBAL_ENEMIES_BY_NAME_LOADING > 0) { pickEnemy(Math.floor(GLOBAL_ENEMIES_BY_NAME_LOADING) + 1); GLOBAL_ENEMIES_BY_NAME_LOADING = GLOBAL_ENEMIES_BY_NAME_LOADING + 0.5; _parent.camControl.gotoAndStop("loading"); _parent.scrollbg._visible = false; return(undefined); } _parent.scrollbg._visible = true; if (GLOBAL_GAME_GUI_TYPE == "gamecustom") { var ECAM = _parent.camControl; var EGUI = ECAM.embedgui; if (EGUI != undefined) { if (EGUI.mc == undefined) { EGUI.createEmptyMovieClip("mc", 0); } if (EGUI.mc != undefined) { var eGUI = EGUI.mc; if (EGUI.MovieClipLoaderURL != GLOBAL_GAME_GUI_TYPE_PATH) { _loadGui(eGUI, GLOBAL_GAME_GUI_TYPE_PATH); trace("TRUE load gui"); } else if (EGUI.MovieClipLoaderStatus == 3) { if (EGUI.MovieClipLoaderURL == GLOBAL_GAME_GUI_TYPE_PATH) { if (Key.isDown(8) || (Key.isDown(27))) { setCustomGui(0); } else { eGUI.gotoAndStop(GLOBAL_GAME_GUI_TYPE_FRAME); eGUI._visible = true; eGUI.update(); } } else { trace("not correctly loaded..."); setCustomGui(0); } } else if (EGUI.MovieClipLoaderStatus < 0) { trace((((("not loaded..." + EGUI.MovieClipLoaderStatus) + " ") + EGUI) + " ") + eGUI); Log("Could not load: " + GLOBAL_GAME_GUI_TYPE_PATH); setCustomGui(0); } else { trace((((((((((EGUI.MovieClipLoaderURL + " ") + GLOBAL_GAME_GUI_TYPE_PATH) + " ") + GLOBAL_GAME_GUI_TYPE) + " ") + EGUI.MovieClipLoaderStatus) + " ") + GLOBAL_GAME_GUI_TYPE_PATH) + " ") + GLOBAL_GAME_GUI_TYPE_FRAME); } } } } var inputKeyAction = (Key.isDown(101) || (Key.isDown(32))); var inputKeyLeft = (Key.isDown(100) || (Key.isDown(37))); var inputKeyRight = (Key.isDown(102) || (Key.isDown(39))); var inputKeyUp = (Key.isDown(104) || (Key.isDown(38))); var inputKeyDown = (Key.isDown(98) || (Key.isDown(40))); var inputMouseX = ((_parent.camControl.mouseX - -160) / 320); var inputMouseY = ((_parent.camControl.mouseY - -72) / 144); var inputMouseB = _parent.m_input_raw_mouse_down; var inputMouseValid = false; if ((inputMouseX >= 0) && (inputMouseX <= 1)) { if ((inputMouseY >= 0) && (inputMouseY <= 1)) { inputMouseValid = true; } } var inputB = (1 & (Key.isDown(101) || (Key.isDown(32)))); var inputL = (1 & (Key.isDown(100) || (Key.isDown(37)))); var inputR = (1 & (Key.isDown(102) || (Key.isDown(39)))); var inputU = (1 & (Key.isDown(104) || (Key.isDown(38)))); var inputD = (1 & (Key.isDown(98) || (Key.isDown(40)))); _parent.camControl.mousecursor.gotoAndStop("none"); if (inputMouseValid) { if (inputMouseB) { var useactioncode = false; if (inputMouseX < 0.5) { GLOBAL_PLAYER.in_action = false; } else { GLOBAL_PLAYER.in_action = true; useactioncode = true; } var dx = (inputMouseX / 0.5); var dy = (inputMouseY / 1); if (dx > 1) { dx = dx - 1; mcframe = mcframe + "A"; } GLOBAL_PLAYER.in_movex = 0; GLOBAL_PLAYER.in_movey = 0; if (useactioncode) { inputB = inputB | 1; if (dx < 0.333) { inputL = inputL | 1; GLOBAL_PLAYER.in_movex = -1; if (GLOBAL_PLAYER._xscale > 0) { GLOBAL_PLAYER._xscale = -Math.abs(GLOBAL_PLAYER._xscale); } } else if (dx > 0.666) { inputR = inputR | 1; GLOBAL_PLAYER.in_movex = 1; if (GLOBAL_PLAYER._xscale < 0) { GLOBAL_PLAYER._xscale = Math.abs(GLOBAL_PLAYER._xscale); } } if (dy < 0.333) { inputU = inputU | 1; GLOBAL_PLAYER.in_movey = 1; } else if (dy > 0.666) { inputD = inputD | 1; GLOBAL_PLAYER.in_movey = -1; } } else if (Math.abs(dx - 0.5) > Math.abs(dy - 0.5)) { if (dx < 0.333) { inputL = inputL | 1; GLOBAL_PLAYER.in_movex = -1; if (GLOBAL_PLAYER._xscale > 0) { GLOBAL_PLAYER._xscale = -Math.abs(GLOBAL_PLAYER._xscale); } } else if (dx > 0.666) { inputR = inputR | 1; GLOBAL_PLAYER.in_movex = 1; if (GLOBAL_PLAYER._xscale < 0) { GLOBAL_PLAYER._xscale = Math.abs(GLOBAL_PLAYER._xscale); } } } else if (dy < 0.333) { inputU = inputU | 1; GLOBAL_PLAYER.in_movey = 1; } else if (dy > 0.666) { inputD = inputD | 1; GLOBAL_PLAYER.in_movey = -1; } } var mcframe = "c"; var dx = (inputMouseX / 0.5); var dy = (inputMouseY / 1); if (dx > 1) { dx = dx - 1; mcframe = mcframe + "A"; if (dx < 0.333) { mcframe = mcframe + "L"; } else if (dx > 0.666) { mcframe = mcframe + "R"; } if (dy < 0.333) { mcframe = mcframe + "U"; } else if (dy > 0.666) { mcframe = mcframe + "D"; } } else if (Math.abs(dx - 0.5) > Math.abs(dy - 0.5)) { if (dx < 0.333) { mcframe = mcframe + "L"; } else if (dx > 0.666) { mcframe = mcframe + "R"; } } else if (dy < 0.333) { mcframe = mcframe + "U"; } else if (dy > 0.666) { mcframe = mcframe + "D"; } _parent.camControl.mousecursor.gotoAndStop(mcframe); } if (inputL) { GLOBAL_PLAYER_TAPS.L = GLOBAL_PLAYER_TAPS.L + 1; } else { GLOBAL_PLAYER_TAPS.L = 0; } if (inputR) { GLOBAL_PLAYER_TAPS.R = GLOBAL_PLAYER_TAPS.R + 1; } else { GLOBAL_PLAYER_TAPS.R = 0; } if (inputU) { GLOBAL_PLAYER_TAPS.U = GLOBAL_PLAYER_TAPS.U + 1; } else { GLOBAL_PLAYER_TAPS.U = 0; } if (inputD) { GLOBAL_PLAYER_TAPS.D = GLOBAL_PLAYER_TAPS.D + 1; } else { GLOBAL_PLAYER_TAPS.D = 0; } if (inputB) { GLOBAL_PLAYER_TAPS.B = GLOBAL_PLAYER_TAPS.B + 1; } else { GLOBAL_PLAYER_TAPS.B = 0; } GLOBAL_PRESYNC(this, getEnemyT(GLOBAL_ENEMY), undefined); GLOBAL_CAMERA_ZOOMPLAYER = getPlayerScale() / 100; var cancelthisframe = 0; if (GLOBAL_QTE_DATA.active) { if (GLOBAL_QTE_DATA.qliveevent > 0) { cancelthisframe = 0; } else { cancelthisframe = 1; } var QT = _parent.camControl.mcqte; GLOBAL_QTE_DATA.fadetime = 10; var deltaxm = 128; var deltaym = -40; if (enemyFacingRight()) { deltaxm = Math.abs(deltaxm); } else { deltaxm = -Math.abs(deltaxm); } QT._x = deltaxm; QT._y = deltaym; QT._visible = true; if (!GLOBAL_PAUSE) { GLOBAL_QTE_DATA.timeleft = GLOBAL_QTE_DATA.timeleft - 1; } if (GLOBAL_QTE_DATA.timeleft < 0) { GLOBAL_QTE_DATA.active = false; } if (GLOBAL_QTE_DATA.qliveevent > 0) { } else if (getEnemyT(GLOBAL_ENEMY).camera != undefined) { var offy = 0; var cbounds = getEnemyT(GLOBAL_ENEMY).camera.getBounds(_root); var useviewbox = false; if (cbounds.xMax != undefined) { if (((cbounds.xMax - cbounds.xMin) > 2) && ((cbounds.yMax - cbounds.yMin) > 2)) { useviewbox = true; } } if (useviewbox) { var xsize = (cbounds.xMax - cbounds.xMin); var ysize = (cbounds.yMax - cbounds.yMin); var ysp = ((ysize * 320) / 240); if (xsize >= ysp) { ysize = (xsize * 240) / 320; } else { xsize = (ysize * 320) / 240; } var newx = (0.5 * (cbounds.xMin + cbounds.xMax)); var newy = (0.5 * (cbounds.yMin + cbounds.yMax)); var newxscale = (xsize / 3.2); var newyscale = (ysize / 2.4); _parent.camControl._x = newx; _parent.camControl._y = newy; _parent.camControl._xscale = newxscale; _parent.camControl._yscale = newyscale; delmove = (160 - newx) * decayspeed; } else { _parent.camControl.resetStage(); var offx = (((GLOBAL_ENEMY._xscale / Math.abs(GLOBAL_ENEMY._xscale)) * (getEnemyT(GLOBAL_ENEMY)._xscale / Math.abs(getEnemyT(GLOBAL_ENEMY)._xscale))) * getEnemyT(GLOBAL_ENEMY).camera._x); delmove = ((160 - GLOBAL_ENEMY._x) - offx) * decayspeed; if (!isPlayerConsumed(GLOBAL_PLAYER)) { cameraComputeZoomScale(GLOBAL_PLAYER); } else { cameraComputeZoomScale(GLOBAL_ENEMY); } } } _parent.camControl.emenydir.gotoAndStop("qte"); _traceF1("QTE Active"); if (GLOBAL_QTE_DATA.type == 1) { if (GLOBAL_QTE_DATA.qsetup == 0) { playerTapReset(); var barray = new Array("L", "D", "U", "R"); GLOBAL_QTE_DATA.qbutton = barray[Math.floor(Math.random() * barray.length)]; GLOBAL_QTE_DATA.qsetup = 1; } QT.gotoAndStop(GLOBAL_QTE_DATA.qbutton); if (playerTapGet() == GLOBAL_QTE_DATA.qbutton) { GLOBAL_QTE_DATA.active = false; GLOBAL_QTE_DATA.result = 1; } } else if (GLOBAL_QTE_DATA.type == 2) { if (GLOBAL_QTE_DATA.qsetup == 0) { playerTapReset(); var barray = new Array("B", "L", "D", "U", "R"); GLOBAL_QTE_DATA.qbutton = barray[Math.floor(Math.random() * barray.length)]; GLOBAL_QTE_DATA.qsetup = 1; } QT.gotoAndStop(GLOBAL_QTE_DATA.qbutton); if (playerTapGet() == GLOBAL_QTE_DATA.qbutton) { GLOBAL_QTE_DATA.active = false; GLOBAL_QTE_DATA.result = 1; } } else if (GLOBAL_QTE_DATA.type == 3) { if (GLOBAL_QTE_DATA.qsetup == 0) { playerTapReset(); GLOBAL_QTE_DATA.qbuttons = new Array("L", "D", "U", "R"); GLOBAL_QTE_DATA.qframe = "MASHDIR"; GLOBAL_QTE_DATA.qsetup = 1; GLOBAL_QTE_DATA.qsmashcount = 0; GLOBAL_QTE_DATA.qdeltatime = 0; GLOBAL_QTE_DATA.qsmashmark = GLOBAL_QTE_DATA.timeleft / 7; if (GLOBAL_QTE_DATA.qsmashmark < 1) { GLOBAL_QTE_DATA.qsmashmark = 1; } } QT.gotoAndStop(GLOBAL_QTE_DATA.qframe); QT.progressSet(GLOBAL_QTE_DATA.qsmashcount / GLOBAL_QTE_DATA.qsmashmark); GLOBAL_QTE_DATA.qdeltatime = GLOBAL_QTE_DATA.qdeltatime + 1; var tappedit = 0; var i = 0; while (i < GLOBAL_QTE_DATA.qbuttons.length) { if (playerTapGet() == GLOBAL_QTE_DATA.qbuttons[i]) { tappedit = tappedit + 1; } i++; } if (tappedit == 1) { GLOBAL_QTE_DATA.qsmashcount++; } if (GLOBAL_QTE_DATA.qsmashcount > GLOBAL_QTE_DATA.qsmashmark) { GLOBAL_QTE_DATA.active = false; GLOBAL_QTE_DATA.result = 1; } } else { if (GLOBAL_QTE_DATA.qsetup == 0) { playerTapReset(); GLOBAL_QTE_DATA.qsetup = 1; } QT.gotoAndStop("ANY"); if (playerTapGet().length > 0) { GLOBAL_QTE_DATA.active = false; GLOBAL_QTE_DATA.result = 1; } } if (GLOBAL_QTE_DATA.qliveevent > 0) { } else { if (!GLOBAL_QTE_DATA.active) { trace(" Should QTE play "); if (!GLOBAL_PAUSE) { unpauseall(); } if (GLOBAL_QTE_DATA.result) { QT.gotoAndStop("OK"); } else { QT.gotoAndStop("FAIL"); } } else { GLOBAL_ENEMY.enemy.stop(); getEnemyT(GLOBAL_ENEMY).stop(); GLOBAL_PLAYER.stop(); GLOBAL_PLAYER.aniclip.mc.stop(); GLOBAL_PLAYER.aniclip.mc.mc.stop(); } if (GLOBAL_SHOW_CONSUMED_PLAYER) { if (isPlayerConsumed(GLOBAL_PLAYER)) { GLOBAL_PLAYER._alpha = 100; } else { GLOBAL_PLAYER._alpha = 100; } } else if (isPlayerConsumed(GLOBAL_PLAYER)) { GLOBAL_PLAYER._alpha = 0; } else { GLOBAL_PLAYER._alpha = 100; } } } if (cancelthisframe) { } else if (!GLOBAL_PAUSE) { if (GLOBAL_QTE_DATA.fadetime > 0) { GLOBAL_QTE_DATA.fadetime = GLOBAL_QTE_DATA.fadetime - 1; } else { _parent.camControl.mcqte._visible = false; _parent.camControl.mcqte.gotoAndStop(1); } if (inputB) { GLOBAL_PLAYER.in_action = true; } else { GLOBAL_PLAYER.in_action = false; } if (inputL) { GLOBAL_PLAYER.in_movex = -1; GLOBAL_PLAYER.inputXSeq.push(-1); } else if (inputR) { GLOBAL_PLAYER.in_movex = 1; GLOBAL_PLAYER.inputXSeq.push(1); } else { GLOBAL_PLAYER.in_movex = 0; GLOBAL_PLAYER.inputXSeq.push(0); } if (inputU) { GLOBAL_PLAYER.in_movey = 1; } else if (inputD) { GLOBAL_PLAYER.in_movey = -1; } else { GLOBAL_PLAYER.in_movey = 0; } if (GLOBAL_PLAYER_MODE_DETECT < 0) { GLOBAL_PLAYER_MODE_DETECT = 0; } else { GLOBAL_PLAYER_MODE_DETECT = GLOBAL_PLAYER_MODE_DETECT - 0.08; } if (GLOBAL_PLAYER_TAPS.D == 1) { GLOBAL_PLAYER_MODE_DETECT = GLOBAL_PLAYER_MODE_DETECT + 1; if (GLOBAL_PLAYER_MODE_DETECT > 3) { setPlayerMode(); GLOBAL_PLAYER_MODE_DETECT = 0; } } if (GLOBAL_USE_DARKROLLS) { if (GLOBAL_PLAYER.inputXSeq == undefined) { GLOBAL_PLAYER.inputXSeq = new Array(); GLOBAL_TAPDASH_STATE = 0; } var cura = playerCurrAnim().toLowerCase(); if ((cura == "idle") || (cura == "walk")) { while (GLOBAL_PLAYER.inputXSeq.length > 30) { GLOBAL_PLAYER.inputXSeq.splice(0, 1); } GLOBAL_TAPDASH_STATE = 0; GLOBAL_TAPDASH_DIRECTION = 0; } else { GLOBAL_PLAYER.inputXSeq.clear(); } var prevval = 0; var prevcount = 0; var comp = new Array(); var ii = 0; while (ii < GLOBAL_PLAYER.inputXSeq.length) { var vee = GLOBAL_PLAYER.inputXSeq[ii]; if (prevval == vee) { prevcount++; } else { comp.push(new Object({input:vee, count:prevcount})); prevval = vee; prevcount = 0; } ii++; } if (prevcount > 0) { comp.push(new Object({input:prevval, count:prevcount})); } if (GLOBAL_TAPDASH_STATE == 0) { if (comp.length > 2) { var iend = (comp.length - 1); if (comp[iend].input == comp[iend - 2].input) { if ((comp[iend - 1].input == 0) && (comp[iend - 1].count < GLOBAL_TAPDASH_FRAMES)) { GLOBAL_TAPDASH_STATE = 17; GLOBAL_TAPDASH_DIRECTION = comp[iend].input; } } } } else { GLOBAL_PLAYER.inputXSeq.clear(); GLOBAL_TAPDASH_STATE--; if (GLOBAL_TAPDASH_STATE < 1) { GLOBAL_TAPDASH_DIRECTION = 0; GLOBAL_TAPDASH_STATE = 0; } else { GLOBAL_PLAYER.in_movex = GLOBAL_TAPDASH_DIRECTION; GLOBAL_PLAYER.in_movey = 0; GLOBAL_PLAYER.in_action = false; } } GLOBAL_PLAYER.s_running = 0; if (GLOBAL_TAPDASH_STATE > 0) { if (GLOBAL_TAPDASH_DIRECTION != 0) { GLOBAL_PLAYER.s_running = 1; } } } _parent.camControl.mousecursor._x = _parent.camControl.mouseX; _parent.camControl.mousecursor._y = _parent.camControl.mouseY; _updateSparkSim(GLOBAL_PLAYERSPARK, 1); _updateSparkSim(GLOBAL_ENEMYSPARK, 1); moveplayer(); GLOBAL_ENEMY_AI_FUNC(this, GLOBAL_ENEMY, GLOBAL_PLAYER); if (Key.isDown(87)) { getEnemyT(GLOBAL_ENEMY).in_movey = 1; } else if (Key.isDown(83)) { getEnemyT(GLOBAL_ENEMY).in_movey = -1; } if (Key.isDown(65)) { getEnemyT(GLOBAL_ENEMY).in_movex = 1; } else if (Key.isDown(68)) { getEnemyT(GLOBAL_ENEMY).in_movex = -1; } if (Key.isDown(70)) { getEnemyT(GLOBAL_ENEMY).in_action = 1; } if (GLOBAL_ENEMY_REQUEST_VICTORY) { if ((getEnemyT(GLOBAL_ENEMY).s_idle || (getEnemyT(GLOBAL_ENEMY).s_moving)) && (((!getEnemyT(GLOBAL_ENEMY).s_attacking) && (!getEnemyT(GLOBAL_ENEMY).s_hit)) && (!getEnemyT(GLOBAL_ENEMY).s_animbusy))) { var movehere = (GLOBAL_ENEMY._x - GLOBAL_PLAYER._x); if (movehere > 0) { GLOBAL_ENEMY._xscale = Math.abs(GLOBAL_ENEMY._xscale); getEnemyT(GLOBAL_ENEMY).in_movex = -1; } else { GLOBAL_ENEMY._xscale = -Math.abs(GLOBAL_ENEMY._xscale); getEnemyT(GLOBAL_ENEMY).in_movex = 1; } getEnemyT(GLOBAL_ENEMY).in_movey = 0; getEnemyT(GLOBAL_ENEMY).in_action = 0; setEnemyFaceTarget(0); } } if (GLOBAL_PLAYER.hp > 0) { GLOBAL_ENEMY.enemy.G = this; GLOBAL_ENEMY.enemy.enemy.G = this; getEnemyT(GLOBAL_ENEMY).G = this; if (!BLOCK_ENEMY_ONE_FRAME) { moveenemy(GLOBAL_ENEMY); } } damagecollisions(); var delmove = 0; var decayspeed = 0.25; if (!isPlayerConsumed(GLOBAL_PLAYER)) { delmove = (160 - GLOBAL_PLAYER._x) * decayspeed; _parent.camControl.resetStage(); cameraComputeZoomScale(GLOBAL_PLAYER); } else if (getEnemyT(GLOBAL_ENEMY).camera != undefined) { var offy = 0; var cbounds = getEnemyT(GLOBAL_ENEMY).camera.getBounds(_root); var useviewbox = false; if (cbounds.xMax != undefined) { if (((cbounds.xMax - cbounds.xMin) > 2) && ((cbounds.yMax - cbounds.yMin) > 2)) { useviewbox = true; } } if (useviewbox) { var xsize = (cbounds.xMax - cbounds.xMin); var ysize = (cbounds.yMax - cbounds.yMin); var ysp = ((ysize * 320) / 240); if (xsize >= ysp) { ysize = (xsize * 240) / 320; } else { xsize = (ysize * 320) / 240; } var newx = (0.5 * (cbounds.xMin + cbounds.xMax)); var newy = (0.5 * (cbounds.yMin + cbounds.yMax)); var newxscale = (xsize / 3.2); var newyscale = (ysize / 2.4); _parent.camControl._x = newx; _parent.camControl._y = newy; _parent.camControl._xscale = newxscale; _parent.camControl._yscale = newyscale; delmove = 0; } else { _parent.camControl.resetStage(); var offx = (((GLOBAL_ENEMY._xscale / Math.abs(GLOBAL_ENEMY._xscale)) * (getEnemyT(GLOBAL_ENEMY)._xscale / Math.abs(getEnemyT(GLOBAL_ENEMY)._xscale))) * getEnemyT(GLOBAL_ENEMY).camera._x); delmove = ((160 - GLOBAL_ENEMY._x) - offx) * decayspeed; if (!isPlayerConsumed(GLOBAL_PLAYER)) { cameraComputeZoomScale(GLOBAL_PLAYER); } else { cameraComputeZoomScale(GLOBAL_ENEMY); } } } else { _parent.camControl.resetStage(); if (GLOBAL_ENEMY.m_cameraoffset != undefined) { var offx = (((GLOBAL_ENEMY._xscale / Math.abs(GLOBAL_ENEMY._xscale)) * (getEnemyT(GLOBAL_ENEMY)._xscale / Math.abs(getEnemyT(GLOBAL_ENEMY)._xscale))) * GLOBAL_ENEMY.m_cameraoffset); delmove = ((160 - GLOBAL_ENEMY._x) - offx) * decayspeed; } if (!isPlayerConsumed(GLOBAL_PLAYER)) { cameraComputeZoomScale(GLOBAL_PLAYER); } else { cameraComputeZoomScale(GLOBAL_ENEMY); } } if (GLOBAL_CAMERA_SHAKE.use != 0) { _parent.camControl._y = _parent.camControl._y + (GLOBAL_CAMERA_SHAKE.amp * Math.cos(GLOBAL_CAMERA_SHAKE.phase)); GLOBAL_CAMERA_SHAKE.phase = GLOBAL_CAMERA_SHAKE.phase + GLOBAL_CAMERA_SHAKE.freq; GLOBAL_CAMERA_SHAKE.decay = 0; if (GLOBAL_CAMERA_SHAKE.autodecay > 0) { GLOBAL_CAMERA_SHAKE.autodecay--; if (GLOBAL_CAMERA_SHAKE.autodecay < 1) { GLOBAL_CAMERA_SHAKE.use = 0; } } } else if (GLOBAL_CAMERA_SHAKE.maxdecay > 0) { var decay = (1 - (GLOBAL_CAMERA_SHAKE.decay / GLOBAL_CAMERA_SHAKE.maxdecay)); if (decay < 0) { decay = 0; } else { _parent.camControl._y = _parent.camControl._y + ((decay * GLOBAL_CAMERA_SHAKE.amp) * Math.cos(GLOBAL_CAMERA_SHAKE.phase)); GLOBAL_CAMERA_SHAKE.phase = GLOBAL_CAMERA_SHAKE.phase + GLOBAL_CAMERA_SHAKE.freq; GLOBAL_CAMERA_SHAKE.decay = GLOBAL_CAMERA_SHAKE.decay + 1; } } if ((GLOBAL_BG_FADE_TIME >= 0) and (GLOBAL_BG_FADE >= 0)) { GLOBAL_BG_FADE++; if (GLOBAL_BG_FADE >= GLOBAL_BG_FADE_TIME) { GLOBAL_BG_FADE = GLOBAL_BG_FADE_TIME; } var fadef = ((1 * GLOBAL_BG_FADE) / (1 * GLOBAL_BG_FADE_TIME)); var fader = Math.floor(((GLOBAL_BG_FADE_PREV_COLOR & 255) * (1 - fadef)) + (fadef * (GLOBAL_BG_FADE_COLOR & 255))); var fadeg = Math.floor((((GLOBAL_BG_FADE_PREV_COLOR >> 8) & 255) * (1 - fadef)) + (fadef * ((GLOBAL_BG_FADE_COLOR >> 8) & 255))); var fadeb = Math.floor((((GLOBAL_BG_FADE_PREV_COLOR >> 16) & 255) * (1 - fadef)) + (fadef * ((GLOBAL_BG_FADE_COLOR >> 16) & 255))); var fadec = ((fader + (fadeg << 8)) + (fadeb << 16)); GLOBAL_BG_FADE_CURRENT_COLOR = fadec; _setClipColor(_parent.scrollbg, fadec); if (GLOBAL_BG_FADE >= GLOBAL_BG_FADE_TIME) { GLOBAL_BG_FADE_PREV_COLOR = GLOBAL_BG_FADE_COLOR; GLOBAL_BG_FADE_TIME = -1; GLOBAL_BG_FADE = -1; } } if (delmove != 0) { _parent.scrollbg.gotoAndStop(GLOBAL_CURRENT_BACKGROUND); GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + delmove; GLOBAL_ENEMY._x = GLOBAL_ENEMY._x + delmove; _parent.scrollbg.mc._x = _parent.scrollbg.mc._x + delmove; var waxol = (_parent.scrollbg.mc._width / 3); if (_parent.scrollbg.mc._x < 0) { _parent.scrollbg.mc._x = _parent.scrollbg.mc._x + waxol; } else if (_parent.scrollbg.mc._x > waxol) { _parent.scrollbg.mc._x = _parent.scrollbg.mc._x - waxol; } } if (isPlayerConsumed(GLOBAL_PLAYER)) { _parent.camControl.emenydir.gotoAndStop("eaten"); } else if (GLOBAL_PLAYER.hp < 1) { _parent.camControl.emenydir.gotoAndStop("dead"); } else if (GLOBAL_ENEMY._x < (GLOBAL_PLAYER._x - 160)) { _parent.camControl.emenydir.gotoAndStop(3); } else if (GLOBAL_ENEMY._x > (GLOBAL_PLAYER._x + 160)) { _parent.camControl.emenydir.gotoAndStop(2); } else if (GLOBAL_ALLOW_PETS) { _parent.camControl.emenydir.gotoAndStop("allowpets"); } else { _parent.camControl.emenydir.gotoAndStop(1); } if (isPlayerConsumed(GLOBAL_PLAYER)) { _parent.camControl.playerModeClip._visible = true; _parent.camControl.playerModeClip.gotoAndStop("consumed"); var PV = _parent.camControl.playerModeClip; var sourcebutts = new Array("L", "R", "U", "D", "E", "B", "W", "BL", "BR", "BU", "BD"); var flipbutts = new Object(); var i = 0; while (i < sourcebutts.length) { flipbutts[sourcebutts[i]] = sourcebutts[i]; i++; } if (enemyFacing() < 0) { flipbutts.L = "R"; flipbutts.R = "L"; flipbutts.BL = "BR"; flipbutts.BR = "BL"; } var onlyanim = new Array(-140, -140, -140); var allcolors = new Array(); allcolors.push(new Array(128, -64, -64)); allcolors.push(new Array(128, 128, -64)); allcolors.push(new Array(-64, 128, -64)); allcolors.push(new Array(-64, 128, 128)); allcolors.push(new Array(-64, -64, 128)); allcolors.push(new Array(128, 64, -64)); allcolors.push(new Array(128, -64, 128)); allcolors.push(new Array(128, 128, 128)); var i = 0; while (i < sourcebutts.length) { var mc = PV[sourcebutts[i]]; mc._visible = false; i++; } var TAS = enemyGetAnimStruct(); if (TAS != undefined) { var i = 0; while (i < sourcebutts.length) { var mc = PV[flipbutts[sourcebutts[i]]]; var hasit = getNextAnimation(TAS, sourcebutts[i]); if (hasit != "") { mc._visible = true; _parent.colorize(mc, onlyanim[0], onlyanim[1], onlyanim[2], 0); } i++; } } var TDS = enemyGetDigestionStruct(); if (TDS != undefined) { var inuse = new Object(); var escapeid = 0; while (escapeid < TDS.escapes.length) { var D = TDS.escapes[escapeid]; var usecolor = allcolors[escapeid % allcolors.length]; var din = 0; while (din < D.inputs.length) { var dirmoved = D.inputs[din]; if (TDS.blockescapes != undefined) { if ((dirmoved == "E") || (dirmoved == "W")) { // unexpected jump } } else { var mc = PV[flipbutts[dirmoved]]; if (inuse[dirmoved] == undefined) { inuse[dirmoved] = new Array(); } mc._visible = true; inuse[dirmoved].push(D.anim); } din++; } escapeid++; } var uniquekeys = new Object(); var maxuniquekeys = 0; for (var k in inuse) { inuse[k].sort(); var sk = String(inuse[k]); if (uniquekeys.hasOwnProperty(sk)) { } else { maxuniquekeys++; uniquekeys[sk] = maxuniquekeys; } inuse[k] = uniquekeys[sk]; } for (var k in inuse) { var mc = PV[flipbutts[k]]; var usecolor = allcolors[inuse[k] % allcolors.length]; _parent.colorize(mc, usecolor[0], usecolor[1], usecolor[2], 0); } } PV.BV._visible = ((PV.BL._visible | PV.BR._visible) | PV.BU._visible) | PV.BD._visible; _parent.colorize(PV.BV, onlyanim[0], onlyanim[1], onlyanim[2], 0); } else { _parent.camControl.playerModeClip._visible = true; _parent.camControl.playerModeClip.gotoAndStop("mode" + GLOBAL_PLAYER_MODE); } if (GLOBAL_PLAYER.hp < 1) { if ((!GLOBAL_PLAYER.s_hit) && (!GLOBAL_PLAYER.s_animbusy)) { goPlay(GLOBAL_PLAYER, "death"); } } if (GLOBAL_ENEMY.hp < 1) { GLOBAL_ENEMY.hp = 0; if (!GLOBAL_ENEMY.ignore_hitanim) { if (GLOBAL_ENEMY_TIMEOUT == 1) { goPlay(getEnemyT(GLOBAL_ENEMY), "death"); GLOBAL_KILLS++; Log(("YOU KILLED THE " + GLOBAL_ENEMY.m_name) + "!"); } GLOBAL_ENEMY_TIMEOUT++; if (GLOBAL_ENEMY_TIMEOUT > 60) { pickEnemy(0); resetPlayer(); } } else { GLOBAL_ENEMY_TIMEOUT = 0; } } else if (GLOBAL_ENEMY_REQUEST_VICTORY) { if (GLOBAL_ENEMY_TIMEOUT == 1) { Log(("YOU DEFEATED THE " + GLOBAL_ENEMY.m_name) + "!"); } if (_parent.camControl.bounds.hitTest(GLOBAL_ENEMY)) { } else { trace("notvisible! "); GLOBAL_ENEMY_TIMEOUT = 150; } GLOBAL_ENEMY_TIMEOUT++; if (GLOBAL_ENEMY_TIMEOUT > 150) { pickEnemy(GLOBAL_ENEMY_REQUEST_VICTORY_NEXT); } } else { GLOBAL_ENEMY_TIMEOUT = 0; } if (GLOBAL_SHOW_CONSUMED_PLAYER) { if (isPlayerConsumed(GLOBAL_PLAYER)) { GLOBAL_PLAYER._alpha = 100; } else { GLOBAL_PLAYER._alpha = 100; } } else if (isPlayerConsumed(GLOBAL_PLAYER)) { GLOBAL_PLAYER._alpha = 0; } else { GLOBAL_PLAYER._alpha = 100; } GLOBAL_ENEMYSPARK.nextFrame(); GLOBAL_PLAYERSPARK.nextFrame(); _parent.camControl.gui_enemyhp.setbarvalue(GLOBAL_ENEMY.hp); _parent.camControl.gui_playerhp.setbarvalue(GLOBAL_PLAYER.hp); _parent.camControl.gui_playername = GLOBAL_PLAYER.m_name; _parent.camControl.gui_playerstatus = GLOBAL_PLAYER.m_status; _parent.camControl.gui_enemyname = GLOBAL_ENEMY.m_name; _parent.camControl.gui_enemystatus = ((GLOBAL_ENEMY.m_status + "[") + GLOBAL_ENEMY.m_credit) + "]"; _parent.camControl.gui_points = "Score: " + GLOBAL_POINTS; _parent.camControl.gui_kills = "Kills: " + GLOBAL_KILLS; _parent.playershad._y = calcShadowPosition(GLOBAL_PLAYER._y); _parent.playershad._x = GLOBAL_PLAYER._x; _parent.playershad._yscale = 10 * calcShadowScale(GLOBAL_PLAYER._y); _parent.playershad._xscale = GLOBAL_PLAYER._xscale * calcShadowScale(GLOBAL_PLAYER._y); _parent.playershad.t.gotoAndStop(GLOBAL_PLAYER._currentframe); _parent.playershad._alpha = GLOBAL_PLAYER._alpha; if (GLOBAL_SHOW_CONSUMED_PLAYER) { _parent.playershad._visible = true; } else if (isPlayerConsumed(GLOBAL_PLAYER)) { _parent.playershad._visible = false; } else { _parent.playershad._visible = true; } _parent.playershad.t.head._alpha = GLOBAL_PLAYER.head._alpha; _parent.playershad.t.head._x = GLOBAL_PLAYER.head._x; _parent.playershad.t.head._y = GLOBAL_PLAYER.head._y; _parent.enemyshad._y = calcShadowPosition(GLOBAL_ENEMY._y); _parent.enemyshad._x = GLOBAL_ENEMY._x; _parent.enemyshad._xscale = 100; _parent.enemyshad._yscale = 10; _parent.enemyshad.t._xscale = GLOBAL_ENEMY._xscale * calcShadowScale(GLOBAL_ENEMY._y); _parent.enemyshad.t._yscale = GLOBAL_ENEMY._yscale * calcShadowScale(GLOBAL_ENEMY._y); _parent.enemyshad.t.enemy._xscale = GLOBAL_ENEMY.enemy._xscale; _parent.enemyshad.t.enemy._yscale = GLOBAL_ENEMY.enemy._yscale; _parent.enemyshad.t.enemy.enemy._xscale = GLOBAL_ENEMY.enemy.enemy._xscale; _parent.enemyshad.t.enemy.enemy._yscale = GLOBAL_ENEMY.enemy.enemy._yscale; _parent.enemyshad.t.enemy.G = undefined; _parent.enemyshad.t.enemy.enemy.G = undefined; _parent.enemyshad.t.G = undefined; _parent.enemyshad.G = undefined; _parent.enemyshad.t.gotoAndStop(GLOBAL_ENEMY._currentframe); _parent.enemyshad.t.enemy.gotoAndStop(GLOBAL_ENEMY.enemy._currentframe); _parent.enemyshad.t.enemy.enemy.gotoAndStop(GLOBAL_ENEMY.enemy.enemy._currentframe); GLOBAL_ENEMY_FRAMES_RUN++; } else if (GLOBAL_TRUEPAUSE) { if (inputMouseValid) { if (inputMouseB) { if (inputMouseX < 0.333) { inputKeyLeft = 1; } else if (inputMouseX > 0.666) { inputKeyRight = 1; } if (inputMouseY < 0.333) { inputKeyUp = 1; } else if (inputMouseY > 0.666) { inputKeyDown = 1; } } } var delx = (inputKeyRight - inputKeyLeft); var dely = (inputKeyUp - inputKeyDown); if (inputKeyAction) { if (dely != 0) { var factorx = 1; if (dely > 0) { factorx = 1.125; } else if (dely < 0) { factorx = 0.8; } _parent.camControl._xscale = _parent.camControl._xscale * factorx; _parent.camControl._yscale = _parent.camControl._yscale * factorx; } if (delx != 0) { _parent.camControl._xscale = _parent.camControl._xscale + (0.1 * (100 - _parent.camControl._xscale)); _parent.camControl._yscale = _parent.camControl._yscale + (0.1 * (100 - _parent.camControl._yscale)); } if (_parent.camControl._xscale < 26.2144) { _parent.camControl._xscale = 26.2144; } else if (_parent.camControl._xscale > 100) { _parent.camControl._xscale = 100; } if (_parent.camControl._yscale < 26.2144) { _parent.camControl._yscale = 26.2144; } else if (_parent.camControl._yscale > 100) { _parent.camControl._yscale = 100; } } else { if (delx != 0) { _parent.camControl._x = _parent.camControl._x + (((8 * delx) * _parent.camControl._xscale) / 100); } if (dely != 0) { _parent.camControl._y = _parent.camControl._y - (((8 * dely) * _parent.camControl._yscale) / 100); } } } if (GLOBAL_ENEMY.is_external) { var lpercent = 0; if (GLOBAL_ENEMY.enemy != undefined) { if (GLOBAL_ENEMY.enemy.getBytesTotal() > 0) { lpercent = (100 * GLOBAL_ENEMY.enemy.getBytesLoaded()) / GLOBAL_ENEMY.enemy.getBytesTotal(); } } if (!GLOBAL_ENEMY.is_external_loaded) { if (lpercent < 100) { _parent.camControl.gui_enemystatus = Math.floor(lpercent) + "% "; _parent.camControl.gui_enemyname = GLOBAL_ENEMY.m_name; _parent.camControl.gui_enemystatus = _parent.camControl.gui_enemystatus + (((GLOBAL_ENEMY.m_status + "[") + GLOBAL_ENEMY.m_credit) + "]"); if (GLOBAL_ENEMY._x < GLOBAL_PLAYER._x) { GLOBAL_ENEMY._x = GLOBAL_PLAYER._x - 640; } else { GLOBAL_ENEMY._x = GLOBAL_PLAYER._x + 640; } } else { GLOBAL_ENEMY.is_external_loaded = 1; } } else if (lpercent < 100) { GLOBAL_ENEMY.is_external_loaded = 0; } } if (Key.isDown(45)) { if (!GLOBAL_PAUSECTR) { GLOBAL_TRUEPAUSE = !GLOBAL_TRUEPAUSE; var TM = getEnemyT(GLOBAL_ENEMY).__animmap; trace("ENEMY MAP: "); for (var fkey in TM) { trace("frame " + fkey); var ao = TM[fkey]; for (var akey in ao) { trace("\t" + akey); } } } GLOBAL_PAUSECTR = true; } else { GLOBAL_PAUSECTR = false; } if (Key.isDown(35)) { resetPlayer(); } if (Key.isDown(36)) { GLOBAL_PAUSEHFR++; GLOBAL_PAUSEHFR = GLOBAL_PAUSEHFR % 4; } if (Key.isDown(16)) { } if (GLOBAL_LOCALSCOPE) { if (Key.isDown(8)) { setPlayerScale((Math.floor(19 * Math.random()) * 10) + 10); chatMessage("%[mygoodname]: That feels great babe.", 1); chatType(Math.floor(Math.random() * 6) + 1); chatTarget(GLOBAL_PLAYER); } if (Key.isDown(16) && (Key.isDown(9))) { trace("WOW"); enemyClearIcon(enemyGetID()); } else if (Key.isDown(9)) { var eatme = enemySaveIconString(enemyGetID()); var didit = enemyLoadIconString(enemyGetID(), eatme); if (didit) { var EDATA = GLOBAL_ENEMY_DATA[enemyGetID()]; trace(((((((didit + " ") + EDATA.m_name) + ", ") + EDATA.m_status) + "[") + EDATA.m_credit) + "]"); trace(("\"" + eatme) + "\""); } } } if (!GLOBAL_TRUEPAUSE) { if (GLOBAL_PAUSEHFR != 0) { GLOBAL_PAUSEHFRCTR = GLOBAL_PAUSEHFRCTR + 1; if (GLOBAL_PAUSEHFRCTR > GLOBAL_PAUSEHFR) { unpauseall(); GLOBAL_PAUSEHFRCTR = 0; } else { pauseall(); } } else if ((!GLOBAL_TRUEPAUSE) and GLOBAL_PAUSE) { unpauseall(); } } else if (GLOBAL_TRUEPAUSE and (!GLOBAL_PAUSE)) { pauseall(); } var esounds = new Sound(_parent.enemyshad); esounds.setVolume(0); var psounds = new Sound(_parent.playershad); psounds.setVolume(0); _parent.flashColorize(_parent.playershad, -1, -1, -1, 0.4); _parent.flashColorize(_parent.enemyshad, -1, -1, -1, 0.4); GLOBAL_ENEMY.G = this; GLOBAL_ENEMY.enemy.G = this; GLOBAL_ENEMY.enemy.enemy.G = this; getEnemyT(GLOBAL_ENEMY).G = this; GLOBAL_PLAYER.G = this; _root.G = this; GLOBAL_ENEMY.enemy.goPlay = function (animf) { _root.controller.goPlay(_root.controller.GLOBAL_ENEMY.enemy, animf); }; getEnemyT(GLOBAL_ENEMY).goPlay = function (animf) { _root.controller.goPlay(_root.controller.GLOBAL_ENEMY.enemy.enemy, animf); }; if (_parent.camControl.sld_sound.mousedown) { var sldtarg = _parent.camControl.sld_sound; var my = sldtarg.My; var checkyb = sldtarg.sldbak.getBounds(_parent.camControl.sld_sound); var sldcoord = my; var sldsize = (checkyb.yMax - checkyb.yMin); var val = (-100 * (sldcoord / sldsize)); if (val > 100) { val = 100; } if (val < 0) { val = 0; } sldtarg.sld._yscale = val; _root.nvSetVolume(val); } _parent.camControl.gui_playergfxid = _root.GLOBAL_PLAYERGRAPHIC; BLOCK_ENEMY_ONE_FRAME = false; if (_parent.camControl.exturl != undefined) { if (_parent.camControl.exturl != _root.externalURL) { trace("exturl exists? :" + _parent.camControl.exturl); _root.externalURL = _parent.camControl.exturl; } } reassignAllXClips(GLOBAL_ENEMY); reassignAllXClips(GLOBAL_ENEMY.enemy); reassignAllXClips(GLOBAL_ENEMY.enemy.enemy); reassignAllXClips(GLOBAL_PLAYER); if (GLOBAL_PLAYERHASHEAD) { setPlayerHasHead(true); } else { setPlayerHasHead(false); } if (guiTextScroll == 1) { var gmx = ((_parent.camControl.mouseX - -160) / 240); var gmy = ((_parent.camControl.mouseY - 72) / 48); if ((gmx > 0) and (gmx < 1)) { if ((gmy > 0) and (gmy < 1)) { if (gmx < 0.1) { LogScrollOffset = 0; } else if (gmx > 0.9) { LogScrollOffset = GLOBAL_LOG.length - 2; } else { LogScrollOffset = LogScrollOffset + ((gmy - 0.5) * 4); } if (LogScrollOffset > (GLOBAL_LOG.length - 2)) { LogScrollOffset = GLOBAL_LOG.length - 2; } if (LogScrollOffset < 0) { LogScrollOffset = 0; } } } } var offi = Math.floor(LogScrollOffset); _parent.camControl.gui_leveldesc = ""; if (offi < GLOBAL_LOG.length) { _parent.camControl.gui_leveldesc = _parent.camControl.gui_leveldesc + GLOBAL_LOG[offi + 0]; offi++; } if (offi < GLOBAL_LOG.length) { _parent.camControl.gui_leveldesc = _parent.camControl.gui_leveldesc + GLOBAL_LOG[offi + 0]; offi++; } if (offi < GLOBAL_LOG.length) { _parent.camControl.gui_leveldesc = _parent.camControl.gui_leveldesc + GLOBAL_LOG[offi + 0]; offi++; } if (offi < GLOBAL_LOG.length) { _parent.camControl.gui_leveldesc = _parent.camControl.gui_leveldesc + GLOBAL_LOG[offi + 0]; offi++; } if (getOption("showDirty")) { _parent.camControl.showDirty.gotoAndStop("on"); } else { _parent.camControl.showDirty.gotoAndStop("off"); } if (getOption("showNaughty")) { _parent.camControl.showNaughty.gotoAndStop("on"); } else { _parent.camControl.showNaughty.gotoAndStop("off"); } if ((!GLOBAL_PAUSE) && (!GLOBAL_TRUEPAUSE)) { _parent.camControl.chatbubble.update(); } if (_parent.camControl.trophys != undefined) { var Tcl = _parent.camControl.trophys; Tcl.t0.gotoAndStop("none"); Tcl.t1.gotoAndStop("none"); Tcl.t2.gotoAndStop("none"); Tcl.t3.gotoAndStop("none"); var usethisenemy = GLOBAL_ENEMY._currentframe; var trophycount = 0; var trophywon = 0; if (GLOBAL_TROPHYCASE.hasOwnProperty(usethisenemy)) { var uclips = new Array(Tcl.t0, Tcl.t1, Tcl.t2, Tcl.t3); var TT = GLOBAL_TROPHYCASE[usethisenemy]; for (var tkey in TT) { var TDA = TT[tkey]; var uidex = TDA.index; if (uidex < uclips.length) { uclips[uidex].gotoAndStop(TDA.frame); uclips[uidex].cover._visible = !TDA.got; trophycount++; if (TDA.got) { trophywon++; } } } } if ((trophycount > 0) && (trophywon == trophycount)) { Tcl.t0.cover._visible = true; Tcl.t1.cover._visible = true; Tcl.t2.cover._visible = true; Tcl.t3.cover._visible = true; _parent.colorize(Tcl.t0.cover, 255, 255, 0, 0); _parent.colorize(Tcl.t1.cover, 255, 255, 0, 0); _parent.colorize(Tcl.t2.cover, 255, 255, 0, 0); _parent.colorize(Tcl.t3.cover, 255, 255, 0, 0); } else { _parent.colorize(Tcl, 0, 0, 0, 0); } } if (GLOBAL_PLAYER.aniclip != undefined) { GLOBAL_PLAYER.stop(); GLOBAL_PLAYER.aniclip.stop(); GLOBAL_PLAYER.aniclip.mc.stop(); var updateplayerclip = (!GLOBAL_PAUSE); if (GLOBAL_SHOW_CONSUMED_PLAYER) { if (GLOBAL_SHOW_CONSUMED_PLAYER_FROZEN) { if (isPlayerConsumed(GLOBAL_PLAYER)) { updateplayerclip = false; } } } if ((!GLOBAL_PAUSE) && (!GLOBAL_QTE_DATA.active)) { var cframe = GLOBAL_PLAYER.aniclip.mc._currentframe; var tframe = GLOBAL_PLAYER.aniclip.mc._totalframes; if (cframe == tframe) { var isnextanim = (cframe == tframe); var cura = playerCurrAnim().toLowerCase(); var nextanim = cura; if (cura == "idle") { nextanim = "idle"; } else if (cura == "walk") { nextanim = "walk"; } else if (cura == "atkl") { nextanim = "idle"; } else if (cura == "atkm") { nextanim = "idle"; } else if (cura == "atkh") { nextanim = "idle"; } else if (cura == "atkp") { nextanim = "idle"; } else if (cura == "hitl") { nextanim = "idle"; } else if (cura == "hitm") { nextanim = "idle"; } else if (cura == "hith") { nextanim = "idle"; } else if (cura == "run") { nextanim = "idle"; } else if (cura == "death") { nextanim = "dead"; } else if (cura == "dead") { nextanim = "dead"; isnextanim = 0; } else if (cura == undefined) { nextanim = "idle"; } else { trace("Not in scope anim: " + cura); } if (GLOBAL_PLAYER.hp < 1) { if ((nextanim != "death") || (nextanim != "dead")) { nextanim = "death"; } } if (isnextanim) { goPlay(GLOBAL_PLAYER, nextanim); GLOBAL_PLAYER.aniclip.mc.gotoAndStop(1); } } else { GLOBAL_PLAYER.aniclip.mc.gotoAndStop(cframe + 1); } } else { GLOBAL_PLAYER.stop(); GLOBAL_PLAYER.aniclip.stop(); GLOBAL_PLAYER.aniclip.mc.stop(); } } if (GLOBAL_SHOW_PLAYER_INSIDEPLUS) { var displaydistance = GLOBAL_ENEMY._width; for (var mckey in GLOBALUPDATECOX) { var COX = GLOBALUPDATECOX[mckey]; var pdist = playerEnemyCenterDistance(); if ((GLOBAL_SHOW_PLAYER_INSIDEPLUS_ENEMY_ENABLE && (pdist < displaydistance)) && (GLOBAL_PLAYER._visible)) { var flipx = ((GLOBAL_PLAYER._xscale > 0) == (GLOBAL_ENEMY._xscale > 0)); if (flipx == 0) { flipx = -1; } else { flipx = 1; } var scaleval = (GLOBAL_ENEMY.m_scale / 100); var delx = (((GLOBAL_ENEMY.m_scale / 100) * (GLOBAL_PLAYER._x - GLOBAL_ENEMY._x)) * (GLOBAL_ENEMY._xscale / 100)); var dely = (((GLOBAL_ENEMY.m_scale / 100) * (GLOBAL_PLAYER._y - GLOBAL_ENEMY._y)) * (GLOBAL_ENEMY._yscale / 100)); COX.gotoAndStop(GLOBAL_PLAYER._currentframe); COX.aniclip.gotoAndStop(GLOBAL_PLAYER.aniclip._currentframe); COX.aniclip.mc.gotoAndStop(GLOBAL_PLAYER.aniclip.mc._currentframe); COX._rotation = GLOBAL_PLAYER._rotation; COX._xscale = (scaleval * flipx) * Math.abs(GLOBAL_PLAYER._xscale); COX._yscale = scaleval * GLOBAL_PLAYER._yscale; COX._x = delx; COX._y = dely; COX._visible = true; COX._alpha = GLOBAL_PLAYER._alpha; } else { COX._x = 0; COX._y = 0; COX._xscale = 100; COX._yscale = 100; COX._rotation = 0; COX._alpha = 0; COX._visible = false; } } } GLOBALUPDATECOX = new Object(); if (GLOBAL_PLAYER.aniclip != undefined) { _parent.playershad.t.aniclip.gotoAndStop(GLOBAL_PLAYER.aniclip._currentframe); _parent.playershad.t.aniclip.mc.gotoAndStop(GLOBAL_PLAYER.aniclip.mc._currentframe); _parent.playershad.t.aniclip.mc.mc.gotoAndStop(GLOBAL_PLAYER.aniclip.mc.mc._currentframe); GLOBAL_PLAYER.aniclip.mc.head._visible = _root.GLOBAL_PLAYERHEAD; GLOBAL_PLAYER.aniclip.mc.head2._visible = _root.GLOBAL_PLAYERHEAD; GLOBAL_PLAYER.aniclip.mc.head3._visible = _root.GLOBAL_PLAYERHEAD; _parent.playershad.t.aniclip.mc.head._visible = _root.GLOBAL_PLAYERHEAD; _parent.playershad.t.aniclip.mc.head2._visible = _root.GLOBAL_PLAYERHEAD; _parent.playershad.t.aniclip.mc.head3._visible = _root.GLOBAL_PLAYERHEAD; } for (var skey in GLOBAL_SYNCMAP) { var S = GLOBAL_SYNCMAP[skey]; if (S.owner._visible) { if (S.target != undefined) { if (S.owner.__animcurrent == S.framename) { var anis = S.owner.__animnamemap[S.framename]; if (anis != undefined) { var delfram = (S.owner._currentframe - anis.fmin); if (!S.fixedframemap.hasOwnProperty(S.framename)) { S.target.gotoAndStop(S.framename); S.fixedframemap[S.framename] = S.target._currentframe; } S.target.gotoAndStop(S.fixedframemap[S.framename] + delfram); S.target._visible = true; if (S.target._alpha < 100) { S.target._alpha = S.target._alpha + 5; } if (S.target._alpha > 95) { S.target._alpha = 100; } } else { trace((("not mapped yet? " + anis) + " ") + S.framename); } } } } if (S.funccall != undefined) { S.funccall(this, S.owner, S.target); } } musicUpdate(); if (correctMyExternalEnemy) { GLOBAL_ENEMY._manuallyReset = undefined; goPlay(getEnemyT(GLOBAL_ENEMY), "idle"); getEnemyT(GLOBAL_ENEMY).gotoAndStop(getEnemyT(GLOBAL_ENEMY)._totalframes); getEnemyT(GLOBAL_ENEMY).gotoAndPlay("idle"); _parent.camControl.clearDrawingByIndex(GLOBAL_ENEMY._currentframe); } if (GLOBAL_ENEMY.is_external) { if (correctMyExternalEnemy || (GLOBAL_ENEMY.is_external_loaded == 0)) { _stopExtSounds(); } } GLOBAL_POSTSYNC(this, getEnemyT(GLOBAL_ENEMY), undefined); if (GLOBAL_DELAY_STARTNOISE > 0) { GLOBAL_DELAY_STARTNOISE--; if (GLOBAL_DELAY_STARTNOISE < 1) { _startExtSounds(); } } _root.stop(); }
Symbol 23 MovieClip Frame 1
var setBar = function (factor) { if (factor < 0) { factor = 0; } if (factor > 1) { factor = 1; } prog._xscale = factor * 100; };
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 55
var progressSet = function (factor) { progbar.setBar(factor); };
Symbol 45 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
function addMessage(msg, flags) { if (flags != undefined) { if ((flags & 1) != 0) { if (msg.length < msgDisplay.length) { var _local2 = msgDisplay.substr((msgDisplay.length - msg.length) - 1, msg.length); if (_local2 == msg) { msgTimeout = 0; downDeltaTimeout = msg.length; return(undefined); } } } } msgDisplay = msgDisplay + (msg + newline); } function clearMessage() { msgDisplay = ""; msgTextText = ""; msgChar = 0; } function setMessageSpeed(cpf) { msgSpeed = cpf; } function setMessage(msg, speed) { clearMessage(); addMessage(msg); if (speed != undefined) { setMessageSpeed(speed); } } function setTarget(mclip) { followTarget = mclip; } function update() { shouldUpdate = true; } var msgDisplay = ""; var msgSpeed = 1; var msgChar = 0; var msgTimeout = 0; var originalPosition = _y; var deltaPosition = 48; var shouldUpdate = true; var followTarget = undefined; var downDeltaTimeout = 0; msgTextText = ""; this.onEnterFrame = function () { if ((((_xmouse > 0) && (_ymouse > 0)) && (_xmouse < 296)) && (_ymouse < 48)) { _alpha = 20; } else { _alpha = 100; } if (shouldUpdate) { shouldUpdate = false; var _local10 = msgText.scroll; var _local9 = msgText.maxscroll; var _local5 = 0; var _local4 = 0; if (msgDisplay.length > 0) { downDeltaTimeout = downDeltaTimeout - msgSpeed; if (msgSpeed == 0) { downDeltaTimeout = 0; } if (msgChar < msgDisplay.length) { if (msgSpeed > 0) { var _local6 = msgDisplay.charAt(msgChar); msgTextText = msgTextText + _local6; msgChar++; } else { msgTextText = msgDisplay; msgChar = msgDisplay.length; } _local5 = 1; msgTimeout = 0; } else { msgTimeout++; if (msgTimeout > 90) { _local4 = 1; downDeltaTimeout = 0; } } } else { _local4 = 1; } if (downDeltaTimeout > 0) { _local5 = 1; } else { downDeltaTimeout = 0; } var _local3 = originalPosition; if (_local4) { _local3 = originalPosition; } else { _local3 = originalPosition + deltaPosition; } if (_local3 < this._y) { this._y = this._y - 4; if (this._y < _local3) { this._y = _local3; } } else { this._y = this._y + 4; if (this._y > _local3) { this._y = _local3; } } if (this._y == originalPosition) { clearMessage(); _visible = false; } else { _visible = true; } var _local7 = msgText.scroll; var _local8 = msgText.maxscroll; msgTextText.scroll = msgTextText.maxscroll - 1; if (((!_local5) || (_local4)) || (followTarget == undefined)) { bubbletail._visible = false; } else { var _local2 = {x:0, y:0}; followTarget.localToGlobal(_local2); this.globalToLocal(_local2); if (_local2.x < 32) { _local2.x = 32; } else if (_local2.x > 264) { _local2.x = 264; } bubbletail._x = _local2.x; bubbletail._visible = true; } } };
Symbol 67 MovieClip Frame 10
stop();
Symbol 69 Button
on (release) { guiButtonRelease = 1; }
Symbol 77 MovieClip Frame 5
if (_root.GLOBAL_ASSISTANCE) { } else { gotoAndPlay ("off"); }
Symbol 79 Button
on (release, releaseOutside) { _parent.controller.guiTextScroll = 0; } on (press) { _parent.controller.guiTextScroll = 1; }
Symbol 85 Button
on (press) { gotoAndStop ("debuggui"); }
Symbol 86 Button
on (press) { gotoAndStop ("nogui"); }
Symbol 95 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_WEAPON_TYPE); stop();
Symbol 95 MovieClip Frame 2
gotoAndStop(_root.GLOBAL_WEAPON_TYPE); stop();
Symbol 95 MovieClip Frame 3
gotoAndStop(_root.GLOBAL_WEAPON_TYPE); stop();
Symbol 95 MovieClip Frame 4
gotoAndStop(_root.GLOBAL_WEAPON_TYPE); stop();
Symbol 105 Button
on (press) { _parent.controller.setPlayerMode(); }
Symbol 124 Button
on (press) { selectorDown = 1; return(undefined); }
Symbol 139 Button
on (press) { var parc = _parent.controller; parc.displayHelp(); }
Symbol 140 Button
on (press) { var parc = _parent.controller; parc.toggleQuality(); }
Symbol 141 Button
on (press) { var parc = _parent.controller; parc.toggleSlowMode(); }
Symbol 142 Button
on (press) { var parc = _parent.controller; parc.GLOBAL_TRUEPAUSE = !parc.GLOBAL_TRUEPAUSE; }
Symbol 144 Button
on (release, releaseOutside) { mousedown = 0; } on (press) { mousedown = 1; }
Instance of Symbol 147 MovieClip "sldbak" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.Mx = _xmouse; _parent.My = _ymouse; }
Symbol 150 Button
on (press) { _parent.controller.resetPlayer(); }
Symbol 151 Button
on (press) { emptygrid.drawnyet = undefined; emptygrid.selectnext = selectf; _parent.controller.pickEnemy(0); _parent.controller.resetPlayer(); }
Symbol 152 Button
on (press) { var xp = hpslider._xmouse; var yp = hpslider._ymouse; var xs = hpslider._width; var ys = hpslider._height; var factor = (Math.abs(yp) / xs); factor = (factor - 0.1) / 0.8; _parent.controller.setPlayerHP(factor * 63); }
Symbol 158 MovieClip Frame 1
function setbarvalue(v) { if (v < 0) { v = 0; } colorv = int(v / 64); if (colorv == 0) { _root.colorize(bar, 0, 200, 0, 0); _root.colorize(nextcolor, 0, 0, 0, 0); } else if (colorv == 1) { _root.colorize(bar, 200, 200, 0, 0); _root.colorize(nextcolor, 0, 200, 0, 0); } else if (colorv == 2) { _root.colorize(bar, 255, 128, 0, 0); _root.colorize(nextcolor, 200, 200, 0, 0); } else if (colorv == 3) { _root.colorize(bar, 200, 0, 0, 0); _root.colorize(nextcolor, 255, 128, 0, 0); } else if (colorv == 4) { _root.colorize(bar, 200, 200, 200, 0); _root.colorize(nextcolor, 200, 0, 0, 0); } else { _root.colorize(bar, 200, 200, 200, 0); _root.colorize(nextcolor, 50, 50, 50, 0); } v = v % 64; bar._yscale = v / 0.64; }
Symbol 158 MovieClip Frame 2
stop();
Symbol 173 Button
on (press) { gotoAndStop(_root.controller.GLOBAL_GAME_GUI_TYPE); }
Symbol 175 Button
on (release) { exturllist = _parent.controller.getURLList(); }
Symbol 178 Button
on (release) { _parent.controller.loadURLList(exturllist); }
Symbol 184 MovieClip Frame 1
function updateCallback() { } function camControl() { parentColor.setTransform(camColor.getTransform()); var _local4 = sX / ((fixX * this._xscale) / 100); var _local3 = sY / ((fixY * this._yscale) / 100); _parent._x = cX - (this._x * _local4); _parent._y = cY - (this._y * _local3); _parent._xscale = 100 * _local4; _parent._yscale = 100 * _local3; mouseX = _xmouse; mouseY = _ymouse; updateCallback(); } function resetStage() { var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(_local2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; _xscale = 100; _yscale = 100; _x = (fixX / 2); _y = (fixY / 2); } parentColor.setTransform(camColor.getTransform()); this.stop(); var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; var fixX = 320; var fixY = 240; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage;
Symbol 184 MovieClip Frame 11
function getCellCoords(idex, selectmax4, delx, dern, ncolumns) { if (dern == undefined) { dern = 1; } if (idex == undefined) { idex = 0; } if (idex < 0) { idex = 0; } if (idex > 1024) { idex = 0; } var _local3 = 0; while (idex >= selectmax4) { idex = idex - selectmax4; _local3++; } var _local4 = new Object(); _local4.xMin = (idex * delx) + dern; _local4.xMax = ((idex * delx) + delx) - dern; _local4.yMin = ((_local3 * 36) / ncolumns) + dern; _local4.yMax = (((_local3 * 36) / ncolumns) + (36 / ncolumns)) - dern; return(_local4); } function drawCell(M, idex, selectmax4, delx, color, dern, ncolumns) { var _local1 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMax); M.lineTo(_local1.xMin, _local1.yMax); M.lineTo(_local1.xMin, _local1.yMin); M.endFill(); } function drawCellBits(M, bits, idex, selectmax4, delx, color, dern, ncolumns) { var _local2 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); var _local4 = (_local2.xMin + _local2.xMax) / 2; var _local3 = (_local2.yMin + _local2.yMax) / 2; if (bits & 1) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local2.xMin, _local2.yMin); M.lineTo(_local4, _local2.yMin); M.lineTo(_local4, _local3); M.lineTo(_local2.xMin, _local3); M.lineTo(_local2.xMin, _local2.yMin); M.endFill(); } if (bits & 2) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local4, _local2.yMin); M.lineTo(_local2.xMax, _local2.yMin); M.lineTo(_local2.xMax, _local3); M.lineTo(_local4, _local3); M.lineTo(_local4, _local2.yMin); M.endFill(); } if (bits & 4) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local2.xMin, _local3); M.lineTo(_local4, _local3); M.lineTo(_local4, _local2.yMax); M.lineTo(_local2.xMin, _local2.yMax); M.lineTo(_local2.xMin, _local3); M.endFill(); } if (bits & 8) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local4, _local3); M.lineTo(_local2.xMax, _local3); M.lineTo(_local2.xMax, _local2.yMax); M.lineTo(_local4, _local2.yMax); M.lineTo(_local4, _local3); M.endFill(); } if (bits & 16) { var _local6 = _local4 - (_local4 / 2); var _local5 = _local3 - (_local3 / 2); M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local4 - _local6, _local3 - _local5); M.lineTo(_local4 + _local6, _local3 - _local5); M.lineTo(_local4 + _local6, _local3 + _local5); M.lineTo(_local4 - _local6, _local3 + _local5); M.lineTo(_local4 - _local6, _local3 - _local5); M.endFill(); } } function drawCellX(M, idex, selectmax4, delx, color, dern, ncolumns) { var _local1 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); M.lineStyle(0.5, color, 100); M.beginFill(0, 0); M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMax); M.moveTo(_local1.xMax, _local1.yMin); M.lineTo(_local1.xMin, _local1.yMax); M.endFill(); } function drawCellChar(M, uchar, idex, selectmax4, delx, color, dern, ncolumns) { var _local1 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); M.lineStyle(0.5, color, 100); M.beginFill(0, 0); var _local5 = (_local1.xMin + _local1.xMax) / 2; var _local4 = (_local1.yMin + _local1.yMax) / 2; if (char8segmap.hasOwnProperty(uchar)) { var _local3 = char8segmap[uchar]; if (_local3 & 1) { M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMin); } if (_local3 & 2) { M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMin, _local4); } if (_local3 & 4) { M.moveTo(_local1.xMin, _local4); M.lineTo(_local1.xMax, _local4); } if (_local3 & 8) { M.moveTo(_local1.xMax, _local1.yMin); M.lineTo(_local1.xMax, _local4); } if (_local3 & 16) { M.moveTo(_local1.xMin, _local4); M.lineTo(_local1.xMin, _local1.yMax); } if (_local3 & 32) { M.moveTo(_local1.xMin, _local1.yMax); M.lineTo(_local1.xMax, _local1.yMax); } if (_local3 & 64) { M.moveTo(_local1.xMax, _local4); M.lineTo(_local1.xMax, _local1.yMax); } } M.endFill(); } function gridSelectFrom(max, may) { } function clearDrawingByIndex(enemyid) { newGui.drawMap[enemyid] = 1; } function updateCallback() { if (newGui == undefined) { var _local14 = new Object(); _local14.activeEnemySelection = 0; _local14.enemySelectionFade = 0; _local14.bitmapChars = undefined; _local14.bitmapIconStored = undefined; _local14.bitmapScale = 3; _local14.cellSize = 100; _local14.maxCount = 0; _local14.drawMap = new Object(); newGui = _local14; } var _local12 = 320; var _local13 = 36; var _local32 = -160; var _local28 = -120; var _local52 = 36; var _local26 = new Object({xMin:_local32, xMax:_local32 + 320, yMin:_local28, yMax:_local28 + 36}); var _local57 = _local32; var _local45 = _local28 - _local52; var _local31 = false; var _local10 = selectdown.drawText; if (_local10.mytext == undefined) { var _local27 = new TextFormat(); _local27.font = "Arial"; _local27.size = 16; _local27.color = 0; _local10.createTextField("mytext", 0, 0, 0, selectdown._width, 24); _local10.mytext.multiline = false; _local10.mytext.wordWrap = false; _local10.mytext.text = ""; _local10.mytext.embedFonts = false; _local10.mytext.selectable = false; _local10.mytext.antiAliasType = "normal"; _local10.mytext.backgroundColor = 2155905152; _local10.mytext.textColor = 0; _local10.useformat = _local27; _local10.mytext.setNewTextFormat(_local10.useformat); } _local10.mytext.text = ""; _local10._x = 0; var _local24 = selectdown.drawinto; var _local4 = selectdown.drawSelector; if (newGui.bitmapChars == undefined) { newGui.bitmapChars = new flash.display.BitmapData(newGui.bitmapScale * _local12, newGui.bitmapScale * _local13, true, 0); _local24.attachBitmap(newGui.bitmapChars, 0, "auto", false); _local24._xscale = 100 / newGui.bitmapScale; _local24._yscale = 100 / newGui.bitmapScale; } var _local15 = _parent.controller.GLOBAL_MAXENEMYFRAMES; if (newGui.maxCount != _local15) { newGui.drawMap = new Object(); newGui.maxCount = _local15; var _local23 = new flash.geom.Rectangle(0, 0, newGui.bitmapScale * _local12, newGui.bitmapScale * _local13); newGui.bitmapChars.fillRect(_local23, 0); var _local5 = Math.min(_local13, _local12); while ((Math.floor(_local12 / _local5) * Math.floor(_local13 / _local5)) < _local15) { _local5--; } newGui.cellSize = _local5; _local15++; var _local8 = Math.floor(_local12 / _local5); var _local11 = Math.floor(_local13 / _local5); _local4.clear(); var _local20 = newGui.cellSize / 64; var _local7 = 0; while (_local7 < _local11) { var _local3 = 0; while (_local3 < _local8) { var _local6 = (_local3 + (_local7 * _local8)) + 1; var _local25 = _parent.controller.enemyGetHashData(_local6); if (_local25 != undefined) { var _local22 = 0; _local22 = _local22 | -16777216; _local22 = _local22 | ((int(_local25.red * 255) & 255) << 16); _local22 = _local22 | ((int(_local25.green * 255) & 255) << 8); _local22 = _local22 | (int(_local25.blue * 255) & 255); _local23 = new flash.geom.Rectangle((newGui.bitmapScale * newGui.cellSize) * _local3, (newGui.bitmapScale * newGui.cellSize) * _local7, (newGui.bitmapScale * 64) * _local20, (newGui.bitmapScale * 64) * _local20); var _local37 = new flash.geom.Rectangle(((newGui.bitmapScale * newGui.cellSize) * _local3) + 1, ((newGui.bitmapScale * newGui.cellSize) * _local7) + 1, ((newGui.bitmapScale * 64) * _local20) - 2, ((newGui.bitmapScale * 64) * _local20) - 2); newGui.bitmapChars.fillRect(_local37, _local22); var _local38 = _parent.controller.enemyGetIconBitmap(_local6); if (_local38 != undefined) { trace((("Enemy [" + _local6) + "] has icon: ") + _local38); var _local36 = new flash.geom.Matrix(); _local36.translate(_local23.x, _local23.y); newGui.bitmapChars.draw(_local38, _local36, undefined, "normal", _local23, false); } } _local3 = _local3 + 1; } _local7 = _local7 + 1; } _local4._x = 0; _local4._y = 0; _local4._xscale = 100; _local4._yscale = 100; _local4.clear(); _local4.lineStyle(0, 8421504, 255); var _local9 = 0; while (_local9 <= _local8) { _local4.moveTo(_local9 * _local5, 0); _local4.lineTo(_local9 * _local5, _local11 * _local5); _local9 = _local9 + 1; } _local9 = 0; while (_local9 <= _local11) { _local4.moveTo(0, _local9 * _local5); _local4.lineTo(_local8 * _local5, _local9 * _local5); _local9 = _local9 + 1; } _local4.lineStyle(0, 8421504, 255); _local4.moveTo(0, 0); _local4.lineTo(_local5, _local5); _local4.moveTo(_local5, 0); _local4.lineTo(0, _local5); var _local17 = _local4.transform.matrix.clone(); var _local44 = _local24.transform.matrix.clone(); _local44.invert(); _local17.concat(_local44); var _local48; var _local49; _local23 = undefined; var _local64 = false; newGui.bitmapChars.draw(_local4, _local17, _local48, _local49, _local23, true); _local4.clear(); _local4.beginFill(16777215, 25); _local4.lineStyle(1, 16711808, 255); _local4.moveTo(0, 0); _local4.lineTo(100, 0); _local4.lineTo(100, 100); _local4.lineTo(0, 100); _local4.lineTo(0, 0); _local4.endFill(16777215, 25); _local4._xscale = newGui.cellSize; _local4._yscale = newGui.cellSize; } else { var _local46 = _parent.controller.enemyGetID() - 1; if (!newGui.drawMap.hasOwnProperty(_local46)) { newGui.drawMap[_local46] = 1; } if (newGui.drawMap[_local46] != 3) { newGui.drawMap[_local46] = newGui.drawMap[_local46] + 1; } else { newGui.drawMap[_local46] = newGui.drawMap[_local46] + 1; var _local43 = Math.floor(_local12 / newGui.cellSize); var _local62 = Math.floor(_local13 / newGui.cellSize); var _local58 = Math.floor(_local46 % _local43); var _local56 = Math.floor(_local46 / _local43); var _local35 = _local58 * newGui.cellSize; var _local34 = _local56 * newGui.cellSize; var _local20 = newGui.cellSize / 64; var _local18 = _parent.controller.GLOBAL_ENEMY; var _local33 = _local18; if (_local18.enemy.enemy.head != undefined) { _local33 = _local18.enemy.enemy.head; } else if (_local18.enemy.head != undefined) { _local33 = _local18.enemy.head; } var _local17 = _local18.transform.matrix.clone(); var _local19 = 1; var _local21 = _local33.getBounds(_root); var _local40 = _local21.xMax - _local21.xMin; var _local41 = _local21.yMax - _local21.yMin; var _local53 = _local18._x - _local21.xMin; var _local54 = _local18._y - _local21.yMin; if (_local40 > 0) { _local19 = 64 / _local40; } if (_local41 > 0) { var _local39 = 64 / _local41; if (_local39 < _local19) { _local19 = _local39; } } _local17.scale(_local19, _local19); _local17.translate((-_local17.tx) + (_local19 * _local53), (-_local17.ty) + (_local19 * _local54)); _local17.scale(_local20, _local20); _local17.translate(_local35, _local34); var _local44 = _local24.transform.matrix.clone(); _local44.invert(); _local17.concat(_local44); var _local23 = new flash.geom.Rectangle(newGui.bitmapScale * _local35, newGui.bitmapScale * _local34, (newGui.bitmapScale * 64) * _local20, (newGui.bitmapScale * 64) * _local20); var _local37 = new flash.geom.Rectangle((newGui.bitmapScale * _local35) + 1, (newGui.bitmapScale * _local34) + 1, ((newGui.bitmapScale * 64) * _local20) - 2, ((newGui.bitmapScale * 64) * _local20) - 2); var _local25 = _parent.controller.enemyGetHashData(_parent.controller.enemyGetID()); if (_local25 != undefined) { var _local22 = 0; _local22 = _local22 | -16777216; _local22 = _local22 | ((int(_local25.red * 255) & 255) << 16); _local22 = _local22 | ((int(_local25.green * 255) & 255) << 8); _local22 = _local22 | (int(_local25.blue * 255) & 255); newGui.bitmapChars.fillRect(_local37, _local22); } else { newGui.bitmapChars.fillRect(_local37, 0); } var _local38 = _parent.controller.enemyGetIconBitmap(_parent.controller.enemyGetID()); if (_local38 == undefined) { var _local55 = _parent.controller.GLOBAL_ENEMY._quality; _parent.controller.GLOBAL_ENEMY._quality = "LOW"; newGui.bitmapChars.draw(_parent.controller.GLOBAL_ENEMY, _local17, undefined, undefined, _local23, false); _parent.controller.GLOBAL_ENEMY._quality = _local55; _parent.controller.enemySetIconBitmap(_parent.controller.enemyGetID(), newGui.bitmapChars, _local23); } else { var _local36 = new flash.geom.Matrix(); _local36.translate(_local23.x, _local23.y); newGui.bitmapChars.draw(_local38, _local36, undefined, "normal", _local23, true); } } } if (newGui.activeEnemySelection) { _local31 = 1; var _local43 = Math.floor(_local12 / newGui.cellSize); var _local62 = Math.floor(_local13 / newGui.cellSize); var _local30 = Math.floor((selectdown._xmouse - 0) / newGui.cellSize); var _local29 = Math.floor((selectdown._ymouse - 0) / newGui.cellSize); var _local16 = _local30 + (_local29 * _local43); if ((_local16 > 0) && (_local16 < newGui.maxCount)) { } else { _local16 = 0; } _local4._visible = false; if ((_local30 >= 0) && (_local30 < _local43)) { if ((_local29 >= 0) && (_local29 < _local62)) { if ((_local16 > 0) && (_local16 < newGui.maxCount)) { _local4._x = 0 + (_local30 * newGui.cellSize); _local4._y = 0 + (_local29 * newGui.cellSize); _local4._xscale = newGui.cellSize; _local4._yscale = newGui.cellSize; _local4._visible = true; } } } if (!_local4._visible) { var _local46 = _parent.controller.enemyGetID() - 1; _local43 = Math.floor(_local12 / newGui.cellSize); _local62 = Math.floor(_local13 / newGui.cellSize); var _local58 = Math.floor(_local46 % _local43); var _local56 = Math.floor(_local46 / _local43); _local4._x = 0 + (_local58 * newGui.cellSize); _local4._y = 0 + (_local56 * newGui.cellSize); _local4._xscale = newGui.cellSize; _local4._yscale = newGui.cellSize; _local4._visible = true; var _local47 = new flash.geom.ColorTransform(); _local47.blueMultiplier = 0.5; _local47.greenMultiplier = 0.5; _local47.redMultiplier = 0.5; var _local51 = new flash.geom.Transform(_local4); _local51.colorTransform = _local47; } else { var _local47 = new flash.geom.ColorTransform(); var _local51 = new flash.geom.Transform(_local4); _local51.colorTransform = _local47; var _local50 = _parent.controller.getEnemyURLName(_local16 + 1); _local10.mytext.text = _local50; _local10._y = 0; if (selectdown._ymouse < 24) { _local10._y = 24; } } if (selectdown.guiButtonRelease) { newGui.activeEnemySelection = 0; if (_local16 > 0) { _parent.controller.pickEnemy(_local16 + 1); _parent.controller.resetPlayer(); } } else { _local45 = _local28; } } else { _local31 = 0; var _local42 = false; if ((_xmouse < _local26.xMax) && (_xmouse > _local26.xMin)) { if ((_ymouse < _local26.yMax) && (_ymouse > _local26.yMin)) { if (selectorDown) { _local42 = true; } } } if (_local42) { newGui.activeEnemySelection = 1; } } selectdown._x = _local57; selectdown._y = _local45; selectdown._visible = _local31; selectdown.guiButtonRelease = 0; selectorDown = 0; } var blockX = 16; var blockY = 0; var blockWidth = 128; var blockHeight = 36; var blockColumns = 5; char8segmap = new Object(); char8segmap["0"] = 91; char8segmap["1"] = 72; char8segmap["2"] = 61; char8segmap["3"] = 109; char8segmap["4"] = 78; char8segmap["5"] = 103; char8segmap["6"] = 119; char8segmap["7"] = 73; char8segmap["8"] = 127; char8segmap["9"] = 79; char8segmap.A = 95; char8segmap.B = 118; char8segmap.C = 52; char8segmap.D = 124; char8segmap.E = 55; char8segmap.F = 23; char8segmap.G = 115; char8segmap.H = 94; char8segmap.I = 64; char8segmap.J = 120; char8segmap.K = 30; char8segmap.L = 50; char8segmap.M = 92; char8segmap.N = 84; char8segmap.O = 116; char8segmap.P = 31; char8segmap.Q = 27; char8segmap.R = 20; char8segmap.S = 103; char8segmap.T = 19; char8segmap.U = 122; char8segmap.V = 112; char8segmap.W = 14; char8segmap.X = 94; char8segmap.Y = 78; char8segmap.Z = 28; var newGui = undefined;
Symbol 184 MovieClip Frame 18
function getCellCoords(idex, selectmax4, delx, dern, ncolumns) { if (dern == undefined) { dern = 1; } if (idex == undefined) { idex = 0; } if (idex < 0) { idex = 0; } if (idex > 1024) { idex = 0; } var _local3 = 0; while (idex >= selectmax4) { idex = idex - selectmax4; _local3++; } var _local4 = new Object(); _local4.xMin = (idex * delx) + dern; _local4.xMax = ((idex * delx) + delx) - dern; _local4.yMin = ((_local3 * 36) / ncolumns) + dern; _local4.yMax = (((_local3 * 36) / ncolumns) + (36 / ncolumns)) - dern; return(_local4); } function drawCell(M, idex, selectmax4, delx, color, dern, ncolumns) { var _local1 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMax); M.lineTo(_local1.xMin, _local1.yMax); M.lineTo(_local1.xMin, _local1.yMin); M.endFill(); } function drawCellBits(M, bits, idex, selectmax4, delx, color, dern, ncolumns) { var _local2 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); var _local4 = (_local2.xMin + _local2.xMax) / 2; var _local3 = (_local2.yMin + _local2.yMax) / 2; if (bits & 1) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local2.xMin, _local2.yMin); M.lineTo(_local4, _local2.yMin); M.lineTo(_local4, _local3); M.lineTo(_local2.xMin, _local3); M.lineTo(_local2.xMin, _local2.yMin); M.endFill(); } if (bits & 2) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local4, _local2.yMin); M.lineTo(_local2.xMax, _local2.yMin); M.lineTo(_local2.xMax, _local3); M.lineTo(_local4, _local3); M.lineTo(_local4, _local2.yMin); M.endFill(); } if (bits & 4) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local2.xMin, _local3); M.lineTo(_local4, _local3); M.lineTo(_local4, _local2.yMax); M.lineTo(_local2.xMin, _local2.yMax); M.lineTo(_local2.xMin, _local3); M.endFill(); } if (bits & 8) { M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local4, _local3); M.lineTo(_local2.xMax, _local3); M.lineTo(_local2.xMax, _local2.yMax); M.lineTo(_local4, _local2.yMax); M.lineTo(_local4, _local3); M.endFill(); } if (bits & 16) { var _local6 = _local4 - (_local4 / 2); var _local5 = _local3 - (_local3 / 2); M.lineStyle(0, 0); M.beginFill(color, 100); M.moveTo(_local4 - _local6, _local3 - _local5); M.lineTo(_local4 + _local6, _local3 - _local5); M.lineTo(_local4 + _local6, _local3 + _local5); M.lineTo(_local4 - _local6, _local3 + _local5); M.lineTo(_local4 - _local6, _local3 - _local5); M.endFill(); } } function drawCellX(M, idex, selectmax4, delx, color, dern, ncolumns) { var _local1 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); M.lineStyle(0.5, color, 100); M.beginFill(0, 0); M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMax); M.moveTo(_local1.xMax, _local1.yMin); M.lineTo(_local1.xMin, _local1.yMax); M.endFill(); } function drawCellChar(M, uchar, idex, selectmax4, delx, color, dern, ncolumns) { var _local1 = getCellCoords(idex, selectmax4, delx, dern, ncolumns); M.lineStyle(0.5, color, 100); M.beginFill(0, 0); var _local5 = (_local1.xMin + _local1.xMax) / 2; var _local4 = (_local1.yMin + _local1.yMax) / 2; if (char8segmap.hasOwnProperty(uchar)) { var _local3 = char8segmap[uchar]; if (_local3 & 1) { M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMax, _local1.yMin); } if (_local3 & 2) { M.moveTo(_local1.xMin, _local1.yMin); M.lineTo(_local1.xMin, _local4); } if (_local3 & 4) { M.moveTo(_local1.xMin, _local4); M.lineTo(_local1.xMax, _local4); } if (_local3 & 8) { M.moveTo(_local1.xMax, _local1.yMin); M.lineTo(_local1.xMax, _local4); } if (_local3 & 16) { M.moveTo(_local1.xMin, _local4); M.lineTo(_local1.xMin, _local1.yMax); } if (_local3 & 32) { M.moveTo(_local1.xMin, _local1.yMax); M.lineTo(_local1.xMax, _local1.yMax); } if (_local3 & 64) { M.moveTo(_local1.xMax, _local4); M.lineTo(_local1.xMax, _local1.yMax); } } M.endFill(); } function gridSelectFrom(max, may) { } function clearDrawingByIndex(enemyid) { newGui.drawMap[enemyid] = 1; } function updateCallback() { if (newGui == undefined) { var _local14 = new Object(); _local14.activeEnemySelection = 0; _local14.enemySelectionFade = 0; _local14.bitmapChars = undefined; _local14.bitmapIconStored = undefined; _local14.bitmapScale = 3; _local14.cellSize = 100; _local14.maxCount = 0; _local14.drawMap = new Object(); newGui = _local14; } var _local12 = 296; var _local13 = 48; var _local32 = -148; var _local28 = -120; var _local52 = 48; var _local26 = new Object({xMin:_local32, xMax:_local32 + 148, yMin:_local28, yMax:_local28 + 36}); var _local57 = _local32; var _local45 = _local28 - _local52; var _local31 = false; var _local10 = selectdown.drawText; if (_local10.mytext == undefined) { var _local27 = new TextFormat(); _local27.font = "Arial"; _local27.size = 16; _local27.color = 0; _local10.createTextField("mytext", 0, 0, 0, selectdown._width, 24); _local10.mytext.multiline = false; _local10.mytext.wordWrap = false; _local10.mytext.text = ""; _local10.mytext.embedFonts = false; _local10.mytext.selectable = false; _local10.mytext.antiAliasType = "normal"; _local10.mytext.backgroundColor = 2155905152; _local10.mytext.textColor = 0; _local10.useformat = _local27; _local10.mytext.setNewTextFormat(_local10.useformat); } _local10.mytext.text = ""; _local10._x = 0; var _local24 = selectdown.drawinto; var _local4 = selectdown.drawSelector; if (newGui.bitmapChars == undefined) { newGui.bitmapChars = new flash.display.BitmapData(newGui.bitmapScale * _local12, newGui.bitmapScale * _local13, true, 0); _local24.attachBitmap(newGui.bitmapChars, 0, "auto", false); _local24._xscale = 100 / newGui.bitmapScale; _local24._yscale = 100 / newGui.bitmapScale; } var _local15 = _parent.controller.GLOBAL_MAXENEMYFRAMES; if (newGui.maxCount != _local15) { newGui.drawMap = new Object(); newGui.maxCount = _local15; var _local23 = new flash.geom.Rectangle(0, 0, newGui.bitmapScale * _local12, newGui.bitmapScale * _local13); newGui.bitmapChars.fillRect(_local23, 0); var _local5 = Math.min(_local13, _local12); while ((Math.floor(_local12 / _local5) * Math.floor(_local13 / _local5)) < _local15) { _local5--; } newGui.cellSize = _local5; _local15++; var _local8 = Math.floor(_local12 / _local5); var _local11 = Math.floor(_local13 / _local5); _local4.clear(); var _local20 = newGui.cellSize / 64; var _local7 = 0; while (_local7 < _local11) { var _local3 = 0; while (_local3 < _local8) { var _local6 = (_local3 + (_local7 * _local8)) + 1; var _local25 = _parent.controller.enemyGetHashData(_local6); if (_local25 != undefined) { var _local22 = 0; _local22 = _local22 | -16777216; _local22 = _local22 | ((int(_local25.red * 255) & 255) << 16); _local22 = _local22 | ((int(_local25.green * 255) & 255) << 8); _local22 = _local22 | (int(_local25.blue * 255) & 255); _local23 = new flash.geom.Rectangle((newGui.bitmapScale * newGui.cellSize) * _local3, (newGui.bitmapScale * newGui.cellSize) * _local7, (newGui.bitmapScale * 64) * _local20, (newGui.bitmapScale * 64) * _local20); var _local37 = new flash.geom.Rectangle(((newGui.bitmapScale * newGui.cellSize) * _local3) + 1, ((newGui.bitmapScale * newGui.cellSize) * _local7) + 1, ((newGui.bitmapScale * 64) * _local20) - 2, ((newGui.bitmapScale * 64) * _local20) - 2); newGui.bitmapChars.fillRect(_local37, _local22); var _local38 = _parent.controller.enemyGetIconBitmap(_local6); if (_local38 != undefined) { trace((("Enemy [" + _local6) + "] has icon: ") + _local38); var _local36 = new flash.geom.Matrix(); _local36.translate(_local23.x, _local23.y); newGui.bitmapChars.draw(_local38, _local36, undefined, "normal", _local23, false); } } _local3 = _local3 + 1; } _local7 = _local7 + 1; } _local4._x = 0; _local4._y = 0; _local4._xscale = 100; _local4._yscale = 100; _local4.clear(); _local4.lineStyle(0, 8421504, 255); var _local9 = 0; while (_local9 <= _local8) { _local4.moveTo(_local9 * _local5, 0); _local4.lineTo(_local9 * _local5, _local11 * _local5); _local9 = _local9 + 1; } _local9 = 0; while (_local9 <= _local11) { _local4.moveTo(0, _local9 * _local5); _local4.lineTo(_local8 * _local5, _local9 * _local5); _local9 = _local9 + 1; } _local4.lineStyle(0, 8421504, 255); _local4.moveTo(0, 0); _local4.lineTo(_local5, _local5); _local4.moveTo(_local5, 0); _local4.lineTo(0, _local5); var _local17 = _local4.transform.matrix.clone(); var _local44 = _local24.transform.matrix.clone(); _local44.invert(); _local17.concat(_local44); var _local48; var _local49; _local23 = undefined; var _local64 = false; newGui.bitmapChars.draw(_local4, _local17, _local48, _local49, _local23, true); _local4.clear(); _local4.beginFill(16777215, 25); _local4.lineStyle(1, 16711808, 255); _local4.moveTo(0, 0); _local4.lineTo(100, 0); _local4.lineTo(100, 100); _local4.lineTo(0, 100); _local4.lineTo(0, 0); _local4.endFill(16777215, 25); _local4._xscale = newGui.cellSize; _local4._yscale = newGui.cellSize; } else { var _local46 = _parent.controller.enemyGetID() - 1; if (!newGui.drawMap.hasOwnProperty(_local46)) { newGui.drawMap[_local46] = 1; } if (newGui.drawMap[_local46] != 3) { newGui.drawMap[_local46] = newGui.drawMap[_local46] + 1; } else { newGui.drawMap[_local46] = newGui.drawMap[_local46] + 1; var _local43 = Math.floor(_local12 / newGui.cellSize); var _local62 = Math.floor(_local13 / newGui.cellSize); var _local58 = Math.floor(_local46 % _local43); var _local56 = Math.floor(_local46 / _local43); var _local35 = _local58 * newGui.cellSize; var _local34 = _local56 * newGui.cellSize; var _local20 = newGui.cellSize / 64; var _local18 = _parent.controller.GLOBAL_ENEMY; var _local33 = _local18; if (_local18.enemy.enemy.head != undefined) { _local33 = _local18.enemy.enemy.head; } else if (_local18.enemy.head != undefined) { _local33 = _local18.enemy.head; } var _local17 = _local18.transform.matrix.clone(); var _local19 = 1; var _local21 = _local33.getBounds(_root); var _local40 = _local21.xMax - _local21.xMin; var _local41 = _local21.yMax - _local21.yMin; var _local53 = _local18._x - _local21.xMin; var _local54 = _local18._y - _local21.yMin; if (_local40 > 0) { _local19 = 64 / _local40; } if (_local41 > 0) { var _local39 = 64 / _local41; if (_local39 < _local19) { _local19 = _local39; } } _local17.scale(_local19, _local19); _local17.translate((-_local17.tx) + (_local19 * _local53), (-_local17.ty) + (_local19 * _local54)); _local17.scale(_local20, _local20); _local17.translate(_local35, _local34); var _local44 = _local24.transform.matrix.clone(); _local44.invert(); _local17.concat(_local44); var _local23 = new flash.geom.Rectangle(newGui.bitmapScale * _local35, newGui.bitmapScale * _local34, (newGui.bitmapScale * 64) * _local20, (newGui.bitmapScale * 64) * _local20); var _local37 = new flash.geom.Rectangle((newGui.bitmapScale * _local35) + 1, (newGui.bitmapScale * _local34) + 1, ((newGui.bitmapScale * 64) * _local20) - 2, ((newGui.bitmapScale * 64) * _local20) - 2); var _local25 = _parent.controller.enemyGetHashData(_parent.controller.enemyGetID()); if (_local25 != undefined) { var _local22 = 0; _local22 = _local22 | -16777216; _local22 = _local22 | ((int(_local25.red * 255) & 255) << 16); _local22 = _local22 | ((int(_local25.green * 255) & 255) << 8); _local22 = _local22 | (int(_local25.blue * 255) & 255); newGui.bitmapChars.fillRect(_local37, _local22); } else { newGui.bitmapChars.fillRect(_local37, 0); } var _local38 = _parent.controller.enemyGetIconBitmap(_parent.controller.enemyGetID()); if (_local38 == undefined) { var _local55 = _parent.controller.GLOBAL_ENEMY._quality; _parent.controller.GLOBAL_ENEMY._quality = "LOW"; newGui.bitmapChars.draw(_parent.controller.GLOBAL_ENEMY, _local17, undefined, undefined, _local23, false); _parent.controller.GLOBAL_ENEMY._quality = _local55; _parent.controller.enemySetIconBitmap(_parent.controller.enemyGetID(), newGui.bitmapChars, _local23); } else { var _local36 = new flash.geom.Matrix(); _local36.translate(_local23.x, _local23.y); newGui.bitmapChars.draw(_local38, _local36, undefined, "normal", _local23, true); } } } if (newGui.activeEnemySelection) { _local31 = 1; var _local43 = Math.floor(_local12 / newGui.cellSize); var _local62 = Math.floor(_local13 / newGui.cellSize); var _local30 = Math.floor((selectdown._xmouse - 0) / newGui.cellSize); var _local29 = Math.floor((selectdown._ymouse - 0) / newGui.cellSize); var _local16 = _local30 + (_local29 * _local43); if ((_local16 > 0) && (_local16 < newGui.maxCount)) { } else { _local16 = 0; } _local4._visible = false; if ((_local30 >= 0) && (_local30 < _local43)) { if ((_local29 >= 0) && (_local29 < _local62)) { if ((_local16 > 0) && (_local16 < newGui.maxCount)) { _local4._x = 0 + (_local30 * newGui.cellSize); _local4._y = 0 + (_local29 * newGui.cellSize); _local4._xscale = newGui.cellSize; _local4._yscale = newGui.cellSize; _local4._visible = true; } } } if (!_local4._visible) { var _local46 = _parent.controller.enemyGetID() - 1; _local43 = Math.floor(_local12 / newGui.cellSize); _local62 = Math.floor(_local13 / newGui.cellSize); var _local58 = Math.floor(_local46 % _local43); var _local56 = Math.floor(_local46 / _local43); _local4._x = 0 + (_local58 * newGui.cellSize); _local4._y = 0 + (_local56 * newGui.cellSize); _local4._xscale = newGui.cellSize; _local4._yscale = newGui.cellSize; _local4._visible = true; var _local47 = new flash.geom.ColorTransform(); _local47.blueMultiplier = 0.5; _local47.greenMultiplier = 0.5; _local47.redMultiplier = 0.5; var _local51 = new flash.geom.Transform(_local4); _local51.colorTransform = _local47; } else { var _local47 = new flash.geom.ColorTransform(); var _local51 = new flash.geom.Transform(_local4); _local51.colorTransform = _local47; var _local50 = _parent.controller.getEnemyURLName(_local16 + 1); _local10.mytext.text = _local50; _local10._y = 0; if (selectdown._ymouse < 24) { _local10._y = 24; } } if (selectdown.guiButtonRelease) { newGui.activeEnemySelection = 0; if (_local16 > 0) { _parent.controller.pickEnemy(_local16 + 1); _parent.controller.resetPlayer(); } } else { _local45 = _local28; } } else { _local31 = 0; var _local42 = false; if ((_xmouse < _local26.xMax) && (_xmouse > _local26.xMin)) { if ((_ymouse < _local26.yMax) && (_ymouse > _local26.yMin)) { if (selectorDown) { _local42 = true; } } } if (_local42) { newGui.activeEnemySelection = 1; } } selectdown._x = _local57; selectdown._y = _local45; selectdown._visible = _local31; selectdown.guiButtonRelease = 0; selectorDown = 0; } var blockX = 16; var blockY = 0; var blockWidth = 128; var blockHeight = 36; var blockColumns = 5; char8segmap = new Object(); char8segmap["0"] = 91; char8segmap["1"] = 72; char8segmap["2"] = 61; char8segmap["3"] = 109; char8segmap["4"] = 78; char8segmap["5"] = 103; char8segmap["6"] = 119; char8segmap["7"] = 73; char8segmap["8"] = 127; char8segmap["9"] = 79; char8segmap.A = 95; char8segmap.B = 118; char8segmap.C = 52; char8segmap.D = 124; char8segmap.E = 55; char8segmap.F = 23; char8segmap.G = 115; char8segmap.H = 94; char8segmap.I = 64; char8segmap.J = 120; char8segmap.K = 30; char8segmap.L = 50; char8segmap.M = 92; char8segmap.N = 84; char8segmap.O = 116; char8segmap.P = 31; char8segmap.Q = 27; char8segmap.R = 20; char8segmap.S = 103; char8segmap.T = 19; char8segmap.U = 122; char8segmap.V = 112; char8segmap.W = 14; char8segmap.X = 94; char8segmap.Y = 78; char8segmap.Z = 28; var newGui = undefined;
Symbol 184 MovieClip Frame 25
stop();
Symbol 184 MovieClip Frame 34
function updateCallback() { }
Symbol 184 MovieClip Frame 40
function updateCallback() { } exturl = _root.externalURL;
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 8
removeMovieClip(this); _parent.removeMovieClip(this);
Instance of Symbol 196 MovieClip "entertainor" in Symbol 197 MovieClip Frame 1
onClipEvent (load) { function FireOrange(x, y) { if (gActiveOranges < 16) { var newname = ("ong_" + gGarbageClipCurr); gGarbageClip.duplicateMovieClip(newname, gGarbageClipCurr + 1024); var clip = eval ("_parent." + newname); clip._x = x; clip._y = y; clip._xvel = (Math.random() * 32) - 16; clip._yvel = (Math.random() * 32) - 16; clip._xscale = 12 + (Math.random() * 12); clip._yscale = clip._xscale; delmc._rotation = 0; clip.destroy = false; clip.gotoAndStop(1); gGarbageClipCurr++; if (gGarbageClipCurr > 256) { gGarbageClipCurr = 0; } gGarbageClips.push(clip); gActiveOranges++; } } var gGarbageClip = _parent.dup_orange; var gGarbageClipCurr = 0; var gGarbageClips = []; var gMouseState = 0; var gMouseXPrev = 0; var gMouseYPrev = 0; var gTimer = 5; var gFieldWidth = 1000; var gFieldHeight = 700; var gActiveOranges = 0; var gGameScore = 0; } onClipEvent (enterFrame) { gTimer = gTimer + 1; if (gTimer > 5) { FireOrange(Math.random() * gFieldWidth, Math.random() * gFieldHeight); gTimer = 0; } var remarray = []; var hitany = 0; var clickany = 0; var i = 0; var imax = gGarbageClips.length; while (i < imax) { var mc = gGarbageClips[i]; if (gMouseState) { var dx = (_parent._xmouse - mc._x); var dy = (_parent._ymouse - mc._y); var dm = ((dx * dx) + (dy * dy)); if (dm < (mc._xscale * mc._xscale)) { remarray.push(i); hitany = hitany + 1; } clickany = clickany + 1; } mc._yvel = mc._yvel + 0.327; mc._y = mc._y + mc._yvel; mc._x = mc._x + mc._xvel; if (mc._x < 0) { mc._x = -mc._x; mc._xvel = -mc._xvel; } else if (mc._x > gFieldWidth) { mc._x = gFieldWidth + (gFieldWidth - mc._x); mc._xvel = -mc._xvel; } if (mc._y < 0) { mc._y = -mc._y; mc._yvel = -mc._yvel; } else if (mc._y > gFieldHeight) { mc._y = gFieldHeight + (gFieldHeight - mc._y); mc._yvel = -mc._yvel; } i++; } if (clickany) { if (hitany == 0) { gGameScore = gGameScore - 1; if (gGameScore < 0) { gGameScore = 0; } } } var r = 0; var rcount = 0; var rmax = remarray.length; while (r < rmax) { var delmc = gGarbageClips[remarray[r] - rcount]; gGameScore = gGameScore + (Math.floor(delmc._xscale) - 11); delmc.play(); delmc._rotation = Math.random() * 360; gGarbageClips.splice(remarray[r] - rcount, 1); gActiveOranges--; rcount++; r++; } gMouseXPrev = _parent._xmouse; gMouseYPrev = _parent._ymouse; } onClipEvent (mouseDown) { gMouseState = gMouseState + 1; } onClipEvent (mouseUp) { gMouseState = 0; }
Symbol 221 MovieClip Frame 5
stop();
Symbol 231 Button
on (release) { _root.externalURL = exturl; play(); }
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
gotoAndStop (1);
Symbol 273 MovieClip Frame 3
gotoAndStop (1);
Symbol 273 MovieClip Frame 12
gotoAndStop (1);
Symbol 273 MovieClip Frame 23
gotoAndStop (1);
Symbol 273 MovieClip Frame 42
gotoAndStop (1);
Symbol 273 MovieClip Frame 51
gotoAndStop (1);
Symbol 273 MovieClip Frame 58
gotoAndStop (1);
Symbol 273 MovieClip Frame 65
gotoAndStop (1);
Symbol 273 MovieClip Frame 95
gotoAndStop (1);
Symbol 273 MovieClip Frame 102
gotoAndStop (1);
Symbol 273 MovieClip Frame 109
gotoAndStop (1);
Symbol 273 MovieClip Frame 120
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 150
gotoAndStop (1);
Symbol 273 MovieClip Frame 151
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 179
gotoAndStop (1);
Symbol 273 MovieClip Frame 180
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 210
gotoAndStop (1);
Symbol 273 MovieClip Frame 211
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 239
gotoAndStop (1);
Symbol 273 MovieClip Frame 240
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 270
gotoAndStop (1);
Symbol 273 MovieClip Frame 271
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 300
gotoAndStop (1);
Symbol 273 MovieClip Frame 302
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 307
gotoAndStop (1);
Symbol 273 MovieClip Frame 310
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 315
gotoAndStop (1);
Symbol 273 MovieClip Frame 318
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 321
gotoAndStop (1);
Symbol 273 MovieClip Frame 327
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 330
gotoAndStop (1);
Symbol 273 MovieClip Frame 337
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 340
gotoAndStop (1);
Symbol 273 MovieClip Frame 348
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 351
gotoAndStop (1);
Symbol 273 MovieClip Frame 358
_xscale = Math.abs(_xscale); _yscale = Math.abs(_xscale); _rotation = 0;
Symbol 273 MovieClip Frame 361
gotoAndStop (1);
Symbol 273 MovieClip Frame 371
gotoAndStop (1);
Symbol 273 MovieClip Frame 381
gotoAndStop (1);
Symbol 273 MovieClip Frame 391
gotoAndStop (1);
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 3
gotoAndStop (1);
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
this.m_scale = 100; this.m_name = "EXTERNAL"; this.m_status = "SxS*NOTLOADED"; this.m_credit = ""; this.maxhp = 100; this.hp = this.maxhp; this.enemy.in_movex = 0; this.enemy.in_movey = 0; this.enemy.in_action = 0; this.hatk = 0; this.matk = 0; this.latk = 0; this.hdef = 0; this.mdef = 0; this.ldef = 0; enemy.s_atktype = 0; enemy.s_animbusy = 0; enemy.s_idle = 1; enemy.s_moving = 0; enemy.s_attacking = 0; enemy.s_hit = 0; enemy.s_vx = 0; m_cameraoffset = 0; stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 286 MovieClip Frame 30
Symbol 287 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 288 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 288 MovieClip Frame 21
Symbol 289 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 294 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 294 MovieClip Frame 13
Symbol 295 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 298 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 298 MovieClip Frame 14
Symbol 299 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 300 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 300 MovieClip Frame 13
Symbol 301 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 304 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 304 MovieClip Frame 15
Symbol 305 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 306 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 306 MovieClip Frame 5
Symbol 307 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 308 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 308 MovieClip Frame 18
Symbol 309 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 310 MovieClip Frame 1
onEnterFrame = function () { if (!_root.GLOBAL_PLAYERHEAD) { head._visible = false; } };
Symbol 310 MovieClip Frame 20
stop();
Symbol 311 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 2
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 3
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 4
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 5
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 6
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 7
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 8
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 9
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 328 MovieClip Frame 10
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 2
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 3
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 4
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 5
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 6
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 7
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 8
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 9
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 331 MovieClip Frame 10
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 2
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 3
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 4
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 5
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 6
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 7
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 8
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 9
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 334 MovieClip Frame 10
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 338 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 338 MovieClip Frame 2
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 338 MovieClip Frame 3
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 338 MovieClip Frame 4
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 338 MovieClip Frame 5
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 341 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 367 MovieClip Frame 2
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 367 MovieClip Frame 3
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 367 MovieClip Frame 4
gotoAndStop(_root.GLOBAL_PLAYERGRAPHIC);
Symbol 369 MovieClip [mcPlayer] Frame 1
stop(); nextFrame();
Symbol 369 MovieClip [mcPlayer] Frame 2
s_idle = 1; s_moving = 0; s_attacking = 0; s_hit = 0; s_animbusy = 0; s_vx = 0; s_decidedanim = "idle";
Symbol 369 MovieClip [mcPlayer] Frame 8
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 9
s_idle = 0; s_moving = 4; s_attacking = 0; s_hit = 0; s_animbusy = 0; s_decidedanim = "walk";
Symbol 369 MovieClip [mcPlayer] Frame 16
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 24
s_animbusy = 1; s_decidedanim = "turn";
Symbol 369 MovieClip [mcPlayer] Frame 30
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 31
s_idle = 0; s_moving = 0; s_attacking = 1; s_hit = 0; s_animbusy = 1; s_atktype = 2; s_decidedanim = "atkh";
Symbol 369 MovieClip [mcPlayer] Frame 38
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 39
s_idle = 0; s_moving = 0; s_attacking = 1; s_hit = 0; s_animbusy = 1; s_atktype = 1; s_decidedanim = "atkm";
Symbol 369 MovieClip [mcPlayer] Frame 46
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 47
s_idle = 0; s_moving = 0; s_attacking = 1; s_hit = 0; s_animbusy = 1; s_atktype = 0; s_decidedanim = "atkl";
Symbol 369 MovieClip [mcPlayer] Frame 53
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 55
s_idle = 0; s_moving = 0; s_attacking = 1; s_hit = 0; s_animbusy = 1; s_atktype = 4; s_decidedanim = "atkp";
Symbol 369 MovieClip [mcPlayer] Frame 61
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 62
s_idle = 0; s_moving = 0; s_attacking = 0; s_hit = 1; s_animbusy = 1; s_vx = 6; s_decidedanim = "hith";
Symbol 369 MovieClip [mcPlayer] Frame 68
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 69
s_idle = 0; s_moving = 0; s_attacking = 0; s_hit = 1; s_animbusy = 1; s_vx = 4; s_decidedanim = "hitm";
Symbol 369 MovieClip [mcPlayer] Frame 75
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 76
s_idle = 0; s_moving = 0; s_attacking = 0; s_hit = 1; s_animbusy = 1; s_vx = 2; s_decidedanim = "hitl";
Symbol 369 MovieClip [mcPlayer] Frame 80
s_idle = 0; s_moving = 7; s_attacking = 0; s_hit = 0; s_animbusy = 0; s_decidedanim = "run";
Symbol 369 MovieClip [mcPlayer] Frame 81
gotoAndStop ("idle");
Symbol 369 MovieClip [mcPlayer] Frame 82
s_idle = 0; s_moving = 0; s_attacking = 0; s_hit = 1; s_animbusy = 1; s_vx = 0; s_decidedanim = "death";
Symbol 369 MovieClip [mcPlayer] Frame 95
s_idle = 0; s_moving = 0; s_attacking = 0; s_hit = 1; s_animbusy = 1; hp = 0; s_decidedanim = "dead";
Symbol 369 MovieClip [mcPlayer] Frame 100
stop();
Symbol 369 MovieClip [mcPlayer] Frame 102
s_decidedanim = "blank";
Symbol 369 MovieClip [mcPlayer] Frame 106
gotoAndStop ("blank");

Library Items

Symbol 1 MovieClip [mcEmpty]Used by:171
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:184 369  Timeline
Symbol 4 FontUsed by:5 49 73 74 80 81 82 83 84 87 88 89 90 104 106 123 125 143 161 162 163 164 165 166 167 168 169 172 174 176 177 179 180 181 182 198 212 215 216 222 225 227 232 233
Symbol 5 EditableTextUses:4Used by:Timeline
Symbol 6 GraphicUsed by:31
Symbol 7 GraphicUsed by:31 273
Symbol 8 GraphicUsed by:9 29 273
Symbol 9 MovieClipUses:8Used by:31
Symbol 10 GraphicUsed by:31
Symbol 11 GraphicUsed by:12 27 273
Symbol 12 MovieClipUses:11Used by:31
Symbol 13 GraphicUsed by:14 28 273
Symbol 14 MovieClipUses:13Used by:31
Symbol 15 GraphicUsed by:16 26 273
Symbol 16 MovieClipUses:15Used by:31
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19 98 273
Symbol 19 MovieClipUses:17 18Used by:31
Symbol 20 GraphicUsed by:31
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:31
Symbol 24 GraphicUsed by:31
Symbol 25 GraphicUsed by:30
Symbol 26 MovieClipUses:15Used by:30 103
Symbol 27 MovieClipUses:11Used by:30 103
Symbol 28 MovieClipUses:13Used by:30 103
Symbol 29 MovieClipUses:8Used by:30 103
Symbol 30 MovieClipUses:25 26 27 28 29Used by:31
Symbol 31 MovieClipUses:6 7 9 10 12 14 16 19 20 23 24 30Used by:184
Symbol 32 GraphicUsed by:45
Symbol 33 GraphicUsed by:45
Symbol 34 GraphicUsed by:45
Symbol 35 GraphicUsed by:45
Symbol 36 GraphicUsed by:45
Symbol 37 GraphicUsed by:45
Symbol 38 GraphicUsed by:45
Symbol 39 GraphicUsed by:45
Symbol 40 GraphicUsed by:45
Symbol 41 GraphicUsed by:45
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:45
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:32 33 34 35 36 37 38 39 40 41 42 43 44Used by:184
Symbol 46 GraphicUsed by:184
Symbol 47 GraphicUsed by:184
Symbol 48 GraphicUsed by:184
Symbol 49 EditableTextUses:4Used by:65
Symbol 50 GraphicUsed by:56
Symbol 51 GraphicUsed by:56
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:50 51 52 53 54 55Used by:65
Symbol 57 GraphicUsed by:63
Symbol 58 GraphicUsed by:63
Symbol 59 GraphicUsed by:63
Symbol 60 GraphicUsed by:63
Symbol 61 GraphicUsed by:63
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:57 58 59 60 61 62Used by:65
Symbol 64 GraphicUsed by:65 67
Symbol 65 MovieClipUses:49 56 63 64Used by:184
Symbol 66 ShapeTweeningUsed by:67
Symbol 67 MovieClipUses:66 64Used by:69 79 85 86 105 124 139 140 141 142 144 150 151 152 173 175 178
Symbol 68 GraphicUsed by:69 103 144 160
Symbol 69 ButtonUses:67 68Used by:72 160
Symbol 70 MovieClipUsed by:72 160 184 275  Timeline
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:69 70 71Used by:184
Symbol 73 TextUses:4Used by:184
Symbol 74 TextUses:4Used by:184
Symbol 75 GraphicUsed by:77
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:75 76Used by:79 85 86 105 124 139 140 141 142 150 151 152 173 175 178
Symbol 78 GraphicUsed by:79 85 86 105 124 139 140 141 142 150 151 152 173 175 178 184  Timeline
Symbol 79 ButtonUses:77 67 78Used by:184
Symbol 80 TextUses:4Used by:184
Symbol 81 TextUses:4Used by:184
Symbol 82 TextUses:4Used by:184
Symbol 83 EditableTextUses:4Used by:184
Symbol 84 TextUses:4Used by:184
Symbol 85 ButtonUses:77 67 78Used by:184
Symbol 86 ButtonUses:77 67 78Used by:184
Symbol 87 EditableTextUses:4Used by:184
Symbol 88 EditableTextUses:4Used by:184
Symbol 89 TextUses:4Used by:184
Symbol 90 EditableTextUses:4Used by:184
Symbol 91 GraphicUsed by:95 369
Symbol 92 GraphicUsed by:95 369
Symbol 93 GraphicUsed by:95 369
Symbol 94 GraphicUsed by:95 369
Symbol 95 MovieClipUses:91 92 93 94Used by:103
Symbol 96 GraphicUsed by:103
Symbol 97 GraphicUsed by:103
Symbol 98 MovieClipUses:18Used by:103
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:103
Symbol 101 GraphicUsed by:102 122
Symbol 102 MovieClipUses:101Used by:103
Symbol 103 MovieClipUses:95 96 68 97 98 28 27 29 26 100 102Used by:184
Symbol 104 TextUses:4Used by:184
Symbol 105 ButtonUses:77 67 78Used by:184
Symbol 106 EditableTextUses:4Used by:184
Symbol 107 ShapeTweeningUsed by:110
Symbol 108 ShapeTweeningUsed by:110
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:107 108 109Used by:122
Symbol 111 ShapeTweeningUsed by:114
Symbol 112 ShapeTweeningUsed by:114
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:111 112 113Used by:122
Symbol 115 GraphicUsed by:122
Symbol 116 GraphicUsed by:122
Symbol 117 ShapeTweeningUsed by:121
Symbol 118 ShapeTweeningUsed by:121
Symbol 119 GraphicUsed by:121
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:117 118 119 120Used by:122
Symbol 122 MovieClipUses:110 114 101 115 116 121Used by:184
Symbol 123 EditableTextUses:4Used by:184
Symbol 124 ButtonUses:77 67 78Used by:184
Symbol 125 TextUses:4Used by:184
Symbol 126 GraphicUsed by:184
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:136
Symbol 129 GraphicUsed by:136
Symbol 130 GraphicUsed by:136
Symbol 131 GraphicUsed by:136
Symbol 132 GraphicUsed by:136
Symbol 133 GraphicUsed by:136
Symbol 134 GraphicUsed by:136
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:128 129 130 131 132 133 134 135Used by:138
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:136 137Used by:184
Symbol 139 ButtonUses:77 67 78Used by:184
Symbol 140 ButtonUses:77 67 78Used by:184
Symbol 141 ButtonUses:77 67 78Used by:184
Symbol 142 ButtonUses:77 67 78Used by:184
Symbol 143 TextUses:4Used by:149
Symbol 144 ButtonUses:67 68Used by:149
Symbol 145 GraphicUsed by:149
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:149 184
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:143 144 145 147 148Used by:184
Symbol 150 ButtonUses:77 67 78Used by:184
Symbol 151 ButtonUses:77 67 78Used by:184
Symbol 152 ButtonUses:77 67 78Used by:184
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:184
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:158
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:156 157Used by:184
Symbol 159 GraphicUsed by:184
Symbol 160 MovieClipUses:69 70 68Used by:184
Symbol 161 EditableTextUses:4Used by:184
Symbol 162 TextUses:4Used by:184
Symbol 163 EditableTextUses:4Used by:184
Symbol 164 EditableTextUses:4Used by:184
Symbol 165 TextUses:4Used by:184
Symbol 166 EditableTextUses:4Used by:184
Symbol 167 EditableTextUses:4Used by:184
Symbol 168 EditableTextUses:4Used by:184
Symbol 169 TextUses:4Used by:184
Symbol 170 GraphicUsed by:184
Symbol 171 MovieClipUses:1Used by:184
Symbol 172 TextUses:4Used by:184
Symbol 173 ButtonUses:77 67 78Used by:184
Symbol 174 TextUses:4Used by:184
Symbol 175 ButtonUses:77 67 78Used by:184
Symbol 176 TextUses:4Used by:184
Symbol 177 TextUses:4Used by:184
Symbol 178 ButtonUses:77 67 78Used by:184
Symbol 179 EditableTextUses:4Used by:184
Symbol 180 EditableTextUses:4Used by:184
Symbol 181 TextUses:4Used by:184
Symbol 182 EditableTextUses:4Used by:184
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:3 31 45 46 47 48 65 72 73 74 79 80 81 82 83 84 85 86 87 88 89 90 103 104 105 106 122 123 124 125 70 126 138 139 140 141 142 149 150 151 152 154 158 159 160 161 162 163 164 165 166 167 168 169 147 170 171 172 173 174 175 176 177 178 179 180 78 181 182 183Used by:Timeline
Symbol 185 MovieClipUsed by:Timeline
Symbol 186 FontUsed by:187
Symbol 187 TextUses:186Used by:195
Symbol 188 GraphicUsed by:195
Symbol 189 GraphicUsed by:195
Symbol 190 GraphicUsed by:195
Symbol 191 GraphicUsed by:195
Symbol 192 GraphicUsed by:195
Symbol 193 GraphicUsed by:195
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:187 188 189 190 191 192 193 194Used by:197
Symbol 196 MovieClipUsed by:197
Symbol 197 MovieClipUses:195 196Used by:Timeline
Symbol 198 EditableTextUses:4Used by:Timeline
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:199Used by:211 286 288 294 298 300 304 306 308
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:201Used by:211 306
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClipUses:203Used by:211 286 288 294 298 300 304 306 308
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClipUses:205Used by:211 286 288 294 298 300 304 306 308
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:207Used by:211 286 288 294 298 300 304 306 308
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClipUses:209Used by:211 286 288 294 298 300 304 306 308
Symbol 211 MovieClipUses:200 202 204 206 208 210Used by:310  Timeline
Symbol 212 EditableTextUses:4Used by:Timeline
Symbol 213 FontUsed by:214
Symbol 214 TextUses:213Used by:Timeline
Symbol 215 TextUses:4Used by:Timeline
Symbol 216 TextUses:4Used by:224
Symbol 217 ShapeTweeningUsed by:221
Symbol 218 GraphicUsed by:221
Symbol 219 GraphicUsed by:221
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:217 218 219 220Used by:224
Symbol 222 TextUses:4Used by:224
Symbol 223 GraphicUsed by:224
Symbol 224 ButtonUses:216 221 222 223Used by:Timeline
Symbol 225 TextUses:4Used by:Timeline
Symbol 226 GraphicUsed by:231
Symbol 227 TextUses:4Used by:231
Symbol 228 GraphicUsed by:231
Symbol 229 GraphicUsed by:231
Symbol 230 GraphicUsed by:231
Symbol 231 ButtonUses:226 227 228 229 230Used by:Timeline
Symbol 232 TextUses:4Used by:Timeline
Symbol 233 TextUses:4Used by:Timeline
Symbol 234 GraphicUsed by:Timeline
Symbol 235 GraphicUsed by:273
Symbol 236 GraphicUsed by:273
Symbol 237 GraphicUsed by:273
Symbol 238 GraphicUsed by:273
Symbol 239 GraphicUsed by:273
Symbol 240 GraphicUsed by:273
Symbol 241 GraphicUsed by:273
Symbol 242 GraphicUsed by:273
Symbol 243 GraphicUsed by:273
Symbol 244 ShapeTweeningUsed by:273
Symbol 245 ShapeTweeningUsed by:273
Symbol 246 GraphicUsed by:273
Symbol 247 ShapeTweeningUsed by:273
Symbol 248 ShapeTweeningUsed by:273
Symbol 249 ShapeTweeningUsed by:273
Symbol 250 ShapeTweeningUsed by:273
Symbol 251 ShapeTweeningUsed by:273
Symbol 252 ShapeTweeningUsed by:273
Symbol 253 ShapeTweeningUsed by:273
Symbol 254 ShapeTweeningUsed by:273
Symbol 255 ShapeTweeningUsed by:273
Symbol 256 ShapeTweeningUsed by:273
Symbol 257 ShapeTweeningUsed by:273
Symbol 258 ShapeTweeningUsed by:273
Symbol 259 ShapeTweeningUsed by:273
Symbol 260 ShapeTweeningUsed by:273
Symbol 261 ShapeTweeningUsed by:273
Symbol 262 GraphicUsed by:273
Symbol 263 GraphicUsed by:273
Symbol 264 GraphicUsed by:273
Symbol 265 GraphicUsed by:273
Symbol 266 GraphicUsed by:273
Symbol 267 GraphicUsed by:273
Symbol 268 GraphicUsed by:273
Symbol 269 GraphicUsed by:273
Symbol 270 GraphicUsed by:272
Symbol 271 GraphicUsed by:272
Symbol 272 MovieClipUses:270 271Used by:273
Symbol 273 MovieClipUses:235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 7 272 8 11 13 15 18Used by:Timeline
Symbol 274 MovieClipUsed by:Timeline
Symbol 275 MovieClipUses:70Used by:370  Timeline
Symbol 276 GraphicUsed by:280
Symbol 277 GraphicUsed by:280
Symbol 278 GraphicUsed by:280
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:276 277 278 279Used by:369
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281Used by:283 344 369
Symbol 283 MovieClipUses:282Used by:369
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:286 288 308
Symbol 286 MovieClipUses:285 200 204 206 208 210Used by:287
Symbol 287 MovieClipUses:286Used by:369
Symbol 288 MovieClipUses:285 200 204 206 208 210Used by:289
Symbol 289 MovieClipUses:288Used by:369
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClipUses:290Used by:294 298 300 308
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:294 298 300 304 369
Symbol 294 MovieClipUses:200 291 204 206 208 210 293Used by:295
Symbol 295 MovieClipUses:294Used by:369
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:298
Symbol 298 MovieClipUses:200 297 204 206 208 210 291 293Used by:299
Symbol 299 MovieClipUses:298Used by:369
Symbol 300 MovieClipUses:200 291 204 206 208 210 293Used by:301
Symbol 301 MovieClipUses:300Used by:369
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClipUses:302Used by:304
Symbol 304 MovieClipUses:200 303 204 206 208 210 293Used by:305
Symbol 305 MovieClipUses:304Used by:369
Symbol 306 MovieClipUses:200 202 204 206 208 210Used by:307
Symbol 307 MovieClipUses:306Used by:369
Symbol 308 MovieClipUses:200 291 204 206 208 210 285Used by:309
Symbol 309 MovieClipUses:308Used by:369
Symbol 310 MovieClipUses:211Used by:311
Symbol 311 MovieClipUses:310Used by:369
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:312Used by:328 334
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClipUses:314Used by:328 331
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClipUses:316Used by:328 334
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:328
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:320Used by:328 334
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:328 331
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClipUses:324Used by:328 334
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClipUses:326Used by:328 331
Symbol 328 MovieClipUses:313 315 317 319 321 323 325 327Used by:369
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:331
Symbol 331 MovieClipUses:315 330 323 327Used by:335 369
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClipUses:332Used by:334
Symbol 334 MovieClipUses:313 317 333 321 325Used by:369
Symbol 335 MovieClipUses:331Used by:338
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:336Used by:338
Symbol 338 MovieClipUses:335 337Used by:369
Symbol 339 GraphicUsed by:341
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClipUses:339 340Used by:369
Symbol 342 GraphicUsed by:344
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:342 282 343Used by:369
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:345Used by:369
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:369
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:349Used by:369
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:351Used by:369
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:369
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClipUses:355Used by:369
Symbol 357 GraphicUsed by:358
Symbol 358 MovieClipUses:357Used by:369
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:359Used by:369
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:361Used by:369
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:363Used by:369
Symbol 365 GraphicUsed by:366
Symbol 366 MovieClipUses:365Used by:367
Symbol 367 MovieClipUses:366Used by:368
Symbol 368 MovieClipUses:367Used by:369
Symbol 369 MovieClip [mcPlayer]Uses:280 3 282 283 287 289 295 299 301 305 307 309 311 328 331 334 338 341 344 91 92 93 94 346 348 350 352 293 354 356 358 360 362 364 368Used by:371  Timeline
Symbol 370 MovieClipUses:275Used by:Timeline
Symbol 371 MovieClipUses:369Used by:Timeline
Symbol 372 MovieClip [mcPlayerNew]Used by:Timeline
Symbol 373 GraphicUsed by:377
Symbol 374 GraphicUsed by:377
Symbol 375 BitmapUsed by:376
Symbol 376 GraphicUses:375Used by:377
Symbol 377 MovieClipUses:373 374 376Used by:383
Symbol 378 GraphicUsed by:379
Symbol 379 MovieClipUses:378Used by:383
Symbol 380 BitmapUsed by:381
Symbol 381 GraphicUses:380Used by:382
Symbol 382 MovieClipUses:381Used by:383
Symbol 383 MovieClipUses:377 379 382Used by:Timeline
Symbol 384 GraphicUsed by:Timeline

Instance Names

"camControl"Frame 4Symbol 184 MovieClip
"minigame"Frame 5Symbol 197 MovieClip
"exturltext"Frame 6Symbol 212 EditableText
"playerspark"Frame 7Symbol 273 MovieClip
"enemyspark"Frame 7Symbol 273 MovieClip
"soundbank"Frame 7Symbol 274 MovieClip
"enemy"Frame 7Symbol 275 MovieClip
"player"Frame 7Symbol 369 MovieClip [mcPlayer]
"enemyshad"Frame 7Symbol 370 MovieClip
"playershad"Frame 7Symbol 371 MovieClip
"controller"Frame 9Symbol 70 MovieClip
"scrollbg"Frame 9Symbol 383 MovieClip
"prog"Symbol 23 MovieClip Frame 1Symbol 22 MovieClip
"progbar"Symbol 31 MovieClip Frame 55Symbol 23 MovieClip
"msgText"Symbol 65 MovieClip Frame 1Symbol 49 EditableText
"bubbletail"Symbol 65 MovieClip Frame 1Symbol 56 MovieClip
"bubbletype"Symbol 65 MovieClip Frame 1Symbol 63 MovieClip
"drawText"Symbol 72 MovieClip Frame 1Symbol 70 MovieClip
"drawSelector"Symbol 72 MovieClip Frame 1Symbol 70 MovieClip
"drawinto"Symbol 72 MovieClip Frame 1Symbol 70 MovieClip
"BV"Symbol 103 MovieClip Frame 13Symbol 98 MovieClip
"BU"Symbol 103 MovieClip Frame 13Symbol 28 MovieClip
"BR"Symbol 103 MovieClip Frame 13Symbol 27 MovieClip
"BL"Symbol 103 MovieClip Frame 13Symbol 29 MovieClip
"BD"Symbol 103 MovieClip Frame 13Symbol 26 MovieClip
"W"Symbol 103 MovieClip Frame 13Symbol 100 MovieClip
"E"Symbol 103 MovieClip Frame 13Symbol 102 MovieClip
"U"Symbol 103 MovieClip Frame 13Symbol 28 MovieClip
"R"Symbol 103 MovieClip Frame 13Symbol 27 MovieClip
"L"Symbol 103 MovieClip Frame 13Symbol 29 MovieClip
"D"Symbol 103 MovieClip Frame 13Symbol 26 MovieClip
"B"Symbol 103 MovieClip Frame 13Symbol 98 MovieClip
"cover"Symbol 136 MovieClip Frame 6Symbol 128 MovieClip
"t3"Symbol 138 MovieClip Frame 1Symbol 136 MovieClip
"t2"Symbol 138 MovieClip Frame 1Symbol 136 MovieClip
"t1"Symbol 138 MovieClip Frame 1Symbol 136 MovieClip
"t0"Symbol 138 MovieClip Frame 1Symbol 136 MovieClip
"sld"Symbol 149 MovieClip Frame 1Symbol 147 MovieClip
"sldbak"Symbol 149 MovieClip Frame 1Symbol 147 MovieClip
"bar"Symbol 158 MovieClip Frame 1Symbol 156 MovieClip
"nextcolor"Symbol 158 MovieClip Frame 1Symbol 156 MovieClip
"drawText"Symbol 160 MovieClip Frame 1Symbol 70 MovieClip
"drawSelector"Symbol 160 MovieClip Frame 1Symbol 70 MovieClip
"drawinto"Symbol 160 MovieClip Frame 1Symbol 70 MovieClip
"mc"Symbol 171 MovieClip Frame 1Symbol 1 MovieClip [mcEmpty]
"bounds"Symbol 184 MovieClip Frame 1Symbol 3 MovieClip
"mcqte"Symbol 184 MovieClip Frame 1Symbol 31 MovieClip
"mousecursor"Symbol 184 MovieClip Frame 1Symbol 45 MovieClip
"chatbubble"Symbol 184 MovieClip Frame 11Symbol 65 MovieClip
"selectdown"Symbol 184 MovieClip Frame 11Symbol 72 MovieClip
"playerModeClip"Symbol 184 MovieClip Frame 11Symbol 103 MovieClip
"emenydir"Symbol 184 MovieClip Frame 11Symbol 122 MovieClip
"emptygrid"Symbol 184 MovieClip Frame 11Symbol 70 MovieClip
"trophys"Symbol 184 MovieClip Frame 11Symbol 138 MovieClip
"sld_sound"Symbol 184 MovieClip Frame 11Symbol 149 MovieClip
"hpslider"Symbol 184 MovieClip Frame 11Symbol 154 MovieClip
"gui_playerhp"Symbol 184 MovieClip Frame 11Symbol 158 MovieClip
"gui_enemyhp"Symbol 184 MovieClip Frame 11Symbol 158 MovieClip
"selectdown"Symbol 184 MovieClip Frame 18Symbol 160 MovieClip
"sld_sound"Symbol 184 MovieClip Frame 18Symbol 149 MovieClip
"emenydir"Symbol 184 MovieClip Frame 18Symbol 122 MovieClip
"hpslider"Symbol 184 MovieClip Frame 18Symbol 147 MovieClip
"playerModeClip"Symbol 184 MovieClip Frame 18Symbol 103 MovieClip
"emptygrid"Symbol 184 MovieClip Frame 18Symbol 70 MovieClip
"embedgui"Symbol 184 MovieClip Frame 25Symbol 171 MovieClip
"exturllisttext"Symbol 184 MovieClip Frame 40Symbol 179 EditableText
"exturltext"Symbol 184 MovieClip Frame 40Symbol 180 EditableText
"dup_orange"Symbol 197 MovieClip Frame 1Symbol 195 MovieClip
"entertainor"Symbol 197 MovieClip Frame 1Symbol 196 MovieClip
"enemy"Symbol 275 MovieClip Frame 2Symbol 70 MovieClip
"center"Symbol 283 MovieClip Frame 1Symbol 282 MovieClip
"mc"Symbol 287 MovieClip Frame 1Symbol 286 MovieClip
"mc"Symbol 289 MovieClip Frame 1Symbol 288 MovieClip
"abox"Symbol 294 MovieClip Frame 6Symbol 293 MovieClip
"mc"Symbol 295 MovieClip Frame 1Symbol 294 MovieClip
"abox"Symbol 298 MovieClip Frame 10Symbol 293 MovieClip
"mc"Symbol 299 MovieClip Frame 1Symbol 298 MovieClip
"abox"Symbol 300 MovieClip Frame 5Symbol 293 MovieClip
"mc"Symbol 301 MovieClip Frame 1Symbol 300 MovieClip
"abox"Symbol 304 MovieClip Frame 5Symbol 293 MovieClip
"mc"Symbol 305 MovieClip Frame 1Symbol 304 MovieClip
"mc"Symbol 307 MovieClip Frame 1Symbol 306 MovieClip
"mc"Symbol 309 MovieClip Frame 1Symbol 308 MovieClip
"mc"Symbol 311 MovieClip Frame 1Symbol 310 MovieClip
"mc"Symbol 328 MovieClip Frame 1Symbol 313 MovieClip
"mc"Symbol 328 MovieClip Frame 1Symbol 315 MovieClip
"head"Symbol 328 MovieClip Frame 1Symbol 317 MovieClip
"mc"Symbol 328 MovieClip Frame 2Symbol 321 MovieClip
"mc"Symbol 328 MovieClip Frame 2Symbol 323 MovieClip
"mc"Symbol 328 MovieClip Frame 3Symbol 325 MovieClip
"mc"Symbol 328 MovieClip Frame 3Symbol 327 MovieClip
"mc"Symbol 331 MovieClip Frame 1Symbol 315 MovieClip
"mc"Symbol 331 MovieClip Frame 2Symbol 323 MovieClip
"mc"Symbol 331 MovieClip Frame 3Symbol 327 MovieClip
"mc"Symbol 334 MovieClip Frame 1Symbol 313 MovieClip
"head"Symbol 334 MovieClip Frame 1Symbol 317 MovieClip
"mc"Symbol 334 MovieClip Frame 2Symbol 321 MovieClip
"mc"Symbol 334 MovieClip Frame 3Symbol 325 MovieClip
"center"Symbol 344 MovieClip Frame 1Symbol 282 MovieClip
"mc"Symbol 367 MovieClip Frame 1Symbol 366 MovieClip
"supermask"Symbol 369 MovieClip [mcPlayer] Frame 1Symbol 280 MovieClip
"def_l"Symbol 369 MovieClip [mcPlayer] Frame 2Symbol 3 MovieClip
"def_m"Symbol 369 MovieClip [mcPlayer] Frame 2Symbol 3 MovieClip
"def_h"Symbol 369 MovieClip [mcPlayer] Frame 2Symbol 3 MovieClip
"centerbox"Symbol 369 MovieClip [mcPlayer] Frame 2Symbol 282 MovieClip
"cbox"Symbol 369 MovieClip [mcPlayer] Frame 2Symbol 282 MovieClip
"head"Symbol 369 MovieClip [mcPlayer] Frame 2Symbol 283 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 2Symbol 287 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 9Symbol 289 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 31Symbol 295 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 39Symbol 299 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 47Symbol 301 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 55Symbol 305 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 62Symbol 307 MovieClip
"rollbox"Symbol 369 MovieClip [mcPlayer] Frame 80Symbol 282 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 80Symbol 309 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 82Symbol 311 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 108Symbol 328 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 118Symbol 331 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 128Symbol 334 MovieClip
"aniclip"Symbol 369 MovieClip [mcPlayer] Frame 138Symbol 338 MovieClip
"head"Symbol 369 MovieClip [mcPlayer] Frame 200Symbol 344 MovieClip
"abox"Symbol 369 MovieClip [mcPlayer] Frame 238Symbol 293 MovieClip
"abox"Symbol 369 MovieClip [mcPlayer] Frame 251Symbol 293 MovieClip
"abox"Symbol 369 MovieClip [mcPlayer] Frame 266Symbol 293 MovieClip
"t"Symbol 370 MovieClip Frame 1Symbol 275 MovieClip
"t"Symbol 371 MovieClip Frame 1Symbol 369 MovieClip [mcPlayer]
"mc"Symbol 383 MovieClip Frame 1Symbol 377 MovieClip
"mc"Symbol 383 MovieClip Frame 7Symbol 379 MovieClip
"mc"Symbol 383 MovieClip Frame 13Symbol 382 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "mcEmpty"
ExportAssets (56)Timeline Frame 7Symbol 369 as "mcPlayer"
ExportAssets (56)Timeline Frame 8Symbol 372 as "mcPlayerNew"

Labels

"rootLoad"Frame 2
"loading game"Frame 5
"warning"Frame 6
"default"Frame 9
"rootCache"Frame 16
"OK"Symbol 31 MovieClip Frame 10
"FAIL"Symbol 31 MovieClip Frame 16
"L"Symbol 31 MovieClip Frame 22
"R"Symbol 31 MovieClip Frame 26
"U"Symbol 31 MovieClip Frame 32
"D"Symbol 31 MovieClip Frame 38
"B"Symbol 31 MovieClip Frame 43
"ANY"Symbol 31 MovieClip Frame 48
"MASHDIR"Symbol 31 MovieClip Frame 55
"none"Symbol 45 MovieClip Frame 1
"c"Symbol 45 MovieClip Frame 10
"cL"Symbol 45 MovieClip Frame 15
"cR"Symbol 45 MovieClip Frame 20
"cU"Symbol 45 MovieClip Frame 25
"cD"Symbol 45 MovieClip Frame 30
"cLU"Symbol 45 MovieClip Frame 35
"cLD"Symbol 45 MovieClip Frame 40
"cRU"Symbol 45 MovieClip Frame 45
"cRD"Symbol 45 MovieClip Frame 50
"cA"Symbol 45 MovieClip Frame 56
"cAL"Symbol 45 MovieClip Frame 62
"cAR"Symbol 45 MovieClip Frame 67
"cAU"Symbol 45 MovieClip Frame 72
"cAD"Symbol 45 MovieClip Frame 77
"cALU"Symbol 45 MovieClip Frame 82
"cALD"Symbol 45 MovieClip Frame 87
"cARU"Symbol 45 MovieClip Frame 92
"cARD"Symbol 45 MovieClip Frame 97
"off"Symbol 77 MovieClip Frame 1
"on"Symbol 77 MovieClip Frame 6
"dead"Symbol 102 MovieClip Frame 1
"mode0"Symbol 103 MovieClip Frame 1
"mode1"Symbol 103 MovieClip Frame 7
"consumed"Symbol 103 MovieClip Frame 13
"dead"Symbol 122 MovieClip Frame 10
"eaten"Symbol 122 MovieClip Frame 20
"qte"Symbol 122 MovieClip Frame 27
"allowpets"Symbol 122 MovieClip Frame 32
"none"Symbol 136 MovieClip Frame 1
"maw"Symbol 136 MovieClip Frame 6
"butt"Symbol 136 MovieClip Frame 11
"poot"Symbol 136 MovieClip Frame 16
"tour"Symbol 136 MovieClip Frame 21
"fighter"Symbol 136 MovieClip Frame 26
"lover"Symbol 136 MovieClip Frame 32
"legacy"Symbol 184 MovieClip Frame 5
"game"Symbol 184 MovieClip Frame 11
"gameold"Symbol 184 MovieClip Frame 18
"gamecustom"Symbol 184 MovieClip Frame 25
"nogui"Symbol 184 MovieClip Frame 34
"debuggui"Symbol 184 MovieClip Frame 40
"loading"Symbol 184 MovieClip Frame 55
"heart"Symbol 273 MovieClip Frame 4
"dust"Symbol 273 MovieClip Frame 14
"wave"Symbol 273 MovieClip Frame 26
"cutmid"Symbol 273 MovieClip Frame 46
"cuthigh"Symbol 273 MovieClip Frame 53
"cutlow"Symbol 273 MovieClip Frame 60
"cutblock"Symbol 273 MovieClip Frame 67
"hitblock"Symbol 273 MovieClip Frame 78
"hitmid"Symbol 273 MovieClip Frame 90
"hithigh"Symbol 273 MovieClip Frame 97
"hitlow"Symbol 273 MovieClip Frame 104
"number5"Symbol 273 MovieClip Frame 120
"number4"Symbol 273 MovieClip Frame 151
"number3"Symbol 273 MovieClip Frame 180
"number2"Symbol 273 MovieClip Frame 211
"number1"Symbol 273 MovieClip Frame 240
"number0"Symbol 273 MovieClip Frame 271
"OK"Symbol 273 MovieClip Frame 302
"FAIL"Symbol 273 MovieClip Frame 310
"L"Symbol 273 MovieClip Frame 318
"R"Symbol 273 MovieClip Frame 327
"U"Symbol 273 MovieClip Frame 337
"D"Symbol 273 MovieClip Frame 348
"B"Symbol 273 MovieClip Frame 358
"LR"Symbol 273 MovieClip Frame 368
"UD"Symbol 273 MovieClip Frame 378
"LRUD"Symbol 273 MovieClip Frame 388
"external"Symbol 275 MovieClip Frame 2
"NONE"Symbol 280 MovieClip Frame 1
"vicWholeMid"Symbol 280 MovieClip Frame 6
"vicWholeBot"Symbol 280 MovieClip Frame 16
"vicWholeTop"Symbol 280 MovieClip Frame 26
"vicWholeBotLegKick"Symbol 280 MovieClip Frame 36
"vicWholeBotALL"Symbol 280 MovieClip Frame 51
"vicWholeBotKNEE"Symbol 280 MovieClip Frame 63
"vicWholeTopCHEST"Symbol 280 MovieClip Frame 76
"vicWholeTopHEAD"Symbol 280 MovieClip Frame 90
"idle"Symbol 369 MovieClip [mcPlayer] Frame 2
"walk"Symbol 369 MovieClip [mcPlayer] Frame 9
"turn"Symbol 369 MovieClip [mcPlayer] Frame 24
"atkh"Symbol 369 MovieClip [mcPlayer] Frame 31
"atkm"Symbol 369 MovieClip [mcPlayer] Frame 39
"atkl"Symbol 369 MovieClip [mcPlayer] Frame 47
"atkp"Symbol 369 MovieClip [mcPlayer] Frame 55
"hith"Symbol 369 MovieClip [mcPlayer] Frame 62
"hitm"Symbol 369 MovieClip [mcPlayer] Frame 69
"hitl"Symbol 369 MovieClip [mcPlayer] Frame 76
"run"Symbol 369 MovieClip [mcPlayer] Frame 80
"death"Symbol 369 MovieClip [mcPlayer] Frame 82
"dead"Symbol 369 MovieClip [mcPlayer] Frame 95
"blank"Symbol 369 MovieClip [mcPlayer] Frame 102
"vicWholeMid"Symbol 369 MovieClip [mcPlayer] Frame 108
"vicWholeBot"Symbol 369 MovieClip [mcPlayer] Frame 118
"vicWholeTop"Symbol 369 MovieClip [mcPlayer] Frame 128
"vicWholeBotLegKick"Symbol 369 MovieClip [mcPlayer] Frame 138
"none"Symbol 369 MovieClip [mcPlayer] Frame 177
"idle"Symbol 372 MovieClip [mcPlayerNew] Frame 1
"default"Symbol 383 MovieClip Frame 1
"desert"Symbol 383 MovieClip Frame 7
"ztorirocks"Symbol 383 MovieClip Frame 13

Dynamic Text Variables

loadtextSymbol 5 EditableText"Loading... 0 Percent"
msgTextTextSymbol 49 EditableText"<p align="left"></p>"
gui_leveldescSymbol 83 EditableText"LEVEL NAME AND LEVEL DESCRIPTION 5 FLOORS 48 ROOMS"
gui_killsSymbol 87 EditableText"000000"
gui_pointsSymbol 88 EditableText"000000"
gui_playerstatusSymbol 90 EditableText"PlayerCURRENTSTATUS"
gui_enemystatusSymbol 106 EditableText"Enemy CURRENTSTATUS"
gui_enemynameSymbol 123 EditableText"Enemy Name"
gui_leveldescSymbol 161 EditableText"LEVEL NAME AND LEVEL DESCRIPTION 5 FLOORS 48 ROOMS"
gui_killsSymbol 163 EditableText"000000"
gui_pointsSymbol 164 EditableText"000000"
gui_playerstatusSymbol 166 EditableText"PlayerCURRENTSTATUS"
gui_enemystatusSymbol 167 EditableText"Enemy CURRENTSTATUS"
gui_enemynameSymbol 168 EditableText"Enemy Name"
exturllistSymbol 179 EditableText""
exturlSymbol 180 EditableText"<EXTERNAL URL>"
gui_loadtextSymbol 182 EditableText""
gamescoreSymbol 198 EditableText"SCORE: 0"
exturlSymbol 212 EditableText"<EXTERNAL URL>"




http://swfchan.com/50/249773/info.shtml
Created: 11/8 -2022 16:21:50 Last modified: 11/8 -2022 16:21:50 Server time: 22/12 -2024 09:24:55