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

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

Guinea Pop!.swf

This is the info page for
Flash #132762

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


Text
You saved the animals!

The zoo

menu

skip

hit
Me

Click
Me

next

done

aim of the game

splat animals
with
bubblegum!

using
guineapigs

how to play

snakes spit
out guinea
pigs

click on
snakes to
launch pigs

how to play

snakes spit
out guinea
pigs

click on
snakes to
launch pigs

click at the right time
to launch the pig over
hills

Direction

sometimes you
have to splat
more than one
animal.

get them all
to progress

Multiple Animals

If your pig falls off
the screen, you lose
him. don't worry, you
have an unlimited
amount

Winning Medals,
however, requires
making every pig
count.

Losing Pigs

some blocks can be
destroyed. use bubble
splats to remove them!

Breakable Blocks

if there is more than one
snake, just click on the
one you want to use

Multiple Snakes

dynamic objects

some objects are light
enough to be moved by your
pig's bubblegum pop

Snake Sizes

there are three types of
snake, each a different length

adjust your timing for each one

switches cause things
to happen

if you see one, try it
out by clicking it

Switches

moving objects

some objects move
around on their own

you might have to
time the release of
your pigs quite
carefully

sometimes switches
operate on a timer.

if you don't succeed
first time you'll
usually get another
chance!

Timed Switches

bad guys

watch out for these
little guys, they cause
your pigs to pop
prematurely

these attract or
repel your pig
depending upon their
polarity

some change polarity
on their own, while
others can be flipped
with a switch.

Magnets

things go
in to
portal
entrances

and out of
portal
exits of
the same
color

portals

if there are
multiple switches

they each control
things marked with
the same color as
the switch

color coded
switches

cannon are
useful for
breaking down
walls

drop a pig in to a
cannon to
transform it in to
a cannonball

cannon

they go "boing"

and spring your pig
in to the air

bouncy pads

some switches
can't be activated
until the cover is
removed

blow up the cover
like any other
breakable object

switch covers

Resume
game

music

sfx

quit

help

hints

restart level

Level Failed

retry
Level

main
menu

main
Menu

more games

GUIDE / HINTS

ANDKON ARCADE

Level Complete!

Next
Level

Level Complete

Level Complete

Level Complete

Level Complete

Level Complete

88

level select

level select

level select

level select

SCORE 1000000

Kongai: Free Online
Collectible Card Game

play now »

www.kongregate.com

More games

More games

bonus movie

play

LongAnimals and Jimp present

Time

Guinea pigs

YOUR NAME

<p align="left"><font face="CreativeBlock BB" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>sample text</b></font></p>

ActionScript [AS3]

Section 1
//b2CircleDef (Box2D.Collision.Shapes.b2CircleDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2CircleDef extends b2ShapeDef { public var localPosition:b2Vec2; public var radius:Number; public function b2CircleDef(){ localPosition = new b2Vec2(0, 0); super(); type = b2Shape.e_circleShape; radius = 1; } } }//package Box2D.Collision.Shapes
Section 2
//b2CircleShape (Box2D.Collision.Shapes.b2CircleShape) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Common.*; public class b2CircleShape extends b2Shape { public var m_radius:Number; public var m_localPosition:b2Vec2; public function b2CircleShape(_arg1:b2ShapeDef){ var _local2:b2CircleDef; m_localPosition = new b2Vec2(); super(_arg1); _local2 = (_arg1 as b2CircleDef); m_type = e_circleShape; m_localPosition.SetV(_local2.localPosition); m_radius = _local2.radius; } override public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Mat22; var _local4:Number; var _local5:Number; _local3 = _arg1.R; _local4 = (_arg1.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); _local5 = (_arg1.position.y + ((_local3.col1.y * m_localPosition.x) + (_local3.col2.y * m_localPosition.y))); _local4 = (_arg2.x - _local4); _local5 = (_arg2.y - _local5); return ((((_local4 * _local4) + (_local5 * _local5)) <= (m_radius * m_radius))); } public function GetLocalPosition():b2Vec2{ return (m_localPosition); } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):int{ var _local6:b2Mat22; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; _local6 = _arg1.R; _local7 = (_arg1.position.x + ((_local6.col1.x * m_localPosition.x) + (_local6.col2.x * m_localPosition.y))); _local8 = (_arg1.position.y + ((_local6.col1.y * m_localPosition.x) + (_local6.col2.y * m_localPosition.y))); _local9 = (_arg4.p1.x - _local7); _local10 = (_arg4.p1.y - _local8); _local11 = (((_local9 * _local9) + (_local10 * _local10)) - (m_radius * m_radius)); if (_local11 < 0){ _arg2[0] = 0; return (e_startsInsideCollide); }; _local12 = (_arg4.p2.x - _arg4.p1.x); _local13 = (_arg4.p2.y - _arg4.p1.y); _local14 = ((_local9 * _local12) + (_local10 * _local13)); _local15 = ((_local12 * _local12) + (_local13 * _local13)); _local16 = ((_local14 * _local14) - (_local15 * _local11)); if ((((_local16 < 0)) || ((_local15 < Number.MIN_VALUE)))){ return (e_missCollide); }; _local17 = -((_local14 + Math.sqrt(_local16))); if ((((0 <= _local17)) && ((_local17 <= (_arg5 * _local15))))){ _local17 = (_local17 / _local15); _arg2[0] = _local17; _arg3.x = (_local9 + (_local17 * _local12)); _arg3.y = (_local10 + (_local17 * _local13)); _arg3.Normalize(); return (e_hitCollide); }; return (e_missCollide); } override public function ComputeMass(_arg1:b2MassData):void{ _arg1.mass = (((m_density * b2Settings.b2_pi) * m_radius) * m_radius); _arg1.center.SetV(m_localPosition); _arg1.I = (_arg1.mass * (((0.5 * m_radius) * m_radius) + ((m_localPosition.x * m_localPosition.x) + (m_localPosition.y * m_localPosition.y)))); } override public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local4 = _arg2.R; _local5 = (_arg2.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); _local6 = (_arg2.position.y + ((_local4.col1.y * m_localPosition.x) + (_local4.col2.y * m_localPosition.y))); _local4 = _arg3.R; _local7 = (_arg3.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); _local8 = (_arg3.position.y + ((_local4.col1.y * m_localPosition.x) + (_local4.col2.y * m_localPosition.y))); _arg1.lowerBound.Set((((_local5 < _local7)) ? _local5 : _local7 - m_radius), (((_local6 < _local8)) ? _local6 : _local8 - m_radius)); _arg1.upperBound.Set((((_local5 > _local7)) ? _local5 : _local7 + m_radius), (((_local6 > _local8)) ? _local6 : _local8 + m_radius)); } public function GetRadius():Number{ return (m_radius); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:Number; var _local3:Number; _local2 = (m_localPosition.x - _arg1.x); _local3 = (m_localPosition.y - _arg1.y); _local2 = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); m_sweepRadius = ((_local2 + m_radius) - b2Settings.b2_toiSlop); } override public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ var _local3:b2Mat22; var _local4:Number; var _local5:Number; _local3 = _arg2.R; _local4 = (_arg2.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); _local5 = (_arg2.position.y + ((_local3.col1.y * m_localPosition.x) + (_local3.col2.y * m_localPosition.y))); _arg1.lowerBound.Set((_local4 - m_radius), (_local5 - m_radius)); _arg1.upperBound.Set((_local4 + m_radius), (_local5 + m_radius)); } } }//package Box2D.Collision.Shapes
Section 3
//b2FilterData (Box2D.Collision.Shapes.b2FilterData) package Box2D.Collision.Shapes { public class b2FilterData { public var maskBits:uint;// = 0xFFFF public var groupIndex:int;// = 0 public var categoryBits:uint;// = 1 public function b2FilterData(){ categoryBits = 1; maskBits = 0xFFFF; groupIndex = 0; super(); } public function Copy():b2FilterData{ var _local1:b2FilterData; _local1 = new b2FilterData(); _local1.categoryBits = categoryBits; _local1.maskBits = maskBits; _local1.groupIndex = groupIndex; return (_local1); } } }//package Box2D.Collision.Shapes
Section 4
//b2MassData (Box2D.Collision.Shapes.b2MassData) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2MassData { public var mass:Number;// = 0 public var center:b2Vec2; public var I:Number;// = 0 public function b2MassData(){ mass = 0; center = new b2Vec2(0, 0); I = 0; super(); } } }//package Box2D.Collision.Shapes
Section 5
//b2PolygonDef (Box2D.Collision.Shapes.b2PolygonDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2PolygonDef extends b2ShapeDef { public var vertexCount:int; public var vertices:Array; private static var s_mat:b2Mat22 = new b2Mat22(); public function b2PolygonDef(){ var _local1:int; vertices = new Array(b2Settings.b2_maxPolygonVertices); super(); type = b2Shape.e_polygonShape; vertexCount = 0; _local1 = 0; while (_local1 < b2Settings.b2_maxPolygonVertices) { vertices[_local1] = new b2Vec2(); _local1++; }; } public function SetAsOrientedBox(_arg1:Number, _arg2:Number, _arg3:b2Vec2=null, _arg4:Number=0):void{ var _local5:b2Vec2; var _local6:b2Mat22; var _local7:int; vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); if (_arg3){ _local5 = _arg3; _local6 = s_mat; _local6.Set(_arg4); _local7 = 0; while (_local7 < vertexCount) { _arg3 = vertices[_local7]; _arg1 = (_local5.x + ((_local6.col1.x * _arg3.x) + (_local6.col2.x * _arg3.y))); _arg3.y = (_local5.y + ((_local6.col1.y * _arg3.x) + (_local6.col2.y * _arg3.y))); _arg3.x = _arg1; _local7++; }; }; } public function SetAsBox(_arg1:Number, _arg2:Number):void{ vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); } } }//package Box2D.Collision.Shapes
Section 6
//b2PolygonShape (Box2D.Collision.Shapes.b2PolygonShape) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2PolygonShape extends b2Shape { public var m_vertices:Array; public var m_normals:Array; private var s_supportVec:b2Vec2; public var m_obb:b2OBB; public var m_coreVertices:Array; public var m_centroid:b2Vec2; public var m_vertexCount:int; private static var s_computeMat:b2Mat22 = new b2Mat22(); private static var s_sweptAABB1:b2AABB = new b2AABB(); private static var s_sweptAABB2:b2AABB = new b2AABB(); public function b2PolygonShape(_arg1:b2ShapeDef){ var _local2:b2PolygonDef; var _local3:int; var _local4:int; var _local5:int; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; s_supportVec = new b2Vec2(); m_obb = new b2OBB(); m_vertices = new Array(b2Settings.b2_maxPolygonVertices); m_normals = new Array(b2Settings.b2_maxPolygonVertices); m_coreVertices = new Array(b2Settings.b2_maxPolygonVertices); super(_arg1); m_type = e_polygonShape; _local2 = (_arg1 as b2PolygonDef); m_vertexCount = _local2.vertexCount; _local4 = _local3; _local5 = _local3; _local3 = 0; while (_local3 < m_vertexCount) { m_vertices[_local3] = _local2.vertices[_local3].Copy(); _local3++; }; _local3 = 0; while (_local3 < m_vertexCount) { _local4 = _local3; _local5 = (((_local3 + 1) < m_vertexCount)) ? (_local3 + 1) : 0; _local6 = (m_vertices[_local5].x - m_vertices[_local4].x); _local7 = (m_vertices[_local5].y - m_vertices[_local4].y); _local8 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); m_normals[_local3] = new b2Vec2((_local7 / _local8), (-(_local6) / _local8)); _local3++; }; m_centroid = ComputeCentroid(_local2.vertices, _local2.vertexCount); ComputeOBB(m_obb, m_vertices, m_vertexCount); _local3 = 0; while (_local3 < m_vertexCount) { _local4 = (((_local3 - 1) >= 0)) ? (_local3 - 1) : (m_vertexCount - 1); _local5 = _local3; _local9 = m_normals[_local4].x; _local10 = m_normals[_local4].y; _local11 = m_normals[_local5].x; _local12 = m_normals[_local5].y; _local13 = (m_vertices[_local3].x - m_centroid.x); _local14 = (m_vertices[_local3].y - m_centroid.y); _local15 = (((_local9 * _local13) + (_local10 * _local14)) - b2Settings.b2_toiSlop); _local16 = (((_local11 * _local13) + (_local12 * _local14)) - b2Settings.b2_toiSlop); _local17 = (1 / ((_local9 * _local12) - (_local10 * _local11))); m_coreVertices[_local3] = new b2Vec2(((_local17 * ((_local12 * _local15) - (_local10 * _local16))) + m_centroid.x), ((_local17 * ((_local9 * _local16) - (_local11 * _local15))) + m_centroid.y)); _local3++; }; } override public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Vec2; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:int; var _local10:Number; _local4 = _arg1.R; _local5 = (_arg2.x - _arg1.position.x); _local6 = (_arg2.y - _arg1.position.y); _local7 = ((_local5 * _local4.col1.x) + (_local6 * _local4.col1.y)); _local8 = ((_local5 * _local4.col2.x) + (_local6 * _local4.col2.y)); _local9 = 0; while (_local9 < m_vertexCount) { _local3 = m_vertices[_local9]; _local5 = (_local7 - _local3.x); _local6 = (_local8 - _local3.y); _local3 = m_normals[_local9]; _local10 = ((_local3.x * _local5) + (_local3.y * _local6)); if (_local10 > 0){ return (false); }; _local9++; }; return (true); } public function GetCoreVertices():Array{ return (m_coreVertices); } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):int{ var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:int; var _local20:Number; var _local21:Number; _local6 = 0; _local7 = _arg5; _local8 = (_arg4.p1.x - _arg1.position.x); _local9 = (_arg4.p1.y - _arg1.position.y); _local10 = _arg1.R; _local12 = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); _local13 = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); _local8 = (_arg4.p2.x - _arg1.position.x); _local9 = (_arg4.p2.y - _arg1.position.y); _local10 = _arg1.R; _local14 = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); _local15 = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); _local16 = (_local14 - _local12); _local17 = (_local15 - _local13); _local18 = -1; _local19 = 0; while (_local19 < m_vertexCount) { _local11 = m_vertices[_local19]; _local8 = (_local11.x - _local12); _local9 = (_local11.y - _local13); _local11 = m_normals[_local19]; _local20 = ((_local11.x * _local8) + (_local11.y * _local9)); _local21 = ((_local11.x * _local16) + (_local11.y * _local17)); if ((((_local21 < 0)) && ((_local20 < (_local6 * _local21))))){ _local6 = (_local20 / _local21); _local18 = _local19; } else { if ((((_local21 > 0)) && ((_local20 < (_local7 * _local21))))){ _local7 = (_local20 / _local21); }; }; if (_local7 < _local6){ return (e_missCollide); }; _local19++; }; if (_local18 >= 0){ _arg2[0] = _local6; _local10 = _arg1.R; _local11 = m_normals[_local18]; _arg3.x = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _arg3.y = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); return (e_hitCollide); }; _arg2[0] = 0; return (e_startsInsideCollide); } public function GetCentroid():b2Vec2{ return (m_centroid); } override public function ComputeMass(_arg1:b2MassData):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:int; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; _local2 = 0; _local3 = 0; _local4 = 0; _local5 = 0; _local6 = 0; _local7 = 0; _local8 = (1 / 3); _local9 = 0; while (_local9 < m_vertexCount) { _local10 = m_vertices[_local9]; _local11 = (((_local9 + 1) < m_vertexCount)) ? m_vertices[int((_local9 + 1))] : m_vertices[0]; _local12 = (_local10.x - _local6); _local13 = (_local10.y - _local7); _local14 = (_local11.x - _local6); _local15 = (_local11.y - _local7); _local16 = ((_local12 * _local15) - (_local13 * _local14)); _local17 = (0.5 * _local16); _local4 = (_local4 + _local17); _local2 = (_local2 + ((_local17 * _local8) * ((_local6 + _local10.x) + _local11.x))); _local3 = (_local3 + ((_local17 * _local8) * ((_local7 + _local10.y) + _local11.y))); _local18 = _local6; _local19 = _local7; _local20 = _local12; _local21 = _local13; _local22 = _local14; _local23 = _local15; _local24 = ((_local8 * ((0.25 * (((_local20 * _local20) + (_local22 * _local20)) + (_local22 * _local22))) + ((_local18 * _local20) + (_local18 * _local22)))) + ((0.5 * _local18) * _local18)); _local25 = ((_local8 * ((0.25 * (((_local21 * _local21) + (_local23 * _local21)) + (_local23 * _local23))) + ((_local19 * _local21) + (_local19 * _local23)))) + ((0.5 * _local19) * _local19)); _local5 = (_local5 + (_local16 * (_local24 + _local25))); _local9++; }; _arg1.mass = (m_density * _local4); _local2 = (_local2 * (1 / _local4)); _local3 = (_local3 * (1 / _local4)); _arg1.center.Set(_local2, _local3); _arg1.I = (m_density * _local5); } public function Support(_arg1:b2XForm, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:b2Vec2; var _local5:b2Mat22; var _local6:Number; var _local7:Number; var _local8:int; var _local9:Number; var _local10:int; var _local11:Number; _local5 = _arg1.R; _local6 = ((_arg2 * _local5.col1.x) + (_arg3 * _local5.col1.y)); _local7 = ((_arg2 * _local5.col2.x) + (_arg3 * _local5.col2.y)); _local8 = 0; _local4 = m_coreVertices[0]; _local9 = ((_local4.x * _local6) + (_local4.y * _local7)); _local10 = 1; while (_local10 < m_vertexCount) { _local4 = m_coreVertices[_local10]; _local11 = ((_local4.x * _local6) + (_local4.y * _local7)); if (_local11 > _local9){ _local8 = _local10; _local9 = _local11; }; _local10++; }; _local5 = _arg1.R; _local4 = m_coreVertices[_local8]; s_supportVec.x = (_arg1.position.x + ((_local5.col1.x * _local4.x) + (_local5.col2.x * _local4.y))); s_supportVec.y = (_arg1.position.y + ((_local5.col1.y * _local4.x) + (_local5.col2.y * _local4.y))); return (s_supportVec); } public function GetVertexCount():int{ return (m_vertexCount); } override public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2AABB; var _local5:b2AABB; _local4 = s_sweptAABB1; _local5 = s_sweptAABB2; ComputeAABB(_local4, _arg2); ComputeAABB(_local5, _arg3); _arg1.lowerBound.Set(((_local4.lowerBound.x < _local5.lowerBound.x)) ? _local4.lowerBound.x : _local5.lowerBound.x, ((_local4.lowerBound.y < _local5.lowerBound.y)) ? _local4.lowerBound.y : _local5.lowerBound.y); _arg1.upperBound.Set(((_local4.upperBound.x > _local5.upperBound.x)) ? _local4.upperBound.x : _local5.upperBound.x, ((_local4.upperBound.y > _local5.upperBound.y)) ? _local4.upperBound.y : _local5.upperBound.y); } public function GetVertices():Array{ return (m_vertices); } public function GetNormals():Array{ return (m_normals); } public function GetOBB():b2OBB{ return (m_obb); } public function GetFirstVertex(_arg1:b2XForm):b2Vec2{ return (b2Math.b2MulX(_arg1, m_coreVertices[0])); } public function Centroid(_arg1:b2XForm):b2Vec2{ return (b2Math.b2MulX(_arg1, m_centroid)); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:b2Vec2; var _local3:int; var _local4:Number; var _local5:Number; m_sweepRadius = 0; _local3 = 0; while (_local3 < m_vertexCount) { _local2 = m_coreVertices[_local3]; _local4 = (_local2.x - _arg1.x); _local5 = (_local2.y - _arg1.y); _local4 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5))); if (_local4 > m_sweepRadius){ m_sweepRadius = _local4; }; _local3++; }; } override public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ var _local3:b2Mat22; var _local4:b2Vec2; var _local5:b2Mat22; var _local6:b2Mat22; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local5 = s_computeMat; _local3 = _arg2.R; _local4 = m_obb.R.col1; _local5.col1.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local5.col1.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local4 = m_obb.R.col2; _local5.col2.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local5.col2.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local5.Abs(); _local6 = _local5; _local4 = m_obb.extents; _local7 = ((_local6.col1.x * _local4.x) + (_local6.col2.x * _local4.y)); _local8 = ((_local6.col1.y * _local4.x) + (_local6.col2.y * _local4.y)); _local3 = _arg2.R; _local4 = m_obb.center; _local9 = (_arg2.position.x + ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y))); _local10 = (_arg2.position.y + ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y))); _arg1.lowerBound.Set((_local9 - _local7), (_local10 - _local8)); _arg1.upperBound.Set((_local9 + _local7), (_local10 + _local8)); } public static function ComputeCentroid(_arg1:Array, _arg2:int):b2Vec2{ var _local3:b2Vec2; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; _local3 = new b2Vec2(); _local4 = 0; _local5 = 0; _local6 = 0; _local7 = (1 / 3); _local8 = 0; while (_local8 < _arg2) { _local9 = _arg1[_local8]; _local10 = (((_local8 + 1) < _arg2)) ? _arg1[int((_local8 + 1))] : _arg1[0]; _local11 = (_local9.x - _local5); _local12 = (_local9.y - _local6); _local13 = (_local10.x - _local5); _local14 = (_local10.y - _local6); _local15 = ((_local11 * _local14) - (_local12 * _local13)); _local16 = (0.5 * _local15); _local4 = (_local4 + _local16); _local3.x = (_local3.x + ((_local16 * _local7) * ((_local5 + _local9.x) + _local10.x))); _local3.y = (_local3.y + ((_local16 * _local7) * ((_local6 + _local9.y) + _local10.y))); _local8++; }; _local3.x = (_local3.x * (1 / _local4)); _local3.y = (_local3.y * (1 / _local4)); return (_local3); } public static function ComputeOBB(_arg1:b2OBB, _arg2:Array, _arg3:int):void{ var _local4:int; var _local5:Array; var _local6:Number; var _local7:b2Vec2; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:b2Mat22; _local5 = new Array((b2Settings.b2_maxPolygonVertices + 1)); _local4 = 0; while (_local4 < _arg3) { _local5[_local4] = _arg2[_local4]; _local4++; }; _local5[_arg3] = _local5[0]; _local6 = Number.MAX_VALUE; _local4 = 1; while (_local4 <= _arg3) { _local7 = _local5[int((_local4 - 1))]; _local8 = (_local5[_local4].x - _local7.x); _local9 = (_local5[_local4].y - _local7.y); _local10 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local8 = (_local8 / _local10); _local9 = (_local9 / _local10); _local11 = -(_local9); _local12 = _local8; _local13 = Number.MAX_VALUE; _local14 = Number.MAX_VALUE; _local15 = -(Number.MAX_VALUE); _local16 = -(Number.MAX_VALUE); _local17 = 0; while (_local17 < _arg3) { _local19 = (_local5[_local17].x - _local7.x); _local20 = (_local5[_local17].y - _local7.y); _local21 = ((_local8 * _local19) + (_local9 * _local20)); _local22 = ((_local11 * _local19) + (_local12 * _local20)); if (_local21 < _local13){ _local13 = _local21; }; if (_local22 < _local14){ _local14 = _local22; }; if (_local21 > _local15){ _local15 = _local21; }; if (_local22 > _local16){ _local16 = _local22; }; _local17++; }; _local18 = ((_local15 - _local13) * (_local16 - _local14)); if (_local18 < (0.95 * _local6)){ _local6 = _local18; _arg1.R.col1.x = _local8; _arg1.R.col1.y = _local9; _arg1.R.col2.x = _local11; _arg1.R.col2.y = _local12; _local23 = (0.5 * (_local13 + _local15)); _local24 = (0.5 * (_local14 + _local16)); _local25 = _arg1.R; _arg1.center.x = (_local7.x + ((_local25.col1.x * _local23) + (_local25.col2.x * _local24))); _arg1.center.y = (_local7.y + ((_local25.col1.y * _local23) + (_local25.col2.y * _local24))); _arg1.extents.x = (0.5 * (_local15 - _local13)); _arg1.extents.y = (0.5 * (_local16 - _local14)); }; _local4++; }; } } }//package Box2D.Collision.Shapes
Section 7
//b2Shape (Box2D.Collision.Shapes.b2Shape) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; public class b2Shape { public var m_type:int; public var m_sweepRadius:Number; public var m_density:Number; public var m_filter:b2FilterData; public var m_friction:Number; public var m_next:b2Shape; public var m_restitution:Number; public var m_userData; public var m_isSensor:Boolean; public var m_proxyId:uint; public var m_body:b2Body; public static const e_polygonShape:int = 1; public static const e_hitCollide:int = 1; public static const e_missCollide:int = 0; public static const e_unknownShape:int = -1; public static const e_circleShape:int = 0; public static const e_shapeTypeCount:int = 2; public static const e_startsInsideCollide:int = -1; private static var s_resetAABB:b2AABB = new b2AABB(); private static var s_syncAABB:b2AABB = new b2AABB(); private static var s_proxyAABB:b2AABB = new b2AABB(); public function b2Shape(_arg1:b2ShapeDef){ m_userData = _arg1.userData; m_friction = _arg1.friction; m_restitution = _arg1.restitution; m_density = _arg1.density; m_body = null; m_sweepRadius = 0; m_next = null; m_proxyId = b2Pair.b2_nullProxy; m_filter = _arg1.filter.Copy(); m_isSensor = _arg1.isSensor; } public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ return (false); } public function GetSweepRadius():Number{ return (m_sweepRadius); } public function GetNext():b2Shape{ return (m_next); } public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ } public function GetType():int{ return (m_type); } public function GetRestitution():Number{ return (m_restitution); } public function GetFriction():Number{ return (m_friction); } public function GetFilterData():b2FilterData{ return (m_filter.Copy()); } public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):int{ return (e_missCollide); } public function RefilterProxy(_arg1:b2BroadPhase, _arg2:b2XForm):void{ var _local3:b2AABB; var _local4:Boolean; if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _arg1.DestroyProxy(m_proxyId); _local3 = s_resetAABB; ComputeAABB(_local3, _arg2); _local4 = _arg1.InRange(_local3); if (_local4){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; } public function SetFilterData(_arg1:b2FilterData):void{ m_filter = _arg1.Copy(); } public function GetUserData(){ return (m_userData); } public function Synchronize(_arg1:b2BroadPhase, _arg2:b2XForm, _arg3:b2XForm):Boolean{ var _local4:b2AABB; if (m_proxyId == b2Pair.b2_nullProxy){ return (false); }; _local4 = s_syncAABB; ComputeSweptAABB(_local4, _arg2, _arg3); if (_arg1.InRange(_local4)){ _arg1.MoveProxy(m_proxyId, _local4); return (true); }; return (false); } public function ComputeMass(_arg1:b2MassData):void{ } public function IsSensor():Boolean{ return (m_isSensor); } public function DestroyProxy(_arg1:b2BroadPhase):void{ if (m_proxyId != b2Pair.b2_nullProxy){ _arg1.DestroyProxy(m_proxyId); m_proxyId = b2Pair.b2_nullProxy; }; } public function UpdateSweepRadius(_arg1:b2Vec2):void{ } public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ } public function GetBody():b2Body{ return (m_body); } public function CreateProxy(_arg1:b2BroadPhase, _arg2:b2XForm):void{ var _local3:b2AABB; var _local4:Boolean; _local3 = s_proxyAABB; ComputeAABB(_local3, _arg2); _local4 = _arg1.InRange(_local3); if (_local4){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; } public function SetUserData(_arg1):void{ m_userData = _arg1; } public static function Destroy(_arg1:b2Shape, _arg2):void{ } public static function Create(_arg1:b2ShapeDef, _arg2):b2Shape{ switch (_arg1.type){ case e_circleShape: return (new b2CircleShape(_arg1)); case e_polygonShape: return (new b2PolygonShape(_arg1)); default: return (null); }; } } }//package Box2D.Collision.Shapes
Section 8
//b2ShapeDef (Box2D.Collision.Shapes.b2ShapeDef) package Box2D.Collision.Shapes { public class b2ShapeDef { public var isSensor:Boolean;// = false public var density:Number;// = 0 public var type:int;// = -1 public var restitution:Number;// = 0 public var userData;// = null public var filter:b2FilterData; public var friction:Number;// = 0.2 public function b2ShapeDef(){ type = b2Shape.e_unknownShape; userData = null; friction = 0.2; restitution = 0; density = 0; isSensor = false; filter = new b2FilterData(); super(); } } }//package Box2D.Collision.Shapes
Section 9
//b2AABB (Box2D.Collision.b2AABB) package Box2D.Collision { import Box2D.Common.Math.*; public class b2AABB { public var upperBound:b2Vec2; public var lowerBound:b2Vec2; public function b2AABB(){ lowerBound = new b2Vec2(); upperBound = new b2Vec2(); super(); } public function IsValid():Boolean{ var _local1:Number; var _local2:Number; var _local3:Boolean; _local1 = (upperBound.x - lowerBound.x); _local2 = (upperBound.y - lowerBound.y); _local3 = (((_local1 >= 0)) && ((_local2 >= 0))); _local3 = ((((_local3) && (lowerBound.IsValid()))) && (upperBound.IsValid())); return (_local3); } } }//package Box2D.Collision
Section 10
//b2Bound (Box2D.Collision.b2Bound) package Box2D.Collision { public class b2Bound { public var proxyId:uint; public var stabbingCount:uint; public var value:uint; public function Swap(_arg1:b2Bound):void{ var _local2:uint; var _local3:uint; var _local4:uint; _local2 = value; _local3 = proxyId; _local4 = stabbingCount; value = _arg1.value; proxyId = _arg1.proxyId; stabbingCount = _arg1.stabbingCount; _arg1.value = _local2; _arg1.proxyId = _local3; _arg1.stabbingCount = _local4; } public function IsLower():Boolean{ return (((value & 1) == 0)); } public function IsUpper():Boolean{ return (((value & 1) == 1)); } } }//package Box2D.Collision
Section 11
//b2BoundValues (Box2D.Collision.b2BoundValues) package Box2D.Collision { public class b2BoundValues { public var lowerValues:Array; public var upperValues:Array; public function b2BoundValues(){ lowerValues = [0, 0]; upperValues = [0, 0]; super(); } } }//package Box2D.Collision
Section 12
//b2BroadPhase (Box2D.Collision.b2BroadPhase) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2BroadPhase { public var m_worldAABB:b2AABB; public var m_bounds:Array; public var m_freeProxy:uint; public var m_quantizationFactor:b2Vec2; public var m_proxyCount:int; public var m_proxyPool:Array; public var m_querySortKeys:Array; public var m_pairManager:b2PairManager; public var m_queryResultCount:int; public var m_timeStamp:uint; public var m_queryResults:Array; public static const b2_nullEdge:uint = b2Settings.USHRT_MAX; public static const b2_invalid:uint = b2Settings.USHRT_MAX; public static var s_validate:Boolean = false; public function b2BroadPhase(_arg1:b2AABB, _arg2:b2PairCallback){ var _local3:int; var _local4:Number; var _local5:Number; var _local6:b2Proxy; var _local7:int; m_pairManager = new b2PairManager(); m_proxyPool = new Array(b2Settings.b2_maxPairs); m_bounds = new Array((2 * b2Settings.b2_maxProxies)); m_querySortKeys = new Array(b2Settings.b2_maxProxies); m_queryResults = new Array(b2Settings.b2_maxProxies); m_quantizationFactor = new b2Vec2(); super(); m_pairManager.Initialize(this, _arg2); m_worldAABB = _arg1; m_proxyCount = 0; _local3 = 0; while (_local3 < b2Settings.b2_maxProxies) { m_queryResults[_local3] = 0; m_querySortKeys[_local3] = 0; _local3++; }; m_bounds = new Array(2); _local3 = 0; while (_local3 < 2) { m_bounds[_local3] = new Array((2 * b2Settings.b2_maxProxies)); _local7 = 0; while (_local7 < (2 * b2Settings.b2_maxProxies)) { m_bounds[_local3][_local7] = new b2Bound(); _local7++; }; _local3++; }; _local4 = (_arg1.upperBound.x - _arg1.lowerBound.x); _local5 = (_arg1.upperBound.y - _arg1.lowerBound.y); m_quantizationFactor.x = (b2Settings.USHRT_MAX / _local4); m_quantizationFactor.y = (b2Settings.USHRT_MAX / _local5); _local3 = 0; while (_local3 < (b2Settings.b2_maxProxies - 1)) { _local6 = new b2Proxy(); m_proxyPool[_local3] = _local6; _local6.SetNext((_local3 + 1)); _local6.timeStamp = 0; _local6.overlapCount = b2_invalid; _local6.userData = null; _local3++; }; _local6 = new b2Proxy(); m_proxyPool[int((b2Settings.b2_maxProxies - 1))] = _local6; _local6.SetNext(b2Pair.b2_nullProxy); _local6.timeStamp = 0; _local6.overlapCount = b2_invalid; _local6.userData = null; m_freeProxy = 0; m_timeStamp = 1; m_queryResultCount = 0; } public function QueryAABB(_arg1:b2AABB, _arg2, _arg3:int):int{ var _local4:Array; var _local5:Array; var _local6:uint; var _local7:uint; var _local8:Array; var _local9:Array; var _local10:int; var _local11:int; var _local12:b2Proxy; _local4 = new Array(); _local5 = new Array(); ComputeBounds(_local4, _local5, _arg1); _local8 = [_local6]; _local9 = [_local7]; Query(_local8, _local9, _local4[0], _local5[0], m_bounds[0], (2 * m_proxyCount), 0); Query(_local8, _local9, _local4[1], _local5[1], m_bounds[1], (2 * m_proxyCount), 1); _local10 = 0; _local11 = 0; while ((((_local11 < m_queryResultCount)) && ((_local10 < _arg3)))) { _local12 = m_proxyPool[m_queryResults[_local11]]; _arg2[_local11] = _local12.userData; _local11++; _local10++; }; m_queryResultCount = 0; IncrementTimeStamp(); return (_local10); } public function Commit():void{ m_pairManager.Commit(); } public function GetProxy(_arg1:int):b2Proxy{ var _local2:b2Proxy; _local2 = m_proxyPool[_arg1]; if ((((_arg1 == b2Pair.b2_nullProxy)) || ((_local2.IsValid() == false)))){ return (null); }; return (_local2); } private function IncrementTimeStamp():void{ var _local1:uint; if (m_timeStamp == b2Settings.USHRT_MAX){ _local1 = 0; while (_local1 < b2Settings.b2_maxProxies) { (m_proxyPool[_local1] as b2Proxy).timeStamp = 0; _local1++; }; m_timeStamp = 1; } else { m_timeStamp++; }; } private function Query(_arg1:Array, _arg2:Array, _arg3:uint, _arg4:uint, _arg5:Array, _arg6:uint, _arg7:int):void{ var _local8:uint; var _local9:uint; var _local10:b2Bound; var _local11:uint; var _local12:int; var _local13:int; var _local14:b2Proxy; _local8 = BinarySearch(_arg5, _arg6, _arg3); _local9 = BinarySearch(_arg5, _arg6, _arg4); _local11 = _local8; while (_local11 < _local9) { _local10 = _arg5[_local11]; if (_local10.IsLower()){ IncrementOverlapCount(_local10.proxyId); }; _local11++; }; if (_local8 > 0){ _local12 = (_local8 - 1); _local10 = _arg5[_local12]; _local13 = _local10.stabbingCount; while (_local13) { _local10 = _arg5[_local12]; if (_local10.IsLower()){ _local14 = m_proxyPool[_local10.proxyId]; if (_local8 <= _local14.upperBounds[_arg7]){ IncrementOverlapCount(_local10.proxyId); _local13--; }; }; _local12--; }; }; _arg1[0] = _local8; _arg2[0] = _local9; } private function AddProxyResult(_arg1:uint, _arg2:b2Proxy, _arg3:Number, _arg4:Function):void{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:uint; var _local9:Number; var _local10:uint; _local5 = _arg4(_arg2.userData); if (_local5 < 0){ return; }; _local6 = 0; while ((((_local6 < m_queryResultCount)) && ((m_querySortKeys[_local6] < _local5)))) { _local6++; }; _local7 = _local5; _local8 = _arg1; m_queryResultCount = (m_queryResultCount + 1); if (m_queryResultCount > _arg3){ m_queryResultCount = _arg3; }; while (_local6 < m_queryResultCount) { _local9 = m_querySortKeys[_local6]; _local10 = m_queryResults[_local6]; m_querySortKeys[_local6] = _local7; m_queryResults[_local6] = _local8; _local7 = _local9; _local8 = _local10; _local6++; }; } public function QuerySegment(_arg1:b2Segment, _arg2, _arg3:int, _arg4:Function):int{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; var _local9:int; var _local10:Number; var _local11:Number; var _local12:Array; var _local13:Array; var _local14:Array; var _local15:int; var _local16:int; var _local17:uint; var _local18:b2Proxy; var _local19:uint; var _local20:uint; var _local21:Array; var _local22:Array; var _local23:Boolean; var _local24:Number; var _local25:Number; var _local26:int; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:uint; _local5 = 1; _local6 = ((_arg1.p2.x - _arg1.p1.x) * m_quantizationFactor.x); _local7 = ((_arg1.p2.y - _arg1.p1.y) * m_quantizationFactor.y); _local8 = ((_local6 < -(Number.MIN_VALUE))) ? -1 : ((_local6 > Number.MIN_VALUE)) ? 1 : 0; _local9 = ((_local7 < -(Number.MIN_VALUE))) ? -1 : ((_local7 > Number.MIN_VALUE)) ? 1 : 0; _local10 = (m_quantizationFactor.x * (_arg1.p1.x - m_worldAABB.lowerBound.x)); _local11 = (m_quantizationFactor.y * (_arg1.p1.y - m_worldAABB.lowerBound.y)); _local12 = new Array(); _local13 = new Array(); _local12[0] = (uint(_local10) & (b2Settings.USHRT_MAX - 1)); _local12[1] = (uint(_local11) & (b2Settings.USHRT_MAX - 1)); _local13[0] = (_local12[0] + 1); _local13[1] = (_local12[1] + 1); _local14 = new Array(); _local21 = [_local19]; _local22 = [_local20]; Query(_local21, _local22, _local12[0], _local13[0], m_bounds[0], (2 * m_proxyCount), 0); if (_local8 >= 0){ _local15 = (_local22[0] - 1); } else { _local15 = _local21[0]; }; Query(_local21, _local22, _local12[1], _local13[1], m_bounds[1], (2 * m_proxyCount), 1); if (_local9 >= 0){ _local16 = (_local22[0] - 1); } else { _local16 = _local21[0]; }; if (_arg4 != null){ _local27 = 0; while (_local27 < m_queryResultCount) { m_querySortKeys[_local27] = _arg4(m_proxyPool[m_queryResults[_local27]].userData); _local27++; }; _local27 = 0; while (_local27 < (m_queryResultCount - 1)) { _local28 = m_querySortKeys[_local27]; _local29 = m_querySortKeys[(_local27 + 1)]; if (((_local28)<0) ? (_local29 >= 0) : (((_local28 > _local29)) && ((_local29 >= 0)))){ m_querySortKeys[(_local27 + 1)] = _local28; m_querySortKeys[_local27] = _local29; _local30 = m_queryResults[(_local27 + 1)]; m_queryResults[(_local27 + 1)] = m_queryResults[_local27]; m_queryResults[_local27] = _local30; --_local27; if (_local27 == -1){ _local27 = 1; }; } else { _local27++; }; }; while ((((m_queryResultCount > 0)) && ((m_querySortKeys[(m_queryResultCount - 1)] < 0)))) { m_queryResultCount--; }; }; _local23 = true; if ((((_local15 < 0)) || ((_local15 >= (m_proxyCount * 2))))){ _local23 = false; }; if ((((_local16 < 0)) || ((_local16 >= (m_proxyCount * 2))))){ _local23 = false; }; if (_local23){ if (_local8 != 0){ if (_local8 > 0){ _local15++; if (_local15 == (m_proxyCount * 2)){ _local23 = false; }; } else { --_local15; if (_local15 < 0){ _local23 = false; }; }; _local24 = ((m_bounds[0][_local15].value - _local10) / _local6); }; if (_local9 != 0){ if (_local9 > 0){ _local16++; if (_local16 == (m_proxyCount * 2)){ _local23 = false; }; } else { --_local16; if (_local16 < 0){ _local23 = false; }; }; _local25 = ((m_bounds[1][_local16].value - _local11) / _local7); }; }; while (_local23) { if ((((_local9 == 0)) || (((!((_local8 == 0))) && ((_local24 < _local25)))))){ if (_local24 > _local5){ break; }; if (((_local8 > 0)) ? m_bounds[0][_local15].IsLower() : m_bounds[0][_local15].IsUpper()){ _local17 = m_bounds[0][_local15].proxyId; _local18 = m_proxyPool[_local17]; if (_local9 >= 0){ if ((((_local18.lowerBounds[1] <= (_local16 - 1))) && ((_local18.upperBounds[1] >= _local16)))){ if (_arg4 != null){ AddProxyResult(_local17, _local18, _arg3, _arg4); } else { m_queryResults[m_queryResultCount] = _local17; m_queryResultCount++; }; }; } else { if ((((_local18.lowerBounds[1] <= _local16)) && ((_local18.upperBounds[1] >= (_local16 + 1))))){ if (_arg4 != null){ AddProxyResult(_local17, _local18, _arg3, _arg4); } else { m_queryResults[m_queryResultCount] = _local17; m_queryResultCount++; }; }; }; }; if (((((((!((_arg4 == null))) && ((m_queryResultCount == _arg3)))) && ((m_queryResultCount > 0)))) && ((_local24 > m_querySortKeys[(m_queryResultCount - 1)])))){ break; }; if (_local8 > 0){ _local15++; if (_local15 == (m_proxyCount * 2)){ break; }; } else { --_local15; if (_local15 < 0){ break; }; }; _local24 = ((m_bounds[0][_local15].value - _local10) / _local6); } else { if (_local25 > _local5){ break; }; if (((_local9 > 0)) ? m_bounds[1][_local16].IsLower() : m_bounds[1][_local16].IsUpper()){ _local17 = m_bounds[1][_local16].proxyId; _local18 = m_proxyPool[_local17]; if (_local8 >= 0){ if ((((_local18.lowerBounds[0] <= (_local15 - 1))) && ((_local18.upperBounds[0] >= _local15)))){ if (_arg4 != null){ AddProxyResult(_local17, _local18, _arg3, _arg4); } else { m_queryResults[m_queryResultCount] = _local17; m_queryResultCount++; }; }; } else { if ((((_local18.lowerBounds[0] <= _local15)) && ((_local18.upperBounds[0] >= (_local15 + 1))))){ if (_arg4 != null){ AddProxyResult(_local17, _local18, _arg3, _arg4); } else { m_queryResults[m_queryResultCount] = _local17; m_queryResultCount++; }; }; }; }; if (((((((!((_arg4 == null))) && ((m_queryResultCount == _arg3)))) && ((m_queryResultCount > 0)))) && ((_local25 > m_querySortKeys[(m_queryResultCount - 1)])))){ break; }; if (_local9 > 0){ _local16++; if (_local16 == (m_proxyCount * 2)){ break; }; } else { --_local16; if (_local16 < 0){ break; }; }; _local25 = ((m_bounds[1][_local16].value - _local11) / _local7); }; }; _local26 = 0; _local27 = 0; while ((((_local27 < m_queryResultCount)) && ((_local26 < _arg3)))) { _local18 = m_proxyPool[m_queryResults[_local27]]; _arg2[_local27] = _local18.userData; _local27++; _local26++; }; m_queryResultCount = 0; IncrementTimeStamp(); return (_local26); } private function ComputeBounds(_arg1:Array, _arg2:Array, _arg3:b2AABB):void{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local4 = _arg3.lowerBound.x; _local5 = _arg3.lowerBound.y; _local4 = b2Math.b2Min(_local4, m_worldAABB.upperBound.x); _local5 = b2Math.b2Min(_local5, m_worldAABB.upperBound.y); _local4 = b2Math.b2Max(_local4, m_worldAABB.lowerBound.x); _local5 = b2Math.b2Max(_local5, m_worldAABB.lowerBound.y); _local6 = _arg3.upperBound.x; _local7 = _arg3.upperBound.y; _local6 = b2Math.b2Min(_local6, m_worldAABB.upperBound.x); _local7 = b2Math.b2Min(_local7, m_worldAABB.upperBound.y); _local6 = b2Math.b2Max(_local6, m_worldAABB.lowerBound.x); _local7 = b2Math.b2Max(_local7, m_worldAABB.lowerBound.y); _arg1[0] = (uint((m_quantizationFactor.x * (_local4 - m_worldAABB.lowerBound.x))) & (b2Settings.USHRT_MAX - 1)); _arg2[0] = ((uint((m_quantizationFactor.x * (_local6 - m_worldAABB.lowerBound.x))) & 0xFFFF) | 1); _arg1[1] = (uint((m_quantizationFactor.y * (_local5 - m_worldAABB.lowerBound.y))) & (b2Settings.USHRT_MAX - 1)); _arg2[1] = ((uint((m_quantizationFactor.y * (_local7 - m_worldAABB.lowerBound.y))) & 0xFFFF) | 1); } public function CreateProxy(_arg1:b2AABB, _arg2):uint{ var _local3:uint; var _local4:b2Proxy; var _local5:uint; var _local6:uint; var _local7:Array; var _local8:Array; var _local9:int; var _local10:int; var _local11:Array; var _local12:uint; var _local13:uint; var _local14:Array; var _local15:Array; var _local16:Array; var _local17:int; var _local18:int; var _local19:b2Bound; var _local20:b2Bound; var _local21:b2Bound; var _local22:int; var _local23:b2Proxy; _local5 = m_freeProxy; _local4 = m_proxyPool[_local5]; m_freeProxy = _local4.GetNext(); _local4.overlapCount = 0; _local4.userData = _arg2; _local6 = (2 * m_proxyCount); _local7 = new Array(); _local8 = new Array(); ComputeBounds(_local7, _local8, _arg1); _local9 = 0; while (_local9 < 2) { _local11 = m_bounds[_local9]; _local14 = [_local12]; _local15 = [_local13]; Query(_local14, _local15, _local7[_local9], _local8[_local9], _local11, _local6, _local9); _local12 = _local14[0]; _local13 = _local15[0]; _local16 = new Array(); _local18 = (_local6 - _local13); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[int((_local13 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local22 = (_local13 + 2); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local16 = new Array(); _local18 = (_local13 - _local12); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[int((_local12 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local22 = (_local12 + 1); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local13++; _local19 = _local11[_local12]; _local20 = _local11[_local13]; _local19.value = _local7[_local9]; _local19.proxyId = _local5; _local20.value = _local8[_local9]; _local20.proxyId = _local5; _local21 = _local11[int((_local12 - 1))]; _local19.stabbingCount = ((_local12 == 0)) ? 0 : _local21.stabbingCount; _local21 = _local11[int((_local13 - 1))]; _local20.stabbingCount = _local21.stabbingCount; _local3 = _local12; while (_local3 < _local13) { _local21 = _local11[_local3]; _local21.stabbingCount++; _local3++; }; _local3 = _local12; while (_local3 < (_local6 + 2)) { _local19 = _local11[_local3]; _local23 = m_proxyPool[_local19.proxyId]; if (_local19.IsLower()){ _local23.lowerBounds[_local9] = _local3; } else { _local23.upperBounds[_local9] = _local3; }; _local3++; }; _local9++; }; m_proxyCount++; _local10 = 0; while (_local10 < m_queryResultCount) { m_pairManager.AddBufferedPair(_local5, m_queryResults[_local10]); _local10++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); return (_local5); } public function DestroyProxy(_arg1:uint):void{ var _local2:b2Bound; var _local3:b2Bound; var _local4:b2Proxy; var _local5:int; var _local6:int; var _local7:int; var _local8:Array; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:Array; var _local14:int; var _local15:int; var _local16:int; var _local17:uint; var _local18:int; var _local19:b2Proxy; _local4 = m_proxyPool[_arg1]; _local5 = (2 * m_proxyCount); _local6 = 0; while (_local6 < 2) { _local8 = m_bounds[_local6]; _local9 = _local4.lowerBounds[_local6]; _local10 = _local4.upperBounds[_local6]; _local2 = _local8[_local9]; _local11 = _local2.value; _local3 = _local8[_local10]; _local12 = _local3.value; _local13 = new Array(); _local15 = ((_local10 - _local9) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new b2Bound(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local9 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = _local13.length; _local16 = _local9; _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local13 = new Array(); _local15 = ((_local5 - _local10) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new b2Bound(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local10 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = _local13.length; _local16 = (_local10 - 1); _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = (_local5 - 2); _local17 = _local9; while (_local17 < _local15) { _local2 = _local8[_local17]; _local19 = m_proxyPool[_local2.proxyId]; if (_local2.IsLower()){ _local19.lowerBounds[_local6] = _local17; } else { _local19.upperBounds[_local6] = _local17; }; _local17++; }; _local15 = (_local10 - 1); _local18 = _local9; while (_local18 < _local15) { _local2 = _local8[_local18]; _local2.stabbingCount--; _local18++; }; Query([0], [0], _local11, _local12, _local8, (_local5 - 2), _local6); _local6++; }; _local7 = 0; while (_local7 < m_queryResultCount) { m_pairManager.RemoveBufferedPair(_arg1, m_queryResults[_local7]); _local7++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); _local4.userData = null; _local4.overlapCount = b2_invalid; _local4.lowerBounds[0] = b2_invalid; _local4.lowerBounds[1] = b2_invalid; _local4.upperBounds[0] = b2_invalid; _local4.upperBounds[1] = b2_invalid; _local4.SetNext(m_freeProxy); m_freeProxy = _arg1; m_proxyCount--; } public function TestOverlap(_arg1:b2BoundValues, _arg2:b2Proxy):Boolean{ var _local3:int; var _local4:Array; var _local5:b2Bound; _local3 = 0; while (_local3 < 2) { _local4 = m_bounds[_local3]; _local5 = _local4[_arg2.upperBounds[_local3]]; if (_arg1.lowerValues[_local3] > _local5.value){ return (false); }; _local5 = _local4[_arg2.lowerBounds[_local3]]; if (_arg1.upperValues[_local3] < _local5.value){ return (false); }; _local3++; }; return (true); } public function Validate():void{ var _local1:b2Pair; var _local2:b2Proxy; var _local3:b2Proxy; var _local4:Boolean; var _local5:int; var _local6:b2Bound; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:b2Bound; _local5 = 0; while (_local5 < 2) { _local6 = m_bounds[_local5]; _local7 = (2 * m_proxyCount); _local8 = 0; _local9 = 0; while (_local9 < _local7) { _local10 = _local6[_local9]; if (_local10.IsLower() == true){ _local8++; } else { _local8--; }; _local9++; }; _local5++; }; } private function IncrementOverlapCount(_arg1:uint):void{ var _local2:b2Proxy; _local2 = m_proxyPool[_arg1]; if (_local2.timeStamp < m_timeStamp){ _local2.timeStamp = m_timeStamp; _local2.overlapCount = 1; } else { _local2.overlapCount = 2; m_queryResults[m_queryResultCount] = _arg1; m_queryResultCount++; }; } public function InRange(_arg1:b2AABB):Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = _arg1.lowerBound.x; _local3 = _arg1.lowerBound.y; _local2 = (_local2 - m_worldAABB.upperBound.x); _local3 = (_local3 - m_worldAABB.upperBound.y); _local4 = m_worldAABB.lowerBound.x; _local5 = m_worldAABB.lowerBound.y; _local4 = (_local4 - _arg1.upperBound.x); _local5 = (_local5 - _arg1.upperBound.y); _local2 = b2Math.b2Max(_local2, _local4); _local3 = b2Math.b2Max(_local3, _local5); return ((b2Math.b2Max(_local2, _local3) < 0)); } private function TestOverlapValidate(_arg1:b2Proxy, _arg2:b2Proxy):Boolean{ var _local3:int; var _local4:Array; var _local5:b2Bound; var _local6:b2Bound; _local3 = 0; while (_local3 < 2) { _local4 = m_bounds[_local3]; _local5 = _local4[_arg1.lowerBounds[_local3]]; _local6 = _local4[_arg2.upperBounds[_local3]]; if (_local5.value > _local6.value){ return (false); }; _local5 = _local4[_arg1.upperBounds[_local3]]; _local6 = _local4[_arg2.lowerBounds[_local3]]; if (_local5.value < _local6.value){ return (false); }; _local3++; }; return (true); } public function MoveProxy(_arg1:uint, _arg2:b2AABB):void{ var _local3:Array; var _local4:int; var _local5:uint; var _local6:uint; var _local7:b2Bound; var _local8:b2Bound; var _local9:b2Bound; var _local10:uint; var _local11:b2Proxy; var _local12:uint; var _local13:b2Proxy; var _local14:b2BoundValues; var _local15:b2BoundValues; var _local16:Array; var _local17:uint; var _local18:uint; var _local19:uint; var _local20:uint; var _local21:int; var _local22:int; var _local23:uint; var _local24:b2Proxy; if ((((_arg1 == b2Pair.b2_nullProxy)) || ((b2Settings.b2_maxProxies <= _arg1)))){ return; }; if (_arg2.IsValid() == false){ return; }; _local12 = (2 * m_proxyCount); _local13 = m_proxyPool[_arg1]; _local14 = new b2BoundValues(); ComputeBounds(_local14.lowerValues, _local14.upperValues, _arg2); _local15 = new b2BoundValues(); _local5 = 0; while (_local5 < 2) { _local7 = m_bounds[_local5][_local13.lowerBounds[_local5]]; _local15.lowerValues[_local5] = _local7.value; _local7 = m_bounds[_local5][_local13.upperBounds[_local5]]; _local15.upperValues[_local5] = _local7.value; _local5++; }; _local5 = 0; while (_local5 < 2) { _local16 = m_bounds[_local5]; _local17 = _local13.lowerBounds[_local5]; _local18 = _local13.upperBounds[_local5]; _local19 = _local14.lowerValues[_local5]; _local20 = _local14.upperValues[_local5]; _local7 = _local16[_local17]; _local21 = (_local19 - _local7.value); _local7.value = _local19; _local7 = _local16[_local18]; _local22 = (_local20 - _local7.value); _local7.value = _local20; if (_local21 < 0){ _local6 = _local17; while ((((_local6 > 0)) && ((_local19 < (_local16[int((_local6 - 1))] as b2Bound).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = m_proxyPool[_local8.proxyId]; _local8.stabbingCount++; if (_local8.IsUpper() == true){ if (TestOverlap(_local14, _local24)){ m_pairManager.AddBufferedPair(_arg1, _local23); }; _local3 = _local24.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount++; } else { _local3 = _local24.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount--; }; _local3 = _local13.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.Swap(_local8); _local6--; }; }; if (_local22 > 0){ _local6 = _local18; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as b2Bound).value <= _local20)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = m_proxyPool[_local10]; _local9.stabbingCount++; if (_local9.IsLower() == true){ if (TestOverlap(_local14, _local11)){ m_pairManager.AddBufferedPair(_arg1, _local10); }; _local3 = _local11.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount++; } else { _local3 = _local11.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount--; }; _local3 = _local13.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.Swap(_local9); _local6++; }; }; if (_local21 > 0){ _local6 = _local17; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as b2Bound).value <= _local19)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = m_proxyPool[_local10]; _local9.stabbingCount--; if (_local9.IsUpper()){ if (TestOverlap(_local15, _local11)){ m_pairManager.RemoveBufferedPair(_arg1, _local10); }; _local3 = _local11.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount--; } else { _local3 = _local11.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount++; }; _local3 = _local13.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.Swap(_local9); _local6++; }; }; if (_local22 < 0){ _local6 = _local18; while ((((_local6 > 0)) && ((_local20 < (_local16[int((_local6 - 1))] as b2Bound).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = m_proxyPool[_local23]; _local8.stabbingCount--; if (_local8.IsLower() == true){ if (TestOverlap(_local15, _local24)){ m_pairManager.RemoveBufferedPair(_arg1, _local23); }; _local3 = _local24.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount--; } else { _local3 = _local24.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount++; }; _local3 = _local13.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.Swap(_local8); _local6--; }; }; _local5++; }; } public static function BinarySearch(_arg1:Array, _arg2:int, _arg3:uint):uint{ var _local4:int; var _local5:int; var _local6:int; var _local7:b2Bound; _local4 = 0; _local5 = (_arg2 - 1); while (_local4 <= _local5) { _local6 = ((_local4 + _local5) / 2); _local7 = _arg1[_local6]; if (_local7.value > _arg3){ _local5 = (_local6 - 1); } else { if (_local7.value < _arg3){ _local4 = (_local6 + 1); } else { return (uint(_local6)); }; }; }; return (uint(_local4)); } } }//package Box2D.Collision
Section 13
//b2BufferedPair (Box2D.Collision.b2BufferedPair) package Box2D.Collision { public class b2BufferedPair { public var proxyId1:uint; public var proxyId2:uint; } }//package Box2D.Collision
Section 14
//b2Collision (Box2D.Collision.b2Collision) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Collision { public static const b2_nullFeature:uint = 0xFF; private static var b2CollidePolyTempVec:b2Vec2 = new b2Vec2(); public static function EdgeSeparation(_arg1:b2PolygonShape, _arg2:b2XForm, _arg3:int, _arg4:b2PolygonShape, _arg5:b2XForm):Number{ var _local6:int; var _local7:Array; var _local8:Array; var _local9:int; var _local10:Array; var _local11:b2Mat22; var _local12:b2Vec2; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:int; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; _local6 = _arg1.m_vertexCount; _local7 = _arg1.m_vertices; _local8 = _arg1.m_normals; _local9 = _arg4.m_vertexCount; _local10 = _arg4.m_vertices; _local11 = _arg2.R; _local12 = _local8[_arg3]; _local13 = ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y)); _local14 = ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y)); _local11 = _arg5.R; _local15 = ((_local11.col1.x * _local13) + (_local11.col1.y * _local14)); _local16 = ((_local11.col2.x * _local13) + (_local11.col2.y * _local14)); _local17 = 0; _local18 = Number.MAX_VALUE; _local19 = 0; while (_local19 < _local9) { _local12 = _local10[_local19]; _local25 = ((_local12.x * _local15) + (_local12.y * _local16)); if (_local25 < _local18){ _local18 = _local25; _local17 = _local19; }; _local19++; }; _local12 = _local7[_arg3]; _local11 = _arg2.R; _local20 = (_arg2.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); _local21 = (_arg2.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local12 = _local10[_local17]; _local11 = _arg5.R; _local22 = (_arg5.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); _local23 = (_arg5.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local22 = (_local22 - _local20); _local23 = (_local23 - _local21); _local24 = ((_local22 * _local13) + (_local23 * _local14)); return (_local24); } public static function b2TestOverlap(_arg1:b2AABB, _arg2:b2AABB):Boolean{ var _local3:b2Vec2; var _local4:b2Vec2; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local3 = _arg2.lowerBound; _local4 = _arg1.upperBound; _local5 = (_local3.x - _local4.x); _local6 = (_local3.y - _local4.y); _local3 = _arg1.lowerBound; _local4 = _arg2.upperBound; _local7 = (_local3.x - _local4.x); _local8 = (_local3.y - _local4.y); if ((((_local5 > 0)) || ((_local6 > 0)))){ return (false); }; if ((((_local7 > 0)) || ((_local8 > 0)))){ return (false); }; return (true); } public static function FindIncidentEdge(_arg1:Array, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:int, _arg5:b2PolygonShape, _arg6:b2XForm):void{ var _local7:int; var _local8:Array; var _local9:int; var _local10:Array; var _local11:Array; var _local12:b2Mat22; var _local13:b2Vec2; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:int; var _local20:ClipVertex; var _local21:int; var _local22:int; var _local23:Number; _local7 = _arg2.m_vertexCount; _local8 = _arg2.m_normals; _local9 = _arg5.m_vertexCount; _local10 = _arg5.m_vertices; _local11 = _arg5.m_normals; _local12 = _arg3.R; _local13 = _local8[_arg4]; _local14 = ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y)); _local15 = ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y)); _local12 = _arg6.R; _local16 = ((_local12.col1.x * _local14) + (_local12.col1.y * _local15)); _local15 = ((_local12.col2.x * _local14) + (_local12.col2.y * _local15)); _local14 = _local16; _local17 = 0; _local18 = Number.MAX_VALUE; _local19 = 0; while (_local19 < _local9) { _local13 = _local11[_local19]; _local23 = ((_local14 * _local13.x) + (_local15 * _local13.y)); if (_local23 < _local18){ _local18 = _local23; _local17 = _local19; }; _local19++; }; _local21 = _local17; _local22 = (((_local21 + 1) < _local9)) ? (_local21 + 1) : 0; _local20 = _arg1[0]; _local13 = _local10[_local21]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y))); _local20.id.features.referenceEdge = _arg4; _local20.id.features.incidentEdge = _local21; _local20.id.features.incidentVertex = 0; _local20 = _arg1[1]; _local13 = _local10[_local22]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y))); _local20.id.features.referenceEdge = _arg4; _local20.id.features.incidentEdge = _local22; _local20.id.features.incidentVertex = 1; } public static function b2CollidePolygons(_arg1:b2Manifold, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2PolygonShape, _arg5:b2XForm):void{ var _local6:ClipVertex; var _local7:int; var _local8:Array; var _local9:Number; var _local10:int; var _local11:Array; var _local12:Number; var _local13:b2PolygonShape; var _local14:b2PolygonShape; var _local15:b2XForm; var _local16:b2XForm; var _local17:int; var _local18:uint; var _local19:Number; var _local20:Number; var _local21:Array; var _local22:int; var _local23:Array; var _local24:b2Vec2; var _local25:b2Vec2; var _local26:b2Vec2; var _local27:b2Vec2; var _local28:b2Vec2; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Array; var _local33:Array; var _local34:int; var _local35:int; var _local36:int; var _local37:b2Vec2; var _local38:Number; var _local39:b2ManifoldPoint; _arg1.pointCount = 0; _local7 = 0; _local8 = [_local7]; _local9 = FindMaxSeparation(_local8, _arg2, _arg3, _arg4, _arg5); _local7 = _local8[0]; if (_local9 > 0){ return; }; _local10 = 0; _local11 = [_local10]; _local12 = FindMaxSeparation(_local11, _arg4, _arg5, _arg2, _arg3); _local10 = _local11[0]; if (_local12 > 0){ return; }; _local15 = new b2XForm(); _local16 = new b2XForm(); _local19 = 0.98; _local20 = 0.001; if (_local12 > ((_local19 * _local9) + _local20)){ _local13 = _arg4; _local14 = _arg2; _local15.Set(_arg5); _local16.Set(_arg3); _local17 = _local10; _local18 = 1; } else { _local13 = _arg2; _local14 = _arg4; _local15.Set(_arg3); _local16.Set(_arg5); _local17 = _local7; _local18 = 0; }; _local21 = [new ClipVertex(), new ClipVertex()]; FindIncidentEdge(_local21, _local13, _local15, _local17, _local14, _local16); _local22 = _local13.m_vertexCount; _local23 = _local13.m_vertices; _local24 = _local23[_local17]; _local25 = _local24.Copy(); if ((_local17 + 1) < _local22){ _local24 = _local23[int((_local17 + 1))]; _local37 = _local24.Copy(); } else { _local24 = _local23[0]; _local37 = _local24.Copy(); }; _local26 = b2Math.SubtractVV(_local37, _local25); _local27 = b2Math.b2MulMV(_local15.R, b2Math.SubtractVV(_local37, _local25)); _local27.Normalize(); _local28 = b2Math.b2CrossVF(_local27, 1); _local25 = b2Math.b2MulX(_local15, _local25); _local37 = b2Math.b2MulX(_local15, _local37); _local29 = b2Math.b2Dot(_local28, _local25); _local30 = -(b2Math.b2Dot(_local27, _local25)); _local31 = b2Math.b2Dot(_local27, _local37); _local32 = [new ClipVertex(), new ClipVertex()]; _local33 = [new ClipVertex(), new ClipVertex()]; _local34 = ClipSegmentToLine(_local32, _local21, _local27.Negative(), _local30); if (_local34 < 2){ return; }; _local34 = ClipSegmentToLine(_local33, _local32, _local27, _local31); if (_local34 < 2){ return; }; _arg1.normal = (_local18) ? _local28.Negative() : _local28.Copy(); _local35 = 0; _local36 = 0; while (_local36 < b2Settings.b2_maxManifoldPoints) { _local6 = _local33[_local36]; _local38 = (b2Math.b2Dot(_local28, _local6.v) - _local29); if (_local38 <= 0){ _local39 = _arg1.points[_local35]; _local39.separation = _local38; _local39.localPoint1 = b2Math.b2MulXT(_arg3, _local6.v); _local39.localPoint2 = b2Math.b2MulXT(_arg5, _local6.v); _local39.id.key = _local6.id._key; _local39.id.features.flip = _local18; _local35++; }; _local36++; }; _arg1.pointCount = _local35; } public static function FindMaxSeparation(_arg1:Array, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2PolygonShape, _arg5:b2XForm):Number{ var _local6:int; var _local7:Array; var _local8:b2Vec2; var _local9:b2Mat22; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:int; var _local15:Number; var _local16:int; var _local17:Number; var _local18:int; var _local19:Number; var _local20:int; var _local21:Number; var _local22:int; var _local23:Number; var _local24:int; var _local25:Number; _local6 = _arg2.m_vertexCount; _local7 = _arg2.m_normals; _local9 = _arg5.R; _local8 = _arg4.m_centroid; _local10 = (_arg5.position.x + ((_local9.col1.x * _local8.x) + (_local9.col2.x * _local8.y))); _local11 = (_arg5.position.y + ((_local9.col1.y * _local8.x) + (_local9.col2.y * _local8.y))); _local9 = _arg3.R; _local8 = _arg2.m_centroid; _local10 = (_local10 - (_arg3.position.x + ((_local9.col1.x * _local8.x) + (_local9.col2.x * _local8.y)))); _local11 = (_local11 - (_arg3.position.y + ((_local9.col1.y * _local8.x) + (_local9.col2.y * _local8.y)))); _local12 = ((_local10 * _arg3.R.col1.x) + (_local11 * _arg3.R.col1.y)); _local13 = ((_local10 * _arg3.R.col2.x) + (_local11 * _arg3.R.col2.y)); _local14 = 0; _local15 = -(Number.MAX_VALUE); _local16 = 0; while (_local16 < _local6) { _local8 = _local7[_local16]; _local25 = ((_local8.x * _local12) + (_local8.y * _local13)); if (_local25 > _local15){ _local15 = _local25; _local14 = _local16; }; _local16++; }; _local17 = EdgeSeparation(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; _local18 = (((_local14 - 1) >= 0)) ? (_local14 - 1) : (_local6 - 1); _local19 = EdgeSeparation(_arg2, _arg3, _local18, _arg4, _arg5); if (_local19 > 0){ return (_local19); }; _local20 = (((_local14 + 1) < _local6)) ? (_local14 + 1) : 0; _local21 = EdgeSeparation(_arg2, _arg3, _local20, _arg4, _arg5); if (_local21 > 0){ return (_local21); }; if ((((_local19 > _local17)) && ((_local19 > _local21)))){ _local24 = -1; _local22 = _local18; _local23 = _local19; } else { if (_local21 > _local17){ _local24 = 1; _local22 = _local20; _local23 = _local21; } else { _arg1[0] = _local14; return (_local17); }; }; while (true) { if (_local24 == -1){ _local14 = (((_local22 - 1) >= 0)) ? (_local22 - 1) : (_local6 - 1); } else { _local14 = (((_local22 + 1) < _local6)) ? (_local22 + 1) : 0; }; _local17 = EdgeSeparation(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; if (_local17 > _local23){ _local22 = _local14; _local23 = _local17; } else { break; }; }; _arg1[0] = _local22; return (_local23); } public static function ClipSegmentToLine(_arg1:Array, _arg2:Array, _arg3:b2Vec2, _arg4:Number):int{ var _local5:ClipVertex; var _local6:int; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:b2Vec2; var _local13:ClipVertex; _local6 = 0; _local5 = _arg2[0]; _local7 = _local5.v; _local5 = _arg2[1]; _local8 = _local5.v; _local9 = (b2Math.b2Dot(_arg3, _local7) - _arg4); _local10 = (b2Math.b2Dot(_arg3, _local8) - _arg4); if (_local9 <= 0){ var _temp1 = _local6; _local6 = (_local6 + 1); var _local14 = _temp1; _arg1[_local14] = _arg2[0]; }; if (_local10 <= 0){ var _temp2 = _local6; _local6 = (_local6 + 1); _local14 = _temp2; _arg1[_local14] = _arg2[1]; }; if ((_local9 * _local10) < 0){ _local11 = (_local9 / (_local9 - _local10)); _local5 = _arg1[_local6]; _local12 = _local5.v; _local12.x = (_local7.x + (_local11 * (_local8.x - _local7.x))); _local12.y = (_local7.y + (_local11 * (_local8.y - _local7.y))); _local5 = _arg1[_local6]; if (_local9 > 0){ _local13 = _arg2[0]; _local5.id = _local13.id; } else { _local13 = _arg2[1]; _local5.id = _local13.id; }; _local6++; }; return (_local6); } public static function b2CollideCircles(_arg1:b2Manifold, _arg2:b2CircleShape, _arg3:b2XForm, _arg4:b2CircleShape, _arg5:b2XForm):void{ var _local6:b2Mat22; var _local7:b2Vec2; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:b2ManifoldPoint; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; _arg1.pointCount = 0; _local6 = _arg3.R; _local7 = _arg2.m_localPosition; _local8 = (_arg3.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); _local9 = (_arg3.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); _local6 = _arg5.R; _local7 = _arg4.m_localPosition; _local10 = (_arg5.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); _local11 = (_arg5.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); _local12 = (_local10 - _local8); _local13 = (_local11 - _local9); _local14 = ((_local12 * _local12) + (_local13 * _local13)); _local15 = _arg2.m_radius; _local16 = _arg4.m_radius; _local17 = (_local15 + _local16); if (_local14 > (_local17 * _local17)){ return; }; if (_local14 < Number.MIN_VALUE){ _local18 = -(_local17); _arg1.normal.Set(0, 1); } else { _local24 = Math.sqrt(_local14); _local18 = (_local24 - _local17); _local25 = (1 / _local24); _arg1.normal.x = (_local25 * _local12); _arg1.normal.y = (_local25 * _local13); }; _arg1.pointCount = 1; _local19 = _arg1.points[0]; _local19.id.key = 0; _local19.separation = _local18; _local8 = (_local8 + (_local15 * _arg1.normal.x)); _local9 = (_local9 + (_local15 * _arg1.normal.y)); _local10 = (_local10 - (_local16 * _arg1.normal.x)); _local11 = (_local11 - (_local16 * _arg1.normal.y)); _local20 = (0.5 * (_local8 + _local10)); _local21 = (0.5 * (_local9 + _local11)); _local22 = (_local20 - _arg3.position.x); _local23 = (_local21 - _arg3.position.y); _local19.localPoint1.x = ((_local22 * _arg3.R.col1.x) + (_local23 * _arg3.R.col1.y)); _local19.localPoint1.y = ((_local22 * _arg3.R.col2.x) + (_local23 * _arg3.R.col2.y)); _local22 = (_local20 - _arg5.position.x); _local23 = (_local21 - _arg5.position.y); _local19.localPoint2.x = ((_local22 * _arg5.R.col1.x) + (_local23 * _arg5.R.col1.y)); _local19.localPoint2.y = ((_local22 * _arg5.R.col2.x) + (_local23 * _arg5.R.col2.y)); } public static function b2CollidePolygonAndCircle(_arg1:b2Manifold, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2CircleShape, _arg5:b2XForm):void{ var _local6:b2ManifoldPoint; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2Vec2; var _local12:b2Mat22; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:Number; var _local20:Number; var _local21:int; var _local22:Array; var _local23:Array; var _local24:int; var _local25:int; var _local26:int; var _local27:b2Vec2; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; _arg1.pointCount = 0; _local12 = _arg5.R; _local11 = _arg4.m_localPosition; _local13 = (_arg5.position.x + ((_local12.col1.x * _local11.x) + (_local12.col2.x * _local11.y))); _local14 = (_arg5.position.y + ((_local12.col1.y * _local11.x) + (_local12.col2.y * _local11.y))); _local7 = (_local13 - _arg3.position.x); _local8 = (_local14 - _arg3.position.y); _local12 = _arg3.R; _local15 = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local16 = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local18 = 0; _local19 = -(Number.MAX_VALUE); _local20 = _arg4.m_radius; _local21 = _arg2.m_vertexCount; _local22 = _arg2.m_vertices; _local23 = _arg2.m_normals; _local24 = 0; while (_local24 < _local21) { _local11 = _local22[_local24]; _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); _local11 = _local23[_local24]; _local34 = ((_local11.x * _local7) + (_local11.y * _local8)); if (_local34 > _local20){ return; }; if (_local34 > _local19){ _local19 = _local34; _local18 = _local24; }; _local24++; }; if (_local19 < Number.MIN_VALUE){ _arg1.pointCount = 1; _local11 = _local23[_local18]; _local12 = _arg3.R; _arg1.normal.x = ((_local12.col1.x * _local11.x) + (_local12.col2.x * _local11.y)); _arg1.normal.y = ((_local12.col1.y * _local11.x) + (_local12.col2.y * _local11.y)); _local6 = _arg1.points[0]; _local6.id.features.incidentEdge = _local18; _local6.id.features.incidentVertex = b2_nullFeature; _local6.id.features.referenceEdge = 0; _local6.id.features.flip = 0; _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6.localPoint1.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint1.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6.localPoint2.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint2.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local6.separation = (_local19 - _local20); return; }; _local25 = _local18; _local26 = (((_local25 + 1) < _local21)) ? (_local25 + 1) : 0; _local11 = _local22[_local25]; _local27 = _local22[_local26]; _local28 = (_local27.x - _local11.x); _local29 = (_local27.y - _local11.y); _local30 = Math.sqrt(((_local28 * _local28) + (_local29 * _local29))); _local28 = (_local28 / _local30); _local29 = (_local29 / _local30); _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); _local31 = ((_local7 * _local28) + (_local8 * _local29)); _local6 = _arg1.points[0]; if (_local31 <= 0){ _local32 = _local11.x; _local33 = _local11.y; _local6.id.features.incidentEdge = b2_nullFeature; _local6.id.features.incidentVertex = _local25; } else { if (_local31 >= _local30){ _local32 = _local27.x; _local33 = _local27.y; _local6.id.features.incidentEdge = b2_nullFeature; _local6.id.features.incidentVertex = _local26; } else { _local32 = ((_local28 * _local31) + _local11.x); _local33 = ((_local29 * _local31) + _local11.y); _local6.id.features.incidentEdge = _local18; _local6.id.features.incidentVertex = 0; }; }; _local7 = (_local15 - _local32); _local8 = (_local16 - _local33); _local17 = Math.sqrt(((_local7 * _local7) + (_local8 * _local8))); _local7 = (_local7 / _local17); _local8 = (_local8 / _local17); if (_local17 > _local20){ return; }; _arg1.pointCount = 1; _local12 = _arg3.R; _arg1.normal.x = ((_local12.col1.x * _local7) + (_local12.col2.x * _local8)); _arg1.normal.y = ((_local12.col1.y * _local7) + (_local12.col2.y * _local8)); _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6.localPoint1.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint1.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6.localPoint2.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint2.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local6.separation = (_local17 - _local20); _local6.id.features.referenceEdge = 0; _local6.id.features.flip = 0; } } }//package Box2D.Collision
Section 15
//b2ContactID (Box2D.Collision.b2ContactID) package Box2D.Collision { public class b2ContactID { public var _key:uint; public var features:Features; public function b2ContactID(){ features = new Features(); super(); features._m_id = this; } public function Set(_arg1:b2ContactID):void{ key = _arg1._key; } public function Copy():b2ContactID{ var _local1:b2ContactID; _local1 = new b2ContactID(); _local1.key = key; return (_local1); } public function get key():uint{ return (_key); } public function set key(_arg1:uint):void{ _key = _arg1; features._referenceEdge = (_key & 0xFF); features._incidentEdge = (((_key & 0xFF00) >> 8) & 0xFF); features._incidentVertex = (((_key & 0xFF0000) >> 16) & 0xFF); features._flip = (((_key & 4278190080) >> 24) & 0xFF); } } }//package Box2D.Collision
Section 16
//b2ContactPoint (Box2D.Collision.b2ContactPoint) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; public class b2ContactPoint { public var separation:Number; public var normal:b2Vec2; public var position:b2Vec2; public var restitution:Number; public var shape1:b2Shape; public var shape2:b2Shape; public var id:b2ContactID; public var friction:Number; public var velocity:b2Vec2; public function b2ContactPoint(){ position = new b2Vec2(); velocity = new b2Vec2(); normal = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 17
//b2Distance (Box2D.Collision.b2Distance) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Distance { private static var s_p2s:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var s_p1s:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var s_points:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var gPoint:b2Point = new b2Point(); public static var g_GJK_Iterations:int = 0; public static function InPoints(_arg1:b2Vec2, _arg2:Array, _arg3:int):Boolean{ var _local4:Number; var _local5:int; var _local6:b2Vec2; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local4 = (100 * Number.MIN_VALUE); _local5 = 0; while (_local5 < _arg3) { _local6 = _arg2[_local5]; _local7 = Math.abs((_arg1.x - _local6.x)); _local8 = Math.abs((_arg1.y - _local6.y)); _local9 = Math.max(Math.abs(_arg1.x), Math.abs(_local6.x)); _local10 = Math.max(Math.abs(_arg1.y), Math.abs(_local6.y)); if ((((_local7 < (_local4 * (_local9 + 1)))) && ((_local8 < (_local4 * (_local10 + 1)))))){ return (true); }; _local5++; }; return (false); } public static function DistanceGeneric(_arg1:b2Vec2, _arg2:b2Vec2, _arg3, _arg4:b2XForm, _arg5, _arg6:b2XForm):Number{ var _local7:b2Vec2; var _local8:Array; var _local9:Array; var _local10:Array; var _local11:int; var _local12:Number; var _local13:int; var _local14:int; var _local15:Number; var _local16:Number; var _local17:b2Vec2; var _local18:b2Vec2; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:int; _local8 = s_p1s; _local9 = s_p2s; _local10 = s_points; _local11 = 0; _arg1.SetV(_arg3.GetFirstVertex(_arg4)); _arg2.SetV(_arg5.GetFirstVertex(_arg6)); _local12 = 0; _local13 = 20; _local14 = 0; while (_local14 < _local13) { _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local17 = _arg3.Support(_arg4, _local15, _local16); _local18 = _arg5.Support(_arg6, -(_local15), -(_local16)); _local12 = ((_local15 * _local15) + (_local16 * _local16)); _local19 = (_local18.x - _local17.x); _local20 = (_local18.y - _local17.y); _local21 = ((_local15 * _local19) + (_local16 * _local20)); if ((_local12 - ((_local15 * _local19) + (_local16 * _local20))) <= (0.01 * _local12)){ if (_local11 == 0){ _arg1.SetV(_local17); _arg2.SetV(_local18); }; g_GJK_Iterations = _local14; return (Math.sqrt(_local12)); }; switch (_local11){ case 0: _local7 = _local8[0]; _local7.SetV(_local17); _local7 = _local9[0]; _local7.SetV(_local18); _local7 = _local10[0]; _local7.x = _local19; _local7.y = _local20; _arg1.SetV(_local8[0]); _arg2.SetV(_local9[0]); _local11++; break; case 1: _local7 = _local8[1]; _local7.SetV(_local17); _local7 = _local9[1]; _local7.SetV(_local18); _local7 = _local10[1]; _local7.x = _local19; _local7.y = _local20; _local11 = ProcessTwo(_arg1, _arg2, _local8, _local9, _local10); break; case 2: _local7 = _local8[2]; _local7.SetV(_local17); _local7 = _local9[2]; _local7.SetV(_local18); _local7 = _local10[2]; _local7.x = _local19; _local7.y = _local20; _local11 = ProcessThree(_arg1, _arg2, _local8, _local9, _local10); break; }; if (_local11 == 3){ g_GJK_Iterations = _local14; return (0); }; _local22 = -(Number.MAX_VALUE); _local23 = 0; while (_local23 < _local11) { _local7 = _local10[_local23]; _local22 = b2Math.b2Max(_local22, ((_local7.x * _local7.x) + (_local7.y * _local7.y))); _local23++; }; if ((((_local11 == 3)) || ((_local12 <= ((100 * Number.MIN_VALUE) * _local22))))){ g_GJK_Iterations = _local14; _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local12 = ((_local15 * _local15) + (_local16 * _local16)); return (Math.sqrt(_local12)); }; _local14++; }; g_GJK_Iterations = _local13; return (Math.sqrt(_local12)); } public static function DistanceCC(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2CircleShape, _arg4:b2XForm, _arg5:b2CircleShape, _arg6:b2XForm):Number{ var _local7:b2Mat22; var _local8:b2Vec2; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; _local7 = _arg4.R; _local8 = _arg3.m_localPosition; _local9 = (_arg4.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); _local10 = (_arg4.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); _local7 = _arg6.R; _local8 = _arg5.m_localPosition; _local11 = (_arg6.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); _local12 = (_arg6.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); _local13 = (_local11 - _local9); _local14 = (_local12 - _local10); _local15 = ((_local13 * _local13) + (_local14 * _local14)); _local16 = (_arg3.m_radius - b2Settings.b2_toiSlop); _local17 = (_arg5.m_radius - b2Settings.b2_toiSlop); _local18 = (_local16 + _local17); if (_local15 > (_local18 * _local18)){ _local19 = Math.sqrt(((_local13 * _local13) + (_local14 * _local14))); _local13 = (_local13 / _local19); _local14 = (_local14 / _local19); _local20 = (_local19 - _local18); _arg1.x = (_local9 + (_local16 * _local13)); _arg1.y = (_local10 + (_local16 * _local14)); _arg2.x = (_local11 - (_local17 * _local13)); _arg2.y = (_local12 - (_local17 * _local14)); return (_local20); }; if (_local15 > (Number.MIN_VALUE * Number.MIN_VALUE)){ _local19 = Math.sqrt(((_local13 * _local13) + (_local14 * _local14))); _local13 = (_local13 / _local19); _local14 = (_local14 / _local19); _arg1.x = (_local9 + (_local16 * _local13)); _arg1.y = (_local10 + (_local16 * _local14)); _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); }; _arg1.x = _local9; _arg1.y = _local10; _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); } public static function ProcessThree(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:b2Vec2; var _local13:b2Vec2; var _local14:b2Vec2; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local39:Number; var _local40:Number; var _local41:Number; _local6 = _arg5[0]; _local7 = _arg5[1]; _local8 = _arg5[2]; _local9 = _arg3[0]; _local10 = _arg3[1]; _local11 = _arg3[2]; _local12 = _arg4[0]; _local13 = _arg4[1]; _local14 = _arg4[2]; _local15 = _local6.x; _local16 = _local6.y; _local17 = _local7.x; _local18 = _local7.y; _local19 = _local8.x; _local20 = _local8.y; _local21 = (_local17 - _local15); _local22 = (_local18 - _local16); _local23 = (_local19 - _local15); _local24 = (_local20 - _local16); _local25 = (_local19 - _local17); _local26 = (_local20 - _local18); _local27 = -(((_local15 * _local21) + (_local16 * _local22))); _local28 = ((_local17 * _local21) + (_local18 * _local22)); _local29 = -(((_local15 * _local23) + (_local16 * _local24))); _local30 = ((_local19 * _local23) + (_local20 * _local24)); _local31 = -(((_local17 * _local25) + (_local18 * _local26))); _local32 = ((_local19 * _local25) + (_local20 * _local26)); if ((((_local30 <= 0)) && ((_local32 <= 0)))){ _arg1.SetV(_local11); _arg2.SetV(_local14); _local9.SetV(_local11); _local12.SetV(_local14); _local6.SetV(_local8); return (1); }; _local33 = ((_local21 * _local24) - (_local22 * _local23)); _local34 = (_local33 * ((_local15 * _local18) - (_local16 * _local17))); _local36 = (_local33 * ((_local17 * _local20) - (_local18 * _local19))); if ((((((((_local36 <= 0)) && ((_local31 >= 0)))) && ((_local32 >= 0)))) && (((_local31 + _local32) > 0)))){ _local35 = (_local31 / (_local31 + _local32)); _arg1.x = (_local10.x + (_local35 * (_local11.x - _local10.x))); _arg1.y = (_local10.y + (_local35 * (_local11.y - _local10.y))); _arg2.x = (_local13.x + (_local35 * (_local14.x - _local13.x))); _arg2.y = (_local13.y + (_local35 * (_local14.y - _local13.y))); _local9.SetV(_local11); _local12.SetV(_local14); _local6.SetV(_local8); return (2); }; _local37 = (_local33 * ((_local19 * _local16) - (_local20 * _local15))); if ((((((((_local37 <= 0)) && ((_local29 >= 0)))) && ((_local30 >= 0)))) && (((_local29 + _local30) > 0)))){ _local35 = (_local29 / (_local29 + _local30)); _arg1.x = (_local9.x + (_local35 * (_local11.x - _local9.x))); _arg1.y = (_local9.y + (_local35 * (_local11.y - _local9.y))); _arg2.x = (_local12.x + (_local35 * (_local14.x - _local12.x))); _arg2.y = (_local12.y + (_local35 * (_local14.y - _local12.y))); _local10.SetV(_local11); _local13.SetV(_local14); _local7.SetV(_local8); return (2); }; _local38 = ((_local36 + _local37) + _local34); _local38 = (1 / _local38); _local39 = (_local36 * _local38); _local40 = (_local37 * _local38); _local41 = ((1 - _local39) - _local40); _arg1.x = (((_local39 * _local9.x) + (_local40 * _local10.x)) + (_local41 * _local11.x)); _arg1.y = (((_local39 * _local9.y) + (_local40 * _local10.y)) + (_local41 * _local11.y)); _arg2.x = (((_local39 * _local12.x) + (_local40 * _local13.x)) + (_local41 * _local14.x)); _arg2.y = (((_local39 * _local12.y) + (_local40 * _local13.y)) + (_local41 * _local14.y)); return (3); } public static function DistancePC(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2PolygonShape, _arg4:b2XForm, _arg5:b2CircleShape, _arg6:b2XForm):Number{ var _local7:b2Mat22; var _local8:b2Vec2; var _local9:b2Point; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local9 = gPoint; _local8 = _arg5.m_localPosition; _local7 = _arg6.R; _local9.p.x = (_arg6.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); _local9.p.y = (_arg6.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); _local10 = DistanceGeneric(_arg1, _arg2, _arg3, _arg4, _local9, b2Math.b2XForm_identity); _local11 = (_arg5.m_radius - b2Settings.b2_toiSlop); if (_local10 > _local11){ _local10 = (_local10 - _local11); _local12 = (_arg2.x - _arg1.x); _local13 = (_arg2.y - _arg1.y); _local14 = Math.sqrt(((_local12 * _local12) + (_local13 * _local13))); _local12 = (_local12 / _local14); _local13 = (_local13 / _local14); _arg2.x = (_arg2.x - (_local11 * _local12)); _arg2.y = (_arg2.y - (_local11 * _local13)); } else { _local10 = 0; _arg2.x = _arg1.x; _arg2.y = _arg1.y; }; return (_local10); } public static function Distance(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Shape, _arg4:b2XForm, _arg5:b2Shape, _arg6:b2XForm):Number{ var _local7:int; var _local8:int; _local7 = _arg3.m_type; _local8 = _arg5.m_type; if ((((_local7 == b2Shape.e_circleShape)) && ((_local8 == b2Shape.e_circleShape)))){ return (DistanceCC(_arg1, _arg2, (_arg3 as b2CircleShape), _arg4, (_arg5 as b2CircleShape), _arg6)); }; if ((((_local7 == b2Shape.e_polygonShape)) && ((_local8 == b2Shape.e_circleShape)))){ return (DistancePC(_arg1, _arg2, (_arg3 as b2PolygonShape), _arg4, (_arg5 as b2CircleShape), _arg6)); }; if ((((_local7 == b2Shape.e_circleShape)) && ((_local8 == b2Shape.e_polygonShape)))){ return (DistancePC(_arg2, _arg1, (_arg5 as b2PolygonShape), _arg6, (_arg3 as b2CircleShape), _arg4)); }; if ((((_local7 == b2Shape.e_polygonShape)) && ((_local8 == b2Shape.e_polygonShape)))){ return (DistanceGeneric(_arg1, _arg2, (_arg3 as b2PolygonShape), _arg4, (_arg5 as b2PolygonShape), _arg6)); }; return (0); } public static function ProcessTwo(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; _local6 = _arg5[0]; _local7 = _arg5[1]; _local8 = _arg3[0]; _local9 = _arg3[1]; _local10 = _arg4[0]; _local11 = _arg4[1]; _local12 = -(_local7.x); _local13 = -(_local7.y); _local14 = (_local6.x - _local7.x); _local15 = (_local6.y - _local7.y); _local16 = Math.sqrt(((_local14 * _local14) + (_local15 * _local15))); _local14 = (_local14 / _local16); _local15 = (_local15 / _local16); _local17 = ((_local12 * _local14) + (_local13 * _local15)); if ((((_local17 <= 0)) || ((_local16 < Number.MIN_VALUE)))){ _arg1.SetV(_local9); _arg2.SetV(_local11); _local8.SetV(_local9); _local10.SetV(_local11); _local6.SetV(_local7); return (1); }; _local17 = (_local17 / _local16); _arg1.x = (_local9.x + (_local17 * (_local8.x - _local9.x))); _arg1.y = (_local9.y + (_local17 * (_local8.y - _local9.y))); _arg2.x = (_local11.x + (_local17 * (_local10.x - _local11.x))); _arg2.y = (_local11.y + (_local17 * (_local10.y - _local11.y))); return (2); } } }//package Box2D.Collision
Section 18
//b2Manifold (Box2D.Collision.b2Manifold) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2Manifold { public var points:Array; public var pointCount:int;// = 0 public var normal:b2Vec2; public function b2Manifold(){ var _local1:int; pointCount = 0; super(); points = new Array(b2Settings.b2_maxManifoldPoints); _local1 = 0; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ManifoldPoint(); _local1++; }; normal = new b2Vec2(); } public function Set(_arg1:b2Manifold):void{ var _local2:int; pointCount = _arg1.pointCount; _local2 = 0; while (_local2 < b2Settings.b2_maxManifoldPoints) { (points[_local2] as b2ManifoldPoint).Set(_arg1.points[_local2]); _local2++; }; normal.SetV(_arg1.normal); } public function Reset():void{ var _local1:int; _local1 = 0; while (_local1 < b2Settings.b2_maxManifoldPoints) { (points[_local1] as b2ManifoldPoint).Reset(); _local1++; }; normal.SetZero(); pointCount = 0; } } }//package Box2D.Collision
Section 19
//b2ManifoldPoint (Box2D.Collision.b2ManifoldPoint) package Box2D.Collision { import Box2D.Common.Math.*; public class b2ManifoldPoint { public var separation:Number; public var localPoint2:b2Vec2; public var normalImpulse:Number; public var tangentImpulse:Number; public var localPoint1:b2Vec2; public var id:b2ContactID; public function b2ManifoldPoint(){ localPoint1 = new b2Vec2(); localPoint2 = new b2Vec2(); id = new b2ContactID(); super(); } public function Set(_arg1:b2ManifoldPoint):void{ localPoint1.SetV(_arg1.localPoint1); localPoint2.SetV(_arg1.localPoint2); separation = _arg1.separation; normalImpulse = _arg1.normalImpulse; tangentImpulse = _arg1.tangentImpulse; id.key = _arg1.id.key; } public function Reset():void{ localPoint1.SetZero(); localPoint2.SetZero(); separation = 0; normalImpulse = 0; tangentImpulse = 0; id.key = 0; } } }//package Box2D.Collision
Section 20
//b2OBB (Box2D.Collision.b2OBB) package Box2D.Collision { import Box2D.Common.Math.*; public class b2OBB { public var R:b2Mat22; public var center:b2Vec2; public var extents:b2Vec2; public function b2OBB(){ R = new b2Mat22(); center = new b2Vec2(); extents = new b2Vec2(); super(); } } }//package Box2D.Collision
Section 21
//b2Pair (Box2D.Collision.b2Pair) package Box2D.Collision { import Box2D.Common.*; public class b2Pair { public var userData;// = null public var proxyId1:uint; public var proxyId2:uint; public var status:uint; public var next:uint; public static var e_pairFinal:uint = 4; public static var b2_tableMask:int = (b2_tableCapacity - 1); public static var e_pairRemoved:uint = 2; public static var b2_nullPair:uint = b2Settings.USHRT_MAX; public static var e_pairBuffered:uint = 1; public static var b2_nullProxy:uint = b2Settings.USHRT_MAX; public static var b2_tableCapacity:int = b2Settings.b2_maxPairs; public function b2Pair(){ userData = null; super(); } public function SetBuffered():void{ status = (status | e_pairBuffered); } public function IsBuffered():Boolean{ return (((status & e_pairBuffered) == e_pairBuffered)); } public function IsFinal():Boolean{ return (((status & e_pairFinal) == e_pairFinal)); } public function ClearRemoved():void{ status = (status & ~(e_pairRemoved)); } public function SetFinal():void{ status = (status | e_pairFinal); } public function IsRemoved():Boolean{ return (((status & e_pairRemoved) == e_pairRemoved)); } public function ClearBuffered():void{ status = (status & ~(e_pairBuffered)); } public function SetRemoved():void{ status = (status | e_pairRemoved); } } }//package Box2D.Collision
Section 22
//b2PairCallback (Box2D.Collision.b2PairCallback) package Box2D.Collision { public class b2PairCallback { public function PairRemoved(_arg1, _arg2, _arg3):void{ } public function PairAdded(_arg1, _arg2){ return (null); } } }//package Box2D.Collision
Section 23
//b2PairManager (Box2D.Collision.b2PairManager) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2PairManager { public var m_pairCount:int; public var m_pairBuffer:Array; public var m_callback:b2PairCallback; public var m_pairs:Array; public var m_pairBufferCount:int; public var m_hashTable:Array; public var m_broadPhase:b2BroadPhase; public var m_freePair:uint; public function b2PairManager(){ var _local1:uint; super(); m_hashTable = new Array(b2Pair.b2_tableCapacity); _local1 = 0; while (_local1 < b2Pair.b2_tableCapacity) { m_hashTable[_local1] = b2Pair.b2_nullPair; _local1++; }; m_pairs = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1] = new b2Pair(); _local1++; }; m_pairBuffer = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairBuffer[_local1] = new b2BufferedPair(); _local1++; }; _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1].proxyId1 = b2Pair.b2_nullProxy; m_pairs[_local1].proxyId2 = b2Pair.b2_nullProxy; m_pairs[_local1].userData = null; m_pairs[_local1].status = 0; m_pairs[_local1].next = (_local1 + 1); _local1++; }; m_pairs[int((b2Settings.b2_maxPairs - 1))].next = b2Pair.b2_nullPair; m_pairCount = 0; m_pairBufferCount = 0; } private function FindHash(_arg1:uint, _arg2:uint, _arg3:uint):b2Pair{ var _local4:b2Pair; var _local5:uint; _local5 = m_hashTable[_arg3]; _local4 = m_pairs[_local5]; while (((!((_local5 == b2Pair.b2_nullPair))) && ((Equals(_local4, _arg1, _arg2) == false)))) { _local5 = _local4.next; _local4 = m_pairs[_local5]; }; if (_local5 == b2Pair.b2_nullPair){ return (null); }; return (_local4); } private function Find(_arg1:uint, _arg2:uint):b2Pair{ var _local3:uint; var _local4:uint; if (_arg1 > _arg2){ _local4 = _arg1; _arg1 = _arg2; _arg2 = _local4; }; _local3 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); return (FindHash(_arg1, _arg2, _local3)); } private function ValidateBuffer():void{ } public function Commit():void{ var _local1:b2BufferedPair; var _local2:int; var _local3:int; var _local4:Array; var _local5:b2Pair; var _local6:b2Proxy; var _local7:b2Proxy; _local3 = 0; _local4 = m_broadPhase.m_proxyPool; _local2 = 0; while (_local2 < m_pairBufferCount) { _local1 = m_pairBuffer[_local2]; _local5 = Find(_local1.proxyId1, _local1.proxyId2); _local5.ClearBuffered(); _local6 = _local4[_local5.proxyId1]; _local7 = _local4[_local5.proxyId2]; if (_local5.IsRemoved()){ if (_local5.IsFinal() == true){ m_callback.PairRemoved(_local6.userData, _local7.userData, _local5.userData); }; _local1 = m_pairBuffer[_local3]; _local1.proxyId1 = _local5.proxyId1; _local1.proxyId2 = _local5.proxyId2; _local3++; } else { if (_local5.IsFinal() == false){ _local5.userData = m_callback.PairAdded(_local6.userData, _local7.userData); _local5.SetFinal(); }; }; _local2++; }; _local2 = 0; while (_local2 < _local3) { _local1 = m_pairBuffer[_local2]; RemovePair(_local1.proxyId1, _local1.proxyId2); _local2++; }; m_pairBufferCount = 0; if (b2BroadPhase.s_validate){ ValidateTable(); }; } public function RemoveBufferedPair(_arg1:int, _arg2:int):void{ var _local3:b2BufferedPair; var _local4:b2Pair; _local4 = Find(_arg1, _arg2); if (_local4 == null){ return; }; if (_local4.IsBuffered() == false){ _local4.SetBuffered(); _local3 = m_pairBuffer[m_pairBufferCount]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; m_pairBufferCount++; }; _local4.SetRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function RemovePair(_arg1:uint, _arg2:uint){ var _local3:b2Pair; var _local4:uint; var _local5:uint; var _local6:b2Pair; var _local7:uint; var _local8:uint; var _local9:*; if (_arg1 > _arg2){ _local7 = _arg1; _arg1 = _arg2; _arg2 = _local7; }; _local4 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); _local5 = m_hashTable[_local4]; _local6 = null; while (_local5 != b2Pair.b2_nullPair) { if (Equals(m_pairs[_local5], _arg1, _arg2)){ _local8 = _local5; _local3 = m_pairs[_local5]; if (_local6){ _local6.next = _local3.next; } else { m_hashTable[_local4] = _local3.next; }; _local3 = m_pairs[_local8]; _local9 = _local3.userData; _local3.next = m_freePair; _local3.proxyId1 = b2Pair.b2_nullProxy; _local3.proxyId2 = b2Pair.b2_nullProxy; _local3.userData = null; _local3.status = 0; m_freePair = _local8; m_pairCount--; return (_local9); } else { _local6 = m_pairs[_local5]; _local5 = _local6.next; }; }; return (null); } public function Initialize(_arg1:b2BroadPhase, _arg2:b2PairCallback):void{ m_broadPhase = _arg1; m_callback = _arg2; } public function AddBufferedPair(_arg1:int, _arg2:int):void{ var _local3:b2BufferedPair; var _local4:b2Pair; _local4 = AddPair(_arg1, _arg2); if (_local4.IsBuffered() == false){ _local4.SetBuffered(); _local3 = m_pairBuffer[m_pairBufferCount]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; m_pairBufferCount++; }; _local4.ClearRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function AddPair(_arg1:uint, _arg2:uint):b2Pair{ var _local3:uint; var _local4:b2Pair; var _local5:uint; var _local6:uint; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; _local3 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); _local4 = FindHash(_arg1, _arg2, _local3); if (_local4 != null){ return (_local4); }; _local5 = m_freePair; _local4 = m_pairs[_local5]; m_freePair = _local4.next; _local4.proxyId1 = _arg1; _local4.proxyId2 = _arg2; _local4.status = 0; _local4.userData = null; _local4.next = m_hashTable[_local3]; m_hashTable[_local3] = _local5; m_pairCount++; return (_local4); } private function ValidateTable():void{ } public static function EqualsPair(_arg1:b2BufferedPair, _arg2:b2BufferedPair):Boolean{ return ((((_arg1.proxyId1 == _arg2.proxyId1)) && ((_arg1.proxyId2 == _arg2.proxyId2)))); } public static function Hash(_arg1:uint, _arg2:uint):uint{ var _local3:uint; _local3 = (((_arg2 << 16) & 4294901760) | _arg1); _local3 = (~(_local3) + ((_local3 << 15) & 4294934528)); _local3 = (_local3 ^ ((_local3 >> 12) & 1048575)); _local3 = (_local3 + ((_local3 << 2) & 4294967292)); _local3 = (_local3 ^ ((_local3 >> 4) & 268435455)); _local3 = (_local3 * 2057); _local3 = (_local3 ^ ((_local3 >> 16) & 0xFFFF)); return (_local3); } public static function Equals(_arg1:b2Pair, _arg2:uint, _arg3:uint):Boolean{ return ((((_arg1.proxyId1 == _arg2)) && ((_arg1.proxyId2 == _arg3)))); } } }//package Box2D.Collision
Section 24
//b2Point (Box2D.Collision.b2Point) package Box2D.Collision { import Box2D.Common.Math.*; public class b2Point { public var p:b2Vec2; public function b2Point(){ p = new b2Vec2(); super(); } public function GetFirstVertex(_arg1:b2XForm):b2Vec2{ return (p); } public function Support(_arg1:b2XForm, _arg2:Number, _arg3:Number):b2Vec2{ return (p); } } }//package Box2D.Collision
Section 25
//b2Proxy (Box2D.Collision.b2Proxy) package Box2D.Collision { public class b2Proxy { public var overlapCount:uint; public var lowerBounds:Array; public var upperBounds:Array; public var userData;// = null public var timeStamp:uint; public function b2Proxy(){ lowerBounds = [uint(0), uint(0)]; upperBounds = [uint(0), uint(0)]; userData = null; super(); } public function GetNext():uint{ return (lowerBounds[0]); } public function IsValid():Boolean{ return (!((overlapCount == b2BroadPhase.b2_invalid))); } public function SetNext(_arg1:uint):void{ lowerBounds[0] = (_arg1 & 0xFFFF); } } }//package Box2D.Collision
Section 26
//b2Segment (Box2D.Collision.b2Segment) package Box2D.Collision { import Box2D.Common.Math.*; public class b2Segment { public var p1:b2Vec2; public var p2:b2Vec2; public function b2Segment(){ p1 = new b2Vec2(); p2 = new b2Vec2(); super(); } public function TestSegment(_arg1:Array, _arg2:b2Vec2, _arg3:b2Segment, _arg4:Number):Boolean{ var _local5:b2Vec2; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; _local5 = _arg3.p1; _local6 = (_arg3.p2.x - _local5.x); _local7 = (_arg3.p2.y - _local5.y); _local8 = (p2.x - p1.x); _local9 = (p2.y - p1.y); _local10 = _local9; _local11 = -(_local8); _local12 = (100 * Number.MIN_VALUE); _local13 = -(((_local6 * _local10) + (_local7 * _local11))); if (_local13 > _local12){ _local14 = (_local5.x - p1.x); _local15 = (_local5.y - p1.y); _local16 = ((_local14 * _local10) + (_local15 * _local11)); if ((((0 <= _local16)) && ((_local16 <= (_arg4 * _local13))))){ _local17 = ((-(_local7) * _local15) + (_local7 * _local14)); if (((((-(_local12) * _local13) <= _local17)) && ((_local17 <= (_local13 * (1 + _local12)))))){ _local16 = (_local16 / _local13); _local18 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); _local10 = (_local10 / _local18); _local11 = (_local11 / _local18); _arg1[0] = _local16; _arg2.Set(_local10, _local11); return (true); }; }; }; return (false); } public function ExtendForward(_arg1:b2AABB):void{ var dX:Number; var dY:Number; var greaterthan0:*; var lambda:Number; var aabb = _arg1; dX = (p2.x - p1.x); dY = (p2.y - p1.y); greaterthan0 = function (_arg1){ return ((_arg1 > 0)); }; lambda = Math.min(((dX > 0)) ? ((aabb.upperBound.x - p1.x) / dX) : ((dX < 0)) ? ((aabb.lowerBound.x - p1.x) / dX) : Number.POSITIVE_INFINITY, ((dY > 0)) ? ((aabb.upperBound.y - p1.y) / dY) : ((dY < 0)) ? ((aabb.lowerBound.y - p1.y) / dY) : Number.POSITIVE_INFINITY); p2.x = (p1.x + (dX * lambda)); p2.y = (p1.y + (dY * lambda)); } public function Extend(_arg1:b2AABB):void{ ExtendForward(_arg1); ExtendBackward(_arg1); } public function ExtendBackward(_arg1:b2AABB):void{ var dX:Number; var dY:Number; var greaterthan0:*; var lambda:Number; var aabb = _arg1; dX = (-(p2.x) + p1.x); dY = (-(p2.y) + p1.y); greaterthan0 = function (_arg1){ return ((_arg1 > 0)); }; lambda = Math.min(((dX > 0)) ? ((aabb.upperBound.x - p2.x) / dX) : ((dX < 0)) ? ((aabb.lowerBound.x - p2.x) / dX) : Number.POSITIVE_INFINITY, ((dY > 0)) ? ((aabb.upperBound.y - p2.y) / dY) : ((dY < 0)) ? ((aabb.lowerBound.y - p2.y) / dY) : Number.POSITIVE_INFINITY); p1.x = (p2.x + (dX * lambda)); p1.y = (p2.y + (dY * lambda)); } } }//package Box2D.Collision
Section 27
//b2TimeOfImpact (Box2D.Collision.b2TimeOfImpact) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2TimeOfImpact { public static var s_xf1:b2XForm = new b2XForm(); public static var s_xf2:b2XForm = new b2XForm(); public static var s_p1:b2Vec2 = new b2Vec2(); public static var s_p2:b2Vec2 = new b2Vec2(); public static function TimeOfImpact(_arg1:b2Shape, _arg2:b2Sweep, _arg3:b2Shape, _arg4:b2Sweep):Number{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:b2Vec2; var _local18:b2Vec2; var _local19:int; var _local20:int; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:b2XForm; var _local27:b2XForm; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; _local7 = _arg1.m_sweepRadius; _local8 = _arg3.m_sweepRadius; _local9 = _arg2.t0; _local10 = (_arg2.c.x - _arg2.c0.x); _local11 = (_arg2.c.y - _arg2.c0.y); _local12 = (_arg4.c.x - _arg4.c0.x); _local13 = (_arg4.c.y - _arg4.c0.y); _local14 = (_arg2.a - _arg2.a0); _local15 = (_arg4.a - _arg4.a0); _local16 = 0; _local17 = s_p1; _local18 = s_p2; _local19 = 20; _local20 = 0; _local21 = 0; _local22 = 0; _local23 = 0; _local24 = 0; while (true) { _local25 = (((1 - _local16) * _local9) + _local16); _local26 = s_xf1; _local27 = s_xf2; _arg2.GetXForm(_local26, _local25); _arg4.GetXForm(_local27, _local25); _local23 = b2Distance.Distance(_local17, _local18, _arg1, _local26, _arg3, _local27); if (_local20 == 0){ if (_local23 > (2 * b2Settings.b2_toiSlop)){ _local24 = (1.5 * b2Settings.b2_toiSlop); } else { _local5 = (0.05 * b2Settings.b2_toiSlop); _local6 = (_local23 - (0.5 * b2Settings.b2_toiSlop)); _local24 = ((_local5 > _local6)) ? _local5 : _local6; }; }; if (((((_local23 - _local24) < (0.05 * b2Settings.b2_toiSlop))) || ((_local20 == _local19)))){ break; }; _local21 = (_local18.x - _local17.x); _local22 = (_local18.y - _local17.y); _local28 = Math.sqrt(((_local21 * _local21) + (_local22 * _local22))); _local21 = (_local21 / _local28); _local22 = (_local22 / _local28); _local29 = ((((_local21 * (_local10 - _local12)) + (_local22 * (_local11 - _local13))) + (((_local14 < 0)) ? -(_local14) : _local14 * _local7)) + (((_local15 < 0)) ? -(_local15) : _local15 * _local8)); if (_local29 == 0){ _local16 = 1; break; }; _local30 = ((_local23 - _local24) / _local29); _local31 = (_local16 + _local30); if ((((_local31 < 0)) || ((1 < _local31)))){ _local16 = 1; break; }; if (_local31 < ((1 + (100 * Number.MIN_VALUE)) * _local16)){ break; }; _local16 = _local31; _local20++; }; return (_local16); } } }//package Box2D.Collision
Section 28
//ClipVertex (Box2D.Collision.ClipVertex) package Box2D.Collision { import Box2D.Common.Math.*; public class ClipVertex { public var v:b2Vec2; public var id:b2ContactID; public function ClipVertex(){ v = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 29
//Features (Box2D.Collision.Features) package Box2D.Collision { public class Features { public var _referenceEdge:int; public var _incidentEdge:int; public var _flip:int; public var _incidentVertex:int; public var _m_id:b2ContactID; public function get referenceEdge():int{ return (_referenceEdge); } public function set incidentVertex(_arg1:int):void{ _incidentVertex = _arg1; _m_id._key = ((_m_id._key & 4278255615) | ((_incidentVertex << 16) & 0xFF0000)); } public function get flip():int{ return (_flip); } public function get incidentEdge():int{ return (_incidentEdge); } public function set referenceEdge(_arg1:int):void{ _referenceEdge = _arg1; _m_id._key = ((_m_id._key & 4294967040) | (_referenceEdge & 0xFF)); } public function set flip(_arg1:int):void{ _flip = _arg1; _m_id._key = ((_m_id._key & 0xFFFFFF) | ((_flip << 24) & 4278190080)); } public function get incidentVertex():int{ return (_incidentVertex); } public function set incidentEdge(_arg1:int):void{ _incidentEdge = _arg1; _m_id._key = ((_m_id._key & 4294902015) | ((_incidentEdge << 8) & 0xFF00)); } } }//package Box2D.Collision
Section 30
//b2Mat22 (Box2D.Common.Math.b2Mat22) package Box2D.Common.Math { public class b2Mat22 { public var col1:b2Vec2; public var col2:b2Vec2; public function b2Mat22(_arg1:Number=0, _arg2:b2Vec2=null, _arg3:b2Vec2=null){ var _local4:Number; var _local5:Number; col1 = new b2Vec2(); col2 = new b2Vec2(); super(); if (((!((_arg2 == null))) && (!((_arg3 == null))))){ col1.SetV(_arg2); col2.SetV(_arg3); } else { _local4 = Math.cos(_arg1); _local5 = Math.sin(_arg1); col1.x = _local4; col2.x = -(_local5); col1.y = _local5; col2.y = _local4; }; } public function SetIdentity():void{ col1.x = 1; col2.x = 0; col1.y = 0; col2.y = 1; } public function Set(_arg1:Number):void{ var _local2:Number; var _local3:Number; _local2 = Math.cos(_arg1); _local3 = Math.sin(_arg1); col1.x = _local2; col2.x = -(_local3); col1.y = _local3; col2.y = _local2; } public function SetVV(_arg1:b2Vec2, _arg2:b2Vec2):void{ col1.SetV(_arg1); col2.SetV(_arg2); } public function SetZero():void{ col1.x = 0; col2.x = 0; col1.y = 0; col2.y = 0; } public function SetM(_arg1:b2Mat22):void{ col1.SetV(_arg1.col1); col2.SetV(_arg1.col2); } public function AddM(_arg1:b2Mat22):void{ col1.x = (col1.x + _arg1.col1.x); col1.y = (col1.y + _arg1.col1.y); col2.x = (col2.x + _arg1.col2.x); col2.y = (col2.y + _arg1.col2.y); } public function Abs():void{ col1.Abs(); col2.Abs(); } public function Copy():b2Mat22{ return (new b2Mat22(0, col1, col2)); } public function Invert(_arg1:b2Mat22):b2Mat22{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = col1.x; _local3 = col2.x; _local4 = col1.y; _local5 = col2.y; _local6 = ((_local2 * _local5) - (_local3 * _local4)); _local6 = (1 / _local6); _arg1.col1.x = (_local6 * _local5); _arg1.col2.x = (-(_local6) * _local3); _arg1.col1.y = (-(_local6) * _local4); _arg1.col2.y = (_local6 * _local2); return (_arg1); } public function GetAngle():Number{ return (Math.atan2(col1.y, col1.x)); } public function Solve(_arg1:b2Vec2, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local4 = col1.x; _local5 = col2.x; _local6 = col1.y; _local7 = col2.y; _local8 = ((_local4 * _local7) - (_local5 * _local6)); _local8 = (1 / _local8); _arg1.x = (_local8 * ((_local7 * _arg2) - (_local5 * _arg3))); _arg1.y = (_local8 * ((_local4 * _arg3) - (_local6 * _arg2))); return (_arg1); } } }//package Box2D.Common.Math
Section 31
//b2Math (Box2D.Common.Math.b2Math) package Box2D.Common.Math { public class b2Math { public static const b2Mat22_identity:b2Mat22 = new b2Mat22(0, new b2Vec2(1, 0), new b2Vec2(0, 1)); public static const b2XForm_identity:b2XForm = new b2XForm(b2Vec2_zero, b2Mat22_identity); public static const b2Vec2_zero:b2Vec2 = new b2Vec2(0, 0); public static function b2CrossVF(_arg1:b2Vec2, _arg2:Number):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg2 * _arg1.y), (-(_arg2) * _arg1.x)); return (_local3); } public static function AddVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1.x + _arg2.x), (_arg1.y + _arg2.y)); return (_local3); } public static function b2IsValid(_arg1:Number):Boolean{ return (isFinite(_arg1)); } public static function b2MinV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Min(_arg1.x, _arg2.x), b2Min(_arg1.y, _arg2.y)); return (_local3); } public static function b2MulX(_arg1:b2XForm, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = b2MulMV(_arg1.R, _arg2); _local3.x = (_local3.x + _arg1.position.x); _local3.y = (_local3.y + _arg1.position.y); return (_local3); } public static function b2DistanceSquared(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number; var _local4:Number; _local3 = (_arg1.x - _arg2.x); _local4 = (_arg1.y - _arg2.y); return (((_local3 * _local3) + (_local4 * _local4))); } public static function b2Swap(_arg1:Array, _arg2:Array):void{ var _local3:*; _local3 = _arg1[0]; _arg1[0] = _arg2[0]; _arg2[0] = _local3; } public static function b2AbsM(_arg1:b2Mat22):b2Mat22{ var _local2:b2Mat22; _local2 = new b2Mat22(0, b2AbsV(_arg1.col1), b2AbsV(_arg1.col2)); return (_local2); } public static function SubtractVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)); return (_local3); } public static function b2MulXT(_arg1:b2XForm, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; var _local4:Number; _local3 = SubtractVV(_arg2, _arg1.position); _local4 = ((_local3.x * _arg1.R.col1.x) + (_local3.y * _arg1.R.col1.y)); _local3.y = ((_local3.x * _arg1.R.col2.x) + (_local3.y * _arg1.R.col2.y)); _local3.x = _local4; return (_local3); } public static function b2Abs(_arg1:Number):Number{ return (((_arg1 > 0)) ? _arg1 : -(_arg1)); } public static function b2Clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (b2Max(_arg2, b2Min(_arg1, _arg3))); } public static function b2AbsV(_arg1:b2Vec2):b2Vec2{ var _local2:b2Vec2; _local2 = new b2Vec2(b2Abs(_arg1.x), b2Abs(_arg1.y)); return (_local2); } public static function MulFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1 * _arg2.x), (_arg1 * _arg2.y)); return (_local3); } public static function b2CrossVV(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x))); } public static function b2Dot(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y))); } public static function b2CrossFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((-(_arg1) * _arg2.y), (_arg1 * _arg2.x)); return (_local3); } public static function AddMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22; _local3 = new b2Mat22(0, AddVV(_arg1.col1, _arg2.col1), AddVV(_arg1.col2, _arg2.col2)); return (_local3); } public static function b2Distance(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number; var _local4:Number; _local3 = (_arg1.x - _arg2.x); _local4 = (_arg1.y - _arg2.y); return (Math.sqrt(((_local3 * _local3) + (_local4 * _local4)))); } public static function b2MulTMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Vec2; var _local4:b2Vec2; var _local5:b2Mat22; _local3 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col1), b2Dot(_arg1.col2, _arg2.col1)); _local4 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col2), b2Dot(_arg1.col2, _arg2.col2)); _local5 = new b2Mat22(0, _local3, _local4); return (_local5); } public static function b2MaxV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Max(_arg1.x, _arg2.x), b2Max(_arg1.y, _arg2.y)); return (_local3); } public static function b2IsPowerOfTwo(_arg1:uint):Boolean{ var _local2:Boolean; _local2 = (((_arg1 > 0)) && (((_arg1 & (_arg1 - 1)) == 0))); return (_local2); } public static function b2ClampV(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Vec2):b2Vec2{ return (b2MaxV(_arg2, b2MinV(_arg1, _arg3))); } public static function b2RandomRange(_arg1:Number, _arg2:Number):Number{ var _local3:Number; _local3 = Math.random(); _local3 = (((_arg2 - _arg1) * _local3) + _arg1); return (_local3); } public static function b2MulTMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Dot(_arg2, _arg1.col1), b2Dot(_arg2, _arg1.col2)); return (_local3); } public static function b2Min(_arg1:Number, _arg2:Number):Number{ return (((_arg1 < _arg2)) ? _arg1 : _arg2); } public static function b2Random():Number{ return (((Math.random() * 2) - 1)); } public static function b2MulMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22; _local3 = new b2Mat22(0, b2MulMV(_arg1, _arg2.col1), b2MulMV(_arg1, _arg2.col2)); return (_local3); } public static function b2NextPowerOfTwo(_arg1:uint):uint{ _arg1 = (_arg1 | ((_arg1 >> 1) & 2147483647)); _arg1 = (_arg1 | ((_arg1 >> 2) & 1073741823)); _arg1 = (_arg1 | ((_arg1 >> 4) & 268435455)); _arg1 = (_arg1 | ((_arg1 >> 8) & 0xFFFFFF)); _arg1 = (_arg1 | ((_arg1 >> 16) & 0xFFFF)); return ((_arg1 + 1)); } public static function b2Max(_arg1:Number, _arg2:Number):Number{ return (((_arg1 > _arg2)) ? _arg1 : _arg2); } public static function b2MulMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(((_arg1.col1.x * _arg2.x) + (_arg1.col2.x * _arg2.y)), ((_arg1.col1.y * _arg2.x) + (_arg1.col2.y * _arg2.y))); return (_local3); } } }//package Box2D.Common.Math
Section 32
//b2Sweep (Box2D.Common.Math.b2Sweep) package Box2D.Common.Math { public class b2Sweep { public var localCenter:b2Vec2; public var c:b2Vec2; public var a:Number; public var c0:b2Vec2; public var a0:Number; public var t0:Number; public function b2Sweep(){ localCenter = new b2Vec2(); c0 = new b2Vec2(); c = new b2Vec2(); super(); } public function Advance(_arg1:Number):void{ var _local2:Number; if ((((t0 < _arg1)) && (((1 - t0) > Number.MIN_VALUE)))){ _local2 = ((_arg1 - t0) / (1 - t0)); c0.x = (((1 - _local2) * c0.x) + (_local2 * c.x)); c0.y = (((1 - _local2) * c0.y) + (_local2 * c.y)); a0 = (((1 - _local2) * a0) + (_local2 * a)); t0 = _arg1; }; } public function GetXForm(_arg1:b2XForm, _arg2:Number):void{ var _local3:b2Mat22; var _local4:Number; var _local5:Number; if ((1 - t0) > Number.MIN_VALUE){ _local4 = ((_arg2 - t0) / (1 - t0)); _arg1.position.x = (((1 - _local4) * c0.x) + (_local4 * c.x)); _arg1.position.y = (((1 - _local4) * c0.y) + (_local4 * c.y)); _local5 = (((1 - _local4) * a0) + (_local4 * a)); _arg1.R.Set(_local5); } else { _arg1.position.SetV(c); _arg1.R.Set(a); }; _local3 = _arg1.R; _arg1.position.x = (_arg1.position.x - ((_local3.col1.x * localCenter.x) + (_local3.col2.x * localCenter.y))); _arg1.position.y = (_arg1.position.y - ((_local3.col1.y * localCenter.x) + (_local3.col2.y * localCenter.y))); } } }//package Box2D.Common.Math
Section 33
//b2Vec2 (Box2D.Common.Math.b2Vec2) package Box2D.Common.Math { public class b2Vec2 { public var x:Number; public var y:Number; public function b2Vec2(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Set(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Multiply(_arg1:Number):void{ x = (x * _arg1); y = (y * _arg1); } public function Length():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function LengthSquared():Number{ return (((x * x) + (y * y))); } public function SetZero():void{ x = 0; y = 0; } public function Add(_arg1:b2Vec2):void{ x = (x + _arg1.x); y = (y + _arg1.y); } public function MaxV(_arg1:b2Vec2):void{ x = ((x > _arg1.x)) ? x : _arg1.x; y = ((y > _arg1.y)) ? y : _arg1.y; } public function SetV(_arg1:b2Vec2):void{ x = _arg1.x; y = _arg1.y; } public function Negative():b2Vec2{ return (new b2Vec2(-(x), -(y))); } public function CrossVF(_arg1:Number):void{ var _local2:Number; _local2 = x; x = (_arg1 * y); y = (-(_arg1) * _local2); } public function Abs():void{ if (x < 0){ x = -(x); }; if (y < 0){ y = -(y); }; } public function Copy():b2Vec2{ return (new b2Vec2(x, y)); } public function MulTM(_arg1:b2Mat22):void{ var _local2:Number; _local2 = b2Math.b2Dot(this, _arg1.col1); y = b2Math.b2Dot(this, _arg1.col2); x = _local2; } public function IsValid():Boolean{ return (((b2Math.b2IsValid(x)) && (b2Math.b2IsValid(y)))); } public function MinV(_arg1:b2Vec2):void{ x = ((x < _arg1.x)) ? x : _arg1.x; y = ((y < _arg1.y)) ? y : _arg1.y; } public function MulM(_arg1:b2Mat22):void{ var _local2:Number; _local2 = x; x = ((_arg1.col1.x * _local2) + (_arg1.col2.x * y)); y = ((_arg1.col1.y * _local2) + (_arg1.col2.y * y)); } public function Normalize():Number{ var _local1:Number; var _local2:Number; _local1 = Math.sqrt(((x * x) + (y * y))); if (_local1 < Number.MIN_VALUE){ return (0); }; _local2 = (1 / _local1); x = (x * _local2); y = (y * _local2); return (_local1); } public function Subtract(_arg1:b2Vec2):void{ x = (x - _arg1.x); y = (y - _arg1.y); } public function CrossFV(_arg1:Number):void{ var _local2:Number; _local2 = x; x = (-(_arg1) * y); y = (_arg1 * _local2); } public static function Make(_arg1:Number, _arg2:Number):b2Vec2{ return (new b2Vec2(_arg1, _arg2)); } } }//package Box2D.Common.Math
Section 34
//b2XForm (Box2D.Common.Math.b2XForm) package Box2D.Common.Math { public class b2XForm { public var R:b2Mat22; public var position:b2Vec2; public function b2XForm(_arg1:b2Vec2=null, _arg2:b2Mat22=null):void{ position = new b2Vec2(); R = new b2Mat22(); super(); if (_arg1){ position.SetV(_arg1); R.SetM(_arg2); }; } public function Initialize(_arg1:b2Vec2, _arg2:b2Mat22):void{ position.SetV(_arg1); R.SetM(_arg2); } public function Set(_arg1:b2XForm):void{ position.SetV(_arg1.position); R.SetM(_arg1.R); } public function SetIdentity():void{ position.SetZero(); R.SetIdentity(); } } }//package Box2D.Common.Math
Section 35
//b2Color (Box2D.Common.b2Color) package Box2D.Common { import Box2D.Common.Math.*; public class b2Color { private var _g:uint;// = 0 private var _b:uint;// = 0 private var _r:uint;// = 0 public function b2Color(_arg1:Number, _arg2:Number, _arg3:Number){ _r = 0; _g = 0; _b = 0; super(); _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); _g = uint((0xFF * b2Math.b2Clamp(_arg2, 0, 1))); _b = uint((0xFF * b2Math.b2Clamp(_arg3, 0, 1))); } public function Set(_arg1:Number, _arg2:Number, _arg3:Number):void{ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); _g = uint((0xFF * b2Math.b2Clamp(_arg2, 0, 1))); _b = uint((0xFF * b2Math.b2Clamp(_arg3, 0, 1))); } public function get color():uint{ return (((_r | (_g << 8)) | (_b << 16))); } public function set r(_arg1:Number):void{ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } public function set b(_arg1:Number):void{ _b = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } public function set g(_arg1:Number):void{ _g = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } } }//package Box2D.Common
Section 36
//b2Settings (Box2D.Common.b2Settings) package Box2D.Common { import Box2D.Common.Math.*; public class b2Settings { public static const b2_angularSleepTolerance:Number = 0.0111111111111111; public static const b2_linearSleepTolerance:Number = 0.01; public static const b2_angularSlop:Number = 0.0349065850398866; public static const b2_linearSlop:Number = 0.005; public static const b2_pi:Number = 3.14159265358979; public static const b2_maxProxies:int = 0x0400; public static const b2_maxAngularVelocitySquared:Number = 62500; public static const b2_maxPolygonVertices:int = 16; public static const b2_velocityThreshold:Number = 1; public static const b2_contactBaumgarte:Number = 0.2; public static const b2_maxPairs:int = 8192; public static const b2_maxTOIContactsPerIsland:int = 32; public static const b2_timeToSleep:Number = 0.5; public static const b2_maxManifoldPoints:int = 2; public static const b2_maxAngularVelocity:Number = 250; public static const b2_maxAngularCorrection:Number = 0.139626340159546; public static const USHRT_MAX:int = 0xFFFF; public static const b2_maxLinearVelocity:Number = 200; public static const b2_maxLinearCorrection:Number = 0.2; public static const b2_toiSlop:Number = 0.04; public static const b2_maxLinearVelocitySquared:Number = 40000; public static function b2Assert(_arg1:Boolean):void{ var _local2:b2Vec2; if (!_arg1){ _local2.x++; }; } } }//package Box2D.Common
Section 37
//b2CircleContact (Box2D.Dynamics.Contacts.b2CircleContact) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; public class b2CircleContact extends b2Contact { private var m_manifolds:Array; private var m0:b2Manifold; public var m_manifold:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2CircleContact(_arg1:b2Shape, _arg2:b2Shape){ var _local3:b2ManifoldPoint; m_manifolds = [new b2Manifold()]; m0 = new b2Manifold(); super(_arg1, _arg2); m_manifold = m_manifolds[0]; m_manifold.pointCount = 0; _local3 = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function GetManifolds():Array{ return (m_manifolds); } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local5:b2Body; var _local6:b2Body; var _local7:b2ContactPoint; var _local8:b2ManifoldPoint; _local5 = m_shape1.m_body; _local6 = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollideCircles(m_manifold, (m_shape1 as b2CircleShape), _local5.m_xf, (m_shape2 as b2CircleShape), _local6.m_xf); _local7 = s_evalCP; _local7.shape1 = m_shape1; _local7.shape2 = m_shape2; _local7.friction = m_friction; _local7.restitution = m_restitution; if (m_manifold.pointCount > 0){ m_manifoldCount = 1; _local8 = m_manifold.points[0]; if (m0.pointCount == 0){ _local8.normalImpulse = 0; _local8.tangentImpulse = 0; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local8.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local8.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local8.separation; _local7.id.key = _local8.id._key; _arg1.Add(_local7); }; } else { _local4 = m0.points[0]; _local8.normalImpulse = _local4.normalImpulse; _local8.tangentImpulse = _local4.tangentImpulse; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local8.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local8.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local8.separation; _local7.id.key = _local8.id._key; _arg1.Persist(_local7); }; }; } else { m_manifoldCount = 0; if ((((m0.pointCount > 0)) && (_arg1))){ _local4 = m0.points[0]; _local7.position = _local5.GetWorldPoint(_local4.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local4.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local4.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m0.normal); _local7.separation = _local4.separation; _local7.id.key = _local4.id._key; _arg1.Remove(_local7); }; }; } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2CircleContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 38
//b2Contact (Box2D.Dynamics.Contacts.b2Contact) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Contact { public var m_shape1:b2Shape; public var m_shape2:b2Shape; public var m_prev:b2Contact; public var m_toi:Number; public var m_next:b2Contact; public var m_friction:Number; public var m_manifoldCount:int; public var m_node1:b2ContactEdge; public var m_node2:b2ContactEdge; public var m_restitution:Number; public var m_flags:uint; public static var e_toiFlag:uint = 8; public static var e_nonSolidFlag:uint = 1; public static var e_slowFlag:uint = 2; public static var e_islandFlag:uint = 4; public static var s_registers:Array; public static var s_initialized:Boolean = false; public function b2Contact(_arg1:b2Shape=null, _arg2:b2Shape=null){ m_node1 = new b2ContactEdge(); m_node2 = new b2ContactEdge(); super(); m_flags = 0; if (((!(_arg1)) || (!(_arg2)))){ m_shape1 = null; m_shape2 = null; return; }; if (((_arg1.IsSensor()) || (_arg2.IsSensor()))){ m_flags = (m_flags | e_nonSolidFlag); }; m_shape1 = _arg1; m_shape2 = _arg2; m_manifoldCount = 0; m_friction = Math.sqrt((m_shape1.m_friction * m_shape2.m_friction)); m_restitution = b2Math.b2Max(m_shape1.m_restitution, m_shape2.m_restitution); m_prev = null; m_next = null; m_node1.contact = null; m_node1.prev = null; m_node1.next = null; m_node1.other = null; m_node2.contact = null; m_node2.prev = null; m_node2.next = null; m_node2.other = null; } public function GetShape1():b2Shape{ return (m_shape1); } public function IsSolid():Boolean{ return (((m_flags & e_nonSolidFlag) == 0)); } public function GetNext():b2Contact{ return (m_next); } public function GetManifolds():Array{ return (null); } public function GetShape2():b2Shape{ return (m_shape2); } public function GetManifoldCount():int{ return (m_manifoldCount); } public function Update(_arg1:b2ContactListener):void{ var _local2:int; var _local3:int; var _local4:b2Body; var _local5:b2Body; _local2 = m_manifoldCount; Evaluate(_arg1); _local3 = m_manifoldCount; _local4 = m_shape1.m_body; _local5 = m_shape2.m_body; if ((((_local3 == 0)) && ((_local2 > 0)))){ _local4.WakeUp(); _local5.WakeUp(); }; if (((((((_local4.IsStatic()) || (_local4.IsBullet()))) || (_local5.IsStatic()))) || (_local5.IsBullet()))){ m_flags = (m_flags & ~(e_slowFlag)); } else { m_flags = (m_flags | e_slowFlag); }; } public function Evaluate(_arg1:b2ContactListener):void{ } public static function InitializeRegisters():void{ var _local1:int; var _local2:int; s_registers = new Array(b2Shape.e_shapeTypeCount); _local1 = 0; while (_local1 < b2Shape.e_shapeTypeCount) { s_registers[_local1] = new Array(b2Shape.e_shapeTypeCount); _local2 = 0; while (_local2 < b2Shape.e_shapeTypeCount) { s_registers[_local1][_local2] = new b2ContactRegister(); _local2++; }; _local1++; }; AddType(b2CircleContact.Create, b2CircleContact.Destroy, b2Shape.e_circleShape, b2Shape.e_circleShape); AddType(b2PolyAndCircleContact.Create, b2PolyAndCircleContact.Destroy, b2Shape.e_polygonShape, b2Shape.e_circleShape); AddType(b2PolygonContact.Create, b2PolygonContact.Destroy, b2Shape.e_polygonShape, b2Shape.e_polygonShape); } public static function Destroy(_arg1:b2Contact, _arg2):void{ var _local3:int; var _local4:int; var _local5:b2ContactRegister; var _local6:Function; if (_arg1.m_manifoldCount > 0){ _arg1.m_shape1.m_body.WakeUp(); _arg1.m_shape2.m_body.WakeUp(); }; _local3 = _arg1.m_shape1.m_type; _local4 = _arg1.m_shape2.m_type; _local5 = s_registers[_local3][_local4]; _local6 = _local5.destroyFcn; _local6(_arg1, _arg2); } public static function AddType(_arg1:Function, _arg2:Function, _arg3:int, _arg4:int):void{ s_registers[_arg3][_arg4].createFcn = _arg1; s_registers[_arg3][_arg4].destroyFcn = _arg2; s_registers[_arg3][_arg4].primary = true; if (_arg3 != _arg4){ s_registers[_arg4][_arg3].createFcn = _arg1; s_registers[_arg4][_arg3].destroyFcn = _arg2; s_registers[_arg4][_arg3].primary = false; }; } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ var _local4:int; var _local5:int; var _local6:b2ContactRegister; var _local7:Function; var _local8:b2Contact; var _local9:int; var _local10:b2Manifold; if (s_initialized == false){ InitializeRegisters(); s_initialized = true; }; _local4 = _arg1.m_type; _local5 = _arg2.m_type; _local6 = s_registers[_local4][_local5]; _local7 = _local6.createFcn; if (_local7 != null){ if (_local6.primary){ return (_local7(_arg1, _arg2, _arg3)); }; _local8 = _local7(_arg2, _arg1, _arg3); _local9 = 0; while (_local9 < _local8.m_manifoldCount) { _local10 = _local8.GetManifolds()[_local9]; _local8.GetManifolds()[_local9].normal = _local10.normal.Negative(); _local9++; }; return (_local8); //unresolved jump }; return (null); } } }//package Box2D.Dynamics.Contacts
Section 39
//b2ContactConstraint (Box2D.Dynamics.Contacts.b2ContactConstraint) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2ContactConstraint { public var points:Array; public var restitution:Number; public var body1:b2Body; public var manifold:b2Manifold; public var normal:b2Vec2; public var body2:b2Body; public var friction:Number; public var pointCount:int; public function b2ContactConstraint(){ var _local1:int; normal = new b2Vec2(); super(); points = new Array(b2Settings.b2_maxManifoldPoints); _local1 = 0; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ContactConstraintPoint(); _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 40
//b2ContactConstraintPoint (Box2D.Dynamics.Contacts.b2ContactConstraintPoint) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; public class b2ContactConstraintPoint { public var r2:b2Vec2; public var separation:Number; public var positionImpulse:Number; public var normalImpulse:Number; public var equalizedMass:Number; public var tangentMass:Number; public var tangentImpulse:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var normalMass:Number; public var velocityBias:Number; public var r1:b2Vec2; public function b2ContactConstraintPoint(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); r1 = new b2Vec2(); r2 = new b2Vec2(); super(); } } }//package Box2D.Dynamics.Contacts
Section 41
//b2ContactEdge (Box2D.Dynamics.Contacts.b2ContactEdge) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2ContactEdge { public var next:b2ContactEdge; public var other:b2Body; public var contact:b2Contact; public var prev:b2ContactEdge; } }//package Box2D.Dynamics.Contacts
Section 42
//b2ContactRegister (Box2D.Dynamics.Contacts.b2ContactRegister) package Box2D.Dynamics.Contacts { public class b2ContactRegister { public var primary:Boolean; public var createFcn:Function; public var destroyFcn:Function; } }//package Box2D.Dynamics.Contacts
Section 43
//b2ContactResult (Box2D.Dynamics.Contacts.b2ContactResult) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Collision.Shapes.*; public class b2ContactResult { public var normal:b2Vec2; public var position:b2Vec2; public var shape1:b2Shape; public var shape2:b2Shape; public var normalImpulse:Number; public var tangentImpulse:Number; public var id:b2ContactID; public function b2ContactResult(){ position = new b2Vec2(); normal = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Dynamics.Contacts
Section 44
//b2ContactSolver (Box2D.Dynamics.Contacts.b2ContactSolver) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2ContactSolver { public var m_constraintCount:int; public var m_constraints:Array; public var m_allocator; public var m_step:b2TimeStep; public function b2ContactSolver(_arg1:b2TimeStep, _arg2:Array, _arg3:int, _arg4){ var _local5:b2Contact; var _local6:int; var _local7:b2Vec2; var _local8:b2Mat22; var _local9:int; var _local10:b2Body; var _local11:b2Body; var _local12:int; var _local13:Array; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:b2Manifold; var _local24:Number; var _local25:Number; var _local26:b2ContactConstraint; var _local27:uint; var _local28:b2ManifoldPoint; var _local29:b2ContactConstraintPoint; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local39:Number; var _local40:Number; var _local41:Number; var _local42:Number; var _local43:Number; var _local44:Number; var _local45:Number; var _local46:Number; var _local47:Number; m_step = new b2TimeStep(); m_constraints = new Array(); super(); m_step.dt = _arg1.dt; m_step.inv_dt = _arg1.inv_dt; m_step.maxIterations = _arg1.maxIterations; m_allocator = _arg4; m_constraintCount = 0; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; m_constraintCount = (m_constraintCount + _local5.m_manifoldCount); _local6++; }; _local6 = 0; while (_local6 < m_constraintCount) { m_constraints[_local6] = new b2ContactConstraint(); _local6++; }; _local9 = 0; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; _local10 = _local5.m_shape1.m_body; _local11 = _local5.m_shape2.m_body; _local12 = _local5.m_manifoldCount; _local13 = _local5.GetManifolds(); _local14 = _local5.m_friction; _local15 = _local5.m_restitution; _local16 = _local10.m_linearVelocity.x; _local17 = _local10.m_linearVelocity.y; _local18 = _local11.m_linearVelocity.x; _local19 = _local11.m_linearVelocity.y; _local20 = _local10.m_angularVelocity; _local21 = _local11.m_angularVelocity; _local22 = 0; while (_local22 < _local12) { _local23 = _local13[_local22]; _local24 = _local23.normal.x; _local25 = _local23.normal.y; _local26 = m_constraints[_local9]; _local26.body1 = _local10; _local26.body2 = _local11; _local26.manifold = _local23; _local26.normal.x = _local24; _local26.normal.y = _local25; _local26.pointCount = _local23.pointCount; _local26.friction = _local14; _local26.restitution = _local15; _local27 = 0; while (_local27 < _local26.pointCount) { _local28 = _local23.points[_local27]; _local29 = _local26.points[_local27]; _local29.normalImpulse = _local28.normalImpulse; _local29.tangentImpulse = _local28.tangentImpulse; _local29.separation = _local28.separation; _local29.positionImpulse = 0; _local29.localAnchor1.SetV(_local28.localPoint1); _local29.localAnchor2.SetV(_local28.localPoint2); _local8 = _local10.m_xf.R; _local32 = (_local28.localPoint1.x - _local10.m_sweep.localCenter.x); _local33 = (_local28.localPoint1.y - _local10.m_sweep.localCenter.y); _local30 = ((_local8.col1.x * _local32) + (_local8.col2.x * _local33)); _local33 = ((_local8.col1.y * _local32) + (_local8.col2.y * _local33)); _local32 = _local30; _local29.r1.Set(_local32, _local33); _local8 = _local11.m_xf.R; _local34 = (_local28.localPoint2.x - _local11.m_sweep.localCenter.x); _local35 = (_local28.localPoint2.y - _local11.m_sweep.localCenter.y); _local30 = ((_local8.col1.x * _local34) + (_local8.col2.x * _local35)); _local35 = ((_local8.col1.y * _local34) + (_local8.col2.y * _local35)); _local34 = _local30; _local29.r2.Set(_local34, _local35); _local36 = ((_local32 * _local32) + (_local33 * _local33)); _local37 = ((_local34 * _local34) + (_local35 * _local35)); _local38 = ((_local32 * _local24) + (_local33 * _local25)); _local39 = ((_local34 * _local24) + (_local35 * _local25)); _local40 = (_local10.m_invMass + _local11.m_invMass); _local40 = (_local40 + ((_local10.m_invI * (_local36 - (_local38 * _local38))) + (_local11.m_invI * (_local37 - (_local39 * _local39))))); _local29.normalMass = (1 / _local40); _local41 = ((_local10.m_mass * _local10.m_invMass) + (_local11.m_mass * _local11.m_invMass)); _local41 = (_local41 + (((_local10.m_mass * _local10.m_invI) * (_local36 - (_local38 * _local38))) + ((_local11.m_mass * _local11.m_invI) * (_local37 - (_local39 * _local39))))); _local29.equalizedMass = (1 / _local41); _local42 = _local25; _local43 = -(_local24); _local44 = ((_local32 * _local42) + (_local33 * _local43)); _local45 = ((_local34 * _local42) + (_local35 * _local43)); _local46 = (_local10.m_invMass + _local11.m_invMass); _local46 = (_local46 + ((_local10.m_invI * (_local36 - (_local44 * _local44))) + (_local11.m_invI * (_local37 - (_local45 * _local45))))); _local29.tangentMass = (1 / _local46); _local29.velocityBias = 0; if (_local29.separation > 0){ _local29.velocityBias = (-60 * _local29.separation); }; _local30 = (((_local18 + (-(_local21) * _local35)) - _local16) - (-(_local20) * _local33)); _local31 = (((_local19 + (_local21 * _local34)) - _local17) - (_local20 * _local32)); _local47 = ((_local26.normal.x * _local30) + (_local26.normal.y * _local31)); if (_local47 < -(b2Settings.b2_velocityThreshold)){ _local29.velocityBias = (_local29.velocityBias + (-(_local26.restitution) * _local47)); }; _local27++; }; _local9++; _local22++; }; _local6++; }; } public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2Mat22; var _local5:int; var _local6:b2ContactConstraint; var _local7:b2Body; var _local8:b2Body; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:int; var _local20:b2ContactConstraintPoint; var _local21:Number; var _local22:Number; var _local23:b2ContactConstraintPoint; _local5 = 0; while (_local5 < m_constraintCount) { _local6 = m_constraints[_local5]; _local7 = _local6.body1; _local8 = _local6.body2; _local9 = _local7.m_invMass; _local10 = _local7.m_invI; _local11 = _local8.m_invMass; _local12 = _local8.m_invI; _local13 = _local6.normal.x; _local14 = _local6.normal.y; _local15 = _local14; _local16 = -(_local13); if (_arg1.warmStarting){ _local19 = _local6.pointCount; _local18 = 0; while (_local18 < _local19) { _local20 = _local6.points[_local18]; _local6.points[_local18].normalImpulse = (_local20.normalImpulse * _arg1.dtRatio); _local20.tangentImpulse = (_local20.tangentImpulse * _arg1.dtRatio); _local21 = ((_local20.normalImpulse * _local13) + (_local20.tangentImpulse * _local15)); _local22 = ((_local20.normalImpulse * _local14) + (_local20.tangentImpulse * _local16)); _local7.m_angularVelocity = (_local7.m_angularVelocity - (_local10 * ((_local20.r1.x * _local22) - (_local20.r1.y * _local21)))); _local7.m_linearVelocity.x = (_local7.m_linearVelocity.x - (_local9 * _local21)); _local7.m_linearVelocity.y = (_local7.m_linearVelocity.y - (_local9 * _local22)); _local8.m_angularVelocity = (_local8.m_angularVelocity + (_local12 * ((_local20.r2.x * _local22) - (_local20.r2.y * _local21)))); _local8.m_linearVelocity.x = (_local8.m_linearVelocity.x + (_local11 * _local21)); _local8.m_linearVelocity.y = (_local8.m_linearVelocity.y + (_local11 * _local22)); _local18++; }; } else { _local19 = _local6.pointCount; _local18 = 0; while (_local18 < _local19) { _local23 = _local6.points[_local18]; _local23.normalImpulse = 0; _local23.tangentImpulse = 0; _local18++; }; }; _local5++; }; } public function SolvePositionConstraints(_arg1:Number):Boolean{ var _local2:Number; var _local3:b2Mat22; var _local4:b2Vec2; var _local5:int; var _local6:b2ContactConstraint; var _local7:b2Body; var _local8:b2Body; var _local9:b2Vec2; var _local10:Number; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:int; var _local20:int; var _local21:b2ContactConstraintPoint; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; _local2 = 0; _local5 = 0; while (_local5 < m_constraintCount) { _local6 = m_constraints[_local5]; _local7 = _local6.body1; _local8 = _local6.body2; _local9 = _local7.m_sweep.c; _local10 = _local7.m_sweep.a; _local11 = _local8.m_sweep.c; _local12 = _local8.m_sweep.a; _local13 = (_local7.m_mass * _local7.m_invMass); _local14 = (_local7.m_mass * _local7.m_invI); _local15 = (_local8.m_mass * _local8.m_invMass); _local16 = (_local8.m_mass * _local8.m_invI); _local17 = _local6.normal.x; _local18 = _local6.normal.y; _local19 = _local6.pointCount; _local20 = 0; while (_local20 < _local19) { _local21 = _local6.points[_local20]; _local3 = _local7.m_xf.R; _local4 = _local7.m_sweep.localCenter; _local22 = (_local21.localAnchor1.x - _local4.x); _local23 = (_local21.localAnchor1.y - _local4.y); _local26 = ((_local3.col1.x * _local22) + (_local3.col2.x * _local23)); _local23 = ((_local3.col1.y * _local22) + (_local3.col2.y * _local23)); _local22 = _local26; _local3 = _local8.m_xf.R; _local4 = _local8.m_sweep.localCenter; _local24 = (_local21.localAnchor2.x - _local4.x); _local25 = (_local21.localAnchor2.y - _local4.y); _local26 = ((_local3.col1.x * _local24) + (_local3.col2.x * _local25)); _local25 = ((_local3.col1.y * _local24) + (_local3.col2.y * _local25)); _local24 = _local26; _local27 = (_local9.x + _local22); _local28 = (_local9.y + _local23); _local29 = (_local11.x + _local24); _local30 = (_local11.y + _local25); _local31 = (_local29 - _local27); _local32 = (_local30 - _local28); _local33 = (((_local31 * _local17) + (_local32 * _local18)) + _local21.separation); _local2 = b2Math.b2Min(_local2, _local33); _local34 = (_arg1 * b2Math.b2Clamp((_local33 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0)); _local35 = (-(_local21.equalizedMass) * _local34); _local36 = _local21.positionImpulse; _local21.positionImpulse = b2Math.b2Max((_local36 + _local35), 0); _local35 = (_local21.positionImpulse - _local36); _local37 = (_local35 * _local17); _local38 = (_local35 * _local18); _local9.x = (_local9.x - (_local13 * _local37)); _local9.y = (_local9.y - (_local13 * _local38)); _local10 = (_local10 - (_local14 * ((_local22 * _local38) - (_local23 * _local37)))); _local7.m_sweep.a = _local10; _local7.SynchronizeTransform(); _local11.x = (_local11.x + (_local15 * _local37)); _local11.y = (_local11.y + (_local15 * _local38)); _local12 = (_local12 + (_local16 * ((_local24 * _local38) - (_local25 * _local37)))); _local8.m_sweep.a = _local12; _local8.SynchronizeTransform(); _local20++; }; _local5++; }; return ((_local2 >= (-1.5 * b2Settings.b2_linearSlop))); } public function SolveVelocityConstraints():void{ var _local1:int; var _local2:b2ContactConstraintPoint; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:b2Mat22; var _local18:b2Vec2; var _local19:int; var _local20:b2ContactConstraint; var _local21:b2Body; var _local22:b2Body; var _local23:Number; var _local24:Number; var _local25:b2Vec2; var _local26:b2Vec2; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:int; var _local38:Number; _local19 = 0; while (_local19 < m_constraintCount) { _local20 = m_constraints[_local19]; _local21 = _local20.body1; _local22 = _local20.body2; _local23 = _local21.m_angularVelocity; _local24 = _local22.m_angularVelocity; _local25 = _local21.m_linearVelocity; _local26 = _local22.m_linearVelocity; _local27 = _local21.m_invMass; _local28 = _local21.m_invI; _local29 = _local22.m_invMass; _local30 = _local22.m_invI; _local31 = _local20.normal.x; _local32 = _local20.normal.y; _local33 = _local32; _local34 = -(_local31); _local35 = _local20.friction; _local37 = _local20.pointCount; _local1 = 0; while (_local1 < _local37) { _local2 = _local20.points[_local1]; _local7 = (((_local26.x + (-(_local24) * _local2.r2.y)) - _local25.x) - (-(_local23) * _local2.r1.y)); _local8 = (((_local26.y + (_local24 * _local2.r2.x)) - _local25.y) - (_local23 * _local2.r1.x)); _local9 = ((_local7 * _local31) + (_local8 * _local32)); _local11 = (-(_local2.normalMass) * (_local9 - _local2.velocityBias)); _local10 = ((_local7 * _local33) + (_local8 * _local34)); _local12 = (_local2.tangentMass * -(_local10)); _local13 = b2Math.b2Max((_local2.normalImpulse + _local11), 0); _local11 = (_local13 - _local2.normalImpulse); _local38 = (_local35 * _local2.normalImpulse); _local14 = b2Math.b2Clamp((_local2.tangentImpulse + _local12), -(_local38), _local38); _local12 = (_local14 - _local2.tangentImpulse); _local15 = ((_local11 * _local31) + (_local12 * _local33)); _local16 = ((_local11 * _local32) + (_local12 * _local34)); _local25.x = (_local25.x - (_local27 * _local15)); _local25.y = (_local25.y - (_local27 * _local16)); _local23 = (_local23 - (_local28 * ((_local2.r1.x * _local16) - (_local2.r1.y * _local15)))); _local26.x = (_local26.x + (_local29 * _local15)); _local26.y = (_local26.y + (_local29 * _local16)); _local24 = (_local24 + (_local30 * ((_local2.r2.x * _local16) - (_local2.r2.y * _local15)))); _local2.normalImpulse = _local13; _local2.tangentImpulse = _local14; _local1++; }; _local21.m_angularVelocity = _local23; _local22.m_angularVelocity = _local24; _local19++; }; } public function FinalizeVelocityConstraints():void{ var _local1:int; var _local2:b2ContactConstraint; var _local3:b2Manifold; var _local4:int; var _local5:b2ManifoldPoint; var _local6:b2ContactConstraintPoint; _local1 = 0; while (_local1 < m_constraintCount) { _local2 = m_constraints[_local1]; _local3 = _local2.manifold; _local4 = 0; while (_local4 < _local2.pointCount) { _local5 = _local3.points[_local4]; _local6 = _local2.points[_local4]; _local5.normalImpulse = _local6.normalImpulse; _local5.tangentImpulse = _local6.tangentImpulse; _local4++; }; _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 45
//b2NullContact (Box2D.Dynamics.Contacts.b2NullContact) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2NullContact extends b2Contact { override public function GetManifolds():Array{ return (null); } override public function Evaluate(_arg1:b2ContactListener):void{ } } }//package Box2D.Dynamics.Contacts
Section 46
//b2PolyAndCircleContact (Box2D.Dynamics.Contacts.b2PolyAndCircleContact) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2PolyAndCircleContact extends b2Contact { private var m_manifolds:Array; private var m0:b2Manifold; public var m_manifold:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2PolyAndCircleContact(_arg1:b2Shape, _arg2:b2Shape){ var _local3:b2ManifoldPoint; m_manifolds = [new b2Manifold()]; m0 = new b2Manifold(); super(_arg1, _arg2); m_manifold = m_manifolds[0]; b2Settings.b2Assert((m_shape1.m_type == b2Shape.e_polygonShape)); b2Settings.b2Assert((m_shape2.m_type == b2Shape.e_circleShape)); m_manifold.pointCount = 0; _local3 = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function GetManifolds():Array{ return (m_manifolds); } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:int; var _local3:b2Vec2; var _local4:b2Vec2; var _local5:b2ManifoldPoint; var _local6:b2Body; var _local7:b2Body; var _local8:Array; var _local9:b2ContactPoint; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; _local6 = m_shape1.m_body; _local7 = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollidePolygonAndCircle(m_manifold, (m_shape1 as b2PolygonShape), _local6.m_xf, (m_shape2 as b2CircleShape), _local7.m_xf); _local8 = [false, false]; _local9 = s_evalCP; _local9.shape1 = m_shape1; _local9.shape2 = m_shape2; _local9.friction = m_friction; _local9.restitution = m_restitution; if (m_manifold.pointCount > 0){ _local2 = 0; while (_local2 < m_manifold.pointCount) { _local10 = m_manifold.points[_local2]; _local10.normalImpulse = 0; _local10.tangentImpulse = 0; _local11 = false; _local12 = _local10.id._key; _local13 = 0; while (_local13 < m0.pointCount) { if (_local8[_local13] == true){ } else { _local5 = m0.points[_local13]; if (_local5.id._key == _local12){ _local8[_local13] = true; _local10.normalImpulse = _local5.normalImpulse; _local10.tangentImpulse = _local5.tangentImpulse; _local11 = true; if (_arg1 != null){ _local9.position = _local6.GetWorldPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m_manifold.normal); _local9.separation = _local10.separation; _local9.id.key = _local12; _arg1.Persist(_local9); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local9.position = _local6.GetWorldPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m_manifold.normal); _local9.separation = _local10.separation; _local9.id.key = _local12; _arg1.Add(_local9); }; _local2++; }; m_manifoldCount = 1; } else { m_manifoldCount = 0; }; if (_arg1 == null){ return; }; _local2 = 0; while (_local2 < m0.pointCount) { if (_local8[_local2]){ } else { _local5 = m0.points[_local2]; _local9.position = _local6.GetWorldPoint(_local5.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local5.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local5.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m0.normal); _local9.separation = _local5.separation; _local9.id.key = _local5.id._key; _arg1.Remove(_local9); }; _local2++; }; } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2PolyAndCircleContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 47
//b2PolygonContact (Box2D.Dynamics.Contacts.b2PolygonContact) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; public class b2PolygonContact extends b2Contact { private var m_manifolds:Array; private var m0:b2Manifold; public var m_manifold:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2PolygonContact(_arg1:b2Shape, _arg2:b2Shape):void{ m0 = new b2Manifold(); m_manifolds = [new b2Manifold()]; super(_arg1, _arg2); m_manifold = m_manifolds[0]; m_manifold.pointCount = 0; } override public function GetManifolds():Array{ return (m_manifolds); } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local5:b2Body; var _local6:b2Body; var _local7:b2ContactPoint; var _local8:int; var _local9:Array; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; _local5 = m_shape1.m_body; _local6 = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollidePolygons(m_manifold, (m_shape1 as b2PolygonShape), _local5.m_xf, (m_shape2 as b2PolygonShape), _local6.m_xf); _local9 = [false, false]; _local7 = s_evalCP; _local7.shape1 = m_shape1; _local7.shape2 = m_shape2; _local7.friction = m_friction; _local7.restitution = m_restitution; if (m_manifold.pointCount > 0){ _local8 = 0; while (_local8 < m_manifold.pointCount) { _local10 = m_manifold.points[_local8]; _local10.normalImpulse = 0; _local10.tangentImpulse = 0; _local11 = false; _local12 = _local10.id._key; _local13 = 0; while (_local13 < m0.pointCount) { if (_local9[_local13] == true){ } else { _local4 = m0.points[_local13]; if (_local4.id._key == _local12){ _local9[_local13] = true; _local10.normalImpulse = _local4.normalImpulse; _local10.tangentImpulse = _local4.tangentImpulse; _local11 = true; if (_arg1 != null){ _local7.position = _local5.GetWorldPoint(_local10.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local10.separation; _local7.id.key = _local12; _arg1.Persist(_local7); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local7.position = _local5.GetWorldPoint(_local10.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local10.separation; _local7.id.key = _local12; _arg1.Add(_local7); }; _local8++; }; m_manifoldCount = 1; } else { m_manifoldCount = 0; }; if (_arg1 == null){ return; }; _local8 = 0; while (_local8 < m0.pointCount) { if (_local9[_local8]){ } else { _local4 = m0.points[_local8]; _local7.position = _local5.GetWorldPoint(_local4.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local4.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local4.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m0.normal); _local7.separation = _local4.separation; _local7.id.key = _local4.id._key; _arg1.Remove(_local7); }; _local8++; }; } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2PolygonContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 48
//b2DistanceJoint (Box2D.Dynamics.Joints.b2DistanceJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2DistanceJoint extends b2Joint { public var m_mass:Number; public var m_u:b2Vec2; public var m_impulse:Number; public var m_dampingRatio:Number; public var m_frequencyHz:Number; public var m_localAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_bias:Number; public var m_gamma:Number; public var m_length:Number; public function b2DistanceJoint(_arg1:b2DistanceJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_u = new b2Vec2(); super(_arg1); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_length = _arg1.length; m_frequencyHz = _arg1.frequencyHz; m_dampingRatio = _arg1.dampingRatio; m_impulse = 0; m_gamma = 0; m_bias = 0; m_inv_dt = 0; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2; _local1 = new b2Vec2(); _local1.SetV(m_u); _local1.Multiply((m_inv_dt * m_impulse)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Mat22; var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; if (m_frequencyHz > 0){ return (true); }; _local2 = m_body1; _local3 = m_body2; _local1 = _local2.m_xf.R; _local4 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local5 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local6 = ((_local1.col1.x * _local4) + (_local1.col2.x * _local5)); _local5 = ((_local1.col1.y * _local4) + (_local1.col2.y * _local5)); _local4 = _local6; _local1 = _local3.m_xf.R; _local7 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local8 = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local6 = ((_local1.col1.x * _local7) + (_local1.col2.x * _local8)); _local8 = ((_local1.col1.y * _local7) + (_local1.col2.y * _local8)); _local7 = _local6; _local9 = (((_local3.m_sweep.c.x + _local7) - _local2.m_sweep.c.x) - _local4); _local10 = (((_local3.m_sweep.c.y + _local8) - _local2.m_sweep.c.y) - _local5); _local11 = Math.sqrt(((_local9 * _local9) + (_local10 * _local10))); _local9 = (_local9 / _local11); _local10 = (_local10 / _local11); _local12 = (_local11 - m_length); _local12 = b2Math.b2Clamp(_local12, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local13 = (-(m_mass) * _local12); m_u.Set(_local9, _local10); _local14 = (_local13 * m_u.x); _local15 = (_local13 * m_u.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x - (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y - (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a - (_local2.m_invI * ((_local4 * _local15) - (_local5 * _local14)))); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + (_local3.m_invMass * _local14)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + (_local3.m_invMass * _local15)); _local3.m_sweep.a = (_local3.m_sweep.a + (_local3.m_invI * ((_local7 * _local15) - (_local8 * _local14)))); _local2.SynchronizeTransform(); _local3.SynchronizeTransform(); return ((b2Math.b2Abs(_local12) < b2Settings.b2_linearSlop)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:Number; var _local4:b2Body; var _local5:b2Body; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; m_inv_dt = _arg1.inv_dt; _local4 = m_body1; _local5 = m_body2; _local2 = _local4.m_xf.R; _local6 = (m_localAnchor1.x - _local4.m_sweep.localCenter.x); _local7 = (m_localAnchor1.y - _local4.m_sweep.localCenter.y); _local3 = ((_local2.col1.x * _local6) + (_local2.col2.x * _local7)); _local7 = ((_local2.col1.y * _local6) + (_local2.col2.y * _local7)); _local6 = _local3; _local2 = _local5.m_xf.R; _local8 = (m_localAnchor2.x - _local5.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local5.m_sweep.localCenter.y); _local3 = ((_local2.col1.x * _local8) + (_local2.col2.x * _local9)); _local9 = ((_local2.col1.y * _local8) + (_local2.col2.y * _local9)); _local8 = _local3; m_u.x = (((_local5.m_sweep.c.x + _local8) - _local4.m_sweep.c.x) - _local6); m_u.y = (((_local5.m_sweep.c.y + _local9) - _local4.m_sweep.c.y) - _local7); _local10 = Math.sqrt(((m_u.x * m_u.x) + (m_u.y * m_u.y))); if (_local10 > b2Settings.b2_linearSlop){ m_u.Multiply((1 / _local10)); } else { m_u.SetZero(); }; _local11 = ((_local6 * m_u.y) - (_local7 * m_u.x)); _local12 = ((_local8 * m_u.y) - (_local9 * m_u.x)); _local13 = (((_local4.m_invMass + ((_local4.m_invI * _local11) * _local11)) + _local5.m_invMass) + ((_local5.m_invI * _local12) * _local12)); m_mass = (1 / _local13); if (m_frequencyHz > 0){ _local14 = (_local10 - m_length); _local15 = ((2 * Math.PI) * m_frequencyHz); _local16 = (((2 * m_mass) * m_dampingRatio) * _local15); _local17 = ((m_mass * _local15) * _local15); m_gamma = (1 / (_arg1.dt * (_local16 + (_arg1.dt * _local17)))); m_bias = (((_local14 * _arg1.dt) * _local17) * m_gamma); m_mass = (1 / (_local13 + m_gamma)); }; if (_arg1.warmStarting){ m_impulse = (m_impulse * _arg1.dtRatio); _local18 = (m_impulse * m_u.x); _local19 = (m_impulse * m_u.y); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x - (_local4.m_invMass * _local18)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y - (_local4.m_invMass * _local19)); _local4.m_angularVelocity = (_local4.m_angularVelocity - (_local4.m_invI * ((_local6 * _local19) - (_local7 * _local18)))); _local5.m_linearVelocity.x = (_local5.m_linearVelocity.x + (_local5.m_invMass * _local18)); _local5.m_linearVelocity.y = (_local5.m_linearVelocity.y + (_local5.m_invMass * _local19)); _local5.m_angularVelocity = (_local5.m_angularVelocity + (_local5.m_invI * ((_local8 * _local19) - (_local9 * _local18)))); } else { m_impulse = 0; }; } override public function GetReactionTorque():Number{ return (0); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; _local3 = m_body1; _local4 = m_body2; _local2 = _local3.m_xf.R; _local5 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local6 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local7 = ((_local2.col1.x * _local5) + (_local2.col2.x * _local6)); _local6 = ((_local2.col1.y * _local5) + (_local2.col2.y * _local6)); _local5 = _local7; _local2 = _local4.m_xf.R; _local8 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local7 = ((_local2.col1.x * _local8) + (_local2.col2.x * _local9)); _local9 = ((_local2.col1.y * _local8) + (_local2.col2.y * _local9)); _local8 = _local7; _local10 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local6)); _local11 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local5)); _local12 = (_local4.m_linearVelocity.x + (-(_local4.m_angularVelocity) * _local9)); _local13 = (_local4.m_linearVelocity.y + (_local4.m_angularVelocity * _local8)); _local14 = ((m_u.x * (_local12 - _local10)) + (m_u.y * (_local13 - _local11))); _local15 = (-(m_mass) * ((_local14 + m_bias) + (m_gamma * m_impulse))); m_impulse = (m_impulse + _local15); _local16 = (_local15 * m_u.x); _local17 = (_local15 * m_u.y); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x - (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y - (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity - (_local3.m_invI * ((_local5 * _local17) - (_local6 * _local16)))); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x + (_local4.m_invMass * _local16)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y + (_local4.m_invMass * _local17)); _local4.m_angularVelocity = (_local4.m_angularVelocity + (_local4.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); } } }//package Box2D.Dynamics.Joints
Section 49
//b2DistanceJointDef (Box2D.Dynamics.Joints.b2DistanceJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2DistanceJointDef extends b2JointDef { public var length:Number; public var dampingRatio:Number; public var frequencyHz:Number; public var localAnchor2:b2Vec2; public var localAnchor1:b2Vec2; public function b2DistanceJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_distanceJoint; length = 1; frequencyHz = 0; dampingRatio = 0; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2):void{ var _local5:Number; var _local6:Number; body1 = _arg1; body2 = _arg2; localAnchor1.SetV(body1.GetLocalPoint(_arg3)); localAnchor2.SetV(body2.GetLocalPoint(_arg4)); _local5 = (_arg4.x - _arg3.x); _local6 = (_arg4.y - _arg3.y); length = Math.sqrt(((_local5 * _local5) + (_local6 * _local6))); frequencyHz = 0; dampingRatio = 0; } } }//package Box2D.Dynamics.Joints
Section 50
//b2GearJoint (Box2D.Dynamics.Joints.b2GearJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2GearJoint extends b2Joint { public var m_force:Number; public var m_mass:Number; public var m_prismatic1:b2PrismaticJoint; public var m_prismatic2:b2PrismaticJoint; public var m_ground1:b2Body; public var m_ground2:b2Body; public var m_constant:Number; public var m_revolute1:b2RevoluteJoint; public var m_revolute2:b2RevoluteJoint; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_ratio:Number; public var m_J:b2Jacobian; public function b2GearJoint(_arg1:b2GearJointDef){ var _local2:int; var _local3:int; var _local4:Number; var _local5:Number; m_groundAnchor1 = new b2Vec2(); m_groundAnchor2 = new b2Vec2(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_J = new b2Jacobian(); super(_arg1); _local2 = _arg1.joint1.m_type; _local3 = _arg1.joint2.m_type; m_revolute1 = null; m_prismatic1 = null; m_revolute2 = null; m_prismatic2 = null; m_ground1 = _arg1.joint1.m_body1; m_body1 = _arg1.joint1.m_body2; if (_local2 == b2Joint.e_revoluteJoint){ m_revolute1 = (_arg1.joint1 as b2RevoluteJoint); m_groundAnchor1.SetV(m_revolute1.m_localAnchor1); m_localAnchor1.SetV(m_revolute1.m_localAnchor2); _local4 = m_revolute1.GetJointAngle(); } else { m_prismatic1 = (_arg1.joint1 as b2PrismaticJoint); m_groundAnchor1.SetV(m_prismatic1.m_localAnchor1); m_localAnchor1.SetV(m_prismatic1.m_localAnchor2); _local4 = m_prismatic1.GetJointTranslation(); }; m_ground2 = _arg1.joint2.m_body1; m_body2 = _arg1.joint2.m_body2; if (_local3 == b2Joint.e_revoluteJoint){ m_revolute2 = (_arg1.joint2 as b2RevoluteJoint); m_groundAnchor2.SetV(m_revolute2.m_localAnchor1); m_localAnchor2.SetV(m_revolute2.m_localAnchor2); _local5 = m_revolute2.GetJointAngle(); } else { m_prismatic2 = (_arg1.joint2 as b2PrismaticJoint); m_groundAnchor2.SetV(m_prismatic2.m_localAnchor1); m_localAnchor2.SetV(m_prismatic2.m_localAnchor2); _local5 = m_prismatic2.GetJointTranslation(); }; m_ratio = _arg1.ratio; m_constant = (_local4 + (m_ratio * _local5)); m_force = 0; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2; _local1 = new b2Vec2((m_force * m_J.linear2.x), (m_force * m_J.linear2.y)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local1 = 0; _local2 = m_body1; _local3 = m_body2; if (m_revolute1){ _local4 = m_revolute1.GetJointAngle(); } else { _local4 = m_prismatic1.GetJointTranslation(); }; if (m_revolute2){ _local5 = m_revolute2.GetJointAngle(); } else { _local5 = m_prismatic2.GetJointTranslation(); }; _local6 = (m_constant - (_local4 + (m_ratio * _local5))); _local7 = (-(m_mass) * _local6); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + ((_local2.m_invMass * _local7) * m_J.linear1.x)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + ((_local2.m_invMass * _local7) * m_J.linear1.y)); _local2.m_sweep.a = (_local2.m_sweep.a + ((_local2.m_invI * _local7) * m_J.angular1)); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local3.m_invMass * _local7) * m_J.linear2.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local3.m_invMass * _local7) * m_J.linear2.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local3.m_invI * _local7) * m_J.angular2)); _local2.SynchronizeTransform(); _local3.SynchronizeTransform(); return ((_local1 < b2Settings.b2_linearSlop)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Body; var _local5:b2Body; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; _local2 = m_ground1; _local3 = m_ground2; _local4 = m_body1; _local5 = m_body2; _local14 = 0; m_J.SetZero(); if (m_revolute1){ m_J.angular1 = -1; _local14 = (_local14 + _local4.m_invI); } else { _local10 = _local2.m_xf.R; _local11 = m_prismatic1.m_localXAxis1; _local6 = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _local7 = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); _local10 = _local4.m_xf.R; _local8 = (m_localAnchor1.x - _local4.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local4.m_sweep.localCenter.y); _local13 = ((_local10.col1.x * _local8) + (_local10.col2.x * _local9)); _local9 = ((_local10.col1.y * _local8) + (_local10.col2.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); m_J.linear1.Set(-(_local6), -(_local7)); m_J.angular1 = -(_local12); _local14 = (_local14 + (_local4.m_invMass + ((_local4.m_invI * _local12) * _local12))); }; if (m_revolute2){ m_J.angular2 = -(m_ratio); _local14 = (_local14 + ((m_ratio * m_ratio) * _local5.m_invI)); } else { _local10 = _local3.m_xf.R; _local11 = m_prismatic2.m_localXAxis1; _local6 = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _local7 = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); _local10 = _local5.m_xf.R; _local8 = (m_localAnchor2.x - _local5.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local5.m_sweep.localCenter.y); _local13 = ((_local10.col1.x * _local8) + (_local10.col2.x * _local9)); _local9 = ((_local10.col1.y * _local8) + (_local10.col2.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); m_J.linear2.Set((-(m_ratio) * _local6), (-(m_ratio) * _local7)); m_J.angular2 = (-(m_ratio) * _local12); _local14 = (_local14 + ((m_ratio * m_ratio) * (_local5.m_invMass + ((_local5.m_invI * _local12) * _local12)))); }; m_mass = (1 / _local14); if (_arg1.warmStarting){ _local15 = (_arg1.dt * m_force); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x + ((_local4.m_invMass * _local15) * m_J.linear1.x)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y + ((_local4.m_invMass * _local15) * m_J.linear1.y)); _local4.m_angularVelocity = (_local4.m_angularVelocity + ((_local4.m_invI * _local15) * m_J.angular1)); _local5.m_linearVelocity.x = (_local5.m_linearVelocity.x + ((_local5.m_invMass * _local15) * m_J.linear2.x)); _local5.m_linearVelocity.y = (_local5.m_linearVelocity.y + ((_local5.m_invMass * _local15) * m_J.linear2.y)); _local5.m_angularVelocity = (_local5.m_angularVelocity + ((_local5.m_invI * _local15) * m_J.angular2)); } else { m_force = 0; }; } override public function GetReactionTorque():Number{ var _local1:b2Mat22; var _local2:Number; var _local3:Number; var _local4:Number; _local1 = m_body2.m_xf.R; _local2 = (m_localAnchor1.x - m_body2.m_sweep.localCenter.x); _local3 = (m_localAnchor1.y - m_body2.m_sweep.localCenter.y); _local4 = ((_local1.col1.x * _local2) + (_local1.col2.x * _local3)); _local3 = ((_local1.col1.y * _local2) + (_local1.col2.y * _local3)); _local2 = _local4; _local4 = ((m_force * m_J.angular2) - ((_local2 * (m_force * m_J.linear2.y)) - (_local3 * (m_force * m_J.linear2.x)))); return (_local4); } public function GetRatio():Number{ return (m_ratio); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = m_body1; _local3 = m_body2; _local4 = m_J.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local5 = ((-(_arg1.inv_dt) * m_mass) * _local4); m_force = (m_force + _local5); _local6 = (_arg1.dt * _local5); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local2.m_invMass * _local6) * m_J.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local2.m_invMass * _local6) * m_J.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local2.m_invI * _local6) * m_J.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local3.m_invMass * _local6) * m_J.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local3.m_invMass * _local6) * m_J.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _local6) * m_J.angular2)); } } }//package Box2D.Dynamics.Joints
Section 51
//b2GearJointDef (Box2D.Dynamics.Joints.b2GearJointDef) package Box2D.Dynamics.Joints { public class b2GearJointDef extends b2JointDef { public var joint2:b2Joint; public var joint1:b2Joint; public var ratio:Number; public function b2GearJointDef(){ type = b2Joint.e_gearJoint; joint1 = null; joint2 = null; ratio = 1; } } }//package Box2D.Dynamics.Joints
Section 52
//b2Jacobian (Box2D.Dynamics.Joints.b2Jacobian) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2Jacobian { public var linear1:b2Vec2; public var linear2:b2Vec2; public var angular2:Number; public var angular1:Number; public function b2Jacobian(){ linear1 = new b2Vec2(); linear2 = new b2Vec2(); super(); } public function Set(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):void{ linear1.SetV(_arg1); angular1 = _arg2; linear2.SetV(_arg3); angular2 = _arg4; } public function SetZero():void{ linear1.SetZero(); angular1 = 0; linear2.SetZero(); angular2 = 0; } public function Compute(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):Number{ return ((((((linear1.x * _arg1.x) + (linear1.y * _arg1.y)) + (angular1 * _arg2)) + ((linear2.x * _arg3.x) + (linear2.y * _arg3.y))) + (angular2 * _arg4))); } } }//package Box2D.Dynamics.Joints
Section 53
//b2Joint (Box2D.Dynamics.Joints.b2Joint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2Joint { public var m_islandFlag:Boolean; public var m_body1:b2Body; public var m_prev:b2Joint; public var m_next:b2Joint; public var m_type:int; public var m_collideConnected:Boolean; public var m_node1:b2JointEdge; public var m_node2:b2JointEdge; public var m_inv_dt:Number; public var m_userData; public var m_body2:b2Body; public static const e_unknownJoint:int = 0; public static const e_inactiveLimit:int = 0; public static const e_atUpperLimit:int = 2; public static const e_atLowerLimit:int = 1; public static const e_gearJoint:int = 6; public static const e_revoluteJoint:int = 1; public static const e_equalLimits:int = 3; public static const e_distanceJoint:int = 3; public static const e_pulleyJoint:int = 4; public static const e_prismaticJoint:int = 2; public static const e_mouseJoint:int = 5; public function b2Joint(_arg1:b2JointDef){ m_node1 = new b2JointEdge(); m_node2 = new b2JointEdge(); super(); m_type = _arg1.type; m_prev = null; m_next = null; m_body1 = _arg1.body1; m_body2 = _arg1.body2; m_collideConnected = _arg1.collideConnected; m_islandFlag = false; m_userData = _arg1.userData; } public function GetAnchor1():b2Vec2{ return (null); } public function GetAnchor2():b2Vec2{ return (null); } public function InitVelocityConstraints(_arg1:b2TimeStep):void{ } public function GetType():int{ return (m_type); } public function GetBody2():b2Body{ return (m_body2); } public function GetNext():b2Joint{ return (m_next); } public function GetReactionTorque():Number{ return (0); } public function GetUserData(){ return (m_userData); } public function GetReactionForce():b2Vec2{ return (null); } public function SolvePositionConstraints():Boolean{ return (false); } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetBody1():b2Body{ return (m_body1); } public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ } public function InitPositionConstraints():void{ } public static function Destroy(_arg1:b2Joint, _arg2):void{ } public static function Create(_arg1:b2JointDef, _arg2):b2Joint{ var _local3:b2Joint; _local3 = null; switch (_arg1.type){ case e_distanceJoint: _local3 = new b2DistanceJoint((_arg1 as b2DistanceJointDef)); break; case e_mouseJoint: _local3 = new b2MouseJoint((_arg1 as b2MouseJointDef)); break; case e_prismaticJoint: _local3 = new b2PrismaticJoint((_arg1 as b2PrismaticJointDef)); break; case e_revoluteJoint: _local3 = new b2RevoluteJoint((_arg1 as b2RevoluteJointDef)); break; case e_pulleyJoint: _local3 = new b2PulleyJoint((_arg1 as b2PulleyJointDef)); break; case e_gearJoint: _local3 = new b2GearJoint((_arg1 as b2GearJointDef)); break; default: break; }; return (_local3); } } }//package Box2D.Dynamics.Joints
Section 54
//b2JointDef (Box2D.Dynamics.Joints.b2JointDef) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointDef { public var collideConnected:Boolean; public var body1:b2Body; public var body2:b2Body; public var userData; public var type:int; public function b2JointDef(){ type = b2Joint.e_unknownJoint; userData = null; body1 = null; body2 = null; collideConnected = false; } } }//package Box2D.Dynamics.Joints
Section 55
//b2JointEdge (Box2D.Dynamics.Joints.b2JointEdge) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointEdge { public var joint:b2Joint; public var other:b2Body; public var next:b2JointEdge; public var prev:b2JointEdge; } }//package Box2D.Dynamics.Joints
Section 56
//b2MouseJoint (Box2D.Dynamics.Joints.b2MouseJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2MouseJoint extends b2Joint { public var m_beta:Number; public var m_mass:b2Mat22; public var m_target:b2Vec2; public var m_impulse:b2Vec2; public var m_localAnchor:b2Vec2; private var K1:b2Mat22; private var K2:b2Mat22; private var K:b2Mat22; public var m_gamma:Number; public var m_C:b2Vec2; public var m_maxForce:Number; public function b2MouseJoint(_arg1:b2MouseJointDef){ var _local2:Number; var _local3:Number; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); m_localAnchor = new b2Vec2(); m_target = new b2Vec2(); m_impulse = new b2Vec2(); m_mass = new b2Mat22(); m_C = new b2Vec2(); super(_arg1); m_target.SetV(_arg1.target); _local2 = (m_target.x - m_body2.m_xf.position.x); _local3 = (m_target.y - m_body2.m_xf.position.y); _local4 = m_body2.m_xf.R; m_localAnchor.x = ((_local2 * _local4.col1.x) + (_local3 * _local4.col1.y)); m_localAnchor.y = ((_local2 * _local4.col2.x) + (_local3 * _local4.col2.y)); m_maxForce = _arg1.maxForce; m_impulse.SetZero(); _local5 = m_body2.m_mass; _local6 = ((2 * b2Settings.b2_pi) * _arg1.frequencyHz); _local7 = (((2 * _local5) * _arg1.dampingRatio) * _local6); _local8 = ((_arg1.timeStep * _local5) * (_local6 * _local6)); m_gamma = (1 / (_local7 + _local8)); m_beta = (_local8 / (_local7 + _local8)); } override public function GetAnchor1():b2Vec2{ return (m_target); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor)); } override public function GetReactionForce():b2Vec2{ return (m_impulse); } override public function SolvePositionConstraints():Boolean{ return (true); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local2 = m_body2; _local3 = _local2.m_xf.R; _local4 = (m_localAnchor.x - _local2.m_sweep.localCenter.x); _local5 = (m_localAnchor.y - _local2.m_sweep.localCenter.y); _local6 = ((_local3.col1.x * _local4) + (_local3.col2.x * _local5)); _local5 = ((_local3.col1.y * _local4) + (_local3.col2.y * _local5)); _local4 = _local6; _local7 = _local2.m_invMass; _local8 = _local2.m_invI; K1.col1.x = _local7; K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = _local7; K2.col1.x = ((_local8 * _local5) * _local5); K2.col2.x = ((-(_local8) * _local4) * _local5); K2.col1.y = ((-(_local8) * _local4) * _local5); K2.col2.y = ((_local8 * _local4) * _local4); K.SetM(K1); K.AddM(K2); K.col1.x = (K.col1.x + m_gamma); K.col2.y = (K.col2.y + m_gamma); K.Invert(m_mass); m_C.x = ((_local2.m_sweep.c.x + _local4) - m_target.x); m_C.y = ((_local2.m_sweep.c.y + _local5) - m_target.y); _local2.m_angularVelocity = (_local2.m_angularVelocity * 0.98); _local9 = (_arg1.dt * m_impulse.x); _local10 = (_arg1.dt * m_impulse.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local7 * _local9)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local7 * _local10)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local8 * ((_local4 * _local10) - (_local5 * _local9)))); } override public function GetReactionTorque():Number{ return (0); } public function SetTarget(_arg1:b2Vec2):void{ if (m_body2.IsSleeping()){ m_body2.WakeUp(); }; m_target = _arg1; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; _local2 = m_body2; _local3 = _local2.m_xf.R; _local6 = (m_localAnchor.x - _local2.m_sweep.localCenter.x); _local7 = (m_localAnchor.y - _local2.m_sweep.localCenter.y); _local4 = ((_local3.col1.x * _local6) + (_local3.col2.x * _local7)); _local7 = ((_local3.col1.y * _local6) + (_local3.col2.y * _local7)); _local6 = _local4; _local8 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local7)); _local9 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local6)); _local3 = m_mass; _local4 = ((_local8 + ((m_beta * _arg1.inv_dt) * m_C.x)) + ((m_gamma * _arg1.dt) * m_impulse.x)); _local5 = ((_local9 + ((m_beta * _arg1.inv_dt) * m_C.y)) + ((m_gamma * _arg1.dt) * m_impulse.y)); _local10 = (-(_arg1.inv_dt) * ((_local3.col1.x * _local4) + (_local3.col2.x * _local5))); _local11 = (-(_arg1.inv_dt) * ((_local3.col1.y * _local4) + (_local3.col2.y * _local5))); _local12 = m_impulse.x; _local13 = m_impulse.y; m_impulse.x = (m_impulse.x + _local10); m_impulse.y = (m_impulse.y + _local11); _local14 = m_impulse.Length(); if (_local14 > m_maxForce){ m_impulse.Multiply((m_maxForce / _local14)); }; _local10 = (m_impulse.x - _local12); _local11 = (m_impulse.y - _local13); _local15 = (_arg1.dt * _local10); _local16 = (_arg1.dt * _local11); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local15)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local6 * _local16) - (_local7 * _local15)))); } } }//package Box2D.Dynamics.Joints
Section 57
//b2MouseJointDef (Box2D.Dynamics.Joints.b2MouseJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2MouseJointDef extends b2JointDef { public var frequencyHz:Number; public var dampingRatio:Number; public var maxForce:Number; public var target:b2Vec2; public var timeStep:Number; public function b2MouseJointDef(){ target = new b2Vec2(); super(); type = b2Joint.e_mouseJoint; maxForce = 0; frequencyHz = 5; dampingRatio = 0.7; timeStep = (1 / 60); } } }//package Box2D.Dynamics.Joints
Section 58
//b2PrismaticJoint (Box2D.Dynamics.Joints.b2PrismaticJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2PrismaticJoint extends b2Joint { public var m_limitForce:Number; public var m_refAngle:Number; public var m_lowerTranslation:Number; public var m_localXAxis1:b2Vec2; public var m_torque:Number; public var m_enableLimit:Boolean; public var m_motorForce:Number; public var m_force:Number; public var m_localYAxis1:b2Vec2; public var m_motorMass:Number; public var m_maxMotorForce:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_angularMass:Number; public var m_limitState:int; public var m_linearMass:Number; public var m_upperTranslation:Number; public var m_motorJacobian:b2Jacobian; public var m_limitPositionImpulse:Number; public var m_motorSpeed:Number; public var m_linearJacobian:b2Jacobian; public var m_enableMotor:Boolean; public function b2PrismaticJoint(_arg1:b2PrismaticJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_localXAxis1 = new b2Vec2(); m_localYAxis1 = new b2Vec2(); m_linearJacobian = new b2Jacobian(); m_motorJacobian = new b2Jacobian(); super(_arg1); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_localXAxis1.SetV(_arg1.localAxis1); m_localYAxis1.x = -(m_localXAxis1.y); m_localYAxis1.y = m_localXAxis1.x; m_refAngle = _arg1.referenceAngle; m_linearJacobian.SetZero(); m_linearMass = 0; m_force = 0; m_angularMass = 0; m_torque = 0; m_motorJacobian.SetZero(); m_motorMass = 0; m_motorForce = 0; m_limitForce = 0; m_limitPositionImpulse = 0; m_lowerTranslation = _arg1.lowerTranslation; m_upperTranslation = _arg1.upperTranslation; m_maxMotorForce = _arg1.maxMotorForce; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetUpperLimit():Number{ return (m_upperTranslation); } public function GetLowerLimit():Number{ return (m_lowerTranslation); } public function GetJointTranslation():Number{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; var _local4:b2Vec2; var _local5:b2Vec2; var _local6:Number; var _local7:Number; var _local8:b2Vec2; var _local9:Number; _local1 = m_body1; _local2 = m_body2; _local4 = _local1.GetWorldPoint(m_localAnchor1); _local5 = _local2.GetWorldPoint(m_localAnchor2); _local6 = (_local5.x - _local4.x); _local7 = (_local5.y - _local4.y); _local8 = _local1.GetWorldVector(m_localXAxis1); _local9 = ((_local8.x * _local6) + (_local8.y * _local7)); return (_local9); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerTranslation = _arg1; m_upperTranslation = _arg2; } public function GetMotorSpeed():Number{ return (m_motorSpeed); } override public function GetReactionForce():b2Vec2{ var _local1:b2Mat22; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body1.m_xf.R; _local2 = (m_limitForce * ((_local1.col1.x * m_localXAxis1.x) + (_local1.col2.x * m_localXAxis1.y))); _local3 = (m_limitForce * ((_local1.col1.y * m_localXAxis1.x) + (_local1.col2.y * m_localXAxis1.y))); _local4 = (m_force * ((_local1.col1.x * m_localYAxis1.x) + (_local1.col2.x * m_localYAxis1.y))); _local5 = (m_force * ((_local1.col1.y * m_localYAxis1.x) + (_local1.col2.y * m_localYAxis1.y))); return (new b2Vec2(((m_limitForce * _local2) + (m_force * _local4)), ((m_limitForce * _local3) + (m_force * _local5)))); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:b2Mat22; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; _local3 = m_body1; _local4 = m_body2; _local5 = _local3.m_invMass; _local6 = _local4.m_invMass; _local7 = _local3.m_invI; _local8 = _local4.m_invI; _local9 = _local3.m_xf.R; _local11 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local12 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local11) + (_local9.col2.x * _local12)); _local12 = ((_local9.col1.y * _local11) + (_local9.col2.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; _local13 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local14 = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local13) + (_local9.col2.x * _local14)); _local14 = ((_local9.col1.y * _local13) + (_local9.col2.y * _local14)); _local13 = _local10; _local15 = (_local3.m_sweep.c.x + _local11); _local16 = (_local3.m_sweep.c.y + _local12); _local17 = (_local4.m_sweep.c.x + _local13); _local18 = (_local4.m_sweep.c.y + _local14); _local19 = (_local17 - _local15); _local20 = (_local18 - _local16); _local9 = _local3.m_xf.R; _local21 = ((_local9.col1.x * m_localYAxis1.x) + (_local9.col2.x * m_localYAxis1.y)); _local22 = ((_local9.col1.y * m_localYAxis1.x) + (_local9.col2.y * m_localYAxis1.y)); _local23 = ((_local21 * _local19) + (_local22 * _local20)); _local23 = b2Math.b2Clamp(_local23, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local24 = (-(m_linearMass) * _local23); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local24) * m_linearJacobian.linear1.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local24) * m_linearJacobian.linear1.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local24) * m_linearJacobian.angular1)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local24) * m_linearJacobian.linear2.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local24) * m_linearJacobian.linear2.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local24) * m_linearJacobian.angular2)); _local25 = b2Math.b2Abs(_local23); _local26 = ((_local4.m_sweep.a - _local3.m_sweep.a) - m_refAngle); _local26 = b2Math.b2Clamp(_local26, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); _local27 = (-(m_angularMass) * _local26); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * _local27)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * _local27)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); _local28 = b2Math.b2Abs(_local26); if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local9 = _local3.m_xf.R; _local11 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local12 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local11) + (_local9.col2.x * _local12)); _local12 = ((_local9.col1.y * _local11) + (_local9.col2.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; _local13 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local14 = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local13) + (_local9.col2.x * _local14)); _local14 = ((_local9.col1.y * _local13) + (_local9.col2.y * _local14)); _local13 = _local10; _local15 = (_local3.m_sweep.c.x + _local11); _local16 = (_local3.m_sweep.c.y + _local12); _local17 = (_local4.m_sweep.c.x + _local13); _local18 = (_local4.m_sweep.c.y + _local14); _local19 = (_local17 - _local15); _local20 = (_local18 - _local16); _local9 = _local3.m_xf.R; _local29 = ((_local9.col1.x * m_localXAxis1.x) + (_local9.col2.x * m_localXAxis1.y)); _local30 = ((_local9.col1.y * m_localXAxis1.x) + (_local9.col2.y * m_localXAxis1.y)); _local31 = ((_local29 * _local19) + (_local30 * _local20)); _local32 = 0; if (m_limitState == e_equalLimits){ _local1 = b2Math.b2Clamp(_local31, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local32 = (-(m_motorMass) * _local1); _local25 = b2Math.b2Max(_local25, b2Math.b2Abs(_local26)); } else { if (m_limitState == e_atLowerLimit){ _local1 = (_local31 - m_lowerTranslation); _local25 = b2Math.b2Max(_local25, -(_local1)); _local1 = b2Math.b2Clamp((_local1 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local32 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local32), 0); _local32 = (m_limitPositionImpulse - _local2); } else { if (m_limitState == e_atUpperLimit){ _local1 = (_local31 - m_upperTranslation); _local25 = b2Math.b2Max(_local25, _local1); _local1 = b2Math.b2Clamp((_local1 - b2Settings.b2_linearSlop), 0, b2Settings.b2_maxLinearCorrection); _local32 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local32), 0); _local32 = (m_limitPositionImpulse - _local2); }; }; }; _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local32) * m_motorJacobian.linear1.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local32) * m_motorJacobian.linear1.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local32) * m_motorJacobian.angular1)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local32) * m_motorJacobian.linear2.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local32) * m_motorJacobian.linear2.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local32) * m_motorJacobian.angular2)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); }; return ((((_local25 <= b2Settings.b2_linearSlop)) && ((_local28 <= b2Settings.b2_angularSlop)))); } public function GetJointSpeed():Number{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:b2Vec2; var _local16:b2Vec2; var _local17:b2Vec2; var _local18:Number; var _local19:Number; var _local20:Number; _local1 = m_body1; _local2 = m_body2; _local3 = _local1.m_xf.R; _local4 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local5 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local6 = ((_local3.col1.x * _local4) + (_local3.col2.x * _local5)); _local5 = ((_local3.col1.y * _local4) + (_local3.col2.y * _local5)); _local4 = _local6; _local3 = _local2.m_xf.R; _local7 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local8 = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local6 = ((_local3.col1.x * _local7) + (_local3.col2.x * _local8)); _local8 = ((_local3.col1.y * _local7) + (_local3.col2.y * _local8)); _local7 = _local6; _local9 = (_local1.m_sweep.c.x + _local4); _local10 = (_local1.m_sweep.c.y + _local5); _local11 = (_local2.m_sweep.c.x + _local7); _local12 = (_local2.m_sweep.c.y + _local8); _local13 = (_local11 - _local9); _local14 = (_local12 - _local10); _local15 = _local1.GetWorldVector(m_localXAxis1); _local16 = _local1.m_linearVelocity; _local17 = _local2.m_linearVelocity; _local18 = _local1.m_angularVelocity; _local19 = _local2.m_angularVelocity; _local20 = (((_local13 * (-(_local18) * _local15.y)) + (_local14 * (_local18 * _local15.x))) + ((_local15.x * (((_local17.x + (-(_local19) * _local8)) - _local16.x) - (-(_local18) * _local5))) + (_local15.y * (((_local17.y + (_local19 * _local7)) - _local16.y) - (_local18 * _local4))))); return (_local20); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local6 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local7 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; _local10 = _local2.m_invMass; _local11 = _local3.m_invMass; _local12 = _local2.m_invI; _local13 = _local3.m_invI; _local4 = _local2.m_xf.R; _local14 = ((_local4.col1.x * m_localYAxis1.x) + (_local4.col2.x * m_localYAxis1.y)); _local15 = ((_local4.col1.y * m_localYAxis1.x) + (_local4.col2.y * m_localYAxis1.y)); _local16 = ((_local3.m_sweep.c.x + _local8) - _local2.m_sweep.c.x); _local17 = ((_local3.m_sweep.c.y + _local9) - _local2.m_sweep.c.y); m_linearJacobian.linear1.x = -(_local14); m_linearJacobian.linear1.y = -(_local15); m_linearJacobian.linear2.x = _local14; m_linearJacobian.linear2.y = _local15; m_linearJacobian.angular1 = -(((_local16 * _local15) - (_local17 * _local14))); m_linearJacobian.angular2 = ((_local8 * _local15) - (_local9 * _local14)); m_linearMass = (((_local10 + ((_local12 * m_linearJacobian.angular1) * m_linearJacobian.angular1)) + _local11) + ((_local13 * m_linearJacobian.angular2) * m_linearJacobian.angular2)); m_linearMass = (1 / m_linearMass); m_angularMass = (_local12 + _local13); if (m_angularMass > Number.MIN_VALUE){ m_angularMass = (1 / m_angularMass); }; if (((m_enableLimit) || (m_enableMotor))){ _local4 = _local2.m_xf.R; _local18 = ((_local4.col1.x * m_localXAxis1.x) + (_local4.col2.x * m_localXAxis1.y)); _local19 = ((_local4.col1.y * m_localXAxis1.x) + (_local4.col2.y * m_localXAxis1.y)); m_motorJacobian.linear1.x = -(_local18); m_motorJacobian.linear1.y = -(_local19); m_motorJacobian.linear2.x = _local18; m_motorJacobian.linear2.y = _local19; m_motorJacobian.angular1 = -(((_local16 * _local19) - (_local17 * _local18))); m_motorJacobian.angular2 = ((_local8 * _local19) - (_local9 * _local18)); m_motorMass = (((_local10 + ((_local12 * m_motorJacobian.angular1) * m_motorJacobian.angular1)) + _local11) + ((_local13 * m_motorJacobian.angular2) * m_motorJacobian.angular2)); m_motorMass = (1 / m_motorMass); if (m_enableLimit){ _local20 = (_local16 - _local6); _local21 = (_local17 - _local7); _local22 = ((_local18 * _local20) + (_local19 * _local21)); if (b2Math.b2Abs((m_upperTranslation - m_lowerTranslation)) < (2 * b2Settings.b2_linearSlop)){ m_limitState = e_equalLimits; } else { if (_local22 <= m_lowerTranslation){ if (m_limitState != e_atLowerLimit){ m_limitForce = 0; }; m_limitState = e_atLowerLimit; } else { if (_local22 >= m_upperTranslation){ if (m_limitState != e_atUpperLimit){ m_limitForce = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitForce = 0; }; }; }; }; }; if (m_enableMotor == false){ m_motorForce = 0; }; if (m_enableLimit == false){ m_limitForce = 0; }; if (_arg1.warmStarting){ _local23 = (_arg1.dt * ((m_force * m_linearJacobian.linear1.x) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear1.x))); _local24 = (_arg1.dt * ((m_force * m_linearJacobian.linear1.y) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear1.y))); _local25 = (_arg1.dt * ((m_force * m_linearJacobian.linear2.x) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear2.x))); _local26 = (_arg1.dt * ((m_force * m_linearJacobian.linear2.y) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear2.y))); _local27 = (_arg1.dt * (((m_force * m_linearJacobian.angular1) - m_torque) + ((m_motorForce + m_limitForce) * m_motorJacobian.angular1))); _local28 = (_arg1.dt * (((m_force * m_linearJacobian.angular2) + m_torque) + ((m_motorForce + m_limitForce) * m_motorJacobian.angular2))); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local10 * _local23)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local10 * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local12 * _local27)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local11 * _local25)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local11 * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local13 * _local28)); } else { m_force = 0; m_torque = 0; m_limitForce = 0; m_motorForce = 0; }; m_limitPositionImpulse = 0; } public function GetMotorForce():Number{ return (m_motorForce); } public function SetMaxMotorForce(_arg1:Number):void{ m_maxMotorForce = _arg1; } public function EnableLimit(_arg1:Boolean):void{ m_enableLimit = _arg1; } override public function GetReactionTorque():Number{ return (m_torque); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_invMass; _local5 = _local3.m_invMass; _local6 = _local2.m_invI; _local7 = _local3.m_invI; _local9 = m_linearJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local10 = ((-(_arg1.inv_dt) * m_linearMass) * _local9); m_force = (m_force + _local10); _local11 = (_arg1.dt * _local10); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_linearJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_linearJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_linearJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_linearJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_linearJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_linearJacobian.angular2)); _local12 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local13 = ((-(_arg1.inv_dt) * m_angularMass) * _local12); m_torque = (m_torque + _local13); _local14 = (_arg1.dt * _local13); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local6 * _local14)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local7 * _local14)); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local15 = (m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity) - m_motorSpeed); _local16 = ((-(_arg1.inv_dt) * m_motorMass) * _local15); _local17 = m_motorForce; m_motorForce = b2Math.b2Clamp((m_motorForce + _local16), -(m_maxMotorForce), m_maxMotorForce); _local16 = (m_motorForce - _local17); _local11 = (_arg1.dt * _local16); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_motorJacobian.angular2)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local18 = m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local19 = ((-(_arg1.inv_dt) * m_motorMass) * _local18); if (m_limitState == e_equalLimits){ m_limitForce = (m_limitForce + _local19); } else { if (m_limitState == e_atLowerLimit){ _local8 = m_limitForce; m_limitForce = b2Math.b2Max((m_limitForce + _local19), 0); _local19 = (m_limitForce - _local8); } else { if (m_limitState == e_atUpperLimit){ _local8 = m_limitForce; m_limitForce = b2Math.b2Min((m_limitForce + _local19), 0); _local19 = (m_limitForce - _local8); }; }; }; _local11 = (_arg1.dt * _local19); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_motorJacobian.angular2)); }; } } }//package Box2D.Dynamics.Joints
Section 59
//b2PrismaticJointDef (Box2D.Dynamics.Joints.b2PrismaticJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2PrismaticJointDef extends b2JointDef { public var localAxis1:b2Vec2; public var referenceAngle:Number; public var maxMotorForce:Number; public var motorSpeed:Number; public var upperTranslation:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var enableMotor:Boolean; public var lowerTranslation:Number; public function b2PrismaticJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); localAxis1 = new b2Vec2(); super(); type = b2Joint.e_prismaticJoint; localAxis1.Set(1, 0); referenceAngle = 0; enableLimit = false; lowerTranslation = 0; upperTranslation = 0; enableMotor = false; maxMotorForce = 0; motorSpeed = 0; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1 = body1.GetLocalPoint(_arg3); localAnchor2 = body2.GetLocalPoint(_arg3); localAxis1 = body1.GetLocalVector(_arg4); referenceAngle = (body2.GetAngle() - body1.GetAngle()); } } }//package Box2D.Dynamics.Joints
Section 60
//b2PulleyJoint (Box2D.Dynamics.Joints.b2PulleyJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2PulleyJoint extends b2Joint { public var m_ground:b2Body; public var m_maxLength2:Number; public var m_limitForce1:Number; public var m_maxLength1:Number; public var m_limitState1:int; public var m_limitState2:int; public var m_limitPositionImpulse2:Number; public var m_force:Number; public var m_limitPositionImpulse1:Number; public var m_constant:Number; public var m_state:int; public var m_ratio:Number; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_positionImpulse:Number; public var m_limitMass2:Number; public var m_limitMass1:Number; public var m_pulleyMass:Number; public var m_u1:b2Vec2; public var m_u2:b2Vec2; public var m_limitForce2:Number; public static const b2_minPulleyLength:Number = 2; public function b2PulleyJoint(_arg1:b2PulleyJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_groundAnchor1 = new b2Vec2(); m_groundAnchor2 = new b2Vec2(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_u1 = new b2Vec2(); m_u2 = new b2Vec2(); super(_arg1); m_ground = m_body1.m_world.m_groundBody; m_groundAnchor1.x = (_arg1.groundAnchor1.x - m_ground.m_xf.position.x); m_groundAnchor1.y = (_arg1.groundAnchor1.y - m_ground.m_xf.position.y); m_groundAnchor2.x = (_arg1.groundAnchor2.x - m_ground.m_xf.position.x); m_groundAnchor2.y = (_arg1.groundAnchor2.y - m_ground.m_xf.position.y); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_ratio = _arg1.ratio; m_constant = (_arg1.length1 + (m_ratio * _arg1.length2)); m_maxLength1 = b2Math.b2Min(_arg1.maxLength1, (m_constant - (m_ratio * b2_minPulleyLength))); m_maxLength2 = b2Math.b2Min(_arg1.maxLength2, ((m_constant - b2_minPulleyLength) / m_ratio)); m_force = 0; m_limitForce1 = 0; m_limitForce2 = 0; } public function GetGroundAnchor2():b2Vec2{ var _local1:b2Vec2; _local1 = m_ground.m_xf.position.Copy(); _local1.Add(m_groundAnchor2); return (_local1); } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2; _local1 = m_u2.Copy(); _local1.Multiply(m_force); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; _local1 = m_body1; _local2 = m_body2; _local4 = (m_ground.m_xf.position.x + m_groundAnchor1.x); _local5 = (m_ground.m_xf.position.y + m_groundAnchor1.y); _local6 = (m_ground.m_xf.position.x + m_groundAnchor2.x); _local7 = (m_ground.m_xf.position.y + m_groundAnchor2.y); _local23 = 0; if (m_state == e_atUpperLimit){ _local3 = _local1.m_xf.R; _local8 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local8) + (_local3.col2.x * _local9)); _local9 = ((_local3.col1.y * _local8) + (_local3.col2.y * _local9)); _local8 = _local22; _local3 = _local2.m_xf.R; _local10 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local11 = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local10) + (_local3.col2.x * _local11)); _local11 = ((_local3.col1.y * _local10) + (_local3.col2.y * _local11)); _local10 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); m_u1.Set((_local12 - _local4), (_local13 - _local5)); m_u2.Set((_local14 - _local6), (_local15 - _local7)); _local16 = m_u1.Length(); _local17 = m_u2.Length(); if (_local16 > b2Settings.b2_linearSlop){ m_u1.Multiply((1 / _local16)); } else { m_u1.SetZero(); }; if (_local17 > b2Settings.b2_linearSlop){ m_u2.Multiply((1 / _local17)); } else { m_u2.SetZero(); }; _local18 = ((m_constant - _local16) - (m_ratio * _local17)); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_pulleyMass) * _local18); _local20 = m_positionImpulse; m_positionImpulse = b2Math.b2Max(0, (m_positionImpulse + _local19)); _local19 = (m_positionImpulse - _local20); _local12 = (-(_local19) * m_u1.x); _local13 = (-(_local19) * m_u1.y); _local14 = ((-(m_ratio) * _local19) * m_u2.x); _local15 = ((-(m_ratio) * _local19) * m_u2.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1.m_invMass * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1.m_invMass * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local1.SynchronizeTransform(); _local2.SynchronizeTransform(); }; if (m_limitState1 == e_atUpperLimit){ _local3 = _local1.m_xf.R; _local8 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local8) + (_local3.col2.x * _local9)); _local9 = ((_local3.col1.y * _local8) + (_local3.col2.y * _local9)); _local8 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); m_u1.Set((_local12 - _local4), (_local13 - _local5)); _local16 = m_u1.Length(); if (_local16 > b2Settings.b2_linearSlop){ m_u1.x = (m_u1.x * (1 / _local16)); m_u1.y = (m_u1.y * (1 / _local16)); } else { m_u1.SetZero(); }; _local18 = (m_maxLength1 - _local16); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass1) * _local18); _local21 = m_limitPositionImpulse1; m_limitPositionImpulse1 = b2Math.b2Max(0, (m_limitPositionImpulse1 + _local19)); _local19 = (m_limitPositionImpulse1 - _local21); _local12 = (-(_local19) * m_u1.x); _local13 = (-(_local19) * m_u1.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1.m_invMass * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1.m_invMass * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local1.SynchronizeTransform(); }; if (m_limitState2 == e_atUpperLimit){ _local3 = _local2.m_xf.R; _local10 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local11 = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local10) + (_local3.col2.x * _local11)); _local11 = ((_local3.col1.y * _local10) + (_local3.col2.y * _local11)); _local10 = _local22; _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); m_u2.Set((_local14 - _local6), (_local15 - _local7)); _local17 = m_u2.Length(); if (_local17 > b2Settings.b2_linearSlop){ m_u2.x = (m_u2.x * (1 / _local17)); m_u2.y = (m_u2.y * (1 / _local17)); } else { m_u2.SetZero(); }; _local18 = (m_maxLength2 - _local17); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass2) * _local18); _local21 = m_limitPositionImpulse2; m_limitPositionImpulse2 = b2Math.b2Max(0, (m_limitPositionImpulse2 + _local19)); _local19 = (m_limitPositionImpulse2 - _local21); _local14 = (-(_local19) * m_u2.x); _local15 = (-(_local19) * m_u2.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local2.SynchronizeTransform(); }; return ((_local23 < b2Settings.b2_linearSlop)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local5 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local6 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local7; _local10 = (_local2.m_sweep.c.x + _local5); _local11 = (_local2.m_sweep.c.y + _local6); _local12 = (_local3.m_sweep.c.x + _local8); _local13 = (_local3.m_sweep.c.y + _local9); _local14 = (m_ground.m_xf.position.x + m_groundAnchor1.x); _local15 = (m_ground.m_xf.position.y + m_groundAnchor1.y); _local16 = (m_ground.m_xf.position.x + m_groundAnchor2.x); _local17 = (m_ground.m_xf.position.y + m_groundAnchor2.y); m_u1.Set((_local10 - _local14), (_local11 - _local15)); m_u2.Set((_local12 - _local16), (_local13 - _local17)); _local18 = m_u1.Length(); _local19 = m_u2.Length(); if (_local18 > b2Settings.b2_linearSlop){ m_u1.Multiply((1 / _local18)); } else { m_u1.SetZero(); }; if (_local19 > b2Settings.b2_linearSlop){ m_u2.Multiply((1 / _local19)); } else { m_u2.SetZero(); }; _local20 = ((m_constant - _local18) - (m_ratio * _local19)); if (_local20 > 0){ m_state = e_inactiveLimit; m_force = 0; } else { m_state = e_atUpperLimit; m_positionImpulse = 0; }; if (_local18 < m_maxLength1){ m_limitState1 = e_inactiveLimit; m_limitForce1 = 0; } else { m_limitState1 = e_atUpperLimit; m_limitPositionImpulse1 = 0; }; if (_local19 < m_maxLength2){ m_limitState2 = e_inactiveLimit; m_limitForce2 = 0; } else { m_limitState2 = e_atUpperLimit; m_limitPositionImpulse2 = 0; }; _local21 = ((_local5 * m_u1.y) - (_local6 * m_u1.x)); _local22 = ((_local8 * m_u2.y) - (_local9 * m_u2.x)); m_limitMass1 = (_local2.m_invMass + ((_local2.m_invI * _local21) * _local21)); m_limitMass2 = (_local3.m_invMass + ((_local3.m_invI * _local22) * _local22)); m_pulleyMass = (m_limitMass1 + ((m_ratio * m_ratio) * m_limitMass2)); m_limitMass1 = (1 / m_limitMass1); m_limitMass2 = (1 / m_limitMass2); m_pulleyMass = (1 / m_pulleyMass); if (_arg1.warmStarting){ _local23 = ((_arg1.dt * (-(m_force) - m_limitForce1)) * m_u1.x); _local24 = ((_arg1.dt * (-(m_force) - m_limitForce1)) * m_u1.y); _local25 = ((_arg1.dt * ((-(m_ratio) * m_force) - m_limitForce2)) * m_u2.x); _local26 = ((_arg1.dt * ((-(m_ratio) * m_force) - m_limitForce2)) * m_u2.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local23)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local24) - (_local6 * _local23)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local25)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local26) - (_local9 * _local25)))); } else { m_force = 0; m_limitForce1 = 0; m_limitForce2 = 0; }; } override public function GetReactionTorque():Number{ return (0); } public function GetRatio():Number{ return (m_ratio); } public function GetLength2():Number{ var _local1:b2Vec2; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body2.GetWorldPoint(m_localAnchor2); _local2 = (m_ground.m_xf.position.x + m_groundAnchor2.x); _local3 = (m_ground.m_xf.position.y + m_groundAnchor2.y); _local4 = (_local1.x - _local2); _local5 = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local5 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local6 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local7; if (m_state == e_atUpperLimit){ _local10 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local12 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)); _local18 = (-(((m_u1.x * _local10) + (m_u1.y * _local11))) - (m_ratio * ((m_u2.x * _local12) + (m_u2.y * _local13)))); _local19 = ((-(_arg1.inv_dt) * m_pulleyMass) * _local18); _local20 = m_force; m_force = b2Math.b2Max(0, (m_force + _local19)); _local19 = (m_force - _local20); _local14 = ((-(_arg1.dt) * _local19) * m_u1.x); _local15 = ((-(_arg1.dt) * _local19) * m_u1.y); _local16 = (((-(_arg1.dt) * m_ratio) * _local19) * m_u2.x); _local17 = (((-(_arg1.dt) * m_ratio) * _local19) * m_u2.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local14)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local15) - (_local6 * _local14)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); }; if (m_limitState1 == e_atUpperLimit){ _local10 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local18 = -(((m_u1.x * _local10) + (m_u1.y * _local11))); _local19 = ((-(_arg1.inv_dt) * m_limitMass1) * _local18); _local20 = m_limitForce1; m_limitForce1 = b2Math.b2Max(0, (m_limitForce1 + _local19)); _local19 = (m_limitForce1 - _local20); _local14 = ((-(_arg1.dt) * _local19) * m_u1.x); _local15 = ((-(_arg1.dt) * _local19) * m_u1.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local14)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local15) - (_local6 * _local14)))); }; if (m_limitState2 == e_atUpperLimit){ _local12 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)); _local18 = -(((m_u2.x * _local12) + (m_u2.y * _local13))); _local19 = ((-(_arg1.inv_dt) * m_limitMass2) * _local18); _local20 = m_limitForce2; m_limitForce2 = b2Math.b2Max(0, (m_limitForce2 + _local19)); _local19 = (m_limitForce2 - _local20); _local16 = ((-(_arg1.dt) * _local19) * m_u2.x); _local17 = ((-(_arg1.dt) * _local19) * m_u2.y); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); }; } public function GetLength1():Number{ var _local1:b2Vec2; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body1.GetWorldPoint(m_localAnchor1); _local2 = (m_ground.m_xf.position.x + m_groundAnchor1.x); _local3 = (m_ground.m_xf.position.y + m_groundAnchor1.y); _local4 = (_local1.x - _local2); _local5 = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function GetGroundAnchor1():b2Vec2{ var _local1:b2Vec2; _local1 = m_ground.m_xf.position.Copy(); _local1.Add(m_groundAnchor1); return (_local1); } } }//package Box2D.Dynamics.Joints
Section 61
//b2PulleyJointDef (Box2D.Dynamics.Joints.b2PulleyJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2PulleyJointDef extends b2JointDef { public var maxLength2:Number; public var length1:Number; public var length2:Number; public var maxLength1:Number; public var ratio:Number; public var groundAnchor1:b2Vec2; public var groundAnchor2:b2Vec2; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public function b2PulleyJointDef(){ groundAnchor1 = new b2Vec2(); groundAnchor2 = new b2Vec2(); localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_pulleyJoint; groundAnchor1.Set(-1, 1); groundAnchor2.Set(1, 1); localAnchor1.Set(-1, 0); localAnchor2.Set(1, 0); length1 = 0; maxLength1 = 0; length2 = 0; maxLength2 = 0; ratio = 1; collideConnected = true; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2, _arg5:b2Vec2, _arg6:b2Vec2, _arg7:Number):void{ var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; body1 = _arg1; body2 = _arg2; groundAnchor1.SetV(_arg3); groundAnchor2.SetV(_arg4); localAnchor1 = body1.GetLocalPoint(_arg5); localAnchor2 = body2.GetLocalPoint(_arg6); _local8 = (_arg5.x - _arg3.x); _local9 = (_arg5.y - _arg3.y); length1 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local10 = (_arg6.x - _arg4.x); _local11 = (_arg6.y - _arg4.y); length2 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); ratio = _arg7; _local12 = (length1 + (ratio * length2)); maxLength1 = (_local12 - (ratio * b2PulleyJoint.b2_minPulleyLength)); maxLength2 = ((_local12 - b2PulleyJoint.b2_minPulleyLength) / ratio); } } }//package Box2D.Dynamics.Joints
Section 62
//b2RevoluteJoint (Box2D.Dynamics.Joints.b2RevoluteJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2RevoluteJoint extends b2Joint { public var m_limitForce:Number; public var m_motorForce:Number; public var m_pivotMass:b2Mat22; public var m_enableLimit:Boolean; public var m_limitState:int; public var m_motorMass:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; private var K1:b2Mat22; private var K2:b2Mat22; private var K3:b2Mat22; private var K:b2Mat22; public var m_pivotForce:b2Vec2; public var m_motorSpeed:Number; public var m_enableMotor:Boolean; public var m_limitPositionImpulse:Number; public var m_maxMotorTorque:Number; public var m_referenceAngle:Number; public var m_lowerAngle:Number; public var m_upperAngle:Number; public static var tImpulse:b2Vec2 = new b2Vec2(); public function b2RevoluteJoint(_arg1:b2RevoluteJointDef){ K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); K3 = new b2Mat22(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_pivotForce = new b2Vec2(); m_pivotMass = new b2Mat22(); super(_arg1); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_referenceAngle = _arg1.referenceAngle; m_pivotForce.Set(0, 0); m_motorForce = 0; m_limitForce = 0; m_limitPositionImpulse = 0; m_lowerAngle = _arg1.lowerAngle; m_upperAngle = _arg1.upperAngle; m_maxMotorTorque = _arg1.maxMotorTorque; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetUpperLimit():Number{ return (m_upperAngle); } public function GetLowerLimit():Number{ return (m_lowerAngle); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerAngle = _arg1; m_upperAngle = _arg2; } public function GetMotorSpeed():Number{ return (m_motorSpeed); } override public function GetReactionForce():b2Vec2{ return (m_pivotForce); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:b2Mat22; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; _local3 = m_body1; _local4 = m_body2; _local5 = 0; _local6 = _local3.m_xf.R; _local7 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local8 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local9 = ((_local6.col1.x * _local7) + (_local6.col2.x * _local8)); _local8 = ((_local6.col1.y * _local7) + (_local6.col2.y * _local8)); _local7 = _local9; _local6 = _local4.m_xf.R; _local10 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local11 = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local9 = ((_local6.col1.x * _local10) + (_local6.col2.x * _local11)); _local11 = ((_local6.col1.y * _local10) + (_local6.col2.y * _local11)); _local10 = _local9; _local12 = (_local3.m_sweep.c.x + _local7); _local13 = (_local3.m_sweep.c.y + _local8); _local14 = (_local4.m_sweep.c.x + _local10); _local15 = (_local4.m_sweep.c.y + _local11); _local16 = (_local14 - _local12); _local17 = (_local15 - _local13); _local5 = Math.sqrt(((_local16 * _local16) + (_local17 * _local17))); _local18 = _local3.m_invMass; _local19 = _local4.m_invMass; _local20 = _local3.m_invI; _local21 = _local4.m_invI; K1.col1.x = (_local18 + _local19); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local18 + _local19); K2.col1.x = ((_local20 * _local8) * _local8); K2.col2.x = ((-(_local20) * _local7) * _local8); K2.col1.y = ((-(_local20) * _local7) * _local8); K2.col2.y = ((_local20 * _local7) * _local7); K3.col1.x = ((_local21 * _local11) * _local11); K3.col2.x = ((-(_local21) * _local10) * _local11); K3.col1.y = ((-(_local21) * _local10) * _local11); K3.col2.y = ((_local21 * _local10) * _local10); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Solve(tImpulse, -(_local16), -(_local17)); _local22 = tImpulse.x; _local23 = tImpulse.y; _local3.m_sweep.c.x = (_local3.m_sweep.c.x - (_local3.m_invMass * _local22)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y - (_local3.m_invMass * _local23)); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * ((_local7 * _local23) - (_local8 * _local22)))); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + (_local4.m_invMass * _local22)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + (_local4.m_invMass * _local23)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * ((_local10 * _local23) - (_local11 * _local22)))); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); _local24 = 0; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local25 = ((_local4.m_sweep.a - _local3.m_sweep.a) - m_referenceAngle); _local26 = 0; if (m_limitState == e_equalLimits){ _local2 = b2Math.b2Clamp(_local25, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); _local26 = (-(m_motorMass) * _local2); _local24 = b2Math.b2Abs(_local2); } else { if (m_limitState == e_atLowerLimit){ _local2 = (_local25 - m_lowerAngle); _local24 = b2Math.b2Max(0, -(_local2)); _local2 = b2Math.b2Clamp((_local2 + b2Settings.b2_angularSlop), -(b2Settings.b2_maxAngularCorrection), 0); _local26 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local26), 0); _local26 = (m_limitPositionImpulse - _local1); } else { if (m_limitState == e_atUpperLimit){ _local2 = (_local25 - m_upperAngle); _local24 = b2Math.b2Max(0, _local2); _local2 = b2Math.b2Clamp((_local2 - b2Settings.b2_angularSlop), 0, b2Settings.b2_maxAngularCorrection); _local26 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local26), 0); _local26 = (m_limitPositionImpulse - _local1); }; }; }; _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * _local26)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * _local26)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); }; return ((((_local5 <= b2Settings.b2_linearSlop)) && ((_local24 <= b2Settings.b2_angularSlop)))); } public function GetJointSpeed():Number{ return ((m_body2.m_angularVelocity - m_body1.m_angularVelocity)); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } public function SetMaxMotorTorque(_arg1:Number):void{ m_maxMotorTorque = _arg1; } public function GetJointAngle():Number{ return (((m_body2.m_sweep.a - m_body1.m_sweep.a) - m_referenceAngle)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local6 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local7 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; _local10 = _local2.m_invMass; _local11 = _local3.m_invMass; _local12 = _local2.m_invI; _local13 = _local3.m_invI; K1.col1.x = (_local10 + _local11); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local10 + _local11); K2.col1.x = ((_local12 * _local7) * _local7); K2.col2.x = ((-(_local12) * _local6) * _local7); K2.col1.y = ((-(_local12) * _local6) * _local7); K2.col2.y = ((_local12 * _local6) * _local6); K3.col1.x = ((_local13 * _local9) * _local9); K3.col2.x = ((-(_local13) * _local8) * _local9); K3.col1.y = ((-(_local13) * _local8) * _local9); K3.col2.y = ((_local13 * _local8) * _local8); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Invert(m_pivotMass); m_motorMass = (1 / (_local12 + _local13)); if (m_enableMotor == false){ m_motorForce = 0; }; if (m_enableLimit){ _local14 = ((_local3.m_sweep.a - _local2.m_sweep.a) - m_referenceAngle); if (b2Math.b2Abs((m_upperAngle - m_lowerAngle)) < (2 * b2Settings.b2_angularSlop)){ m_limitState = e_equalLimits; } else { if (_local14 <= m_lowerAngle){ if (m_limitState != e_atLowerLimit){ m_limitForce = 0; }; m_limitState = e_atLowerLimit; } else { if (_local14 >= m_upperAngle){ if (m_limitState != e_atUpperLimit){ m_limitForce = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitForce = 0; }; }; }; } else { m_limitForce = 0; }; if (_arg1.warmStarting){ _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x - ((_arg1.dt * _local10) * m_pivotForce.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y - ((_arg1.dt * _local10) * m_pivotForce.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_arg1.dt * _local12) * ((((_local6 * m_pivotForce.y) - (_local7 * m_pivotForce.x)) + m_motorForce) + m_limitForce))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_arg1.dt * _local11) * m_pivotForce.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_arg1.dt * _local11) * m_pivotForce.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_arg1.dt * _local13) * ((((_local8 * m_pivotForce.y) - (_local9 * m_pivotForce.x)) + m_motorForce) + m_limitForce))); } else { m_pivotForce.SetZero(); m_motorForce = 0; m_limitForce = 0; }; m_limitPositionImpulse = 0; } public function EnableLimit(_arg1:Boolean):void{ m_enableLimit = _arg1; } public function GetMotorTorque():Number{ return (m_motorForce); } override public function GetReactionTorque():Number{ return (m_limitForce); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local6 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local7 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; _local11 = (((_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)) - _local2.m_linearVelocity.x) - (-(_local2.m_angularVelocity) * _local7)); _local12 = (((_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)) - _local2.m_linearVelocity.y) - (_local2.m_angularVelocity * _local6)); _local13 = (-(_arg1.inv_dt) * ((m_pivotMass.col1.x * _local11) + (m_pivotMass.col2.x * _local12))); _local14 = (-(_arg1.inv_dt) * ((m_pivotMass.col1.y * _local11) + (m_pivotMass.col2.y * _local12))); m_pivotForce.x = (m_pivotForce.x + _local13); m_pivotForce.y = (m_pivotForce.y + _local14); _local15 = (_arg1.dt * _local13); _local16 = (_arg1.dt * _local14); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x - (_local2.m_invMass * _local15)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y - (_local2.m_invMass * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2.m_invI * ((_local6 * _local16) - (_local7 * _local15)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local15)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local16)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local16) - (_local9 * _local15)))); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local17 = ((_local3.m_angularVelocity - _local2.m_angularVelocity) - m_motorSpeed); _local18 = ((-(_arg1.inv_dt) * m_motorMass) * _local17); _local19 = m_motorForce; m_motorForce = b2Math.b2Clamp((m_motorForce + _local18), -(m_maxMotorTorque), m_maxMotorTorque); _local18 = (m_motorForce - _local19); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2.m_invI * _arg1.dt) * _local18)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _arg1.dt) * _local18)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local20 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local21 = ((-(_arg1.inv_dt) * m_motorMass) * _local20); if (m_limitState == e_equalLimits){ m_limitForce = (m_limitForce + _local21); } else { if (m_limitState == e_atLowerLimit){ _local10 = m_limitForce; m_limitForce = b2Math.b2Max((m_limitForce + _local21), 0); _local21 = (m_limitForce - _local10); } else { if (m_limitState == e_atUpperLimit){ _local10 = m_limitForce; m_limitForce = b2Math.b2Min((m_limitForce + _local21), 0); _local21 = (m_limitForce - _local10); }; }; }; _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2.m_invI * _arg1.dt) * _local21)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _arg1.dt) * _local21)); }; } } }//package Box2D.Dynamics.Joints
Section 63
//b2RevoluteJointDef (Box2D.Dynamics.Joints.b2RevoluteJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2RevoluteJointDef extends b2JointDef { public var referenceAngle:Number; public var upperAngle:Number; public var lowerAngle:Number; public var motorSpeed:Number; public var maxMotorTorque:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var enableMotor:Boolean; public function b2RevoluteJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_revoluteJoint; localAnchor1.Set(0, 0); localAnchor2.Set(0, 0); referenceAngle = 0; lowerAngle = 0; upperAngle = 0; maxMotorTorque = 0; motorSpeed = 0; enableLimit = false; enableMotor = false; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1 = body1.GetLocalPoint(_arg3); localAnchor2 = body2.GetLocalPoint(_arg3); referenceAngle = (body2.GetAngle() - body1.GetAngle()); } } }//package Box2D.Dynamics.Joints
Section 64
//b2Body (Box2D.Dynamics.b2Body) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.Contacts.*; public class b2Body { public var m_next:b2Body; public var m_contactList:b2ContactEdge; public var m_angularVelocity:Number; public var m_shapeList:b2Shape; public var m_force:b2Vec2; public var m_mass:Number; public var m_sweep:b2Sweep; public var m_xf:b2XForm; public var m_torque:Number; public var m_userData; public var m_flags:uint; public var m_world:b2World; public var m_prev:b2Body; public var m_invMass:Number; public var m_type:int; public var m_linearDamping:Number; public var m_angularDamping:Number; public var m_invI:Number; public var m_linearVelocity:b2Vec2; public var m_sleepTime:Number; public var m_shapeCount:int; public var m_jointList:b2JointEdge; public var m_I:Number; public static var e_fixedRotationFlag:uint = 64; public static var e_frozenFlag:uint = 2; public static var e_maxTypes:uint = 3; public static var e_sleepFlag:uint = 8; private static var s_massData:b2MassData = new b2MassData(); public static var e_bulletFlag:uint = 32; public static var e_staticType:uint = 1; public static var e_islandFlag:uint = 4; public static var e_allowSleepFlag:uint = 16; private static var s_xf1:b2XForm = new b2XForm(); public static var e_dynamicType:uint = 2; public function b2Body(_arg1:b2BodyDef, _arg2:b2World){ var _local3:b2Mat22; var _local4:b2Vec2; m_xf = new b2XForm(); m_sweep = new b2Sweep(); m_linearVelocity = new b2Vec2(); m_force = new b2Vec2(); super(); m_flags = 0; if (_arg1.isBullet){ m_flags = (m_flags | e_bulletFlag); }; if (_arg1.fixedRotation){ m_flags = (m_flags | e_fixedRotationFlag); }; if (_arg1.allowSleep){ m_flags = (m_flags | e_allowSleepFlag); }; if (_arg1.isSleeping){ m_flags = (m_flags | e_sleepFlag); }; m_world = _arg2; m_xf.position.SetV(_arg1.position); m_xf.R.Set(_arg1.angle); m_sweep.localCenter.SetV(_arg1.massData.center); m_sweep.t0 = 1; m_sweep.a0 = (m_sweep.a = _arg1.angle); _local3 = m_xf.R; _local4 = m_sweep.localCenter; m_sweep.c.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); m_sweep.c.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); m_jointList = null; m_contactList = null; m_prev = null; m_next = null; m_linearDamping = _arg1.linearDamping; m_angularDamping = _arg1.angularDamping; m_force.Set(0, 0); m_torque = 0; m_linearVelocity.SetZero(); m_angularVelocity = 0; m_sleepTime = 0; m_invMass = 0; m_I = 0; m_invI = 0; m_mass = _arg1.massData.mass; if (m_mass > 0){ m_invMass = (1 / m_mass); }; if ((m_flags & b2Body.e_fixedRotationFlag) == 0){ m_I = _arg1.massData.I; }; if (m_I > 0){ m_invI = (1 / m_I); }; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; m_userData = _arg1.userData; m_shapeList = null; m_shapeCount = 0; } public function GetLinearVelocityFromWorldPoint(_arg1:b2Vec2):b2Vec2{ return (new b2Vec2((m_linearVelocity.x + (m_angularVelocity * (_arg1.y - m_sweep.c.y))), (m_linearVelocity.x - (m_angularVelocity * (_arg1.x - m_sweep.c.x))))); } public function SetLinearVelocity(_arg1:b2Vec2):void{ m_linearVelocity.SetV(_arg1); } public function WakeUp():void{ m_flags = (m_flags & ~(e_sleepFlag)); m_sleepTime = 0; } public function GetLocalCenter():b2Vec2{ return (m_sweep.localCenter); } public function ApplyTorque(_arg1:Number):void{ if (IsSleeping()){ WakeUp(); }; m_torque = (m_torque + _arg1); } public function IsFrozen():Boolean{ return (((m_flags & e_frozenFlag) == e_frozenFlag)); } public function IsDynamic():Boolean{ return ((m_type == e_dynamicType)); } public function GetLinearVelocity():b2Vec2{ return (m_linearVelocity); } public function SynchronizeTransform():void{ var _local1:b2Mat22; var _local2:b2Vec2; m_xf.R.Set(m_sweep.a); _local1 = m_xf.R; _local2 = m_sweep.localCenter; m_xf.position.x = (m_sweep.c.x - ((_local1.col1.x * _local2.x) + (_local1.col2.x * _local2.y))); m_xf.position.y = (m_sweep.c.y - ((_local1.col1.y * _local2.x) + (_local1.col2.y * _local2.y))); } public function GetInertia():Number{ return (m_I); } public function IsSleeping():Boolean{ return (((m_flags & e_sleepFlag) == e_sleepFlag)); } public function SetMassFromShapes():void{ var _local1:b2Shape; var _local2:Number; var _local3:Number; var _local4:b2MassData; var _local5:b2Mat22; var _local6:b2Vec2; var _local7:int; if (m_world.m_lock == true){ return; }; m_mass = 0; m_invMass = 0; m_I = 0; m_invI = 0; _local2 = 0; _local3 = 0; _local4 = s_massData; _local1 = m_shapeList; while (_local1) { _local1.ComputeMass(_local4); m_mass = (m_mass + _local4.mass); _local2 = (_local2 + (_local4.mass * _local4.center.x)); _local3 = (_local3 + (_local4.mass * _local4.center.y)); m_I = (m_I + _local4.I); _local1 = _local1.m_next; }; if (m_mass > 0){ m_invMass = (1 / m_mass); _local2 = (_local2 * m_invMass); _local3 = (_local3 * m_invMass); }; if ((((m_I > 0)) && (((m_flags & e_fixedRotationFlag) == 0)))){ m_I = (m_I - (m_mass * ((_local2 * _local2) + (_local3 * _local3)))); m_invI = (1 / m_I); } else { m_I = 0; m_invI = 0; }; m_sweep.localCenter.Set(_local2, _local3); _local5 = m_xf.R; _local6 = m_sweep.localCenter; m_sweep.c.x = ((_local5.col1.x * _local6.x) + (_local5.col2.x * _local6.y)); m_sweep.c.y = ((_local5.col1.y * _local6.x) + (_local5.col2.y * _local6.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); _local1 = m_shapeList; while (_local1) { _local1.UpdateSweepRadius(m_sweep.localCenter); _local1 = _local1.m_next; }; _local7 = m_type; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; if (_local7 != m_type){ _local1 = m_shapeList; while (_local1) { _local1.RefilterProxy(m_world.m_broadPhase, m_xf); _local1 = _local1.m_next; }; }; } public function PutToSleep():void{ m_flags = (m_flags | e_sleepFlag); m_sleepTime = 0; m_linearVelocity.SetZero(); m_angularVelocity = 0; m_force.SetZero(); m_torque = 0; } public function GetJointList():b2JointEdge{ return (m_jointList); } public function SetXForm(_arg1:b2Vec2, _arg2:Number):Boolean{ var _local3:b2Shape; var _local4:b2Mat22; var _local5:b2Vec2; var _local6:Boolean; var _local7:Boolean; if (m_world.m_lock == true){ return (true); }; if (IsFrozen()){ return (false); }; m_xf.R.Set(_arg2); m_xf.position.SetV(_arg1); _local4 = m_xf.R; _local5 = m_sweep.localCenter; m_sweep.c.x = ((_local4.col1.x * _local5.x) + (_local4.col2.x * _local5.y)); m_sweep.c.y = ((_local4.col1.y * _local5.x) + (_local4.col2.y * _local5.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); m_sweep.a0 = (m_sweep.a = _arg2); _local6 = false; _local3 = m_shapeList; while (_local3) { _local7 = _local3.Synchronize(m_world.m_broadPhase, m_xf, m_xf); if (_local7 == false){ _local6 = true; break; }; _local3 = _local3.m_next; }; if (_local6 == true){ m_flags = (m_flags | e_frozenFlag); m_linearVelocity.SetZero(); m_angularVelocity = 0; _local3 = m_shapeList; while (_local3) { _local3.DestroyProxy(m_world.m_broadPhase); _local3 = _local3.m_next; }; return (false); }; m_world.m_broadPhase.Commit(); return (true); } public function GetLocalPoint(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulXT(m_xf, _arg1)); } public function ApplyForce(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; m_force.x = (m_force.x + _arg1.x); m_force.y = (m_force.y + _arg1.y); m_torque = (m_torque + (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x))); } public function SynchronizeShapes():Boolean{ var _local1:b2XForm; var _local2:b2Mat22; var _local3:b2Vec2; var _local4:b2Shape; var _local5:Boolean; _local1 = s_xf1; _local1.R.Set(m_sweep.a0); _local2 = _local1.R; _local3 = m_sweep.localCenter; _local1.position.x = (m_sweep.c0.x - ((_local2.col1.x * _local3.x) + (_local2.col2.x * _local3.y))); _local1.position.y = (m_sweep.c0.y - ((_local2.col1.y * _local3.x) + (_local2.col2.y * _local3.y))); _local5 = true; _local4 = m_shapeList; while (_local4) { _local5 = _local4.Synchronize(m_world.m_broadPhase, _local1, m_xf); if (_local5 == false){ break; }; _local4 = _local4.m_next; }; if (_local5 == false){ m_flags = (m_flags | e_frozenFlag); m_linearVelocity.SetZero(); m_angularVelocity = 0; _local4 = m_shapeList; while (_local4) { _local4.DestroyProxy(m_world.m_broadPhase); _local4 = _local4.m_next; }; return (false); }; return (true); } public function GetAngle():Number{ return (m_sweep.a); } public function GetXForm():b2XForm{ return (m_xf); } public function ApplyImpulse(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; m_linearVelocity.x = (m_linearVelocity.x + (m_invMass * _arg1.x)); m_linearVelocity.y = (m_linearVelocity.y + (m_invMass * _arg1.y)); m_angularVelocity = (m_angularVelocity + (m_invI * (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x)))); } public function GetNext():b2Body{ return (m_next); } public function GetMass():Number{ return (m_mass); } public function GetLinearVelocityFromLocalPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22; var _local3:b2Vec2; _local2 = m_xf.R; _local3 = new b2Vec2(((_local2.col1.x * _arg1.x) + (_local2.col2.x * _arg1.y)), ((_local2.col1.y * _arg1.x) + (_local2.col2.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (new b2Vec2((m_linearVelocity.x + (m_angularVelocity * (_local3.y - m_sweep.c.y))), (m_linearVelocity.x - (m_angularVelocity * (_local3.x - m_sweep.c.x))))); } public function GetAngularVelocity():Number{ return (m_angularVelocity); } public function SetAngularVelocity(_arg1:Number):void{ m_angularVelocity = _arg1; } public function SetMass(_arg1:b2MassData):void{ var _local2:b2Shape; var _local3:b2Mat22; var _local4:b2Vec2; var _local5:int; if (m_world.m_lock == true){ return; }; m_invMass = 0; m_I = 0; m_invI = 0; m_mass = _arg1.mass; if (m_mass > 0){ m_invMass = (1 / m_mass); }; if ((m_flags & b2Body.e_fixedRotationFlag) == 0){ m_I = _arg1.I; }; if (m_I > 0){ m_invI = (1 / m_I); }; m_sweep.localCenter.SetV(_arg1.center); _local3 = m_xf.R; _local4 = m_sweep.localCenter; m_sweep.c.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); m_sweep.c.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); _local2 = m_shapeList; while (_local2) { _local2.UpdateSweepRadius(m_sweep.localCenter); _local2 = _local2.m_next; }; _local5 = m_type; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; if (_local5 != m_type){ _local2 = m_shapeList; while (_local2) { _local2.RefilterProxy(m_world.m_broadPhase, m_xf); _local2 = _local2.m_next; }; }; } public function IsStatic():Boolean{ return ((m_type == e_staticType)); } public function GetWorldVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulMV(m_xf.R, _arg1)); } public function GetShapeList():b2Shape{ return (m_shapeList); } public function Advance(_arg1:Number):void{ m_sweep.Advance(_arg1); m_sweep.c.SetV(m_sweep.c0); m_sweep.a = m_sweep.a0; SynchronizeTransform(); } public function SetBullet(_arg1:Boolean):void{ if (_arg1){ m_flags = (m_flags | e_bulletFlag); } else { m_flags = (m_flags & ~(e_bulletFlag)); }; } public function CreateShape(_arg1:b2ShapeDef):b2Shape{ var _local2:b2Shape; if (m_world.m_lock == true){ return (null); }; _local2 = b2Shape.Create(_arg1, m_world.m_blockAllocator); _local2.m_next = m_shapeList; m_shapeList = _local2; m_shapeCount++; _local2.m_body = this; _local2.CreateProxy(m_world.m_broadPhase, m_xf); _local2.UpdateSweepRadius(m_sweep.localCenter); return (_local2); } public function IsConnected(_arg1:b2Body):Boolean{ var _local2:b2JointEdge; _local2 = m_jointList; while (_local2) { if (_local2.other == _arg1){ return ((_local2.joint.m_collideConnected == false)); }; _local2 = _local2.next; }; return (false); } public function DestroyShape(_arg1:b2Shape):void{ var _local2:b2Shape; var _local3:b2Shape; var _local4:Boolean; if (m_world.m_lock == true){ return; }; _arg1.DestroyProxy(m_world.m_broadPhase); _local2 = m_shapeList; _local3 = null; _local4 = false; while (_local2 != null) { if (_local2 == _arg1){ if (_local3){ _local3.m_next = _arg1.m_next; } else { m_shapeList = _arg1.m_next; }; _local4 = true; break; }; _local3 = _local2; _local2 = _local2.m_next; }; _arg1.m_body = null; _arg1.m_next = null; m_shapeCount--; b2Shape.Destroy(_arg1, m_world.m_blockAllocator); } public function GetUserData(){ return (m_userData); } public function IsBullet():Boolean{ return (((m_flags & e_bulletFlag) == e_bulletFlag)); } public function GetWorldCenter():b2Vec2{ return (m_sweep.c); } public function AllowSleeping(_arg1:Boolean):void{ if (_arg1){ m_flags = (m_flags | e_allowSleepFlag); } else { m_flags = (m_flags & ~(e_allowSleepFlag)); WakeUp(); }; } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetLocalVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulTMV(m_xf.R, _arg1)); } public function GetWorldPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22; var _local3:b2Vec2; _local2 = m_xf.R; _local3 = new b2Vec2(((_local2.col1.x * _arg1.x) + (_local2.col2.x * _arg1.y)), ((_local2.col1.y * _arg1.x) + (_local2.col2.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (_local3); } public function GetWorld():b2World{ return (m_world); } public function GetPosition():b2Vec2{ return (m_xf.position); } } }//package Box2D.Dynamics
Section 65
//b2BodyDef (Box2D.Dynamics.b2BodyDef) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; public class b2BodyDef { public var isSleeping:Boolean; public var position:b2Vec2; public var isBullet:Boolean; public var allowSleep:Boolean; public var userData; public var angularDamping:Number; public var fixedRotation:Boolean; public var angle:Number; public var linearDamping:Number; public var massData:b2MassData; public function b2BodyDef(){ massData = new b2MassData(); position = new b2Vec2(); super(); massData.center.SetZero(); massData.mass = 0; massData.I = 0; userData = null; position.Set(0, 0); angle = 0; linearDamping = 0; angularDamping = 0; allowSleep = true; isSleeping = false; fixedRotation = false; isBullet = false; } } }//package Box2D.Dynamics
Section 66
//b2BoundaryListener (Box2D.Dynamics.b2BoundaryListener) package Box2D.Dynamics { public class b2BoundaryListener { public function Violation(_arg1:b2Body):void{ } } }//package Box2D.Dynamics
Section 67
//b2ContactFilter (Box2D.Dynamics.b2ContactFilter) package Box2D.Dynamics { import Box2D.Collision.Shapes.*; public class b2ContactFilter { public static var b2_defaultFilter:b2ContactFilter = new (b2ContactFilter); ; public function RayCollide(_arg1, _arg2:b2Shape):Boolean{ if (!_arg1){ return (true); }; return (ShouldCollide((_arg1 as b2Shape), _arg2)); } public function ShouldCollide(_arg1:b2Shape, _arg2:b2Shape):Boolean{ var _local3:b2FilterData; var _local4:b2FilterData; var _local5:Boolean; _local3 = _arg1.GetFilterData(); _local4 = _arg2.GetFilterData(); if ((((_local3.groupIndex == _local4.groupIndex)) && (!((_local3.groupIndex == 0))))){ return ((_local3.groupIndex > 0)); }; _local5 = ((!(((_local3.maskBits & _local4.categoryBits) == 0))) && (!(((_local3.categoryBits & _local4.maskBits) == 0)))); return (_local5); } } }//package Box2D.Dynamics
Section 68
//b2ContactListener (Box2D.Dynamics.b2ContactListener) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; public class b2ContactListener { public function Add(_arg1:b2ContactPoint):void{ } public function Remove(_arg1:b2ContactPoint):void{ } public function Persist(_arg1:b2ContactPoint):void{ } public function Result(_arg1:b2ContactResult):void{ } } }//package Box2D.Dynamics
Section 69
//b2ContactManager (Box2D.Dynamics.b2ContactManager) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.Contacts.*; public class b2ContactManager extends b2PairCallback { public var m_world:b2World; public var m_destroyImmediate:Boolean; public var m_nullContact:b2NullContact; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2ContactManager(){ m_nullContact = new b2NullContact(); super(); m_world = null; m_destroyImmediate = false; } override public function PairAdded(_arg1, _arg2){ var _local3:b2Shape; var _local4:b2Shape; var _local5:b2Body; var _local6:b2Body; var _local7:b2Contact; _local3 = (_arg1 as b2Shape); _local4 = (_arg2 as b2Shape); _local5 = _local3.m_body; _local6 = _local4.m_body; if (((_local5.IsStatic()) && (_local6.IsStatic()))){ return (m_nullContact); }; if (_local3.m_body == _local4.m_body){ return (m_nullContact); }; if (_local6.IsConnected(_local5)){ return (m_nullContact); }; if (((!((m_world.m_contactFilter == null))) && ((m_world.m_contactFilter.ShouldCollide(_local3, _local4) == false)))){ return (m_nullContact); }; _local7 = b2Contact.Create(_local3, _local4, m_world.m_blockAllocator); if (_local7 == null){ return (m_nullContact); }; _local3 = _local7.m_shape1; _local4 = _local7.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; _local7.m_prev = null; _local7.m_next = m_world.m_contactList; if (m_world.m_contactList != null){ m_world.m_contactList.m_prev = _local7; }; m_world.m_contactList = _local7; _local7.m_node1.contact = _local7; _local7.m_node1.other = _local6; _local7.m_node1.prev = null; _local7.m_node1.next = _local5.m_contactList; if (_local5.m_contactList != null){ _local5.m_contactList.prev = _local7.m_node1; }; _local5.m_contactList = _local7.m_node1; _local7.m_node2.contact = _local7; _local7.m_node2.other = _local5; _local7.m_node2.prev = null; _local7.m_node2.next = _local6.m_contactList; if (_local6.m_contactList != null){ _local6.m_contactList.prev = _local7.m_node2; }; _local6.m_contactList = _local7.m_node2; m_world.m_contactCount++; return (_local7); } override public function PairRemoved(_arg1, _arg2, _arg3):void{ var _local4:b2Contact; if (_arg3 == null){ return; }; _local4 = (_arg3 as b2Contact); if (_local4 == m_nullContact){ return; }; Destroy(_local4); } public function Destroy(_arg1:b2Contact):void{ var _local2:b2Shape; var _local3:b2Shape; var _local4:int; var _local5:b2Body; var _local6:b2Body; var _local7:b2Body; var _local8:b2Body; var _local9:Array; var _local10:b2ContactPoint; var _local11:int; var _local12:b2Manifold; var _local13:int; var _local14:b2ManifoldPoint; var _local15:b2Vec2; var _local16:b2Vec2; _local2 = _arg1.m_shape1; _local3 = _arg1.m_shape2; _local4 = _arg1.m_manifoldCount; if ((((_local4 > 0)) && (m_world.m_contactListener))){ _local7 = _local2.m_body; _local8 = _local3.m_body; _local9 = _arg1.GetManifolds(); _local10 = s_evalCP; _local10.shape1 = _arg1.m_shape1; _local10.shape2 = _arg1.m_shape1; _local10.friction = _arg1.m_friction; _local10.restitution = _arg1.m_restitution; _local11 = 0; while (_local11 < _local4) { _local12 = _local9[_local11]; _local10.normal.SetV(_local12.normal); _local13 = 0; while (_local13 < _local12.pointCount) { _local14 = _local12.points[_local13]; _local10.position = _local7.GetWorldPoint(_local14.localPoint1); _local15 = _local7.GetLinearVelocityFromLocalPoint(_local14.localPoint1); _local16 = _local8.GetLinearVelocityFromLocalPoint(_local14.localPoint2); _local10.velocity.Set((_local16.x - _local15.x), (_local16.y - _local15.y)); _local10.separation = _local14.separation; _local10.id.key = _local14.id._key; m_world.m_contactListener.Remove(_local10); _local13++; }; _local11++; }; }; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_world.m_contactList){ m_world.m_contactList = _arg1.m_next; }; _local5 = _local2.m_body; _local6 = _local3.m_body; if (_arg1.m_node1.prev){ _arg1.m_node1.prev.next = _arg1.m_node1.next; }; if (_arg1.m_node1.next){ _arg1.m_node1.next.prev = _arg1.m_node1.prev; }; if (_arg1.m_node1 == _local5.m_contactList){ _local5.m_contactList = _arg1.m_node1.next; }; if (_arg1.m_node2.prev){ _arg1.m_node2.prev.next = _arg1.m_node2.next; }; if (_arg1.m_node2.next){ _arg1.m_node2.next.prev = _arg1.m_node2.prev; }; if (_arg1.m_node2 == _local6.m_contactList){ _local6.m_contactList = _arg1.m_node2.next; }; b2Contact.Destroy(_arg1, m_world.m_blockAllocator); m_world.m_contactCount--; } public function Collide():void{ var _local1:b2Contact; var _local2:b2Body; var _local3:b2Body; _local1 = m_world.m_contactList; while (_local1) { _local2 = _local1.m_shape1.m_body; _local3 = _local1.m_shape2.m_body; if (((_local2.IsSleeping()) && (_local3.IsSleeping()))){ } else { _local1.Update(m_world.m_contactListener); }; _local1 = _local1.m_next; }; } } }//package Box2D.Dynamics
Section 70
//b2DebugDraw (Box2D.Dynamics.b2DebugDraw) package Box2D.Dynamics { import flash.display.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; public class b2DebugDraw { public var m_xformScale:Number;// = 1 public var m_fillAlpha:Number;// = 1 public var m_alpha:Number;// = 1 public var m_lineThickness:Number;// = 1 public var m_drawFlags:uint; public var m_sprite:Sprite; public var m_drawScale:Number;// = 1 public static var e_coreShapeBit:uint = 4; public static var e_shapeBit:uint = 1; public static var e_centerOfMassBit:uint = 64; public static var e_aabbBit:uint = 8; public static var e_obbBit:uint = 16; public static var e_pairBit:uint = 32; public static var e_jointBit:uint = 2; public function b2DebugDraw(){ m_drawScale = 1; m_lineThickness = 1; m_alpha = 1; m_fillAlpha = 1; m_xformScale = 1; super(); m_drawFlags = 0; } public function DrawSolidPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ var _local4:int; m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); m_sprite.graphics.beginFill(_arg3.color, m_fillAlpha); _local4 = 1; while (_local4 < _arg2) { m_sprite.graphics.lineTo((_arg1[_local4].x * m_drawScale), (_arg1[_local4].y * m_drawScale)); _local4++; }; m_sprite.graphics.lineTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); m_sprite.graphics.endFill(); } public function DrawCircle(_arg1:b2Vec2, _arg2:Number, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.drawCircle((_arg1.x * m_drawScale), (_arg1.y * m_drawScale), (_arg2 * m_drawScale)); } public function DrawXForm(_arg1:b2XForm):void{ m_sprite.graphics.lineStyle(m_lineThickness, 0xFF0000, m_alpha); m_sprite.graphics.moveTo((_arg1.position.x * m_drawScale), (_arg1.position.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.position.x + (m_xformScale * _arg1.R.col1.x)) * m_drawScale), ((_arg1.position.y + (m_xformScale * _arg1.R.col1.y)) * m_drawScale)); m_sprite.graphics.lineStyle(m_lineThickness, 0xFF00, m_alpha); m_sprite.graphics.moveTo((_arg1.position.x * m_drawScale), (_arg1.position.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.position.x + (m_xformScale * _arg1.R.col2.x)) * m_drawScale), ((_arg1.position.y + (m_xformScale * _arg1.R.col2.y)) * m_drawScale)); } public function ClearFlags(_arg1:uint):void{ m_drawFlags = (m_drawFlags & ~(_arg1)); } public function DrawSolidCircle(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg4.color, m_alpha); m_sprite.graphics.moveTo(0, 0); m_sprite.graphics.beginFill(_arg4.color, m_fillAlpha); m_sprite.graphics.drawCircle((_arg1.x * m_drawScale), (_arg1.y * m_drawScale), (_arg2 * m_drawScale)); m_sprite.graphics.endFill(); m_sprite.graphics.moveTo((_arg1.x * m_drawScale), (_arg1.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.x + (_arg3.x * _arg2)) * m_drawScale), ((_arg1.y + (_arg3.y * _arg2)) * m_drawScale)); } public function SetFlags(_arg1:uint):void{ m_drawFlags = _arg1; } public function AppendFlags(_arg1:uint):void{ m_drawFlags = (m_drawFlags | _arg1); } public function DrawSegment(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1.x * m_drawScale), (_arg1.y * m_drawScale)); m_sprite.graphics.lineTo((_arg2.x * m_drawScale), (_arg2.y * m_drawScale)); } public function GetFlags():uint{ return (m_drawFlags); } public function DrawPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ var _local4:int; m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); _local4 = 1; while (_local4 < _arg2) { m_sprite.graphics.lineTo((_arg1[_local4].x * m_drawScale), (_arg1[_local4].y * m_drawScale)); _local4++; }; m_sprite.graphics.lineTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); } } }//package Box2D.Dynamics
Section 71
//b2DestructionListener (Box2D.Dynamics.b2DestructionListener) package Box2D.Dynamics { import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; public class b2DestructionListener { public function SayGoodbyeJoint(_arg1:b2Joint):void{ } public function SayGoodbyeShape(_arg1:b2Shape):void{ } } }//package Box2D.Dynamics
Section 72
//b2Island (Box2D.Dynamics.b2Island) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.Joints.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; public class b2Island { public var m_joints:Array; public var m_listener:b2ContactListener; public var m_positionIterationCount:int; public var m_bodyCapacity:int; public var m_bodies:Array; public var m_jointCapacity:int; public var m_contactCount:int; public var m_contacts:Array; public var m_contactCapacity:int; public var m_jointCount:int; public var m_allocator; public var m_bodyCount:int; private static var s_reportCR:b2ContactResult = new b2ContactResult(); public function b2Island(_arg1:int, _arg2:int, _arg3:int, _arg4, _arg5:b2ContactListener){ var _local6:int; super(); m_bodyCapacity = _arg1; m_contactCapacity = _arg2; m_jointCapacity = _arg3; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_allocator = _arg4; m_listener = _arg5; m_bodies = new Array(_arg1); _local6 = 0; while (_local6 < _arg1) { m_bodies[_local6] = null; _local6++; }; m_contacts = new Array(_arg2); _local6 = 0; while (_local6 < _arg2) { m_contacts[_local6] = null; _local6++; }; m_joints = new Array(_arg3); _local6 = 0; while (_local6 < _arg3) { m_joints[_local6] = null; _local6++; }; m_positionIterationCount = 0; } public function AddBody(_arg1:b2Body):void{ var _local2 = m_bodyCount++; m_bodies[_local2] = _arg1; } public function AddJoint(_arg1:b2Joint):void{ var _local2 = m_jointCount++; m_joints[_local2] = _arg1; } public function Report(_arg1:Array):void{ var _local2:b2Mat22; var _local3:b2Vec2; var _local4:int; var _local5:b2Contact; var _local6:b2ContactConstraint; var _local7:b2ContactResult; var _local8:b2Body; var _local9:int; var _local10:Array; var _local11:int; var _local12:b2Manifold; var _local13:int; var _local14:b2ManifoldPoint; var _local15:b2ContactConstraintPoint; if (m_listener == null){ return; }; _local4 = 0; while (_local4 < m_contactCount) { _local5 = m_contacts[_local4]; _local6 = _arg1[_local4]; _local7 = s_reportCR; _local7.shape1 = _local5.m_shape1; _local7.shape2 = _local5.m_shape2; _local8 = _local7.shape1.m_body; _local9 = _local5.m_manifoldCount; _local10 = _local5.GetManifolds(); _local11 = 0; while (_local11 < _local9) { _local12 = _local10[_local11]; _local7.normal.SetV(_local12.normal); _local13 = 0; while (_local13 < _local12.pointCount) { _local14 = _local12.points[_local13]; _local15 = _local6.points[_local13]; _local7.position = _local8.GetWorldPoint(_local14.localPoint1); _local7.normalImpulse = _local15.normalImpulse; _local7.tangentImpulse = _local15.tangentImpulse; _local7.id.key = _local14.id.key; m_listener.Result(_local7); _local13++; }; _local11++; }; _local4++; }; } public function Solve(_arg1:b2TimeStep, _arg2:b2Vec2, _arg3:Boolean, _arg4:Boolean):void{ var _local5:int; var _local6:b2Body; var _local7:b2Joint; var _local8:b2ContactSolver; var _local9:int; var _local10:Boolean; var _local11:Boolean; var _local12:Boolean; var _local13:Number; var _local14:Number; var _local15:Number; _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.IsStatic()){ } else { _local6.m_linearVelocity.x = (_local6.m_linearVelocity.x + (_arg1.dt * (_arg2.x + (_local6.m_invMass * _local6.m_force.x)))); _local6.m_linearVelocity.y = (_local6.m_linearVelocity.y + (_arg1.dt * (_arg2.y + (_local6.m_invMass * _local6.m_force.y)))); _local6.m_angularVelocity = (_local6.m_angularVelocity + ((_arg1.dt * _local6.m_invI) * _local6.m_torque)); _local6.m_force.SetZero(); _local6.m_torque = 0; _local6.m_linearVelocity.Multiply(b2Math.b2Clamp((1 - (_arg1.dt * _local6.m_linearDamping)), 0, 1)); _local6.m_angularVelocity = (_local6.m_angularVelocity * b2Math.b2Clamp((1 - (_arg1.dt * _local6.m_angularDamping)), 0, 1)); if (_local6.m_linearVelocity.LengthSquared() > b2Settings.b2_maxLinearVelocitySquared){ _local6.m_linearVelocity.Normalize(); _local6.m_linearVelocity.x = (_local6.m_linearVelocity.x * b2Settings.b2_maxLinearVelocity); _local6.m_linearVelocity.y = (_local6.m_linearVelocity.y * b2Settings.b2_maxLinearVelocity); }; if ((_local6.m_angularVelocity * _local6.m_angularVelocity) > b2Settings.b2_maxAngularVelocitySquared){ if (_local6.m_angularVelocity < 0){ _local6.m_angularVelocity = -(b2Settings.b2_maxAngularVelocity); } else { _local6.m_angularVelocity = b2Settings.b2_maxAngularVelocity; }; }; }; _local5++; }; _local8 = new b2ContactSolver(_arg1, m_contacts, m_contactCount, m_allocator); _local8.InitVelocityConstraints(_arg1); _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local7.InitVelocityConstraints(_arg1); _local5++; }; _local5 = 0; while (_local5 < _arg1.maxIterations) { _local8.SolveVelocityConstraints(); _local9 = 0; while (_local9 < m_jointCount) { _local7 = m_joints[_local9]; _local7.SolveVelocityConstraints(_arg1); _local9++; }; _local5++; }; _local8.FinalizeVelocityConstraints(); _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.IsStatic()){ } else { _local6.m_sweep.c0.SetV(_local6.m_sweep.c); _local6.m_sweep.a0 = _local6.m_sweep.a; _local6.m_sweep.c.x = (_local6.m_sweep.c.x + (_arg1.dt * _local6.m_linearVelocity.x)); _local6.m_sweep.c.y = (_local6.m_sweep.c.y + (_arg1.dt * _local6.m_linearVelocity.y)); _local6.m_sweep.a = (_local6.m_sweep.a + (_arg1.dt * _local6.m_angularVelocity)); _local6.SynchronizeTransform(); }; _local5++; }; if (_arg3){ _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local7.InitPositionConstraints(); _local5++; }; m_positionIterationCount = 0; while (m_positionIterationCount < _arg1.maxIterations) { _local10 = _local8.SolvePositionConstraints(b2Settings.b2_contactBaumgarte); _local11 = true; _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local12 = _local7.SolvePositionConstraints(); _local11 = ((_local11) && (_local12)); _local5++; }; if (((_local10) && (_local11))){ break; }; m_positionIterationCount++; }; }; Report(_local8.m_constraints); if (_arg4){ _local13 = Number.MAX_VALUE; _local14 = (b2Settings.b2_linearSleepTolerance * b2Settings.b2_linearSleepTolerance); _local15 = (b2Settings.b2_angularSleepTolerance * b2Settings.b2_angularSleepTolerance); _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.m_invMass == 0){ } else { if ((_local6.m_flags & b2Body.e_allowSleepFlag) == 0){ _local6.m_sleepTime = 0; _local13 = 0; }; if (((((((_local6.m_flags & b2Body.e_allowSleepFlag) == 0)) || (((_local6.m_angularVelocity * _local6.m_angularVelocity) > _local15)))) || ((b2Math.b2Dot(_local6.m_linearVelocity, _local6.m_linearVelocity) > _local14)))){ _local6.m_sleepTime = 0; _local13 = 0; } else { _local6.m_sleepTime = (_local6.m_sleepTime + _arg1.dt); _local13 = b2Math.b2Min(_local13, _local6.m_sleepTime); }; }; _local5++; }; if (_local13 >= b2Settings.b2_timeToSleep){ _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; m_bodies[_local5].m_flags = (_local6.m_flags | b2Body.e_sleepFlag); _local6.m_linearVelocity.SetZero(); _local6.m_angularVelocity = 0; _local5++; }; }; }; } public function AddContact(_arg1:b2Contact):void{ var _local2 = m_contactCount++; m_contacts[_local2] = _arg1; } public function Clear():void{ m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; } public function SolveTOI(_arg1:b2TimeStep):void{ var _local2:int; var _local3:b2ContactSolver; var _local4:Number; var _local5:b2Body; var _local6:Boolean; _local3 = new b2ContactSolver(_arg1, m_contacts, m_contactCount, m_allocator); _local2 = 0; while (_local2 < _arg1.maxIterations) { _local3.SolveVelocityConstraints(); _local2++; }; _local2 = 0; while (_local2 < m_bodyCount) { _local5 = m_bodies[_local2]; if (_local5.IsStatic()){ } else { _local5.m_sweep.c0.SetV(_local5.m_sweep.c); _local5.m_sweep.a0 = _local5.m_sweep.a; _local5.m_sweep.c.x = (_local5.m_sweep.c.x + (_arg1.dt * _local5.m_linearVelocity.x)); _local5.m_sweep.c.y = (_local5.m_sweep.c.y + (_arg1.dt * _local5.m_linearVelocity.y)); _local5.m_sweep.a = (_local5.m_sweep.a + (_arg1.dt * _local5.m_angularVelocity)); _local5.SynchronizeTransform(); }; _local2++; }; _local4 = 0.75; _local2 = 0; while (_local2 < _arg1.maxIterations) { _local6 = _local3.SolvePositionConstraints(_local4); if (_local6){ break; }; _local2++; }; Report(_local3.m_constraints); } } }//package Box2D.Dynamics
Section 73
//b2TimeStep (Box2D.Dynamics.b2TimeStep) package Box2D.Dynamics { public class b2TimeStep { public var warmStarting:Boolean; public var positionCorrection:Boolean; public var dt:Number; public var maxIterations:int; public var dtRatio:Number; public var inv_dt:Number; } }//package Box2D.Dynamics
Section 74
//b2World (Box2D.Dynamics.b2World) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; public class b2World { public var m_inv_dt0:Number; public var m_boundaryListener:b2BoundaryListener; public var m_contactList:b2Contact; public var m_blockAllocator; public var m_contactListener:b2ContactListener; public var m_raycastSegment:b2Segment; public var m_broadPhase:b2BroadPhase; public var m_destructionListener:b2DestructionListener; public var m_jointCount:int; public var m_bodyCount:int; public var m_lock:Boolean; public var m_raycastUserData; public var m_allowSleep:Boolean; public var m_positionIterationCount:int; public var m_groundBody:b2Body; public var m_contactCount:int; public var m_raycastNormal:b2Vec2; public var m_contactFilter:b2ContactFilter; public var m_bodyList:b2Body; public var m_debugDraw:b2DebugDraw; public var m_stackAllocator; public var m_jointList:b2Joint; public var m_gravity:b2Vec2; public var m_contactManager:b2ContactManager; private static var s_jointColor:b2Color = new b2Color(0.5, 0.8, 0.8); public static var m_continuousPhysics:Boolean; public static var m_warmStarting:Boolean; private static var s_coreColor:b2Color = new b2Color(0.9, 0.6, 0.6); public static var m_positionCorrection:Boolean; private static var s_xf:b2XForm = new b2XForm(); public function b2World(_arg1:b2AABB, _arg2:b2Vec2, _arg3:Boolean){ var _local4:b2BodyDef; m_raycastNormal = new b2Vec2(); m_contactManager = new b2ContactManager(); super(); m_destructionListener = null; m_boundaryListener = null; m_contactFilter = b2ContactFilter.b2_defaultFilter; m_contactListener = null; m_debugDraw = null; m_bodyList = null; m_contactList = null; m_jointList = null; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_positionCorrection = true; m_warmStarting = true; m_continuousPhysics = true; m_allowSleep = _arg3; m_gravity = _arg2; m_lock = false; m_inv_dt0 = 0; m_contactManager.m_world = this; m_broadPhase = new b2BroadPhase(_arg1, m_contactManager); _local4 = new b2BodyDef(); m_groundBody = CreateBody(_local4); } public function DrawJoint(_arg1:b2Joint):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2XForm; var _local5:b2XForm; var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Color; var _local11:b2PulleyJoint; var _local12:b2Vec2; var _local13:b2Vec2; _local2 = _arg1.m_body1; _local3 = _arg1.m_body2; _local4 = _local2.m_xf; _local5 = _local3.m_xf; _local6 = _local4.position; _local7 = _local5.position; _local8 = _arg1.GetAnchor1(); _local9 = _arg1.GetAnchor2(); _local10 = s_jointColor; switch (_arg1.m_type){ case b2Joint.e_distanceJoint: m_debugDraw.DrawSegment(_local8, _local9, _local10); break; case b2Joint.e_pulleyJoint: _local11 = (_arg1 as b2PulleyJoint); _local12 = _local11.GetGroundAnchor1(); _local13 = _local11.GetGroundAnchor2(); m_debugDraw.DrawSegment(_local12, _local8, _local10); m_debugDraw.DrawSegment(_local13, _local9, _local10); m_debugDraw.DrawSegment(_local12, _local13, _local10); break; case b2Joint.e_mouseJoint: m_debugDraw.DrawSegment(_local8, _local9, _local10); break; default: if (_local2 != m_groundBody){ m_debugDraw.DrawSegment(_local6, _local8, _local10); }; m_debugDraw.DrawSegment(_local8, _local9, _local10); if (_local3 != m_groundBody){ m_debugDraw.DrawSegment(_local7, _local9, _local10); }; }; } public function Refilter(_arg1:b2Shape):void{ _arg1.RefilterProxy(m_broadPhase, _arg1.m_body.m_xf); } public function SetDebugDraw(_arg1:b2DebugDraw):void{ m_debugDraw = _arg1; } public function SetContinuousPhysics(_arg1:Boolean):void{ m_continuousPhysics = _arg1; } public function GetProxyCount():int{ return (m_broadPhase.m_proxyCount); } public function DrawDebugData():void{ var _local1:uint; var _local2:int; var _local3:b2Body; var _local4:b2Shape; var _local5:b2Joint; var _local6:b2BroadPhase; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Color; var _local11:b2XForm; var _local12:b2AABB; var _local13:b2AABB; var _local14:Array; var _local15:Boolean; var _local16:uint; var _local17:b2Pair; var _local18:b2Proxy; var _local19:b2Proxy; var _local20:b2Vec2; var _local21:b2Vec2; var _local22:b2Proxy; var _local23:b2PolygonShape; var _local24:b2OBB; var _local25:b2Vec2; var _local26:b2Mat22; var _local27:b2Vec2; var _local28:Number; if (m_debugDraw == null){ return; }; m_debugDraw.m_sprite.graphics.clear(); _local1 = m_debugDraw.GetFlags(); _local7 = new b2Vec2(); _local8 = new b2Vec2(); _local9 = new b2Vec2(); _local10 = new b2Color(0, 0, 0); _local12 = new b2AABB(); _local13 = new b2AABB(); _local14 = [new b2Vec2(), new b2Vec2(), new b2Vec2(), new b2Vec2()]; if ((_local1 & b2DebugDraw.e_shapeBit)){ _local15 = ((_local1 & b2DebugDraw.e_coreShapeBit) == b2DebugDraw.e_coreShapeBit); _local3 = m_bodyList; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3.GetShapeList(); while (_local4) { if (_local3.IsStatic()){ DrawShape(_local4, _local11, new b2Color(0.5, 0.9, 0.5), _local15); } else { if (_local3.IsSleeping()){ DrawShape(_local4, _local11, new b2Color(0.5, 0.5, 0.9), _local15); } else { DrawShape(_local4, _local11, new b2Color(0.9, 0.9, 0.9), _local15); }; }; _local4 = _local4.m_next; }; _local3 = _local3.m_next; }; }; if ((_local1 & b2DebugDraw.e_jointBit)){ _local5 = m_jointList; while (_local5) { DrawJoint(_local5); _local5 = _local5.m_next; }; }; if ((_local1 & b2DebugDraw.e_pairBit)){ _local6 = m_broadPhase; _local7.Set((1 / _local6.m_quantizationFactor.x), (1 / _local6.m_quantizationFactor.y)); _local10.Set(0.9, 0.9, 0.3); _local2 = 0; while (_local2 < b2Pair.b2_tableCapacity) { _local16 = _local6.m_pairManager.m_hashTable[_local2]; while (_local16 != b2Pair.b2_nullPair) { _local17 = _local6.m_pairManager.m_pairs[_local16]; _local18 = _local6.m_proxyPool[_local17.proxyId1]; _local19 = _local6.m_proxyPool[_local17.proxyId2]; _local12.lowerBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local18.lowerBounds[0]].value)); _local12.lowerBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local18.lowerBounds[1]].value)); _local12.upperBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local18.upperBounds[0]].value)); _local12.upperBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local18.upperBounds[1]].value)); _local13.lowerBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local19.lowerBounds[0]].value)); _local13.lowerBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local19.lowerBounds[1]].value)); _local13.upperBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local19.upperBounds[0]].value)); _local13.upperBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local19.upperBounds[1]].value)); _local8.x = (0.5 * (_local12.lowerBound.x + _local12.upperBound.x)); _local8.y = (0.5 * (_local12.lowerBound.y + _local12.upperBound.y)); _local9.x = (0.5 * (_local13.lowerBound.x + _local13.upperBound.x)); _local9.y = (0.5 * (_local13.lowerBound.y + _local13.upperBound.y)); m_debugDraw.DrawSegment(_local8, _local9, _local10); _local16 = _local17.next; }; _local2++; }; }; if ((_local1 & b2DebugDraw.e_aabbBit)){ _local6 = m_broadPhase; _local20 = _local6.m_worldAABB.lowerBound; _local21 = _local6.m_worldAABB.upperBound; _local7.Set((1 / _local6.m_quantizationFactor.x), (1 / _local6.m_quantizationFactor.y)); _local10.Set(0.9, 0.3, 0.9); _local2 = 0; while (_local2 < b2Settings.b2_maxProxies) { _local22 = _local6.m_proxyPool[_local2]; if (_local22.IsValid() == false){ } else { _local12.lowerBound.x = (_local20.x + (_local7.x * _local6.m_bounds[0][_local22.lowerBounds[0]].value)); _local12.lowerBound.y = (_local20.y + (_local7.y * _local6.m_bounds[1][_local22.lowerBounds[1]].value)); _local12.upperBound.x = (_local20.x + (_local7.x * _local6.m_bounds[0][_local22.upperBounds[0]].value)); _local12.upperBound.y = (_local20.y + (_local7.y * _local6.m_bounds[1][_local22.upperBounds[1]].value)); _local14[0].Set(_local12.lowerBound.x, _local12.lowerBound.y); _local14[1].Set(_local12.upperBound.x, _local12.lowerBound.y); _local14[2].Set(_local12.upperBound.x, _local12.upperBound.y); _local14[3].Set(_local12.lowerBound.x, _local12.upperBound.y); m_debugDraw.DrawPolygon(_local14, 4, _local10); }; _local2++; }; _local14[0].Set(_local20.x, _local20.y); _local14[1].Set(_local21.x, _local20.y); _local14[2].Set(_local21.x, _local21.y); _local14[3].Set(_local20.x, _local21.y); m_debugDraw.DrawPolygon(_local14, 4, new b2Color(0.3, 0.9, 0.9)); }; if ((_local1 & b2DebugDraw.e_obbBit)){ _local10.Set(0.5, 0.3, 0.5); _local3 = m_bodyList; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3.GetShapeList(); while (_local4) { if (_local4.m_type != b2Shape.e_polygonShape){ } else { _local23 = (_local4 as b2PolygonShape); _local24 = _local23.GetOBB(); _local25 = _local24.extents; _local14[0].Set(-(_local25.x), -(_local25.y)); _local14[1].Set(_local25.x, -(_local25.y)); _local14[2].Set(_local25.x, _local25.y); _local14[3].Set(-(_local25.x), _local25.y); _local2 = 0; while (_local2 < 4) { _local26 = _local24.R; _local27 = _local14[_local2]; _local28 = (_local24.center.x + ((_local26.col1.x * _local27.x) + (_local26.col2.x * _local27.y))); _local14[_local2].y = (_local24.center.y + ((_local26.col1.y * _local27.x) + (_local26.col2.y * _local27.y))); _local14[_local2].x = _local28; _local26 = _local11.R; _local28 = (_local11.position.x + ((_local26.col1.x * _local27.x) + (_local26.col2.x * _local27.y))); _local14[_local2].y = (_local11.position.y + ((_local26.col1.y * _local27.x) + (_local26.col2.y * _local27.y))); _local14[_local2].x = _local28; _local2++; }; m_debugDraw.DrawPolygon(_local14, 4, _local10); }; _local4 = _local4.m_next; }; _local3 = _local3.m_next; }; }; if ((_local1 & b2DebugDraw.e_centerOfMassBit)){ _local3 = m_bodyList; while (_local3) { _local11 = s_xf; _local11.R = _local3.m_xf.R; _local11.position = _local3.GetWorldCenter(); m_debugDraw.DrawXForm(_local11); _local3 = _local3.m_next; }; }; } public function DestroyBody(_arg1:b2Body):void{ var _local2:b2JointEdge; var _local3:b2Shape; var _local4:b2JointEdge; var _local5:b2Shape; if (m_lock == true){ return; }; _local2 = _arg1.m_jointList; while (_local2) { _local4 = _local2; _local2 = _local2.next; if (m_destructionListener){ m_destructionListener.SayGoodbyeJoint(_local4.joint); }; DestroyJoint(_local4.joint); }; _local3 = _arg1.m_shapeList; while (_local3) { _local5 = _local3; _local3 = _local3.m_next; if (m_destructionListener){ m_destructionListener.SayGoodbyeShape(_local5); }; _local5.DestroyProxy(m_broadPhase); b2Shape.Destroy(_local5, m_blockAllocator); }; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_bodyList){ m_bodyList = _arg1.m_next; }; m_bodyCount--; } public function DrawShape(_arg1:b2Shape, _arg2:b2XForm, _arg3:b2Color, _arg4:Boolean):void{ var _local5:b2Color; var _local6:b2CircleShape; var _local7:b2Vec2; var _local8:Number; var _local9:b2Vec2; var _local10:int; var _local11:b2PolygonShape; var _local12:int; var _local13:Array; var _local14:Array; var _local15:Array; _local5 = s_coreColor; switch (_arg1.m_type){ case b2Shape.e_circleShape: _local6 = (_arg1 as b2CircleShape); _local7 = b2Math.b2MulX(_arg2, _local6.m_localPosition); _local8 = _local6.m_radius; _local9 = _arg2.R.col1; m_debugDraw.DrawSolidCircle(_local7, _local8, _local9, _arg3); if (_arg4){ m_debugDraw.DrawCircle(_local7, (_local8 - b2Settings.b2_toiSlop), _local5); }; break; case b2Shape.e_polygonShape: _local11 = (_arg1 as b2PolygonShape); _local12 = _local11.GetVertexCount(); _local13 = _local11.GetVertices(); _local14 = new Array(b2Settings.b2_maxPolygonVertices); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = b2Math.b2MulX(_arg2, _local13[_local10]); _local10++; }; m_debugDraw.DrawSolidPolygon(_local14, _local12, _arg3); if (_arg4){ _local15 = _local11.GetCoreVertices(); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = b2Math.b2MulX(_arg2, _local15[_local10]); _local10++; }; m_debugDraw.DrawPolygon(_local14, _local12, _local5); }; break; }; } public function GetGroundBody():b2Body{ return (m_groundBody); } public function SetContactFilter(_arg1:b2ContactFilter):void{ m_contactFilter = _arg1; } public function Solve(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Island; var _local4:b2Contact; var _local5:b2Joint; var _local6:int; var _local7:Array; var _local8:b2Body; var _local9:int; var _local10:int; var _local11:b2Body; var _local12:b2ContactEdge; var _local13:b2JointEdge; var _local14:Boolean; m_positionIterationCount = 0; _local3 = new b2Island(m_bodyCount, m_contactCount, m_jointCount, m_stackAllocator, m_contactListener); _local2 = m_bodyList; while (_local2) { _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); _local2 = _local2.m_next; }; _local4 = m_contactList; while (_local4) { _local4.m_flags = (_local4.m_flags & ~(b2Contact.e_islandFlag)); _local4 = _local4.m_next; }; _local5 = m_jointList; while (_local5) { _local5.m_islandFlag = false; _local5 = _local5.m_next; }; _local6 = m_bodyCount; _local7 = new Array(_local6); _local8 = m_bodyList; while (_local8) { if ((_local8.m_flags & ((b2Body.e_islandFlag | b2Body.e_sleepFlag) | b2Body.e_frozenFlag))){ } else { if (_local8.IsStatic()){ } else { _local3.Clear(); _local9 = 0; var _temp1 = _local9; _local9 = (_local9 + 1); var _local15 = _temp1; _local7[_local15] = _local8; _local8.m_flags = (_local8.m_flags | b2Body.e_islandFlag); while (_local9 > 0) { --_local9; _local2 = _local7[_local9]; _local3.AddBody(_local2); _local2.m_flags = (_local2.m_flags & ~(b2Body.e_sleepFlag)); if (_local2.IsStatic()){ } else { _local12 = _local2.m_contactList; while (_local12) { if ((_local12.contact.m_flags & (b2Contact.e_islandFlag | b2Contact.e_nonSolidFlag))){ } else { if (_local12.contact.m_manifoldCount == 0){ } else { _local3.AddContact(_local12.contact); _local12.contact.m_flags = (_local12.contact.m_flags | b2Contact.e_islandFlag); _local11 = _local12.other; if ((_local11.m_flags & b2Body.e_islandFlag)){ } else { var _temp2 = _local9; _local9 = (_local9 + 1); var _local16 = _temp2; _local7[_local16] = _local11; _local11.m_flags = (_local11.m_flags | b2Body.e_islandFlag); }; }; }; _local12 = _local12.next; }; _local13 = _local2.m_jointList; while (_local13) { if (_local13.joint.m_islandFlag == true){ } else { _local3.AddJoint(_local13.joint); _local13.joint.m_islandFlag = true; _local11 = _local13.other; if ((_local11.m_flags & b2Body.e_islandFlag)){ } else { var _temp3 = _local9; _local9 = (_local9 + 1); _local16 = _temp3; _local7[_local16] = _local11; _local11.m_flags = (_local11.m_flags | b2Body.e_islandFlag); }; }; _local13 = _local13.next; }; }; }; _local3.Solve(_arg1, m_gravity, m_positionCorrection, m_allowSleep); if (_local3.m_positionIterationCount > m_positionIterationCount){ m_positionIterationCount = _local3.m_positionIterationCount; }; _local10 = 0; while (_local10 < _local3.m_bodyCount) { _local2 = _local3.m_bodies[_local10]; if (_local2.IsStatic()){ _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); }; _local10++; }; }; }; _local8 = _local8.m_next; }; _local2 = m_bodyList; while (_local2) { if ((_local2.m_flags & (b2Body.e_sleepFlag | b2Body.e_frozenFlag))){ } else { if (_local2.IsStatic()){ } else { _local14 = _local2.SynchronizeShapes(); if ((((_local14 == false)) && (!((m_boundaryListener == null))))){ m_boundaryListener.Violation(_local2); }; }; }; _local2 = _local2.m_next; }; m_broadPhase.Commit(); } public function Query(_arg1:b2AABB, _arg2:Array, _arg3:int):int{ var _local4:Array; var _local5:int; var _local6:int; _local4 = new Array(_arg3); _local5 = m_broadPhase.QueryAABB(_arg1, _local4, _arg3); _local6 = 0; while (_local6 < _local5) { _arg2[_local6] = _local4[_local6]; _local6++; }; return (_local5); } public function GetContactCount():int{ return (m_contactCount); } public function SolveTOI(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Shape; var _local4:b2Shape; var _local5:b2Body; var _local6:b2Body; var _local7:b2ContactEdge; var _local8:b2Island; var _local9:int; var _local10:Array; var _local11:b2Contact; var _local12:b2Contact; var _local13:Number; var _local14:b2Body; var _local15:int; var _local16:b2TimeStep; var _local17:int; var _local18:Number; var _local19:Number; var _local20:b2Body; var _local21:Boolean; _local8 = new b2Island(m_bodyCount, b2Settings.b2_maxTOIContactsPerIsland, 0, m_stackAllocator, m_contactListener); _local9 = m_bodyCount; _local10 = new Array(_local9); _local2 = m_bodyList; while (_local2) { _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); _local2.m_sweep.t0 = 0; _local2 = _local2.m_next; }; _local11 = m_contactList; while (_local11) { _local11.m_flags = (_local11.m_flags & ~((b2Contact.e_toiFlag | b2Contact.e_islandFlag))); _local11 = _local11.m_next; }; while (true) { _local12 = null; _local13 = 1; _local11 = m_contactList; for (;_local11;(_local11 = _local11.m_next)) { if ((_local11.m_flags & (b2Contact.e_slowFlag | b2Contact.e_nonSolidFlag))){ } else { _local18 = 1; if ((_local11.m_flags & b2Contact.e_toiFlag)){ _local18 = _local11.m_toi; } else { _local3 = _local11.m_shape1; _local4 = _local11.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; if (((((_local5.IsStatic()) || (_local5.IsSleeping()))) && (((_local6.IsStatic()) || (_local6.IsSleeping()))))){ continue; }; _local19 = _local5.m_sweep.t0; if (_local5.m_sweep.t0 < _local6.m_sweep.t0){ _local19 = _local6.m_sweep.t0; _local5.m_sweep.Advance(_local19); } else { if (_local6.m_sweep.t0 < _local5.m_sweep.t0){ _local19 = _local5.m_sweep.t0; _local6.m_sweep.Advance(_local19); }; }; _local18 = b2TimeOfImpact.TimeOfImpact(_local11.m_shape1, _local5.m_sweep, _local11.m_shape2, _local6.m_sweep); if ((((_local18 > 0)) && ((_local18 < 1)))){ _local18 = (((1 - _local18) * _local19) + _local18); if (_local18 > 1){ _local18 = 1; }; }; _local11.m_toi = _local18; _local11.m_flags = (_local11.m_flags | b2Contact.e_toiFlag); }; if ((((Number.MIN_VALUE < _local18)) && ((_local18 < _local13)))){ _local12 = _local11; _local13 = _local18; }; }; }; if ((((_local12 == null)) || (((1 - (100 * Number.MIN_VALUE)) < _local13)))){ break; }; _local3 = _local12.m_shape1; _local4 = _local12.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; _local5.Advance(_local13); _local6.Advance(_local13); _local12.Update(m_contactListener); _local12.m_flags = (_local12.m_flags & ~(b2Contact.e_toiFlag)); if (_local12.m_manifoldCount == 0){ } else { _local14 = _local5; if (_local14.IsStatic()){ _local14 = _local6; }; _local8.Clear(); _local15 = 0; var _temp1 = _local15; _local15 = (_local15 + 1); var _local22 = _temp1; _local10[_local22] = _local14; _local14.m_flags = (_local14.m_flags | b2Body.e_islandFlag); while (_local15 > 0) { --_local15; _local2 = _local10[_local15]; _local8.AddBody(_local2); _local2.m_flags = (_local2.m_flags & ~(b2Body.e_sleepFlag)); if (_local2.IsStatic()){ } else { _local7 = _local2.m_contactList; while (_local7) { if (_local8.m_contactCount == _local8.m_contactCapacity){ } else { if ((_local7.contact.m_flags & ((b2Contact.e_islandFlag | b2Contact.e_slowFlag) | b2Contact.e_nonSolidFlag))){ } else { if (_local7.contact.m_manifoldCount == 0){ } else { _local8.AddContact(_local7.contact); _local7.contact.m_flags = (_local7.contact.m_flags | b2Contact.e_islandFlag); _local20 = _local7.other; if ((_local20.m_flags & b2Body.e_islandFlag)){ } else { if (_local20.IsStatic() == false){ _local20.Advance(_local13); _local20.WakeUp(); }; var _temp2 = _local15; _local15 = (_local15 + 1); var _local23 = _temp2; _local10[_local23] = _local20; _local20.m_flags = (_local20.m_flags | b2Body.e_islandFlag); }; }; }; }; _local7 = _local7.next; }; }; }; _local16 = new b2TimeStep(); _local16.dt = ((1 - _local13) * _arg1.dt); _local16.inv_dt = (1 / _local16.dt); _local16.maxIterations = _arg1.maxIterations; _local8.SolveTOI(_local16); _local17 = 0; while (_local17 < _local8.m_bodyCount) { _local2 = _local8.m_bodies[_local17]; _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); if ((_local2.m_flags & (b2Body.e_sleepFlag | b2Body.e_frozenFlag))){ } else { if (_local2.IsStatic()){ } else { _local21 = _local2.SynchronizeShapes(); if ((((_local21 == false)) && (!((m_boundaryListener == null))))){ m_boundaryListener.Violation(_local2); }; _local7 = _local2.m_contactList; while (_local7) { _local7.contact.m_flags = (_local7.contact.m_flags & ~(b2Contact.e_toiFlag)); _local7 = _local7.next; }; }; }; _local17++; }; _local17 = 0; while (_local17 < _local8.m_contactCount) { _local11 = _local8.m_contacts[_local17]; _local8.m_contacts[_local17].m_flags = (_local11.m_flags & ~((b2Contact.e_toiFlag | b2Contact.e_islandFlag))); _local17++; }; m_broadPhase.Commit(); }; }; } public function GetJointList():b2Joint{ return (m_jointList); } public function SetGravity(_arg1:b2Vec2):void{ m_gravity = _arg1; } public function Validate():void{ m_broadPhase.Validate(); } public function GetPairCount():int{ return (m_broadPhase.m_pairManager.m_pairCount); } public function GetBodyList():b2Body{ return (m_bodyList); } public function SetWarmStarting(_arg1:Boolean):void{ m_warmStarting = _arg1; } public function SetPositionCorrection(_arg1:Boolean):void{ m_positionCorrection = _arg1; } public function CreateJoint(_arg1:b2JointDef):b2Joint{ var _local2:b2Joint; var _local3:b2Body; var _local4:b2Shape; _local2 = b2Joint.Create(_arg1, m_blockAllocator); _local2.m_prev = null; _local2.m_next = m_jointList; if (m_jointList){ m_jointList.m_prev = _local2; }; m_jointList = _local2; m_jointCount++; _local2.m_node1.joint = _local2; _local2.m_node1.other = _local2.m_body2; _local2.m_node1.prev = null; _local2.m_node1.next = _local2.m_body1.m_jointList; if (_local2.m_body1.m_jointList){ _local2.m_body1.m_jointList.prev = _local2.m_node1; }; _local2.m_body1.m_jointList = _local2.m_node1; _local2.m_node2.joint = _local2; _local2.m_node2.other = _local2.m_body1; _local2.m_node2.prev = null; _local2.m_node2.next = _local2.m_body2.m_jointList; if (_local2.m_body2.m_jointList){ _local2.m_body2.m_jointList.prev = _local2.m_node2; }; _local2.m_body2.m_jointList = _local2.m_node2; if (_arg1.collideConnected == false){ _local3 = ((_arg1.body1.m_shapeCount < _arg1.body2.m_shapeCount)) ? _arg1.body1 : _arg1.body2; _local4 = _local3.m_shapeList; while (_local4) { _local4.RefilterProxy(m_broadPhase, _local3.m_xf); _local4 = _local4.m_next; }; }; return (_local2); } public function DestroyJoint(_arg1:b2Joint):void{ var _local2:Boolean; var _local3:b2Body; var _local4:b2Body; var _local5:b2Body; var _local6:b2Shape; _local2 = _arg1.m_collideConnected; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_jointList){ m_jointList = _arg1.m_next; }; _local3 = _arg1.m_body1; _local4 = _arg1.m_body2; _local3.WakeUp(); _local4.WakeUp(); if (_arg1.m_node1.prev){ _arg1.m_node1.prev.next = _arg1.m_node1.next; }; if (_arg1.m_node1.next){ _arg1.m_node1.next.prev = _arg1.m_node1.prev; }; if (_arg1.m_node1 == _local3.m_jointList){ _local3.m_jointList = _arg1.m_node1.next; }; _arg1.m_node1.prev = null; _arg1.m_node1.next = null; if (_arg1.m_node2.prev){ _arg1.m_node2.prev.next = _arg1.m_node2.next; }; if (_arg1.m_node2.next){ _arg1.m_node2.next.prev = _arg1.m_node2.prev; }; if (_arg1.m_node2 == _local4.m_jointList){ _local4.m_jointList = _arg1.m_node2.next; }; _arg1.m_node2.prev = null; _arg1.m_node2.next = null; b2Joint.Destroy(_arg1, m_blockAllocator); m_jointCount--; if (_local2 == false){ _local5 = ((_local3.m_shapeCount < _local4.m_shapeCount)) ? _local3 : _local4; _local6 = _local5.m_shapeList; while (_local6) { _local6.RefilterProxy(m_broadPhase, _local5.m_xf); _local6 = _local6.m_next; }; }; } public function SetContactListener(_arg1:b2ContactListener):void{ m_contactListener = _arg1; } public function Raycast(_arg1:b2Segment, _arg2:Array, _arg3:int, _arg4):int{ var _local5:Array; var _local6:int; var _local7:int; _local5 = new Array(_arg3); m_raycastSegment = _arg1; m_raycastUserData = _arg4; _local6 = m_broadPhase.QuerySegment(_arg1, _local5, _arg3, RaycastSortKey); _local7 = 0; while (_local7 < _local6) { _arg2[_local7] = _local5[_local7]; _local7++; }; return (_local6); } public function RaycastOne(_arg1:b2Segment, _arg2:Array, _arg3:b2Vec2, _arg4):b2Shape{ var _local5:Array; var _local6:Number; var _local7:b2Shape; var _local8:b2XForm; _local5 = new Array(1); _local6 = Raycast(_arg1, _local5, 1, _arg4); if (_local6 == 0){ return (null); }; if (_local6 > 1){ trace(_local6); }; _local7 = _local5[0]; _local8 = _local7.GetBody().GetXForm(); _local7.TestSegment(_local8, _arg2, _arg3, _arg1, 1); return (_local7); } public function CreateBody(_arg1:b2BodyDef):b2Body{ var _local2:b2Body; if (m_lock == true){ return (null); }; _local2 = new b2Body(_arg1, this); _local2.m_prev = null; _local2.m_next = m_bodyList; if (m_bodyList){ m_bodyList.m_prev = _local2; }; m_bodyList = _local2; m_bodyCount++; return (_local2); } public function RaycastSortKey(_arg1:b2Shape){ var _local2:b2Body; var _local3:b2XForm; var _local4:Array; if (((m_contactFilter) && (!(m_contactFilter.RayCollide(m_raycastUserData, _arg1))))){ return (-1); }; _local2 = _arg1.GetBody(); _local3 = _local2.GetXForm(); _local4 = [0]; if (!_arg1.TestSegment(_local3, _local4, m_raycastNormal, m_raycastSegment, 1)){ return (-1); }; return (_local4[0]); } public function SetBoundaryListener(_arg1:b2BoundaryListener):void{ m_boundaryListener = _arg1; } public function SetDestructionListener(_arg1:b2DestructionListener):void{ m_destructionListener = _arg1; } public function Step(_arg1:Number, _arg2:int):void{ var _local3:b2TimeStep; m_lock = true; _local3 = new b2TimeStep(); _local3.dt = _arg1; _local3.maxIterations = _arg2; if (_arg1 > 0){ _local3.inv_dt = (1 / _arg1); } else { _local3.inv_dt = 0; }; _local3.dtRatio = (m_inv_dt0 * _arg1); _local3.positionCorrection = m_positionCorrection; _local3.warmStarting = m_warmStarting; m_contactManager.Collide(); if (_local3.dt > 0){ Solve(_local3); }; if (((m_continuousPhysics) && ((_local3.dt > 0)))){ SolveTOI(_local3); }; DrawDebugData(); m_inv_dt0 = _local3.inv_dt; m_lock = false; } public function GetBodyCount():int{ return (m_bodyCount); } public function GetJointCount():int{ return (m_jointCount); } } }//package Box2D.Dynamics
Section 75
//flash_102 (BubbleGuineaPop_Bored_fla.flash_102) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class flash_102 extends MovieClip { public function flash_102(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 76
//LevelEndScreenInner_127 (BubbleGuineaPop_Bored_fla.LevelEndScreenInner_127) package BubbleGuineaPop_Bored_fla { import flash.display.*; import flash.text.*; public dynamic class LevelEndScreenInner_127 extends MovieClip { public var textStat1:TextField; public var textStat2:TextField; public var textStat3:TextField; public var textStat4:TextField; public var textStat0:TextField; } }//package BubbleGuineaPop_Bored_fla
Section 77
//LevelEndScreenInnerAnim_126 (BubbleGuineaPop_Bored_fla.LevelEndScreenInnerAnim_126) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class LevelEndScreenInnerAnim_126 extends MovieClip { public var inner:MovieClip; public function LevelEndScreenInnerAnim_126(){ addFrameScript(41, frame42); } function frame42(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 78
//main_menu_mc_124 (BubbleGuineaPop_Bored_fla.main_menu_mc_124) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class main_menu_mc_124 extends MovieClip { public function main_menu_mc_124(){ addFrameScript(44, frame45); } function frame45(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 79
//MainTimeline (BubbleGuineaPop_Bored_fla.MainTimeline) package BubbleGuineaPop_Bored_fla { import flash.events.*; import flash.display.*; public dynamic class MainTimeline extends MovieClip { public var preloaderMC:MovieClip; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 5, frame6); } public function addedToStage(_arg1:Event=null):void{ this.removeEventListener(Event.ADDED_TO_STAGE, addedToStage); launchApp(); } function frame6(){ stop(); } function frame1(){ if (this.stage){ this.addedToStage(); } else { stop(); this.addEventListener(Event.ADDED_TO_STAGE, addedToStage); return; }; } public function launchApp():void{ play(); } function frame2(){ preloaderMC.stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 80
//next_level_mc_122 (BubbleGuineaPop_Bored_fla.next_level_mc_122) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class next_level_mc_122 extends MovieClip { public function next_level_mc_122(){ addFrameScript(44, frame45); } function frame45(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 81
//retry_level_mc_130 (BubbleGuineaPop_Bored_fla.retry_level_mc_130) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class retry_level_mc_130 extends MovieClip { public function retry_level_mc_130(){ addFrameScript(44, frame45); } function frame45(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 82
//sponsorbar_49 (BubbleGuineaPop_Bored_fla.sponsorbar_49) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class sponsorbar_49 extends MovieClip { public var buttonLogoBubbleBox:SimpleButton; public var background:MovieClip; public var buttonLogoBored:MovieClip; public var buttonLogoSIKids:SimpleButton; public var buttonLogoGameNinja:SimpleButton; public var buttonMoreGames:SimpleButton; public var buttonAndkonArcade:SimpleButton; public var buttonLogoAndkon:SimpleButton; public var buttonLogoKongregate:SimpleButton; public var buttonCheats:SimpleButton; } }//package BubbleGuineaPop_Bored_fla
Section 83
//text1_96 (BubbleGuineaPop_Bored_fla.text1_96) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class text1_96 extends MovieClip { public function text1_96(){ addFrameScript(74, frame75); } function frame75(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 84
//Text2_98 (BubbleGuineaPop_Bored_fla.Text2_98) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class Text2_98 extends MovieClip { public function Text2_98(){ addFrameScript(99, frame100); } function frame100(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 85
//Text3_100 (BubbleGuineaPop_Bored_fla.Text3_100) package BubbleGuineaPop_Bored_fla { import flash.display.*; public dynamic class Text3_100 extends MovieClip { public function Text3_100(){ addFrameScript(129, frame130); } function frame130(){ stop(); } } }//package BubbleGuineaPop_Bored_fla
Section 86
//SDKEvent (com.shockwave.test.events.SDKEvent) package com.shockwave.test.events { import flash.events.*; public class SDKEvent extends Event { private var __returnObject:Object; public static const CONTROL_RETURNED:String = "controlreturned"; public static const ROUTER_ERROR:String = "routererror"; public static const SDK_RETURN:String = "apireturn"; public static const SCRATCHER_URLS:String = "scratcherurls"; public function SDKEvent(_arg1:String, _arg2:Object, _arg3:Boolean=false, _arg4:Boolean=false){ super(_arg1, _arg3, _arg4); __returnObject = _arg2; } public function get returnObject():Object{ return (__returnObject); } } }//package com.shockwave.test.events
Section 87
//Achievements2 (com.shockwave.test.Achievements2) package com.shockwave.test { import flash.events.*; import flash.display.*; import com.shockwave.test.events.*; import flash.net.*; import flash.system.*; public class Achievements2 extends MovieClip { protected var eventmanager_url:String; private var rootURL:String; private var emLC:LocalConnection; private var sdkLC:LocalConnection; private var errorConn:LocalConnection; private var routerURL:String; public var swAchObject:Object; private var lc:LocalConnection; private var url_array:Array; private var legacyConn:LocalConnection; protected var sdk; protected var status_url:String; private var routerLoader:Loader; private var hsLC:LocalConnection; protected var highscore_url:String; private var legacyConnName:String; protected var sdk_url:String; public var game:Object; private var errorConnName:String; public function Achievements2(_arg1:Object, _arg2:Object){ var _local3:Number; super(); trace("[Achievements2.as] Creating Achievements 10r60_d"); game = _arg1; swAchObject = _arg2; if (rootURL == null){ rootURL = "http://dev.shockwave.com"; } else { rootURL = game.loaderInfo.loaderURL; }; trace(("ROOT URL " + rootURL)); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local3 = Math.round((Math.random() * 100000)); routerURL = ("http://www.shockwave.com/content/highscores/scorez-2002.swf?ran=" + String(_local3)); trace(("router URL: " + routerURL)); if (rootURL.indexOf("shockwave.com") == -1){ url_array = rootURL.split("/"); routerURL = ((("http://" + url_array[2]) + "/content/highscores/scorez-2002.swf?ran=") + String(_local3)); } else { if (rootURL.indexOf("relaunch-d.shockwave.com") != -1){ routerURL = ("http://relaunch-d.shockwave.com/content/highscores/scorez-2002.swf?ran=" + String(_local3)); } else { if (rootURL.indexOf("relaunch-q.shockwave.com") != -1){ routerURL = ("http://relaunch-q.shockwave.com/content/highscores/scorez-2002.swf?ran=" + String(_local3)); } else { if (rootURL.indexOf("beta.shockwave.com") != -1){ routerURL = ("http://beta.shockwave.com/content/highscores/scorez-2002.swf?ran=" + String(_local3)); } else { if (rootURL.indexOf("dev.shockwave.com") != -1){ routerURL = ("http://dev.shockwave.com/content/highscores/scorez-2002.swf?ran=" + String(_local3)); }; }; }; }; }; legacyConn = new LocalConnection(); legacyConn.addEventListener(StatusEvent.STATUS, onStatus); legacyConn.allowDomain("*"); legacyConn.allowInsecureDomain("*"); legacyConnName = "_lc_incoming"; legacyConn.connect(legacyConnName); legacyConn.client = this; errorConn = new LocalConnection(); errorConn.addEventListener(StatusEvent.STATUS, onStatus); errorConn.allowDomain("*"); errorConn.allowInsecureDomain("*"); errorConnName = ("_lc_error_" + Math.random()); errorConn.connect(errorConnName); errorConn.client = this; if (swAchObject["skip_router"] == "true"){ swAchObject.highscoreURL = swAchObject["hs_url"]; swAchObject.eventManagerURL = swAchObject["em_url"]; swAchObject.statusURL = swAchObject["status_url"]; sdk_url = swAchObject["sdk_url"]; loadSDK(); } else { loadRouter(); }; } public function incomingMessage(_arg1:String):void{ var _local2:Object; trace("[Achievements2.as] Router is testing if we are legacy, which we are not"); lc = new LocalConnection(); lc.allowDomain("*"); lc.allowInsecureDomain("*"); lc.addEventListener(StatusEvent.STATUS, onStatus); _local2 = new Object(); _local2.ASversion = 3; _local2.newSDK = true; _local2.gameId = swAchObject.SourceElementReference; _local2.urlLCName = ("_sdkLCClient" + (Math.random() * 1000000)); _local2.showTab = "submit"; _local2.lcn = legacyConnName; _local2.ecn = errorConnName; sdkLC = new LocalConnection(); sdkLC.addEventListener(StatusEvent.STATUS, onStatus); sdkLC.allowDomain("*"); sdkLC.allowInsecureDomain("*"); sdkLC.connect(_local2.urlLCName); sdkLC.addEventListener(StatusEvent.STATUS, onStatus); sdkLC.client = this; trace("[Achievements2.as] Sending Basic Object to Router"); lc.send("_lc_outgoing", "handOffSWObj", _local2, rootURL); legacyConn.close(); } protected function checkStatus():void{ if (((((!((sdk_url == null))) && (!((eventmanager_url == null))))) && (!((highscore_url == null))))){ trace("[Achievements2.as] All Urls set "); swAchObject.highscoreURL = highscore_url; swAchObject.eventManagerURL = eventmanager_url; swAchObject.statusURL = status_url; loadSDK(); }; } private function onSDKLoaded(_arg1:Event):void{ trace("[Achievements2.as] SDK Loaded"); sdk = _arg1.target.content; sdk.addEventListener("apireturn", onApiReturn); sdk.addEventListener("controlreturned", onControlReturned); trace("SDK Loaded"); dispatchEvent(new Event("achievementsready", true)); } private function onRouterLoaded(_arg1:Event):void{ var _local2:Object; trace(("[Achievements2.as] Router is Accessible " + routerLoader.parent)); _local2 = game.loaderInfo.parameters; swAchObject.MembershipLevel = (_local2.MembershipLevel) ? _local2.MembershipLevel : "SIP"; swAchObject.MemberReference = (_local2.MemberReference) ? _local2.MemberReference : "123"; swAchObject.MemberEmail = (_local2.MemberEmail) ? _local2.MemberEmail : "test@test.com"; swAchObject.MemberScreenName = (_local2.MemberScreenName) ? _local2.MemberScreenName : "TestMan"; } public function explicitCallOverlay(_arg1:String, _arg2:String):void{ trace("[Achievements2.as] Explicit call to show overlay. Will call Game Event First to initialize the achievement object"); sdk.gameEvent("null", swAchObject); sdk.showOverlay(0, _arg1, _arg2); } public function routererror():void{ trace("[Achievements2.as] Router Error"); this.dispatchEvent(new SDKEvent("routererror", null)); } private function onRouterProgress(_arg1:ProgressEvent):void{ this.dispatchEvent(new ProgressEvent("routerprogress", false, false, _arg1.bytesLoaded, _arg1.bytesTotal)); } private function onSDKProgress(_arg1:ProgressEvent):void{ this.dispatchEvent(new ProgressEvent("sdkprogress", false, false, _arg1.bytesLoaded, _arg1.bytesTotal)); } private function loadSDK():void{ var _local1:Loader; var _local2:LoaderContext; trace(("[Achievements2.as] Loading SDK " + sdk_url)); if (sdk_url != null){ _local1 = new Loader(); _local2 = new LoaderContext(false); _local1.contentLoaderInfo.addEventListener(Event.COMPLETE, onSDKLoaded); _local1.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onSDKProgress); _local1.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onSDKIOError); _local1.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSDKSecurityError); _local1.load(new URLRequest(((sdk_url + "?") + (Math.random() * 10000000))), _local2); } else { throw (new Error("Error SDK: You must set the variable sdk_url before loading the SDK")); }; } public function getTokens():String{ trace("[Achievements2.as] Explicit Get Tokens"); return (sdk.getTokens()); } private function onRouterSecurityError(_arg1:SecurityErrorEvent):void{ this.dispatchEvent(new SecurityErrorEvent("routersecurityerror", false, false, _arg1.text)); } public function setURLS(_arg1:String, _arg2:String, _arg3:String, _arg4:String):void{ var _local5:Object; trace("[Achievements2.as] Router Urls Set"); sdk_url = ((swAchObject["sdk_url"])==null) ? _arg1 : swAchObject["sdk_url"]; highscore_url = ((swAchObject["hs_url"])==null) ? _arg3 : swAchObject["hs_url"]; eventmanager_url = ((swAchObject["em_url"])==null) ? _arg2 : swAchObject["em_url"]; status_url = ((swAchObject["status_url"])==null) ? _arg4 : swAchObject["status_url"]; sdkLC.close(); _local5 = new Object(); _local5.status_url = status_url; _local5.eventmanager_url = eventmanager_url; this.dispatchEvent(new SDKEvent(SDKEvent.SCRATCHER_URLS, _local5)); trace(("[Achievements2.as] SDK URL is " + sdk_url)); trace(("[Achievements2.as] Highscore URL is " + highscore_url)); trace(("[Achievements2.as] Eventmanager URL is " + eventmanager_url)); trace(("[Achievements2.as] Status URL is " + status_url)); checkStatus(); } protected function onControlReturned(_arg1):void{ var _local2:SDKEvent; trace("[Achievements2.as] Control Returned from Overlay"); _arg1.stopImmediatePropagation(); _local2 = new SDKEvent("controlreturned", null); dispatchEvent(_local2); } private function onRouterIOError(_arg1:IOErrorEvent):void{ this.dispatchEvent(new IOErrorEvent("routerioerror", false, false, _arg1.text)); } private function onSDKSecurityError(_arg1:SecurityErrorEvent):void{ this.dispatchEvent(new SecurityErrorEvent("sdksecurityerror", false, false, _arg1.text)); } public function onStatus(_arg1:StatusEvent):void{ trace(("[Achievements2.as] Status Event " + _arg1.toString())); } public function getLifetimeTokens():String{ trace("[Achievements2.as] Explicit Get LifetimeTokens"); return (sdk.getLifetimeTokens()); } private function onSDKIOError(_arg1:IOErrorEvent):void{ this.dispatchEvent(new IOErrorEvent("sdkioerror", false, false, _arg1.text)); } protected function onApiReturn(_arg1):void{ var _local2:SDKEvent; trace("[Achievements2.as] Return from SDK Received"); _arg1.stopImmediatePropagation(); _local2 = new SDKEvent("apireturn", _arg1.returnObject); dispatchEvent(_local2); } public function showAchievementsOverlay(_arg1:Number=0):void{ trace("[Achievements2.as] Showing Overlay"); sdk.showOverlay(_arg1); } private function loadRouter():void{ var context:LoaderContext; trace("[Achievements2.as] Loading ROUTER with Context"); if (routerURL != null){ routerLoader = new Loader(); context = new LoaderContext(true); routerLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onRouterLoaded); routerLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onRouterProgress); routerLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onRouterIOError); routerLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onRouterSecurityError); try { routerLoader.load(new URLRequest(((routerURL + "?") + (Math.random() * 10000000))), context); } catch(e:Error) { trace(("[Achievements2.as] - Router Error " + e)); }; } else { throw (new Error("Error ROUTER: You must set the variable routerURL before loading the Router")); }; } public function gameEvent(_arg1:String, _arg2:Object):void{ trace(("[Achievements2.as] Game Event " + _arg1)); swAchObject.data = _arg2; sdk.gameEvent(_arg1, swAchObject); } } }//package com.shockwave.test
Section 88
//Achievement (Achievement) package { public class Achievement { var testFunction:String; var name:String; var testFunctionParams:String; var completeFunction:String; var completeFunctionParams:String; var complete:Boolean; var description:String; var specificLevel:int; public function Achievement(){ name = "undefined"; description = "undefined"; complete = false; testFunction = null; completeFunction = null; completeFunctionParams = null; testFunctionParams = null; specificLevel = -1; } } }//package
Section 89
//Achievements (Achievements) package { public class Achievements { public var list:Array; public function Achievements(){ list = new Array(); Add(1, "Level 1 Timetrial", "finish level 1 in 120 seconds to unlock level 2", "AchTest_FinishLevel", "-1,1,120", "AchPass_UnlockLevel", "2"); Add(2, "Level 2 Timetrial", "finish level 2 in 30 seconds to unlock level 3", "AchTest_FinishLevel", "-1,2,30", "AchPass_UnlockLevel", "2"); Add(1, "Level 1 Forward Somersault Challenge", "Complete 10 forward somersaults to unlock Clownbike", "AchTest_ForwardSomersault", "-1,1,2", "AchPass_UnlockBike", "6"); Add(1, "Level 1 Dino Challenge", "Total Real Wheel Wheelie for 20 seconds with Trikeceratops to unlock Level 3", "AchTest_TotalRearWheelie", "13,1,2", "AchPass_UnlockLevel", "3"); } public function Add(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String){ var _local8:Achievement; _local8 = new Achievement(); _local8.specificLevel = _arg1; _local8.name = _arg2; _local8.description = _arg3; _local8.testFunction = _arg4; _local8.testFunctionParams = _arg5; _local8.completeFunction = _arg6; _local8.completeFunctionParams = _arg7; list.push(_local8); } function AchTest_FinishLevel(_arg1:String):Boolean{ var _local2:Array; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; _local2 = _arg1.split(","); _local3 = int(_local2[0]); if (_local3 != -1){ if ((_local3 - 1) != Game.currentBikeIndex){ return (false); }; }; _local4 = int(_local2[1]); _local4--; _local5 = Number(_local2[2]); if (_local4 != Game.currentLevel){ return (false); }; _local6 = (_local5 * Defs.fps); if (Game.raceTimer <= _local6){ return (true); }; return (false); } function AchPass_UnlockBike(_arg1:String):void{ var _local2:Array; var _local3:int; var _local4:PlayerBikeData; _local2 = _arg1.split(","); _local3 = int(_local2[0]); _local3--; trace(("unlocked bike - " + _local3)); _local4 = PlayerBikes.GetBikeData(_local3); _local4.available = true; } function AchTest_ForwardSomersault(_arg1:String):Boolean{ var _local2:Array; var _local3:int; var _local4:int; var _local5:Number; _local2 = _arg1.split(","); _local3 = int(_local2[0]); if (_local3 != -1){ if ((_local3 - 1) != Game.currentBikeIndex){ return (false); }; }; _local4 = int(_local2[1]); _local4--; _local5 = Number(_local2[2]); if (_local4 != Game.currentLevel){ return (false); }; if (Game.levelForwardSomersaults >= _local5){ return (true); }; return (true); } public function TestAll(){ var _local1:Achievement; var _local2:Boolean; for each (_local1 in list) { if (_local1.complete == false){ _local2 = this[_local1.testFunction](_local1.testFunctionParams); if (_local2){ var _local5 = this; _local5[_local1.completeFunction](_local1.completeFunctionParams); _local1.complete = true; }; }; }; } function AchPass_UnlockLevel(_arg1:String):void{ var _local2:Array; var _local3:int; var _local4:Level; _local2 = _arg1.split(","); _local3 = int(_local2[0]); _local3--; trace(("unlocked level - " + _local3)); _local4 = Game.GetLevel(_local3); _local4.available = true; } function AchTest_TotalRearWheelie(_arg1:String):Boolean{ var _local2:Array; var _local3:int; var _local4:int; var _local5:Number; _local2 = _arg1.split(","); _local3 = int(_local2[0]); if (_local3 != -1){ if ((_local3 - 1) != Game.currentBikeIndex){ return (false); }; }; _local4 = int(_local2[1]); _local4--; _local5 = Number(_local2[2]); _local5 = (_local5 * Defs.fps); if (_local4 != Game.currentLevel){ return (false); }; if (Game.levelWheelieTime >= _local5){ return (true); }; return (true); } } }//package
Section 90
//animal_elephant (animal_elephant) package { import flash.media.*; public dynamic class animal_elephant extends Sound { } }//package
Section 91
//animal_giraffe (animal_giraffe) package { import flash.media.*; public dynamic class animal_giraffe extends Sound { } }//package
Section 92
//animal_gorilla (animal_gorilla) package { import flash.media.*; public dynamic class animal_gorilla extends Sound { } }//package
Section 93
//animal_hippo (animal_hippo) package { import flash.media.*; public dynamic class animal_hippo extends Sound { } }//package
Section 94
//animal_penguin (animal_penguin) package { import flash.media.*; public dynamic class animal_penguin extends Sound { } }//package
Section 95
//animal_tortoise (animal_tortoise) package { import flash.media.*; public dynamic class animal_tortoise extends Sound { } }//package
Section 96
//Animal1 (Animal1) package { import flash.display.*; public dynamic class Animal1 extends MovieClip { } }//package
Section 97
//Animal2 (Animal2) package { import flash.display.*; public dynamic class Animal2 extends MovieClip { } }//package
Section 98
//Animal3 (Animal3) package { import flash.display.*; public dynamic class Animal3 extends MovieClip { } }//package
Section 99
//Animal4 (Animal4) package { import flash.display.*; public dynamic class Animal4 extends MovieClip { } }//package
Section 100
//Animal5 (Animal5) package { import flash.display.*; public dynamic class Animal5 extends MovieClip { } }//package
Section 101
//Animal6 (Animal6) package { import flash.display.*; public dynamic class Animal6 extends MovieClip { } }//package
Section 102
//Background (Background) package { import flash.display.*; public dynamic class Background extends MovieClip { } }//package
Section 103
//baddie (baddie) package { import flash.media.*; public dynamic class baddie extends Sound { } }//package
Section 104
//BadGuy01 (BadGuy01) package { import flash.display.*; public dynamic class BadGuy01 extends MovieClip { } }//package
Section 105
//Balls (Balls) package { import flash.display.*; public dynamic class Balls extends MovieClip { } }//package
Section 106
//blowwav (blowwav) package { import flash.media.*; public dynamic class blowwav extends Sound { } }//package
Section 107
//bounce01 (bounce01) package { import flash.media.*; public dynamic class bounce01 extends Sound { } }//package
Section 108
//bounce02 (bounce02) package { import flash.media.*; public dynamic class bounce02 extends Sound { } }//package
Section 109
//bounce03 (bounce03) package { import flash.media.*; public dynamic class bounce03 extends Sound { } }//package
Section 110
//bounce04 (bounce04) package { import flash.media.*; public dynamic class bounce04 extends Sound { } }//package
Section 111
//bounce05 (bounce05) package { import flash.media.*; public dynamic class bounce05 extends Sound { } }//package
Section 112
//bounce06 (bounce06) package { import flash.media.*; public dynamic class bounce06 extends Sound { } }//package
Section 113
//BreakableObjects (BreakableObjects) package { import flash.display.*; public dynamic class BreakableObjects extends MovieClip { } }//package
Section 114
//BreakableObjects2 (BreakableObjects2) package { import flash.display.*; public dynamic class BreakableObjects2 extends MovieClip { } }//package
Section 115
//Bubble (Bubble) package { import flash.display.*; public dynamic class Bubble extends MovieClip { } }//package
Section 116
//bubblebox_score (bubblebox_score) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.net.*; import flash.filters.*; import flash.ui.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; public dynamic class bubblebox_score extends MovieClip { public var loader:URLLoader; public var loadingStatus:String; public var hexChars:String; public var score:Number; public var gameID:Number; public var insertname:TextField; public function bubblebox_score(){ addFrameScript(0, frame1); } public function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (tr(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public function hash(_arg1:String):String{ var _local2:ByteArray; _local2 = new ByteArray(); _local2.writeUTFBytes(_arg1); return (hashBinary(_local2)); } public function removeListeners():void{ loader.removeEventListener(Event.COMPLETE, completeHandler); loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); loader.removeEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); } public function clicked(_arg1:MouseEvent):void{ var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:URLVariables; var _local7:URLRequest; if (loadingStatus == "insertName"){ if (((((!((_arg1.target.name == "insertName"))) && (!((this.insertname.text == "YOUR NAME"))))) && ((this.insertname.text.length > 0)))){ _local2 = this.insertname.text; _local3 = ((((gameID + "_") + score) + "_") + _local2); _local4 = ((((((((((gameID + "_") + "4234232143214421") + "_") + score) + "_") + "2537625476251") + "_") + _local2) + "_") + "desleutelistessa"); _local5 = hash(_local4); _local6 = new URLVariables(); _local6.datastring = _local3; _local6.hashstring = _local5; _local7 = new URLRequest("http://www.bubblebox.com/scripts/insertscore2008.php"); _local7.data = _local6; _local7.method = URLRequestMethod.POST; loader.dataFormat = URLLoaderDataFormat.TEXT; loader.addEventListener(Event.COMPLETE, completeHandler, false, 0, true); loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler, false, 0, true); loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler, false, 0, true); loader.load(_local7); this.gotoAndStop(2); loadingStatus = "sending"; }; } else { if (loadingStatus == "sending"){ } else { if (loadingStatus == "completed"){ navigateToURL(new URLRequest((("http://www.bubblebox.com/highscores/" + gameID) + ".htm")), "_blank"); } else { if (loadingStatus == "failed"){ loadingStatus = "insertName"; this.gotoAndStop(1); }; }; }; }; } public function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (tr(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public function failed():void{ loadingStatus = "failed"; removeListeners(); this.gotoAndStop(4); } public function setScore(_arg1:Number, _arg2:Number):void{ score = _arg1; gameID = _arg2; } public function f(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg2) | (~(_arg1) & _arg3))); } public function i(_arg1:int, _arg2:int, _arg3:int):int{ return ((_arg2 ^ (_arg1 | ~(_arg3)))); } function frame1(){ hexChars = "0123456789abcdef"; this.stage.focus = this.insertname; this.insertname.setSelection(0, this.insertname.text.length); loader = new URLLoader(); loadingStatus = "insertName"; this.addEventListener(MouseEvent.CLICK, clicked, false, 0, true); stop(); } public function g(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg3) | (_arg2 & ~(_arg3)))); } public function h(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 ^ _arg2) ^ _arg3)); } public function ioErrorHandler(_arg1:IOErrorEvent):void{ trace("ioError"); failed(); } public function securityErrorHandler(_arg1:SecurityErrorEvent):void{ trace("securityError"); failed(); } public function toHex(_arg1:int, _arg2:Boolean=false):String{ var _local3:String; var _local4:int; var _local5:int; _local3 = ""; if (_arg2){ _local4 = 0; while (_local4 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15)))); _local4++; }; } else { _local5 = 0; while (_local5 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15)))); _local5++; }; }; return (_local3); } public function createBlocks(_arg1:ByteArray):Array{ var _local2:Array; var _local3:int; var _local4:int; var _local5:int; _local2 = new Array(); _local3 = (_arg1.length * 8); _local4 = 0xFF; _local5 = 0; while (_local5 < _local3) { _local2[int((_local5 >> 5))] = (_local2[int((_local5 >> 5))] | ((_arg1[(_local5 / 8)] & _local4) << (_local5 % 32))); _local5 = (_local5 + 8); }; _local2[int((_local3 >> 5))] = (_local2[int((_local3 >> 5))] | (128 << (_local3 % 32))); _local2[int(((((_local3 + 64) >>> 9) << 4) + 14))] = _local3; return (_local2); } public function hashBinary(_arg1:ByteArray):String{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:Array; var _local11:int; var _local12:int; _local2 = 1732584193; _local3 = -271733879; _local4 = -1732584194; _local5 = 271733878; _local10 = createBlocks(_arg1); _local11 = _local10.length; _local12 = 0; while (_local12 < _local11) { _local6 = _local2; _local7 = _local3; _local8 = _local4; _local9 = _local5; _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 7, -680876936); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 1))], 12, -389564586); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 17, 606105819); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 3))], 22, -1044525330); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 7, -176418897); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 5))], 12, 1200080426); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 17, -1473231341); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 7))], 22, -45705983); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 7, 1770035416); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 9))], 12, -1958414417); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 17, -42063); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 11))], 22, -1990404162); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 7, 1804603682); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 13))], 12, -40341101); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 17, -1502002290); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 15))], 22, 1236535329); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 5, -165796510); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 6))], 9, -1069501632); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 14, 643717713); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 0))], 20, -373897302); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 5, -701558691); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 10))], 9, 38016083); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 14, -660478335); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 4))], 20, -405537848); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 5, 568446438); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 14))], 9, -1019803690); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 14, -187363961); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 8))], 20, 1163531501); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 5, -1444681467); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 2))], 9, -51403784); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 14, 1735328473); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 12))], 20, -1926607734); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 4, -378558); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 8))], 11, -2022574463); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 16, 1839030562); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 14))], 23, -35309556); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 4, -1530992060); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 4))], 11, 1272893353); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 16, -155497632); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 10))], 23, -1094730640); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 4, 681279174); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 0))], 11, -358537222); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 16, -722521979); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 6))], 23, 76029189); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 4, -640364487); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 12))], 11, -421815835); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 16, 530742520); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 2))], 23, -995338651); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 6, -198630844); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 7))], 10, 1126891415); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 15, -1416354905); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 5))], 21, -57434055); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 6, 1700485571); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 3))], 10, -1894986606); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 15, -1051523); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 1))], 21, -2054922799); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 6, 1873313359); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 15))], 10, -30611744); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 15, -1560198380); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 13))], 21, 1309151649); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 6, -145523070); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 11))], 10, -1120210379); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 15, 718787259); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 9))], 21, -343485551); _local2 = (_local2 + _local6); _local3 = (_local3 + _local7); _local4 = (_local4 + _local8); _local5 = (_local5 + _local9); _local12 = (_local12 + 16); }; return ((((toHex(_local2) + toHex(_local3)) + toHex(_local4)) + toHex(_local5))); } public function tr(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{ var _local9:int; _local9 = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8); return ((rol(_local9, _arg7) + _arg3)); } public function rol(_arg1:int, _arg2:int):int{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } public function completeHandler(_arg1:Event):void{ loadingStatus = "completed"; removeListeners(); this.gotoAndStop(3); } public function ror(_arg1:int, _arg2:int):uint{ var _local3:int; _local3 = (32 - _arg2); return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3)))); } public function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (tr(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (tr(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } } }//package
Section 117
//BubbleSplat (BubbleSplat) package { import flash.display.*; public dynamic class BubbleSplat extends MovieClip { } }//package
Section 118
//BubbleSplatDrip (BubbleSplatDrip) package { import flash.display.*; public dynamic class BubbleSplatDrip extends MovieClip { } }//package
Section 119
//c1 (c1) package { public dynamic class c1 extends Card { } }//package
Section 120
//c2 (c2) package { public dynamic class c2 extends Card { } }//package
Section 121
//c3 (c3) package { public dynamic class c3 extends Card { } }//package
Section 122
//c4 (c4) package { public dynamic class c4 extends Card { } }//package
Section 123
//Cannon (Cannon) package { import flash.display.*; public dynamic class Cannon extends MovieClip { } }//package
Section 124
//cannonwav (cannonwav) package { import flash.media.*; public dynamic class cannonwav extends Sound { } }//package
Section 125
//Card (Card) package { import flash.events.*; import flash.display.*; dynamic class Card extends MovieClip { public var orot:Number; public var oSpeed:Number; public var yDir:String; public var speed:Number; public var r:Number; public var firstTime:Boolean;// = true public var dir:String; public var time:Number; public var ox:Number; public var oy:Number; public static var WIDTH = 300; public static var ranNum:Array = [9, 7, 3, 1, 2, 4, 5, 8, 6, 10]; public static var ranNumIndex:Number = 0; public static var HEIGHT = 250; function Card(){ firstTime = true; super(); addEventListener("enterFrame", onEnterFrame); } public function randomNumber(){ ranNumIndex++; if (ranNumIndex == ranNum.length){ ranNumIndex = 0; }; return (ranNum[ranNumIndex]); } public function Init(){ cacheAsBitmap = true; this.forceSmoothing = true; ox = this.x; oy = this.y; orot = this.rotation; time = 1; speed = (randomNumber() + 5); oSpeed = speed; if (randomNumber() < 3){ r = (randomNumber() + 5); } else { r = 0; }; if (this.x < (WIDTH / 2)){ dir = "left"; } else { dir = "right"; }; if (this.y < (HEIGHT / 2)){ yDir = "up"; } else { yDir = "down"; }; } public function resetCards(){ } public function onEnterFrame(_arg1:Event){ if (firstTime == true){ firstTime = false; Init(); return; }; time = (time + 1); if (time > 30){ if (dir == "left"){ this.x = (this.x - speed); speed = (speed * 1.1); if (r != 0){ this.rotation = (this.rotation + r); }; if (this.x <= -50){ dir = "stop"; }; }; if (dir == "right"){ this.x = (this.x + speed); speed = (speed * 1.1); if (r != 0){ this.rotation = (this.rotation + r); }; if (this.x >= (WIDTH + 50)){ dir = "stop"; }; }; if (yDir == "up"){ this.y = (this.y - 2); }; if (yDir == "down"){ this.y = (this.y + 2); }; if (time > 250){ time = 1; resetCards(); if (x < (WIDTH / 2)){ dir = "left"; } else { dir = "right"; }; }; }; } } }//package
Section 126
//Catapult (Catapult) package { import flash.display.*; public dynamic class Catapult extends MovieClip { } }//package
Section 127
//ContactListener (ContactListener) package { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; public class ContactListener extends b2ContactListener { function MagnetCollision(_arg1:b2ContactPoint){ var _local2:b2Body; var _local3:PhysObj_BodyUserData; var _local4:b2Body; var _local5:PhysObj_BodyUserData; _local2 = _arg1.shape1.GetBody(); _local3 = _local2.GetUserData(); _local4 = _arg1.shape2.GetBody(); _local5 = _local4.GetUserData(); if (_local3.type.match("magnet")){ _local5.instance.collideFunction = Game.CollideWithMagnet; _local5.instance.collidetimer = 10; _local5.instance.collideWithInstance = _local3.instance; }; if (_local5.type.match("magnet")){ _local3.instance.collideFunction = Game.CollideWithMagnet; _local3.instance.collidetimer = 10; _local3.instance.collideWithInstance = _local5.instance; }; } function BallBalloonCollision(_arg1:PhysObj_BodyUserData, _arg2:PhysObj_BodyUserData){ var _local3:PhysObj_Instance; var _local4:b2Vec2; if (_arg2.instance.collidetimer == 0){ _arg2.instance.collideFunction = Game.RemoveObj_Standard; _arg2.instance.collidetimer = 10; _local3 = _arg1.instance; _local3.ball_hitcount++; _local4 = _arg2.instance.GetBodyWorldPos(0); Game.InitMessage(("Combo x " + _local3.ball_hitcount), (_local4.x * Game.p2w), (_local4.y * Game.p2w)); Game.numBalloonsActive--; }; } override public function Persist(_arg1:b2ContactPoint):void{ var _local2:GameObj; var _local3:PhysObj_Instance; var _local4:b2Body; var _local5:PhysObj_BodyUserData; var _local6:b2Body; var _local7:PhysObj_BodyUserData; var _local8:b2Vec2; _local4 = _arg1.shape1.GetBody(); _local5 = _local4.GetUserData(); _local6 = _arg1.shape2.GetBody(); _local7 = _local6.GetUserData(); _local8 = new b2Vec2(0, 0); Game.numCollisionTests++; MagnetCollision(_arg1); } override public function Add(_arg1:b2ContactPoint):void{ var _local2:GameObj; var _local3:PhysObj_Instance; var _local4:b2Body; var _local5:PhysObj_BodyUserData; var _local6:b2Body; var _local7:PhysObj_BodyUserData; var _local8:b2Vec2; var _local9:b2Vec2; _local4 = _arg1.shape1.GetBody(); _local5 = _local4.GetUserData(); _local6 = _arg1.shape2.GetBody(); _local7 = _local6.GetUserData(); _local8 = new b2Vec2(0, 0); Game.numCollisionTests++; MagnetCollision(_arg1); if (_local5.type == "springboard"){ _local7.instance.collideFunction = Game.CollideWithSpringboard; _local7.instance.collidetimer = 10; _local7.instance.collideWithInstance = _local5.instance; }; if (_local7.type == "springboard"){ _local5.instance.collideFunction = Game.CollideWithSpringboard; _local5.instance.collidetimer = 10; _local5.instance.collideWithInstance = _local7.instance; }; if ((((_local5.type == "cannon")) && ((_local7.type == "guineapig")))){ _local7.instance.collideFunction = Game.CollideWithCannon; _local7.instance.collidetimer = 10; }; if ((((_local7.type == "cannon")) && ((_local5.type == "guineapig")))){ _local5.instance.collideFunction = Game.CollideWithCannon; _local5.instance.collidetimer = 10; }; if ((((_local5.type == "mincer")) && ((_local7.type == "guineapig")))){ _local7.instance.collideFunction = Game.CollideWithMincer; _local7.instance.collidetimer = 10; _local7.instance.collideWithInstance = _local5.instance; }; if ((((_local7.type == "mincer")) && ((_local5.type == "guineapig")))){ _local5.instance.collideFunction = Game.CollideWithMincer; _local5.instance.collidetimer = 10; _local5.instance.collideWithInstance = _local7.instance; }; if (((_local5.type.match("killguinea")) && ((_local7.type == "guineapig")))){ _local7.instance.collideFunction = Game.RemoveObj_KillGuinea; _local7.instance.collidetimer = 10; }; if (((_local7.type.match("killguinea")) && ((_local5.type == "guineapig")))){ _local5.instance.collideFunction = Game.RemoveObj_KillGuinea; _local5.instance.collidetimer = 10; }; if (_local5.type.match("portal_entry")){ _local7.instance.collideFunction = Game.CollideWithPortal; _local7.instance.collidetimer = 10; _local7.instance.portalName = _local5.instance.typeName; }; if (_local7.type.match("portal_entry")){ _local5.instance.collideFunction = Game.CollideWithPortal; _local5.instance.collidetimer = 10; _local5.instance.portalName = _local7.instance.typeName; }; if (_local5.type == "bubblesplat"){ if (_local7.type.match("animal")){ _local7.instance.HitAnimal(); }; if (_local5.instance.collidetimer == 0){ _local5.instance.collideFunction = Game.RemoveObj_BubbleSplat; _local5.instance.collidetimer = 10; }; }; if (_local7.type == "bubblesplat"){ if (_local5.type.match("animal")){ _local5.instance.HitAnimal(); }; if (_local7.instance.collidetimer == 0){ _local7.instance.collideFunction = Game.RemoveObj_BubbleSplat; _local7.instance.collidetimer = 10; }; }; if (_local5.type.match("guineapig")){ _local9 = _local5.instance.GetBodyLinearVelocity(0); if (_local9.Length() > 7){ SoundPlayer.PlayRandomBetween("bounce01", "bounce06", 1); }; } else { if (_local7.type.match("guineapig")){ _local9 = _local7.instance.GetBodyLinearVelocity(0); if (_local9.Length() > 7){ SoundPlayer.PlayRandomBetween("bounce01", "bounce06", 1); }; }; }; if (((_local5.type.match("guineapig")) && ((_local7.type == "balloon01")))){ BallBalloonCollision(_local5, _local7); }; if (((_local7.type.match("guineapig")) && ((_local5.type == "balloon01")))){ BallBalloonCollision(_local7, _local5); }; if (((_local5.type.match("bike")) && ((_local7.type == "switch_to_back")))){ Game.SwitchToBack(); }; if (((_local7.type.match("bike")) && ((_local5.type == "switch_to_back")))){ Game.SwitchToBack(); }; if (((_local5.type.match("bike")) && ((_local7.type == "switch_to_front")))){ Game.SwitchToFront(); }; if (((_local7.type.match("bike")) && ((_local5.type == "switch_to_front")))){ Game.SwitchToFront(); }; if ((((_local7.type == "ball")) && ((_local5.type == "mover50")))){ _local8.x = Math.cos(Utils.DegToRad(_local5.instance.rot)); _local8.y = Math.sin(Utils.DegToRad(_local5.instance.rot)); _local8.Multiply(50); _local6.ApplyForce(_local8, _local6.GetWorldCenter()); }; if ((((_local5.type == "ball")) && ((((_local7.type == "bouncer")) || ((_local7.type == "bouncer2")))))){ _local2 = GameObjects.objs[_local7.gameObjectID]; _local2.BouncerBounce(); SoundPlayer.Play("sfx_boing"); }; if ((((_local7.type == "ball")) && ((((_local5.type == "bouncer")) || ((_local5.type == "bouncer2")))))){ _local2 = GameObjects.objs[_local5.gameObjectID]; _local2.BouncerBounce(); SoundPlayer.Play("sfx_boing"); }; if ((((_local5.type == "ball")) && ((_local7.type == "conveyor100")))){ _local8.x = Math.cos(Utils.DegToRad(_local7.instance.rot)); _local8.y = Math.sin(Utils.DegToRad(_local7.instance.rot)); _local4.ApplyForce(_local8, _local4.GetLocalCenter()); }; if ((((_local7.type == "ball")) && ((_local5.type == "conveyor100")))){ _local8.x = Math.cos(Utils.DegToRad(_local5.instance.rot)); _local8.y = Math.sin(Utils.DegToRad(_local5.instance.rot)); _local6.ApplyForce(_local8, _local6.GetLocalCenter()); }; if ((((_local5.type == "ball")) && ((_local7.type == "gem")))){ _local7.instance.collideFunction = Game.RemoveObj_Gem; if (_local7.instance.collidetimer == 0){ _local7.instance.collidetimer = 10; }; }; if ((((_local7.type == "ball")) && ((_local5.type == "gem")))){ _local5.instance.collideFunction = Game.RemoveObj_Gem; if (_local5.instance.collidetimer == 0){ _local5.instance.collidetimer = 10; }; }; if ((((_local5.type == "cannonball")) && ((((_local7.type == "pin_disappear")) || ((_local7.type == "pin_disappear_broken")))))){ _local2 = GameObjects.objs[_local7.gameObjectID]; if (_local2.PinDisappearHit()){ _local7.instance.collideFunction = Game.RemoveObj_Standard; if (_local7.instance.collidetimer == 0){ _local7.instance.collidetimer = 10; }; }; }; if ((((_local7.type == "cannonball")) && ((((_local5.type == "pin_disappear")) || ((_local5.type == "pin_disappear_broken")))))){ SoundPlayer.Play("sfx_removepin", Utils.RandBetweenFloat(0.5, 1)); _local2 = GameObjects.objs[_local5.gameObjectID]; if (_local2.PinDisappearHit()){ _local5.instance.collideFunction = Game.RemoveObj_Standard; if (_local5.instance.collidetimer == 0){ _local5.instance.collidetimer = 10; }; }; }; } public function TestBikeWheelDown(_arg1:b2ContactPoint):void{ var _local2:b2Body; var _local3:PhysObj_BodyUserData; var _local4:b2Body; var _local5:PhysObj_BodyUserData; _local2 = _arg1.shape1.GetBody(); _local3 = _local2.GetUserData(); _local4 = _arg1.shape2.GetBody(); _local5 = _local4.GetUserData(); if (_local3.type.match("bike")){ if (_local5.type.match("killer")){ Game.StartPlayerHitFloor(); }; if (_local3.bodyName == "body"){ if (((((!((_local5.type == "switch_to_front"))) && (!((_local5.type == "switch_to_back"))))) && (!((_local5.type == "Pickup"))))){ Game.StartPlayerHitFloor(); }; } else { Game.BikeWheelIsDown(); if (_local3.bodyName == "wheel1"){ Game.BackWheelIsDown(); }; if (_local3.bodyName == "wheel2"){ Game.FrontWheelIsDown(); }; }; }; if (_local5.type.match("bike")){ if (_local3.type.match("killer")){ Game.StartPlayerHitFloor(); }; if (_local5.bodyName == "body"){ if (((((!((_local3.type == "switch_to_front"))) && (!((_local3.type == "switch_to_back"))))) && (!((_local3.type == "Pickup"))))){ Game.StartPlayerHitFloor(); }; } else { Game.BikeWheelIsDown(); if (_local5.bodyName == "wheel1"){ Game.BackWheelIsDown(); }; if (_local5.bodyName == "wheel2"){ Game.FrontWheelIsDown(); }; }; }; } } }//package
Section 128
//Cursors (Cursors) package { import flash.display.*; public dynamic class Cursors extends MovieClip { } }//package
Section 129
//Debug (Debug) package { public class Debug { public static var debugMode:int = 0; public static function IsSet(_arg1:int):Boolean{ if ((debugMode & _arg1) == 0){ return (false); }; return (true); } public static function RenderCollision(){ var _local1:Number; var _local2:Number; var _local3:int; var _local4:uint; var _local5:Line; var _local6:Line; var _local7:int; var _local8:Poly; return; } public static function RenderPlayerInfo(){ var _local1:String; var _local2:GameObj; } } }//package
Section 130
//Defs (Defs) package { import flash.geom.*; public class Defs { public static const zpos_PICKUP = 1100; public static const zpos_ENEMY = 1000; public static const displayarea_w = 700; public static const zpos_OVERLAY = 500; public static const zpos_PLAYER = 1000; public static const fps:Number = 33; public static const zpos_FAR = 10000; public static const zpos_BACKGROUND = 10000; public static const displayarea_h = 600; public static const platformW2 = 15; public static var screenRect:Rectangle = new Rectangle(0, 0, displayarea_w, displayarea_h); public static var pointZero:Point = new Point(0, 0); } }//package
Section 131
//DisplayObj (DisplayObj) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.text.*; public class DisplayObj { var flags:int; var frames:Array; public var frame:int; public function DisplayObj(_arg1:MovieClip, _arg2:Number, _arg3:int):void{ flags = _arg3; frame = 0; if (_arg1 != null){ CreateBitmapsFromMovieClip(_arg1, flags); }; } public function GetBitmap():Bitmap{ return (frames[frame].bitmap); } public function RenderAt(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Boolean=false):void{ frames[frame].RenderAt(_arg1, _arg2, _arg3, _arg4); } public function CreateFont(_arg1:TextFormat):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:Matrix; var _local7:Rectangle; var _local8:Bitmap; var _local9:BitmapData; var _local10:Array; var _local11:TextField; var _local12:*; frames = new Array(); _local10 = CreateAsciiStringTable(); _local2 = 0; while (_local2 < _local10.length) { _local11 = new TextField(); _local11.textColor = 4294967295; _local11.selectable = false; _local11.embedFonts = true; _local11.autoSize = TextFieldAutoSize.LEFT; _local11.x = 0; _local11.y = 0; _local11.text = _local10[_local2]; _local11.setTextFormat(_arg1); _local12 = new DisplayObjFrame(); _local12.bitmaps = new Array(); _local12.xoffsets = new Array(); _local12.yoffsets = new Array(); _local12.mat = new Matrix(); _local12.colTrans = new ColorTransform(); _local7 = _local11.getBounds(null); _local6 = new Matrix(); _local6.translate(-(_local7.x), -(_local7.y)); _local12.xoffsets.push(0); _local12.yoffsets.push(0); _local8 = new Bitmap(); _local9 = new BitmapData(_local7.width, _local7.height, true, 0); _local9.draw(_local11, _local6, null, null, null, true); _local8.bitmapData = _local9; _local12.bitmaps.push(_local8); frames.push(_local12); _local2++; }; } public function CreateBitmapsFromMovieClip(_arg1:MovieClip, _arg2:int):void{ var _local3:Boolean; var _local4:Boolean; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:Matrix; var _local10:Rectangle; var _local11:Bitmap; var _local12:BitmapData; var _local13:Bitmap; var _local14:BitmapData; var _local15:int; var _local16:*; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Boolean; var _local21:Number; var _local22:*; var _local23:Number; var _local24:Point; var _local25:Point; var _local26:Point; var _local27:Point; var _local28:ColorTransform; var _local29:ColorTransform; _local3 = false; _local4 = false; if (_arg2 == 3){ _local4 = true; _arg2 = 0; }; if (_arg2 == 2){ _local3 = true; _arg2 = 0; }; if (_arg2 == 3){ }; frames = new Array(); _arg1.gotoAndStop(0); _local15 = 32; _local5 = 0; while (_local5 < _arg1.totalFrames) { _local16 = new DisplayObjFrame(); _local16.bitmaps = new Array(); _local16.burnedbitmaps = new Array(); _local16.xoffsets = new Array(); _local16.yoffsets = new Array(); _local16.mat = new Matrix(); _local16.colTrans = new ColorTransform(); if (_arg2 == 3){ _local17 = 1000; _local10 = _arg1.getBounds(null); _local18 = _local10.width; _local19 = (_local18 + _local17); _local20 = true; _local21 = 0; do { _local9 = new Matrix(); _local9.translate(-(_local21), 0); _local7 = _local21; _local8 = 0; _local16.xoffsets.push(Number(_local21)); _local16.yoffsets.push(Number(_local8)); _local21 = (_local21 + _local17); _local22 = _local17; _local19 = (_local19 - _local17); if (_local19 < _local17){ _local20 = false; _local22 = _local19; }; trace(((("split: w:" + _local22) + " xoff:") + _local21)); _local11 = new Bitmap(); _local12 = new BitmapData(_local22, _arg1.height, true, 0); _local12.draw(_arg1, _local9); _local11.bitmapData = _local12; _local16.bitmaps.push(_local11); } while (_local20); } else { if (_arg2 == 1){ _local6 = 0; while (_local6 < _local15) { _local23 = (((Math.PI * 2) / Number(_local15)) * Number(_local6)); _local23 = -(_local23); _local23 = (_local23 + (Math.PI / 2)); _local10 = _arg1.getBounds(null); _local9 = new Matrix(); _local9.rotate(_local23); _local9.translate(_local10.width, _local10.height); _local24 = _local9.transformPoint(new Point(_local10.left, _local10.top)); _local25 = _local9.transformPoint(new Point(_local10.right, _local10.top)); _local26 = _local9.transformPoint(new Point(_local10.right, _local10.bottom)); _local27 = _local9.transformPoint(new Point(_local10.left, _local10.bottom)); if (((!((_arg1.width == 0))) && (!((_arg1.height == 0))))){ _local12 = new BitmapData((_local10.width * 2), (_local10.height * 2), true, 0); _local12.draw(_arg1, _local9); _local11 = new Bitmap(_local12); _local16.bitmaps.push(_local11); _local28 = new ColorTransform(1, 1, 1, 1, -100, -100, -100, 0); _local14 = new BitmapData((_local10.width * 2), (_local10.height * 2), true, 0); _local14.draw(_arg1, _local9, _local28); _local13 = new Bitmap(_local14); _local16.burnedbitmaps.push(_local13); _local7 = (_local10.width / 2); _local8 = (_local10.height / 2); _local16.xoffsets.push(Number(-(_local10.width))); _local16.yoffsets.push(Number(-(_local10.height))); } else { _local16.bitmaps.push(null); _local16.burnedbitmaps.push(null); _local16.xoffsets.push(0); _local16.yoffsets.push(0); }; _local6++; }; } else { _local10 = _arg1.getBounds(null); _local10.x = Math.floor(_local10.x); _local10.y = Math.floor(_local10.y); _local10.width = Math.ceil(_local10.width); _local10.height = Math.ceil(_local10.height); _local8 = Math.floor(_local8); _local9 = new Matrix(); _local7 = _local10.left; _local8 = _local10.top; _local9.translate(-(_local7), -(_local8)); _local16.xoffsets.push(Number(_local7)); _local16.yoffsets.push(Number(_local8)); if (((!((_arg1.width == 0))) && (!((_arg1.height == 0))))){ _local11 = new Bitmap(); _local12 = new BitmapData(_local10.width, _local10.height, true, 0); _local12.draw(_arg1, _local9); _local11.bitmapData = _local12; _local16.bitmaps.push(_local11); } else { _local16.bitmaps.push(null); }; if (_local3){ _local10 = _arg1.getBounds(null); _local10.x = Math.floor(_local10.x); _local10.y = Math.floor(_local10.y); _local10.width = Math.floor(_local10.width); _local10.height = Math.floor(_local10.height); _local9 = new Matrix(); _local7 = _local10.left; _local8 = _local10.top; _local9.translate(-(_local7), -(_local8)); _local9.scale(-1, 1); _local9.translate(_local10.width, 0); _local16.xoffsets.push(Number(-(_local10.right))); _local16.yoffsets.push(Number(_local8)); if (((!((_arg1.width == 0))) && (!((_arg1.height == 0))))){ _local11 = new Bitmap(); _local12 = new BitmapData(_local10.width, _local10.height, true, 0); _local12.draw(_arg1, _local9); _local11.bitmapData = _local12; _local16.bitmaps.push(_local11); } else { _local16.bitmaps.push(null); }; } else { if (_local4){ _local29 = new ColorTransform(0.1, 0.1, 0.1, 0.3); _local10 = _arg1.getBounds(null); _local10.x = Math.floor(_local10.x); _local10.y = Math.floor(_local10.y); _local10.width = Math.floor((_local10.width + 1)); _local10.height = Math.floor((_local10.height + 1)); _local8 = Math.floor(_local8); _local9 = new Matrix(); _local7 = _local10.left; _local8 = _local10.top; _local9.translate(-(_local7), -(_local8)); _local16.xoffsets.push(Number(_local7)); _local16.yoffsets.push(Number(_local8)); if (((!((_arg1.width == 0))) && (!((_arg1.height == 0))))){ _local11 = new Bitmap(); _local12 = new BitmapData(_local10.width, _local10.height, true, 0); _local12.draw(_arg1, _local9, _local29); _local11.bitmapData = _local12; _local16.bitmaps.push(_local11); } else { _local16.bitmaps.push(null); }; }; }; }; }; frames.push(_local16); _arg1.nextFrame(); _local5++; }; } public function SetFrame(_arg1:int){ frame = _arg1; if (frame < 0){ frame = 0; }; if (frame >= frames.length){ frame = (frames.length - 1); }; } public function GetMaxFrames():int{ return (frames.length); } public function RenderAtRot(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean):void{ if (_arg5){ frames[frame].RenderAtRotBurned(_arg1, _arg2, _arg3, _arg4); } else { frames[frame].RenderAtRot(_arg1, _arg2, _arg3, _arg4); }; } public function GetFrame():int{ return (frame); } public function GetXOffset():Number{ return (frames[frame].xoffset); } public function GetYOffset():Number{ return (frames[frame].yoffset); } function CreateAsciiStringTable():Array{ var _local1:Array; _local1 = new Array(); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(""); _local1.push(" "); _local1.push("!"); _local1.push("'"); _local1.push("#"); _local1.push("$"); _local1.push("%"); _local1.push("&"); _local1.push("'"); _local1.push("("); _local1.push(")"); _local1.push("*"); _local1.push("+"); _local1.push(","); _local1.push("-"); _local1.push("."); _local1.push("/"); _local1.push("0"); _local1.push("1"); _local1.push("2"); _local1.push("3"); _local1.push("4"); _local1.push("5"); _local1.push("6"); _local1.push("7"); _local1.push("8"); _local1.push("9"); _local1.push(":"); _local1.push(";"); _local1.push("<"); _local1.push("="); _local1.push(">"); _local1.push("?"); _local1.push("@"); _local1.push("A"); _local1.push("B"); _local1.push("C"); _local1.push("D"); _local1.push("E"); _local1.push("F"); _local1.push("G"); _local1.push("H"); _local1.push("I"); _local1.push("J"); _local1.push("K"); _local1.push("L"); _local1.push("M"); _local1.push("N"); _local1.push("O"); _local1.push("P"); _local1.push("Q"); _local1.push("R"); _local1.push("S"); _local1.push("T"); _local1.push("U"); _local1.push("V"); _local1.push("W"); _local1.push("X"); _local1.push("Y"); _local1.push("Z"); _local1.push("["); _local1.push("\\"); _local1.push("]"); _local1.push("^"); _local1.push("_"); _local1.push("'"); _local1.push("a"); _local1.push("b"); _local1.push("c"); _local1.push("d"); _local1.push("e"); _local1.push("f"); _local1.push("g"); _local1.push("h"); _local1.push("i"); _local1.push("j"); _local1.push("k"); _local1.push("l"); _local1.push("m"); _local1.push("n"); _local1.push("o"); _local1.push("p"); _local1.push("q"); _local1.push("r"); _local1.push("s"); _local1.push("t"); _local1.push("u"); _local1.push("v"); _local1.push("w"); _local1.push("x"); _local1.push("y"); _local1.push("z"); _local1.push("{"); _local1.push("|"); _local1.push("}"); _local1.push("~"); return (_local1); } public function GetFrameWidth(_arg1:int):Number{ return (frames[_arg1].bitmap.width); } public function GetWidth():Number{ return (frames[frame].bitmap.width); } public function RenderAtColTrans(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:ColorTransform, _arg5:Boolean=false):void{ frames[frame].RenderAtColTrans(_arg1, _arg2, _arg3, _arg4, _arg5); } public function GetHeight():Number{ return (frames[frame].bitmap.height); } public function GetScaledBitmap():Bitmap{ return (frames[frame].scaledBitmap); } } }//package import flash.display.*; import flash.geom.*; class DisplayObjFrame { public var mat:Matrix; public var bitmaps:Array; public var xoffsets:Array; public var burnedbitmaps:Array; public var colTrans:ColorTransform; public var yoffsets:Array; private function DisplayObjFrame(){ } public function RenderAtScaled(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Number=1):void{ var _local6:Bitmap; var _local7:Number; var _local8:Number; _local6 = bitmaps[0]; _local7 = xoffsets[0]; _local8 = yoffsets[0]; if (_arg4){ _local6 = bitmaps[1]; _local7 = xoffsets[1]; _local8 = yoffsets[1]; }; mat.identity(); mat.scale(_arg5, _arg5); mat.translate((_arg2 + (_local7 * _arg5)), (_arg3 + (_local8 * _arg5))); if (_local6 != null){ if (_local6.bitmapData != null){ _arg1.draw(_local6.bitmapData, mat); }; }; } public function RenderAt(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Boolean=false):void{ var _local5:Bitmap; var _local6:Number; var _local7:Number; _local5 = bitmaps[0]; _local6 = xoffsets[0]; _local7 = yoffsets[0]; if (_arg4){ _local5 = bitmaps[1]; _local6 = xoffsets[1]; _local7 = yoffsets[1]; }; _arg1.copyPixels(_local5.bitmapData, new Rectangle(0, 0, _local5.width, _local5.height), new Point((_arg2 + _local6), (_arg3 + _local7)), null, null, true); } public function RenderAtRotScaled(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=0, _arg7:ColorTransform=null, _arg8:Boolean=false):void{ var _local9:Bitmap; var _local10:Number; var _local11:Number; _local9 = bitmaps[0]; _local10 = xoffsets[0]; _local11 = yoffsets[0]; if (_arg4){ _local9 = bitmaps[1]; _local10 = xoffsets[1]; _local11 = yoffsets[1]; }; mat.identity(); mat.translate(_local10, _local11); mat.rotate(_arg6); mat.translate(-(_local10), -(_local11)); mat.scale(_arg5, _arg5); mat.translate((_arg2 + (_local10 * _arg5)), (_arg3 + (_local11 * _arg5))); if (_local9 != null){ if (_local9.bitmapData != null){ _arg1.draw(_local9.bitmapData, mat, _arg7, null, null, _arg8); }; }; } public function RenderAtSplit(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{ var _local4:int; var _local5:Bitmap; var _local6:Number; var _local7:Number; _local4 = 0; while (_local4 < bitmaps.length) { _local5 = bitmaps[_local4]; _local6 = xoffsets[_local4]; _local7 = yoffsets[_local4]; _arg1.copyPixels(_local5.bitmapData, new Rectangle(0, 0, _local5.width, _local5.height), new Point((_arg2 + _local6), (_arg3 + _local7)), null, null, true); _local4++; }; } public function RenderAtColTrans(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:ColorTransform, _arg5:Boolean=false):void{ var _local6:Bitmap; var _local7:Number; var _local8:Number; _local6 = bitmaps[0]; _local7 = xoffsets[0]; _local8 = yoffsets[0]; if (_arg5){ _local6 = bitmaps[1]; _local7 = xoffsets[1]; _local8 = yoffsets[1]; }; mat.identity(); mat.translate((_arg2 + _local7), (_arg3 + _local8)); if (_local6 != null){ if (_local6.bitmapData != null){ _arg1.draw(_local6.bitmapData, mat, _arg4); }; }; } public function RenderAtAdditive(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local5:Bitmap; var _local6:Number; var _local7:Number; _local5 = bitmaps[0]; _local6 = xoffsets[0]; _local7 = yoffsets[0]; mat.identity(); mat.translate((_arg2 + _local6), (_arg3 + _local7)); colTrans.alphaMultiplier = _arg4; if (_local5 != null){ if (_local5.bitmapData != null){ _arg1.draw(_local5.bitmapData, mat, colTrans, "add"); }; }; } public function RenderAtAlpha(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local5:Bitmap; var _local6:Number; var _local7:Number; _local5 = bitmaps[0]; _local6 = xoffsets[0]; _local7 = yoffsets[0]; mat.identity(); mat.translate((_arg2 + _local6), (_arg3 + _local7)); colTrans.alphaMultiplier = _arg4; if (_local5 != null){ if (_local5.bitmapData != null){ _arg1.draw(_local5.bitmapData, mat, colTrans); }; }; } public function RenderAtRot(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local5:int; var _local6:int; var _local7:Bitmap; var _local8:Number; var _local9:Number; _arg4 = (_arg4 - 0.01); _local5 = bitmaps.length; _arg4 = ((Number(_local5) / (Math.PI * 2)) * _arg4); _local6 = _arg4; while (_local6 < 0) { _local6 = (_local6 + _local5); }; while (_local6 > (_local5 - 1)) { _local6 = (_local6 - _local5); }; _local6 = ((_local5 - 1) - _local6); _local7 = bitmaps[_local6]; _local8 = xoffsets[_local6]; _local9 = yoffsets[_local6]; _arg1.copyPixels(_local7.bitmapData, new Rectangle(0, 0, _local7.width, _local7.height), new Point((_arg2 + _local8), (_arg3 + _local9))); } }
Section 132
//Domain (Domain) package { public class Domain { public static function GetDomain(_arg1:Object):String{ var _local2:String; var _local3:Number; var _local4:Number; var _local5:String; var _local6:Number; var _local7:Number; _local2 = _arg1.loaderInfo.url; _local3 = (_local2.indexOf("://") + 3); _local4 = _local2.indexOf("/", _local3); _local5 = _local2.substring(_local3, _local4); _local6 = (_local5.lastIndexOf(".") - 1); _local7 = (_local5.lastIndexOf(".", _local6) + 1); _local5 = _local5.substring(_local7, _local5.length); return (_local5); } public static function IsLockedOut():Boolean{ var _local1:String; _local1 = GetDomain(Main.theStage); if (((!((_local1 == "flashgamelicense.com"))) && (!((_local1 == "longanimalsgames.com"))))){ return (true); }; return (false); } } }//package
Section 133
//DynamicObjects (DynamicObjects) package { import flash.display.*; public dynamic class DynamicObjects extends MovieClip { } }//package
Section 134
//ExternalData (ExternalData) package { import flash.events.*; import flash.net.*; import flash.system.*; public class ExternalData { static var xmlLoader:URLLoader; public static var constants:Object; static var loader:URLLoader; public static var xml:XML; static var xxx:XML = <data> <constants> <constant name="hoseangdamp" value="0"/> <constant name="hoselindamp" value="0"/> <constant name="hoselowerang" value="-7"/> <constant name="hoseupperang" value="7"/> <constant name="hosedensity" value="0.4"/> </constants> <gameconstants> <constant name="swingdist" value="30"/> <constant name="swingforce" value="4"/> <constant name="swingreleaseforce" value="0.2"/> </gameconstants> <!-- SWITCHES type = once timed time=x (seconds) 2way CANNON mode = static (only option available at the moment) switch = name of switch. empty string for no switch. minang = minimum angle in degrees maxang = maximum angle in degrees speed = speed of rotation between angles. PATHBLOCK line = name of line (empty for no line) speed = speed of movement along line loop = true / false switch = name of switch. empty string for no switch. endreset = true / false 2way = true / false. Set to true if switch reverses movement along line. LINES: type = 0 : normal filled in polygon. (don't join up the ends) type = 1 : path lines (2 points or more are needed) type = 2 : path spline (4 points or more are needed) MAGNET polarity = true/false - starting polarity mode= static (default) timed time=x (seconds) switch switch=switchname --> <!-- *************************************************************************************** --> <!-- START OF EASY LEVELS --> <!-- *************************************************************************************** --> <level name="Easiest" category="0" fillframe="13" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="25"/> <helpscreen frame="1"/> <helpscreen frame="2"/> <obj type="hose" x="278" y="117" rot="0" params=""/> <obj type="animal02" x="280" y="357" rot="0" params=""/> <obj type="helpoverlay1" x="195" y="37" rot="0" params=""/> <obj type="helpoverlay2" x="181" y="293" rot="0" params=""/> <line type="0" name="" fill="1" fillscale="1.5"> <points a="-63,195, -25,162, 10,127, 44,121, 76,141, 93,175, 115,262, 150,337, 198,391, 242,410"/> <points a="303,413, 353,412, 400,392, 421,372, 449,334, 492,239, 528,163, 563,141, 582,120, 608,118"/> <points a="638,137, 649,135, 673,117, 687,95, 707,86, 730,94, 751,170, 742,641, -27,624"/> </line> </level> <level name="Nearly Easiest" category="0" fillframe="2" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="25"/> <helpscreen frame="5"/> <helpscreen frame="7"/> <obj type="hose" x="98" y="303" rot="0" params=""/> <obj type="animal01" x="439" y="362" rot="0" params=""/> <line type="0" name="undefined" fill="1" fillscale="0"> <points a="273,616, 259,589, 232,528, 229,490, 230,445, 239,419, 251,388, 278,358, 297,341, 321,336"/> <points a="339,335, 362,354, 386,383, 408,404, 440,418, 477,418, 509,410, 536,390, 551,367, 566,334"/> <points a="573,313, 587,290, 594,280, 617,265, 644,260, 673,260, 706,272, 719,297, 716,626"/> </line> </level> <level name="Things Can Now Go Wrong" category="0" fillframe="14" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="33" silver="40"/> <helpscreen frame="6"/> <obj type="hose" x="389" y="259" rot="0" params=""/> <obj type="animal03" x="515" y="376" rot="0" params=""/> <obj type="animal04" x="176" y="257" rot="0" params=""/> <obj type="block01" x="515" y="325" rot="0" params=""/> <line type="0" name="" fill="2" fillscale="0.8"> <points a="-28,219, 22,196, 73,182, 106,198, 115,234, 122,281, 145,304, 177,313, 204,312, 235,312"/> <points a="248,324, 255,365, 255,400, 246,445, 228,491, 180,599, 143,634, -52,628, -43,326"/> </line> <line type="0" name="" fill="2" fillscale="0.5"> <points a="547,617, 521,596, 491,540, 484,505, 480,465, 485,440, 496,428, 529,428, 573,428, 618,428"/> <points a="653,411, 667,387, 678,300, 675,227, 658,160, 653,126, 664,90, 687,67, 724,63, 722,619"/> </line> </level> <level name="Pay For All Breakage" category="0" fillframe="3" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="30"/> <helpscreen frame="8"/> <obj type="breakableblock02" x="536" y="450" rot="0" params=""/> <obj type="animal05" x="535" y="368" rot="0" params=""/> <obj type="hose" x="434" y="128" rot="0" params=""/> <obj type="staticblock02" x="534" y="505" rot="0" params=""/> <line type="0" name="" fill="4" fillscale="1"> <points a="51,417, 84,291, 138,232, 171,216, 207,216, 236,228, 257,255, 281,303, 295,348, 319,408"/> <points a="359,462, 407,504, 452,518, 497,524, 546,528, 582,529, 625,528, 640,528, 663,518, 678,491"/> <points a="712,474, 726,614, 49,618, 40,494, 46,445"/> </line> </level> <level name="Two Snakes Intro" category="0" fillframe="1" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="30"/> <helpscreen frame="9"/> <obj type="hose" x="143" y="128" rot="0" params=""/> <obj type="hose" x="655" y="310" rot="0" params=""/> <obj type="animal01" x="369" y="485" rot="0" params=""/> <obj type="animal06" x="455" y="71" rot="0" params=""/> <line type="0" name="" fill="0" fillscale="1"> <points a="-30,426, 65,422, 141,421, 199,411, 229,395, 255,372, 275,331, 292,295, 294,259, 302,216"/> <points a="310,194, 328,162, 344,132, 360,123, 381,114, 417,114, 445,122, 487,127, 499,104, 500,83"/> <points a="489,66, 455,54, 422,42, 385,39, 364,28, 350,1, 358,-28, 488,-67, 542,-50, 553,21"/> <points a="556,69, 547,103, 524,134, 502,155, 467,163, 456,167, 404,186, 383,200, 357,259, 348,297"/> <points a="341,340, 339,380, 330,442, 325,477, 330,506, 340,526, 368,542, 404,544, 424,542, 443,530"/> <points a="449,502, 442,478, 428,451, 420,418, 417,390, 419,371, 427,350, 440,341, 466,340, 516,352"/> <points a="536,382, 557,433, 560,481, 553,534, 529,595, 485,632, -54,634"/> </line> </level> <level name="Pain in the Trunk" category="0" fillframe="9" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="35" silver="50"/> <helpscreen frame="10"/> <obj type="animal01" x="208" y="229" rot="0" params=""/> <obj type="hose" x="530" y="76" rot="0" params=""/> <obj type="block02" x="181" y="281" rot="0" params=""/> <obj type="block02" x="220" y="403" rot="-90" params=""/> <obj type="bamboo decoration1" x="6" y="263" rot="0" params=""/> <obj type="bamboo decoration1" x="3" y="-77" rot="0" params=""/> <obj type="bambooleaves" x="15" y="259" rot="0" params=""/> <obj type="bambooleaves" x="54" y="218" rot="-32" params=""/> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="646,99, 593,183, 539,266, 474,340, 392,387, 295,405, 197,405, 150,376, 133,348, 130,268"/> <points a="172,208, 265,205, 279,232, 284,301, 294,307, 315,308, 327,292, 324,232, 308,188, 290,170"/> <points a="177,166, 149,179, 99,248, 94,273, 99,353, 106,382, 172,435, 213,444, 300,444, 402,425"/> <points a="495,370, 567,288, 623,202, 677,115, 674,97, 659,92, 646,101"/> </line> </level> <level name="Blow 'em away" category="0" fillframe="12" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="50" silver="80"/> <obj type="block01" x="312" y="353" rot="0" params=""/> <obj type="block01" x="312" y="296" rot="0" params=""/> <obj type="block01" x="312" y="233" rot="0" params=""/> <obj type="animal04" x="313" y="153" rot="0" params=""/> <obj type="hose" x="553" y="74" rot="0" params=""/> <obj type="staticblock01" x="370" y="147" rot="0" params=""/> <obj type="staticblock01" x="370" y="196" rot="0" params=""/> <obj type="staticblock01" x="370" y="246" rot="0" params=""/> <obj type="staticblock01" x="370" y="296" rot="0" params=""/> <obj type="staticblock01" x="257" y="148" rot="0" params=""/> <obj type="staticblock01" x="257" y="197" rot="0" params=""/> <obj type="staticblock01" x="257" y="248" rot="0" params=""/> <obj type="staticblock01" x="257" y="298" rot="0" params=""/> <obj type="staticblock01" x="257" y="98" rot="0" params=""/> <obj type="staticblock01" x="314" y="98" rot="0" params=""/> <obj type="staticblock01" x="370" y="97" rot="0" params=""/> <obj type="staticblock01" x="195" y="410" rot="-5" params=""/> <obj type="staticblock01" x="245" y="406" rot="-2" params=""/> <obj type="staticblock01" x="295" y="404" rot="0" params=""/> <obj type="staticblock01" x="346" y="404" rot="0" params=""/> <obj type="staticblock01" x="397" y="404" rot="-5" params=""/> <obj type="staticblock01" x="449" y="399" rot="-9" params=""/> <obj type="staticblock01" x="499" y="391" rot="-14" params=""/> <obj type="staticblock01" x="546" y="379" rot="-23" params=""/> <obj type="staticblock01" x="146" y="414" rot="-5" params=""/> <obj type="staticblock01" x="97" y="426" rot="-14" params=""/> </level> <level name="Snake Sizes" category="0" fillframe="13" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="28" silver="48"/> <helpscreen frame="11"/> <obj type="hosesmall" x="150" y="95" rot="0" params=""/> <obj type="hose" x="521" y="241" rot="0" params=""/> <obj type="hoselarge" x="219" y="387" rot="0" params=""/> <obj type="staticblock01" x="265" y="156" rot="0" params=""/> <obj type="staticblock01" x="264" y="207" rot="0" params=""/> <obj type="staticblock01" x="316" y="183" rot="0" params=""/> <obj type="staticblock01" x="366" y="183" rot="0" params=""/> <obj type="staticblock01" x="366" y="134" rot="0" params=""/> <obj type="staticblock01" x="365" y="85" rot="0" params=""/> <obj type="staticblock01" x="264" y="258" rot="0" params=""/> <obj type="staticblock01" x="264" y="308" rot="0" params=""/> <obj type="staticblock01" x="264" y="358" rot="0" params=""/> <obj type="staticblock01" x="317" y="358" rot="0" params=""/> <obj type="staticblock01" x="367" y="358" rot="0" params=""/> <obj type="staticblock01" x="366" y="308" rot="0" params=""/> <obj type="staticblock01" x="416" y="553" rot="0" params=""/> <obj type="staticblock01" x="416" y="503" rot="0" params=""/> <obj type="staticblock01" x="466" y="553" rot="0" params=""/> <obj type="staticblock01" x="516" y="553" rot="0" params=""/> <obj type="staticblock01" x="567" y="550" rot="0" params=""/> <obj type="staticblock01" x="567" y="504" rot="0" params=""/> <obj type="staticblock01" x="567" y="455" rot="0" params=""/> <obj type="staticblock01" x="567" y="406" rot="0" params=""/> <obj type="staticblock01" x="567" y="358" rot="0" params=""/> <obj type="staticblock01" x="417" y="358" rot="0" params=""/> <obj type="staticblock01" x="467" y="358" rot="0" params=""/> <obj type="staticblock01" x="517" y="358" rot="0" params=""/> <obj type="animal06" x="524" y="502" rot="0" params=""/> <obj type="animal06" x="329" y="317" rot="0" params=""/> <obj type="animal06" x="318" y="141" rot="0" params=""/> <obj type="staticblock01" x="365" y="34" rot="0" params=""/> <obj type="staticblock01" x="365" y="-15" rot="0" params=""/> <obj type="staticblock01" x="315" y="-15" rot="0" params=""/> <obj type="staticblock01" x="264" y="-16" rot="0" params=""/> <obj type="staticblock01" x="214" y="-16" rot="0" params=""/> <obj type="staticblock01" x="414" y="183" rot="0" params=""/> <obj type="staticblock01" x="366" y="503" rot="0" params=""/> </level> <level name="Stick, Man" category="0" fillframe="8" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="45" silver="70"/> <obj type="staticstick" x="472" y="126" rot="0" params=""/> <obj type="staticstick" x="472" y="26" rot="0" params=""/> <obj type="staticstick" x="372" y="29" rot="0" params=""/> <obj type="staticstick" x="373" y="167" rot="0" params=""/> <obj type="staticstick" x="193" y="348" rot="0" params=""/> <obj type="staticstick" x="194" y="247" rot="0" params=""/> <obj type="staticstick" x="281" y="235" rot="0" params=""/> <obj type="staticstick" x="193" y="448" rot="0" params=""/> <obj type="staticstick" x="282" y="335" rot="0" params=""/> <obj type="staticstick" x="192" y="560" rot="-90" params=""/> <obj type="staticstick" x="372" y="267" rot="13" params=""/> <obj type="staticstick" x="472" y="227" rot="4" params=""/> <obj type="staticstick" x="465" y="325" rot="21" params=""/> <obj type="staticstick" x="349" y="364" rot="44" params=""/> <obj type="staticstick" x="427" y="418" rot="32" params=""/> <obj type="staticstick" x="378" y="501" rot="61" params=""/> <obj type="breakableblock01" x="372" y="133" rot="0" params=""/> <obj type="staticstick" x="387" y="156" rot="97" params=""/> <obj type="hose" x="51" y="37" rot="0" params=""/> <obj type="animal02" x="404" y="46" rot="0" params=""/> <obj type="staticstick" x="380" y="42" rot="-91" params=""/> <obj type="staticstick" x="283" y="144" rot="0" params=""/> <obj type="plantdecoration" x="379" y="122" rot="-35" params=""/> <obj type="plantdecoration" x="479" y="35" rot="23" params=""/> <obj type="plantdecoration" x="200" y="552" rot="-47" params=""/> <obj type="plantdecoration" x="201" y="259" rot="10" params=""/> <obj type="staticstick" x="288" y="143" rot="-250" params=""/> <obj type="staticstick" x="384" y="29" rot="-180" params=""/> <obj type="animal06" x="421" y="94" rot="0" params=""/> </level> <level name="What's A Switch?" category="0" fillframe="14" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="30"/> <helpscreen frame="12"/> <obj type="hose" x="174" y="150" rot="0" params=""/> <obj type="animal01" x="564" y="341" rot="0" params=""/> <obj type="pathblock07" x="496" y="-52" rot="0" params="line=path01,speed=0.003,loop=false,switch=switch01"/> <obj type="switch01" x="335" y="384" rot="0" params="type=once"/> <line type="0" name="" fill="4" fillscale="1"> <points a="-77,319, -15,306, 67,295, 100,309, 183,347, 235,377, 268,394, 315,398, 349,399, 400,396"/> <points a="426,384, 446,364, 459,339, 472,322, 488,314, 501,313, 516,324, 528,349, 544,376, 564,396"/> <points a="593,401, 612,398, 628,380, 635,342, 634,308, 635,266, 626,229, 609,206, 587,188, 568,164"/> <points a="568,137, 589,111, 617,100, 640,99, 723,108, 722,629, -67,625"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="487,-54, 487,-505"/> </line> </level> <level name="Time Trap" category="0" fillframe="4" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="35"/> <helpscreen frame="13"/> <obj type="hose" x="568" y="125" rot="0" params=""/> <obj type="pathblock02" x="109" y="209" rot="0" params="line=path01,speed=0.005,loop=true"/> <obj type="animal01" x="183" y="430" rot="0" params=""/> <line type="0" name="" fill="5" fillscale="1"> <points a="288,280, 294,247, 308,233, 330,231, 381,231, 421,244, 448,267, 469,315, 483,355, 490,401"/> <points a="494,454, 504,553, 517,616, 7,617, 15,448, 18,392, 22,339, 32,304, 63,271, 100,246"/> <points a="145,236, 212,231, 220,238, 224,267, 217,319, 210,359, 183,407, 156,424, 151,437, 153,458"/> <points a="164,474, 188,484, 217,482, 238,481, 258,466, 280,417, 290,363, 289,313"/> </line> <line type="1" name="path01" fill="1" fillscale="1"> <points a="108,211, 298,208"/> </line> </level> <level name="Timing Hinges" category="0" fillframe="10" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="50"/> <obj type="hose" x="48" y="168" rot="0" params=""/> <obj type="hinge_rotating" x="328" y="230" rot="100" params=""/> <obj type="hinge_rotating" x="473" y="249" rot="280" params=""/> <obj type="static girder" x="394" y="103" rot="0" params=""/> <obj type="static girder" x="542" y="103" rot="0" params=""/> <obj type="static girder" x="245" y="103" rot="0" params=""/> <obj type="static girder" x="95" y="103" rot="0" params=""/> <obj type="animal06" x="642" y="410" rot="0" params=""/> <line type="0" name="" fill="2" fillscale="1"> <points a="-42,310, 11,305, 51,302, 90,299, 155,299, 195,303, 269,321, 320,333, 363,341, 440,353"/> <points a="508,356, 558,355, 598,356, 619,370, 632,405, 634,448, 654,459, 672,456, 681,438, 678,398"/> <points a="679,358, 675,300, 676,251, 669,203, 665,167, 669,125, 682,92, 705,86, 754,174, 733,613"/> <points a="-44,611"/> </line> </level> <level name="Big Floppy Snake" category="0" fillframe="15" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="35" silver="70"/> <obj type="hoselarge" x="577" y="84" rot="0" params=""/> <obj type="animal01" x="33" y="430" rot="0" params=""/> <obj type="animal02" x="155" y="443" rot="0" params=""/> <obj type="animal03" x="306" y="448" rot="0" params=""/> <line type="0" name="undefined" fill="5" fillscale="1"> <points a="260,-32, 289,-23, 305,-3, 297,14, 266,15, 201,18, 134,23, 92,27, 43,61, 35,96"/> <points a="19,219, 15,412, 19,489, 41,501, 67,502, 92,495, 103,462, 104,355, 102,318, 96,249"/> <points a="99,174, 117,154, 168,145, 224,122, 260,112, 301,106, 322,106, 338,128, 344,148, 327,162"/> <points a="293,170, 232,178, 184,190, 162,217, 151,269, 151,376, 146,427, 145,480, 157,503, 186,510"/> <points a="211,506, 215,472, 215,435, 215,394, 230,341, 268,306, 303,292, 351,269, 379,269, 406,272"/> <points a="420,285, 419,302, 382,325, 326,345, 299,376, 287,420, 286,470, 289,494, 303,507, 325,510"/> <points a="346,508, 371,507, 394,493, 431,454, 456,418, 479,383, 490,373, 512,358, 533,355, 559,364"/> <points a="575,392, 583,444, 584,561, 581,679, -52,641, -48,-22"/> </line> </level> <level name="Timeswitch" category="0" fillframe="13" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="40"/> <helpscreen frame="14"/> <obj type="hose" x="142" y="218" rot="0" params=""/> <obj type="staticblock01" x="397" y="262" rot="0" params=""/> <obj type="staticblock01" x="397" y="312" rot="0" params=""/> <obj type="staticblock01" x="397" y="362" rot="0" params=""/> <obj type="pathblock01" x="448" y="262" rot="0" params="line=path01,switch=switch01,endreset=true,speed=0.003"/> <obj type="pathblock01" x="498" y="262" rot="0" params="line=path02,switch=switch01,endreset=true,speed=0.003"/> <obj type="staticblock01" x="548" y="262" rot="0" params=""/> <obj type="staticblock01" x="548" y="312" rot="0" params=""/> <obj type="staticblock01" x="548" y="362" rot="0" params=""/> <obj type="animal04" x="475" y="357" rot="0" params=""/> <obj type="switch01" x="94" y="426" rot="0" params="type=timed,time=2"/> <obj type="staticblock01" x="548" y="211" rot="0" params=""/> <line type="0" name="" fill="1" fillscale="1"> <points a="68,611, 94,587, 109,565, 111,539, 99,513, 65,486, 58,463, 67,439, 89,437, 117,438"/> <points a="145,456, 170,469, 209,469, 226,455, 237,435, 237,414, 229,385, 236,366, 256,359, 282,361"/> <points a="299,380, 313,400, 335,413, 358,413, 380,406, 398,399, 420,399, 445,407, 471,415, 501,415"/> <points a="534,414, 567,412, 593,406, 618,393, 638,365, 664,342, 697,346, 710,364, 712,393, 701,419"/> <points a="682,443, 669,473, 675,534, 698,559, 724,605, 694,678, 76,665"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="448,263, 448,71, 448,263"/> </line> <line type="1" name="path02" fill="0" fillscale="1"> <points a="499,263, 499,33, 499,263"/> </line> </level> <level name="Badguy Intro" category="0" fillframe="3" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="40"/> <helpscreen frame="15"/> <obj type="hose" x="120" y="152" rot="0" params=""/> <obj type="animal06" x="591" y="421" rot="0" params=""/> <obj type="badguy_path_killguinea" x="392" y="171" rot="0" params="line=path01,speed=0.01,loop=true"/> <obj type="badguy_path_killguinea" x="392" y="171" rot="0" params="line=path01,speed=0.01,loop=true,startpos=0.5"/> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="79,392, 97,375, 118,370, 143,373, 156,395, 155,420, 138,436, 109,437, 90,431, 79,410"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="240,289, 258,282, 276,283, 287,297, 287,315, 277,331, 259,337, 234,335, 218,313, 223,295"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="283,451, 304,451, 321,463, 329,479, 329,499, 323,510, 301,526, 279,527, 265,524, 252,504"/> <points a="250,484, 259,467"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="452,338, 477,329, 497,329, 513,346, 519,366, 516,386, 503,400, 477,403, 454,402, 443,390"/> <points a="436,372, 438,350"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="344,88, 364,73, 390,72, 411,76, 426,92, 433,113, 430,128, 418,145, 390,151, 362,151"/> <points a="341,144, 336,124, 335,102"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="548,410, 551,393, 565,388, 573,404, 579,433, 584,455, 595,462, 604,464, 624,459, 636,439"/> <points a="651,410, 657,369, 659,314, 662,279, 663,223, 674,189, 686,182, 694,189, 712,213, 721,257"/> <points a="720,301, 713,445, 701,498, 670,540, 630,544, 610,544, 575,537, 546,512, 535,487, 532,455"/> <points a="540,430"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="399,175, 446,319, 280,271"/> </line> </level> <level name="Magnets" category="0" fillframe="9" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="35" silver="70"/> <helpscreen frame="16"/> <obj type="magnet01" x="64" y="350" rot="0" params="polarity=false,mode=timed,time=0.7"/> <obj type="magnet01" x="210" y="311" rot="0" params="polarity=true,mode=timed,time=1"/> <obj type="magnet01" x="364" y="263" rot="0" params="polarity=false,mode=timed,time=1.3"/> <obj type="magnet01" x="515" y="225" rot="0" params="polarity=true,mode=timed,time=0.7"/> <obj type="magnet01" x="650" y="177" rot="0" params="polarity=false,mode=timed,time=1"/> <obj type="hose" x="87" y="79" rot="0" params=""/> <obj type="animal01" x="332" y="481" rot="0" params=""/> <obj type="animal02" x="453" y="471" rot="0" params=""/> <obj type="animal03" x="560" y="449" rot="0" params=""/> <line type="0" name="" fill="1" fillscale="1"> <points a="237,625, 190,576, 184,554, 194,529, 217,516, 251,517, 291,522, 318,533, 356,537, 393,535"/> <points a="421,528, 462,521, 500,530, 540,529, 575,515, 609,498, 631,476, 648,458, 675,413, 680,371"/> <points a="683,281, 689,232, 724,172, 740,166, 755,193, 740,658, 308,638"/> </line> </level> <level name="Generators" category="0" fillframe="11" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="40" silver="80"/> <obj type="generator" x="225" y="39" rot="0" params="delay=1,object=badguy_killguinea"/> <obj type="generator" x="450" y="36" rot="0" params="delay=1.3,object=badguy_killguinea"/> <obj type="hose" x="337" y="193" rot="0" params=""/> <obj type="hose" x="337" y="372" rot="0" params=""/> <obj type="static girder" x="540" y="284" rot="0" params=""/> <obj type="static girder" x="656" y="284" rot="-90" params=""/> <obj type="static girder" x="657" y="464" rot="-90" params=""/> <obj type="static girder" x="693" y="494" rot="-180" params=""/> <obj type="static girder" x="1" y="365" rot="-90" params=""/> <obj type="static girder" x="1" y="365" rot="0" params=""/> <obj type="static girder" x="2" y="546" rot="-90" params=""/> <obj type="static girder" x="2" y="547" rot="0" params=""/> <obj type="static girder" x="32" y="578" rot="90" params=""/> <obj type="static girder" x="689" y="494" rot="90" params=""/> <obj type="static girder" x="686" y="-14" rot="90" params=""/> <obj type="static girder" x="0" y="215" rot="-90" params=""/> <obj type="static girder" x="-1" y="65" rot="-90" params=""/> <obj type="animal01" x="101" y="496" rot="0" params=""/> <obj type="animal02" x="98" y="313" rot="0" params=""/> <obj type="animal03" x="539" y="232" rot="0" params=""/> <obj type="animal04" x="545" y="410" rot="0" params=""/> </level> <level name="Magneto Switch Of Evil" category="0" fillframe="15" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="13" silver="35"/> <obj type="magnet01" x="289" y="289" rot="0" params="polarity=true,mode=switch,switch=switch01"/> <obj type="generator" x="288" y="158" rot="0" params="delay=0.2,object=badguy_killguinea"/> <obj type="switch01" x="450" y="139" rot="174" params="type=2way"/> <obj type="magma_killguinea" x="-1" y="561" rot="0" params=""/> <obj type="magma_killguinea" x="121" y="563" rot="0" params=""/> <obj type="magma_killguinea" x="244" y="563" rot="0" params=""/> <obj type="magma_killguinea" x="366" y="563" rot="0" params=""/> <obj type="magma_killguinea" x="488" y="563" rot="0" params=""/> <obj type="magma_killguinea" x="612" y="563" rot="0" params=""/> <obj type="hose" x="432" y="429" rot="0" params=""/> <obj type="animal06" x="62" y="495" rot="0" params=""/> <line type="0" name="" fill="5" fillscale="1"> <points a="-26,144, 127,134, 252,140, 325,141, 498,127, 622,144, 717,154, 709,-112, 11,-60, -26,146"/> </line> <line type="0" name="" fill="5" fillscale="1"> <points a="-13,576, 18,584, 63,584, 96,586, 90,536, 54,541, 26,532, 22,493, 28,452, 89,428"/> <points a="148,389, 114,373, -3,406, -13,577"/> </line> </level> <level name="Ice cave" category="0" fillframe="10" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="35" silver="70"/> <obj type="static icefloor" x="264" y="306" rot="-4" params=""/> <obj type="static icefloor" x="343" y="302" rot="-16" params=""/> <obj type="static icefloor" x="417" y="282" rot="-29" params=""/> <obj type="breakableblock02" x="204" y="259" rot="9" params=""/> <obj type="hose" x="584" y="115" rot="0" params=""/> <obj type="animal06" x="33" y="105" rot="-42" params=""/> <obj type="block03" x="168" y="287" rot="-36" params=""/> <obj type="block03" x="179" y="246" rot="0" params=""/> <obj type="block03" x="137" y="249" rot="-43" params=""/> <obj type="block03" x="105" y="215" rot="-38" params=""/> <obj type="block03" x="101" y="143" rot="0" params=""/> <obj type="block03" x="60" y="143" rot="-45" params=""/> <obj type="block03" x="50" y="164" rot="-41" params=""/> <obj type="block03" x="35" y="147" rot="-51" params=""/> <line type="0" name="undefined" fill="2" fillscale="1"> <points a="-40,62, 182,319, 219,405, 330,480, 486,506, 575,472, 671,360, 732,43, 758,268, 734,640"/> <points a="-27,622, -40,63"/> </line> <line type="0" name="undefined" fill="2" fillscale="1"> <points a="7,-28, 0,-5, 236,246, 318,256, 372,236, 405,201, 534,-36, 9,-26"/> </line> </level> <level name="Portal Intro" category="0" fillframe="9" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="40"/> <helpscreen frame="17"/> <obj type="animal05" x="67" y="407" rot="0" params=""/> <obj type="animal06" x="507" y="306" rot="0" params=""/> <obj type="portal_entry01" x="204" y="175" rot="0" params=""/> <obj type="portal_exit01" x="520" y="132" rot="0" params=""/> <obj type="portal_entry02" x="479" y="441" rot="0" params=""/> <obj type="portal_exit02" x="90" y="272" rot="0" params=""/> <obj type="hosesmall" x="325" y="215" rot="0" params=""/> <obj type="staticblock02" x="472" y="68" rot="0" params=""/> <obj type="staticblock02" x="472" y="349" rot="0" params=""/> <obj type="staticblock02" x="44" y="218" rot="0" params=""/> <obj type="staticblock02" x="42" y="498" rot="0" params=""/> <obj type="staticblock02" x="592" y="67" rot="90" params=""/> <obj type="staticblock02" x="592" y="167" rot="90" params=""/> <obj type="staticblock02" x="592" y="267" rot="90" params=""/> <obj type="staticblock02" x="480" y="67" rot="90" params=""/> <obj type="staticblock02" x="480" y="168" rot="90" params=""/> <obj type="staticblock02" x="480" y="268" rot="90" params=""/> <obj type="staticblock02" x="161" y="217" rot="90" params=""/> <obj type="staticblock02" x="161" y="317" rot="90" params=""/> <obj type="staticblock02" x="161" y="417" rot="90" params=""/> <obj type="staticblock02" x="49" y="218" rot="90" params=""/> <obj type="staticblock02" x="49" y="317" rot="90" params=""/> <obj type="staticblock02" x="49" y="418" rot="90" params=""/> </level> <level name="Multiple Switches" category="0" fillframe="16" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="50"/> <helpscreen frame="18"/> <obj type="animal03" x="633" y="481" rot="0" params=""/> <obj type="hose" x="54" y="145" rot="0" params=""/> <obj type="switch02" x="33" y="328" rot="0" params="type=timed,time=5.2"/> <obj type="switch03" x="33" y="403" rot="0" params="type=timed,time=5.2"/> <obj type="switch04" x="35" y="484" rot="0" params="type=timed,time=5.2"/> <obj type="pathblock07" x="218" y="87" rot="0" params="switch=switch02,line=path01,speed=0.006,endreset=true"/> <obj type="pathblock07" x="354" y="-175" rot="0" params="switch=switch03,line=path02,speed=0.006,endreset=true"/> <obj type="pathblock07" x="481" y="87" rot="0" params="switch=switch04,line=path03,speed=0.006,endreset=true"/> <obj type="greenSticker" x="344" y="307" rot="0" params=""/> <obj type="redSticker" x="472" y="306" rot="0" params=""/> <obj type="blueSticker" x="209" y="307" rot="0" params=""/> <obj type="blueSticker" x="208" y="99" rot="0" params=""/> <obj type="redSticker" x="472" y="93" rot="0" params=""/> <obj type="greenSticker" x="344" y="74" rot="0" params=""/> <line type="0" name="" fill="2" fillscale="1"> <points a="134,295, 211,301, 265,306, 337,304, 393,302, 434,302, 484,302, 528,311, 563,326, 596,355"/> <points a="610,387, 616,431, 615,457, 620,490, 624,522, 636,538, 663,542, 684,534, 689,487, 686,406"/> <points a="687,357, 684,315, 688,254, 704,87, 739,286, 739,648, 88,622, 101,340, 114,316, 126,301"/> </line> <line type="0" name="" fill="2" fillscale="1"> <points a="210,-50, 712,-43, 718,116, 598,126, 544,129, 503,119, 441,103, 369,93, 321,99, 244,115"/> <points a="191,124, 144,119, 113,108, 81,103, 20,125, -30,134, -36,-23, 131,-54"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="217,89, 217,327, 217,89"/> </line> <line type="1" name="path02" fill="0" fillscale="1"> <points a="353,-175, 353,-439, 353,-175"/> </line> <line type="1" name="path03" fill="0" fillscale="1"> <points a="481,89, 481,339, 481,89"/> </line> <line type="0" name="" fill="2" fillscale="1"> <points a="-42,342, 61,342, 69,355, 68,362, 56,375, -51,374, -42,342"/> </line> <line type="0" name="" fill="2" fillscale="1"> <points a="-56,419, 58,417, 64,424, 68,438, 60,449, -55,448, -55,420"/> </line> <line type="0" name="" fill="2" fillscale="1"> <points a="-45,500, 63,498, 73,506, 75,520, 67,530, -50,528, -44,499"/> </line> </level> <level name="Cannonical" category="0" fillframe="11" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="25" silver="50"/> <helpscreen frame="19"/> <obj type="staticblock01" x="296" y="216" rot="0" params=""/> <obj type="cannon" x="240" y="500" rot="0" params="mode=static,minang=30,maxang=30"/> <obj type="hose" x="263" y="283" rot="0" params=""/> <obj type="block02" x="363" y="220" rot="40" params=""/> <obj type="block02" x="193" y="229" rot="-18" params=""/> <obj type="animal02" x="511" y="244" rot="0" params=""/> <obj type="staticblock01" x="214" y="532" rot="0" params=""/> <obj type="staticblock01" x="214" y="584" rot="0" params=""/> <line type="0" name="undefined" fill="0" fillscale="1"> <points a="36,628, 44,430, 39,281, 78,162, 98,26, 98,-17, 245,-2, 216,193, 192,201, 193,252"/> <points a="203,253, 203,303, 170,303, 173,477, 173,610, 36,631"/> </line> <line type="0" name="undefined" fill="0" fillscale="1"> <points a="493,618, 485,484, 487,422, 454,363, 422,328, 427,303, 442,304, 446,252, 465,249, 492,259"/> <points a="494,302, 577,306, 585,265, 610,248, 665,248, 682,336, 657,404, 646,485, 654,616"/> </line> </level> <level name="Spring Loaded" category="0" fillframe="8" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="40"/> <helpscreen frame="20"/> <obj type="hose" x="49" y="407" rot="0" params=""/> <obj type="springboard" x="151" y="510" rot="6" params=""/> <obj type="springboard" x="197" y="511" rot="7" params=""/> <obj type="springboard" x="241" y="512" rot="5" params=""/> <obj type="springboard" x="314" y="329" rot="9" params=""/> <obj type="springboard" x="361" y="330" rot="9" params=""/> <obj type="springboard" x="412" y="331" rot="8" params=""/> <obj type="springboard" x="470" y="200" rot="6" params=""/> <obj type="springboard" x="517" y="200" rot="5" params=""/> <obj type="springboard" x="564" y="197" rot="4" params=""/> <obj type="static girder" x="729" y="145" rot="90" params=""/> <obj type="static girder" x="727" y="2" rot="90" params=""/> <obj type="animal06" x="654" y="174" rot="0" params=""/> <obj type="staticblock02" x="162" y="531" rot="0" params=""/> <obj type="staticblock02" x="264" y="531" rot="0" params=""/> <obj type="staticblock02" x="367" y="531" rot="0" params=""/> <obj type="staticblock02" x="307" y="349" rot="0" params=""/> <obj type="staticblock02" x="409" y="351" rot="0" params=""/> <obj type="staticblock02" x="463" y="222" rot="0" params=""/> <obj type="staticblock02" x="565" y="222" rot="0" params=""/> <obj type="staticblock02" x="667" y="222" rot="0" params=""/> <obj type="staticblock02" x="619" y="320" rot="0" params=""/> <obj type="staticblock02" x="328" y="352" rot="90" params=""/> <obj type="staticblock02" x="329" y="452" rot="90" params=""/> <obj type="staticblock02" x="168" y="533" rot="90" params=""/> <obj type="staticblock02" x="482" y="427" rot="90" params=""/> <obj type="staticblock02" x="482" y="528" rot="90" params=""/> <obj type="staticblock02" x="636" y="368" rot="90" params=""/> <obj type="staticblock02" x="636" y="470" rot="90" params=""/> <obj type="staticblock02" x="636" y="569" rot="90" params=""/> <obj type="staticblock02" x="481" y="224" rot="90" params=""/> <obj type="staticblock02" x="482" y="326" rot="90" params=""/> <obj type="staticblock02" x="636" y="267" rot="90" params=""/> <obj type="staticblock02" x="636" y="166" rot="90" params=""/> <obj type="staticblock02" x="105" y="283" rot="99" params=""/> <obj type="staticblock02" x="152" y="209" rot="121" params=""/> <obj type="staticblock02" x="135" y="199" rot="-11" params=""/> <obj type="staticblock02" x="250" y="100" rot="-10" params=""/> <obj type="staticblock02" x="415" y="27" rot="-10" params=""/> <obj type="staticblock02" x="510" y="10" rot="-10" params=""/> <obj type="staticblock02" x="338" y="89" rot="-40" params=""/> <obj type="staticblock02" x="218" y="193" rot="-70" params=""/> <obj type="staticblock02" x="608" y="-8" rot="0" params=""/> <obj type="staticblock02" x="705" y="1" rot="90" params=""/> <obj type="staticblock02" x="707" y="102" rot="90" params=""/> <obj type="staticblock02" x="677" y="-61" rot="90" params=""/> <obj type="staticblock02" x="-12" y="362" rot="0" params=""/> <obj type="staticblock02" x="-114" y="353" rot="0" params=""/> </level> <level name="Switch Cover" category="0" fillframe="4" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="37" silver="70"/> <helpscreen frame="21"/> <obj type="animal04" x="530" y="521" rot="0" params=""/> <obj type="pathblock05" x="515" y="357" rot="0" params="line=path01,speed=0.04,loop=false,switch=switch03,endreset=true"/> <obj type="pathblock05" x="158" y="366" rot="0" params="line=path02,speed=0.04,loop=false,switch=switch02,endreset=true"/> <obj type="switch02" x="382" y="569" rot="0" params="type=timed,time=0.9"/> <obj type="switch03" x="377" y="312" rot="0" params="type=timed,time=0.9"/> <obj type="cage" x="384" y="558" rot="0" params=""/> <obj type="hosesmall" x="375" y="133" rot="0" params=""/> <line type="0" name="undefined" fill="5" fillscale="1"> <points a="83,626, 75,578, 59,439, 71,397, 88,369, 111,353, 125,350, 136,357, 144,372, 147,395"/> <points a="156,451, 168,515, 191,544, 245,569, 331,579, 413,586, 439,585, 455,575, 472,547, 473,520"/> <points a="460,499, 422,492, 357,487, 297,477, 259,461, 253,446, 246,421, 245,393, 255,355, 264,342"/> <points a="292,334, 343,325, 410,327, 460,329, 487,338, 503,357, 512,388, 509,436, 511,552, 521,569"/> <points a="541,576, 572,580, 589,570, 599,542, 598,504, 599,450, 599,399, 599,362, 604,337, 619,324"/> <points a="640,318, 658,318, 675,344, 682,382, 682,416, 675,487, 659,560, 625,639"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="158,367, 277,366, 158,367"/> </line> <line type="1" name="path02" fill="0" fillscale="1"> <points a="515,358, 384,358, 515,358"/> </line> </level> <!-- *************************************************************************************** --> <!-- END OF EASY LEVELS --> <!-- *************************************************************************************** --> <!-- *************************************************************************************** --> <!-- START OF MEDIUM LEVELS --> <!-- *************************************************************************************** --> <level name="Ice tunnel" category="1" fillframe="10" surfaceframe="15" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="30" silver="60"/> <obj type="hinge_rotating" x="300" y="334" rot="-217" params=""/> <obj type="hinge_rotating" x="409" y="417" rot="-2" params=""/> <obj type="hinge_rotating" x="173" y="277" rot="180" params=""/> <obj type="hinge_rotating" x="174" y="276" rot="270" params=""/> <obj type="hinge_rotating" x="300" y="332" rot="56" params=""/> <obj type="hose" x="136" y="41" rot="0" params=""/> <obj type="hinge_rotating" x="410" y="417" rot="-92" params=""/> <obj type="static girder" x="396" y="559" rot="0" params=""/> <obj type="static girder" x="546" y="559" rot="0" params=""/> <obj type="animal02" x="395" y="508" rot="0" params=""/> <obj type="animal03" x="498" y="509" rot="0" params=""/> <obj type="static icewall2" x="530" y="363" rot="-147" params=""/> <obj type="static icewall2" x="71" y="284" rot="90" params=""/> <obj type="static icewall2" x="66" y="-79" rot="89" params=""/> <obj type="static icecorner" x="732" y="331" rot="-188" params=""/> <obj type="static icecorner" x="230" y="153" rot="-76" params=""/> <obj type="icefill" x="532" y="187" rot="0" params=""/> <obj type="icefill" x="624" y="180" rot="0" params=""/> <obj type="icefill" x="611" y="70" rot="0" params=""/> <obj type="icefill" x="474" y="107" rot="0" params=""/> <obj type="icefill" x="527" y="59" rot="0" params=""/> <obj type="icefill" x="609" y="-33" rot="0" params=""/> <obj type="icefill" x="218" y="-22" rot="0" params=""/> <obj type="icefill" x="329" y="-20" rot="0" params=""/> <obj type="icefill" x="368" y="72" rot="0" params=""/> <obj type="icefill" x="345" y="48" rot="0" params=""/> <obj type="icefill" x="455" y="-33" rot="0" params=""/> <obj type="icefill" x="510" y="-41" rot="0" params=""/> <obj type="icefill" x="454" y="44" rot="0" params=""/> <obj type="static icecorner" x="129" y="619" rot="0" params=""/> <obj type="animal04" x="599" y="506" rot="0" params=""/> </level> <level name="Switcheroo" category="1" fillframe="7" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="40" silver="80"/> <obj type="static crane2" x="8" y="444" rot="2" params=""/> <obj type="static crane2" x="17" y="284" rot="3" params=""/> <obj type="static crane2" x="28" y="125" rot="4" params=""/> <obj type="static crane2" x="624" y="450" rot="-3" params=""/> <obj type="static crane2" x="619" y="287" rot="-2" params=""/> <obj type="static crane2" x="614" y="127" rot="-2" params=""/> <obj type="static crane2" x="610" y="-33" rot="-2" params=""/> <obj type="static crane2" x="342" y="457" rot="0" params=""/> <obj type="static crane2" x="342" y="299" rot="0" params=""/> <obj type="static crane2" x="342" y="140" rot="0" params=""/> <obj type="static crane2" x="342" y="-20" rot="0" params=""/> <obj type="static crane1" x="81" y="125" rot="0" params=""/> <obj type="static crane1" x="206" y="125" rot="0" params=""/> <obj type="static crane1" x="62" y="543" rot="0" params=""/> <obj type="static crane1" x="201" y="543" rot="0" params=""/> <obj type="static crane1" x="395" y="434" rot="0" params=""/> <obj type="static crane1" x="490" y="434" rot="0" params=""/> <obj type="static crane1" x="205" y="424" rot="-363" params=""/> <obj type="static crane1" x="158" y="426" rot="-3" params=""/> <obj type="static crane1" x="401" y="295" rot="0" params=""/> <obj type="hose" x="253" y="245" rot="0" params=""/> <obj type="hose" x="477" y="154" rot="0" params=""/> <obj type="animal03" x="287" y="487" rot="0" params=""/> <obj type="switch02" x="290" y="405" rot="0" params="type=timed,time=4"/> <obj type="switch03" x="499" y="419" rot="0" params="type=timed,time=4"/> <obj type="craneslider" x="601" y="163" rot="0" params=""/> <obj type="craneslider" x="98" y="294" rot="0" params=""/> <obj type="pathblock05" x="79" y="425" rot="0" params="line=craneslideup1,switch=switch03,loop=false,speed=0.008,endreset=true"/> <obj type="pathblock05" x="543" y="293" rot="0" params="line=craneslideup2,switch=switch02,loop=false,speed=0.008,endreset=true"/> <obj type="cage" x="499" y="408" rot="0" params=""/> <obj type="greenSticker" x="89" y="354" rot="0" params=""/> <obj type="blueSticker" x="591" y="219" rot="0" params=""/> <line type="1" name="craneslideup1" fill="0" fillscale="1"> <points a="81,426, 82,287, 81,430"/> </line> <line type="1" name="craneslideup2" fill="0" fillscale="1"> <points a="544,294, 543,158, 545,297"/> </line> </level> <level name="Carry the Pig" category="1" fillframe="14" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="40" silver="80"/> <obj type="static metal pole" x="13" y="11" rot="-30" params=""/> <obj type="static metal pole" x="269" y="4" rot="30" params=""/> <obj type="static metal pole" x="183" y="150" rot="0" params=""/> <obj type="static metal pole" x="95" y="144" rot="0" params=""/> <obj type="static metal pole" x="120" y="315" rot="91" params=""/> <obj type="pathblock05" x="114" y="222" rot="0" params="line=y1,switch=switch04,loop=false,speed=0.008,endreset=true"/> <obj type="switch04" x="81" y="230" rot="-90" params="type=timed,time=3.5"/> <obj type="switch02" x="43" y="300" rot="-1" params="type=timed,time=3.5"/> <obj type="static girder" x="35" y="400" rot="0" params=""/> <obj type="static girder" x="331" y="430" rot="-180" params=""/> <obj type="pathblock01" x="70" y="349" rot="0" params="line=y2,switch=switch02,loop=false,speed=0.008,endreset=true"/> <obj type="hosesmall" x="148" y="26" rot="0" params=""/> <obj type="static metal pole" x="330" y="397" rot="0" params=""/> <obj type="static metal pole" x="326" y="149" rot="0" params=""/> <obj type="static metal pole" x="432" y="401" rot="0" params=""/> <obj type="static metal pole" x="433" y="234" rot="0" params=""/> <obj type="static metal pole" x="326" y="-15" rot="0" params=""/> <obj type="static metal pole" x="351" y="-140" rot="30" params=""/> <obj type="static metal pole" x="-72" y="-133" rot="-30" params=""/> <obj type="static metal pole" x="433" y="67" rot="0" params=""/> <obj type="movingblock04flipped" x="369" y="438" rot="0" params="line=y3,switch=switch03,loop=false,speed=0.008,endreset=true"/> <obj type="static metal pole" x="353" y="317" rot="90" params=""/> <obj type="static girder" x="-114" y="401" rot="0" params=""/> <obj type="static girder" x="451" y="72" rot="35" params=""/> <obj type="static girder" x="640" y="246" rot="-144" params=""/> <obj type="static girder" x="549" y="348" rot="-11" params=""/> <obj type="switch03" x="316" y="492" rot="-90" params="type=timed,time=3.5"/> <obj type="steelcornerright" x="430" y="40" rot="0" params=""/> <obj type="static girder" x="452" y="385" rot="30" params=""/> <obj type="static girder" x="453" y="541" rot="0" params=""/> <obj type="static girder" x="602" y="540" rot="0" params=""/> <obj type="static girder" x="678" y="324" rot="-20" params=""/> <obj type="static girder" x="705" y="328" rot="-90" params=""/> <obj type="static girder" x="706" y="183" rot="-90" params=""/> <obj type="static girder" x="698" y="551" rot="-90" params=""/> <obj type="static girder" x="702" y="476" rot="-90" params=""/> <obj type="static girder" x="587" y="541" rot="-30" params=""/> <obj type="animal01" x="478" y="485" rot="0" params=""/> <obj type="static metal pole" x="330" y="566" rot="0" params=""/> <obj type="static metal pole" x="432" y="568" rot="0" params=""/> <obj type="static girder" x="3" y="339" rot="90" params=""/> <obj type="animal06" x="2" y="361" rot="0" params=""/> <obj type="static girder" x="316" y="589" rot="0" params=""/> <obj type="animal02" x="368" y="537" rot="0" params=""/> <obj type="greenSticker" x="346" y="463" rot="0" params=""/> <obj type="greenSticker" x="428" y="464" rot="0" params=""/> <obj type="redSticker" x="92" y="220" rot="0" params=""/> <obj type="redSticker" x="192" y="222" rot="0" params=""/> <obj type="blueSticker" x="86" y="405" rot="0" params=""/> <line type="1" name="y1" fill="0" fillscale="1"> <points a="114,220, 216,222, 114,220"/> </line> <line type="1" name="y2" fill="0" fillscale="1"> <points a="70,352, 315,352, 70,352"/> </line> <line type="1" name="y3" fill="0" fillscale="1"> <points a="366,435, 365,-19, 366,435"/> </line> </level> <level name="Baby Boom" category="1" fillframe="12" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="40" silver="80"/> <obj type="mincer" x="153" y="75" rot="0" params=""/> <obj type="hosesmall" x="272" y="51" rot="0" params=""/> <obj type="staticblock01" x="76" y="250" rot="10" params=""/> <obj type="staticblock01" x="25" y="251" rot="0" params=""/> <obj type="staticblock01" x="-4" y="199" rot="0" params=""/> <obj type="staticblock01" x="-7" y="150" rot="0" params=""/> <obj type="staticblock01" x="220" y="195" rot="0" params=""/> <obj type="staticblock01" x="263" y="167" rot="0" params=""/> <obj type="staticblock01" x="312" y="150" rot="0" params=""/> <obj type="staticblock01" x="338" y="103" rot="0" params=""/> <obj type="staticblock01" x="342" y="43" rot="0" params=""/> <obj type="staticblock01" x="340" y="56" rot="0" params=""/> <obj type="staticblock01" x="343" y="14" rot="0" params=""/> <obj type="staticblock01" x="327" y="-36" rot="0" params=""/> <obj type="staticblock01" x="121" y="270" rot="20" params=""/> <obj type="staticblock01" x="165" y="291" rot="20" params=""/> <obj type="staticblock01" x="207" y="311" rot="20" params=""/> <obj type="staticblock01" x="271" y="321" rot="20" params=""/> <obj type="staticblock01" x="320" y="340" rot="20" params=""/> <obj type="staticblock01" x="368" y="361" rot="20" params=""/> <obj type="staticblock01" x="436" y="377" rot="20" params=""/> <obj type="staticblock01" x="484" y="396" rot="20" params=""/> <obj type="staticblock01" x="533" y="413" rot="20" params=""/> <obj type="staticblock01" x="604" y="432" rot="20" params=""/> <obj type="staticblock01" x="227" y="343" rot="0" params=""/> <obj type="staticblock01" x="392" y="392" rot="0" params=""/> <obj type="staticblock01" x="560" y="442" rot="0" params=""/> <obj type="hosesmall" x="25" y="48" rot="0" params=""/> <obj type="animal06" x="654" y="455" rot="0" params=""/> <line type="0" name="undefined" fill="0"> <points a="564,501, 692,500, 669,201, 784,207, 740,589, 586,584, 564,501"/> </line> </level> <level name="Cannon Fodder" category="1" fillframe="1" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="30" silver="60"/> <obj type="static crane1" x="53" y="557" rot="0" params=""/> <obj type="static crane1" x="192" y="557" rot="0" params=""/> <obj type="static crane1" x="331" y="557" rot="0" params=""/> <obj type="static crane1" x="469" y="557" rot="0" params=""/> <obj type="static crane1" x="608" y="557" rot="0" params=""/> <obj type="static crane1" x="-85" y="557" rot="0" params=""/> <obj type="static crane1" x="210" y="100" rot="0" params=""/> <obj type="cannon" x="290" y="526" rot="0" params="mode=static,switch=switch02,minang=0,maxang=90,speed=0.01"/> <obj type="hose" x="446" y="305" rot="0" params=""/> <obj type="switch02" x="135" y="544" rot="0" params="type=2way"/> <obj type="animal03" x="280" y="42" rot="0" params=""/> <obj type="portal_entry01" x="410" y="63" rot="0" params=""/> <obj type="static crane1" x="349" y="100" rot="0" params=""/> <obj type="portal_exit01" x="122" y="361" rot="0" params=""/> <obj type="portal_entry02" x="648" y="522" rot="0" params=""/> <obj type="portal_exit02" x="53" y="61" rot="0" params=""/> <obj type="static crane1" x="212" y="284" rot="-90" params=""/> <obj type="static crane1" x="212" y="423" rot="-90" params=""/> <obj type="static crane1" x="-22" y="561" rot="-90" params=""/> <obj type="static crane1" x="-22" y="421" rot="-90" params=""/> <obj type="static crane1" x="-22" y="282" rot="-90" params=""/> <obj type="static crane1" x="212" y="560" rot="-90" params=""/> <obj type="static crane1" x="772" y="473" rot="180" params=""/> <obj type="static crane1" x="490" y="-40" rot="90" params=""/> <obj type="static crane1" x="634" y="473" rot="180" params=""/> <obj type="blueSticker" x="282" y="561" rot="0" params=""/> <obj type="block01" x="568" y="377" rot="0" params=""/> <obj type="block01" x="580" y="326" rot="0" params=""/> <obj type="block01" x="567" y="275" rot="0" params=""/> <obj type="block02" x="575" y="274" rot="-90" params=""/> <obj type="block02" x="578" y="172" rot="-90" params=""/> <obj type="block02" x="577" y="70" rot="-90" params=""/> </level> <level name="Six Machine" category="1" fillframe="11" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="60" silver="120"/> <obj type="hosesmall" x="333" y="51" rot="0" params=""/> <obj type="hosesmall" x="333" y="223" rot="0" params=""/> <obj type="hosesmall" x="333" y="420" rot="0" params=""/> <obj type="animal01" x="85" y="143" rot="0" params=""/> <obj type="animal02" x="51" y="339" rot="0" params=""/> <obj type="animal03" x="76" y="514" rot="0" params=""/> <obj type="pathblock01" x="177" y="59" rot="0" params="line=path01,loop=true,speed=0.0025"/> <obj type="pathblock01" x="191" y="284" rot="0" params="line=path01,loop=true,speed=0.0025,startpos=0.16"/> <obj type="pathblock01" x="197" y="459" rot="0" params="line=path01,loop=true,speed=0.0025,startpos=0.32"/> <obj type="pathblock01" x="197" y="459" rot="0" params="line=path01,loop=true,speed=0.0025,startpos=0.49"/> <obj type="pathblock01" x="197" y="459" rot="0" params="line=path01,loop=true,speed=0.0025,startpos=0.65"/> <obj type="pathblock01" x="197" y="459" rot="0" params="line=path01,loop=true,speed=0.0025,startpos=0.82"/> <obj type="animal04" x="600" y="124" rot="0" params=""/> <obj type="animal05" x="570" y="308" rot="0" params=""/> <obj type="animal06" x="586" y="541" rot="0" params=""/> <line type="0" name="" fill="0" fillscale="1"> <points a="74,19, 149,18, 207,31, 225,58, 227,86, 215,109, 164,115, 125,101, 79,88, 58,120"/> <points a="55,169, 76,199, 134,212, 187,208, 220,194, 243,198, 261,220, 262,262, 244,282, 215,285"/> <points a="116,251, 78,241, 40,270, 19,312, 17,356, 24,412, 61,424, 108,419, 127,399, 145,362"/> <points a="160,331, 178,324, 214,324, 236,333, 248,355, 256,403, 254,439, 240,451, 208,454, 146,450"/> <points a="51,461, 31,488, 35,539, 50,572, 86,587, 152,578, 180,548, 191,517, 219,511, 243,521"/> <points a="260,555, 257,590, 251,662, -44,640, -27,31"/> </line> <line type="2" name="path01" fill="0" fillscale="1"> <points a="182,65, 191,135, 199,228, 192,283, 191,373, 198,460, 202,528, 466,554, 492,523, 495,459"/> <points a="503,391, 472,298, 482,224, 467,147, 485,62, 460,13, 212,10, 182,65"/> </line> <line type="0" name="" fill="0" fillscale="1"> <points a="448,642, 442,595, 444,570, 452,538, 478,524, 507,523, 540,540, 562,565, 581,586, 613,593"/> <points a="646,576, 659,540, 659,504, 642,476, 601,458, 560,461, 529,467, 502,468, 471,468, 440,446"/> <points a="436,426, 436,386, 441,363, 448,339, 460,321, 475,315, 523,318, 533,328, 544,354, 562,395"/> <points a="594,407, 626,395, 654,372, 666,333, 665,303, 657,267, 635,250, 607,249, 579,256, 550,261"/> <points a="525,261, 487,251, 459,236, 444,217, 442,187, 447,152, 462,140, 490,131, 528,131, 557,148"/> <points a="580,167, 615,185, 653,179, 678,146, 682,103, 680,68, 670,43, 642,28, 595,28, 556,41"/> <points a="533,54, 497,58, 477,61, 440,54, 430,34, 436,-25, 734,-27, 721,670"/> </line> </level> <level name="Portal Pusher" category="1" fillframe="7" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="25" silver="60"/> <obj type="static crane1" x="5" y="480" rot="10" params=""/> <obj type="static crane1" x="141" y="505" rot="10" params=""/> <obj type="static crane1" x="277" y="529" rot="10" params=""/> <obj type="static crane1" x="407" y="553" rot="0" params=""/> <obj type="static crane1" x="546" y="553" rot="0" params=""/> <obj type="static crane2" x="626" y="399" rot="0" params=""/> <obj type="static crane2" x="627" y="239" rot="0" params=""/> <obj type="static crane2" x="628" y="78" rot="0" params=""/> <obj type="springboard" x="574" y="541" rot="0" params=""/> <obj type="hose" x="39" y="330" rot="0" params=""/> <obj type="portal_entry01" x="394" y="168" rot="0" params="line=v1,loop=true,switch=switch02,speed=0.008,2way=true"/> <obj type="static crane1" x="242" y="137" rot="-90" params=""/> <obj type="static crane1" x="242" y="385" rot="-90" params=""/> <obj type="static crane1" x="514" y="387" rot="270" params=""/> <obj type="portal_exit01" x="327" y="168" rot="0" params="line=v2,loop=true,switch=switch02,speed=0.003,2way=true"/> <obj type="static crane1" x="417" y="223" rot="0" params=""/> <obj type="static crane1" x="423" y="207" rot="90" params=""/> <obj type="switch02" x="227" y="359" rot="-90" params="type=2way"/> <obj type="cranecornerright" x="560" y="387" rot="90" params=""/> <obj type="static crane2" x="411" y="389" rot="102" params=""/> <obj type="animal05" x="447" y="304" rot="0" params=""/> <obj type="static crane2" x="629" y="-82" rot="0" params=""/> <obj type="static crane1" x="-17" y="167" rot="-15" params=""/> <obj type="portal_entry02" x="198" y="461" rot="0" params="line=v3,loop=true,speed=0.01"/> <obj type="static crane1" x="116" y="311" rot="-90" params=""/> <obj type="portal_exit02" x="52" y="83" rot="0" params=""/> <obj type="static crane1" x="117" y="169" rot="-90" params=""/> <line type="1" name="v1" fill="0" fillscale="1"> <points a="395,192, 596,191"/> </line> <line type="2" name="v2" fill="0" fillscale="1"> <points a="328,168, 327,-7, 290,-36, 228,-36, 203,-12, 201,167, 210,200, 262,232, 316,211, 329,169"/> </line> <line type="1" name="v3" fill="0" fillscale="1"> <points a="199,480, 187,366"/> </line> </level> <level name="Bouncy Bouncy" category="1" fillframe="15" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="100" silver="200"/> <obj type="springboard" x="58" y="473" rot="25" params=""/> <obj type="springboard" x="60" y="326" rot="24" params=""/> <obj type="springboard" x="61" y="148" rot="26" params=""/> <obj type="springboard" x="194" y="270" rot="-22" params=""/> <obj type="hose" x="520" y="255" rot="0" params=""/> <obj type="animal03" x="234" y="65" rot="0" params=""/> <obj type="switch01" x="531" y="143" rot="0" params="type=timed,time=7"/> <obj type="cage" x="537" y="131" rot="0" params=""/> <obj type="springboard" x="315" y="231" rot="25" params=""/> <obj type="pathblock07" x="708" y="180" rot="0" params=""/> <obj type="animal01" x="640" y="452" rot="0" params=""/> <obj type="springboard" x="425" y="329" rot="56" params=""/> <obj type="springboard" x="400" y="297" rot="51" params=""/> <obj type="springboard" x="448" y="363" rot="40" params=""/> <obj type="springboard" x="601" y="412" rot="-90" params=""/> <obj type="springboard" x="601" y="452" rot="-90" params=""/> <obj type="pathblock07" x="267" y="397" rot="0" params="switch=switch01,line=path01,loop=false,speed=0.005,endreset=true"/> <obj type="pathblock07" x="623" y="190" rot="0" params="switch=switch01,line=path02,loop=false,speed=0.005,endreset=true"/> <obj type="springboard" x="96" y="489" rot="10" params=""/> <obj type="springboard" x="138" y="495" rot="10" params=""/> <obj type="springboard" x="179" y="501" rot="0" params=""/> <line type="0" name="" fill="5" fillscale="1"> <points a="-6,608, -7,-9, 70,-2, 52.5,51.5, 43.25,102.25, 61,157, 95,172, 61,328, 82,356, 53,480"/> <points a="93,495, 178,508, 756,503, 740,587, 722,617, -5,609"/> </line> <line type="0" name="" fill="5" fillscale="1"> <points a="133,31, 139,-5, 327,-3, 307.5,104.5, 292.25,165.25, 310,238, 345.5,256.5, 318,396, 228,395, 202,282"/> <points a="230,261, 201,162, 181,147, 187,119, 247,129, 290,126, 297,98, 285,32, 241,24, 133,32"/> </line> <line type="0" name="" fill="5" fillscale="1"> <points a="703,180, 627,192, 541,190, 442,204, 423,187, 426,162, 450,153, 492.5,155, 535,157, 577.5,159"/> <points a="620,161, 677,133, 678.75,119.25, 684,78, 621,40, 514,33, 413,46, 363,57, 311,78, 316.25,57.5"/> <points a="320.5,37, 324.75,16.5, 326,-4, 734,-22, 726,181"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="256,397, 256,589, 256,397"/> </line> <line type="1" name="path02" fill="0" fillscale="1"> <points a="622,192, 620,278, 620,192"/> </line> </level> <level name="Baddies" category="1" fillframe="1" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="40" silver="100"/> <obj type="animal03" x="133" y="232" rot="0" params=""/> <obj type="animal03" x="317" y="448" rot="0" params=""/> <obj type="animal03" x="586" y="336" rot="0" params=""/> <obj type="hoselarge" x="373" y="29" rot="0" params=""/> <obj type="badguy_path_killguinea" x="164" y="182" rot="0" params="line=v3,loop=true,endreset=true,speed=0.01"/> <obj type="badguy_path_killguinea" x="462" y="511" rot="0" params="line=v4,loop=true,endreset=true,speed=0.012"/> <obj type="badguy_path_killguinea" x="479" y="364" rot="0" params="line=v5,loop=true,endreset=true,speed=0.014"/> <line type="0" name="" fill="0" fillscale="1"> <points a="87,212"/> </line> <line type="0" name="" fill="0" fillscale="1"> <points a="116,218, 87,213, 84,242, 90,277, 104,319, 154,328, 207,325, 230,306, 237,251, 229,213"/> <points a="202,217, 204,257, 206,293, 179,302, 138,300, 117,278, 117,218"/> </line> <line type="0" name="" fill="0" fillscale="1"> <points a="522,309, 553,311, 552,350, 561,375, 584,399, 636,400, 656,381, 661,345, 657,308, 689,309"/> <points a="692,355, 682,404, 658,430, 604,437, 555,428, 525,389, 522,308"/> </line> <line type="0" name="" fill="0" fillscale="1"> <points a="245,431, 279,432, 281,468, 287,502, 319,521, 355,522, 379,508, 386,470, 382,428, 417,432"/> <points a="417,474, 410,517, 386,550, 342,558, 282,549, 251,508, 245,431"/> </line> <line type="2" name="v3" fill="0" fillscale="1"> <points a="152,174, 84,184, 52,219, 46,277, 62,326, 108,362, 165,369, 232,355, 266,311, 274,243.5"/> <points a="248,182, 153,173"/> </line> <line type="2" name="v4" fill="0" fillscale="1"> <points a="480,364, 492,419, 536,468, 609,483, 686,471, 734,411, 739,346, 725,275, 659,253, 572.5,251.5"/> <points a="492,288, 480,366"/> </line> <line type="2" name="v5" fill="0" fillscale="1"> <points a="464,513, 439,569, 381,602, 293,613, 234,569, 207,486, 214,411, 259,373, 331,360, 441,416"/> <points a="464,515"/> </line> </level> <level name="Pedestal Penguinz" category="1" fillframe="14" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="90" silver="180"/> <obj type="block02" x="425" y="363" rot="90" params=""/> <obj type="block02" x="462" y="362" rot="180" params=""/> <obj type="block02" x="359" y="340" rot="270" params=""/> <obj type="block02" x="443" y="340" rot="270" params=""/> <obj type="block02" x="361" y="217" rot="360" params=""/> <obj type="block02" x="421" y="115" rot="450" params=""/> <obj type="block02" x="457" y="114" rot="540" params=""/> <obj type="animal06" x="356" y="53" rot="0" params=""/> <obj type="animal06" x="433" y="52" rot="0" params=""/> <obj type="hose" x="137" y="257" rot="0" params=""/> <obj type="static icefloor" x="200" y="467" rot="0" params=""/> <obj type="static icefloor" x="282" y="467" rot="0" params=""/> <obj type="static icefloor" x="363" y="467" rot="0" params=""/> <obj type="static icefloor" x="444" y="467" rot="0" params=""/> <obj type="static icefloor" x="526" y="468" rot="0" params=""/> </level> <level name="Bombard the Castle" category="1" fillframe="3" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="30" silver="70"/> <obj type="cannon" x="195" y="426" rot="0" params="mode=static,switch=switch02,minang=0,maxang=90,speed=0.01"/> <obj type="hosesmall" x="258" y="103" rot="0" params=""/> <obj type="block01" x="457" y="339" rot="0" params=""/> <obj type="block01" x="456" y="286" rot="0" params=""/> <obj type="block01" x="456" y="233" rot="0" params=""/> <obj type="block01" x="454" y="179" rot="0" params=""/> <obj type="block01" x="455" y="125" rot="0" params=""/> <obj type="block01" x="454" y="70" rot="0" params=""/> <obj type="block01" x="454" y="15" rot="0" params=""/> <obj type="block01" x="454" y="-40" rot="0" params=""/> <obj type="staticblock02" x="431" y="391" rot="0" params=""/> <obj type="animal05" x="588" y="240" rot="0" params=""/> <obj type="staticblock01" x="647" y="299" rot="0" params=""/> <obj type="staticblock01" x="647" y="249" rot="0" params=""/> <obj type="staticblock01" x="512" y="318" rot="0" params=""/> <obj type="staticblock01" x="580" y="324" rot="0" params=""/> <obj type="switch02" x="115" y="253" rot="0" params="type=2way"/> <line type="0" name="" fill="1" fillscale="1"> <points a="-20,279, 37,277, 96,266, 134,263, 180,274, 192,282, 197,299, 189,316, 161,342, 130,367"/> <points a="117,411, 121,457, 140,487, 173,498, 220,500, 258,486, 281,460, 298,436, 313,412, 328,398"/> <points a="348,388, 369,382, 410,389, 439,410, 484,419, 511,414, 530,397, 543,376, 555,349, 568,336"/> <points a="599,328, 629,325, 645,332, 665,346, 693,351, 719,352, 726,624, -47,615"/> </line> </level> <level name="Big Bits" category="1" fillframe="9" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="150" silver="250"/> <obj type="hose" x="170" y="85" rot="0" params=""/> <obj type="switch02" x="171" y="376" rot="0" params="type=timed,time=3"/> <obj type="switch03" x="640" y="502" rot="0" params="type=timed,time=3"/> <obj type="switch04" x="619" y="336" rot="0" params="type=timed,time=3"/> <obj type="pathblock07" x="264" y="154" rot="0" params="line=path01,loop=false,switch=switch02,endreset=true,speed=0.01"/> <obj type="pathblock08" x="197" y="230" rot="0" params="line=path02,loop=false,switch=switch03,endreset=true,speed=0.01"/> <obj type="pathblock07" x="106" y="218" rot="0" params="line=path03,loop=false,switch=switch04,endreset=true,speed=0.01"/> <obj type="animal03" x="44" y="339" rot="0" params=""/> <obj type="cage" x="176" y="364" rot="0" params=""/> <obj type="cage" x="621" y="322" rot="0" params=""/> <obj type="cage" x="648" y="488" rot="0" params=""/> <obj type="greenSticker" x="669" y="220" rot="0" params=""/> <obj type="redSticker" x="94" y="396" rot="0" params=""/> <obj type="blueSticker" x="253" y="397" rot="0" params=""/> <obj type="staticblock02" x="1" y="390" rot="0" params=""/> <obj type="staticblock02" x="101" y="390" rot="0" params=""/> <obj type="staticblock02" x="202" y="390" rot="0" params=""/> <obj type="staticblock02" x="304" y="390" rot="0" params=""/> <obj type="staticblock02" x="496" y="514" rot="0" params=""/> <obj type="staticblock02" x="597" y="514" rot="0" params=""/> <obj type="staticblock02" x="576" y="345" rot="0" params=""/> <obj type="staticblock02" x="580" y="265" rot="90" params=""/> <obj type="staticblock02" x="688" y="264" rot="90" params=""/> <obj type="staticblock02" x="688" y="166" rot="90" params=""/> <obj type="staticblock02" x="688" y="64" rot="90" params=""/> <obj type="staticblock02" x="9" y="308" rot="90" params=""/> <obj type="staticblock02" x="9" y="209" rot="90" params=""/> <obj type="staticblock02" x="92" y="227" rot="180" params=""/> <line type="1" name="path01" fill="0" fillscale="1"> <points a="264,77, 263,625, 264,77"/> </line> <line type="1" name="path02" fill="0" fillscale="1"> <points a="255,230, 709,230, 255,230"/> </line> <line type="1" name="path03" fill="0" fillscale="1"> <points a="106,220, 106,651, 106,220"/> </line> </level> <level name="Vortex" category="1" fillframe="17" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="70" silver="140"/> <obj type="block01" x="101" y="-1" rot="0" params=""/> <obj type="block01" x="100" y="50" rot="0" params=""/> <obj type="block01" x="101" y="101" rot="0" params=""/> <obj type="breakableblock01" x="88" y="212" rot="0" params=""/> <obj type="portal_entry01" x="142" y="353" rot="0" params=""/> <obj type="portal_exit01" x="627" y="4" rot="0" params=""/> <obj type="switch02" x="550" y="83" rot="0" params="type=2way"/> <obj type="cage" x="550" y="73" rot="0" params=""/> <obj type="hose" x="373" y="89" rot="0" params=""/> <obj type="breakableblock01" x="89" y="278" rot="0" params=""/> <obj type="block01" x="101" y="-53" rot="0" params=""/> <obj type="magnet01" x="289" y="506" rot="0" params="polarity=false,mode=switch,switch=switch02"/> <obj type="hose" x="49" y="477" rot="0" params=""/> <obj type="animal03" x="604" y="527" rot="0" params=""/> <line type="0" name="" fill="4" fillscale="1"> <points a="335,276, 466,265, 485,183, 483,5, 493,-30, 536,-13, 591.5,0.5, 591.125,49.625, 519.75,68.75, 515,96"/> <points a="591,102, 594,239, 597,285, 657,286, 655,-13, 726,-6, 731,312, 733,368, 704,399, 603,406"/> <points a="468,402, 278,411, 217,413, 208,390, 196,293, 207,274, 336,276"/> </line> <line type="0" name="" fill="4" fillscale="1"> <points a="63,265, 74,273, 87,293, 98,385, 209,390.5, 218,414, -59,427, -27,278, -30,16, 8,-21"/> <points a="98,-3, 92,33, 92,165, 83,181, 64,263"/> </line> <line type="0" name="" fill="4" fillscale="1"> <points a="165,-23, 160,-19, 164,210, 212,212, 215,-30"/> </line> <line type="0" name="" fill="4" fillscale="1"> <points a="713,398, 700,406, 699,397, 665,401, 684,446, 689,539, 660,586, 534,592, 372,587, 316,595"/> <points a="304,630, 732,691, 715,400"/> </line> </level> <level name="Avalanche" category="1" fillframe="10" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="60" silver="120"/> <obj type="static girder" x="114" y="260" rot="20" params=""/> <obj type="static girder" x="252" y="312" rot="90" params=""/> <obj type="static girder" x="464" y="431" rot="-160" params=""/> <obj type="static girder" x="280" y="502" rot="-70" params=""/> <obj type="static girder" x="343" y="497" rot="-180" params=""/> <obj type="static girder" x="548" y="198" rot="-180" params=""/> <obj type="portal_entry01" x="605" y="277" rot="0" params=""/> <obj type="portal_exit01" x="278" y="230" rot="0" params=""/> <obj type="block03" x="523" y="144" rot="0" params=""/> <obj type="block03" x="497" y="144" rot="0" params=""/> <obj type="block03" x="516" y="120" rot="0" params=""/> <obj type="block03" x="515" y="95" rot="0" params=""/> <obj type="block03" x="492" y="122" rot="0" params=""/> <obj type="block03" x="472" y="142" rot="0" params=""/> <obj type="block03" x="491" y="98" rot="0" params=""/> <obj type="block03" x="504" y="74" rot="0" params=""/> <obj type="block03" x="507" y="49" rot="0" params=""/> <obj type="block03" x="469" y="118" rot="0" params=""/> <obj type="block03" x="449" y="143" rot="0" params=""/> <obj type="block03" x="469" y="94" rot="0" params=""/> <obj type="block03" x="478" y="69" rot="0" params=""/> <obj type="block03" x="483" y="46" rot="0" params=""/> <obj type="block03" x="498" y="24" rot="0" params=""/> <obj type="hose" x="308" y="34" rot="0" params=""/> <obj type="staticblock04" x="361" y="145" rot="0" params=""/> <obj type="static girder" x="644" y="244" rot="-90" params=""/> <obj type="static girder" x="643" y="93" rot="-90" params=""/> <obj type="static girder" x="247" y="154" rot="0" params=""/> <obj type="static girder" x="96" y="137" rot="0" params=""/> <obj type="portal_entry02" x="127" y="63" rot="0" params=""/> <obj type="block03" x="449" y="119" rot="0" params=""/> <obj type="block03" x="446" y="95" rot="0" params=""/> <obj type="block03" x="454" y="70" rot="0" params=""/> <obj type="block03" x="460" y="45" rot="0" params=""/> <obj type="block03" x="470" y="21" rot="0" params=""/> <obj type="static girder" x="465" y="471" rot="0" params=""/> <obj type="static girder" x="602" y="545" rot="-80" params=""/> <obj type="static girder" x="474" y="578" rot="-180" params=""/> <obj type="portal_exit02" x="389" y="433" rot="0" params=""/> <obj type="animal02" x="412" y="496" rot="0" params=""/> <obj type="animal03" x="530" y="420" rot="0" params=""/> <obj type="static girder" x="322" y="499" rot="90" params=""/> <obj type="animal06" x="328" y="503" rot="0" params=""/> </level> <level name="Moving Target" category="1" fillframe="8" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="35" silver="70"/> <obj type="hoselarge" x="238" y="477" rot="0" params=""/> <obj type="portal_entry01" x="371" y="433" rot="0" params=""/> <obj type="portal_exit01" x="144" y="232" rot="0" params="line=path01,loop=true,speed=0.005"/> <obj type="animal05" x="525" y="76" rot="0" params=""/> <obj type="animal04" x="142" y="104" rot="0" params=""/> <obj type="staticblock02" x="515" y="159" rot="0" params=""/> <obj type="staticblock02" x="102" y="154" rot="0" params=""/> <obj type="staticblock02" x="43" y="154" rot="0" params=""/> <obj type="staticblock02" x="63" y="73" rot="90" params=""/> <obj type="staticblock02" x="63" y="-26" rot="90" params=""/> <obj type="staticblock02" x="678" y="180" rot="180" params=""/> <obj type="staticblock02" x="657" y="176" rot="270" params=""/> <obj type="staticblock02" x="657" y="74" rot="270" params=""/> <obj type="staticblock02" x="43" y="-27" rot="-90" params=""/> <obj type="staticblock02" x="657" y="-27" rot="-90" params=""/> <line type="1" name="path01" fill="0" fillscale="1"> <points a="127,221, 565,219"/> </line> </level> <level name="SeeSaw" category="1" fillframe="9" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="80" silver="160"/> <obj type="seesaw" x="331" y="391" rot="0" params=""/> <obj type="heavyball02" x="360" y="362" rot="0" params=""/> <obj type="hose" x="521" y="30" rot="0" params=""/> <obj type="heavyball01" x="259" y="110" rot="0" params=""/> <obj type="animal06" x="136" y="217" rot="0" params=""/> <obj type="block02" x="100" y="286" rot="-90" params=""/> <obj type="static girder" x="0" y="-14" rot="-90" params=""/> <obj type="staticblock04" x="52" y="212" rot="0" params=""/> <obj type="staticblock03" x="135" y="258" rot="0" params=""/> <obj type="static girder" x="534" y="593" rot="0" params=""/> <obj type="animal06" x="613" y="555" rot="0" params=""/> <obj type="staticblock04" x="129" y="104" rot="0" params=""/> <obj type="staticblock04" x="130" y="68" rot="0" params=""/> <obj type="staticstick" x="357" y="172" rot="0" params=""/> <obj type="staticstick" x="357" y="38" rot="0" params=""/> <obj type="staticstick" x="265" y="140" rot="0" params=""/> <obj type="staticstick" x="265" y="241" rot="0" params=""/> <obj type="staticstick" x="274" y="142" rot="90" params=""/> <obj type="staticstick" x="229" y="143" rot="90" params=""/> <obj type="staticstick" x="149" y="291" rot="90" params=""/> <obj type="staticstick" x="47" y="292" rot="90" params=""/> <obj type="staticstick" x="30" y="294" rot="180" params=""/> <obj type="staticstick" x="31" y="193" rot="180" params=""/> <obj type="staticstick" x="31" y="93" rot="180" params=""/> <obj type="staticstick" x="164" y="550" rot="270" params=""/> <obj type="staticstick" x="65" y="550" rot="270" params=""/> <obj type="staticstick" x="-34" y="550" rot="270" params=""/> <obj type="staticstick" x="76" y="488" rot="360" params=""/> <obj type="staticstick" x="76" y="588" rot="360" params=""/> <obj type="staticstick" x="357" y="109" rot="360" params=""/> <line type="0" name="" fill="1" fillscale="1"> <points a="259,535, 289,481, 317,447, 343,435, 369,434, 384,426, 393,410, 408,397, 437,393, 474,401"/> <points a="489,420, 518,463, 554,506, 604,523, 614,638, 230,628, 238,578"/> </line> <line type="0" name="" fill="1" fillscale="1"> <points a="640,635, 647,526, 662,505, 673,503, 685,516, 702,546, 720,639"/> </line> <line type="0" name="" fill="1" fillscale="1"> <points a="470,236, 523,241, 569,236, 595,225, 621,208, 631,195, 641,195, 652,211, 655,243, 649,272"/> <points a="619,297, 561,324, 506,332, 475,327, 449,325, 409,331, 390,318, 425,296, 443,266, 457,242"/> </line> <line type="0" name="" fill="1" fillscale="1"> <points a="736,402, 667,423, 616,421, 595,415, 576,398, 580,379, 601,364, 644,349, 673,326, 692,305"/> <points a="696,268, 693,233, 692,174, 704,153, 730,156, 742,208, 745,240, 747,323, 743,381"/> </line> <line type="0" name="" fill="1" fillscale="1"> <points a="393,210, 412,218, 418,235, 407,260, 394,280, 377,284, 375,221"/> </line> </level> <level name="Penguin House" category="1" fillframe="14" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="70" silver="140"/> <obj type="hose" x="181" y="101" rot="0" params=""/> <obj type="block02" x="312" y="440" rot="-90" params=""/> <obj type="block02" x="390" y="439" rot="-90" params=""/> <obj type="block02" x="478" y="441" rot="-90" params=""/> <obj type="block02" x="399" y="337" rot="-180" params=""/> <obj type="block02" x="504" y="337" rot="-180" params=""/> <obj type="block02" x="478" y="314" rot="-90" params=""/> <obj type="block02" x="391" y="313" rot="-90" params=""/> <obj type="block02" x="312" y="313" rot="-90" params=""/> <obj type="block02" x="497" y="210" rot="-180" params=""/> <obj type="block02" x="397" y="210" rot="-180" params=""/> <obj type="animal06" x="430" y="272" rot="0" params=""/> <obj type="animal06" x="345" y="273" rot="0" params=""/> <obj type="block02" x="410" y="86" rot="90" params=""/> <obj type="animal06" x="385" y="47" rot="0" params=""/> <obj type="animal06" x="349" y="229" rot="0" params=""/> <obj type="animal06" x="432" y="226" rot="0" params=""/> <obj type="static icefloor" x="115" y="443" rot="0" params=""/> <obj type="static icefloor" x="196" y="443" rot="0" params=""/> <obj type="static icefloor" x="277" y="443" rot="0" params=""/> <obj type="static icefloor" x="357" y="443" rot="0" params=""/> <obj type="static icefloor" x="438" y="443" rot="0" params=""/> <obj type="static icefloor" x="521" y="443" rot="0" params=""/> <obj type="static icefloor" x="602" y="443" rot="0" params=""/> <obj type="static icefloor" x="682" y="445" rot="0" params=""/> <obj type="staticstick" x="125" y="346" rot="0" params=""/> <obj type="staticstick" x="675" y="347" rot="0" params=""/> <obj type="staticstick" x="675" y="247" rot="0" params=""/> <obj type="staticstick" x="675" y="147" rot="0" params=""/> <obj type="staticstick" x="675" y="48" rot="0" params=""/> </level> <level name="Magnet Timing" category="1" fillframe="17" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="70" silver="140"/> <obj type="hose" x="198" y="103" rot="0" params=""/> <obj type="animal01" x="167" y="481" rot="0" params=""/> <obj type="animal02" x="504" y="384" rot="0" params=""/> <obj type="magnet01" x="490" y="136" rot="0" params="polarity=true,mode=timed,time=3"/> <obj type="magnet01" x="59" y="354" rot="0" params="polarity=false,mode=timed,time=3"/> <line type="0" name="" fill="4"> <points a="356,256, 381,233, 415,211, 459,199, 510,190, 534,190, 552,194, 560.25,198, 562.5,206, 560.75,213"/> <points a="553,218, 509,213, 470,219, 437,237, 405,258, 389,284, 386,316, 383,348, 385,387, 408,420"/> <points a="436,440, 482,450, 538,455, 580,456, 610,443, 639,414, 644,388, 645,346, 638,308, 627,274"/> <points a="611,258, 608,244, 618,232, 634,227, 647,232, 665,248, 677,282, 684,317, 684,374, 675,430"/> <points a="654,461, 607,489, 558,500, 498,496, 421,487, 385,465, 350,431, 334,400, 318,391, 274,391"/> <points a="237,392, 180,392, 119,384, 97,374, 85,355, 86,336, 99,321, 116,318, 148,312, 186,313"/> <points a="233,314, 273,319, 317,319, 336,315, 346,303, 356,280"/> </line> <line type="0" name="" fill="4"> <points a="17,536, 17,490, 18,444, 31,436, 44,439, 55,461, 65,491, 91,519, 135,532, 158,534"/> <points a="194,537, 244,537, 273,535, 291,516, 299,481, 312,471, 327,472, 341,490, 354,521, 359,551"/> <points a="359,656, 25,643"/> </line> </level> <level name="Peculiar Penguinz" category="1" fillframe="7" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="350" silver="500"/> <obj type="block03" x="150" y="149" rot="0" params=""/> <obj type="block03" x="515" y="287" rot="0" params=""/> <obj type="block03" x="456" y="432" rot="0" params=""/> <obj type="animal06" x="155" y="455" rot="0" params=""/> <obj type="animal06" x="168" y="295" rot="0" params=""/> <obj type="animal06" x="512" y="247" rot="0" params=""/> <obj type="animal06" x="451" y="392" rot="0" params=""/> <obj type="animal06" x="442" y="82" rot="0" params=""/> <obj type="animal06" x="138" y="108" rot="0" params=""/> <obj type="staticblock04" x="202" y="296" rot="0" params=""/> <obj type="staticblock04" x="202" y="262" rot="0" params=""/> <obj type="staticblock04" x="202" y="226" rot="0" params=""/> <obj type="hose" x="654" y="194" rot="0" params=""/> <obj type="hose" x="366" y="483" rot="0" params=""/> <obj type="staticblock04" x="178" y="111" rot="0" params=""/> <obj type="staticblock04" x="178" y="76" rot="0" params=""/> <obj type="staticblock04" x="178" y="41" rot="0" params=""/> <obj type="staticblock04" x="490" y="139" rot="0" params=""/> <obj type="staticblock04" x="449" y="124" rot="0" params=""/> <obj type="static crane1" x="388" y="454" rot="0" params=""/> <obj type="static crane1" x="460" y="308" rot="0" params=""/> <obj type="static crane1" x="168" y="355" rot="0" params=""/> <obj type="static crane1" x="47" y="497" rot="0" params=""/> <obj type="static crane1" x="143" y="172" rot="0" params=""/> <obj type="static crane1" x="91" y="358" rot="90" params=""/> <obj type="static crane1" x="234" y="470" rot="90" params=""/> </level> <level name="Pinball" category="1" fillframe="11" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="100" silver="200"/> <obj type="static girder" x="132" y="596" rot="-90" params=""/> <obj type="static girder" x="6" y="590" rot="-90" params=""/> <obj type="static girder" x="6" y="440" rot="-90" params=""/> <obj type="static girder" x="132" y="446" rot="-90" params=""/> <obj type="static girder" x="6" y="290" rot="-90" params=""/> <obj type="static girder" x="324" y="46" rot="0" params=""/> <obj type="static girder" x="473" y="45" rot="3" params=""/> <obj type="static girder" x="651" y="201" rot="-113" params=""/> <obj type="static girder" x="650" y="340" rot="-90" params=""/> <obj type="static girder" x="650" y="489" rot="-90" params=""/> <obj type="static girder" x="174" y="202" rot="-168" params=""/> <obj type="hosesmall" x="103" y="35" rot="0" params=""/> <obj type="gate" x="179" y="330" rot="110" params="switch=switch02,start=left,strength=200"/> <obj type="gate" x="297" y="520" rot="110" params="switch=switch02,start=left,strength=200"/> <obj type="gate" x="438" y="518" rot="335" params="switch=switch03,start=left,strength=200"/> <obj type="gate" x="635" y="290" rot="333" params="switch=switch03,start=left,strength=200"/> <obj type="switch02" x="362" y="41" rot="0" params="type=2way"/> <obj type="switch03" x="440" y="43" rot="0" params="type=2way"/> <obj type="static girder" x="253" y="520" rot="-90" params=""/> <obj type="static girder" x="551" y="654" rot="-90" params=""/> <obj type="static girder" x="284" y="519" rot="-270" params=""/> <obj type="static girder" x="582" y="354" rot="-270" params=""/> <obj type="bumper" x="389" y="170" rot="0" params=""/> <obj type="bumper" x="364" y="277" rot="0" params=""/> <obj type="bumper" x="466" y="241" rot="0" params=""/> <obj type="static girder" x="11" y="559" rot="0" params=""/> <obj type="animal06" x="61" y="512" rot="0" params=""/> <obj type="static girder" x="446" y="504" rot="-40" params=""/> <obj type="bumper" x="465" y="343" rot="0" params=""/> <obj type="static girder" x="127" y="570" rot="0" params=""/> <obj type="static girder" x="555" y="561" rot="0" params=""/> <obj type="static girder" x="650" y="638" rot="-90" params=""/> <obj type="animal01" x="184" y="514" rot="0" params=""/> <obj type="animal02" x="585" y="504" rot="0" params=""/> <obj type="greenSticker" x="652" y="277" rot="0" params=""/> <obj type="greenSticker" x="455" y="505" rot="0" params=""/> <obj type="blueSticker" x="260" y="506" rot="0" params=""/> <obj type="blueSticker" x="139" y="316" rot="0" params=""/> </level> <level name="Penguin Towers" category="1" fillframe="10" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="100" silver="200"/> <obj type="hose" x="347" y="43" rot="0" params=""/> <obj type="static girder" x="5" y="508" rot="0" params=""/> <obj type="static girder" x="155" y="508" rot="0" params=""/> <obj type="static girder" x="305" y="508" rot="0" params=""/> <obj type="static girder" x="455" y="508" rot="0" params=""/> <obj type="static girder" x="605" y="508" rot="0" params=""/> <obj type="block02" x="115" y="508" rot="-90" params=""/> <obj type="block02" x="115" y="408" rot="-90" params=""/> <obj type="block02" x="115" y="308" rot="-90" params=""/> <obj type="animal06" x="111" y="166" rot="0" params=""/> <obj type="animal06" x="111" y="124" rot="0" params=""/> <obj type="animal06" x="111" y="83" rot="0" params=""/> <obj type="block02" x="565" y="508" rot="-90" params=""/> <obj type="block02" x="565" y="408" rot="-90" params=""/> <obj type="block02" x="565" y="308" rot="-90" params=""/> <obj type="animal06" x="561" y="166" rot="0" params=""/> <obj type="animal06" x="561" y="124" rot="0" params=""/> <obj type="animal06" x="561" y="83" rot="0" params=""/> </level> <level name="Mixup" category="1" fillframe="7" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="50" silver="100"/> <obj type="portal_entry01" x="264" y="288" rot="0" params=""/> <obj type="portal_exit01" x="550" y="289" rot="0" params=""/> <obj type="movingblock04flat" x="229" y="187" rot="0" params="line=y8,switch=switch02,loop=false,speed=0.008,endreset=true"/> <obj type="hosesmall" x="560" y="38" rot="0" params=""/> <obj type="switch02" x="144" y="161" rot="0" params="type=timed,time=4"/> <obj type="pathblock01" x="447" y="377" rot="0" params="line=y9,switch=switch03,loop=false,speed=0.008,endreset=true"/> <obj type="switch03" x="357" y="388" rot="180" params="type=timed,time=4"/> <obj type="switch04" x="195" y="393" rot="180" params="type=timed,time=2"/> <obj type="animal01" x="122" y="520" rot="0" params=""/> <obj type="static girder" x="-22" y="560" rot="-90" params=""/> <obj type="static girder" x="82" y="560" rot="-90" params=""/> <obj type="portal_entry02" x="51" y="73" rot="0" params=""/> <obj type="portal_exit02" x="47" y="411" rot="0" params=""/> <obj type="animal02" x="24" y="451" rot="0" params=""/> <obj type="pathblock07" x="287" y="379" rot="0" params="line=path01,switch=switch04,loop=false,speed=0.02,endreset=true"/> <obj type="static girder" x="107" y="534" rot="-180" params=""/> <obj type="redSticker" x="278" y="360" rot="0" params=""/> <obj type="blueSticker" x="198" y="196" rot="0" params=""/> <obj type="blueSticker" x="302" y="195" rot="0" params=""/> <obj type="redSticker" x="279" y="572" rot="0" params=""/> <obj type="greenSticker" x="394" y="352" rot="0" params=""/> <obj type="greenSticker" x="400" y="439" rot="0" params=""/> <line type="0" name="" fill="3" fillscale="1"> <points a="2,160, 124,172, 193,176, 207,177, 216,185, 219,196, 212,208, 201,228, 200,251, 205,284"/> <points a="211,311, 230,321, 256,325, 280,321, 300,311, 312,285, 315,248, 304,203, 298,191, 302,178"/> <points a="313,170, 401,164, 493,150, 624,132, 699,111, 753,125, 707,362, 632,362, 605,359, 595,347"/> <points a="594,333, 599,303, 596,269, 581,248, 557,240, 526,244, 508,260, 500,285, 502,312, 508,335"/> <points a="514,357, 508,368, 493,374, 467,375, 333,374, 226,381, 120,377, 15,389, -80,372, -75,166"/> <points a="1,159"/> </line> <line type="1" name="y8" fill="0" fillscale="1"> <points a="230,189, 231,291, 230,189"/> </line> <line type="1" name="y9" fill="0" fillscale="1"> <points a="399,378, 691,378, 399,378"/> </line> <line type="0" name="" fill="3" fillscale="1"> <points a="712,423, 483,432, 410,433, 396,448, 393,462, 366,534, 348.5,553.5, 324,572, 261,572, 115,572"/> <points a="13,594, -31,593, -61,691, 727,690"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="287,380, 287,788, 287,380"/> </line> </level> <level name="Bagatelle Of Death" category="1" fillframe="9" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="100" silver="200"/> <obj type="hosesmall" x="331" y="29" rot="0" params=""/> <obj type="generator" x="145" y="30" rot="0" params="delay=5,object=badguy_killguinea"/> <obj type="generator" x="225" y="31" rot="0" params="delay=6,object=badguy_killguinea"/> <obj type="generator" x="503" y="33" rot="0" params="delay=5,object=badguy_killguinea"/> <obj type="generator" x="580" y="33" rot="0" params="delay=6,object=badguy_killguinea"/> <obj type="seesaw" x="185" y="154" rot="0" params=""/> <obj type="seesaw" x="540" y="151" rot="0" params=""/> <obj type="seesaw" x="240" y="228" rot="0" params=""/> <obj type="seesaw" x="303" y="297" rot="0" params=""/> <obj type="seesaw" x="480" y="226" rot="0" params=""/> <obj type="seesaw" x="430" y="294" rot="0" params=""/> <obj type="seesaw" x="113" y="230" rot="0" params=""/> <obj type="seesaw" x="53" y="306" rot="0" params=""/> <obj type="seesaw" x="179" y="300" rot="0" params=""/> <obj type="seesaw" x="609" y="224" rot="0" params=""/> <obj type="seesaw" x="546" y="292" rot="0" params=""/> <obj type="seesaw" x="666" y="294" rot="0" params=""/> <obj type="seesaw" x="248" y="374" rot="0" params=""/> <obj type="seesaw" x="376" y="373" rot="0" params=""/> <obj type="seesaw" x="496" y="373" rot="0" params=""/> <obj type="seesaw" x="103" y="376" rot="0" params=""/> <obj type="seesaw" x="620" y="371" rot="0" params=""/> <obj type="animal06" x="122" y="543" rot="-90" params=""/> <obj type="animal06" x="354" y="531" rot="-90" params=""/> <obj type="animal06" x="543" y="528" rot="-90" params=""/> <line type="0" name="" fill="1" fillscale="1"> <points a="77,624, 71,564, 75,532, 86,520, 98,523, 114,549, 134,560, 157,557, 174,545, 185,526"/> <points a="196,522, 210,535, 218,565, 212,608, 204,632"/> </line> <line type="0" name="" fill="1" fillscale="1"> <points a="317,629, 302,578, 301,543, 309,517, 326,518, 335,528, 344,543, 368,551, 390,547, 406,530"/> <points a="420,515, 438,518, 448,537, 446,562, 429,594, 386,639"/> </line> <line type="0" name="" fill="1" fillscale="1"> <points a="536,635, 514,583, 504,532, 504,517, 512,508.5, 525,511, 531,526, 549,553, 571,551, 589,549"/> <points a="592,514, 608,503, 620,508, 627,523, 626,572, 617,615, 594,643"/> </line> </level> <level name="Be Quick" category="1" fillframe="17" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="30"/> <obj type="animal06" x="488" y="427" rot="0" params=""/> <obj type="veryheavyball01" x="538" y="29" rot="0" params=""/> <obj type="hose" x="215" y="333" rot="0" params=""/> <line type="0" name="" fill="4" fillscale="1"> <points a="158,-32, 179,32, 177,152, 323,178, 322,195, 411,211, 408,243, 234,236, 121,301, -48,404"/> <points a="-42,-38, 161,-30"/> </line> <line type="0" name="" fill="4" fillscale="1"> <points a="358,95, 364,131, 572,126, 626,202, 751,245, 748,160, 691,133, 650,41, 358,94"/> </line> <line type="0" name="" fill="4" fillscale="1"> <points a="18,607, 122,544, 170,617, 175,678, 17,608"/> </line> <line type="0" name="" fill="4" fillscale="1"> <points a="310,606, 414,547, 426,518, 430,467, 444,321, 470,342, 472,405, 472,469, 522,470, 524,356"/> <points a="522,341, 553,320, 566,469, 572,529, 596,550, 693,604, 691,648, 310,607"/> </line> </level> <level name="Bad Snakeys" category="1" fillframe="12" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="70" silver="140"/> <obj type="hose" x="76" y="241" rot="0" params=""/> <obj type="badguy_path_killguinea" x="214" y="223" rot="0" params="loop=true,line=path01,speed=0.003,startpos=0"/> <obj type="badguy_path_killguinea" x="214" y="223" rot="0" params="loop=true,line=path01,speed=0.003,startpos=0.01"/> <obj type="badguy_path_killguinea" x="214" y="223" rot="0" params="loop=true,line=path01,speed=0.003,startpos=0.02"/> <obj type="badguy_path_killguinea" x="214" y="223" rot="0" params="loop=true,line=path01,speed=0.003,startpos=0.03"/> <obj type="badguy_path_killguinea" x="214" y="223" rot="0" params="loop=true,line=path01,speed=0.003,startpos=0.04"/> <obj type="badguy_path_killguinea" x="361" y="257" rot="0" params="loop=true,line=path02,speed=0.004,startpos=0.3"/> <obj type="badguy_path_killguinea" x="361" y="257" rot="0" params="loop=true,line=path02,speed=0.004,startpos=0.31"/> <obj type="badguy_path_killguinea" x="361" y="257" rot="0" params="loop=true,line=path02,speed=0.004,startpos=0.32"/> <obj type="badguy_path_killguinea" x="361" y="257" rot="0" params="loop=true,line=path02,speed=0.004,startpos=0.33"/> <obj type="badguy_path_killguinea" x="361" y="257" rot="0" params="loop=true,line=path02,speed=0.004,startpos=0.34"/> <obj type="badguy_path_killguinea" x="506" y="310" rot="0" params="loop=true,line=path03,speed=0.0035,startpos=0.6"/> <obj type="badguy_path_killguinea" x="506" y="310" rot="0" params="loop=true,line=path03,speed=0.0035,startpos=0.61"/> <obj type="badguy_path_killguinea" x="506" y="310" rot="0" params="loop=true,line=path03,speed=0.0035,startpos=0.62"/> <obj type="badguy_path_killguinea" x="506" y="310" rot="0" params="loop=true,line=path03,speed=0.0035,startpos=0.63"/> <obj type="badguy_path_killguinea" x="506" y="310" rot="0" params="loop=true,line=path03,speed=0.0035,startpos=0.64"/> <obj type="staticblock01" x="466" y="476" rot="0" params=""/> <obj type="staticblock01" x="466" y="527" rot="0" params=""/> <obj type="staticblock01" x="518" y="528" rot="0" params=""/> <obj type="staticblock01" x="569" y="528" rot="0" params=""/> <obj type="staticblock01" x="569" y="476" rot="0" params=""/> <obj type="staticblock01" x="417" y="527" rot="0" params=""/> <obj type="staticblock01" x="364" y="526" rot="0" params=""/> <obj type="staticblock01" x="364" y="474" rot="0" params=""/> <obj type="staticblock01" x="312" y="526" rot="0" params=""/> <obj type="staticblock01" x="260" y="526" rot="0" params=""/> <obj type="staticblock01" x="259" y="474" rot="0" params=""/> <obj type="animal06" x="316" y="524" rot="-90" params=""/> <obj type="animal06" x="420" y="523" rot="-90" params=""/> <obj type="animal06" x="522" y="525" rot="-90" params=""/> <obj type="staticblock01" x="210" y="526" rot="0" params=""/> <obj type="staticblock01" x="160" y="526" rot="0" params=""/> <obj type="staticblock01" x="159" y="476" rot="0" params=""/> <obj type="staticblock01" x="108" y="527" rot="0" params=""/> <obj type="staticblock01" x="59" y="527" rot="0" params=""/> <obj type="staticblock01" x="58" y="476" rot="0" params=""/> <line type="2" name="path01" fill="0" fillscale="1"> <points a="206,234, 263,170, 356,110, 435,97, 492,113, 536,183, 545,298, 507,385, 411,489, 286,504"/> <points a="236,465, 182,397, 176,339, 187,269, 207,234"/> </line> <line type="2" name="path02" fill="0" fillscale="1"> <points a="406,297, 417,237, 404,163, 364,81, 284,68, 235,95, 245,130, 295,195, 283,267, 223,334"/> <points a="145,411, 132,479, 186,544, 304,557, 382,517, 389,412, 389,338, 406,296"/> </line> <line type="2" name="path03" fill="0" fillscale="1"> <points a="618,404, 612,300, 547,243, 489,289, 424,378, 337,406, 307,367, 311,277, 342,192, 379,167"/> <points a="412,204, 426,315, 444,413, 501,456, 581,446, 619,403"/> </line> </level> <level name="Exceptional Timing" category="1" fillframe="7" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="40"/> <obj type="hose" x="511" y="77" rot="0" params=""/> <obj type="animal05" x="63" y="362" rot="0" params=""/> <obj type="animal06" x="207" y="448" rot="0" params=""/> <obj type="heavyball01" x="699" y="428" rot="0" params=""/> <obj type="static crane1" x="595" y="462" rot="-14" params=""/> <obj type="static crane1" x="461" y="478" rot="-7" params=""/> <obj type="static crane1" x="323" y="492" rot="-6" params=""/> <obj type="static crane1" x="190" y="492" rot="0" params=""/> <obj type="static crane1" x="203" y="244" rot="90" params=""/> <obj type="static crane1" x="203" y="384" rot="90" params=""/> <obj type="static crane1" x="203" y="522" rot="90" params=""/> <obj type="static crane1" x="300" y="246" rot="180" params=""/> <obj type="static crane1" x="438" y="246" rot="180" params=""/> <obj type="static crane1" x="392" y="342" rot="270" params=""/> <obj type="static crane1" x="72" y="360" rot="270" params=""/> <obj type="static crane1" x="72" y="220" rot="270" params=""/> <obj type="static crane1" x="73" y="81" rot="310" params=""/> <obj type="static crane1" x="410" y="-35" rot="360" params=""/> <obj type="static crane1" x="271" y="-35" rot="360" params=""/> <obj type="static crane1" x="132" y="14" rot="340" params=""/> <obj type="static crane1" x="112" y="445" rot="90" params=""/> <obj type="static crane1" x="112" y="584" rot="90" params=""/> </level> <level name="CocoPenguin Shy" category="1" fillframe="15" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="70" silver="140"/> <obj type="hose" x="122" y="189" rot="0" params=""/> <obj type="animal06" x="366" y="86" rot="0" params=""/> <obj type="animal06" x="302" y="208" rot="0" params=""/> <obj type="animal06" x="310" y="336" rot="0" params=""/> <obj type="animal06" x="236" y="402" rot="0" params=""/> <obj type="portal_entry01" x="300" y="495" rot="0" params=""/> <obj type="portal_entry01" x="439" y="157" rot="0" params=""/> <obj type="portal_exit01" x="75" y="370" rot="0" params=""/> <obj type="hose" x="620" y="206" rot="0" params=""/> <obj type="animal06" x="465" y="266" rot="0" params=""/> <obj type="animal06" x="478" y="368" rot="0" params=""/> <obj type="portal_entry01" x="413" y="489" rot="0" params=""/> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="-5,589, -8,242, 15,239, 39,246, 35,543, 117,547, 118,406, 136,400, 151,407, 155,602"/> <points a="-6,616, -3,589"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="236,464, 236,445, 254,445, 255,466, 236,464"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="314,400, 314,379, 333,380, 334,401"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="308,269, 307,250, 327,249, 328,271"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="473,329, 472,307, 493,308, 492,328"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="487,431, 486,411, 505,411, 506,432"/> </line> <line type="0" name="undefined" fill="4" fillscale="1"> <points a="365,147, 365,127, 387,126, 384,148"/> </line> </level> <level name="Building Blocks" category="1" fillframe="12" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="40" silver="80"/> <obj type="static girder" x="296" y="588" rot="0" params=""/> <obj type="portal_exit01" x="358" y="412" rot="0" params=""/> <obj type="staticblock01" x="21" y="0" rot="0" params=""/> <obj type="staticblock01" x="22" y="48" rot="0" params=""/> <obj type="staticblock01" x="207" y="-2" rot="0" params=""/> <obj type="staticblock01" x="208" y="48" rot="0" params=""/> <obj type="staticblock01" x="257" y="-2" rot="0" params=""/> <obj type="staticblock01" x="258" y="49" rot="0" params=""/> <obj type="staticblock01" x="627" y="0" rot="0" params=""/> <obj type="staticblock01" x="627" y="49" rot="0" params=""/> <obj type="staticblock01" x="505" y="1" rot="0" params=""/> <obj type="staticblock01" x="505" y="51" rot="0" params=""/> <obj type="staticblock01" x="455" y="1" rot="0" params=""/> <obj type="staticblock01" x="455" y="51" rot="0" params=""/> <obj type="staticblock01" x="405" y="1" rot="0" params=""/> <obj type="staticblock01" x="405" y="51" rot="0" params=""/> <obj type="pathblock02" x="105" y="81" rot="0" params="line=xx1,speed=0.05,loop=false, switch=switch02"/> <obj type="pathblock02" x="308" y="81" rot="0" params="line=xx2,speed=0.05,loop=false, switch=switch03"/> <obj type="pathblock02" x="543" y="80" rot="0" params="line=xx3,speed=0.05,loop=false, switch=switch04"/> <obj type="switch02" x="47" y="110" rot="180" params=""/> <obj type="switch03" x="264" y="110" rot="180" params=""/> <obj type="switch04" x="506" y="112" rot="-180" params=""/> <obj type="redSticker" x="536" y="63" rot="0" params=""/> <obj type="greenSticker" x="291" y="59" rot="0" params=""/> <obj type="blueSticker" x="54" y="62" rot="0" params=""/> <obj type="portal_entry01" x="364" y="146" rot="0" params=""/> <obj type="portal_entry01" x="596" y="143" rot="0" params=""/> <obj type="mincer" x="100" y="318" rot="0" params=""/> <obj type="portal_entry01" x="101" y="491" rot="0" params=""/> <obj type="hose" x="351" y="247" rot="0" params=""/> <obj type="switch01" x="651" y="510" rot="0" params=""/> <obj type="cage" x="652" y="500" rot="0" params=""/> <obj type="ball02" x="577" y="39" rot="0" params=""/> <obj type="portal_entry02" x="140" y="149" rot="0" params=""/> <obj type="portal_exit02" x="309" y="415" rot="55" params=""/> <obj type="block02" x="93" y="53" rot="0" params=""/> <obj type="animal01" x="637" y="298" rot="0" params=""/> <obj type="block01" x="331" y="25" rot="0" params=""/> <obj type="movingblock04flipped" x="582" y="284" rot="0" params="line=xx4,speed=0.05,loop=false, switch=switch01"/> <line type="0" name="" fill="0" fillscale="1"> <points a="269,617, 320,600, 310,545, 296,489, 265,391, 371,379, 370,349, 179,357, 152.5,358.5, 138,370"/> <points a="129.5,521.5, 73,521, 47.5,375.5, 32,356, -6.5,355.5, -33,369, -14,605, 271,619"/> </line> <line type="0" name="" fill="0" fillscale="1"> <points a="444,628, 384,606, 384,538, 384,515, 429,512, 430,490, 613,522, 680,522, 677,434, 621,429"/> <points a="612,509, 477,484, 468,380, 369,378, 370,350, 482,354, 725,349, 722,646, 445,629"/> </line> <line type="1" name="xx1" fill="0" fillscale="1"> <points a="95,83, 209,84"/> </line> <line type="1" name="xx2" fill="0" fillscale="1"> <points a="312,85, 414,83"/> </line> <line type="1" name="xx3" fill="0" fillscale="1"> <points a="544,84, 704,84"/> </line> <line type="0" name="" fill="0" fillscale="1"> <points a="24,97, 50,128, 58,169, 68,197, 107,210, 180,211, 357,208, 435,211, 583,203, 583.375,276.625"/> <points a="682.75,255.25, 688.125,348.875, 632.5,353.5, 724,350, 742,101, 643,99, 638,143, 624,172, 593,180, 510,181"/> <points a="438,184, 238,183, 151,186, 106,177, 87,162, 70,99"/> </line> <line type="1" name="xx4" fill="0" fillscale="1"> <points a="580,283, 578,211"/> </line> </level> <level name="Magno Timing" category="1" fillframe="17" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="20" silver="40"/> <obj type="magnet01" x="284" y="403" rot="0" params="polarity=false,mode=switch,switch=switch03"/> <obj type="magnet01" x="320" y="94" rot="0" params="polarity=true,mode=switch,switch=switch03"/> <obj type="magnet01" x="617" y="149" rot="0" params="polarity=false,mode=switch,switch=switch03"/> <obj type="hose" x="66" y="429" rot="0" params=""/> <obj type="switch03" x="422" y="544" rot="271" params="type=2way"/> <obj type="animal03" x="607" y="400" rot="0" params=""/> <line type="0" name="" fill="4" fillscale="1"> <points a="4,391, 130,407, 236,403, 272,372, 281,325, 278,216, 274,111, 307,56, 377,36, 489,34"/> <points a="651,35, 698,33, 781,32, 756,-115, -2,-58, -15,367, 5,392"/> </line> <line type="0" name="" fill="4" fillscale="1"> <points a="564,136, 558,120, 471,113, 434,131, 422,216, 426,282, 428,371, 433,515, 435,603, 786,617"/> <points a="730,116, 696,121, 688,213, 691,421, 689,468, 614,482, 575,478, 560,428, 564,318, 564,138"/> </line> </level> <level name="One Chance" category="1" fillframe="14" surfaceframe="5" surfacethickness="10" type="none" opponents="" win="1" exclusivechar="1"> <times gold="15" silver="30"/> <obj type="hose" x="50" y="224" rot="0" params=""/> <obj type="pathblock01" x="370" y="256" rot="0" params="switch=switch01,line=path01,speed=0.02,loop=false"/> <obj type="switch01" x="464" y="116" rot="-80" params="once"/> <obj type="animal05" x="544" y="485" rot="0" params=""/> <line type="0" name="" fill="2" fillscale="1"> <points a="449,638, 457,560, 462,512, 488,484, 495,445, 484,425, 433,391, 412,375, 402,356, 401,341"/> <points a="412,328, 425,325, 453,328, 477,341, 497,360, 517,403, 519,457, 521,506, 530,558, 552,575"/> <points a="582,573, 606,565, 626,538, 635,482, 635,418, 634,311, 620,258, 599,209, 587,157, 562,134"/> <points a="522,134, 486,161, 470,203, 459,231, 431,239, 420,239, 405,232, 392,203, 393,161, 404,145"/> <points a="426,145, 454,149, 470,141, 481,87, 497,60, 547,34, 592,32, 614,22, 636,-27, 670,-48"/> <points a="744,-33, 732,640"/> </line> <line type="1" name="path01" fill="0" fillscale="1"> <points a="351,256, 351,458, 351,256"/> </line> </level> <!-- *************************************************************************************** --> <!-- END OF MEDIUM LEVELS --> <!-- *************************************************************************************** --> <physobj name="hose" inlibrary="true" initfunction="InitPhysObj_Hose"> <body name="piecex" pos="0,0" fixed="true" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="27" gameobjfunction="GameObj_InitHoseSwitch"/> <shape type="circle" pos="0,0" name="" col="0,0" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece0" pos="0,10" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="26"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece1" pos="0,20" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="25"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece2" pos="0,30" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="24"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece3" pos="0,40" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="23"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece4" pos="0,50" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="22"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece5" pos="0,60" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="21"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece6" pos="0,70" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="20"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece7" pos="0,80" fixed="false" sensor="false" aangulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="100"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <!-- <joint type = "mouse" name = "joint0" body0 = "piecex" body1 = "piece0" pos = "0,0" /> --> <joint type="rev" name="joint1" body0="piecex" body1="piece0" pos="0,0" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint1" body0="piece0" body1="piece1" pos="0,10" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint2" body0="piece1" body1="piece2" pos="0,20" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint3" body0="piece2" body1="piece3" pos="0,30" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint4" body0="piece3" body1="piece4" pos="0,40" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint5" body0="piece4" body1="piece5" pos="0,50" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint6" body0="piece5" body1="piece6" pos="0,60" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint7" body0="piece6" body1="piece7" pos="0,70" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> </physobj> <physobj name="hosesmall" inlibrary="true" initfunction="InitPhysObj_Hose"> <body name="piecex" pos="0,0" fixed="true" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="25" gameobjfunction="GameObj_InitHoseSwitch"/> <shape type="circle" pos="0,0" name="" col="0,0" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece0" pos="0,10" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="24"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece1" pos="0,20" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="23"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece2" pos="0,30" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="22"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece3" pos="0,40" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="21"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece4" pos="0,50" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="20"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece5" pos="0,60" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="100"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <joint type="rev" name="joint1" body0="piecex" body1="piece0" pos="0,0" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint1" body0="piece0" body1="piece1" pos="0,10" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint2" body0="piece1" body1="piece2" pos="0,20" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint3" body0="piece2" body1="piece3" pos="0,30" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint4" body0="piece3" body1="piece4" pos="0,40" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint5" body0="piece4" body1="piece5" pos="0,50" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> </physobj> <physobj name="hoselarge" inlibrary="true" initfunction="InitPhysObj_Hose"> <body name="piecex" pos="0,0" fixed="true" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="32" gameobjfunction="GameObj_InitHoseSwitch"/> <shape type="circle" pos="0,0" name="" col="0,0" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece0" pos="0,10" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="31"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece1" pos="0,20" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="30"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece2" pos="0,30" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="29"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece3" pos="0,40" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="28"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece4" pos="0,50" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="27"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece5" pos="0,60" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="26"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece6" pos="0,70" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="25"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece7" pos="0,80" fixed="false" sensor="false" aangulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="24"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece8" pos="0,90" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="23"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece9" pos="0,100" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="22"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece10" pos="0,110" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="21"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece11" pos="0,120" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="20"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <body name="piece12" pos="0,130" fixed="false" sensor="false" angulardamping="%hoseangdamp" lineardamping="%hoselindamp"> <graphic clip="Objects" frame="1" pos="0,0" rot="0" zoffset="100"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="5" density="%hosedensity" friction="0.2" restitution="0.5"/> </body> <!-- <joint type = "mouse" name = "joint0" body0 = "piecex" body1 = "piece0" pos = "0,0" /> --> <joint type="rev" name="joint1" body0="piecex" body1="piece0" pos="0,0" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint1" body0="piece0" body1="piece1" pos="0,10" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint2" body0="piece1" body1="piece2" pos="0,20" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint3" body0="piece2" body1="piece3" pos="0,30" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint4" body0="piece3" body1="piece4" pos="0,40" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint5" body0="piece4" body1="piece5" pos="0,50" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint6" body0="piece5" body1="piece6" pos="0,60" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint7" body0="piece6" body1="piece7" pos="0,70" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint8" body0="piece7" body1="piece8" pos="0,80" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint9" body0="piece8" body1="piece9" pos="0,90" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint10" body0="piece9" body1="piece10" pos="0,100" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint11" body0="piece10" body1="piece11" pos="0,110" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="rev" name="joint12" body0="piece11" body1="piece12" pos="0,120" enablelimit="true" lowerangle="%hoselowerang" upperangle="%hoseupperang" enablemotor="false" motorspeed="0" maxmotortorque="0"/> </physobj> <!-- *************************** Guinea Pigs ******************************* --> <physobj name="guineapig" inlibrary="true" initfunction="InitPhysObj_Ball"> <body name="body" pos="0,0" fixed="false" sensor="false" angulardamping="2" lineardamping="0.2"> <graphic clip="guinea_pig" frame="1" pos="0,0" rot="0" zoffset="100" gameobjfunction="InitBall"/> <shape type="circle" pos="0,0" name="" col="8,15" radius="12" density="0.1" friction="0.2" restitution="0.35"/> </body> </physobj> <!-- *************************** Dynamic Objects ******************************* --> <physobj name="bubblesplat" inlibrary="true" initfunction="InitPhysObj_BubbleSplat"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="BubbleSplat" frame="1" pos="0,0" rot="0" zoffset="-500"/> <shape type="circle" pos="0,0" name="" col="4,3" radius="2" density="1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="block01" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="DynamicObjects" frame="1" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,50, 0,50" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="block02" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="DynamicObjects" frame="2" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 100,0, 100,20, 0,20" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="block03" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="DynamicObjects" frame="3" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 20,0, 20,20, 0,20" density="0.6" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="block04" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="DynamicObjects" frame="4" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 35,0, 35,35, 0,35" density="0.6" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="block05" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="DynamicObjects" frame="5" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 37,-1, 19,41" density="0.6" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="ball01" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="1" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="28" density="0.1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="ball02" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="2" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="23" density="0.1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="ball03" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="3" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="15" density="0.1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="ball04" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="4" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="11" density="0.1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="heavyball01" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="1" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="28" density="0.4" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="veryheavyball01" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="1" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="28" density="1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="heavyball02" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="2" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="23" density="0.4" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="heavyball03" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="3" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="15" density="0.4" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="heavyball04" inlibrary="true"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="4" pos="0,0" rot="0" zoffset="3"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="11" density="0.4" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="cannonball" inlibrary="true" initfunction="InitPhysObj_Cannonball"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Balls" frame="4" pos="0,0" rot="0" zoffset="60"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="11" density="1" friction="0.2" restitution="0.5"/> </body> </physobj> <!-- *************************** Static Objects ******************************* --> <physobj name="staticblock01" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="1" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,50, 0,50" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="staticblock02" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="2" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 100,0, 100,20, 0,20" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="staticblock03" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="3" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 20,0, 20,20, 0,20" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="staticblock04" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="4" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 35,0, 35,35, 0,35" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="treetrunk" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="5" pos="0,0" rot="0" zoffset="5"/> <shape type="poly" name="" col="2,15" vertices="0,0, 90,-8, 72,255, -2,250" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="treetop" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="6" pos="0,0" rot="0" zoffset="4"/> <shape type="poly" name="" col="2,15" vertices="85,200, 230,200, 220,280, 115,280" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="treebranch" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="7" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,10, 210,25, 210,53, 3,40" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="branch2" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="15" pos="0,0" rot="0" zoffset="6"/> <shape type="poly" name="" col="2,15" vertices="0,0, 233,30, 225,66, 0,33" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="statictreehouse" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="8" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="12,40, 120,40, 130,70, 4,67" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="statictriangle" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="9" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 77,68, 0,65" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="staticstick" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="10" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 12,0, 12,100, -1,100" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="staticrope" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="11" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 12,0, 12,100, -1,100" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="plantdecoration" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="12" pos="0,0" rot="0" zoffset="2"/> </body> </physobj> <physobj name="ladderdecoration" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="13" pos="0,0" rot="0" zoffset="2"/> </body> </physobj> <physobj name="static icefloor" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="14" pos="0,0" rot="0" zoffset="2"/> <shape type="poly" name="" col="2,15" vertices="0,0, 82,0, 82,40, 0,40" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="static icewall" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="16" pos="0,0" rot="0" zoffset="2"/> <shape type="poly" name="" col="2,15" vertices="-20,0, 7,0, 60,80, 180,135, 180,160, -20,160" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="static icewall2" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="17" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 360,0, 360,110, 0,110" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="static icecorner" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="18" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 43,-35, 98,-52, 151,-40, 215,9, 96,53" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="icefill" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="19" pos="0,0" rot="0" zoffset="3"/> </body> </physobj> <physobj name="bamboo decoration1" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="20" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 40,0, 30,230, 46,335, -2,335" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="bamboo decoration2" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="21" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 40,0, 30,230, 46,335, -2,335" density="1" friction="1.2" restitution="0.2"/> </body> </physobj> <physobj name="bambooleaves" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="22" pos="0,0" rot="0" zoffset="2"/> </body> </physobj> <physobj name="ropeknot" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="23" pos="0,0" rot="0" zoffset="2"/> </body> </physobj> <physobj name="static girder" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="25" pos="0,0" rot="0" zoffset="2"/> <shape type="poly" name="" col="2,15" vertices="0,0, 150,0, 150,30, 0,30 " density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="static metal pole" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="26" pos="0,0" rot="0" zoffset="2"/> <shape type="poly" name="" col="2,15" vertices="0,0, 23,0, 23,170, 0,170 " density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="hinge" inlibrary="true"> <body name="fix" pos="0,0" fixed="true" sensor="false"> </body> <body name="rotator" pos="0,0" fixed="false" sensor="false"> <graphic clip="DynamicObjects" frame="6" pos="0,0" rot="0"/> <shape type="poly" name="" col="2,13" vertices="0,-6, 100,-6, 100,6, 0,6" density="0.5" friction="0.5" restitution="0.2"/> </body> <joint type="rev" name="joint1" body0="fix" body1="rotator" pos="0,0" enablelimit="false" lowerangle="0" upperangle="0" enablemotor="false" motorspeed="0" maxmotortorque="1"/> </physobj> <physobj name="hinge_rotating" inlibrary="true"> <body name="fix" pos="0,0" fixed="true" sensor="false"> </body> <body name="rotator" pos="0,0" fixed="false" sensor="false"> <graphic clip="DynamicObjects" frame="7" pos="0,0" rot="0"/> <shape type="poly" name="" col="2,13" vertices="0,-6, 100,-6, 100,6, 0,6" density="0.5" friction="0.5" restitution="0.2"/> </body> <joint type="rev" name="joint1" body0="fix" body1="rotator" pos="0,0" enablelimit="false" lowerangle="0" upperangle="0" enablemotor="true" motorspeed="1" maxmotortorque="1000"/> </physobj> <physobj name="bumper" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="24" pos="0,0" rot="0" zoffset="2"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="14" density="0.1" friction="0.2" restitution="1.1"/> </body> </physobj> <physobj name="static crane1" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="27" pos="0,0" rot="0" zoffset="2"/> <shape type="poly" name="" col="2,15" vertices="0,0, 140,0, 140,43, 0,43 " density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="static crane2" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="28" pos="0,0" rot="0" zoffset="2"/> <shape type="poly" name="" col="2,15" vertices="0,0, 60,0, 60,160, 0,160 " density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="craneslider" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="29" pos="0,0" rot="0" zoffset="12000"/> </body> </physobj> <physobj name="cranecornerright" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="30" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 61,51, 61,165, 0,165 " density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="cranecornerleft" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="31" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,50, 60,1, 60,165, 0,165 " density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="steelcornerright" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="StaticObjects" frame="32" pos="0,0" rot="0" zoffset="1"/> <shape type="poly" name="" col="2,15" vertices="0,0, 62,57, 0,62" density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="magma_killguinea" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="Magma" frame="1" pos="0,0" rot="0" zoffset="1" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="0,0, 123,0, 123,40, 0,40" density="1" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="helpoverlay1" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="help_overlay1" frame="1" pos="0,0" rot="0" zoffset="1" gameobjfunction="GameObj_InitCycleAnim"/> </body> </physobj> <physobj name="helpoverlay2" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="help_overlay2" frame="1" pos="0,0" rot="0" zoffset="1" gameobjfunction="GameObj_InitCycleAnim"/> </body> </physobj> <!-- *************************** Movable Objects ******************************* --> <physobj name="pathblock01" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject1" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,50, 0,50" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="pathblock02" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject2" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="0,0, 100,0, 100,20, 0,20" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="pathblock03" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject3" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="0,0, 100,0, 100,85, 0,85" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="movingblock04" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject4" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="2,25, 56,-5, 60,68, 3,69" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="movingblock04flipped" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject4flipped" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="-3,0, 55,25, 55,66, 0,66" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="movingblock04flat" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject4flat" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="0,0, 59,0, 59,45, 0,45" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="pathblock05" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject5" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="0,0, 73,0, 73,14, 0,14" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="pathblock06" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MoveableObject6" frame="1" pos="0,0" rot="0" zoffset="11000" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="poly" name="" col="2,15" vertices="0,0, 60,15, 60,25, 0,25" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="pathblock07" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MovableObjects" frame="6" pos="0,0" rot="0" zoffset="11000"/> <shape type="poly" name="" col="2,15" vertices="-10,0, 10,0, 10,500, -10,500" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <physobj name="pathblock08" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="MovableObjects" frame="7" pos="0,0" rot="0" zoffset="11000"/> <shape type="poly" name="" col="2,15" vertices="0,-10, 500,-10, 500,10, 0,10" density="4" friction="0.2" restitution="0.2"/> </body> </physobj> <!-- *************************** Breakable Objects ******************************* --> <physobj name="breakableblock01" inlibrary="true" initfunction="InitPhysObj_Breakable"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="BreakableObjects" frame="1" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 100,0, 100,20, 0,20" density="4" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="breakableblock02" inlibrary="true" initfunction="InitPhysObj_Breakable"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="BreakableObjects2" frame="1" pos="0,0" rot="0" zoffset="3"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,50, 0,50" density="4" friction="1" restitution="0.2"/> </body> </physobj> <physobj name="cage" inlibrary="true" initfunction="InitPhysObj_Breakable"> <body name="body" pos="0,0" fixed="true" sensor="false"> <graphic clip="SwitchCage" frame="1" pos="0,0" rot="0" zoffset="-100"/> <shape type="poly" name="" col="2,15" vertices="-28,0, 28,0, 28,24, -28,24" density="4" friction="1" restitution="0.2"/> </body> </physobj> <!-- *************************** Animals ******************************* --> <physobj name="animal01" inlibrary="true" initfunction="InitPhysObj_Animal01"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Animal1" frame="1" pos="0,0" rot="0" zoffset="1"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,50, 0,50" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="animal02" inlibrary="true" initfunction="InitPhysObj_Animal02"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Animal2" frame="1" pos="0,0" rot="0" zoffset="1"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,35, 0,35" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="animal03" inlibrary="true" initfunction="InitPhysObj_Animal03"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Animal3" frame="1" pos="0,0" rot="0" zoffset="1"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,50, 0,50" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="animal04" inlibrary="true" initfunction="InitPhysObj_Animal04"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Animal4" frame="1" pos="0,0" rot="0" zoffset="1"/> <shape type="poly" name="" col="2,15" vertices="0,0, 50,0, 50,50, 0,50" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="animal05" inlibrary="true" initfunction="InitPhysObj_Animal05"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Animal5" frame="1" pos="0,0" rot="0" zoffset="1"/> <shape type="poly" name="" col="2,15" vertices="0,0, 54,0, 54,80, 0,80" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="animal06" inlibrary="true" initfunction="InitPhysObj_Animal06"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="Animal6" frame="1" pos="0,0" rot="0" zoffset="1"/> <shape type="poly" name="" col="2,15" vertices="0,0, 30,0, 30,40, 0,40" density="0.3" friction="0.5" restitution="0.2"/> </body> </physobj> <!-- *************************** Switches ******************************* --> <physobj name="switch01" inlibrary="true" initfunction="InitPhysObj_Switch"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="switch_regular" frame="1" pos="0,0" rot="0" zoffset="3" gameobjfunction="GameObj_InitSwitch"/> </body> </physobj> <physobj name="switch02" inlibrary="true" initfunction="InitPhysObj_Switch"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="switch_blue" frame="1" pos="0,0" rot="0" zoffset="3" gameobjfunction="GameObj_InitSwitch"/> </body> </physobj> <physobj name="switch03" inlibrary="true" initfunction="InitPhysObj_Switch"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="switch_green" frame="1" pos="0,0" rot="0" zoffset="3" gameobjfunction="GameObj_InitSwitch"/> </body> </physobj> <physobj name="switch04" inlibrary="true" initfunction="InitPhysObj_Switch"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="switch_red" frame="1" pos="0,0" rot="0" zoffset="3" gameobjfunction="GameObj_InitSwitch"/> </body> </physobj> <!-- *************************** Portals ******************************* --> <physobj name="portal_entry01" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="PortalEntry" frame="1" pos="0,0" rot="0" zoffset="300" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="30" density="0.1" friction="0.2" restitution="1.1"/> </body> </physobj> <physobj name="portal_exit01" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="PortalExit" frame="1" pos="0,0" rot="0" zoffset="300" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="30" density="0.1" friction="0.2" restitution="1.1"/> </body> </physobj> <!-- *************************** Portals ******************************* --> <physobj name="portal_entry02" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="PortalEntry2" frame="1" pos="0,0" rot="0" zoffset="300" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="30" density="0.1" friction="0.2" restitution="1.1"/> </body> </physobj> <physobj name="portal_exit02" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="PortalExit2" frame="1" pos="0,0" rot="0" zoffset="300" gameobjfunction="GameObj_InitCycleAnim"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="30" density="0.1" friction="0.2" restitution="1.1"/> </body> </physobj> <!-- *************************** Switch stickers ******************************* --> <physobj name="greenSticker" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="switchStickers" frame="1" pos="0,0" rot="0" zoffset="-300"/> </body> </physobj> <physobj name="redSticker" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="switchStickers" frame="3" pos="0,0" rot="0" zoffset="-300"/> </body> </physobj> <physobj name="blueSticker" inlibrary="true"> <body name="body" pos="0,0" fixed="true" sensor="true"> <graphic clip="switchStickers" frame="2" pos="0,0" rot="0" zoffset="-300"/> </body> </physobj> <physobj name="swing_platform" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="top" pos="0,0" fixed="true" sensor="false"> <graphic clip="MovablePlatform" frame="1" pos="0,0" rot="0" zoffset="-2"/> <shape type="poly" name="" col="0,0" vertices="-14,-14,14,-14,14,14,-14,14" density="0.5" friction="1" restitution="0"/> </body> <body name="platform" pos="0,0" fixed="false" sensor="false" angulardamping="0.3" lineardamping="0.3"> <graphic clip="MovablePlatform" frame="2" pos="0,0" rot="0"/> <shape type="poly" name="" col="2,15" vertices="-50,0, 50,0, 50,10, -50,10" density="0.2" friction="1" restitution="0"/> </body> <joint type="distance" name="joint2" body0="top" body1="platform" pos="0,0" pos1="-50,50" distance="100" enablelimit="false" lowerangle="0" upperangle="0" enablemotor="false" motorspeed="0" maxmotortorque="0"/> <joint type="distance" name="joint3" body0="top" body1="platform" pos="0,0" pos1="50,50" distance="100" enablelimit="false" lowerangle="0" upperangle="0" enablemotor="false" motorspeed="0" maxmotortorque="0"/> </physobj> <physobj name="seesaw" inlibrary="true" initfunction="InitPhysObj_Path"> <sound hitball="1"/> <body name="fix" pos="0,0" fixed="true" sensor="false"> <shape type="poly" name="" col="0,0" vertices="-5,-5, 5,-5, 5,5, -5,5" density="0.1" friction="0.5" restitution="0.2"/> </body> <body name="lever" pos="0,0" fixed="false" sensor="false"> <graphic clip="SeeSaw" frame="2" pos="0,0" rot="0"/> <shape type="poly" name="" col="2,15" vertices="-50,-5, 50,-5, 50,5, -50,5" density="0.1" friction="0.5" restitution="0.2"/> </body> <joint type="rev" name="joint1" body0="fix" body1="lever" pos="0,0" enablelimit="true" lowerangle="-45" upperangle="45" enablemotor="false" motorspeed="0" maxmotortorque="0"/> </physobj> <physobj name="generator" inlibrary="true" initfunction="InitPhysObj_Generator"> <body name="fix" pos="0,0" fixed="true" sensor="false"> <graphic clip="Generator" frame="1" pos="0,0" rot="0"/> </body> </physobj> <physobj name="mincer" inlibrary="true" initfunction="InitPhysObj_Mincer"> <body name="fix" pos="0,0" fixed="true" sensor="true"> <graphic clip="Mincer" frame="1" pos="0,0" rot="0"/> <shape type="poly" name="" col="2,15" vertices="-40,-30, 40,-30, 40,30, -40,30" density="0.1" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="miniguineapig" inlibrary="false" initfunction="InitPhysObj_MiniBall"> <body name="body" pos="0,0" fixed="false" sensor="false"> <graphic clip="MiniGuineaPig" frame="1" pos="0,0" rot="0" zoffset="3" gameobjfunction="InitMiniBall"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="5" density="1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="badguy_killguinea" inlibrary="true" initfunction="InitPhysObj_BadguyTimed"> <body name="fix" pos="0,0" fixed="false" sensor="false"> <graphic clip="BadGuy01" frame="1" pos="0,0" rot="0"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="15" density="0.1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="badguy_path_killguinea" inlibrary="true" initfunction="InitPhysObj_Path"> <body name="fix" pos="0,0" fixed="true" sensor="true"> <graphic clip="BadGuy01" frame="1" pos="0,0" rot="0"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="15" density="0.1" friction="0.2" restitution="0.5"/> </body> </physobj> <physobj name="cannon" inlibrary="true" initfunction="InitPhysObj_Cannon"> <body name="cannon" pos="0,0" fixed="true" sensor="true"> <graphic clip="Cannon" frame="2" pos="0,0" rot="0" zoffset="50"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="30" density="0.1" friction="0.2" restitution="0.5"/> </body> <body name="fix" pos="0,0" fixed="true" sensor="true"> <graphic clip="Cannon" frame="1" pos="0,0" rot="0" zoffset="49"/> </body> </physobj> <physobj name="gate" inlibrary="true" initfunction="InitPhysObj_Gate"> <body name="fix" pos="0,0" fixed="true" sensor="false"> <shape type="poly" name="" col="0,0" vertices="-5,-5, 5,-5, 5,5, -5,5" density="0.1" friction="0.5" restitution="0.2"/> </body> <body name="gate" pos="0,0" fixed="false" sensor="false"> <graphic clip="Gate" frame="1" pos="0,0" rot="0"/> <shape type="poly" name="" col="2,15" vertices="-8,10, -8,-70, 8,-70, 8,10" density="0.1" friction="0.5" restitution="0.2"/> </body> <joint type="rev" name="joint1" body0="fix" body1="gate" pos="0,0" enablelimit="true" lowerangle="-90" upperangle="0" enablemotor="false" motorspeed="0" maxmotortorque="0"/> </physobj> <physobj name="springboard" inlibrary="true" initfunction="InitPhysObj_Springboard"> <body name="fix" pos="0,0" fixed="true" sensor="false"> <graphic clip="Springboard" frame="1" pos="0,0" rot="0"/> <shape type="poly" name="" col="2,15" vertices="-0,0, 40,0, 40,8, 0,8" density="0.1" friction="0.5" restitution="0.2"/> </body> </physobj> <physobj name="magnet01" inlibrary="true" initfunction="InitPhysObj_Magnet"> <body name="fix" pos="0,0" fixed="true" sensor="true"> <graphic clip="Magnet" frame="1" pos="0,0" rot="0"/> <shape type="circle" pos="0,0" name="" col="2,15" radius="150" density="0.1" friction="0.2" restitution="0.5"/> </body> </physobj> </data> ; public static var gameconstants:Object; static var cb:Function; public static function GetConstants(){ var _local1:*; var _local2:int; var _local3:XML; constants = new Object(); _local1 = xml.constants.constant.length(); _local2 = 0; while (_local2 < _local1) { _local3 = xml.constants.constant[_local2]; constants[_local3.@name] = _local3.@value; _local2++; }; gameconstants = new Object(); _local1 = xml.gameconstants.constant.length(); _local2 = 0; while (_local2 < _local1) { _local3 = xml.gameconstants.constant[_local2]; gameconstants[_local3.@name] = _local3.@value; _local2++; }; } public static function SendLevelStatsToServer(){ var path:String; var vars:URLVariables; var request:URLRequest; } public static function Load(_arg1:Function){ cb = _arg1; XmlLoadedInternal(); } public static function poo(_arg1:Event){ trace(loader.data.status); } public static function OutputString(_arg1:String){ System.setClipboard(_arg1); } static function XmlLoadedInternal(){ var _local1:int; XML.ignoreWhitespace = true; xml = new XML(xxx); GetConstants(); cb(); } public static function xmlLoaded(_arg1:Event){ var _local2:int; XML.ignoreWhitespace = true; xml = new XML(_arg1.target.data); GetConstants(); cb(); } } }//package
Section 135
//Fills (Fills) package { import flash.display.*; public dynamic class Fills extends MovieClip { } }//package
Section 136
//Font20 (Font20) package { import flash.text.*; public dynamic class Font20 extends Font { } }//package
Section 137
//Game (Game) package { import flash.events.*; import flash.display.*; import flash.geom.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; import flash.ui.*; import flash.system.*; public class Game { static const levelFinishedState_WON = 1; static const colCategory_Pellet:int = 4; static const levelFinishedState_NOT = 0; static const levelState_Editor = 3; static const levelState_EndScreen = 5; static const levelFinishedState_LOST = 2; static const levelState_Play = 1; static const colCategory_Ball:int = 2; static const levelState_Null = 2; static const levelState_LevelStart = 0; static const colCategory_Background:int = 1; static const levelState_Complete = 4; public static var scrollCX:Number; public static var scrollCY:Number; static var bgTimer:Number = 0; static var shakeCamTimer:int = 50; static var shakeCamTimerMax:int = 50; static var oldRecordPosX:Number; public static var playerRotLeaveGround:Number; public static var backWheelUpTimer:int = 0; static var levelFinishedState:int; static var boostModifier_BackSomersault:Number = 0.08; static var levelTimer:int; static var player_acc:Number = 200; static var shakeCamDX:Number = 0; static var bgFrame:int; static var boostModifier_RearWheelie:Number = 0.08; static var playerRecording:Array; static var panelRect:Rectangle = new Rectangle(200, 10, 200, 10); static var plungerHeldTimer:int = 0; public static var playerHitFloorTimerMax:int; static var player_calculated_boostmul:Number; public static var gravity; static var shootMode:int = 0; static var currentStartPointIndex:int; public static var frontWheelUpTimer:int = 0; public static var bikeWheelUpTimer:int; public static var currentWorldID:int = 0; public static var frontWheelDown:Boolean; public static var playerHitFloor:Boolean; static var scrollScale:Number = 1; static var physObjs:PhysObjs; public static var maxFallSpeed; static var shakeCamY:Number = 0; static var numLevels:int; static var currentScore:int; public static var scrollXa:Number; public static var levelBackSomersaults:int = 0; static var boost_minAirTime:Number = 50; public static var boostTimerMax:int; static var shakeCamX:Number = 0; static var currentProjectileType:int = 0; public static var playerHitFloorMaxRot:Number; public static var frontWheelieTimer:int = 0; public static var LevelUpdateCallback:Object; static var canShootPellet:Boolean; public static var scrollYa:Number; static var scrollAcc:Number; static var switchFlag:int = 0; static var numBikes:int; public static var oldPlayerRot:Number = 0; public static var levelForwardSomersaults:int = 0; static var player_maxvel:Number = 30; static var hoseMode:int = 0; public static var levelFrontWheelieTime:int = 0; static var shootHeldTime:int = 0; static var physGravity:Number = (300 * w2p); static var mouseJoint:b2MouseJoint = null; public static var bikeWheelDownTimer:int; static var scrollToDY:Number = 0; static var pauseGameplayInput:Boolean; static var scrollMaxVel:Number; static var raceTimer:int; static var p2w:Number = 20; static var numPigsSacrificed:int = 0; public static var polygonList:Array; public static var levelWheelieTime:int = 0; static var scrollToDX:Number = 0; public static var timesList:Array; static var numCreds:int; static var player_calculated_brake:Number; static var sitelocked:Boolean = false; public static var levelAirTime:int = 0; static var numBallsActive:int = 0; public static var scrollH:Number; static var numLives:int; public static var achievements:Achievements; public static var scrollW:Number; public static var scrollX:Number; static var soundon:Boolean = true; static var usedebug:Boolean = false; static var w2p:Number = (1 / p2w); public static var playerRot:Number = 0; static var cash:int; public static var scrollY:Number; static var panelRect1:Rectangle = new Rectangle(200, 3, 200, 5); static var dustAccum:Number = 0; static var player_calculated_angvel:Number; static var hoseTimer:int = 0; static var mouseox:Number = 0; public static var numCollisionTests:int; public static var playerHitFloorTimer:int; public static var boostTimer:int; static var levelState:int; static var levels:Array; public static var backWheelDown:Boolean; static var numBalloonsActive:int = 0; static var numWeapons:int = 5; static var boostModifier_AirTime:Number = 0.08; static var player_calculated_maxvel:Number; static var physObjInstances:PhysObj_Instances; static var level_instances:Array; static var previousStaticPoints:Array; static var currentLevel:int; static var physNumIterations:int = 20; static var boost_minWheelieTime:Number = 20; static var boostModifier_ForwardSomersault:Number = 0.12; public static var world:b2World; static var shakeCamToX:Number = 0; static var shakeCamToY:Number = 0; static var playerX:Number = 0; public static var playerRotCount:int; static var playerRecordingFlag:int = 0; static var player_calculated_acc:Number; static var playerOldX:Number = 0; static var levelStateCount:int; public static var boostLevel:Number; static var zsortoffset:Number = 0; static var scrollVel:Number; static var shakeCamDY:Number = 0; static var plungerMaxTime:int = 33; static var canUseObject:Boolean = false; static var numBallsActiveMax:int = 5; static var main:Main; public static var bikeWheelDown:Boolean; static var multiplier:int; static var cursorY:Number = 0; static var mousetimer:int = 0; static var groundBody:b2Body; public static var boostMultiplier:int; public static var wheelieTimer:int = 0; public static var maxBoostMultiplier:int = 5; static var lastGeneratedGameObj:GameObj; static var levelStateTimer:int; static var currentGameMusic:int; static var scrollMaxX; static var scrollMaxY; static var cursorX:Number = 0; static var startPoints:Array; static var goPlayer:GameObj; public static var boostMode:int; static var boostModifier_FrontWheelie:Number = 0.12; static var pause:Boolean; static var currentBikeIndex:int = 0; public static var playerRotMode:int; static var oldRecordPosY:Number; static function RenderFloor():void{ var _local1:Graphics; var _local2:Level; var _local3:int; var _local4:Point; var _local5:Point; var _local6:Matrix; var _local7:PhysLine; var _local8:BitmapData; var _local9:BitmapData; var _local10:uint; _local1 = main.fillScreenMC.graphics; _local1.clear(); _local2 = GetCurrentLevel(); _local6 = new Matrix(); for each (_local7 in _local2.lines) { if (_local7.type == 0){ _local6.identity(); _local6.scale(_local7.fillScaleX, _local7.fillScaleY); _local8 = GraphicObjects.GetBitmap(GraphicObjects.gfx_fills, _local7.fill).bitmapData; _local1.beginBitmapFill(_local8, _local6); _local5 = _local7.points[0].clone(); _local1.moveTo(_local5.x, _local5.y); _local3 = 1; while (_local3 < _local7.points.length) { _local4 = _local7.points[_local3].clone(); _local1.lineTo(_local4.x, _local4.y); _local3++; }; _local1.lineTo(_local5.x, _local5.y); _local1.endFill(); }; }; for each (_local7 in _local2.lines) { if (_local7.type == 0){ _local9 = GraphicObjects.GetBitmap(GraphicObjects.gfx_outlines, _local7.fill).bitmapData; _local10 = _local9.getPixel(8, 8); _local1.lineStyle(3, _local10, 1); _local5 = _local7.points[0].clone(); _local1.moveTo(_local5.x, _local5.y); _local3 = 1; while (_local3 < _local7.points.length) { _local4 = _local7.points[_local3].clone(); _local1.lineTo(_local4.x, _local4.y); _local3++; }; _local1.lineTo(_local5.x, _local5.y); }; }; } public static function RemoveObj_KillGuinea(_arg1:PhysObj_Instance){ SoundPlayer.Play("baddie"); SoundPlayer.PlayRandomBetween("guineadie01", "guineadie03", 1); Game.numBallsActive--; Game.numPigsSacrificed++; physObjInstances.Remove(_arg1); } static function InitBox2D():void{ var _local1:b2AABB; var _local2:b2Vec2; var _local3:Boolean; var _local4:ContactListener; _local1 = new b2AABB(); _local1.lowerBound.Set(-250000, -250000); _local1.upperBound.Set(250000, 250000); _local2 = new b2Vec2(0, physGravity); _local3 = true; world = new b2World(_local1, _local2, _local3); groundBody = world.GetGroundBody(); groundBody.SetUserData(-1); _local4 = new ContactListener(); world.SetContactListener(_local4); } static function GetCurrentLevel():Level{ return (levels[currentLevel]); } public static function RemoveObj_BallInHopper(_arg1:PhysObj_Instance){ physObjInstances.Remove(_arg1); } public static function ApplyImpulseToObjectsFromPoint(_arg1:PhysObj_Instance, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ var _local6:Number; var _local7:b2Body; var _local8:PhysObj_BodyUserData; var _local9:PhysObj_Instance; var _local10:int; var _local11:b2Vec2; var _local12:Number; _local7 = world.GetBodyList(); while (_local7) { if (_local7.GetUserData() != -1){ _local8 = _local7.GetUserData(); _local9 = _local8.instance; if (_local9 != null){ _local10 = _local9.colflags; if (_local9 != _arg1){ _local11 = new b2Vec2((_local7.GetWorldCenter().x - _arg2), (_local7.GetWorldCenter().y - _arg3)); _local6 = _local11.Length(); if (_local10 == 0){ if (_local6 <= _arg5){ _local11.Normalize(); _local12 = Utils.ScaleTo(0, _arg4, 0, _arg5, (_arg5 - _local6)); _local11.Multiply(_local12); _local7.ApplyImpulse(_local11, _local7.GetWorldCenter()); }; } else { if (_local10 == 1){ } else { if (_local10 == 2){ _local9.BreakObject(_local6); }; }; }; }; }; }; _local7 = _local7.GetNext(); }; } public static function LoadLevels(){ var _local1:XML; var _local2:*; var _local3:int; levels = new Array(); _local1 = ExternalData.xml; _local2 = _local1.level.length(); _local3 = 0; while (_local3 < _local2) { LoadLevel(_local3); _local3++; }; _local3 = 0; while (_local3 < levels.length) { GetLevel(_local3).available = false; GetLevel(_local3).complete = false; _local3++; }; GetLevel(0).available = true; } static function AddPhysObjAt(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:String="", _arg6:String=""):PhysObj_Instance{ var _local7:PhysObj; var _local8:PhysObj_Instance; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:b2BodyDef; var _local13:b2Body; var _local14:b2PolygonDef; var _local15:b2CircleDef; var _local16:int; var _local17:b2Joint; var _local18:Matrix; var _local19:PhysObj_Body; var _local20:PhysObj_Joint; var _local21:Number; var _local22:Number; var _local23:Point; var _local24:PhysObj_BodyUserData; var _local25:PhysObj_Shape; var _local26:PhysObj_Graphic; var _local27:b2FilterData; var _local28:Point; var _local29:Number; var _local30:Number; var _local31:Point; var _local32:int; var _local33:int; var _local34:b2Body; var _local35:b2Body; var _local36:b2RevoluteJointDef; var _local37:b2PrismaticJointDef; var _local38:Number; var _local39:b2Vec2; var _local40:b2DistanceJointDef; var _local41:Number; var _local42:Number; var _local43:b2MouseJointDef; _local7 = physObjs.FindByName(_arg1); _local8 = new PhysObj_Instance(); _local8.typeName = _arg1; _local8.x = _arg2; _local8.y = _arg3; _local8.rot = _arg4; _local8.bodies = new Array(); _local8.instanceName = _arg5; _local8.initParams = _arg6; _local8.hitballsound = _local7.hitballsound; physObjInstances.list.push(_local8); _local8.Init(); _local9 = Utils.DegToRad(_arg4); _arg2 = (_arg2 * w2p); _arg3 = (_arg3 * w2p); _local18 = new Matrix(); _local18.rotate(_local9); for each (_local19 in _local7.bodies) { _local12 = new b2BodyDef(); _local21 = (_local19.pos.x * w2p); _local22 = (_local19.pos.y * w2p); _local23 = new Point(_local21, _local22); _local23 = _local18.transformPoint(_local23); _local21 = _local23.x; _local22 = _local23.y; _local12.position.Set((_arg2 + _local21), (_arg3 + _local22)); _local12.angularDamping = _local19.angularDamping; _local12.linearDamping = _local19.linearDamping; _local12.angle = _local9; _local13 = world.CreateBody(_local12); _local24 = new PhysObj_BodyUserData(); _local24.type = _arg1; _local24.bodyName = _local19.name; _local24.instance = _local8; _local13.SetUserData(_local24); if (_local19.graphics.length != 0){ _local26 = _local19.graphics[0]; _local24.gameObjectID = InitPhysicsGO(_arg2, _arg3, _local26, _local26.graphicID, _local26.frame, 1000); }; for each (_local25 in _local19.shapes) { _local27 = new b2FilterData(); _local27.categoryBits = _local25.collisionCategory; _local27.maskBits = _local25.collisionMask; if (_local25.type == PhysObj_Shape.Type_Poly){ _local14 = new b2PolygonDef(); _local14.vertexCount = _local25.poly_points.length; _local14.filter = _local27; _local14.isSensor = _local19.sensor; _local16 = 0; while (_local16 < _local25.poly_points.length) { _local28 = _local25.poly_points[_local16].clone(); _local29 = (_local28.x * w2p); _local30 = (_local28.y * w2p); if (_local19.fixed){ _local31 = AlignWithPreviousVerts(_local29, _local30, _arg2, _arg3, _local9); if (_local31 != null){ _local29 = (_local29 + _local31.x); _local30 = (_local30 + _local31.y); }; }; _local14.vertices[_local16].Set(_local29, _local30); _local16++; }; _local14.friction = _local25.friction; _local14.restitution = _local25.restitution; _local14.density = _local25.density; _local13.CreateShape(_local14); } else { if (_local25.type == PhysObj_Shape.Type_Circle){ _local15 = new b2CircleDef(); _local15.radius = (_local25.circle_radius * w2p); _local15.filter = _local27; _local15.isSensor = _local19.sensor; _local15.localPosition.x = _local25.circle_pos.x; _local15.localPosition.y = _local25.circle_pos.y; _local15.friction = _local25.friction; _local15.restitution = _local25.restitution; _local15.density = _local25.density; _local13.CreateShape(_local15); }; }; }; if (_local19.fixed){ _local13.PutToSleep(); _local13.SetMass(new b2MassData()); } else { _local13.SetMassFromShapes(); _local13.SetBullet(true); }; _local8.bodies.push(_local13); }; for each (_local20 in _local7.joints) { _local32 = _local7.BodyIndexFromName(_local20.obj0Name); _local33 = _local7.BodyIndexFromName(_local20.obj1Name); _local34 = _local8.bodies[_local32]; _local35 = _local8.bodies[_local33]; if (_local20.type == PhysObj_Joint.Type_Rev){ _local36 = new b2RevoluteJointDef(); _local10 = (_local20.rev_pos.x * w2p); _local11 = (_local20.rev_pos.y * w2p); _local23 = new Point(_local10, _local11); _local23 = _local18.transformPoint(_local23); _local10 = _local23.x; _local11 = _local23.y; _local36.Initialize(_local34, _local35, new b2Vec2((_arg2 + _local10), (_arg3 + _local11))); _local36.enableLimit = _local20.rev_enableLimit; _local36.lowerAngle = _local20.rev_lowerAngle; _local36.upperAngle = _local20.rev_upperAngle; _local36.enableMotor = _local20.rev_enableMotor; _local36.motorSpeed = _local20.rev_motorSpeed; _local36.maxMotorTorque = _local20.rev_maxMotorTorque; _local36.collideConnected = false; _local17 = world.CreateJoint(_local36); }; if (_local20.type == PhysObj_Joint.Type_Prismatic){ _local37 = new b2PrismaticJointDef(); _local10 = (_local20.prism_pos.x * w2p); _local11 = (_local20.prism_pos.y * w2p); _local23 = new Point(_local10, _local11); _local23 = _local18.transformPoint(_local23); _local10 = _local23.x; _local11 = _local23.y; _local38 = Utils.DegToRad(_local20.prism_axisangle); _local38 = (_local38 + _local9); _local39 = new b2Vec2(Math.cos(_local38), Math.sin(_local38)); _local37.Initialize(_local34, _local35, new b2Vec2((_arg2 + _local10), (_arg3 + _local11)), _local39); _local37.enableLimit = _local20.prism_enableLimit; _local37.lowerTranslation = (_local20.prism_lowerTranslation * w2p); _local37.upperTranslation = (_local20.prism_upperTranslation * w2p); _local37.enableMotor = _local20.prism_enableMotor; _local37.motorSpeed = _local20.prism_motorSpeed; _local37.maxMotorForce = _local20.prism_maxMotorForce; _local37.collideConnected = false; _local17 = world.CreateJoint(_local37); }; if (_local20.type == PhysObj_Joint.Type_Distance){ _local40 = new b2DistanceJointDef(); _local10 = (_local20.dist_pos0.x * w2p); _local11 = (_local20.dist_pos0.y * w2p); _local41 = (_local20.dist_pos1.x * w2p); _local42 = (_local20.dist_pos1.y * w2p); _local23 = new Point(_local10, _local11); _local23 = _local18.transformPoint(_local23); _local10 = _local23.x; _local11 = _local23.y; _local23 = new Point(_local41, _local42); _local23 = _local18.transformPoint(_local23); _local41 = _local23.x; _local42 = _local23.y; _local40.Initialize(_local34, _local35, new b2Vec2((_arg2 + _local10), (_arg3 + _local11)), new b2Vec2((_arg2 + _local41), (_arg3 + _local42))); _local40.length = (_local40.length + (_local20.dist_distance * w2p)); _local40.dampingRatio = 0.1; _local40.collideConnected = false; _local17 = world.CreateJoint(_local40); }; if (_local20.type == PhysObj_Joint.Type_Mouse){ _local43 = new b2MouseJointDef(); _local43.target.Set(_local34.GetPosition().x, _local34.GetPosition().y); _local43.body1 = world.GetGroundBody(); _local43.body2 = _local34; _local43.maxForce = (30000 * _local34.GetMass()); _local43.dampingRatio = 0.7; _local43.frequencyHz = 10; _local43.timeStep = (1 / 60); _local17 = world.CreateJoint(_local43); mouseJoint = (_local17 as b2MouseJoint); }; _local8.joints.push(_local17); }; return (_local8); } static function GetInitialStartPoint():Point{ var _local1:Point; var _local2:Point; var _local3:Number; _local1 = null; _local3 = 999999; for each (_local2 in startPoints) { if (_local2.x < _local3){ _local3 = _local2.x; _local1 = _local2; }; }; return (_local1); } public static function LoadLevel(_arg1:int){ var _local2:XML; var _local3:Level; var _local4:int; var _local5:int; var _local6:XML; var _local7:XML; var _local8:int; var _local9:String; var _local10:int; var _local11:PhysLine; var _local12:XML; var _local13:String; var _local14:Array; var _local15:Point; var _local16:XML; var _local17:String; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:String; var _local22:PhysObj_Instance; _local2 = ExternalData.xml; _local2 = _local2.level[_arg1]; _local3 = new Level(); _local3.name = XmlHelper.GetAttrString(_local2.@name, "undefined"); _local3.category = XmlHelper.GetAttrInt(_local2.@category, 0); _local3.fillFrame = XmlHelper.GetAttrInt(_local2.@fillframe, 1); _local3.surfaceFrame = XmlHelper.GetAttrInt(_local2.@surfaceframe, 2); _local3.surfaceThickness = XmlHelper.GetAttrInt(_local2.@surfacethickness, 10); _local3.eventType = XmlHelper.GetAttrString(_local2.@type, "race"); _local3.eventOpponentsString = XmlHelper.GetAttrString(_local2.@opponents, "1"); _local3.exclusiveChar = XmlHelper.GetAttrInt(_local2.@exclusivechar, -1); _local3.eventWinParam = XmlHelper.GetAttrNumber(_local2.@win, 1); _local3.goldTime = (XmlHelper.GetAttrNumber(_local2.times.@gold, 10) * Defs.fps); _local3.silverTime = (XmlHelper.GetAttrNumber(_local2.times.@silver, 20) * Defs.fps); _local4 = 0; while (_local4 < _local2.helpscreen.length()) { _local6 = _local2.helpscreen[_local4]; _local3.helpscreenFrames.push(XmlHelper.GetAttrInt(_local6.@frame, 0)); _local4++; }; _local3.Calculate(); _local3.lines = new Array(); _local4 = 0; while (_local4 < _local2.line.length()) { _local7 = _local2.line[_local4]; _local8 = XmlHelper.GetAttrInt(_local7.@type, 0); _local9 = XmlHelper.GetAttrString(_local7.@name, ""); _local10 = XmlHelper.GetAttrInt(_local7.@fill, 1); _local11 = new PhysLine(); _local11.type = _local8; _local11.name = _local9; _local11.fill = _local10; _local11.fillScaleX = XmlHelper.GetAttrNumber(_local7.@fillscale, 1); _local11.fillScaleY = XmlHelper.GetAttrNumber(_local7.@fillscale, 1); _local5 = 0; while (_local5 < _local7.points.length()) { _local12 = _local7.points[_local5]; _local13 = XmlHelper.GetAttrString(_local12.@a, ""); _local14 = Utils.PointArrayFromString(_local13); for each (_local15 in _local14) { _local11.points.push(_local15); }; _local5++; }; _local3.lines.push(_local11); _local4++; }; _local4 = 0; while (_local4 < _local2.obj.length()) { _local16 = _local2.obj[_local4]; _local17 = _local16.@type; _local18 = Number(_local16.@x); _local19 = Number(_local16.@y); _local20 = Number(_local16.@rot); _local21 = XmlHelper.GetAttrString(_local16.@params, ""); _local22 = CreatePhysObjInstanceAt(_local17, _local18, _local19, _local20, "", _local21); _local3.instances.push(_local22); _local4++; }; levels.push(_local3); } static function InitPhysicsGO(_arg1:Number, _arg2:Number, _arg3:PhysObj_Graphic, _arg4:int=0, _arg5:int=0, _arg6:Number=1000):int{ var _local7:GameObj; _arg6 = (_arg6 + _arg3.zoffset); if (_arg3 == null){ _local7 = GameObjects.AddObj((_arg1 * p2w), (_arg2 * p2w), (_arg6 + zsortoffset)); _local7.InitPhysicsObject(_arg4, _arg5, 0, 0, "", false); } else { if (_arg3.goInitFuntion == ""){ _local7 = GameObjects.AddObj((_arg1 * p2w), (_arg2 * p2w), (_arg6 + zsortoffset)); _local7.InitPhysicsObject(_arg4, _arg5, _arg3.offset.x, _arg3.offset.y, _arg3.goInitFuntionVarString, _arg3.hasShadow); } else { _local7 = GameObjects.AddObj((_arg1 * p2w), (_arg2 * p2w), (_arg6 + zsortoffset)); _local7.InitPhysicsObject(_arg4, _arg5, _arg3.offset.x, _arg3.offset.y, _arg3.goInitFuntionVarString, _arg3.hasShadow); var _local8 = _local7; _local8[_arg3.goInitFuntion](); }; }; lastGeneratedGameObj = _local7; return (GameObjects.lastGenIndex); } public static function RemoveObj_Pellet(_arg1:PhysObj_Instance){ physObjInstances.Remove(_arg1); } static function AddToBoost(_arg1:Number):Number{ if (playerRecordingFlag == 2){ return (0); }; boostLevel = (boostLevel + _arg1); do { if (boostLevel >= 1){ boostLevel = (boostLevel - 1); InitBoost(); boostMultiplier++; if (boostMultiplier > maxBoostMultiplier){ boostMultiplier = maxBoostMultiplier; }; }; } while (boostLevel > 1); return ((_arg1 * 100)); } static function UpdateRecordPlayer(){ var _local1:PlayerRecord; var _local2:GameObj; var _local3:int; var _local4:PlayerRecord; var _local5:Number; var _local6:Number; if (playerRecordingFlag != 2){ return; }; _local2 = null; _local3 = 0; for each (_local2 in GameObjects.objs) { if (((_local2.active) && (_local2.colFlag_isPlayer))){ if (playerRecording.length == 0){ oldRecordPosX = Math.floor(_local2.xpos); oldRecordPosY = Math.floor(_local2.ypos); _local1 = new PlayerRecord(oldRecordPosX, oldRecordPosY, Utils.DP2(_local2.dir), _local2.frame); } else { _local4 = playerRecording[(playerRecording.length - 1)]; _local5 = Math.floor(_local2.xpos); _local6 = Math.floor(_local2.ypos); _local1 = new PlayerRecord((_local5 - oldRecordPosX), (_local6 - oldRecordPosY), Utils.DP2(_local2.dir), _local2.frame); oldRecordPosX = Math.floor(_local2.xpos); oldRecordPosY = Math.floor(_local2.ypos); }; playerRecording.push(_local1); }; }; } public static function CollideWithCannon(_arg1:PhysObj_Instance){ DoCannon(_arg1); _arg1.collideFunction = null; _arg1.collidetimer = 0; } static function NextLevel():void{ currentLevel++; if (currentLevel >= levels.length){ currentLevel = 0; }; StartLevelPlay(); } public static function InitLevel(){ InitLevel1(); } static function UpdateControl(){ var _local1:Array; var _local2:Array; var _local3:Array; var _local4:Number; var _local5:Boolean; var _local6:Boolean; var _local7:int; var _local8:PhysObj_Instance; var _local9:b2Vec2; var _local10:PhysObj_Instance; var _local11:int; var _local12:b2Vec2; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:b2Vec2; var _local18:b2Vec2; var _local19:Number; var _local20:Number; var _local21:GameObj; var _local22:GameObj; canUseObject = false; _local1 = physObjInstances.GetAllByTypeNameContaining("hose"); _local2 = physObjInstances.GetAllByTypeNameContaining("switch"); _local3 = physObjInstances.GetAllByTypeNameContaining("cage"); _local4 = (MouseControl.x - mouseox); _local5 = false; if (MouseControl.buttonPressed){ MouseControl.buttonPressed = false; _local5 = true; }; if (_local5){ if (MouseControl.x >= (Defs.displayarea_w - 50)){ if (MouseControl.y <= 50){ if (PauseMenu.IsPaused() == false){ PauseMenu.Pause(); return; }; }; }; }; _local6 = true; _local7 = 0; while (_local7 < _local3.length) { _local8 = _local3[_local7]; _local9 = _local8.GetBodyWorldPos(0); if (Utils.DistBetweenPoints(MouseControl.x, MouseControl.y, (_local9.x * p2w), (_local9.y * p2w)) < 30){ _local6 = false; }; _local7++; }; if (_local6){ _local7 = 0; while (_local7 < _local2.length) { _local8 = _local2[_local7]; _local9 = _local8.GetBodyWorldPos(0); if (Utils.DistBetweenPoints(MouseControl.x, MouseControl.y, (_local9.x * p2w), (_local9.y * p2w)) < 30){ if (_local8.doSwitchFunction != null){ canUseObject = true; if (_local5){ if (_local8.doSwitchFunction()){ DoSwitch(_local8.typeName); }; }; }; }; _local7++; }; }; _local7 = 0; while (_local7 < _local1.length) { _local10 = _local1[_local7]; _local11 = _local10.GetNumBodies(); _local9 = _local10.GetBodyWorldPos(0); _local12 = _local10.GetBodyWorldPos((_local11 - 1)); _local13 = (Number(ExternalData.gameconstants["swingdist"]) * w2p); _local14 = 0; if (_local10.hosedir == 1){ if ((((_local12.x >= _local9.x)) && ((_local12.x < (_local9.x + _local13))))){ _local14 = 1; }; if (_local12.x >= (_local9.x + _local13)){ _local10.hosedir = 0; }; } else { if (_local10.hosedir == 0){ if ((((_local12.x < _local9.x)) && ((_local12.x > (_local9.x - _local13))))){ _local14 = -1; }; if (_local12.x <= (_local9.x - _local13)){ _local10.hosedir = 1; }; }; }; _local10.ApplyForce((_local14 * Number(ExternalData.gameconstants["swingforce"])), 0); _local15 = ((_local9.x * p2w) + 15); _local16 = ((_local9.y * p2w) - 15); if ((((Utils.DistBetweenPoints(MouseControl.x, MouseControl.y, (_local9.x * p2w), _local16) < 30)) && (!((_local10.controlMode == 1))))){ canUseObject = true; if (_local5){ _local17 = new b2Vec2(0, 0); _local18 = new b2Vec2(0, 0); _local17 = _local10.GetBodyWorldPos((_local11 - 1)); _local19 = _local10.GetBodyAngle((_local11 - 1)); _local20 = (_local19 + (Math.PI / 2)); _local17.x = (_local17.x * p2w); _local17.y = (_local17.y * p2w); _local17.x = (_local17.x + (Math.cos(_local20) * 20)); _local17.y = (_local17.y + (Math.sin(_local20) * 20)); _local18 = _local10.GetBodyLinearVelocity((_local11 - 1)); _local8 = AddPhysObjAt("guineapig", _local17.x, _local17.y, Utils.RadToDeg(_local20), ""); _local8.guineaPig_type = _local10.guineaPig_type; _local21 = _local8.GetGameObject(0); if (_local10.guineaPig_type == 0){ _local21.graphicID = GraphicObjects.GetIndexByName("guinea_pig"); }; if (_local10.guineaPig_type == 1){ _local21.graphicID = GraphicObjects.GetIndexByName("guinea_pig2"); }; if (_local10.guineaPig_type == 2){ _local21.graphicID = GraphicObjects.GetIndexByName("guinea_pig3"); }; _local18.Multiply(Number(ExternalData.gameconstants["swingreleaseforce"])); _local8.ApplyImpulse(_local18.x, _local18.y); _local10.controlMode = 1; _local10.timer = (Defs.fps * 0.8); _local22 = _local10.GetGameObject(0); _local22.controlMode = 1; SoundPlayer.Play("switchwav"); SoundPlayer.PlayRandomBetween("launch01", "launch03", 1); }; }; _local7++; }; mouseox = MouseControl.x; } public static function StartLevelPlay2():void{ var _local1:Level; var _local2:Number; var _local3:Number; var _local4:GameObj; KeyReader.InitOnce(main.stage); MusicPlayer.StopMusic(); MusicPlayer.StartStream(currentGameMusic); currentGameMusic++; if (currentGameMusic >= 4){ currentGameMusic = 0; }; main.InitStageForGame(); _local1 = GetCurrentLevel(); startPoints = new Array(); Particles.Reset(); InitBox2D(); previousStaticPoints = new Array(); mouseJoint = null; GameObjects.ClearAll(); physObjInstances = new PhysObj_Instances(); InitLevelPlayFromEditorObjects(); InitLevelState(levelState_LevelStart); _local2 = 100; _local3 = 100; if (startPoints.length != 0){ _local2 = GetInitialStartPoint().x; _local3 = GetInitialStartPoint().y; }; InitFloor(); bgFrame = 0; pause = false; pauseGameplayInput = false; playerHitFloor = false; playerHitFloorTimer = 0; bikeWheelDown = false; ResetBoost(); levelAirTime = 0; levelWheelieTime = 0; levelFrontWheelieTime = 0; levelBackSomersaults = 0; levelForwardSomersaults = 0; levelTimer = 0; playerOldX = 0; playerX = 0; dustAccum = 0; numBallsActive = 0; numPigsSacrificed = 0; _local4 = GameObjects.AddObj(0, 0, 10000); _local4.InitFloorLayer(); main.layerScreenBD.fillRect(Defs.screenRect, 0); RenderFloor(); main.layerScreenBD.draw(main.fillScreenMC, null, null, null, null, true); TitleScreenState.InitLevelInstructions(); } public static function UpdateGameplay():void{ var _local1:int; var _local2:int; var _local3:PhysObj_Instance; var _local4:Array; if (pause){ return; }; if (levelState == levelState_EndScreen){ return; }; if (levelState == levelState_Editor){ PhysEditor.UpdateEditor(); return; }; if (usedebug){ if (KeyReader.Pressed(KeyReader.KEY_SPACE)){ InitLevelState(levelState_Editor); }; }; if (levelState == levelState_Null){ return; }; if (mousetimer > 0){ mousetimer--; }; if (PauseMenu.IsPaused() == false){ if (KeyReader.Pressed(KeyReader.KEY_P)){ PauseMenu.Pause(); }; }; if (LevelUpdateCallback != null){ LevelUpdateCallback(); }; _local1 = 1; if (usedebug){ if (KeyReader.Pressed(KeyReader.KEY_1)){ StartRecordPlayer(); }; if (KeyReader.Pressed(KeyReader.KEY_2)){ StopRecordPlayer(); }; if (KeyReader.Pressed(KeyReader.KEY_3)){ Debug.debugMode = (Debug.debugMode ^ 1); }; if (KeyReader.Pressed(KeyReader.KEY_4)){ PrintPlayerPosition(); }; if (KeyReader.Pressed(KeyReader.KEY_5)){ achievements.TestAll(); InitLevelState(levelState_Null); TitleScreenState.InitLevelEndScreen(); }; if (KeyReader.Pressed(KeyReader.KEY_6)){ }; if (KeyReader.Pressed(KeyReader.KEY_7)){ Reload(InitLevel); }; if (KeyReader.Pressed(KeyReader.KEY_8)){ currentLevel--; if (currentLevel < 0){ currentLevel = (levels.length - 1); }; StartLevelPlay(); }; if (KeyReader.Pressed(KeyReader.KEY_9)){ currentLevel++; if (currentLevel >= levels.length){ currentLevel = 0; }; StartLevelPlay(); }; }; if (levelFinishedState == levelFinishedState_WON){ }; if (levelFinishedState == levelFinishedState_LOST){ }; if (levelState == levelState_Complete){ levelStateTimer--; if (levelStateTimer <= 0){ InitLevelState(levelState_EndScreen); }; }; PreUpdatePhysObjs(); _local2 = 0; while (_local2 < _local1) { numCollisionTests = 0; world.Step((1 / 60), physNumIterations); world.Step((1 / 60), physNumIterations); UpdateGOsFromPhysics(); if ((((levelState == levelState_Play)) || ((levelState == levelState_LevelStart)))){ GameObjects.Update(); }; _local2++; }; UpdatePhysObjs(); if (levelState == levelState_Play){ levelTimer++; UpdateControl(); if (HaveAllAnimalsBeenBubbled()){ if (currentLevel == 0){ SoundPlayer.Play("line2wav"); }; InitLevelState(levelState_Complete); }; }; for each (_local3 in physObjInstances.list) { if (_local3.collidetimer != 0){ _local3.collidetimer++; if (_local3.collidetimer >= 5){ if (_local3.collideFunction != null){ _local3.collideFunction(_local3); }; }; }; }; _local4 = new Array(); for each (_local3 in physObjInstances.list) { if (_local3.removeFlag){ _local4.push(_local3); }; }; for each (_local3 in _local4) { physObjInstances.Remove(_local3); }; } static function UpdateBoost(){ if (boostMode == 1){ boostTimer--; if (boostTimer <= 0){ BoostFinished(); }; }; } public static function RemoveObj_BubbleSplat(_arg1:PhysObj_Instance){ var _local2:b2Vec2; var _local3:GameObj; var _local4:Number; physObjInstances.Remove(_arg1); _local2 = _arg1.GetBodyWorldPos(0); _local3 = GameObjects.AddObj((_local2.x * p2w), (_local2.y * p2w), 10); _local4 = _arg1.GetBodyAngleFromLinearVelocity(0); _local3.InitBubbleSplatDrip(_local4); } public static function RemoveObj_Standard(_arg1:PhysObj_Instance){ physObjInstances.Remove(_arg1); } static function UpdatePlayerRot(){ var _local1:Number; var _local2:Number; var _local3:int; var _local4:Number; var _local5:Number; var _local6:Number; _local1 = (Math.PI * 2); _local2 = Math.PI; _local3 = playerRotCount; _local4 = (oldPlayerRot % _local1); _local5 = (playerRot % _local1); if (_local4 < 0){ _local4 = (_local1 + _local4); }; if (_local5 < 0){ _local5 = (_local1 + _local5); }; if (Math.abs((_local5 - _local2)) < 0.5){ if (playerRotMode == 0){ if ((((_local4 < _local2)) && ((_local5 >= _local2)))){ trace("Rotated CW first time"); playerRotMode = 1; playerRotLeaveGround = (playerRot + _local2); playerRotCount++; } else { if ((((_local4 > _local2)) && ((_local5 <= _local2)))){ trace("Rotated CCW first time"); playerRotMode = -1; playerRotLeaveGround = (playerRot - _local2); playerRotCount++; }; }; } else { if (playerRotMode == 1){ if ((((_local4 < _local2)) && ((_local5 >= _local2)))){ if (playerRot > playerRotLeaveGround){ trace("Rotated CW"); playerRotLeaveGround = (playerRot + _local2); playerRotCount++; }; }; } else { if (playerRotMode == -1){ if ((((_local4 > _local2)) && ((_local5 <= _local2)))){ if (playerRot < playerRotLeaveGround){ trace("Rotated CCW"); playerRotLeaveGround = (playerRot - _local2); playerRotCount++; }; }; }; }; }; }; if (_local3 != playerRotCount){ if (playerRotMode == 1){ levelForwardSomersaults++; _local6 = AddToBoost((playerRotCount * boostModifier_ForwardSomersault)); InitMessage(("Forward Somersault " + int(_local6))); }; if (playerRotMode == -1){ levelBackSomersaults++; _local6 = AddToBoost((playerRotCount * boostModifier_BackSomersault)); InitMessage(("Back Somersault " + int(_local6))); }; }; } static function CreatePhysObjInstanceAt(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:String="", _arg6:String=""):PhysObj_Instance{ var _local7:PhysObj_Instance; _local7 = new PhysObj_Instance(); _local7.typeName = _arg1; _local7.x = _arg2; _local7.y = _arg3; _local7.rot = _arg4; _local7.bodies = new Array(); _local7.instanceName = _arg5; _local7.initParams = _arg6; return (_local7); } static function InitBoost(){ boostMode = 1; boostTimer = (Defs.fps * 10); boostTimerMax = boostTimer; } public static function CollideWithSpringboard(_arg1:PhysObj_Instance){ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = _arg1.collideWithInstance.GetBodyAngle(0); _local2 = (_local2 - (Math.PI / 2)); _local3 = 2; _local4 = (Math.cos(_local2) * _local3); _local5 = (Math.sin(_local2) * _local3); _arg1.ApplyImpulse(_local4, _local5); _arg1.collideWithInstance.TriggerPhysObj_Springboard(); _arg1.collideFunction = null; _arg1.collidetimer = 0; } static function GetLastStartPoint(_arg1:Number):Point{ var _local2:Point; var _local3:Point; var _local4:Number; _local2 = startPoints[0]; _local4 = -1000; for each (_local3 in startPoints) { if (_local3.x < _arg1){ if (_local3.x > _local4){ _local4 = _local3.x; _local2 = _local3; }; }; }; return (_local2); } public static function FrontWheelIsDown():void{ frontWheelDown = true; } static function GetLevel(_arg1:int):Level{ if (_arg1 >= levels.length){ return (null); }; return (levels[_arg1]); } public static function SwitchToBack(){ switchFlag = 1; trace("SwitchToBack"); } public static function RemoveObj_BallInWrongHopper(_arg1:PhysObj_Instance){ physObjInstances.Remove(_arg1); } public static function SwitchToFront(){ switchFlag = 2; } public static function InitLevel1(){ InitLevel2(); } public static function InitLevel2(){ var _local1:GameObj; KeyReader.InitOnce(main.stage); Particles.Reset(); ObjectDefs.Init(); GameObjects.ClearAll(); levelFinishedState = levelFinishedState_NOT; scrollX = 0; scrollY = 0; LevelUpdateCallback = null; scrollW = 10000; scrollH = 1000; scrollMaxX = (scrollW - Defs.displayarea_w); scrollMaxY = (scrollH - Defs.displayarea_h); gravity = 0.2; maxFallSpeed = 6; polygonList = new Array(); startPoints = new Array(); InitBox2D(); levelTimer = 0; physObjs = new PhysObjs(); physObjs.InitFromXml(ExternalData.xml); scrollAcc = 0.01; scrollVel = 0; scrollMaxVel = 2; physObjInstances = new PhysObj_Instances(); pause = false; StartLevelPlay(); } static function UpdateMouseControl(){ var _local1:Number; var _local2:Number; _local1 = cursorX; _local2 = cursorY; cursorX = (cursorX + ((MouseControl.x - cursorX) * 0.4)); cursorY = (cursorY + ((MouseControl.y - cursorY) * 0.4)); } static function CycleWeapon(_arg1:int):void{ currentProjectileType = (currentProjectileType + _arg1); if (currentProjectileType >= numWeapons){ currentProjectileType = 0; }; if (currentProjectileType < 0){ currentProjectileType = (numWeapons - 1); }; } public static function AddScore(_arg1:int):void{ currentScore = (currentScore + (_arg1 * multiplier)); } static function UpdatePhysObjs():void{ var _local1:PhysObj_Instance; for each (_local1 in physObjInstances.list) { _local1.WakeUp(); _local1.Update(); }; } public static function BackWheelIsDown():void{ backWheelDown = true; } public static function DoSwitchToBack(){ var _local1:PhysObj_Instance; _local1 = GetPhysObjInstanceByName("player"); if (_local1 == null){ return; }; _local1.SetBodyCollisionMask(-1, 7); } static function InitObjectAtMouse():void{ var _local1:Point; var _local2:Matrix; var _local3:Number; var _local4:Number; var _local5:Array; var _local6:int; var _local7:PhysObj_Instance; var _local8:b2Vec2; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:PhysObj_Instance; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:b2Body; var _local17:b2Shape; _local1 = new Point(MouseControl.x, MouseControl.y); _local2 = new Matrix(); _local2.translate(scrollX, scrollY); _local2.translate(-(scrollCX), -(scrollCY)); _local2.scale((1 / scrollScale), (1 / scrollScale)); _local2.translate(scrollCX, scrollCY); _local1 = _local2.transformPoint(_local1); _local3 = _local1.x; _local4 = _local1.y; _local5 = new Array(); _local5.push("cannonball0"); _local5.push("cannonball1"); _local5.push("cannonball2"); _local5.push("cannonball3"); _local5.push("cannonball4"); _local5.push("cannonball0"); _local5.push("cannonball1"); _local5.push("cannonball2"); _local5.push("cannonball3"); _local5.push("cannonball4"); if (mousetimer > 0){ return; }; canShootPellet = true; mousetimer = 10; _local6 = _local10; zsortoffset = 0; _local7 = GetPhysObjInstanceByName("player"); _local8 = _local7.GetBodyWorldPos(0); _local9 = (_local8.x * p2w); _local10 = (_local8.y * p2w); _local11 = Utils.RandCircle(); _local12 = AddPhysObjAt(_local5[currentProjectileType], _local9, _local10, Utils.RadToDeg(_local11), ""); _local13 = Utils.ScaleTo(50, 100, 0, 100, shootHeldTime); _local11 = Math.atan2((_local4 - _local10), (_local3 - _local9)); _local14 = (Math.cos(_local11) * _local13); _local15 = (Math.sin(_local11) * _local13); _local12.SetLinearVelocity(_local14, _local15); for each (_local16 in _local12.bodies) { _local16.SetBullet(true); _local17 = _local16.GetShapeList(); _local17.SetUserData(_local12); }; } static function RenderCursor(){ var _local1:BitmapData; var _local2:int; var _local3:int; if (TitleScreenState.showingInstructions){ return; }; _local1 = main.screenBD; _local2 = GraphicObjects.GetIndexByName("Cursors"); _local3 = 0; if (canUseObject){ _local3 = 2; }; GraphicObjects.RenderAt(_local2, _local3, _local1, MouseControl.x, MouseControl.y); } static function ExamineBox2D():void{ var _local1:int; var _local2:b2Body; var _local3:b2Vec2; return; } public static function StartLevelPlay():void{ StartLevelPlay2(); } public static function RemoveObj_Pickup(_arg1:PhysObj_Instance){ cash++; physObjInstances.Remove(_arg1); } public static function CollideWithMagnet(_arg1:PhysObj_Instance){ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; _arg1.collideFunction = null; _arg1.collidetimer = 0; _local2 = _arg1.GetBodyWorldPos(0); _local3 = _arg1.collideWithInstance.GetBodyWorldPos(0); _local4 = _arg1.collideWithInstance.magnet_polarity; _local5 = Utils.DistBetweenPoints(_local2.x, _local2.y, _local3.x, _local3.y); _local5 = (_local5 * Game.p2w); _local5 = Utils.LimitNumber(0, 110, _local5); _local5 = (150 - _local5); _local5 = Utils.ScaleTo(0, 1, 0, 110, _local5); _local6 = Math.atan2((_local3.y - _local2.y), (_local3.x - _local2.x)); _local7 = (20 * _local5); _local8 = (Math.cos(_local6) * _local7); _local9 = (Math.sin(_local6) * _local7); if (_local4 == true){ _arg1.ApplyForce(_local8, _local9); } else { _arg1.ApplyForce(-(_local8), -(_local9)); }; } public static function InitLevelState(_arg1:int){ levelState = _arg1; levelStateTimer = 0; if (levelState == levelState_LevelStart){ }; if (levelState == levelState_Complete){ levelStateTimer = (Defs.fps * 1); }; if (levelState == levelState_EndScreen){ DoEndLevelStuff(); SaveData.Save(); TitleScreenState.InitLevelEndScreen(); }; if (levelState == levelState_Play){ raceTimer = 0; }; if (levelState == levelState_Editor){ PhysEditor.InitEditor(); PhysEditor.currentLevel = currentLevel; }; } static function InitMessage(_arg1:String, _arg2:Number=320, _arg3:Number=100){ var _local4:GameObj; _local4 = GameObjects.AddObj(0, 0, 100); _local4.InitTextMessage(_arg1, _arg2, _arg3); } static function LevelFailed(){ InitLevelState(levelState_Null); TitleScreenState.InitLevelFailScreen(); } static function InitFloor(){ var _local1:b2BodyDef; var _local2:b2Body; var _local3:b2PolygonDef; var _local4:Point; var _local5:Point; var _local6:Point; var _local7:Point; var _local8:Point; var _local9:int; var _local10:PhysObj_BodyUserData; var _local11:Number; var _local12:Level; var _local13:b2FilterData; var _local14:b2FilterData; var _local15:PhysLine; var _local16:Array; var _local17:int; var _local18:int; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; _local10 = new PhysObj_BodyUserData(); _local11 = 50; _local12 = GetCurrentLevel(); _local13 = new b2FilterData(); _local13.categoryBits = 1; _local13.maskBits = 15; _local14 = new b2FilterData(); _local14.categoryBits = 2; _local14.maskBits = 2; for each (_local15 in _local12.lines) { _local16 = _local15.points; _local17 = _local15.type; if (_local17 <= 0){ if (_local16.length >= 2){ _local9 = 0; while (_local9 < _local16.length) { _local5 = _local16[_local9].clone(); _local18 = (_local9 + 1); _local18 = (_local18 % _local16.length); _local6 = _local16[_local18].clone(); _local7 = _local6.clone(); _local8 = _local5.clone(); _local19 = Math.atan2((_local6.y - _local5.y), (_local6.x - _local5.x)); _local19 = (_local19 + (Math.PI / 2)); _local20 = 5; _local21 = (Math.cos(_local19) * _local20); _local22 = (Math.sin(_local19) * _local20); _local7.x = (_local7.x + _local21); _local7.y = (_local7.y + _local22); _local8.x = (_local8.x + _local21); _local8.y = (_local8.y + _local22); _local1 = new b2BodyDef(); _local1.position.Set(0, 0); _local2 = world.CreateBody(_local1); if (_local2 != null){ _local3 = new b2PolygonDef(); _local3.filter = _local13; if (_local17 == 1){ _local3.filter = _local14; }; _local3.vertexCount = 4; _local3.vertices[0].Set((_local5.x * w2p), (_local5.y * w2p)); _local3.vertices[1].Set((_local6.x * w2p), (_local6.y * w2p)); _local3.vertices[2].Set((_local7.x * w2p), (_local7.y * w2p)); _local3.vertices[3].Set((_local8.x * w2p), (_local8.y * w2p)); _local3.friction = 1; if (_local17 == 1){ _local3.friction = 0; }; _local3.restitution = 0.2; _local3.density = 1; _local2.CreateShape(_local3); _local2.SetUserData(_local10); }; _local9++; }; }; }; }; } public static function RemoveObj_Gem(_arg1:PhysObj_Instance){ physObjInstances.Remove(_arg1); } static function GetPhysObjInstanceByName(_arg1:String):PhysObj_Instance{ var _local2:PhysObj_Instance; for each (_local2 in physObjInstances.list) { if (_local2.instanceName == _arg1){ return (_local2); }; }; return (null); } static function InitNinjaProjectile(_arg1:Number, _arg2:Number){ var _local3:Number; var _local4:Number; var _local5:PhysObj_Instance; var _local6:b2Vec2; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:PhysObj_Instance; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:b2Body; var _local15:b2Shape; _local3 = (_arg1 * p2w); _local4 = (_arg2 * p2w); _local5 = GetPhysObjInstanceByName("player"); _local6 = _local5.GetBodyWorldPos(0); _local7 = (_local6.x * p2w); _local8 = (_local6.y * p2w); _local8 = (_local8 - 300); _local9 = Utils.RandCircle(); _local10 = AddPhysObjAt("ninja_projectile", _local3, _local4, 0, ""); _local11 = Utils.RandBetweenFloat(20, 50); _local9 = Math.atan2((_local8 - _local4), (_local7 - _local3)); _local12 = (Math.cos(_local9) * _local11); _local13 = (Math.sin(_local9) * _local11); _local10.SetLinearVelocity(_local12, _local13); for each (_local14 in _local10.bodies) { _local14.SetBullet(true); _local15 = _local14.GetShapeList(); _local15.SetUserData(_local10); }; } public static function InitLevelPlayFromEditorObjects(){ var _local1:PhysObj_Instance; zsortoffset = 0; level_instances = GetCurrentLevelInstances(); for each (_local1 in level_instances) { AddPhysObjAt(_local1.typeName, _local1.x, _local1.y, _local1.rot, _local1.instanceName, _local1.initParams); zsortoffset = (zsortoffset + 0.01); }; } static function RestartLevel():void{ StartLevelPlay(); } static function UpdateGOsFromPhysics():void{ var _local1:Number; var _local2:GameObj; var _local3:b2Body; var _local4:PhysObj_BodyUserData; var _local5:int; var _local6:b2Vec2; var _local7:Number; _local1 = p2w; _local3 = world.GetBodyList(); while (_local3) { _local4 = (_local3.GetUserData() as PhysObj_BodyUserData); if (_local4 != null){ _local5 = _local4.gameObjectID; if (_local5 != -1){ _local6 = _local3.GetPosition(); _local7 = _local3.GetAngle(); _local2 = GameObjects.objs[_local5]; _local2.xpos = ((_local6.x * _local1) + _local2.physObjOffsetX); _local2.ypos = ((_local6.y * _local1) + _local2.physObjOffsetY); _local2.dir = _local7; }; }; _local3 = _local3.GetNext(); }; } static function RenderPanel(){ var _local1:Level; var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; var _local6:BitmapData; var _local7:int; var _local8:int; var _local9:int; var _local10:Number; _local1 = GetCurrentLevel(); _local6 = main.screenBD; _local2 = 10; _local3 = 10; _local2 = 100; _local3 = (Defs.displayarea_h - 16); _local4 = _local1.name; GraphicObjects.RenderStringAt(main.screenBD, GraphicObjects.gfx_font1, _local2, _local3, _local4, null); _local7 = GraphicObjects.GetIndexByName("hud"); _local8 = 0; _local9 = 36; _local10 = 1; _local2 = _local9; _local3 = (Defs.displayarea_h - _local9); GraphicObjects.RenderAt(_local7, _local8, _local6, _local2, _local3, false); _local3 = (_local3 - 10); _local4 = Utils.CounterToSecondsString(levelTimer); _local5 = GraphicObjects.GetStringWidth(main.screenBD, GraphicObjects.gfx_font1, _local2, _local3, _local4, null); GraphicObjects.RenderStringAt(main.screenBD, GraphicObjects.gfx_font1, (_local2 - (_local5 / 2)), _local3, _local4, null); _local8 = 1; _local2 = (Defs.displayarea_w - _local9); _local3 = (Defs.displayarea_h - _local9); GraphicObjects.RenderAt(_local7, _local8, _local6, _local2, _local3, false); _local3 = (_local3 - 10); _local4 = numPigsSacrificed.toString(); _local5 = GraphicObjects.GetStringWidth(main.screenBD, GraphicObjects.gfx_font1, _local2, _local3, _local4, null); GraphicObjects.RenderStringAt(main.screenBD, GraphicObjects.gfx_font1, (_local2 - (_local5 / 2)), _local3, _local4, null); if (TitleScreenState.showingInstructions == false){ _local2 = (Defs.displayarea_w - _local9); _local3 = _local9; _local7 = GraphicObjects.GetIndexByName("IngamePauseButton"); _local8 = 0; GraphicObjects.RenderAt(_local7, _local8, _local6, _local2, _local3, false); }; } public static function DoPortal(_arg1:PhysObj_Instance){ var _local2:Number; var _local3:b2Vec2; var _local4:String; var _local5:PhysObj_Instance; var _local6:b2Vec2; var _local7:b2Vec2; var _local8:GameObj; _local2 = _arg1.GetBodyAngularVelocity(0); _local3 = _arg1.GetBodyLinearVelocity(0); trace(("portal name " + _arg1.portalName)); if (_arg1.portalName == "portal_entry01"){ _local4 = "portal_exit01"; }; if (_arg1.portalName == "portal_entry02"){ _local4 = "portal_exit02"; }; if (_arg1.portalName == "portal_entry03"){ _local4 = "portal_exit03"; }; if (_arg1.portalName == "portal_entry04"){ _local4 = "portal_exit04"; }; if (_arg1.portalName == "portal_entry05"){ _local4 = "portal_exit05"; }; for each (_local5 in physObjInstances.list) { if (_local5.typeName == _local4){ _local6 = _local5.GetBodyWorldPos(0); _local7 = _arg1.GetBodyWorldPos(0); _local8 = GameObjects.AddObj((_local7.x * p2w), (_local7.y * p2w), 100); _local8.InitSparks(true); _arg1.SetXForm(_local6.x, _local6.y, 0); _arg1.SetAngularVelocity(0, _local2); _arg1.SetLinearVelocity(_local3.x, _local3.y); _local8 = GameObjects.AddObj((_local6.x * p2w), (_local6.y * p2w), 100); _local8.InitSparks(false); SoundPlayer.Play("portalwav"); }; }; } static function InitPhysicsFloorGO(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number):int{ var _local5:GameObj; _local5 = GameObjects.AddObj(_arg2, _arg3, 1000); _local5.InitPhysicsFloorObject(_arg1, _arg4); return (GameObjects.lastGenIndex); } static function UpdateShakeCam(_arg1:Number):void{ var _local2:Number; shakeCamTimer--; if (shakeCamTimer <= 0){ shakeCamTimer = Utils.RandBetweenInt(5, 20); shakeCamTimerMax = shakeCamTimer; _local2 = Utils.ScaleTo(2, 20, 0, 30, _arg1); shakeCamToX = Utils.RandBetweenFloat(-(_local2), _local2); shakeCamToY = Utils.RandBetweenFloat(-(_local2), _local2); shakeCamDX = ((shakeCamToX - shakeCamX) / shakeCamTimer); shakeCamDY = ((shakeCamToY - shakeCamY) / shakeCamTimer); }; shakeCamX = (shakeCamX + shakeCamDX); shakeCamY = (shakeCamY + shakeCamDY); } static function SetWeapon(_arg1:int):void{ currentProjectileType = _arg1; } static function GetLevelAward(_arg1:Level):int{ var _local2:int; _local2 = -1; if (_arg1.complete){ _local2 = 0; if (_arg1.bestTimeTotal < _arg1.silverTime){ _local2 = 1; }; if (_arg1.bestTimeTotal < _arg1.goldTime){ _local2 = 2; }; }; return (_local2); } static function BoostFinished(){ boostMode = 0; boostTimer = 0; boostMultiplier = 0; } static function InitPlayerUpdateRot(){ playerRotLeaveGround = playerRot; playerRotMode = 0; playerRotCount = 0; } static function PrintPlayerPosition(){ var _local1:PhysObj_Instance; var _local2:b2Vec2; _local1 = GetPhysObjInstanceByName("player"); if (_local1 == null){ return; }; _local2 = _local1.GetBodyWorldPos(0); trace((((("x=\"" + int((_local2.x * p2w))) + "\" y=\"") + int((_local2.y * p2w))) + "\"")); } static function AlignWithPreviousVerts(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Point{ var _local6:Matrix; var _local7:Point; var _local8:Number; var _local9:Point; var _local10:Number; var _local11:Number; _local6 = new Matrix(); _local6.rotate(_arg5); _local7 = new Point(_arg1, _arg2); var _temp1 = _local6.transformPoint(_local7); _local7 = _local6.transformPoint(_local7); _temp1.x = (_local7.x + _arg3); _local7.y = (_local7.y + _arg4); _local8 = (2 * w2p); for each (_local9 in previousStaticPoints) { if (Math.abs((_local9.x - _local7.x)) < _local8){ if (Math.abs((_local9.y - _local7.y)) < _local8){ _local10 = (_local9.x - _local7.x); _local11 = (_local9.y - _local7.y); return (new Point(_local10, _local11)); }; }; }; previousStaticPoints.push(_local7.clone()); return (null); } static function DoEndLevelStuff(){ var _local1:Level; _local1 = GetCurrentLevel(); _local1.complete = true; _local1.lastTime = levelTimer; _local1.lastTimeTotal = (_local1.lastTime + ((Defs.fps * 5) * Game.numPigsSacrificed)); if (_local1.lastTime <= _local1.bestTime){ _local1.bestTime = _local1.lastTime; }; if (_local1.lastTimeTotal <= _local1.bestTimeTotal){ _local1.bestTimeTotal = _local1.lastTimeTotal; }; _local1 = GetLevel((currentLevel + 1)); if (_local1 != null){ _local1.available = true; }; CaclulateScore(); } public static function Init(_arg1:Main){ main = _arg1; currentScore = 0; multiplier = 1; numLevels = 8; currentLevel = 0; LoadLevels(); SaveData.Load(); CaclulateScore(); } public static function StartPlayerHitFloor():void{ if (playerRecordingFlag == 2){ return; }; if (levelState != levelState_Play){ return; }; if (playerHitFloor){ return; }; playerHitFloorTimer = (playerHitFloorTimerMax = 50); playerHitFloorMaxRot = Utils.RandBetweenFloat(1, 3); if (Utils.RandBetweenInt(0, 1000) < 500){ playerHitFloorMaxRot = (playerHitFloorMaxRot * -1); }; playerHitFloor = true; } static function GetLastLevelAward(_arg1:Level):int{ var _local2:int; _local2 = -1; if (_arg1.complete){ _local2 = 0; if (_arg1.lastTimeTotal < _arg1.silverTime){ _local2 = 1; }; if (_arg1.lastTimeTotal < _arg1.goldTime){ _local2 = 2; }; }; return (_local2); } public static function InitGame(){ Debug.debugMode = 0; numLives = 3; Shop.InitOnce(); polygonList = new Array(); startPoints = new Array(); currentStartPointIndex = 0; currentLevel = 0; WaveDefs.InitOnce(); pause = true; timesList = new Array(); cash = 0; currentGameMusic = 0; Player.InitOnce(); } static function UpdateScroll(){ var _local1:PhysObj_Instance; var _local2:b2Vec2; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Level; var _local10:b2Vec2; var _local11:Number; var _local12:Number; var _local13:Number; _local1 = GetPhysObjInstanceByName("player"); if (_local1 == null){ return; }; _local2 = _local1.GetBodyWorldPos(0); _local5 = (_local2.x * p2w); _local6 = (_local2.y * p2w); _local7 = 220; _local8 = 240; _local9 = GetCurrentLevel(); if (_local9.eventType == "chase"){ _local7 = 500; }; scrollCX = _local5; scrollCY = _local6; _local10 = _local1.GetBodyLinearVelocity(4); _local11 = Math.atan2(_local10.y, _local10.x); _local12 = _local10.Length(); if (_local12 < 3){ _local3 = 0; _local4 = 0; } else { _local12 = Utils.LimitNumber(3, 30, _local12); _local13 = Utils.ScaleTo(0, 150, 0, 30, _local12); _local3 = (Math.cos(_local11) * _local13); _local4 = (Math.sin(_local11) * _local13); }; scrollToDX = (scrollToDX + ((_local3 - scrollToDX) * 0.1)); scrollToDY = (scrollToDY + ((_local4 - scrollToDY) * 0.1)); scrollX = ((_local5 - _local7) + scrollToDX); scrollY = ((_local6 - _local8) + scrollToDY); scrollX = (scrollX + shakeCamX); scrollY = (scrollY + shakeCamY); scrollScale = 1; UpdateShakeCam(_local12); } public static function UpdateBikeWheelDown():void{ var _local1:Number; if (bikeWheelDown){ bikeWheelDownTimer++; bikeWheelUpTimer = 0; } else { if (bikeWheelUpTimer == 0){ InitPlayerUpdateRot(); }; bikeWheelUpTimer++; bikeWheelDownTimer = 0; }; if (backWheelDown == false){ backWheelUpTimer++; } else { backWheelUpTimer = 0; }; if (frontWheelDown == false){ frontWheelUpTimer++; } else { frontWheelUpTimer = 0; }; if ((((backWheelUpTimer < 10)) && ((frontWheelDown == false)))){ wheelieTimer++; } else { if (wheelieTimer > boost_minWheelieTime){ _local1 = AddToBoost(((wheelieTimer / Defs.fps) * boostModifier_RearWheelie)); levelWheelieTime = (levelWheelieTime + wheelieTimer); InitMessage(("Wheelie: " + int(_local1))); }; wheelieTimer = 0; }; if ((((frontWheelUpTimer < 10)) && ((backWheelDown == false)))){ frontWheelieTimer++; } else { if (frontWheelieTimer > boost_minWheelieTime){ _local1 = AddToBoost(((frontWheelieTimer / Defs.fps) * boostModifier_FrontWheelie)); levelFrontWheelieTime = (levelFrontWheelieTime + frontWheelieTimer); InitMessage(("FrontWheelie: " + int(_local1))); }; frontWheelieTimer = 0; }; } public static function RemoveObj_BallDie(_arg1:PhysObj_Instance){ physObjInstances.Remove(_arg1); } static function CaclulateScore(){ var _local1:Level; var _local2:int; _local1 = GetCurrentLevel(); currentScore = 0; for each (_local1 in levels) { _local2 = GetLevelAward(_local1); if (_local2 == 0){ currentScore = (currentScore + 5); }; if (_local2 == 1){ currentScore = (currentScore + 10); }; if (_local2 == 2){ currentScore = (currentScore + 20); }; }; } static function RenderBox2D():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:int; var _local5:b2Body; var _local6:b2Shape; var _local7:b2Vec2; var _local8:Number; var _local9:*; var _local10:b2PolygonShape; var _local11:Array; var _local12:int; var _local13:int; var _local14:b2Vec2; var _local15:b2Vec2; var _local16:Matrix; var _local17:Point; var _local18:Point; var _local19:b2CircleShape; var _local20:Number; if (Debug.IsSet(1) == false){ return; }; _local1 = scrollX; _local2 = scrollY; _local3 = p2w; _local5 = world.GetBodyList(); while (_local5) { _local7 = _local5.GetPosition(); _local8 = _local5.GetAngle(); _local6 = _local5.GetShapeList(); while (_local6) { _local9 = _local6.GetType(); if (_local9 == b2Shape.e_polygonShape){ _local10 = b2PolygonShape(_local6); _local11 = _local10.GetVertices(); _local12 = _local10.GetVertexCount(); _local4 = 0; while (_local4 < _local12) { _local13 = (_local4 + 1); if (_local13 >= _local12){ _local13 = 0; }; _local14 = _local11[_local4].Copy(); _local15 = _local11[_local13].Copy(); _local16 = new Matrix(); _local16.rotate(_local8); _local17 = new Point(_local14.x, _local14.y); _local18 = new Point(_local15.x, _local15.y); _local17 = _local16.transformPoint(_local17); _local18 = _local16.transformPoint(_local18); _local14.x = _local17.x; _local14.y = _local17.y; _local15.x = _local18.x; _local15.y = _local18.y; _local14.Add(_local7); _local15.Add(_local7); Utils.RenderDotLine(main.scrollScreenBD, ((_local14.x * _local3) - _local1), ((_local14.y * _local3) - _local2), ((_local15.x * _local3) - _local1), ((_local15.y * _local3) - _local2), 50, 4294967295); _local4++; }; }; if (_local9 == b2Shape.e_circleShape){ _local19 = b2CircleShape(_local6); _local20 = (_local19.GetRadius() * _local3); Utils.RenderCircle(main.scrollScreenBD, ((_local7.x * _local3) - _local1), ((_local7.y * _local3) - _local2), _local20, 4294967295); }; _local6 = _local6.GetNext(); }; _local5 = _local5.GetNext(); }; } public static function BikeWheelIsDown():void{ var _local1:Number; bikeWheelDown = true; if (bikeWheelUpTimer > boost_minAirTime){ _local1 = AddToBoost(((bikeWheelUpTimer / Defs.fps) * boostModifier_AirTime)); levelAirTime = (levelAirTime + bikeWheelUpTimer); InitMessage(("Air Time " + int(_local1))); }; } public static function UpdatePlayerHitFloor():void{ var _local1:PhysObj_Instance; var _local2:b2Vec2; var _local3:Point; if (playerHitFloor == false){ return; }; _local1 = GetPhysObjInstanceByName("player"); _local2 = _local1.GetBodyWorldPos(0); _local3 = GetLastStartPoint((_local2.x * p2w)); _local1.SetLinearVelocity(0, 0); _local1.SetAngularVelocity(-1, 0); if (playerHitFloorTimer > 0){ ZeroStuntTimers(); ResetBoost(); playerHitFloorTimer--; if (playerHitFloorTimer <= 0){ _local1 = GetPhysObjInstanceByName("player"); _local1.SetLinearVelocity(0, 0); _local1.SetAngularVelocity(-1, 0); _local1.SetXForm((_local3.x * w2p), ((_local3.y - 50) * w2p), 0); playerHitFloorTimer = 0; playerHitFloor = false; ResetBoost(); ZeroStuntTimers(); }; }; } static function GetCurrentLevelInstances():Array{ return (levels[currentLevel].instances); } static function GetPhysObjInstanceByTypeName(_arg1:String):PhysObj_Instance{ var _local2:PhysObj_Instance; for each (_local2 in physObjInstances.list) { if (_local2.typeName == _arg1){ return (_local2); }; }; return (null); } public static function DoSwitchToFront(){ var _local1:PhysObj_Instance; _local1 = GetPhysObjInstanceByName("player"); if (_local1 == null){ return; }; _local1.SetBodyCollisionMask(-1, 3); trace("SwitchToFront"); } public static function DoCannon(_arg1:PhysObj_Instance){ var _local2:PhysObj_Instance; var _local3:b2Vec2; var _local4:b2Vec2; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:PhysObj_Instance; _local2 = physObjInstances.FindByTypeName("cannon"); _local3 = _arg1.GetBodyWorldPos(0); _local4 = _local2.GetBodyWorldPos(0); _local5 = 50; _local6 = _local2.GetBodyAngle(0); _local6 = (_local6 - (Math.PI / 2)); _local7 = (Math.cos(_local6) * _local5); _local8 = (Math.sin(_local6) * _local5); _local9 = AddPhysObjAt("cannonball", (_local4.x * p2w), (_local4.y * p2w), 0, "", ""); _local9.ApplyImpulse(_local7, _local8); _local2.cannon_firing = true; SoundPlayer.Play("cannonwav"); numBallsActive--; numPigsSacrificed++; physObjInstances.Remove(_arg1); } static function ResetBoost(){ boostMode = 0; boostTimer = 0; boostLevel = 0; boostMultiplier = 0; } public static function CollideWithPortal(_arg1:PhysObj_Instance){ DoPortal(_arg1); _arg1.collideFunction = null; _arg1.collidetimer = 0; } static function Reload(_arg1:Function){ ExternalData.Load(_arg1); } static function Render(){ var _local1:BitmapData; var _local2:int; var _local3:int; var _local4:Number; var _local5:int; var _local6:int; var _local7:int; var _local8:Number; var _local9:Number; var _local10:Level; var _local11:int; var _local12:int; var _local13:ColorTransform; var _local14:Matrix; var _local15:Graphics; if (pause){ return; }; if (levelState == levelState_EndScreen){ return; }; if (levelState == levelState_Null){ return; }; if (levelState == levelState_Editor){ _local15 = main.fillScreenMC.graphics; _local15.clear(); PhysEditor.RenderEditor(); return; }; _local1 = main.scrollScreenBD; _local7 = GraphicObjects.GetNumFrames(GraphicObjects.gfx_backgrounds); bgTimer++; _local8 = (Math.sin((bgTimer * 0.05)) * 0.01); _local9 = (1.1 + (Math.sin(((bgTimer * 1.2) * 0.05)) * 0.01)); _local10 = GetCurrentLevel(); _local11 = GraphicObjects.GetNumFrames(GraphicObjects.gfx_backgrounds); _local12 = (_local10.fillFrame - 1); _local12 = (_local12 % _local11); GraphicObjects.RenderAt(GraphicObjects.gfx_backgrounds, _local12, main.screenBD, 0, 0); main.scrollScreenBD.fillRect(Defs.screenRect, 0); GameObjects.Render(); RenderBox2D(); _local13 = new ColorTransform(1, 1, 1, 1, -255, -255, -255, -224); _local14 = new Matrix(); _local14.translate(8, 8); main.screenBD.draw(main.scrollScreenBD, _local14, _local13); main.screenBD.copyPixels(main.scrollScreenBD, Defs.screenRect, Defs.pointZero, null, null, true); RenderPanel(); RenderCursor(); } public static function ZeroStuntTimers():void{ bikeWheelDownTimer = 0; bikeWheelUpTimer = 0; frontWheelieTimer = 0; wheelieTimer = 0; playerHitFloorTimer = 0; backWheelUpTimer = 0; frontWheelUpTimer = 0; } static function StopRecordPlayer(){ var _local1:String; var _local2:String; var _local3:int; var _local4:int; var _local5:String; var _local6:int; var _local7:PlayerRecord; playerRecordingFlag = 0; _local1 = ""; _local2 = ""; _local1 = (("StartData(" + currentLevel) + ");"); _local2 = (_local2 + (_local1 + "\n")); _local3 = (playerRecording.length - 1); _local4 = 0; _local5 = ""; _local6 = 0; for each (_local7 in playerRecording) { if (_local6 != 0){ _local5 = (_local5 + ", "); } else { _local5 = (_local5 + "AddData(new Array("); }; _local5 = (_local5 + ((((_local7.x + ",") + _local7.y) + ",") + _local7.rot)); _local6++; if (_local6 == 500){ _local5 = (_local5 + "));"); _local6 = 0; _local2 = (_local2 + (_local5 + "\n")); _local5 = ""; }; }; if (_local6 != 0){ _local5 = (_local5 + "));"); _local6 = 0; _local2 = (_local2 + (_local5 + "\n")); _local5 = ""; }; _local5 = "StopData();"; _local2 = (_local2 + (_local5 + "\n")); trace("Player recording copied to clipboard"); System.setClipboard(_local2); } public static function DoSwitch(_arg1:String){ var _local2:PhysObj_Instance; for each (_local2 in physObjInstances.list) { if (_local2.switchFunction != null){ if (_local2.switchName == _arg1){ _local2.switchFunction(); }; if (_local2.switchName1 == _arg1){ _local2.switchFunction(); }; }; }; } public static function HaveAllAnimalsBeenBubbled():Boolean{ var _local1:int; var _local2:PhysObj_Instance; _local1 = 0; for each (_local2 in physObjInstances.list) { if (_local2.type == 1){ _local1++; if (_local2.animal_rescued == false){ return (false); }; }; }; if (_local1 == 0){ return (false); }; return (true); } public static function CollideWithMincer(_arg1:PhysObj_Instance){ _arg1.collideFunction = null; _arg1.collidetimer = 0; physObjInstances.Remove(_arg1); numBallsActive--; numPigsSacrificed++; _arg1.collideWithInstance.TriggerPhysObj_Mincer(); } static function PreUpdatePhysObjs():void{ var _local1:PhysObj_Instance; for each (_local1 in physObjInstances.list) { _local1.PreUpdate(); }; } static function StartRecordPlayer(){ playerRecording = new Array(); playerRecordingFlag = 1; } static function AreAllLevelsComplete():Boolean{ var _local1:Level; for each (_local1 in levels) { if (_local1.complete == false){ return (false); }; }; return (true); } } }//package
Section 138
//GameObj (GameObj) package { import flash.events.*; import flash.geom.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; public class GameObj { public var graphicID:int; var textMessage:String; var bikeBodyGraphicID:int; public var xvel:Number; var path:Poly; public var todir:Number; var minFrame:int; var rotVel:Number; public var speed:Number; public var colFlag_isEnemy:Boolean; public var yoffset:Number; var waveDef:WaveDef; var objectDef:ObjectDef; public var ypos1:Number; public var ypos2:Number; public var startz:Number; public var colFlag_canBeShot:Boolean; var health:Number; public var startx:Number; public var starty:Number; var aiRouteIndex:int; public var colFlag_playercanbekilled:Boolean; public var frame1:Number; public var movementVec:Vec; var maxFrame:int; var ct:ColorTransform; public var visible:Boolean; public var colFlag_isPlayer:Boolean; public var yvel:Number; public var name:String; public var dir:Number; public var graphicID1:int; public var colFlag_isPhysObj:Boolean; public var radius:Number; public var colFlag_isPowerup:Boolean; public var controlMode:int; public var colFlag_isHose:Boolean; var aiPlayerSpeed:Number; public var origspeed:Number; public var colFlag_canBePickedUp:Boolean; var uniqueID:int; var EnemyUpdateFunctionCallback:Function; var EnemyHitByBulletFunctionCallback:Function; var aiWheelRot:Number; public var colFlag_isCheckpoint:Boolean; public var xpos1:Number; public var xpos2:Number; public var colFlag_isPlatform:Boolean; public var xpos:Number; public var renderShadowFlag:Boolean; public var zvel:Number; var xflip:Boolean; public var physObjInitVarString:String; var currentPoly:Poly; public var frameVel:Number; var renderSmooth:Boolean; var currentWeapon:int; public var colFlag_killPlayer:Boolean; var shotControllers:Array; public var colFlag_isBall:Boolean; var aiLegsFrame:Number; var childGO:GameObj; var hopperIndex:int; public var xacc:Number; public var xoffset:Number; public var active:Boolean; public var count:int; public var colFlag_jumpon:Boolean; public var colFlag_isEnemyBullet:Boolean; var flashTimer:int; public var type:int; public var ypos:Number; var aiPhysObj:PhysObj; public var frameVel1:Number; var maxSpeed:Number; public var timer:Number; public var colFlag_isBullet:Boolean; var scale:Number; var alpha:Number; public var yacc:Number; var bulletTimer:int; public var frame:Number; public var controlIndex:int; public var hitTimer:Number; public var subtype:int; var flashFlag:Boolean; public var oldxpos:Number; var bikeBodyOffsetX:Number; var bikeBodyOffsetY:Number; public var timer1:Number; public var renderFunction:Function; var aiRoutePos:Number; var aiLegRotSpeed:Number; public var zpos:Number; public var toPosX:Number; public var toPosY:Number; var aiUpperBodyLean:Number; var aiBodyFrame:Number; var dist:Number; public var colFlag_isBouncyPad:Boolean; var aiBikeSpecialType:int; public var driveVec:Vec; var playerWeapons:Array; public var main:Main; public var updateFunction:Function; public var additive:Boolean; var inFrontZone:Poly; var oldAiPosX:Number; var oldAiPosY:Number; var aiBikeOffsets:Array; var currentMaxSpeed:Number; public var timerMax:Number; public var physObjOffsetY:Number; public var oldypos:Number; public var physObjOffsetX:Number; public var colFlag_isShop:Boolean; var parentObj:GameObj; var flashTimerMax:int; var isPhysObj:Boolean; public function GameObj(_arg1, _arg2, _arg3){ ct = new ColorTransform(0.1, 0.1, 0.1, 0.3); super(); xpos = _arg2; ypos = _arg3; zpos = 1; starty = _arg2; startx = _arg2; active = false; main = _arg1; zpos = 0; graphicID = 0; frame = 0; frameVel = 0; controlIndex = 0; timer = 0; timer1 = 0; radius = 14; minFrame = 0; maxFrame = 0; movementVec = new Vec(); } public function UpdatePellet(){ } function InitWheel():void{ renderSmooth = true; } function UpdateBubbleSplatDrip():void{ ypos = (ypos + yvel); if (PlayAnimation()){ active = false; }; } function InitPlayer():void{ var _local1:Array; colFlag_isPlayer = true; updateFunction = UpdatePlayer; renderFunction = RenderPlayer; frame = 0; frameVel = 0; frame1 = 7; renderSmooth = true; _local1 = physObjInitVarString.split(","); bikeBodyGraphicID = GraphicObjects.GetIndexByName((_local1[0] as String)); bikeBodyOffsetX = Number(_local1[1]); bikeBodyOffsetY = Number(_local1[2]); } function RenderPlayer():void{ var _local1:Number; var _local2:int; var _local3:Number; var _local4:Number; var _local5:Point; var _local6:Matrix; RenderNormally(); _local1 = frame; _local2 = graphicID; _local3 = xpos; _local4 = ypos; _local5 = new Point(bikeBodyOffsetX, bikeBodyOffsetY); _local6 = new Matrix(); _local6.rotate(dir); _local5 = _local6.transformPoint(_local5); xpos = (xpos + _local5.x); ypos = (ypos + _local5.y); frame = frame1; graphicID = bikeBodyGraphicID; RenderNormally(); frame = _local1; graphicID = _local2; xpos = _local3; ypos = _local4; } function InitObj_Bouncer(){ xoffset = 0; yoffset = 0; updateFunction = UpdateBouncer; renderFunction = RenderBouncer; controlMode = 0; timer = 0; } function ClearColFlags(){ colFlag_jumpon = false; colFlag_killPlayer = false; colFlag_playercanbekilled = false; colFlag_canBePickedUp = false; colFlag_canBeShot = false; colFlag_isBullet = false; colFlag_isPlatform = false; colFlag_isPowerup = false; colFlag_isBouncyPad = false; colFlag_isCheckpoint = false; colFlag_isShop = false; colFlag_isEnemyBullet = false; colFlag_isEnemy = false; colFlag_isBall = false; colFlag_isHose = false; colFlag_isPlayer = false; colFlag_isPhysObj = false; } function InitMiniBall():void{ updateFunction = UpdateMiniBall; renderFunction = RenderMiniBall; controlMode = 0; frame1 = 0; graphicID1 = GraphicObjects.GetIndexByName("Bubble"); } public function GetOffsetObjectRectangle():Rectangle{ var _local1:Rectangle; _local1 = objectDef.colRects[0].clone(); _local1.x = (_local1.x + xpos); _local1.y = (_local1.y + ypos); return (_local1); } function RenderBouncer(){ var _local1:Number; var _local2:Number; _local1 = xpos; _local2 = ypos; xpos = (xpos + xoffset); ypos = (ypos + yoffset); RenderNormally(); xpos = _local1; ypos = _local2; } function InitAIPlayer(_arg1:int, _arg2:int, _arg3:int):void{ var _local4:PlayerRecord; colFlag_isEnemy = true; aiBikeOffsets = new Array(); aiBikeOffsets.push(new Point(0, 0), 0); aiBikeOffsets.push(new Point(0, -10), 0); aiBikeOffsets.push(new Point(0, -8), 0); aiBikeOffsets.push(new Point(0, -10), 10); aiBikeOffsets.push(new Point(0, -6), 0); aiBikeOffsets.push(new Point(0, -7), 0); aiBikeOffsets.push(new Point(0, -4), -2); aiBikeOffsets.push(new Point(0, 7), -5); aiBikeOffsets.push(new Point(0, -10), 0); aiBikeOffsets.push(new Point(0, 0), 0); aiBikeOffsets.push(new Point(0, -1), -3); aiBikeOffsets.push(new Point(0, -7), -5); aiBikeOffsets.push(new Point(0, -8), 0); aiBikeOffsets.push(new Point(0, -8), -10); aiBikeOffsets.push(new Point(0, -10), 0); aiBikeOffsets.push(new Point(0, 0), 0); aiBikeOffsets.push(new Point(0, 0), 0); aiBikeOffsets.push(new Point(0, 0), 0); aiBikeOffsets.push(new Point(0, 0), 0); aiBikeOffsets.push(new Point(0, 0), 0); aiBikeOffsets.push(new Point(0, 0), 0); type = (_arg3 - 1); renderSmooth = true; zpos = (zpos + (500 + type)); aiRouteIndex = PlayerRecordings.GetRouteIndex(Game.currentLevel, _arg1); aiRoutePos = 0; updateFunction = UpdateAIPlayer; renderFunction = RenderAIPlayer; frame = 0; frameVel = 1; aiPlayerSpeed = 1; if (type < 20){ aiPhysObj = Game.physObjs.FindByName(("bike" + int((type + 1)).toString())); }; timer = _arg2; _local4 = PlayerRecordings.GetItem(aiRouteIndex, int(aiRoutePos)); xpos = (oldAiPosX = _local4.x); ypos = (oldAiPosY = _local4.y); aiRoutePos = 1; UpdateAIPlayer_Step(_arg2); aiBodyFrame = 0; aiLegsFrame = 0; aiWheelRot = 0; aiUpperBodyLean = 0.5; aiLegRotSpeed = 0; aiBikeSpecialType = 0; if (type == 20){ aiBikeSpecialType = 1; graphicID = GraphicObjects.GetIndexByName("Bubble"); frame = 0; frameVel = 1; renderFunction = RenderAIPlayerSpecial; }; if (type == 21){ aiBikeSpecialType = 2; graphicID = GraphicObjects.GetIndexByName("WallOfFire"); frame = 0; frameVel = 1; renderFunction = RenderAIPlayerSpecial; }; if (type == 22){ aiBikeSpecialType = 3; graphicID = GraphicObjects.GetIndexByName("Walrus"); frame = 0; frameVel = 1; renderFunction = RenderAIPlayerSpecial; }; } public function PlayerHitEnemyBullet(_arg1:GameObj){ } function RenderWallCollision():void{ var _local1:int; var _local2:Number; var _local3:Number; var _local4:Number; if ((Debug.debugMode & 8) == 0){ return; }; if (objectDef == null){ return; }; if (objectDef.collisionCircleOffsets.length == 0){ return; }; _local1 = 0; while (_local1 < objectDef.collisionCircleOffsets.length) { _local2 = objectDef.collisionCircleOffsets[_local1].x; _local3 = objectDef.collisionCircleOffsets[_local1].y; _local4 = objectDef.collisionCircleRadii[_local1]; _local2 = (_local2 + xpos); _local2 = (_local2 - Game.scrollX); _local3 = (_local3 + ypos); _local3 = (_local3 - Game.scrollY); Utils.RenderCircle(main.scrollScreenBD, _local2, _local3, _local4, 4294967295); _local1++; }; } function RenderBlockCollision():void{ var _local1:Rectangle; var _local2:Rectangle; if ((Debug.debugMode & 4) == 0){ return; }; if (objectDef == null){ return; }; if (objectDef.colRects.length == 0){ return; }; for each (_local2 in objectDef.colRects) { _local1 = _local2.clone(); _local1.x = (_local1.x + xpos); _local1.y = (_local1.y + ypos); _local1.x = (_local1.x - Game.scrollX); _local1.y = (_local1.y - Game.scrollY); main.scrollScreenBD.fillRect(_local1, 1082163328); }; for each (_local2 in objectDef.shieldColRects) { _local1 = _local2.clone(); _local1.x = (_local1.x + xpos); _local1.y = (_local1.y + ypos); _local1.x = (_local1.x - Game.scrollX); _local1.y = (_local1.y - Game.scrollY); main.scrollScreenBD.fillRect(_local1, 1082163200); }; } function GameObj_UpdateCycleAnim():void{ CycleAnimation(); } public function RenderShadow():void{ var _local1:Number; var _local2:Number; if (renderShadowFlag == false){ return; }; if (visible == false){ return; }; _local1 = (xpos - Game.scrollX); _local2 = (ypos - Game.scrollY); GraphicObjects.RenderAtRotScaled(graphicID, frame, main.scrollScreenBD, (_local1 + 5), (_local2 + 5), true, 1, dir); } function UpdateBall():void{ if (controlMode == 0){ }; if (controlMode == 1){ frameVel = 0.5; PlayAnimation(); if (frame >= 22){ SoundPlayer.Play("blowwav"); controlMode = 2; }; } else { if (controlMode == 2){ frameVel = 0.5; PlayAnimation(); frameVel1 = 1; PlayAnimation1(); if (frame1 >= 40){ visible = false; controlMode = 3; SoundPlayer.Play("popwav"); }; } else { if (controlMode == 3){ if (PlayAnimation1()){ childGO.active = false; }; }; }; }; } public function PlayAnimation():Boolean{ var _local1:int; _local1 = (GraphicObjects.GetNumFrames(graphicID) - 1); frame = (frame + frameVel); if (frame >= _local1){ frame = _local1; return (true); }; if (frame <= 0){ frame = 0; return (true); }; return (false); } function RenderNormally(){ var _local1:Number; var _local2:Number; _local1 = ((xpos + xpos1) - Game.scrollX); _local2 = ((ypos + ypos1) - Game.scrollY); if (_local1 < -1000){ return; }; if (_local1 > (Defs.displayarea_w + 500)){ return; }; if (_local2 < -1000){ return; }; if (_local2 > (Defs.displayarea_h + 500)){ return; }; if (((!((scale == 1))) || (!((dir == 0))))){ GraphicObjects.RenderAtRotScaled(graphicID, frame, main.scrollScreenBD, _local1, _local2, false, scale, dir, null, renderSmooth); } else { if (additive){ GraphicObjects.RenderAtAdditive(graphicID, frame, main.scrollScreenBD, _local1, _local2, alpha); } else { GraphicObjects.RenderAt(graphicID, frame, main.scrollScreenBD, _local1, _local2, false); }; }; } function RenderTextMessage(){ var _local1:Number; _local1 = GraphicObjects.GetStringWidth(Game.main.scrollScreenBD, GraphicObjects.gfx_font1, xpos, ypos, textMessage, null); GraphicObjects.RenderStringAt(Game.main.scrollScreenBD, GraphicObjects.gfx_font1, (xpos - (_local1 / 2)), ypos, textMessage, null); } public function InitNextPieceGO(){ subtype = 0; frame = subtype; updateFunction = UpdateNextPieceGO; dir = 0; } public function InitSparks(_arg1:Boolean){ if (_arg1){ graphicID = GraphicObjects.GetIndexByName("portalINsparks"); } else { graphicID = GraphicObjects.GetIndexByName("portalOUTsparks"); }; frame = 0; frameVel = 1; updateFunction = UpdateSparks; } public function GetDirBetween(_arg1, _arg2, _arg3, _arg4):Number{ var _local5:*; _local5 = Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)); return (_local5); } function UpdateObj_Ship(){ var _local1:Number; timer++; _local1 = (Math.sin((timer * 0.1)) * 5); ypos1 = _local1; } public function InitPinDisappear_Broken(){ health = 32; frame = (health / 2); } public function CycleAnimationEx():Boolean{ var _local1:Boolean; var _local2:*; _local1 = false; frame = (frame + frameVel); _local2 = (maxFrame - minFrame); if (frame > maxFrame){ frame = (frame - _local2); _local1 = true; }; if (frame < minFrame){ frame = (frame + _local2); _local1 = true; }; return (_local1); } public function InitMessage(_arg1:int):void{ updateFunction = UpdateMessage; timer = (Defs.fps * 0.8); frame = _arg1; graphicID = GraphicObjects.GetIndexByName("StartRaceText"); } function InitBallBubble(_arg1:GameObj):void{ parentObj = _arg1; updateFunction = UpdateBallBubble; renderFunction = RenderBallBubble; zpos = -1000; } function IsInWorld(_arg1:Number):Boolean{ if (xpos < (0 - _arg1)){ return (false); }; if (ypos < (0 - _arg1)){ return (false); }; if (xpos > (Defs.displayarea_w + _arg1)){ return (false); }; if (ypos > (Defs.displayarea_h + _arg1)){ return (false); }; return (true); } public function UpdatePickup(){ CycleAnimation(); } function InitObj_Conveyor(){ frame = 0; frameVel = 0.5; updateFunction = UpdateObj_Conveyor; } function UpdateObj_Conveyor(){ CycleAnimation(); } function RenderMiniBall():void{ RenderNormally(); if (controlMode == 1){ GraphicObjects.RenderAt(graphicID1, frame1, main.scrollScreenBD, xpos, ypos, false); }; } public function InitTextMessage(_arg1:String, _arg2:Number, _arg3:Number):void{ textMessage = _arg1; updateFunction = UpdateTextMessage; renderFunction = RenderTextMessage; timer = 50; xpos = _arg2; ypos = _arg3; } function RenderHomingBullet(){ GraphicObjects.RenderAtRotScaled(graphicID, frame, main.screenBD, xpos, ypos, false, scale, movementVec.rot); } function InitCheckpoint():void{ Game.startPoints.push(new Point(xpos, ypos)); } function UpdateMessage(){ xpos = (320 + Game.scrollX); ypos = (100 + Game.scrollY); timer--; if (timer <= 0){ active = false; }; } function RenderAIPlayer(){ var _local1:Number; var _local2:int; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:PhysObj_Body; var _local10:Point; var _local11:PhysObj_Graphic; var _local12:Point; var _local13:Number; var _local14:Matrix; var _local15:int; var _local16:Array; _local1 = frame; _local2 = graphicID; _local3 = xpos; _local4 = ypos; _local5 = xpos; _local6 = ypos; _local7 = dir; _local8 = dir; _local10 = new Point(0, 0); _local12 = aiBikeOffsets[((type * 2) + 0)]; _local13 = aiBikeOffsets[((type * 2) + 1)]; _local3 = (_local3 + _local12.x); _local4 = (_local4 + _local12.y); dir = (dir + Utils.DegToRad(_local13)); _local7 = dir; _local14 = new Matrix(); _local14.rotate(dir); _local9 = aiPhysObj.BodyFromName("body"); _local11 = _local9.graphics[0]; _local10.x = _local9.pos.x; _local10.y = _local9.pos.y; _local10 = _local14.transformPoint(_local10); xpos = (_local3 + _local10.x); ypos = (_local4 + _local10.y); graphicID = _local11.graphicID; _local15 = GraphicObjects.GetNumFrames(graphicID); aiLegsFrame = (aiLegsFrame + aiLegRotSpeed); if (aiLegsFrame >= _local15){ aiLegsFrame = 0; }; frame = aiLegsFrame; RenderNormally(); _local9 = aiPhysObj.BodyFromName("wheel1"); _local11 = _local9.graphics[0]; _local10.x = _local9.pos.x; _local10.y = _local9.pos.y; _local10 = _local14.transformPoint(_local10); xpos = (_local3 + _local10.x); ypos = (_local4 + _local10.y); frame = _local11.frame; graphicID = _local11.graphicID; dir = aiWheelRot; RenderNormally(); _local9 = aiPhysObj.BodyFromName("wheel2"); _local11 = _local9.graphics[0]; _local10.x = _local9.pos.x; _local10.y = _local9.pos.y; _local10 = _local14.transformPoint(_local10); xpos = (_local3 + _local10.x); ypos = (_local4 + _local10.y); frame = _local11.frame; graphicID = _local11.graphicID; dir = aiWheelRot; RenderNormally(); dir = _local7; _local9 = aiPhysObj.BodyFromName("body"); _local11 = _local9.graphics[0]; _local16 = _local11.goInitFuntionVarString.split(","); bikeBodyGraphicID = GraphicObjects.GetIndexByName((_local16[0] as String)); bikeBodyOffsetX = Number(_local16[1]); bikeBodyOffsetY = Number(_local16[2]); _local10.x = (_local9.pos.x + bikeBodyOffsetX); _local10.y = (_local9.pos.y + bikeBodyOffsetY); _local10 = _local14.transformPoint(_local10); xpos = (_local3 + _local10.x); ypos = (_local4 + _local10.y); graphicID = bikeBodyGraphicID; _local15 = GraphicObjects.GetNumFrames(graphicID); frame = Utils.ScaleTo(0, (_local15 - 1), 0, 1, aiUpperBodyLean); RenderNormally(); frame = _local1; graphicID = _local2; xpos = _local5; ypos = _local6; dir = _local8; } function RenderAIPlayerSpecial(){ RenderNormally(); } public function Update():void{ oldxpos = xpos; oldypos = ypos; if (updateFunction != null){ updateFunction(); }; } function RenderBall():void{ RenderNormally(); } public function GetObjectRectangle():Rectangle{ return (objectDef.colRects[0]); } public function InitPinDisappear(){ health = 0; frame = (health / 2); } public function RenderPellet(){ } function InitBubbleSplatDrip(_arg1:Number):void{ graphicID = GraphicObjects.GetIndexByName("BubbleSplat"); frame = 3; frameVel = Utils.RandBetweenFloat(0.1, 0.2); yvel = Utils.RandBetweenFloat(0.01, 0.1); updateFunction = UpdateBubbleSplatDrip; } function UpdateMiniBall():void{ if (controlMode == 1){ frameVel1 = 1; PlayAnimation1(); if (frame1 >= 40){ visible = false; controlMode = 2; }; } else { if (controlMode == 2){ PlayAnimation1(); }; }; } function RenderFloorLayer():void{ main.scrollScreenBD.copyPixels(main.layerScreenBD, Defs.screenRect, Defs.pointZero, null, null, true); } public function InitPhysicsFloorObject(_arg1:int, _arg2:Number){ frame = _arg1; dir = _arg2; } public function PinDisappearHit():Boolean{ health++; frame = (health / 2); if (health > 40){ health = 40; frame = (health / 2); return (true); }; return (false); } function UpdateAIPlayer(){ var _local1:Number; var _local2:int; var _local3:PlayerRecord; var _local4:Number; var _local5:Number; _local1 = dir; oldxpos = xpos; oldypos = ypos; if (Game.levelState == Game.levelState_Play){ _local2 = int(aiRoutePos); _local3 = PlayerRecordings.GetItem(aiRouteIndex, _local2); if (_local3){ dir = _local3.rot; if (_local2 != 0){ xpos = (_local3.x + oldAiPosX); ypos = (_local3.y + oldAiPosY); } else { xpos = _local3.x; ypos = _local3.y; }; oldAiPosX = xpos; oldAiPosY = ypos; }; aiRoutePos = (aiRoutePos + aiPlayerSpeed); }; if (aiBikeSpecialType == 0){ CycleAnimation(); _local4 = Utils.DistBetweenPoints(xpos, ypos, oldxpos, oldypos); _local4 = Utils.LimitNumber(0, 20, _local4); aiLegRotSpeed = Utils.ScaleTo(0, 1, 0, 3, _local4); aiWheelRot = (aiWheelRot + (_local4 * 0.1)); _local5 = (dir - _local1); if (Math.abs(_local5) < 0.2){ if (_local5 > 0){ aiUpperBodyLean = (aiUpperBodyLean + 0.11); if (aiUpperBodyLean > 1){ aiUpperBodyLean = 1; }; } else { if (_local5 < 0){ aiUpperBodyLean = (aiUpperBodyLean - 0.1); if (aiUpperBodyLean < 0){ aiUpperBodyLean = 0; }; } else { if (aiUpperBodyLean < 0.5){ aiUpperBodyLean = (aiUpperBodyLean + 0.1); if (aiUpperBodyLean > 0.5){ aiUpperBodyLean = 0.5; }; } else { if (aiUpperBodyLean > 0.5){ aiUpperBodyLean = (aiUpperBodyLean - 0.1); if (aiUpperBodyLean < 0.5){ aiUpperBodyLean = 0.5; }; }; }; }; }; }; } else { if (aiBikeSpecialType == 1){ CycleAnimation(); } else { if (aiBikeSpecialType == 2){ CycleAnimation(); dir = 0; } else { if (aiBikeSpecialType == 3){ CycleAnimation(); }; }; }; }; } function RenderEnemyBullet(){ } public function InitPhysicsObject(_arg1:int, _arg2:int, _arg3:Number=0, _arg4:Number=0, _arg5:String="", _arg6:Boolean=false){ colFlag_isPhysObj = true; physObjOffsetX = _arg3; physObjOffsetY = _arg4; isPhysObj = true; graphicID = _arg1; frame = _arg2; updateFunction = UpdatePhysicsObject; renderShadowFlag = _arg6; physObjInitVarString = _arg5; } function UpdatePlayer():void{ var _local1:Boolean; var _local2:Boolean; var _local3:Boolean; var _local4:Boolean; var _local5:Number; var _local6:Number; CycleAnimation(); _local1 = false; _local2 = false; _local3 = false; _local4 = false; if (KeyReader.Down(KeyReader.KEY_LEFT)){ _local1 = true; }; if (KeyReader.Down(KeyReader.KEY_RIGHT)){ _local2 = true; }; if (KeyReader.Down(KeyReader.KEY_UP)){ _local3 = true; }; if (KeyReader.Down(KeyReader.KEY_DOWN)){ _local4 = true; }; _local5 = 0.1; if (_local3){ frameVel = (frameVel + _local5); if (frameVel > 4){ frameVel = 4; }; } else { if (_local4){ frameVel = (frameVel - _local5); if (frameVel < -4){ frameVel = -4; }; } else { if (frameVel > 0){ frameVel = (frameVel - _local5); if (frameVel <= 0){ frameVel = 0; }; } else { if (frameVel < 0){ frameVel = (frameVel + _local5); if (frameVel >= 0){ frameVel = 0; }; }; }; }; }; _local6 = 0.5; if (_local2){ frame1 = (frame1 - _local6); if (frame1 <= 0){ frame1 = 0; }; } else { if (_local1){ frame1 = (frame1 + _local6); if (frame1 >= 14){ frame1 = 14; }; } else { if (frame1 < 7){ frame1 = (frame1 + _local6); if (frame1 >= 7){ frame1 = 7; }; }; if (frame1 > 7){ frame1 = (frame1 - _local6); if (frame1 <= 7){ frame1 = 7; }; }; }; }; Game.oldPlayerRot = Game.playerRot; Game.playerRot = dir; } public function Init(_arg1:int):void{ var _local2:int; var _local3:Number; _local2 = 0; _local3 = 0; type = _arg1; controlMode = _local2; xvel = _local3; yvel = _local3; frame = _local3; frameVel = _local3; timer = _local3; hitTimer = _local3; flashTimer = _local2; flashFlag = false; dir = 0; todir = 0; health = 1; zvel = 0; name = ""; scale = 1; objectDef = null; xflip = false; updateFunction = null; renderFunction = null; visible = true; renderShadowFlag = false; ClearColFlags(); isPhysObj = false; additive = false; alpha = 1; xpos1 = 0; ypos1 = 0; renderSmooth = true; } public function UpdateNextPieceGO(){ var _local1:Number; var _local2:Number; _local1 = MouseControl.x; _local2 = MouseControl.y; xpos = (_local1 + Game.scrollX); ypos = (_local2 + Game.scrollY); if (MouseControl.delta != 0){ dir = (dir + (Number(MouseControl.delta) * 0.1)); MouseControl.delta = 0; }; } function InitBall():void{ var _local1:int; updateFunction = UpdateBall; renderFunction = RenderBall; controlMode = 0; frame1 = 0; graphicID1 = GraphicObjects.GetIndexByName("Bubble"); _local1 = GameObjects.lastGenIndex; childGO = GameObjects.AddObj(xpos, ypos, -1000); childGO.InitBallBubble(this); GameObjects.lastGenIndex = _local1; } function UpdateBallBubble():void{ controlMode = parentObj.controlMode; frame1 = parentObj.frame1; graphicID1 = parentObj.graphicID1; xpos = parentObj.xpos; ypos = parentObj.ypos; dir = parentObj.dir; } public function PlayAnimationEx():Boolean{ var _local1:Boolean; var _local2:*; _local1 = false; frame = (frame + frameVel); _local2 = (maxFrame - minFrame); if (frame > maxFrame){ if (frame > maxFrame){ frame = maxFrame; _local1 = true; }; }; if (frame < minFrame){ frame = minFrame; _local1 = true; }; return (_local1); } function Anim_FromVel():void{ var _local1:int; var _local2:Number; var _local3:Number; var _local4:*; _local1 = GraphicObjects.GetNumFrames(graphicID); _local2 = xvel; _local3 = yvel; _local4 = Math.atan2(_local3, _local2); frame = ((_local1 / (Math.PI * 2)) * -(_local4)); if (frame < 0){ frame = (frame + _local1); }; if (frame > _local1){ frame = (frame - _local1); }; frame = (frame + (_local1 / 2)); if (frame > _local1){ frame = (frame - _local1); }; } function GameObj_UpdateHoseSwitch():void{ if (controlMode == 0){ } else { if (controlMode == 1){ frameVel = 1; if (PlayAnimation()){ frame = 0; controlMode = 0; }; }; }; } function UpdateTextMessage(){ ypos++; timer--; if (timer <= 0){ active = false; }; } function RenderEnemy(){ if (movementVec == null){ RenderNormally(); return; }; GraphicObjects.RenderAtRotScaled(graphicID, frame, main.scrollScreenBD, xpos, ypos, false, scale, movementVec.rot); } function SetAnim(_arg1:int){ var _local2:int; graphicID = _arg1; _local2 = (GraphicObjects.GetNumFrames(graphicID) - 1); if (frame >= _local2){ frame = 0; }; } public function CycleAnimation():void{ var _local1:Number; var _local2:int; _local1 = frameVel; _local2 = GraphicObjects.GetNumFrames(graphicID); frame = (frame + _local1); if (frame >= _local2){ frame = (frame - _local2); }; if (frame < 0){ frame = (frame + _local2); }; } function GameObj_InitHoseSwitch():void{ updateFunction = GameObj_UpdateHoseSwitch; graphicID = GraphicObjects.GetIndexByName("SnakeEnd"); frame = 0; controlMode = 0; } function GameObj_InitSwitch():void{ updateFunction = GameObj_UpdateSwitch; frameVel = 1; controlMode = 0; frame = 0; } function UpdateSparks():void{ if (PlayAnimation()){ active = false; }; } function GameObj_InitCycleAnim():void{ updateFunction = GameObj_UpdateCycleAnim; frameVel = 1; } public function PlayAnimation1():Boolean{ var _local1:int; _local1 = (GraphicObjects.GetNumFrames(graphicID1) - 1); frame1 = (frame1 + frameVel1); if (frame1 >= _local1){ frame1 = _local1; return (true); }; return (false); } public function Render():void{ if (visible == false){ return; }; if (renderFunction != null){ renderFunction(); } else { RenderNormally(); }; RenderBlockCollision(); RenderWallCollision(); } public function PlayerHitEnemy(_arg1:GameObj){ } function RenderBallBubble():void{ var _local1:Point; var _local2:Matrix; if (controlMode == 2){ _local1 = new Point(0, 6); _local2 = new Matrix(); _local2.rotate(dir); _local1 = _local2.transformPoint(_local1); GraphicObjects.RenderAt(graphicID1, frame1, main.scrollScreenBD, (xpos + _local1.x), (ypos + _local1.y), false); }; } public function InitPickup(){ colFlag_canBePickedUp = true; graphicID = GraphicObjects.GetIndexByName("coins"); frame = Utils.RandBetweenInt(0, 30); frameVel = 1; updateFunction = UpdatePickup; } function UpdateBouncer(){ var _local1:Number; if (controlMode == 1){ _local1 = (dir - (Math.PI * 0.5)); xoffset = ((Math.cos(_local1) * timer) * 2); yoffset = ((Math.sin(_local1) * timer) * 2); timer++; if (timer > 3){ yoffset = 0; xoffset = 0; controlMode = 0; }; }; } function BouncerBounce(){ if (controlMode == 0){ timer = 0; controlMode = 1; }; } function InitObj_Ship(){ updateFunction = UpdateObj_Ship; timer = 0; } function InitFloorLayer():void{ renderFunction = RenderFloorLayer; } function GameObj_UpdateSwitch():void{ if (controlMode == 0){ } else { if (controlMode == 1){ frameVel = 1; if (PlayAnimation()){ controlMode = 0; }; } else { if (controlMode == 2){ frameVel = -1; if (PlayAnimation()){ controlMode = 0; }; } else { if (controlMode == 3){ frame = 0; controlMode = 0; }; }; }; }; } function UpdateAIPlayer_Step(_arg1:int){ var _local2:int; var _local3:int; var _local4:PlayerRecord; _local2 = 0; while (_local2 < _arg1) { _local3 = int(aiRoutePos); _local4 = PlayerRecordings.GetItem(aiRouteIndex, _local3); xpos = (_local4.x + oldAiPosX); ypos = (_local4.y + oldAiPosY); oldAiPosX = xpos; oldAiPosY = ypos; aiRoutePos = (aiRoutePos + aiPlayerSpeed); _local2++; }; } public function GetVelFromDir(_arg1:Number){ xvel = (Math.cos(dir) * _arg1); yvel = (Math.sin(dir) * _arg1); } public function UpdatePhysicsObject(){ } } }//package
Section 139
//GameObjects (GameObjects) package { import flash.events.*; class GameObjects { public static var numobjs; static var m:Main; public static var zorder:Array; public static var objs:Array; public static var lastGenIndex:int; public function GameObjGroup(){ } public static function Update():void{ var _local1:int; _local1 = 0; while (_local1 < objs.length) { if (objs[_local1].active == true){ objs[_local1].Update(); }; _local1++; }; } public static function Render():void{ var _local1:GameObj; var _local2:Array; _local2 = new Array(); for each (_local1 in objs) { if (((_local1.active) && (_local1.visible))){ _local2.push(_local1); }; }; _local2.sortOn("zpos", (Array.NUMERIC | Array.DESCENDING)); for each (_local1 in _local2) { _local1.Render(); }; } public static function InitOnce(_arg1:Main, _arg2:int){ var _local3:*; numobjs = _arg2; m = _arg1; objs = new Array(); zorder = new Array(numobjs); _local3 = 0; while (_local3 < numobjs) { objs.push(new GameObj(m, 0, 0)); _local3++; }; } public static function ClearAll(){ var _local1:int; _local1 = 0; while (_local1 < numobjs) { objs[_local1].active = false; _local1++; }; } public static function CountActive():int{ var _local1:int; var _local2:int; _local1 = 0; _local2 = 0; while (_local2 < objs.length) { if (objs[_local2].active == true){ _local1++; }; _local2++; }; return (_local1); } public static function AddObj(_arg1:Number, _arg2:Number, _arg3:Number):GameObj{ var _local4:int; var _local5:GameObj; _local4 = 0; while (_local4 < numobjs) { if (objs[_local4].active == false){ _local5 = objs[_local4]; _local5.active = true; _local5.zpos = _arg3; _local5.xpos = _arg1; _local5.ypos = _arg2; _local5.startx = _arg1; _local5.starty = _arg2; _local5.startz = _arg3; _local5.Init(0); lastGenIndex = _local4; return (objs[_local4]); }; _local4++; }; trace("ERROR! NO FREE OBJECTS"); lastGenIndex = -1; return (null); } public static function ForEachActive(_arg1:Function):void{ var _local2:GameObj; var _local3:Array; _local3 = new Array(); for each (_local2 in objs) { if (_local2.active){ _arg1(_local2); }; }; } public static function GetGOByIndex(_arg1:int):GameObj{ return (objs[_arg1]); } } }//package
Section 140
//Gate (Gate) package { import flash.display.*; public dynamic class Gate extends MovieClip { } }//package
Section 141
//generatewav (generatewav) package { import flash.media.*; public dynamic class generatewav extends Sound { } }//package
Section 142
//Generator (Generator) package { import flash.display.*; public dynamic class Generator extends MovieClip { } }//package
Section 143
//GraphicObjects (GraphicObjects) package { import flash.display.*; import flash.geom.*; import flash.text.*; import flash.utils.*; public class GraphicObjects { public static var gfx_fills:int; static var count:int; public static var stringCharBitmap:Bitmap; public static var gfx_font2black:int; public static var stringCharX:Number; static var main:Main; public static var gfx_backgrounds:int; public static var stringCharY:Number; static var nameList:Array; public static var gfx_fontblack:int; static var graphicobjs:Array; static var nextID:int; static var idList:Array; public static var gfx_outlines:int; public static var gfx_font1:int; public static var gfx_font2:int; public static function Add(_arg1:String, _arg2:int):int{ var _local3:*; var _local4:Class; var _local5:MovieClip; _local3 = nextID; nextID++; _local4 = (getDefinitionByName(_arg1) as Class); _local5 = (new (_local4) as MovieClip); Add1(_local3, new DisplayObj(_local5, 1, _arg2), _arg1); return (_local3); } public static function GetBitmap(_arg1:int, _arg2:int):Bitmap{ var _local3:int; _local3 = idList[_arg1]; return (graphicobjs[_local3].frames[_arg2].bitmaps[0]); } public static function RenderAt(_arg1:int, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Boolean=false){ var _local7:int; _local7 = idList[_arg1]; graphicobjs[_local7].frames[_arg2].RenderAt(_arg3, _arg4, _arg5, _arg6); } public static function RenderAtRot(_arg1:int, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean){ var _local8:int; _local8 = idList[_arg1]; if (_arg7){ graphicobjs[_local8].frames[_arg2].RenderAtRotBurned(_arg3, _arg4, _arg5, _arg6); } else { graphicobjs[_local8].frames[_arg2].RenderAtRot(_arg3, _arg4, _arg5, _arg6); }; } public static function RenderAtSplit(_arg1:int, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number){ var _local6:int; _local6 = idList[_arg1]; graphicobjs[_local6].frames[_arg2].RenderAtSplit(_arg3, _arg4, _arg5); } public static function RenderAtRotScaled(_arg1:int, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Boolean=false, _arg7:Number=1, _arg8:Number=0, _arg9:ColorTransform=null, _arg10:Boolean=false){ var _local11:int; _local11 = idList[_arg1]; graphicobjs[_local11].frames[_arg2].RenderAtRotScaled(_arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10); } public static function GetStringWidth(_arg1:BitmapData, _arg2:int, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Object=null, _arg7:int=0):int{ var _local8:int; var _local9:int; var _local10:int; stringCharX = _arg3; stringCharY = _arg4; _local8 = 0; _local9 = 0; while (_local9 < _arg5.length) { _local10 = int(_arg5.charCodeAt(_local9)); if (_local10 < 0){ _local10 = 0; }; if (_local10 > 127){ _local10 = 127; }; stringCharBitmap = GetBitmap(_arg2, _local10); if (_arg6 != null){ } else { _local8 = (_local8 + (stringCharBitmap.width - 3)); _local8 = (_local8 + _arg7); }; _local9++; }; return (_local8); } public static function RenderStringAt(_arg1:BitmapData, _arg2:int, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Object=null, _arg7:int=0){ var _local8:int; var _local9:int; stringCharX = _arg3; stringCharY = _arg4; _local8 = 0; while (_local8 < _arg5.length) { _local9 = int(_arg5.charCodeAt(_local8)); if (_local9 < 0){ _local9 = 0; }; if (_local9 > 127){ _local9 = 127; }; RenderAt((_arg2 + 1), _local9, _arg1, (stringCharX + 1), (stringCharY + 1)); RenderAt(_arg2, _local9, _arg1, stringCharX, stringCharY); stringCharBitmap = GetBitmap(_arg2, _local9); if (_arg6 != null){ _arg6(); } else { stringCharX = (stringCharX + (stringCharBitmap.width - 3)); stringCharX = (stringCharX + _arg7); }; _local8++; }; } public static function GetWidth(_arg1:int, _arg2:int):int{ var _local3:int; _local3 = idList[_arg1]; return (graphicobjs[_local3].frames[_arg2].bitmaps[0].width); } public static function RenderNumberAt(_arg1:BitmapData, _arg2:int, _arg3:Number, _arg4:Number, _arg5:int){ var _local6:Array; var _local7:int; var _local8:int; var _local9:Boolean; var _local10:int; var _local11:int; var _local12:Bitmap; _local6 = new Array(); _local7 = _arg5; _local8 = 0; while (_local8 < 11) { _local10 = (_local7 % 10); _local6.push(_local10); _local7 = (_local7 / 10); _local8++; }; _local9 = false; _local8 = (_local6.length - 1); while (_local8--) { _local11 = _local6[_local8]; if ((((_local9 == false)) && (!((_local11 == 0))))){ _local9 = true; }; if (_local9){ RenderAt(_arg2, (_local11 + 48), _arg1, _arg3, _arg4); _local12 = GetBitmap(_arg2, (_local11 + 48)); _arg3 = (_arg3 + _local12.width); }; (_local8 >= 0); }; return (_arg3); } public static function GetNumFrames(_arg1:int):int{ var _local2:int; _local2 = idList[_arg1]; return (graphicobjs[_local2].frames.length); } public static function RenderAtScaled(_arg1:int, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Boolean=false, _arg7:Number=1){ var _local8:int; _local8 = idList[_arg1]; graphicobjs[_local8].frames[_arg2].RenderAtScaled(_arg3, _arg4, _arg5, _arg6, _arg7); } public static function Add1(_arg1:int, _arg2:DisplayObj, _arg3:String=""):void{ idList[_arg1] = count; nameList[_arg1] = _arg3; graphicobjs.push(_arg2); count++; } public static function InitOnce(_arg1:Main):void{ var _local2:int; main = _arg1; graphicobjs = new Array(); idList = new Array(200); nameList = new Array(200); _local2 = 0; while (_local2 < 200) { idList[_local2] = int(0); nameList[_local2] = String(""); _local2++; }; count = 0; nextID = 0; gfx_font1 = AddFont(main.tf_scorespr); gfx_fontblack = AddFont(main.tf_scoresprblack); gfx_font2 = AddFont(main.tf_scorespr1); gfx_font2black = AddFont(main.tf_scorespr2); gfx_backgrounds = Add("Background", 0); Add("StaticObjects", 0); Add("DynamicObjects", 0); Add("MovableObjects", 0); Add("Bubble", 0); Add("Animal1", 0); Add("Animal2", 0); Add("Animal3", 0); Add("Animal4", 0); Add("Animal5", 0); Add("Animal6", 0); Add("guinea_pig", 0); Add("guinea_pig_hanging", 0); Add("guinea_pig2", 0); Add("guinea_pig2_hanging", 0); Add("guinea_pig3", 0); Add("guinea_pig3_hanging", 0); Add("BreakableObjects", 0); Add("BreakableObjects2", 0); Add("Objects", 0); Add("BubbleSplat", 0); Add("MoveableObject1", 0); Add("MoveableObject2", 0); Add("MoveableObject3", 0); Add("MoveableObject4", 0); Add("MoveableObject4flat", 0); Add("MoveableObject4flipped", 0); Add("MoveableObject5", 0); Add("MoveableObject6", 0); Add("switchStickers", 0); Add("switch_regular", 0); Add("switch_blue", 0); Add("switch_green", 0); Add("switch_red", 0); Add("Balls", 0); Add("PortalEntry", 0); Add("PortalExit", 0); Add("portalINsparks", 0); Add("portalOUTsparks", 0); gfx_fills = Add("Fills", 0); Add("MovablePlatform", 0); Add("SeeSaw", 0); Add("Generator", 0); Add("BadGuy01", 0); Add("Magma", 0); Add("Cannon", 0); Add("Mincer", 0); Add("MiniGuineaPig", 0); Add("Gate", 0); Add("PortalEntry2", 0); Add("PortalExit2", 0); Add("Springboard", 0); Add("Catapult", 0); Add("SwitchCage", 0); Add("MagnetOut", 0); Add("Magnet", 0); Add("Cursors", 0); Add("hud", 0); gfx_outlines = Add("Outlines", 0); Add("IngamePauseButton", 0); Add("SnakeEnd", 0); Add("help_overlay1", 0); Add("help_overlay2", 0); } public static function GetPixelAt(_arg1:int, _arg2:int, _arg3:int, _arg4:int):uint{ var _local5:int; var _local6:Bitmap; var _local7:uint; _local5 = idList[_arg1]; _local6 = graphicobjs[_local5].frames[_arg2].bitmaps[0]; _local7 = _local6.bitmapData.getPixel32(_arg3, _arg4); return (_local7); } public static function RenderAtAlpha(_arg1:int, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Number){ var _local7:int; _local7 = idList[_arg1]; graphicobjs[_local7].frames[_arg2].RenderAtAlpha(_arg3, _arg4, _arg5, _arg6); } public static function GetIndexByName(_arg1:String):int{ var _local2:int; var _local3:String; _local2 = 0; for each (_local3 in nameList) { if (_local3 == _arg1){ return (_local2); }; _local2++; }; trace(("cant find graphic obj by name: " + _arg1)); return (0); } public static function AddFont(_arg1:TextFormat):int{ var _local2:*; var _local3:DisplayObj; _local2 = nextID; nextID++; _local3 = new DisplayObj(null, 0, 0); _local3.CreateFont(_arg1); idList[_local2] = count; graphicobjs.push(_local3); count++; return (_local2); } public static function GetHeught(_arg1:int, _arg2:int):int{ var _local3:int; _local3 = idList[_arg1]; return (graphicobjs[_local3].frames[_arg2].bitmaps[0].height); } public static function RenderAtAdditive(_arg1:int, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Number){ var _local7:int; _local7 = idList[_arg1]; graphicobjs[_local7].frames[_arg2].RenderAtAdditive(_arg3, _arg4, _arg5, _arg6); } } }//package
Section 144
//guinea_pig (guinea_pig) package { import flash.display.*; public dynamic class guinea_pig extends MovieClip { } }//package
Section 145
//guinea_pig_hanging (guinea_pig_hanging) package { import flash.display.*; public dynamic class guinea_pig_hanging extends MovieClip { } }//package
Section 146
//guinea_pig2 (guinea_pig2) package { import flash.display.*; public dynamic class guinea_pig2 extends MovieClip { } }//package
Section 147
//guinea_pig2_hanging (guinea_pig2_hanging) package { import flash.display.*; public dynamic class guinea_pig2_hanging extends MovieClip { } }//package
Section 148
//guinea_pig3 (guinea_pig3) package { import flash.display.*; public dynamic class guinea_pig3 extends MovieClip { } }//package
Section 149
//guinea_pig3_hanging (guinea_pig3_hanging) package { import flash.display.*; public dynamic class guinea_pig3_hanging extends MovieClip { } }//package
Section 150
//guineadie01 (guineadie01) package { import flash.media.*; public dynamic class guineadie01 extends Sound { } }//package
Section 151
//guineadie02 (guineadie02) package { import flash.media.*; public dynamic class guineadie02 extends Sound { } }//package
Section 152
//guineadie03 (guineadie03) package { import flash.media.*; public dynamic class guineadie03 extends Sound { } }//package
Section 153
//help_overlay1 (help_overlay1) package { import flash.display.*; public dynamic class help_overlay1 extends MovieClip { } }//package
Section 154
//help_overlay2 (help_overlay2) package { import flash.display.*; public dynamic class help_overlay2 extends MovieClip { } }//package
Section 155
//HighScore (HighScore) package { import com.shockwave.test.events.*; import flash.net.*; import com.shockwave.test.*; public class HighScore { public static const hiscoretype_NONE = 0; public static const hiscoretype_MOCHI = 1; public static const hiscoretype_GAMEZHERO = 4; public static const hiscoretype_MINDJOLT_VIRAL = 3; public static const hiscoretype_CANDYSTAND = 6; public static const hiscoretype_SHOCKWAVE = 5; public static const hiscoretype_MINDJOLT = 2; static var callback:Object; static var ach_initObj:Object = new Object(); static var dataObject:Object = new Object(); static var achievementsReady:Boolean; static var responseObject:Object = new Object(); private static var _achievement:Achievements2; static var shockwave_gameid:String = "cyclomaniacs"; static var s:int; static var main:Main; static var difficulty:int; public static function SubmitScore(_arg1:int, _arg2:int, _arg3=null):void{ var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:int; var _local10:URLRequest; s = _arg1; difficulty = _arg2; callback = _arg3; if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ _local4 = "http://www.sikids.com/sikscores"; _local4 = (_local4 + "?"); _local5 = ""; _local5 = ("sid=" + Licensors.sikids_sid); _local4 = (_local4 + _local5); _local4 = (_local4 + "&"); _local5 = ("nid=" + Licensors.sikids_nid); _local4 = (_local4 + _local5); _local4 = (_local4 + "&"); _local5 = "kid=1"; _local4 = (_local4 + _local5); _local4 = (_local4 + "&"); _local6 = s.toString(); _local5 = "k="; _local5 = (_local5 + _local6.charAt(0)); _local7 = _local6.charAt(0); _local8 = _local6.charAt((_local6.length - 1)); _local9 = (int(_local7) + int(_local8)); _local5 = (_local5 + _local9.toString()); _local4 = (_local4 + _local5); _local4 = (_local4 + "&"); _local5 = ("s=" + s.toString()); _local4 = (_local4 + _local5); trace(("SIKIDS URL: " + _local4)); _local10 = new URLRequest(_local4); navigateToURL(_local10, "_blank"); callback(); }; } static function onAchReady(_arg1):void{ trace("SHOCKWAVE onAchReady"); } static function onCompleteReturn(_arg1):void{ trace("[TEST.as] Game Event 'Complete' Returned"); responseObject = (_arg1.returnObject as Object); _achievement.removeEventListener(SDKEvent.SDK_RETURN, onCompleteReturn); if (callback != null){ callback(); }; } public static function InitOnce(_arg1:Main){ main = _arg1; if (Licensors.GetLicensor() == Licensors.LICENSOR_SHOCKWAVE){ create_achObj(); }; } static function create_achObj():void{ trace(ach_initObj); ach_initObj["SourceElementType"] = "Game"; ach_initObj["SourceElementReference"] = shockwave_gameid; _achievement = new Achievements2(Game.main.root, ach_initObj); _achievement.addEventListener("achievementsready", onAchReady); } static function onControlReturned(_arg1:SDKEvent):void{ trace("[TEST.as] Control Returned From Achievements.as"); if (callback != null){ callback(); }; } public static function SubmitScore_Shockwave(_arg1:Number, _arg2:Object=null):void{ Game.currentScore = _arg1; callback = _arg2; trace("calling SubmitScore_Shockwave"); _achievement.addEventListener(SDKEvent.CONTROL_RETURNED, onControlReturned); _achievement.addEventListener(SDKEvent.SDK_RETURN, onCompleteReturn); dataObject.Score = Game.currentScore.toString(); dataObject.GameId = shockwave_gameid; _achievement.gameEvent("complete", dataObject); } } }//package
Section 156
//hud (hud) package { import flash.display.*; public dynamic class hud extends MovieClip { } }//package
Section 157
//IngameHelpClip (IngameHelpClip) package { import flash.display.*; public dynamic class IngameHelpClip extends MovieClip { public var buttonDone:SimpleButton; public var buttonContinue:SimpleButton; } }//package
Section 158
//IngamePauseButton (IngamePauseButton) package { import flash.display.*; public dynamic class IngamePauseButton extends MovieClip { } }//package
Section 159
//INTRO (INTRO) package { import flash.display.*; public dynamic class INTRO extends MovieClip { public var buttonSkip:SimpleButton; public function INTRO(){ addFrameScript(865, frame866); } function frame866(){ stop(); TitleScreenState.buttonSkipPressed(null); } } }//package
Section 160
//KeyReader (KeyReader) package { import flash.events.*; import flash.display.*; public class KeyReader { static const KEY_LEFT = 37; static const KEY_HASH = 222; static const KEY_LEFTSQUAREBRACKET = 219; static const KEY_0 = 58; static const KEY_1 = 49; static const KEY_2 = 50; static const KEY_3 = 51; static const KEY_4 = 52; static const KEY_5 = 53; static const KEY_7 = 55; static const KEY_8 = 56; static const KEY_9 = 57; static const KEY_6 = 54; static const KEY_A = 65; static const KEY_B = 66; static const KEY_C = 67; static const KEY_E = 69; static const KEY_F = 70; static const KEY_G = 71; static const KEY_H = 72; static const KEY_I = 73; static const KEY_J = 74; static const KEY_D = 68; static const KEY_L = 76; static const KEY_M = 77; static const KEY_N = 78; static const KEY_O = 79; static const KEY_P = 80; static const KEY_Q = 81; static const KEY_R = 82; static const KEY_S = 83; static const KEY_T = 84; static const KEY_U = 85; static const KEY_V = 86; static const KEY_W = 87; static const KEY_X = 88; static const KEY_Y = 89; static const KEY_K = 75; static const KEY_RIGHTSQUAREBRACKET = 221; static const KEY_Z = 90; static const KEY_SHIFT = 16; static const KEY_CONTROL = 17; static const KEY_SEMICOLON = 186; static const KEY_NUM_0 = 96; static const KEY_NUM_2 = 98; static const KEY_UP = 38; static const KEY_NUM_6 = 102; static const KEY_NUM_1 = 97; static const KEY_NUM_3 = 99; static const KEY_DOWN = 40; static const KEY_NUM_5 = 101; static const KEY_NUM_7 = 103; static const KEY_NUM_9 = 105; static const KEY_NUM_4 = 100; static const KEY_NUM_8 = 104; static const KEY_TOPLEFT = 223; static const KEY_BACKSLASH = 220; static const KEY_FORWARDSLASH = 191; static const KEY_SPACE = 32; static const KEY_RIGHT = 39; static var keysPressed:Array; static var keysDown:Array; public static function Pressed(_arg1:int):Boolean{ return (keysPressed[_arg1]); } static function keyUpListener(_arg1:KeyboardEvent):void{ var _local2:int; _local2 = _arg1.keyCode; keysDown[_local2] = 0; } static function keyDownListener(_arg1:KeyboardEvent):void{ var _local2:int; _local2 = _arg1.keyCode; var _local3 = keysDown; var _local4 = _local2; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; } public static function UpdateOncePerFrame():void{ var _local1:int; _local1 = 0; while (_local1 < 0x0100) { if (keysDown[_local1] == 1){ keysPressed[_local1] = true; var _local2 = keysDown; var _local3 = _local1; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; } else { keysPressed[_local1] = false; }; _local1++; }; } public static function Down(_arg1:int):Boolean{ return (!((keysDown[_arg1] == 0))); } public static function InitOnce(_arg1:Stage){ var _local2:int; _arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener); _arg1.addEventListener(KeyboardEvent.KEY_UP, keyUpListener); _arg1.focus = _arg1; keysDown = new Array(0x0100); keysPressed = new Array(0x0100); _local2 = 0; while (_local2 < 0x0100) { keysDown[_local2] = int(0); keysPressed[_local2] = Boolean(false); _local2++; }; } } }//package
Section 161
//KongregateKongAIAd (KongregateKongAIAd) package { import flash.events.*; import flash.display.*; public dynamic class KongregateKongAIAd extends MovieClip { public var flash:MovieClip; public function KongregateKongAIAd(){ addFrameScript(0, frame1, 219, frame220); } function frame220(){ stop(); dispatchEvent(new Event("finished")); } function frame1(){ this.stage.frameRate = 30; } } }//package
Section 162
//launch01 (launch01) package { import flash.media.*; public dynamic class launch01 extends Sound { } }//package
Section 163
//launch02 (launch02) package { import flash.media.*; public dynamic class launch02 extends Sound { } }//package
Section 164
//launch03 (launch03) package { import flash.media.*; public dynamic class launch03 extends Sound { } }//package
Section 165
//Level (Level) package { public class Level { var surfaceFrame:uint; var lastTimeTotal:int; var available:Boolean; var lastTime:int; var name:String; var instances:Array; var surfaceThickness:int; var bestTime:int; var exclusiveChar:int; var goldTime:int; var eventWinParam:Number; var silverTime:int; var fillFrame:int; var eventOpponentsString:String; var helpscreenFrames:Array; var eventType:String; var complete:Boolean; var bestTimeTotal:int; var category:int; var lines:Array; public function Level(){ name = ""; instances = new Array(); helpscreenFrames = new Array(); lines = new Array(); category = 0; fillFrame = 1; surfaceFrame = 5; surfaceThickness = 10; available = false; complete = false; eventType = "none"; eventOpponentsString = ""; eventWinParam = 1; exclusiveChar = 1; lastTime = 9999999; lastTimeTotal = 9999999; bestTime = 9999999; bestTimeTotal = 9999999; goldTime = (10 * Defs.fps); silverTime = (20 * Defs.fps); } public function Calculate(){ } } }//package
Section 166
//LevelEndScreen (LevelEndScreen) package { import flash.display.*; public dynamic class LevelEndScreen extends MovieClip { public var buttonMainMenu:MovieClip; public var buttonNext:MovieClip; public var innerholder:MovieClip; public var sponsorBar:MovieClip; } }//package
Section 167
//LevelFailScreen (LevelFailScreen) package { import flash.display.*; public dynamic class LevelFailScreen extends MovieClip { public var buttonMainMenu:MovieClip; public var buttonNext:MovieClip; public var sponsorBar:MovieClip; } }//package
Section 168
//LevelSelectItem (LevelSelectItem) package { import flash.display.*; import flash.text.*; public dynamic class LevelSelectItem extends MovieClip { public var clipSelected:MovieClip; public var textLevelNumber:TextField; public var clipLocked:MovieClip; public var clipComplete:MovieClip; } }//package
Section 169
//LevelSelectScreen (LevelSelectScreen) package { import flash.display.*; import flash.text.*; public dynamic class LevelSelectScreen extends MovieClip { public var textStat1:TextField; public var textStat0:TextField; public var textScore:TextField; public var sponsorBar:MovieClip; public var textTrackName:TextField; } }//package
Section 170
//Licensors (Licensors) package { import flash.display.*; public class Licensors { public static const LICENSOR_BIGFISH = 6; public static const LICENSOR_ANDKON = 5; public static const LICENSOR_GAMENINJA = 17; public static const LICENSOR_KONGREGATE = 1; public static const LICENSOR_MINDJOLT = 4; public static const LICENSOR_ARMORGAMES = 8; public static const LICENSOR_MINIJUEGOS = 15; public static const LICENSOR_SHOCKWAVE = 11; public static const LICENSOR_BORED = 18; public static const LICENSOR_KING = 10; public static const LICENSOR_KIBA = 13; public static const LICENSOR_DOOF = 3; public static const LICENSOR_MINICLIP = 2; public static const LICENSOR_MOUSEBREAKER = 16; public static const LICENSOR_BUBBLEBOX = 7; public static const LICENSOR_GAMEZHERO = 9; public static const LICENSOR_NONE = 0; public static const LICENSOR_NOBRANDING = 12; public static const LICENSOR_SIKIDS = 14; public static var sikids_nid:String; static var licensor:int = 18; public static var sikids_sid:String; public static function IsHosted():Boolean{ if (licensor == LICENSOR_NONE){ return (false); }; if (licensor == LICENSOR_ANDKON){ return (true); }; if (licensor == LICENSOR_BIGFISH){ return (true); }; if (licensor == LICENSOR_KONGREGATE){ if (SiteLock.GetDomain() == "kongregate.com"){ return (true); }; return (false); }; if (licensor == LICENSOR_MINICLIP){ if (SiteLock.GetDomain() == "miniclip.com"){ return (true); }; return (false); }; if (licensor == LICENSOR_DOOF){ if (SiteLock.GetDomain() == "doof.com"){ return (true); }; return (false); }; if (licensor == LICENSOR_MINDJOLT){ return (false); }; return (false); } public static function InitOnce(_arg1:Main):void{ var _local2:String; var _local3:Object; _local2 = Domain.GetDomain(Main.theStage); if (licensor == LICENSOR_SIKIDS){ _local3 = LoaderInfo(_arg1.root.loaderInfo).parameters; sikids_sid = _local3.sid; sikids_nid = _local3.nid; }; if ((((licensor == LICENSOR_KONGREGATE)) && ((_local2 == "addictinggames.com")))){ licensor = LICENSOR_NOBRANDING; }; if ((((licensor == LICENSOR_KONGREGATE)) && ((_local2 == "kaisergames.de")))){ licensor = LICENSOR_KIBA; }; } public static function IsAtKongregate():Boolean{ if (licensor != LICENSOR_KONGREGATE){ return (false); }; if (SiteLock.GetDomain() == "kongregate.com"){ return (true); }; return (false); } public static function GetHighScoreType():int{ if (licensor == LICENSOR_SHOCKWAVE){ return (HighScore.hiscoretype_SHOCKWAVE); }; return (HighScore.hiscoretype_NONE); } public static function GetLicensor():int{ return (licensor); } public static function CanUseMochiAds():Boolean{ if (licensor == LICENSOR_NONE){ return (true); }; if (licensor == LICENSOR_KONGREGATE){ return (true); }; if (licensor == LICENSOR_MINICLIP){ return (false); }; if (licensor == LICENSOR_DOOF){ return (false); }; if (licensor == LICENSOR_MINDJOLT){ return (true); }; if (licensor == LICENSOR_ANDKON){ return (false); }; if (licensor == LICENSOR_BIGFISH){ return (false); }; if (licensor == LICENSOR_ARMORGAMES){ return (false); }; if (licensor == LICENSOR_GAMEZHERO){ return (false); }; if (licensor == LICENSOR_KING){ return (false); }; if (licensor == LICENSOR_SHOCKWAVE){ return (false); }; if (licensor == LICENSOR_BORED){ return (true); }; return (true); } public static function SetLicensor(_arg1:int):void{ licensor = _arg1; } public static function CanUseMochiBot():Boolean{ if (licensor == LICENSOR_ARMORGAMES){ return (false); }; if (licensor == LICENSOR_SHOCKWAVE){ return (false); }; return (true); } } }//package
Section 171
//Line (Line) package { import flash.geom.*; public class Line { public var udx:Number; public var nx:Number; public var ny:Number; public var dir:Number; public var udy:Number; public var dy:Number; public var y0:Number; public var y1:Number; public var dx:Number; public var normalDir:Number; public var length:Number; public var boundingRect:Rectangle; public var x0:Number; public var x1:Number; public function Line(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){ x0 = _arg1; y0 = _arg2; x1 = _arg3; y1 = _arg4; CalcNormal(); CalcBoundingRect(); } function CalcNormal():void{ dir = Math.atan2((y1 - y0), (x1 - x0)); normalDir = (dir - (Math.PI * 0.5)); nx = Math.cos(normalDir); ny = Math.sin(normalDir); dx = (x1 - x0); dy = (y1 - y0); length = Math.sqrt(((dx * dx) + (dy * dy))); udx = Math.cos(dir); udy = Math.sin(dir); } function CalcBoundingRect():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; _local1 = x0; _local2 = x1; if (_local1 > _local2){ _local1 = x1; _local2 = x0; }; _local3 = y0; _local4 = y1; if (_local3 > _local4){ _local3 = y1; _local4 = y0; }; boundingRect = new Rectangle(_local1, _local3, ((_local2 - _local1) + 1), ((_local4 - _local3) + 1)); } } }//package
Section 172
//line2wav (line2wav) package { import flash.media.*; public dynamic class line2wav extends Sound { } }//package
Section 173
//Magma (Magma) package { import flash.display.*; public dynamic class Magma extends MovieClip { } }//package
Section 174
//Magnet (Magnet) package { import flash.display.*; public dynamic class Magnet extends MovieClip { } }//package
Section 175
//MagnetOut (MagnetOut) package { import flash.display.*; public dynamic class MagnetOut extends MovieClip { } }//package
Section 176
//magnetwav (magnetwav) package { import flash.media.*; public dynamic class magnetwav extends Sound { } }//package
Section 177
//Main (Main) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.ui.*; public class Main extends MovieClip { public var tf_scorespr:TextFormat; var framecounter:int;// = 0 public var tf_scorespr2:TextFormat; var cheatMode:Boolean; public var fillScreenMC1:MovieClip; public var layerScreenBD:BitmapData; var levelTimer:Number; var ftime:Number; public var tf_scorespr1:TextFormat; public var screenB:Bitmap; public var backgroundMC:MovieClip; var levelTimerMax:Number; var scrollY:Number;// = 0 public var mochiScores; public var scrollScreenBD:BitmapData; public var screenBD:BitmapData; public var fillScreenMC:MovieClip; public var layerScreenB:Bitmap; public var scrollScreenB:Bitmap; var gameState:int;// = 0 var currentTime:Number;// = 0 var secondCounter:Number;// = 0 public var fps:Number; public var tf_scoresprblack:TextFormat; static const gameState_HIGHSCORES = 5; static const gameState_TITLE = 0; static const gameState_LEVEL_PLAY = 2; public static var theStage:Stage; static var theRoot:MovieClip; public function Main(){ currentTime = 0; gameState = gameState_TITLE; scrollY = 0; framecounter = 0; secondCounter = 0; super(); theRoot = this; theStage = this.root.stage; SetEverythingUpOnce(); } function calcFrameTime(){ var _local1:Number; _local1 = currentTime; currentTime = getTimer(); if (currentTime < _local1){ _local1 = (currentTime - 100); }; if (currentTime > (_local1 + (100 * 10))){ _local1 = (100 * 10); }; ftime = ((1 / (1000 / Defs.fps)) * (currentTime - _local1)); framecounter++; secondCounter = (secondCounter + (currentTime - _local1)); if (secondCounter > 1000){ fps = ((Number(framecounter) / secondCounter) * 1000); framecounter = 0; secondCounter = 0; }; ftime = 1; } function addedToStage(_arg1:Event){ SetEverythingUpOnce2(); } function Render(){ this.x = 0; this.y = 0; Game.Render(); } function InitLevel(){ InitStageForGame(); Particles.Reset(); MouseControl.Reset(); Particles.Reset(); GameObjects.ClearAll(); Game.InitLevel(); } private function CreateTextField(_arg1:TextFormat, _arg2:Number, _arg3:Number, _arg4:String):TextField{ var _local5:TextField; _local5 = new TextField(); _local5.selectable = false; _local5.embedFonts = true; _local5.autoSize = TextFieldAutoSize.CENTER; _local5.x = _arg2; _local5.y = _arg3; _local5.text = _arg4; _local5.setTextFormat(_arg1); addChild(_local5); return (_local5); } function run(_arg1:Event):void{ KeyReader.UpdateOncePerFrame(); SoundPlayer.UpdateOncePerFrame(); MusicPlayer.UpdateOncePerFrame(); if (Game.sitelocked){ if (Domain.IsLockedOut()){ return; }; }; calcFrameTime(); switch (gameState){ case gameState_TITLE: TitleScreenState.Update(this); break; case gameState_HIGHSCORES: break; case gameState_LEVEL_PLAY: RunLevel(); break; }; } function InitStageNoBackground(){ var _local1:int; _local1 = (this.numChildren - 1); while (_local1 >= 0) { removeChildAt(_local1); _local1--; }; } function SetEverythingUpOnce2():void{ addEventListener(Event.ENTER_FRAME, run); MusicPlayer.InitOnce(); KeyReader.InitOnce(theStage); MouseControl.InitOnce(theStage); SoundPlayer.InitOnce(this); PauseMenu.InitOnce(this); Particles.InitOnce(this, 500); GameObjects.InitOnce(this, 1000); InitDrawScreen(); InitFonts(); GraphicObjects.InitOnce(this); Stats.InitOnce(); Game.achievements = new Achievements(); ExternalData.Load(SetEverythingUpOnce3); } function SetEverythingUpOnce3(){ InitStage(); Game.Init(this); SetGameState(gameState_TITLE); } function RunTitle(){ } function SetEverythingUpOnce():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedToStage); } else { SetEverythingUpOnce2(); }; } function InitFonts():void{ var _local1:Font; _local1 = new Font20(); tf_scorespr = new TextFormat(); tf_scorespr1 = new TextFormat(); tf_scorespr2 = new TextFormat(); tf_scoresprblack = new TextFormat(); tf_scorespr.font = _local1.fontName; tf_scorespr.size = 12; tf_scorespr.color = 4294967295; tf_scorespr1.font = _local1.fontName; tf_scorespr1.size = 20; tf_scorespr1.color = 4294967295; tf_scorespr2.font = _local1.fontName; tf_scorespr2.size = 20; tf_scorespr2.color = 0; tf_scoresprblack.font = _local1.fontName; tf_scoresprblack.size = 12; tf_scoresprblack.color = 0; } function SetGameState(_arg1:int):void{ gameState = _arg1; switch (gameState){ case gameState_TITLE: Mouse.show(); TitleScreenState.Init(this); break; case gameState_HIGHSCORES: break; case gameState_LEVEL_PLAY: InitLevel(); break; }; } function InitStageForGame(){ var _local1:int; _local1 = (this.numChildren - 1); while (_local1 >= 0) { removeChildAt(_local1); _local1--; }; addChild(screenB); screenB.x = 0; screenB.y = 0; } function InitStage(){ var _local1:int; _local1 = (this.numChildren - 1); while (_local1 >= 0) { removeChildAt(_local1); _local1--; }; addChild(screenB); screenB.x = 0; screenB.y = 0; } function RunLevel(){ if (PauseMenu.IsPaused() == false){ Game.UpdateGameplay(); }; Render(); } function InitDrawScreen():void{ screenBD = new BitmapData(Defs.displayarea_w, Defs.displayarea_h, true, 0); screenB = new Bitmap(screenBD); scrollScreenBD = new BitmapData(Defs.displayarea_w, Defs.displayarea_w, true, 0); scrollScreenB = new Bitmap(scrollScreenBD); layerScreenBD = new BitmapData(Defs.displayarea_w, Defs.displayarea_w, true, 0); layerScreenB = new Bitmap(layerScreenBD); fillScreenMC = new MovieClip(); fillScreenMC.x = 0; fillScreenMC.y = 0; fillScreenMC1 = new MovieClip(); fillScreenMC1.x = 0; fillScreenMC1.y = 0; } function AddMovieClip(_arg1:Number, _arg2:Number, _arg3:MovieClip):MovieClip{ _arg3.x = _arg1; _arg3.y = _arg2; addChild(_arg3); return (_arg3); } } }//package
Section 178
//Mincer (Mincer) package { import flash.display.*; public dynamic class Mincer extends MovieClip { } }//package
Section 179
//mincerplopwav (mincerplopwav) package { import flash.media.*; public dynamic class mincerplopwav extends Sound { } }//package
Section 180
//mincerwav (mincerwav) package { import flash.media.*; public dynamic class mincerwav extends Sound { } }//package
Section 181
//MiniGuineaPig (MiniGuineaPig) package { import flash.display.*; public dynamic class MiniGuineaPig extends MovieClip { } }//package
Section 182
//MouseControl (MouseControl) package { import flash.events.*; import flash.display.*; public class MouseControl { public static var mouseVelX:Number = 0; public static var mouseVelY:Number = 0; public static var ox:Number = 0; public static var oy:Number = 0; public static var buttonReleased:Boolean = false; public static var buttonPressed:Boolean = false; public static var x:Number = 0; public static var y:Number = 0; public static var delta:int = 0; public static function MouseHandler(_arg1:MouseEvent):void{ x = _arg1.stageX; y = _arg1.stageY; mouseVelX = (x - ox); mouseVelY = (y - oy); ox = x; oy = y; } public static function MouseUpHandler(_arg1:MouseEvent):void{ buttonPressed = false; buttonReleased = true; } public static function MouseClickHandler(_arg1:MouseEvent):void{ buttonPressed = true; buttonReleased = false; } public static function InitOnce(_arg1:Stage):void{ _arg1.addEventListener(MouseEvent.MOUSE_MOVE, MouseHandler); _arg1.addEventListener(MouseEvent.MOUSE_DOWN, MouseClickHandler); _arg1.addEventListener(MouseEvent.MOUSE_UP, MouseUpHandler); _arg1.addEventListener(MouseEvent.MOUSE_WHEEL, MouseWheelHandler); } public static function MouseWheelHandler(_arg1:MouseEvent):void{ delta = _arg1.delta; } public static function Reset():void{ buttonPressed = false; buttonReleased = false; } } }//package
Section 183
//MovableObjects (MovableObjects) package { import flash.display.*; public dynamic class MovableObjects extends MovieClip { } }//package
Section 184
//MovablePlatform (MovablePlatform) package { import flash.display.*; public dynamic class MovablePlatform extends MovieClip { } }//package
Section 185
//MoveableObject1 (MoveableObject1) package { import flash.display.*; public dynamic class MoveableObject1 extends MovieClip { } }//package
Section 186
//MoveableObject2 (MoveableObject2) package { import flash.display.*; public dynamic class MoveableObject2 extends MovieClip { } }//package
Section 187
//MoveableObject3 (MoveableObject3) package { import flash.display.*; public dynamic class MoveableObject3 extends MovieClip { } }//package
Section 188
//MoveableObject4 (MoveableObject4) package { import flash.display.*; public dynamic class MoveableObject4 extends MovieClip { } }//package
Section 189
//MoveableObject4flat (MoveableObject4flat) package { import flash.display.*; public dynamic class MoveableObject4flat extends MovieClip { } }//package
Section 190
//MoveableObject4flipped (MoveableObject4flipped) package { import flash.display.*; public dynamic class MoveableObject4flipped extends MovieClip { } }//package
Section 191
//MoveableObject5 (MoveableObject5) package { import flash.display.*; public dynamic class MoveableObject5 extends MovieClip { } }//package
Section 192
//MoveableObject6 (MoveableObject6) package { import flash.display.*; public dynamic class MoveableObject6 extends MovieClip { } }//package
Section 193
//MusicPlayer (MusicPlayer) package { import flash.utils.*; import flash.media.*; public class MusicPlayer { static var musicSound1:Sound; static var volumeMod:Number = 0.2; static var lastMusicID = -1; static var musicSoundTransform1:SoundTransform; static var musicChannel1:SoundChannel = null; static var currentMusicID:int = -1; static var doMusic:Boolean; static var musicChannel:SoundChannel = null; static var streamChannelFlags:Array; static var musicSoundTransform:SoundTransform; static var musicSound:Sound; static var streamSound:Sound = null; static var streamChannels:Array; static var streamChannelVolumes:Array; public static var currentStreamID:int = -1; public static function StartMusic(_arg1:String){ var classRef:Class; var m:Sound; var musicName = _arg1; if (doMusic == false){ return; }; if (musicChannel != null){ musicChannel.stop(); }; try { classRef = (getDefinitionByName(musicName) as Class); } catch(e:Object) { classRef = null; }; if (classRef == null){ trace(("Music Error: Can't find sound " + musicName)); } else { m = (new (classRef) as Sound); musicSoundTransform = new SoundTransform(1, 0); musicSound = m; musicChannel = musicSound.play(0, 999999, musicSoundTransform); }; lastMusicID = 0; } public static function InitOnce():void{ doMusic = Game.soundon; lastMusicID = -1; currentMusicID = -1; streamChannels = new Array(); streamChannelFlags = new Array(); streamChannelVolumes = new Array(); } public static function StopMusic(){ var _local1:int; var _local2:SoundChannel; var _local3:int; _local1 = 0; while (_local1 < streamChannels.length) { _local3 = streamChannelFlags[_local1]; if ((((_local3 == 0)) || ((_local3 == 1)))){ _local3 = 2; }; streamChannelFlags[_local1] = _local3; _local1++; }; if (musicChannel != null){ musicChannel.stop(); }; } public static function ToggleMute(){ doMusic = (doMusic == false); } public static function StartStream(_arg1:int){ var _local2:String; var _local3:Class; var _local4:Sound; var _local5:SoundTransform; if (doMusic == false){ return; }; _local2 = ""; if (_arg1 == 0){ _local2 = "track01"; }; if (_arg1 == 1){ _local2 = "track02"; }; if (_arg1 == 2){ _local2 = "track03"; }; if (_arg1 == 3){ _local2 = "track04"; }; if (_arg1 == 4){ _local2 = "track04"; }; if (_arg1 == 5){ _local2 = "track05"; }; _local3 = (getDefinitionByName(_local2) as Class); _local4 = (new (_local3) as Sound); _local5 = new SoundTransform(0); streamChannels.push(_local4.play(0, 999999, _local5)); streamChannelFlags.push(int(0)); streamChannelVolumes.push(Number(0)); } public static function UpdateOncePerFrame(){ var _local1:Number; var _local2:Boolean; var _local3:SoundTransform; var _local4:int; var _local5:SoundChannel; var _local6:int; var _local7:Number; var _local8:*; var _local9:*; var _local10:*; _local1 = 0.02; _local2 = false; _local4 = 0; while (_local4 < streamChannels.length) { _local5 = streamChannels[_local4]; _local6 = streamChannelFlags[_local4]; _local7 = streamChannelVolumes[_local4]; if (_local6 == 0){ _local3 = _local5.soundTransform; _local7 = (_local7 + _local1); if (_local7 >= 1){ _local7 = 1; _local6 = 1; }; _local3.volume = (_local7 * volumeMod); _local5.soundTransform = _local3; } else { if (_local6 == 1){ _local3 = _local5.soundTransform; _local3.volume = (_local7 * volumeMod); _local5.soundTransform = _local3; } else { if (_local6 == 2){ _local3 = _local5.soundTransform; _local7 = (_local7 - _local1); if (_local7 <= 0){ _local5.stop(); _local6 = 3; _local2 = true; }; _local3.volume = (_local7 * volumeMod); _local5.soundTransform = _local3; } else { if (_local6 == 3){ }; }; }; }; streamChannelFlags[_local4] = _local6; streamChannels[_local4] = _local5; streamChannelVolumes[_local4] = _local7; if (!doMusic){ _local3 = _local5.soundTransform; _local3.volume = 0; _local5.soundTransform = _local3; }; _local4++; }; if (_local2){ _local8 = new Array(); _local9 = new Array(); _local10 = new Array(); _local4 = 0; while (_local4 < streamChannels.length) { _local5 = streamChannels[_local4]; _local6 = streamChannelFlags[_local4]; _local7 = streamChannelVolumes[_local4]; if (_local6 != 3){ _local8.push(_local6); _local9.push(_local5); _local10.push(_local7); }; _local4++; }; streamChannelFlags = _local8; streamChannels = _local9; streamChannelVolumes = _local10; }; if (!doMusic){ if (musicChannel != null){ _local3 = musicChannel.soundTransform; _local3.volume = 0; musicChannel.soundTransform = _local3; }; } else { if (musicChannel != null){ _local3 = musicChannel.soundTransform; _local3.volume = 1; musicChannel.soundTransform = _local3; }; }; } } }//package
Section 194
//objectbreakwav (objectbreakwav) package { import flash.media.*; public dynamic class objectbreakwav extends Sound { } }//package
Section 195
//ObjectDef (ObjectDef) package { import flash.geom.*; public class ObjectDef { var type:int; var exportName:String; var collisionCircleOffsets:Array; var animIDs:Array; var particleExplodeID:int; var initFuncName:String; var maxHealth:Number; var colRects:Array; var collisionCircleRadii:Array; var animNames:Array; var shieldColRects:Array; var shotControllers:Array; var pathAnimType:int; public function ObjectDef(_arg1:String, _arg2:int, _arg3:Rectangle){ animNames = new Array(); animIDs = new Array(); colRects = new Array(); shieldColRects = new Array(); collisionCircleOffsets = new Array(); collisionCircleRadii = new Array(); exportName = _arg1; type = _arg2; colRects.push(_arg3.clone()); maxHealth = 1; initFuncName = ""; shotControllers = new Array(); } public function AddColRect(_arg1:Rectangle){ colRects.push(_arg1.clone()); } public function GetAnimIDFromName(_arg1:String):int{ var _local2:int; var _local3:int; _local2 = animNames.length; _local3 = 0; while (_local3 < _local2) { if (animNames[_local3] == _arg1){ return (animIDs[_local3]); }; _local3++; }; trace(((("ERROR: Can't find anim name " + _arg1) + " on object ") + exportName)); return (40); } public function SetPathAnimType(_arg1:int){ pathAnimType = _arg1; } public function AddShotController(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number){ var _local5:ShotController; _local5 = new ShotController(); _local5.Set(_arg1, _arg2, _arg3, _arg4); shotControllers.push(_local5); } public function DoesAnimIDExist(_arg1:String):Boolean{ var _local2:int; var _local3:int; _local2 = animNames.length; _local3 = 0; while (_local3 < _local2) { if (animNames[_local3] == _arg1){ return (true); }; _local3++; }; return (false); } public function AddShieldColRect(_arg1:Rectangle){ shieldColRects.push(_arg1.clone()); } public function SetInitFunc(_arg1:String){ initFuncName = _arg1; } public function AddCollisionCircle(_arg1:Number, _arg2:Number, _arg3:Number){ collisionCircleOffsets.push(new Point(_arg1, _arg2)); collisionCircleRadii.push(_arg3); } public function SetParticle(_arg1:int){ particleExplodeID = _arg1; } public function SetHealth(_arg1:Number){ maxHealth = _arg1; } public function AddAnim(_arg1:String, _arg2:int){ animNames.push(_arg1); animIDs.push(_arg2); } } }//package
Section 196
//ObjectDefs (ObjectDefs) package { import flash.geom.*; public class ObjectDefs { static var list:Array; public static function Init(){ var _local1:ObjectDef; list = new Array(); _local1 = new ObjectDef("Player", 0, new Rectangle(-10, -30, 20, 40)); _local1.AddCollisionCircle(0, -17, 15); _local1.AddCollisionCircle(0, -31, 15); _local1.AddCollisionCircle(0, -45, 15); list.push(_local1); } public static function GetObjectDefByExportName(_arg1:String){ var _local2:ObjectDef; var _local3:int; var _local4:int; _local4 = list.length; _local3 = 0; while (_local3 < _local4) { _local2 = list[_local3]; if (_local2.exportName == _arg1){ return (_local2); }; _local3++; }; trace(("ERROR: ObjectDefs can't find object exportname " + _arg1)); return (null); } } }//package
Section 197
//Objects (Objects) package { import flash.display.*; public dynamic class Objects extends MovieClip { } }//package
Section 198
//Outlines (Outlines) package { import flash.display.*; public dynamic class Outlines extends MovieClip { } }//package
Section 199
//Outro (Outro) package { import flash.display.*; public dynamic class Outro extends MovieClip { public var buttonMenu:SimpleButton; } }//package
Section 200
//Particle (Particle) package { class Particle { var graphicID:int; public var yvel:Number; var active:Boolean; var maxframe:int; var dir:Number; var mode:int; public var xvel:Number; var ypos:Number; var updateFunction:Function; var timer:Number; var speed:Number; var angle:Number; var startx:Number; var starty:Number; var xpos:Number; var alpha:Number; var alphaAdd:Number; var color:uint; var frame:Number; var frameVel:Number; var visible:Boolean; var counter:int; public function InitSlime():void{ var _local1:Number; var _local2:Number; _local1 = (Utils.RandBetweenFloat(-1, 1) - (Math.PI * 0.5)); _local2 = Utils.RandBetweenFloat(11, 19); xvel = (Math.cos(_local1) * _local2); yvel = (Math.sin(_local1) * _local2); frame = 0; graphicID = 0; updateFunction = UpdateSlime; mode = 0; } function UpdateVelsTimer(){ xpos = (xpos + xvel); ypos = (ypos + yvel); timer--; if (timer <= 0){ active = false; }; } function PlayAnimation():Boolean{ frame = (frame + frameVel); if (frame >= maxframe){ frame = maxframe; return (true); }; return (false); } public function UpdateWater():void{ xpos = (xpos + xvel); ypos = (ypos + yvel); yvel = (yvel + 0.3); timer--; if (timer <= 0){ }; frame++; if (frame >= 29){ frame = 29; active = false; }; } public function InitWater():void{ var _local1:Number; var _local2:Number; _local1 = Utils.RandCircle(); _local2 = Utils.RandBetweenFloat(3, 5); xvel = (Math.cos(_local1) * _local2); yvel = (Math.sin(_local1) * _local2); frame = 0; updateFunction = UpdateWater; mode = 0; color = 4278190335; timer = 10; frame = 20; } function UpdateSlime():void{ } function CycleAnimation():Boolean{ frame = (frame + frameVel); if (frame >= maxframe){ frame = 0; return (true); }; return (false); } function UpdateAnimAndStop(){ xpos = (xpos + xvel); ypos = (ypos + yvel); if (PlayAnimation()){ active = false; }; } } }//package
Section 201
//Particles (Particles) package { import flash.display.*; import flash.geom.*; public class Particles { public static const type_dust = 0; static var max:int; static var list:Array; static var main:Main; static var nextIndex:int; public function Particles():void{ } public static function Add(_arg1:Number, _arg2:Number):Particle{ var _local3:Number; var _local4:Number; var _local5:Particle; _local5 = list[nextIndex]; nextIndex++; if (nextIndex >= max){ nextIndex = 0; }; _local5.active = true; _local5.timer = 0; _local5.alpha = 1; _local5.alphaAdd = 0; _local5.visible = true; _local5.xpos = _arg1; _local5.ypos = _arg2; _local5.angle = 0; return (_local5); } public static function GetNextIndex():int{ return (nextIndex); } public static function Reset(){ var _local1:int; nextIndex = 0; _local1 = 0; while (_local1 < max) { list[_local1].active = false; _local1++; }; } public static function Update(_arg1:Number){ var _local2:int; var _local3:Particle; _local2 = 0; while (_local2 < max) { _local3 = list[_local2]; if (_local3.active == true){ _local3.updateFunction(); }; _local2++; }; } public static function InitOnce(_arg1:Main, _arg2:int):void{ var _local3:int; var _local4:int; main = _arg1; max = _arg2; nextIndex = 0; list = new Array(max); _local3 = 0; while (_local3 < max) { list[_local3] = new Particle(); list[_local3].active = false; _local3++; }; } public static function CountActive():int{ var _local1:int; var _local2:int; _local1 = 0; _local2 = 0; while (_local2 < max) { if (list[_local2].active){ _local1++; }; _local2++; }; return (_local1); } public static function Render(_arg1:Main){ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; var _local9:int; var _local10:BitmapData; var _local11:Particle; var _local12:Number; var _local13:Number; _local2 = (0 - 16); _local3 = (Defs.displayarea_w + 16); _local4 = (0 - 16); _local5 = (Defs.displayarea_h + 16); _local6 = Game.scrollX; _local7 = Game.scrollY; _local10 = Game.main.scrollScreenBD; _local8 = 0; while (_local8 < max) { _local11 = list[_local8]; if (((_local11.active) && (_local11.visible))){ _local12 = (_local11.xpos - _local6); _local13 = (_local11.ypos - _local7); if (_local11.angle == 0){ GraphicObjects.RenderAt(_local11.graphicID, int(_local11.frame), _local10, _local12, _local13); } else { GraphicObjects.RenderAtRotScaled(_local11.graphicID, int(_local11.frame), _local10, _local12, _local13, false, 1, _local11.angle); }; }; _local8++; }; } } }//package
Section 202
//PauseMenu (PauseMenu) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.text.*; import flash.net.*; import flash.ui.*; public class PauseMenu { static var active:Boolean; static var pauseMC:MovieClip; static var main:Main; public function PauseMenu():void{ } public static function pressed_buttonRestartLevel(_arg1:MouseEvent){ Unpause(); Game.StartLevelPlay(); } public static function pressed_buttonMusic(_arg1:MouseEvent){ MusicPlayer.ToggleMute(); SetTicks(); } public static function IsPaused():Boolean{ return (active); } public static function pressed_buttonContinue(_arg1:MouseEvent){ Unpause(); } public static function pressed_buttonHelp(_arg1:MouseEvent){ } public static function InitOnce(_arg1:Main):void{ main = _arg1; active = false; } static function SetTicks(){ if (SoundPlayer.doSFX){ pauseMC.tickSFX.gotoAndStop(1); } else { pauseMC.tickSFX.gotoAndStop(2); }; if (MusicPlayer.doMusic){ pauseMC.tickMusic.gotoAndStop(1); } else { pauseMC.tickMusic.gotoAndStop(2); }; } public static function Unpause():void{ Mouse.hide(); active = false; main.removeChild(pauseMC); pauseMC = null; KeyReader.InitOnce(Game.main.stage); } public static function pressed_buttonSFX(_arg1:MouseEvent){ SoundPlayer.ToggleMute(); SetTicks(); } public static function Pause():void{ Mouse.show(); pauseMC = AddMovieClip(0, 0, new PauseMenuClip()); main.addChild(pauseMC); pauseMC.buttonSFX.addEventListener(MouseEvent.CLICK, pressed_buttonSFX); pauseMC.buttonMusic.addEventListener(MouseEvent.CLICK, pressed_buttonMusic); pauseMC.buttonQuit.addEventListener(MouseEvent.CLICK, pressed_buttonQuit); pauseMC.buttonRestartLevel.addEventListener(MouseEvent.CLICK, pressed_buttonRestartLevel); pauseMC.buttonContinue.addEventListener(MouseEvent.CLICK, pressed_buttonContinue); pauseMC.buttonHelp.addEventListener(MouseEvent.CLICK, pressed_buttonHelp); pauseMC.buttonHints.addEventListener(MouseEvent.CLICK, pressed_buttonHelp); pauseMC.buttonHelp.visible = false; pauseMC.buttonHints.visible = false; active = true; SetTicks(); } public static function pressed_buttonQuit(_arg1:MouseEvent){ Unpause(); Game.main.SetGameState(Main.gameState_TITLE); } static function AddMovieClip(_arg1:Number, _arg2:Number, _arg3:MovieClip):MovieClip{ _arg3.x = _arg1; _arg3.y = _arg2; main.addChild(_arg3); return (_arg3); } } }//package
Section 203
//PauseMenuClip (PauseMenuClip) package { import flash.display.*; public dynamic class PauseMenuClip extends MovieClip { public var buttonSFX:SimpleButton; public var buttonRestartLevel:SimpleButton; public var buttonMusic:SimpleButton; public var tickMusic:MovieClip; public var buttonHelp:SimpleButton; public var buttonQuit:SimpleButton; public var tickSFX:MovieClip; public var buttonHints:SimpleButton; public var buttonContinue:SimpleButton; } }//package
Section 204
//PhysEditor (PhysEditor) package { import flash.display.*; import flash.geom.*; import flash.ui.*; public class PhysEditor { static const editMode_Commands1:int = 4; static const editMode_Library:int = 1; static const editMode_Normal:int = 0; static const editMode_PickPiece:int = 7; static const editMode_Eraser:int = 2; static const editMode_Commands:int = 3; static const editMode_Adjust:int = 5; static const editMode_Lines:int = 6; static var boxNumW:Number = 5; static var boxNumH:Number = 4; static var editor_currentPiece:int = 0; static var currentLevel:int = 0; static var renderMiniMap:Boolean = true; static var library_page:int = 0; static var renderObjects:Boolean = true; static var prevEditMode:int = 0; static var scrollX:Number = 0; static var scrollY:Number = 0; static var currentLineIndex:int; public static var currentAdjustObject:PhysObj_Instance; static var editMode:int = 0; static var editor_currentPieceRot:Number = 0; static var boxSizeH:Number = (Defs.displayarea_h / boxNumH); static var guideLines:Array; static var boxSizeW:Number = (Defs.displayarea_w / boxNumW); static var currentPointIndex:int; static var updateTimer:int = 0; public static function Editor_PreviousLevel():void{ currentLevel--; if (currentLevel < 0){ currentLevel = 0; }; currentLineIndex = -1; currentPointIndex = -1; } static function Editor_GetNearbyGuidelines(_arg1:PhysObj_Instance, _arg2:Number, _arg3:Number, _arg4:Number=50){ var _local5:Number; var _local6:PhysObj_Body; var _local7:PhysObj_Shape; var _local8:Point; var _local9:Point; var _local10:Array; var _local11:Matrix; var _local12:Array; var _local13:PhysObj_Instance; var _local14:PhysObj; var _local15:Point; var _local16:Point; var _local17:PhysObj; var _local18:Point; var _local19:Number; var _local20:Number; var _local21:Boolean; var _local22:PhysEd_GuideLine; _local5 = 3; _local10 = GetCurrentLevelInstances(); _local11 = new Matrix(); _local12 = new Array(); if (_arg1 != null){ _local14 = Game.physObjs.FindByName(_arg1.typeName); if (_local14 != null){ for each (_local6 in _local14.bodies) { for each (_local7 in _local6.shapes) { if (_local7.type == PhysObj_Shape.Type_Poly){ for each (_local8 in _local7.poly_points) { _local11.identity(); _local11.rotate(Utils.DegToRad(_arg1.rot)); _local15 = new Point(_local8.x, _local8.y); _local15 = _local11.transformPoint(_local15); _local16 = new Point(((_local15.x + _arg1.x) + _local6.pos.x), ((_local15.y + _arg1.y) + _local6.pos.y)); _local12.push(_local16); }; }; }; }; }; } else { _local12.push(new Point(_arg2, _arg3)); }; guideLines = new Array(); for each (_local13 in _local10) { if (_local13 != _arg1){ _local17 = Game.physObjs.FindByName(_local13.typeName); if (_local17 != null){ for each (_local6 in _local17.bodies) { for each (_local7 in _local6.shapes) { if (_local7.type == PhysObj_Shape.Type_Poly){ for each (_local8 in _local7.poly_points) { _local11.identity(); _local11.rotate(Utils.DegToRad(_local13.rot)); _local15 = new Point(_local8.x, _local8.y); _local15 = _local11.transformPoint(_local15); _local18 = new Point(((_local15.x + _local13.x) + _local6.pos.x), ((_local15.y + _local13.y) + _local6.pos.y)); for each (_local9 in _local12) { _local19 = Math.abs((_local18.x - _local9.x)); _local20 = Math.abs((_local18.y - _local9.y)); _local21 = false; if ((((_local20 < _local5)) && ((_local19 < _arg4)))){ _local21 = false; if (Math.floor(_local18.y) == Math.floor(_local9.y)){ _local21 = true; }; _local22 = new PhysEd_GuideLine((_local18.x - 100), (_local18.x + 100), _local18.y, 0, _local21); guideLines.push(_local22); }; if ((((_local19 < _local5)) && ((_local20 < _arg4)))){ _local21 = false; if (Math.floor(_local18.x) == Math.floor(_local9.x)){ _local21 = true; }; _local22 = new PhysEd_GuideLine((_local18.y - 100), (_local18.y + 100), _local18.x, 1, _local21); guideLines.push(_local22); }; }; }; }; }; }; }; }; }; } static function Library_PickPiece(){ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:PhysObj; _local1 = MouseControl.x; _local2 = MouseControl.y; _local3 = (_local1 / boxSizeW); _local4 = (_local2 / boxSizeH); _local5 = (_local3 + (_local4 * boxNumW)); _local6 = (boxNumW * boxNumH); _local5 = (_local5 + (library_page * _local6)); _local7 = (Game.physObjs.GetNum() - 1); if (_local5 > _local7){ _local5 = _local7; }; _local8 = 0; _local9 = 0; _local10 = 0; for each (_local11 in Game.physObjs.list) { if (_local8 == _local5){ _local10 = _local9; }; if (_local11.displayInLibrary){ _local8++; }; _local9++; }; editor_currentPiece = _local10; editor_currentPieceRot = 0; } static function Editor_RenderLineToCursor(){ var _local1:Level; var _local2:PhysLine; var _local3:int; var _local4:int; var _local5:int; var _local6:Point; var _local7:BitmapData; _local1 = GetCurrentLevel(); if (currentLineIndex == -1){ return; }; _local2 = _local1.lines[currentLineIndex]; _local3 = MouseControl.x; _local4 = MouseControl.y; _local5 = (_local2.points.length - 1); _local6 = _local2.points[_local5].clone(); _local2.points[_local5].clone().x = (_local6.x - scrollX); _local6.y = (_local6.y - scrollY); _local7 = Game.main.screenBD; Utils.RenderDotLine(_local7, _local3, _local4, _local6.x, _local6.y, 200, 4278255615); } static function Lines_SelectLine(_arg1:Number, _arg2:Number){ var _local3:Level; var _local4:int; var _local5:PhysLine; var _local6:Point; _local3 = GetCurrentLevel(); _local4 = 0; currentLineIndex = -1; for each (_local5 in _local3.lines) { for each (_local6 in _local5.points) { if (Utils.DistBetweenPoints(_local6.x, _local6.y, _arg1, _arg2) < 3){ currentLineIndex = _local4; return; }; }; _local4++; }; } static function Lines_ChangeType(){ var _local1:Level; var _local2:PhysLine; if (currentLineIndex == -1){ return; }; _local1 = GetCurrentLevel(); _local2 = _local1.lines[currentLineIndex]; _local2.type++; _local2.type = (_local2.type % 8); } static function Lines_MovePoints(_arg1:Number, _arg2:Number){ var _local3:Level; var _local4:Array; var _local5:Number; var _local6:Number; var _local7:Point; if (currentLineIndex == -1){ return; }; _local3 = GetCurrentLevel(); _local4 = _local3.lines[currentLineIndex].points; _local5 = 100; for each (_local7 in _local4) { _local6 = Utils.DistBetweenPoints(_local7.x, _local7.y, _arg1, _arg2); if (_local6 < _local5){ _local6 = (_local5 - _local6); _local6 = Utils.ScaleTo(0, 5, 0, _local5, _local6); if (_local7.y < _arg2){ _local7.y = (_local7.y - _local6); } else { if (_local7.y > _arg2){ _local7.y = (_local7.y + _local6); }; }; }; }; } static function Lines_ScrollToLastPointOfSelectedLine(){ var _local1:Level; var _local2:Array; var _local3:Point; if (currentLineIndex == -1){ return; }; _local1 = GetCurrentLevel(); _local2 = _local1.lines[currentLineIndex].points; _local3 = _local2[(_local2.length - 1)]; scrollX = (_local3.x - (Defs.displayarea_w * 0.5)); scrollY = (_local3.y - (Defs.displayarea_h * 0.5)); } static function UpdateScroll(){ var _local1:Number; var _local2:Number; var _local3:Number; if (KeyReader.Down(KeyReader.KEY_SHIFT) == false){ _local1 = 50; _local2 = 0; _local3 = 0; if (KeyReader.Down(KeyReader.KEY_CONTROL)){ _local1 = (_local1 * 0.2); }; if (KeyReader.Down(KeyReader.KEY_LEFT)){ _local2 = -(_local1); }; if (KeyReader.Down(KeyReader.KEY_RIGHT)){ _local2 = _local1; }; if (KeyReader.Down(KeyReader.KEY_UP)){ _local3 = -(_local1); }; if (KeyReader.Down(KeyReader.KEY_DOWN)){ _local3 = _local1; }; scrollX = (scrollX + _local2); scrollY = (scrollY + _local3); }; } static function GetCurrentLevelInstances():Array{ return (Game.levels[currentLevel].instances); } static function Editor_RenderNearbyGuidelines(){ var _local1:BitmapData; var _local2:PhysEd_GuideLine; var _local3:uint; _local1 = Game.main.screenBD; for each (_local2 in guideLines) { _local3 = 4294901760; if (_local2.level){ _local3 = 4278255615; }; Utils.RenderDotLine(_local1, (_local2.x0 - scrollX), (_local2.y0 - scrollY), (_local2.x1 - scrollX), (_local2.y1 - scrollY), 100, _local3); }; } static function SetCurrentLevelInstances(_arg1:Array):void{ Game.levels[currentLevel].instances = _arg1; } public static function UpdateEditor():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:PhysObj; var _local6:Level; var _local7:PhysObj_Instance; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Point; var _local17:String; var _local18:Array; var _local19:Number; var _local20:Number; var _local21:Point; updateTimer++; _local1 = MouseControl.x; _local2 = MouseControl.y; _local3 = (MouseControl.x + scrollX); _local4 = (MouseControl.y + scrollY); _local6 = GetCurrentLevel(); if (editMode == editMode_Commands){ if (KeyReader.Pressed(KeyReader.KEY_1)){ editMode = editMode_Normal; }; if (KeyReader.Pressed(KeyReader.KEY_2)){ editMode = editMode_Library; library_page++; if (library_page >= GetNumLibraryPages()){ library_page = 0; }; }; if (KeyReader.Pressed(KeyReader.KEY_3)){ editMode = editMode_Eraser; }; if (KeyReader.Pressed(KeyReader.KEY_5)){ currentAdjustObject = null; editMode = editMode_Adjust; }; if (KeyReader.Pressed(KeyReader.KEY_6)){ editMode = editMode_Lines; }; if (KeyReader.Pressed(KeyReader.KEY_7)){ editMode = editMode_PickPiece; }; if (KeyReader.Pressed(KeyReader.KEY_SPACE)){ editMode = editMode_Commands1; }; return; }; if (editMode == editMode_Commands1){ if (KeyReader.Pressed(KeyReader.KEY_1)){ Editor_ClearLevel(); editMode = prevEditMode; }; if (KeyReader.Pressed(KeyReader.KEY_2)){ Editor_AddLevel(); editMode = prevEditMode; }; if (KeyReader.Pressed(KeyReader.KEY_9)){ Game.StartLevelPlay(); return; }; if (KeyReader.Pressed(KeyReader.KEY_4)){ ExportLevelAsXml(); editMode = prevEditMode; }; if (KeyReader.Pressed(KeyReader.KEY_5)){ ExportAllLevelsAsXml(); editMode = prevEditMode; }; if (KeyReader.Pressed(KeyReader.KEY_SPACE)){ editMode = prevEditMode; }; if (KeyReader.Pressed(KeyReader.KEY_8)){ Editor_PreviousLevel(); }; if (KeyReader.Pressed(KeyReader.KEY_9)){ Editor_NextLevel(); }; return; }; if (KeyReader.Pressed(KeyReader.KEY_X)){ renderMiniMap = (renderMiniMap == false); }; if (KeyReader.Pressed(KeyReader.KEY_SPACE)){ prevEditMode = editMode; editMode = editMode_Commands; }; if (editMode == editMode_Library){ if (MouseControl.buttonPressed){ MouseControl.buttonPressed = false; Library_PickPiece(); editMode = editMode_Normal; }; if (KeyReader.Pressed(KeyReader.KEY_DOWN)){ library_page++; if (library_page >= GetNumLibraryPages()){ library_page = 0; }; }; if (KeyReader.Pressed(KeyReader.KEY_UP)){ library_page--; if (library_page < 0){ library_page = (GetNumLibraryPages() - 1); }; }; return; }; if (editMode == editMode_PickPiece){ if (MouseControl.buttonPressed){ MouseControl.buttonPressed = false; _local7 = HitTestPhysObjGraphics(_local1, _local2); if (_local7){ editor_currentPiece = Game.physObjs.FindIndexByName(_local7.typeName); editor_currentPieceRot = 0; editMode = editMode_Normal; }; }; UpdateScroll(); return; }; if (editMode == editMode_Eraser){ if (MouseControl.buttonPressed){ MouseControl.buttonPressed = false; _local7 = HitTestPhysObjGraphics(_local1, _local2); if (_local7){ RemoveFromLevelInstances(_local7); }; }; UpdateScroll(); return; }; if (editMode == editMode_Adjust){ if (MouseControl.buttonPressed){ MouseControl.buttonPressed = false; _local7 = HitTestPhysObjGraphics(_local1, _local2); if (_local7){ currentAdjustObject = _local7; } else { currentAdjustObject = null; }; }; if (currentAdjustObject != null){ _local8 = 1; _local9 = 1; _local10 = 0; _local11 = 0; _local12 = 0; if (KeyReader.Down(KeyReader.KEY_CONTROL)){ _local8 = (_local8 * 10); _local9 = (_local9 * 10); }; if (KeyReader.Down(KeyReader.KEY_SHIFT)){ if (KeyReader.Down(KeyReader.KEY_LEFT)){ _local11 = -(_local8); }; if (KeyReader.Down(KeyReader.KEY_RIGHT)){ _local11 = _local8; }; if (KeyReader.Down(KeyReader.KEY_UP)){ _local12 = -(_local8); }; if (KeyReader.Down(KeyReader.KEY_DOWN)){ _local12 = _local8; }; currentAdjustObject.x = (currentAdjustObject.x + _local11); currentAdjustObject.y = (currentAdjustObject.y + _local12); }; if (KeyReader.Down(KeyReader.KEY_6)){ _local10 = -(_local9); }; if (KeyReader.Down(KeyReader.KEY_7)){ _local10 = _local9; }; currentAdjustObject.rot = (currentAdjustObject.rot + _local10); }; UpdateScroll(); return; }; if (editMode == editMode_Lines){ if (MouseControl.buttonPressed){ if (KeyReader.Down(KeyReader.KEY_7)){ Lines_MovePoints(_local3, _local4); return; }; MouseControl.buttonPressed = false; if (KeyReader.Down(KeyReader.KEY_1)){ Lines_SelectLine(_local3, _local4); return; }; if (KeyReader.Down(KeyReader.KEY_2)){ Lines_DeletePoint(_local3, _local4); return; }; if (KeyReader.Down(KeyReader.KEY_3)){ Lines_InsertPoint(_local3, _local4); return; }; if (KeyReader.Down(KeyReader.KEY_4)){ Lines_SelectPoint(_local3, _local4); return; }; if (KeyReader.Down(KeyReader.KEY_5)){ Lines_NewLine(); }; if (KeyReader.Down(KeyReader.KEY_6)){ Lines_Subdivide(_local3, _local4); return; }; Lines_AddPoint(_local3, _local4); }; if (KeyReader.Pressed(KeyReader.KEY_8)){ Lines_ChangeType(); return; }; if (KeyReader.Pressed(KeyReader.KEY_LEFTSQUAREBRACKET)){ Lines_ScrollToFirstPointOfSelectedLine(); }; if (KeyReader.Pressed(KeyReader.KEY_RIGHTSQUAREBRACKET)){ Lines_ScrollToLastPointOfSelectedLine(); }; if (((!((currentLineIndex == -1))) && (!((currentPointIndex == -1))))){ _local13 = 1; _local14 = 0; _local15 = 0; if (KeyReader.Down(KeyReader.KEY_CONTROL)){ _local13 = (_local13 * 10); }; if (KeyReader.Down(KeyReader.KEY_SHIFT)){ if (KeyReader.Down(KeyReader.KEY_LEFT)){ _local14 = -(_local13); }; if (KeyReader.Down(KeyReader.KEY_RIGHT)){ _local14 = _local13; }; if (KeyReader.Down(KeyReader.KEY_UP)){ _local15 = -(_local13); }; if (KeyReader.Down(KeyReader.KEY_DOWN)){ _local15 = _local13; }; }; _local16 = _local6.lines[currentLineIndex].points[currentPointIndex]; _local6.lines[currentLineIndex].points[currentPointIndex].x = (_local16.x + _local14); _local16.y = (_local16.y + _local15); }; UpdateScroll(); return; }; if (editMode == editMode_Normal){ if (KeyReader.Down(KeyReader.KEY_SHIFT) == true){ if (KeyReader.Pressed(KeyReader.KEY_UP)){ editor_currentPiece++; if (editor_currentPiece > (Game.physObjs.GetNum() - 1)){ editor_currentPiece = 0; }; }; if (KeyReader.Pressed(KeyReader.KEY_DOWN)){ editor_currentPiece--; if (editor_currentPiece < 0){ editor_currentPiece = (Game.physObjs.GetNum() - 1); }; }; _local9 = 1; if (KeyReader.Down(KeyReader.KEY_CONTROL) == false){ _local9 = (_local9 * 10); }; if (KeyReader.Down(KeyReader.KEY_LEFT)){ editor_currentPieceRot = (editor_currentPieceRot - _local9); }; if (KeyReader.Down(KeyReader.KEY_RIGHT)){ editor_currentPieceRot = (editor_currentPieceRot + _local9); }; }; _local5 = Game.physObjs.GetByIndex(editor_currentPiece); _local17 = _local5.name; if (MouseControl.buttonPressed){ MouseControl.buttonPressed = false; _local18 = GetCurrentLevelInstances(); _local19 = _local3; _local20 = _local4; if (KeyReader.Down(KeyReader.KEY_1)){ _local21 = SnapToObjects(_local3, _local4); if (_local21 != null){ trace(((((((("snapped to point :" + _local3) + " ") + _local4) + " -> ") + _local21.x) + " ") + _local21.y)); _local19 = _local21.x; _local20 = _local21.y; }; }; _local18.push(Game.CreatePhysObjInstanceAt(_local17, _local19, _local20, editor_currentPieceRot, "")); SetCurrentLevelInstances(_local18); }; UpdateScroll(); }; } static function Editor_RenderLines(){ var _local1:Level; var _local2:BitmapData; var _local3:int; var _local4:PhysLine; var _local5:uint; var _local6:int; var _local7:Point; var _local8:Point; var _local9:Rectangle; _local1 = GetCurrentLevel(); _local2 = Game.main.screenBD; _local3 = 0; for each (_local4 in _local1.lines) { _local5 = 4290822336; if (_local3 == currentLineIndex){ _local5 = 4294967295; }; if (_local4.points.length >= 2){ _local6 = 0; while (_local6 < (_local4.points.length - 1)) { _local7 = _local4.points[_local6].clone(); _local8 = _local4.points[(_local6 + 1)].clone(); Utils.RenderDotLine(_local2, (_local7.x - scrollX), (_local7.y - scrollY), (_local8.x - scrollX), (_local8.y - scrollY), 200, _local5); _local6++; }; }; _local6 = 0; while (_local6 < _local4.points.length) { _local5 = 4294901760; if ((((_local3 == currentLineIndex)) && ((currentPointIndex == _local6)))){ _local5 = 4294967040; }; _local9 = new Rectangle(((_local4.points[_local6].x - 2) - scrollX), ((_local4.points[_local6].y - 2) - scrollY), 4, 4); Utils.RenderRectangle(_local2, _local9, _local5); _local6++; }; _local3++; }; } public static function InitEditor():void{ var _local1:Level; Mouse.show(); Game.InitBox2D(); GameObjects.ClearAll(); updateTimer = 0; editMode = editMode_Normal; currentLineIndex = -1; currentPointIndex = -1; _local1 = GetCurrentLevel(); currentLineIndex = (_local1.lines.length - 1); } static function Editor_RenderMiniMap(){ var _local1:Number; var _local2:Array; var _local3:BitmapData; var _local4:PhysObj_Instance; var _local5:PhysObj; _local1 = (1 / 20); _local2 = GetCurrentLevelInstances(); _local3 = Game.main.screenBD; for each (_local4 in _local2) { _local5 = Game.physObjs.FindByName(_local4.typeName); if (_local5 != null){ PhysObj.RenderAt(_local5, (_local4.x - scrollX), ((_local4.y - scrollY) + (240 / _local1)), _local4.rot, _local3, false, _local1); }; }; } static function Lines_Subdivide(_arg1:Number, _arg2:Number){ var _local3:Level; var _local4:int; var _local5:int; var _local6:int; var _local7:PhysLine; var _local8:int; var _local9:Point; var _local10:int; var _local11:int; var _local12:Array; var _local13:int; var _local14:Array; var _local15:Array; var _local16:int; var _local17:Point; var _local18:Point; var _local19:Point; if ((((currentLineIndex == -1)) || ((currentPointIndex == -1)))){ return; }; _local3 = GetCurrentLevel(); _local4 = 0; _local5 = -1; _local6 = -1; for each (_local7 in _local3.lines) { _local8 = 0; for each (_local9 in _local7.points) { if (Utils.DistBetweenPoints(_local9.x, _local9.y, _arg1, _arg2) < 3){ _local5 = _local4; _local6 = _local8; }; _local8++; }; _local4++; }; if (((!((_local5 == -1))) && (!((_local6 == -1))))){ if (_local6 == currentPointIndex){ return; }; _local10 = currentPointIndex; _local11 = _local6; if (_local11 < _local10){ _local16 = _local10; _local11 = _local10; _local10 = _local16; }; _local12 = new Array(); _local14 = _local3.lines[_local5].points; _local13 = _local10; while (_local13 < _local11) { _local17 = _local14[_local13].clone(); _local18 = _local14[(_local13 + 1)].clone(); _local19 = new Point(((_local17.x + _local18.x) / 2), ((_local17.y + _local18.y) / 2)); _local12.push(_local19); _local12.push(_local18); _local13++; }; _local15 = new Array(); _local13 = 0; while (_local13 <= _local10) { _local15.push(_local14[_local13].clone()); _local13++; }; for each (_local19 in _local12) { _local15.push(_local19.clone()); }; _local13 = (_local11 + 1); while (_local13 < _local14.length) { _local15.push(_local14[_local13].clone()); _local13++; }; _local3.lines[_local5].points = _local15; }; } public static function Editor_ClearLevel():void{ var _local1:Array; _local1 = new Array(); Game.levels[currentLevel].instances = _local1; currentLineIndex = -1; currentPointIndex = -1; } static function RenderEditor(){ var _local1:int; var _local2:int; var _local3:Number; var _local4:String; var _local5:BitmapData; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; var _local15:int; var _local16:int; var _local17:PhysObj; var _local18:PhysObj; var _local19:PhysObj_Instance; _local5 = Game.main.screenBD; _local6 = MouseControl.x; _local7 = MouseControl.y; _local8 = (MouseControl.x + scrollX); _local9 = (MouseControl.y + scrollY); if (editMode == editMode_Commands){ _local5.fillRect(Defs.screenRect, 4285542576); }; if (editMode == editMode_Commands1){ _local5.fillRect(Defs.screenRect, 4285542592); }; if (editMode == editMode_Library){ _local5.fillRect(Defs.screenRect, 4284498112); _local10 = 0; _local11 = 0; _local10 = 0; while (_local10 < Defs.displayarea_w) { Utils.RenderDotLine(_local5, _local10, 0, _local10, 640, 100, 4282433600); _local10 = (_local10 + boxSizeW); }; _local10 = 0; while (_local10 < Defs.displayarea_h) { Utils.RenderDotLine(_local5, 0, _local10, 640, _local10, 100, 4282433600); _local10 = (_local10 + boxSizeH); }; _local12 = (boxNumW * boxNumH); _local13 = (library_page * _local12); _local14 = (_local13 + (_local12 - 1)); _local10 = 0; _local11 = 0; _local15 = Game.physObjs.GetNum(); _local16 = 0; for each (_local17 in Game.physObjs.list) { if (_local17.displayInLibrary){ if ((((_local16 >= _local13)) && ((_local16 <= _local14)))){ PhysObj.RenderAt(_local17, (_local10 + (boxSizeW / 2)), (_local11 + (boxSizeH / 2)), 0, _local5); _local4 = _local17.name; GraphicObjects.RenderStringAt(_local5, GraphicObjects.gfx_font1, (_local10 + 8), ((_local11 + boxSizeH) - 16), _local4, null); _local10 = (_local10 + boxSizeW); if (_local10 >= Defs.displayarea_w){ _local10 = 0; _local11 = (_local11 + boxSizeH); }; }; }; _local16++; }; }; if (editMode == editMode_Eraser){ _local5.fillRect(Defs.screenRect, 4281549909); GraphicObjects.RenderAt(GraphicObjects.gfx_backgrounds, 0, _local5, -(scrollX), -(scrollY)); if (renderObjects){ Editor_RenderObjects(); }; if (renderMiniMap){ Editor_RenderMiniMap(); }; Editor_RenderLines(); }; if (editMode == editMode_PickPiece){ _local5.fillRect(Defs.screenRect, 4281549909); GraphicObjects.RenderAt(GraphicObjects.gfx_backgrounds, 0, _local5, -(scrollX), -(scrollY)); if (renderObjects){ Editor_RenderObjects(); }; if (renderMiniMap){ Editor_RenderMiniMap(); }; Editor_RenderLines(); }; if (editMode == editMode_Normal){ _local5.fillRect(Defs.screenRect, 4282668390); GraphicObjects.RenderAt(GraphicObjects.gfx_backgrounds, 0, _local5, -(scrollX), -(scrollY)); if (renderObjects){ Editor_RenderObjects(); }; if (renderMiniMap){ Editor_RenderMiniMap(); }; Editor_RenderLines(); _local18 = Game.physObjs.GetByIndex(editor_currentPiece); PhysObj.RenderAt(_local18, _local6, _local7, editor_currentPieceRot, _local5); if (_local18 != null){ _local19 = Game.CreatePhysObjInstanceAt(_local18.name, _local8, _local9, editor_currentPieceRot, ""); Editor_GetNearbyGuidelines(_local19, 0, 0); Editor_RenderNearbyGuidelines(); }; }; if (editMode == editMode_Adjust){ _local5.fillRect(Defs.screenRect, 4282668390); GraphicObjects.RenderAt(GraphicObjects.gfx_backgrounds, 0, _local5, -(scrollX), -(scrollY)); if (renderObjects){ Editor_RenderObjects_AdjustMode(); }; if (renderMiniMap){ Editor_RenderMiniMap(); }; Editor_RenderLines(); if (currentAdjustObject != null){ Editor_GetNearbyGuidelines(currentAdjustObject, 0, 0); Editor_RenderNearbyGuidelines(); }; }; if (editMode == editMode_Lines){ _local5.fillRect(Defs.screenRect, 4282668390); GraphicObjects.RenderAt(GraphicObjects.gfx_backgrounds, 0, _local5, -(scrollX), -(scrollY)); if (renderObjects){ Editor_RenderObjects(); }; if (renderMiniMap){ Editor_RenderMiniMap(); }; Editor_RenderLines(); Editor_RenderLineToCursor(); }; RenderPanel_Editor(); } public static function HitTestPhysObjGraphics(_arg1:Number, _arg2:Number):PhysObj_Instance{ var _local3:Array; var _local4:PhysObj_Instance; var _local5:BitmapData; var _local6:PhysObj; var _local7:uint; _local3 = GetCurrentLevelInstances(); for each (_local4 in _local3) { _local5 = Game.main.screenBD; _local5.fillRect(Defs.screenRect, 0); _local6 = Game.physObjs.FindByName(_local4.typeName); PhysObj.RenderAt(_local6, (_local4.x - scrollX), (_local4.y - scrollY), _local4.rot, _local5); _local7 = _local5.getPixel32(_arg1, _arg2); if (_local7 != 0){ return (_local4); }; }; return (null); } static function Lines_NewLine(){ var _local1:PhysLine; var _local2:Level; _local1 = new PhysLine(); _local2 = GetCurrentLevel(); _local2.lines.push(_local1); currentLineIndex = (_local2.lines.length - 1); } static function Lines_ScrollToFirstPointOfSelectedLine(){ var _local1:Level; var _local2:Array; var _local3:Point; if (currentLineIndex == -1){ return; }; _local1 = GetCurrentLevel(); _local2 = _local1.lines[currentLineIndex].points; _local3 = _local2[0]; scrollX = (_local3.x - (Defs.displayarea_w * 0.5)); scrollY = (_local3.y - (Defs.displayarea_h * 0.5)); } static function SnapToObjects(_arg1:Number, _arg2:Number):Point{ var _local3:PhysObj; var _local4:PhysObj_Instance; var _local5:BitmapData; var _local6:int; var _local7:Number; var _local8:Number; var _local9:PhysEd_GuideLine; var _local10:Point; _local3 = Game.physObjs.GetByIndex(editor_currentPiece); if (_local3 == null){ return (null); }; _local4 = Game.CreatePhysObjInstanceAt(_local3.name, _arg1, _arg2, editor_currentPieceRot, ""); Editor_GetNearbyGuidelines(null, _arg1, _arg2, 20); trace(("guidelines: " + guideLines.length)); _local5 = Game.main.screenBD; _local6 = 99999999; _local7 = _local6; _local8 = _local6; for each (_local9 in guideLines) { if (_local9.type == 1){ if (Math.abs((_local9.x0 - _arg1)) < _local7){ _local7 = _local9.x0; }; } else { if (Math.abs((_local9.y0 - _arg2)) < _local8){ _local8 = _local9.y0; }; }; }; if (((!((_local7 == _local6))) && (!((_local8 == _local6))))){ _local10 = new Point(_local7, _local8); return (_local10); }; return (null); } static function CountLibraryPieces():int{ var _local1:int; var _local2:PhysObj; _local1 = 0; for each (_local2 in Game.physObjs.list) { if (_local2.displayInLibrary){ _local1++; }; }; return (_local1); } static function Editor_RenderObjects_AdjustMode(){ var _local1:Array; var _local2:BitmapData; var _local3:PhysObj_Instance; var _local4:PhysObj; _local1 = GetCurrentLevelInstances(); _local2 = Game.main.screenBD; for each (_local3 in _local1) { _local4 = Game.physObjs.FindByName(_local3.typeName); if (_local3 == currentAdjustObject){ if ((updateTimer & 2)){ PhysObj.RenderAt(_local4, (_local3.x - scrollX), (_local3.y - scrollY), _local3.rot, _local2); }; } else { PhysObj.RenderAt(_local4, (_local3.x - scrollX), (_local3.y - scrollY), _local3.rot, _local2); }; }; } public static function ExportLevelAsXml(){ var _local1:Level; var _local2:String; var _local3:String; var _local4:int; var _local5:Array; var _local6:PhysObj_Instance; var _local7:Point; var _local8:PhysLine; var _local9:int; var _local10:int; var _local11:Array; var _local12:int; var _local13:int; var _local14:int; var _local15:int; var _local16:int; var _local17:String; _local1 = GetCurrentLevel(); _local2 = ""; _local3 = ""; _local2 = (("<level name=\"" + _local1.name) + "\""); _local2 = (_local2 + ((" category=\"" + _local1.category.toString()) + "\"")); _local2 = (_local2 + ((" fillframe=\"" + _local1.fillFrame.toString()) + "\"")); _local2 = (_local2 + ((" surfaceframe=\"" + _local1.surfaceFrame.toString()) + "\"")); _local2 = (_local2 + ((" surfacethickness=\"" + _local1.surfaceThickness.toString()) + "\"")); _local2 = (_local2 + ((" type=\"" + _local1.eventType.toString()) + "\"")); _local2 = (_local2 + ((" opponents=\"" + _local1.eventOpponentsString.toString()) + "\"")); _local2 = (_local2 + ((" win=\"" + _local1.eventWinParam.toString()) + "\"")); _local2 = (_local2 + ((" exclusivechar=\"" + _local1.exclusiveChar.toString()) + "\"")); _local2 = (_local2 + " >"); _local3 = (_local3 + (_local2 + "\n")); trace(_local2); _local2 = (((("<times gold=\"" + (_local1.goldTime / Defs.fps)) + "\" silver=\"") + (_local1.silverTime / Defs.fps)) + "\" />"); _local3 = (_local3 + (_local2 + "\n")); trace(_local2); for each (_local4 in _local1.helpscreenFrames) { _local2 = (("<helpscreen frame=\"" + _local4) + "\" />"); _local3 = (_local3 + (_local2 + "\n")); trace(_local2); }; _local5 = GetCurrentLevelInstances(); for each (_local6 in _local5) { _local2 = (((((((((("<obj type=\"" + _local6.typeName) + "\" x=\"") + _local6.x) + "\" y=\"") + _local6.y) + "\" rot=\"") + _local6.rot) + "\" params=\"") + _local6.initParams) + "\" />"); _local3 = (_local3 + (_local2 + "\n")); trace(_local2); }; for each (_local8 in _local1.lines) { _local2 = (((((((("<line type=\"" + _local8.type) + "\" name=\"") + _local8.name) + "\" fill=\"") + _local8.fill) + "\" fillscale=\"") + _local8.fillScaleX) + "\">"); _local3 = (_local3 + (_local2 + "\n")); trace(_local2); _local11 = _local8.points; _local12 = _local11.length; _local13 = 10; _local14 = (_local12 / _local13); _local15 = (_local12 % _local13); _local16 = 0; _local9 = 0; while (_local9 < _local14) { _local17 = "<points a=\""; _local10 = 0; while (_local10 < _local13) { var _temp1 = _local16; _local16 = (_local16 + 1); _local7 = _local11[_temp1]; _local17 = (_local17 + ((_local7.x + ",") + _local7.y)); if (_local10 != (_local13 - 1)){ _local17 = (_local17 + ", "); }; _local10++; }; _local17 = (_local17 + "\" />"); _local2 = _local17; _local3 = (_local3 + (_local2 + "\n")); trace(_local2); _local9++; }; if (_local15 != 0){ _local17 = "<points a=\""; _local10 = 0; while (_local10 < _local15) { var _temp2 = _local16; _local16 = (_local16 + 1); _local7 = _local11[_temp2]; _local17 = (_local17 + ((_local7.x + ",") + _local7.y)); if (_local10 != (_local15 - 1)){ _local17 = (_local17 + ", "); }; _local10++; }; _local17 = (_local17 + "\" />"); _local2 = _local17; _local3 = (_local3 + (_local2 + "\n")); trace(_local2); }; _local2 = "</line>"; _local3 = (_local3 + (_local2 + "\n")); trace(_local2); }; _local2 = "</level>"; _local3 = (_local3 + (_local2 + "\n")); trace(_local2); ExternalData.OutputString(_local3); } static function Lines_InsertPoint(_arg1:Number, _arg2:Number){ var _local3:Level; var _local4:int; var _local5:int; var _local6:int; var _local7:PhysLine; var _local8:int; var _local9:Point; var _local10:Array; var _local11:Point; var _local12:Point; var _local13:Point; _local3 = GetCurrentLevel(); _local4 = 0; _local5 = -1; _local6 = -1; for each (_local7 in _local3.lines) { _local8 = 0; for each (_local9 in _local7.points) { if (Utils.DistBetweenPoints(_local9.x, _local9.y, _arg1, _arg2) < 3){ _local5 = _local4; _local6 = _local8; }; _local8++; }; _local4++; }; if (((!((_local5 == -1))) && (!((_local6 == -1))))){ _local10 = _local3.lines[_local5].points; if (_local6 == (_local10.length - 1)){ return; }; _local11 = _local10[_local6].clone(); _local12 = _local10[(_local6 + 1)].clone(); _local13 = new Point(0, 0); _local13.x = ((_local11.x + _local12.x) * 0.5); _local13.y = ((_local11.y + _local12.y) * 0.5); _local10.splice((_local6 + 1), 0, _local13); _local3.lines[_local5].points = _local10; }; } static function GetNumLibraryPages():int{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = (boxNumW * boxNumH); _local2 = CountLibraryPieces(); _local3 = (_local2 / _local1); _local4 = (_local2 % _local1); if (_local4 != 0){ _local3++; }; return (_local3); } static function Editor_RenderObjects(){ var _local1:Array; var _local2:BitmapData; var _local3:PhysObj_Instance; var _local4:PhysObj; _local1 = GetCurrentLevelInstances(); _local2 = Game.main.screenBD; for each (_local3 in _local1) { _local4 = Game.physObjs.FindByName(_local3.typeName); if (_local4 != null){ PhysObj.RenderAt(_local4, (_local3.x - scrollX), (_local3.y - scrollY), _local3.rot, _local2); }; }; } static function Lines_DeletePoint(_arg1:Number, _arg2:Number){ var _local3:Level; var _local4:int; var _local5:int; var _local6:int; var _local7:PhysLine; var _local8:int; var _local9:Point; var _local10:Array; var _local11:Array; var _local12:int; var _local13:Array; _local3 = GetCurrentLevel(); _local4 = 0; _local5 = -1; _local6 = -1; for each (_local7 in _local3.lines) { _local8 = 0; for each (_local9 in _local7.points) { if (Utils.DistBetweenPoints(_local9.x, _local9.y, _arg1, _arg2) < 3){ _local5 = _local4; _local6 = _local8; }; _local8++; }; _local4++; }; if (((!((_local5 == -1))) && (!((_local6 == -1))))){ _local10 = _local3.lines[_local5].points; _local11 = new Array(); _local12 = 0; while (_local12 < _local10.length) { if (_local12 != _local6){ _local11.push(_local10[_local12].clone()); }; _local12++; }; _local3.lines[_local5].points = _local11; _local13 = new Array(); for each (_local7 in _local3.lines) { if (_local7.points.length != 0){ _local13.push(_local7.Clone()); } else { currentLineIndex = -1; }; }; _local3.lines = _local13; currentPointIndex = -1; }; } static function Lines_AddPoint(_arg1:Number, _arg2:Number){ var _local3:Level; var _local4:Point; var _local5:Array; if (currentLineIndex == -1){ return; }; _local3 = GetCurrentLevel(); _local4 = new Point(_arg1, _arg2); _local5 = _local3.lines[currentLineIndex].points; _local5.push(_local4); _local3.lines[currentLineIndex].points = _local5; } public static function ExportAllLevelsAsXml(){ var _local1:int; var _local2:int; _local2 = currentLevel; _local1 = 0; while (_local1 < Game.levels.length) { currentLevel = _local1; ExportLevelAsXml(); _local1++; }; currentLevel = _local2; } static function Lines_SelectPoint(_arg1:Number, _arg2:Number){ var _local3:Level; var _local4:int; var _local5:PhysLine; var _local6:int; var _local7:Point; _local3 = GetCurrentLevel(); _local4 = 0; currentLineIndex = -1; currentPointIndex = -1; for each (_local5 in _local3.lines) { _local6 = 0; for each (_local7 in _local5.points) { if (Utils.DistBetweenPoints(_local7.x, _local7.y, _arg1, _arg2) < 3){ currentLineIndex = _local4; currentPointIndex = _local6; return; }; _local6++; }; _local4++; }; } public static function Editor_AddLevel():void{ var _local1:Level; _local1 = new Level(); currentLevel = Game.levels.length; Game.levels.push(_local1); currentLineIndex = -1; currentPointIndex = -1; } static function RemoveFromLevelInstances(_arg1:PhysObj_Instance){ var _local2:Array; var _local3:Array; var _local4:PhysObj_Instance; _local2 = GetCurrentLevelInstances(); _local3 = new Array(); for each (_local4 in _local2) { if (_local4 == _arg1){ } else { _local3.push(_local4); }; }; _local2 = _local3; Game.levels[currentLevel].instances = _local2; } static function GetCurrentLevel():Level{ return (Game.levels[currentLevel]); } static function RenderPanel_Editor(){ var _local1:Number; var _local2:Number; var _local3:String; var _local4:BitmapData; var _local5:PhysLine; _local4 = Game.main.screenBD; if (editMode == editMode_Commands){ _local3 = "Editor: Mode = Commands"; _local1 = 10; _local2 = 10; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local1 = 50; _local2 = 50; _local3 = "1: Place Pieces"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "2: Library (cycle)"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "3: Eraser"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "4: Commands"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "5: Adjust Placement"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "6: Edit Lines"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "7: Pick Piece"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "8: Prev Level"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "9: Next Level"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); return; }; if (editMode == editMode_Commands1){ _local3 = "Editor: Mode = Commands1"; _local1 = 10; _local2 = 10; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local1 = 50; _local2 = 50; _local3 = "1: Erase Level"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "2: Add New Level (at end)"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "4: Export current level"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "5: Export all levels"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "9: Quit To Game"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); return; }; _local3 = "Editor: Mode = "; if (editMode == editMode_Normal){ _local3 = (_local3 + "Placement"); }; if (editMode == editMode_Library){ _local3 = (_local3 + ((("Library Page " + int((library_page + 1)).toString()) + " / ") + int(GetNumLibraryPages()).toString())); }; if (editMode == editMode_Eraser){ _local3 = (_local3 + "Eraser"); }; if (editMode == editMode_Adjust){ _local3 = (_local3 + "Adjust"); }; if (editMode == editMode_Lines){ _local3 = (_local3 + "Lines"); }; if (editMode == editMode_PickPiece){ _local3 = (_local3 + "PickPiece"); }; _local1 = 10; _local2 = 10; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); if (editMode == editMode_Lines){ _local3 = "1: Select Line (hold and click on point)"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "2: Delete Point (hold and click to delete)"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "3: Insert Point after clicked point"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "4: Select Point for editing with arrow keys"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "5: New line (hold and click new point)"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "6: Subdivide between this point and selected point"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "7: Push line points"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "8: Change Type"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "[ and ]: Move to first / last point of selected line"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = ((("ScrollPos: " + scrollX) + " ") + scrollY); GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = ((("CursorPos: " + int((MouseControl.x + scrollX))) + " ") + int((MouseControl.y + scrollY))); GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); if (currentLineIndex != -1){ _local5 = GetCurrentLevel().lines[currentLineIndex]; _local3 = ("Type: " + _local5.type); GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); }; }; if (editMode == editMode_Adjust){ _local3 = "Shift + Arrows: Move Piece"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "6: Rotate Left"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "7: Rotate Right"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); }; if (editMode == editMode_Normal){ _local3 = ((("ScrollPos: " + scrollX) + " ") + scrollY); GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = ((("CursorPos: " + int((MouseControl.x + scrollX))) + " ") + int((MouseControl.y + scrollY))); GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); _local3 = "1: Snap to nearby objects"; GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); }; if (editMode == editMode_Adjust){ if (currentAdjustObject != null){ _local3 = ((((("Pos: " + currentAdjustObject.x) + " ") + currentAdjustObject.y) + " Rot: ") + currentAdjustObject.rot); GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); _local2 = (_local2 + 15); }; }; _local1 = 350; _local3 = ("Level=" + currentLevel.toString()); GraphicObjects.RenderStringAt(_local4, GraphicObjects.gfx_font1, _local1, _local2, _local3, null); } public static function Editor_NextLevel():void{ currentLevel++; if (currentLevel > (Game.levels.length - 1)){ currentLevel = (Game.levels.length - 1); }; currentLineIndex = -1; currentPointIndex = -1; } } }//package class PhysEd_GuideLine { private var level:Boolean; private var x0:Number; private var x1:Number; private var type:int; private var y0:Number; private var y1:Number; private function PhysEd_GuideLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean){ type = _arg4; level = _arg5; if (type == 0){ x0 = _arg1; x1 = _arg2; y0 = _arg3; y1 = _arg3; } else { y0 = _arg1; y1 = _arg2; x0 = _arg3; x1 = _arg3; }; } }
Section 205
//PhysLine (PhysLine) package { import flash.display.*; import flash.geom.*; public class PhysLine { var fill:int; var type:int; var name:String; public var points:Array; var fillScaleX:Number; var fillScaleY:Number; var catmullRomLength:Number; public function PhysLine(){ name = "undefined"; type = 0; points = new Array(); fill = 0; fillScaleX = 1; fillScaleY = 1; } function PointOnCurve(_arg1:Number, _arg2:Point, _arg3:Point, _arg4:Point, _arg5:Point):Point{ var _local6:Point; var _local7:Number; var _local8:Number; _local6 = new Point(); _local7 = (_arg1 * _arg1); _local8 = (_local7 * _arg1); _local6.x = (0.5 * ((((2 * _arg3.x) + ((-(_arg2.x) + _arg4.x) * _arg1)) + (((((2 * _arg2.x) - (5 * _arg3.x)) + (4 * _arg4.x)) - _arg5.x) * _local7)) + ((((-(_arg2.x) + (3 * _arg3.x)) - (3 * _arg4.x)) + _arg5.x) * _local8))); _local6.y = (0.5 * ((((2 * _arg3.y) + ((-(_arg2.y) + _arg4.y) * _arg1)) + (((((2 * _arg2.y) - (5 * _arg3.y)) + (4 * _arg4.y)) - _arg5.y) * _local7)) + ((((-(_arg2.y) + (3 * _arg3.y)) - (3 * _arg4.y)) + _arg5.y) * _local8))); return (_local6); } public function GetPointOnCatmullRom(_arg1:Number):Point{ var _local2:int; var _local3:int; var _local4:Point; var _local5:Point; var _local6:Point; var _local7:Point; var _local8:Number; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Point; _local2 = GetNumPoints(); if (_local2 < 4){ return (new Point(0, 0)); }; _local3 = (_local2 - 1); _local8 = (Number(_local3) * _arg1); _local9 = _local8; _local10 = (_local9 - 1); _local11 = _local9; _local12 = (_local9 + 1); _local13 = (_local9 + 2); if (_local10 < 0){ _local10 = 0; }; if (_local12 > (_local2 - 1)){ _local12 = (_local2 - 1); }; if (_local13 > (_local2 - 1)){ _local13 = (_local2 - 1); }; _local4 = points[_local10]; _local5 = points[_local11]; _local6 = points[_local12]; _local7 = points[_local13]; _local14 = (_local9 + 1); _local15 = ((1 / Number(_local3)) * _local9); _local16 = ((1 / Number(_local3)) * _local14); _local17 = ((1 / (_local16 - _local15)) * (_arg1 - _local15)); _local18 = PointOnCurve(_local17, _local4, _local5, _local6, _local7); return (_local18); } public function SetPointArray(_arg1:Array){ points = _arg1; } public function CalculateCatmullRomLength(){ var _local1:Array; var _local2:int; var _local3:int; var _local4:Number; var _local5:Point; var _local6:Point; var _local7:Point; _local1 = new Array(); _local3 = GetNumPoints(); if (_local3 < 4){ catmullRomLength = 0; } else { _local4 = 0; while (_local4 < 1) { _local5 = GetPointOnCatmullRom(_local4); _local1.push(_local5); _local4 = (_local4 + 0.025); }; }; catmullRomLength = 0; _local2 = 0; while (_local2 < (_local1.length - 2)) { _local6 = _local1[_local2]; _local7 = _local1[(_local2 + 1)]; catmullRomLength = (catmullRomLength + Utils.DistBetweenPoints(_local6.x, _local6.y, _local7.x, _local7.y)); _local2++; }; _local1 = null; } public function DrawCatmullRom(_arg1:BitmapData, _arg2:uint, _arg3:Number, _arg4:Number){ var _local5:int; var _local6:Number; var _local7:Point; _local5 = GetNumPoints(); if (_local5 < 4){ return; }; _local6 = 0; while (_local6 < 1) { _local7 = GetPointOnCatmullRom(_local6); _arg1.setPixel32((_local7.x + _arg3), (_local7.y + _arg4), _arg2); _local6 = (_local6 + 0.001); }; } public function GetInterpolatedPoint(_arg1:Number, _arg2:Boolean):Point{ var _local3:int; var _local4:Number; var _local5:int; var _local6:int; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Point; if (type == 2){ return (GetPointOnCatmullRom(_arg1)); }; if (_arg2 == true){ _local3 = points.length; _local4 = (1 / _local3); _local5 = Math.floor((_local3 * _arg1)); _local6 = ((_local5 + 1) % _local3); _local7 = (_local5 * _local4); _local8 = ((_local5 + 1) * _local4); _local9 = Utils.ScaleTo(points[_local5].x, points[_local6].x, _local7, _local8, _arg1); _local10 = Utils.ScaleTo(points[_local5].y, points[_local6].y, _local7, _local8, _arg1); _local11 = new Point(_local9, _local10); return (_local11); }; _local3 = points.length; _local4 = (1 / (_local3 - 1)); _local5 = Math.floor(((_local3 - 1) * _arg1)); _local6 = ((_local5 + 1) % _local3); _local7 = (_local5 * _local4); _local8 = ((_local5 + 1) * _local4); _local9 = Utils.ScaleTo(points[_local5].x, points[_local6].x, _local7, _local8, _arg1); _local10 = Utils.ScaleTo(points[_local5].y, points[_local6].y, _local7, _local8, _arg1); _local11 = new Point(_local9, _local10); return (_local11); } public function GetNumPoints():int{ return (points.length); } public function Clone():PhysLine{ var _local1:PhysLine; var _local2:Point; _local1 = new PhysLine(); _local1.name = name; _local1.type = type; _local1.fill = fill; _local1.fillScaleX = fillScaleX; _local1.fillScaleY = fillScaleY; for each (_local2 in points) { _local1.points.push(_local2.clone()); }; return (_local1); } } }//package
Section 206
//PhysObj (PhysObj) package { import flash.display.*; import flash.geom.*; import Box2D.Common.Math.*; public class PhysObj { public var bodies:Array; public var joints:Array; public var name:String; public var initFunctionName:String; public var displayInLibrary:Boolean; public var hitballsound:int; public function PhysObj(){ hitballsound = 0; } function PointFromString(_arg1:String):Point{ var _local2:Array; var _local3:Point; _local2 = _arg1.split(","); _local3 = new Point(0, 0); if (_local2.length != 2){ trace(((("PointfromString. Error, numpoints=" + _local2.length) + " ") + _arg1)); return (_local3); }; _local3.x = Number(_local2[0]); _local3.y = Number(_local2[1]); return (_local3); } function PointArrayFromString(_arg1:String):Array{ var _local2:Array; var _local3:Array; var _local4:int; var _local5:int; var _local6:Point; _local2 = new Array(); _local3 = _arg1.split(","); if ((((_local3.length < 2)) || (((_local3.length % 2) == 1)))){ trace(((("PointArrayFromString. Error, numpoints=" + _local3.length) + " , string= ") + _arg1)); return (_local2); }; _local5 = (_local3.length / 2); _local4 = 0; while (_local4 < _local5) { _local6 = new Point(0, 0); _local6.x = Number(_local3[((_local4 * 2) + 0)]); _local6.y = Number(_local3[((_local4 * 2) + 1)]); _local2.push(_local6); _local4++; }; return (_local2); } public function BodyIndexFromName(_arg1:String):int{ var _local2:int; var _local3:PhysObj_Body; _local2 = 0; while (_local2 < bodies.length) { _local3 = bodies[_local2]; if (_local3.name == _arg1){ return (_local2); }; _local2++; }; trace(("ERROR PhysObj BodyIndexFromName " + _arg1)); return (0); } function BooleanFromString(_arg1:String):Boolean{ var _local2:Boolean; _local2 = false; _arg1 = _arg1.toUpperCase(); if (_arg1 == "1"){ _local2 = true; }; if (_arg1 == "TRUE"){ _local2 = true; }; return (_local2); } public function JointIndexFromName(_arg1:String):int{ var _local2:int; var _local3:PhysObj_Joint; _local2 = 0; while (_local2 < joints.length) { _local3 = joints[_local2]; if (_local3.name == _arg1){ return (_local2); }; _local2++; }; trace(("ERROR PhysObj JointIndexFromName " + _arg1)); return (0); } public function FromXml(_arg1:XML):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:String; var _local6:XML; var _local7:PhysObj_Body; var _local8:XML; var _local9:PhysObj_Graphic; var _local10:XML; var _local11:PhysObj_Shape; var _local12:Point; var _local13:XML; var _local14:PhysObj_Joint; bodies = new Array(); joints = new Array(); name = _arg1.@name; displayInLibrary = XmlHelper.GetAttrBoolean(_arg1.@inlibrary, false); initFunctionName = XmlHelper.GetAttrString(_arg1.@initfunction, null); _local2 = 0; while (_local2 < _arg1.sound.length()) { hitballsound = int(_arg1.sound[_local2].@hitball); _local2++; }; _local2 = 0; while (_local2 < _arg1.body.length()) { _local6 = _arg1.body[_local2]; _local7 = new PhysObj_Body(); _local7.name = _local6.@name; _local7.fixed = BooleanFromString(_local6.@fixed); _local7.sensor = BooleanFromString(_local6.@sensor); _local7.pos = PointFromString(_local6.@pos); _local7.linearDamping = XmlHelper.GetAttrNumber(_local6.@lineardamping, _local7.linearDamping); _local7.angularDamping = XmlHelper.GetAttrNumber(_local6.@angulardamping, _local7.angularDamping); _local3 = 0; while (_local3 < _local6.graphic.length()) { _local8 = _local6.graphic[_local3]; _local9 = new PhysObj_Graphic(); _local9.goInitFuntion = _local8.@gameobjfunction; _local9.goInitFuntionVarString = _local8.@gameobjvars; _local9.graphicName = _local8.@clip; _local9.graphicID = 0; _local9.frame = (XmlHelper.GetAttrInt(_local8.@frame) - 1); _local9.offset = PointFromString(_local8.@pos); _local9.zoffset = XmlHelper.GetAttrNumber(_local8.@zoffset, 0); _local9.hasShadow = XmlHelper.GetAttrBoolean(_local8.@shadow, true); _local9.rot = Number(_local8.@rot); _local9.Calculate(); _local7.graphics.push(_local9); _local3++; }; _local3 = 0; while (_local3 < _local6.shape.length()) { _local10 = _local6.shape[_local3]; _local11 = new PhysObj_Shape(); _local11.name = _local10.@name; _local5 = _local10.@type; _local12 = PointFromString(_local10.@col); _local11.collisionCategory = XmlHelper.GetAttrInt(_local12.x); _local11.collisionMask = XmlHelper.GetAttrInt(_local12.y); _local11.density = XmlHelper.GetAttrNumber(_local10.@density); _local11.friction = XmlHelper.GetAttrNumber(_local10.@friction); _local11.restitution = XmlHelper.GetAttrNumber(_local10.@restitution); if (_local5 == "circle"){ _local11.type = PhysObj_Shape.Type_Circle; _local11.circle_pos = PointFromString(_local10.@pos); _local11.circle_radius = XmlHelper.GetAttrNumber(_local10.@radius); } else { if (_local5 == "poly"){ _local11.type = PhysObj_Shape.Type_Poly; _local11.poly_points = PointArrayFromString(_local10.@vertices); _local11.poly_rot = Utils.DegToRad(XmlHelper.GetAttrNumber(_local10.@rot)); }; }; _local11.Caclulate(); _local7.shapes.push(_local11); _local3++; }; bodies.push(_local7); _local2++; }; _local2 = 0; while (_local2 < _arg1.joint.length()) { _local13 = _arg1.joint[_local2]; _local14 = new PhysObj_Joint(); _local14.name = _local13.@name; _local14.obj0Name = _local13.@body0; _local14.obj1Name = _local13.@body1; _local5 = _local13.@type; if (_local5 == "rev"){ _local14.type = PhysObj_Joint.Type_Rev; _local14.rev_pos = PointFromString(_local13.@pos); _local14.rev_enableLimit = BooleanFromString(_local13.@enablelimit); _local14.rev_lowerAngle = Utils.DegToRad(XmlHelper.GetAttrNumber(_local13.@lowerangle)); _local14.rev_upperAngle = Utils.DegToRad(XmlHelper.GetAttrNumber(_local13.@upperangle)); _local14.rev_enableMotor = BooleanFromString(_local13.@enablemotor); _local14.rev_motorSpeed = Number(_local13.@motorspeed); _local14.rev_maxMotorTorque = Number(_local13.@maxmotortorque); } else { if (_local5 == "distance"){ _local14.type = PhysObj_Joint.Type_Distance; _local14.dist_pos0 = PointFromString(_local13.@pos); _local14.dist_pos1 = PointFromString(_local13.@pos1); _local14.dist_distance = Number(_local13.@distance); } else { if (_local5 == "mouse"){ _local14.type = PhysObj_Joint.Type_Mouse; } else { if (_local5 == "prismatic"){ _local14.type = PhysObj_Joint.Type_Prismatic; _local14.prism_pos = PointFromString(_local13.@pos); _local14.prism_enableLimit = BooleanFromString(_local13.@enablelimit); _local14.prism_lowerTranslation = Number(_local13.@lowertranslation); _local14.prism_upperTranslation = Number(_local13.@uppertranslation); _local14.prism_enableMotor = BooleanFromString(_local13.@enablemotor); _local14.prism_axisangle = (Number(_local13.@axisangle) - Number(90)); _local14.prism_motorSpeed = Number(_local13.@motorspeed); _local14.prism_maxMotorForce = Number(_local13.@maxmotorforce); }; }; }; }; joints.push(_local14); _local2++; }; } public function BodyFromName(_arg1:String):PhysObj_Body{ var _local2:int; var _local3:PhysObj_Body; _local2 = 0; while (_local2 < bodies.length) { _local3 = bodies[_local2]; if (_local3.name == _arg1){ return (_local3); }; _local2++; }; trace(("ERROR PhysObj BodyFromName " + _arg1)); return (null); } public static function RenderAt(_arg1:PhysObj, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:BitmapData, _arg6:Boolean=true, _arg7:Number=1){ var _local8:Boolean; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Matrix; var _local13:PhysObj_Body; var _local14:PhysObj_Graphic; var _local15:Point; var _local16:Matrix; var _local17:Number; var _local18:int; var _local19:int; var _local20:PhysObj_Shape; var _local21:Number; var _local22:Array; var _local23:int; var _local24:b2Vec2; var _local25:b2Vec2; var _local26:Matrix; var _local27:Point; var _local28:Point; _local8 = _arg6; _local9 = _arg7; _local10 = _arg2; _local11 = _arg3; for each (_local13 in _arg1.bodies) { for each (_local14 in _local13.graphics) { _local15 = new Point((_local13.pos.x + _local14.offset.x), (_local13.pos.y + _local14.offset.y)); _local16 = new Matrix(); _local16.rotate(Utils.DegToRad(_arg4)); _local16.scale(_local9, _local9); _local15 = _local16.transformPoint(_local15); _local10 = ((_arg2 * _local9) + _local15.x); _local11 = ((_arg3 * _local9) + _local15.y); _local17 = Utils.DegToRad((_arg4 + _local14.rot)); GraphicObjects.RenderAtRotScaled(_local14.graphicID, _local14.frame, _arg5, _local10, _local11, false, _local9, _local17); }; if (_local8){ for each (_local20 in _local13.shapes) { if (_local20.type == PhysObj_Shape.Type_Circle){ _local21 = _local20.circle_radius; Utils.RenderCircle(_arg5, (_arg2 + _local20.circle_pos.x), (_arg3 + _local20.circle_pos.y), _local21, 4294967295); }; if (_local20.type == PhysObj_Shape.Type_Poly){ _local22 = _local20.poly_points; _local23 = _local20.poly_points.length; _local18 = 0; while (_local18 < _local23) { _local19 = (_local18 + 1); if (_local19 >= _local23){ _local19 = 0; }; _local24 = new b2Vec2(_local22[_local18].x, _local22[_local18].y); _local25 = new b2Vec2(_local22[_local19].x, _local22[_local19].y); _local26 = new Matrix(); _local26.rotate(Utils.DegToRad(_arg4)); _local27 = new Point(_local24.x, _local24.y); _local28 = new Point(_local25.x, _local25.y); _local27 = _local26.transformPoint(_local27); _local28 = _local26.transformPoint(_local28); _local24.x = _local27.x; _local24.y = _local27.y; _local25.x = _local28.x; _local25.y = _local28.y; _local24.x = (_local24.x + _arg2); _local25.x = (_local25.x + _arg2); _local24.y = (_local24.y + _arg3); _local25.y = (_local25.y + _arg3); Utils.RenderDotLine(_arg5, _local24.x, _local24.y, _local25.x, _local25.y, 50, 4294967295); _local18++; }; }; }; }; }; } } }//package
Section 207
//PhysObj_Body (PhysObj_Body) package { import flash.geom.*; public class PhysObj_Body { public var angularDamping:Number; public var name:String; public var graphics:Array; public var linearDamping:Number; public var pos:Point; public var shapes:Array; public var fixed:Boolean; public var sensor:Boolean; public function PhysObj_Body(){ shapes = new Array(); graphics = new Array(); name = ""; pos = new Point(); fixed = true; sensor = false; linearDamping = 0.1; angularDamping = 0.1; } } }//package
Section 208
//PhysObj_BodyUserData (PhysObj_BodyUserData) package { public class PhysObj_BodyUserData { public var type:String; public var gameObjectID:int; public var bodyName:String; public var instance:PhysObj_Instance; public function PhysObj_BodyUserData(){ type = ""; bodyName = ""; gameObjectID = -1; instance = null; } } }//package
Section 209
//PhysObj_Graphic (PhysObj_Graphic) package { import flash.geom.*; public class PhysObj_Graphic { public var graphicName:String; public var graphicID:int; public var frame:int; public var offset:Point; public var zoffset:Number; public var rot:Number; public var goInitFuntion:String; public var hasShadow:Boolean; public var goInitFuntionVarString:String; public function PhysObj_Graphic(){ graphicName = ""; graphicID = 0; frame = 0; offset = new Point(0, 0); rot = 0; goInitFuntion = ""; goInitFuntionVarString = ""; zoffset = 0; hasShadow = true; } public function Calculate(){ graphicID = GraphicObjects.GetIndexByName(graphicName); if (frame < 0){ trace("ERROR: PhysObj Graphic has negative frame. Are you counting from 0 or 1?"); frame = 0; }; } } }//package
Section 210
//PhysObj_Instance (PhysObj_Instance) package { import flash.geom.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; public class PhysObj_Instance { var paramValues:Array; public var removeFlag:Boolean; var generator_object:String; var switchName1:String; public var collideFunction:Function; var gateTime:int; public var hitballsound:int; var stopcount:int; var hosedir:int;// = 0 var hoseID:int;// = 0 public var x:Number; public var y:Number; var magnet_time:int; var switch_timer:int; public var doSwitchFunction:Function; var controlMode:int; var posy:Number; var posx:Number; var lineResetAtEnd:Boolean; var lineSpeed:Number; public var initParams:String; var generator_time:int; var paramNames:Array; var lineLoop:Boolean; public var instanceName:String; var gateVel:Number; public var collideWithInstance:PhysObj_Instance; var guineaPig_type:int; var mover_xvel:Number; public var typeName:String; var cannon_firing:Boolean; var mover_x0:Number; var mover_x1:Number; var cannon_angvel:Number; var gateMode:String; var colflags:int; var portalName:String; public var joints:Array; public var switchFunction:Function; var oldx:Number; var oldy:Number; var animaltype:int; public var type:int; var lineIndex:int; public var preUpdateFunction:Function; public var timer:int; var mincer_numtogenerate:int; var magnet_mode:String; var lineLinearPos:Number; var cannon_maxang:Number; var cannon_ang:Number; var ball_hitcount:int; var cannon_mode:String; public var bodies:Array; public var updateFunction:Function; public var collidetimer:int; public var rot:Number; var cannon_minang:Number; var magnet_polarity:Boolean; var switchName:String; public var updateFunctionName:String; var animal_rescued:Boolean; public function PhysObj_Instance(){ hoseID = 0; hosedir = 0; super(); bodies = new Array(); joints = new Array(); timer = 0; collidetimer = 0; collideFunction = null; updateFunction = null; preUpdateFunction = null; switchFunction = null; doSwitchFunction = null; hitballsound = 0; removeFlag = false; updateFunctionName = null; initParams = ""; type = 0; } public function SetLinearVelocity(_arg1:Number, _arg2:Number):void{ var _local3:b2Body; for each (_local3 in bodies) { _local3.SetLinearVelocity(new b2Vec2(_arg1, _arg2)); }; } function UpdatePhysObj_Mover(){ var _local1:b2Vec2; _local1 = GetBodyWorldPos(0); this.ApplyForce(mover_xvel, 0); this.LimitLinearVelocity(10); if (mover_xvel > 0){ if (_local1.x > mover_x1){ mover_xvel = (mover_xvel * -1); }; } else { if (_local1.x < mover_x0){ mover_xvel = (mover_xvel * -1); }; }; } function SwitchFunction_Path_2way(){ if (controlMode == 0){ controlMode = 1; } else { if (controlMode == 1){ controlMode = 2; } else { controlMode = 1; }; }; } function UpdatePhysObj_Path_2way(){ var _local1:Point; if (controlMode == 0){ _local1 = UpdateLine(0); SetBodyXForm(0, (_local1.x * Game.w2p), (_local1.y * Game.w2p), 0); } else { if (controlMode == 1){ _local1 = UpdateLine(lineSpeed); SetBodyXForm(0, (_local1.x * Game.w2p), (_local1.y * Game.w2p), 0); } else { if (controlMode == 2){ _local1 = UpdateLine(-(lineSpeed)); SetBodyXForm(0, (_local1.x * Game.w2p), (_local1.y * Game.w2p), 0); }; }; }; } function SwitchedPhysObj_Switch():Boolean{ var _local1:GameObj; _local1 = GetGameObject(0); if (_local1.controlMode == 0){ SoundPlayer.Play("switchwav"); _local1.controlMode = 1; return (true); }; return (false); } function InitPhysObj_Generator(){ updateFunction = UpdatePhysObj_Generator; GetParams(initParams); generator_time = (GetParamNumber("delay") * Defs.fps); generator_object = GetParam("object"); timer = generator_time; } function InitPhysObj_Breakable(){ colflags = 2; updateFunction = UpdatePhysObj_Breakable; } public function SetXForm(_arg1:Number, _arg2:Number, _arg3:Number):void{ var _local4:b2Vec2; var _local5:b2Body; _local4 = new b2Vec2(_arg1, _arg2); for each (_local5 in bodies) { _local5.SetXForm(_local4, _arg3); }; } function UpdatePhysObj_TwoWaySwitch(){ var _local1:GameObj; _local1 = GetGameObject(0); if (controlMode == 0){ _local1.controlMode = 2; } else { _local1.controlMode = 1; }; } public function ApplyForce(_arg1:Number, _arg2:Number):void{ var _local3:b2Body; for each (_local3 in bodies) { _local3.ApplyForce(new b2Vec2(_arg1, _arg2), _local3.GetWorldCenter()); }; } function GetLineIndexByName(_arg1:String):int{ var _local2:Level; var _local3:int; var _local4:PhysLine; _local2 = Game.GetCurrentLevel(); _local3 = 0; for each (_local4 in _local2.lines) { if (_local4.name == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function SetAngularVelocity(_arg1:int, _arg2:Number):void{ var _local3:b2Body; if (_arg1 == -1){ for each (_local3 in bodies) { _local3.SetAngularVelocity(_arg2); }; } else { _local3 = bodies[_arg1]; _local3.SetAngularVelocity(_arg2); }; } public function GetNumBodies():int{ return (bodies.length); } function GetParams(_arg1:String):void{ var _local2:Array; var _local3:String; var _local4:Array; paramNames = new Array(); paramValues = new Array(); _arg1 = Utils.RemoveWhiteSpace(_arg1); _arg1 = _arg1.toLowerCase(); _local2 = _arg1.split(","); trace(_local2.length); for each (_local3 in _local2) { _local4 = _local3.split("="); paramNames.push(_local4[0]); paramValues.push(_local4[1]); }; } function UpdatePhysObj_Animal(){ var _local1:GameObj; var _local2:b2Vec2; var _local3:int; _local1 = GetGameObject(0); if (controlMode == 0){ timer--; if (timer <= 0){ controlMode = 1; }; } else { if (controlMode == 1){ _local3 = (GraphicObjects.GetNumFrames(_local1.graphicID) - 1); _local1.frame = (_local1.frame + 0.5); if (_local1.frame >= _local3){ _local1.frame = 0; timer = Utils.RandBetweenInt(Defs.fps, (Defs.fps * 2)); if (animaltype == 0){ timer = 0; }; if (animaltype == 1){ timer = 0; }; controlMode = 0; }; } else { if (controlMode == 2){ _local1.frame = (GraphicObjects.GetNumFrames(_local1.graphicID) - 1); }; }; }; _local2 = GetBodyWorldPos(0); if (_local2.y > (800 * Game.w2p)){ Game.LevelFailed(); collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; } function InitPhysObj_Animal(){ type = 1; colflags = 3; updateFunction = UpdatePhysObj_Animal; animal_rescued = false; controlMode = 0; timer = Utils.RandBetweenInt(Defs.fps, (Defs.fps * 2)); } function UpdatePhysObj_BubbleSplat(){ timer--; if (timer <= 0){ collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; } function UpdatePhysObj_Springboard(){ var _local1:GameObj; _local1 = GetGameObject(0); if (controlMode == 0){ _local1.frame = 0; }; if (controlMode == 1){ if (_local1.PlayAnimation()){ controlMode = 0; }; }; } function UpdateLine(_arg1:Number):Point{ var _local2:PhysLine; var _local3:Point; lineLinearPos = (lineLinearPos + _arg1); if (lineLinearPos > 1){ if (lineLoop == true){ lineLinearPos = (lineLinearPos - 1); } else { lineLinearPos = 1; }; }; if (lineLinearPos < 0){ if (lineLoop == true){ lineLinearPos = (lineLinearPos + 1); } else { lineLinearPos = 0; }; }; _local2 = Game.GetCurrentLevel().lines[lineIndex]; if (_local2 == null){ return (new Point(0, 0)); }; _local3 = _local2.GetInterpolatedPoint(lineLinearPos, lineLoop); return (_local3); } function SwitchedPhysObj_TimedSwitch():Boolean{ var _local1:GameObj; var _local2:Boolean; _local1 = GetGameObject(0); _local2 = true; if (controlMode == 0){ _local1.controlMode = 1; controlMode = 1; timer = switch_timer; SoundPlayer.Play("switchwav"); _local2 = true; } else { _local2 = false; }; return (_local2); } function InitPhysObj_Hose(){ colflags = 1; updateFunction = UpdatePhysObj_Hose; hosedir = 1; controlMode = 0; guineaPig_type = Utils.RandBetweenInt(0, 2); } public function GetBodyAngleFromLinearVelocity(_arg1:int):Number{ var _local2:b2Vec2; var _local3:b2Body; var _local4:b2Vec2; var _local5:Number; _local2 = new b2Vec2(0, 0); _local3 = bodies[_arg1]; _local4 = _local3.GetLinearVelocity(); _local5 = Math.atan2(_local4.y, _local4.x); return (_local5); } function GetParamBool(_arg1:String, _arg2:Boolean=false):Boolean{ var _local3:int; var _local4:String; _local3 = paramNames.indexOf(_arg1); if (_local3 != -1){ _local4 = paramValues[_local3]; if (_local4 == "true"){ return (true); }; return (false); }; return (_arg2); } function UpdatePhysObj_MiniBall(){ var _local1:PhysObj_BodyUserData; var _local2:GameObj; var _local3:b2Vec2; var _local4:Number; var _local5:int; var _local6:PhysObj_Instance; var _local7:Number; var _local8:Number; _local1 = (bodies[0].GetUserData() as PhysObj_BodyUserData); _local2 = GameObjects.objs[_local1.gameObjectID]; _local3 = GetBodyWorldPos(0); posx = _local3.x; posy = _local3.y; if (_local2.controlMode == 0){ _local4 = Utils.DistBetweenPoints(oldx, oldy, posx, posy); if (_local4 < 0.01){ stopcount++; if (stopcount > 10){ _local2.controlMode = 1; _local2.timer = 0; SetAngularVelocity(0, 0); SetLinearVelocity(0, 0); }; } else { stopcount = 0; }; }; if (_local2.controlMode == 2){ Game.ApplyImpulseToObjectsFromPoint(this, _local3.x, _local3.y, 20, (200 * Game.w2p)); _local5 = 0; while (_local5 < 20) { _local6 = Game.AddPhysObjAt("bubblesplat", (_local3.x * Game.p2w), (_local3.y * Game.p2w), 0, ""); _local7 = (_local5 * ((Math.PI * 2) / 20)); _local8 = Utils.RandBetweenFloat(0.3, 0.4); _local6.ApplyImpulse((Math.cos(_local7) * _local8), (Math.sin(_local7) * _local8)); _local5++; }; collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; } public function SetBodyCollisionMask(_arg1:int, _arg2:int):void{ var _local3:b2Body; var _local4:b2Shape; var _local5:b2FilterData; if (_arg1 == -1){ for each (_local3 in bodies) { _local4 = _local3.GetShapeList(); while (_local4) { _local5 = _local4.GetFilterData(); _local5.maskBits = _arg2; _local4.SetFilterData(_local5); Game.world.Refilter(_local4); _local4 = _local4.GetNext(); }; }; } else { _local3 = bodies[_arg1]; _local4 = _local3.GetShapeList(); while (_local4) { _local5 = _local4.GetFilterData(); _local5.maskBits = _arg2; _local4.SetFilterData(_local5); Game.world.Refilter(_local4); _local4 = _local4.GetNext(); }; }; } public function Remove(){ var _local1:b2Joint; var _local2:b2Body; var _local3:PhysObj_BodyUserData; var _local4:int; var _local5:GameObj; for each (_local1 in joints) { Game.world.DestroyJoint(_local1); }; for each (_local2 in bodies) { _local3 = (_local2.GetUserData() as PhysObj_BodyUserData); if (_local3 != null){ _local4 = _local3.gameObjectID; if (_local4 != -1){ _local5 = GameObjects.objs[_local4]; _local5.active = false; }; }; Game.world.DestroyBody(_local2); }; } public function SetPos(_arg1:Number, _arg2:Number):void{ var _local3:b2Body; var _local4:b2Vec2; var _local5:Number; var _local6:b2Vec2; x = _arg1; y = _arg2; for each (_local3 in bodies) { _local4 = _local3.GetPosition(); _local5 = Utils.DistBetweenPoints(x, y, _local4.x, _local4.y); if (_local5 > 1){ _local5 = 1; }; _local6 = new b2Vec2(((x - _local4.x) * 0.1), ((y - _local4.y) * 0.01)); _local3.ApplyImpulse(_local6, new b2Vec2(0, 0)); }; } public function SetBodyXForm(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local5:b2Vec2; var _local6:b2Body; _local5 = new b2Vec2(_arg2, _arg3); _local6 = bodies[_arg1]; _local6.SetXForm(_local5, _arg4); } function UpdatePhysObj_Hose(){ var _local1:b2Body; var _local2:PhysObj_BodyUserData; var _local3:GameObj; _local3 = GetGameObject((bodies.length - 2)); _local3.graphicID = GraphicObjects.GetIndexByName("Objects"); _local3.frame = 1; _local3 = GetGameObject((bodies.length - 1)); if (guineaPig_type == 0){ _local3.graphicID = GraphicObjects.GetIndexByName("guinea_pig_hanging"); }; if (guineaPig_type == 1){ _local3.graphicID = GraphicObjects.GetIndexByName("guinea_pig2_hanging"); }; if (guineaPig_type == 2){ _local3.graphicID = GraphicObjects.GetIndexByName("guinea_pig3_hanging"); }; _local3.frameVel = 0.2; _local3.CycleAnimation(); if (controlMode == 1){ _local3.visible = false; } else { _local3.visible = true; }; if (controlMode == 1){ timer--; if (timer <= 0){ timer = 0; if (Game.numBallsActive < Game.numBallsActiveMax){ controlMode = 2; guineaPig_type = Utils.RandBetweenInt(0, 2); _local3.scale = 0.1; }; }; } else { if (controlMode == 2){ _local3.scale = (_local3.scale + 0.05); if (_local3.scale >= 1){ _local3.scale = 1; controlMode = 0; }; }; }; } function UpdatePhysObj_TimedSwitch(){ var _local1:GameObj; if (controlMode == 1){ timer--; if (timer <= 0){ SoundPlayer.Play("switchwav"); _local1 = GetGameObject(0); _local1.controlMode = 2; controlMode = 0; }; }; } function InitPhysObj_BubbleSplat(){ colflags = 1; timer = 10; updateFunction = UpdatePhysObj_BubbleSplat; } function InitPhysObj_Springboard(){ GetParams(initParams); updateFunction = UpdatePhysObj_Springboard; controlMode = 0; } function PreUpdatePhysObj_MiniBall(){ var _local1:b2Vec2; _local1 = GetBodyWorldPos(0); oldx = _local1.x; oldy = _local1.y; } function InitPhysObj_MiniBall(){ colflags = 1; ball_hitcount = 0; updateFunction = UpdatePhysObj_MiniBall; preUpdateFunction = PreUpdatePhysObj_MiniBall; timer = (Defs.fps * 3); posx = 0; oldx = 100; posy = 0; oldy = 100; stopcount = 0; } function InitPhysObj_Animal01(){ animaltype = 1; InitPhysObj_Animal(); } public function Update(){ if (updateFunction != null){ updateFunction(); }; } function InitPhysObj_Animal04(){ animaltype = 4; InitPhysObj_Animal(); } function InitPhysObj_Animal05(){ animaltype = 5; InitPhysObj_Animal(); } function PreUpdatePhysObj_Ball(){ var _local1:b2Vec2; _local1 = GetBodyWorldPos(0); oldx = _local1.x; oldy = _local1.y; } function InitPhysObj_Animal02(){ animaltype = 2; InitPhysObj_Animal(); } function InitPhysObj_Ball(){ colflags = 1; Game.numBallsActive++; ball_hitcount = 0; updateFunction = UpdatePhysObj_Ball; preUpdateFunction = PreUpdatePhysObj_Ball; timer = (Defs.fps * 3); posx = 0; oldx = 100; posy = 0; oldy = 100; stopcount = 0; } function InitPhysObj_Animal06(){ animaltype = 6; InitPhysObj_Animal(); } function InitPhysObj_Animal03(){ animaltype = 3; InitPhysObj_Animal(); } function BreakObject(_arg1:Number){ var _local2:PhysObj_BodyUserData; var _local3:GameObj; var _local4:int; if ((_arg1 * Game.p2w) > 100){ return; }; _local2 = (bodies[0].GetUserData() as PhysObj_BodyUserData); _local3 = GameObjects.objs[_local2.gameObjectID]; _local3.frame++; _local4 = GraphicObjects.GetNumFrames(_local3.graphicID); if (_local3.frame >= _local4){ _local3.frame = (_local4 - 1); collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; SoundPlayer.Play("objectbreakwav"); } function GetParam(_arg1:String, _arg2:String=""):String{ var _local3:int; _local3 = paramNames.indexOf(_arg1); if (_local3 != -1){ return (paramValues[_local3]); }; return (_arg2); } function InitPhysObj_Mover(){ updateFunction = UpdatePhysObj_Mover; mover_x0 = (249 * Game.w2p); mover_x1 = (250 * Game.w2p); mover_xvel = 350; } function GetParamNumber(_arg1:String, _arg2:Number=0):Number{ var _local3:int; _local3 = paramNames.indexOf(_arg1); if (_local3 != -1){ return (Number(paramValues[_local3])); }; return (_arg2); } function UpdatePhysObj_Mincer(){ var _local1:b2Vec2; var _local2:int; if (mincer_numtogenerate > 0){ timer--; if (timer <= 0){ mincer_numtogenerate--; timer = 10; _local1 = GetBodyWorldPos(0); _local2 = (-27 + ((mincer_numtogenerate % 4) * 17)); trace(((mincer_numtogenerate + " : ") + _local2)); SoundPlayer.Play("mincerplopwav"); Game.AddPhysObjAt("miniguineapig", ((_local1.x * Game.p2w) + _local2), (_local1.y * Game.p2w), 0, "", ""); }; }; } function UpdatePhysObj_Ball(){ var _local1:GameObj; var _local2:b2Vec2; var _local3:Number; var _local4:int; var _local5:PhysObj_Instance; var _local6:Number; var _local7:Number; _local1 = GetGameObject(0); if (guineaPig_type == 0){ _local1.graphicID = GraphicObjects.GetIndexByName("guinea_pig"); }; if (guineaPig_type == 1){ _local1.graphicID = GraphicObjects.GetIndexByName("guinea_pig2"); }; if (guineaPig_type == 2){ _local1.graphicID = GraphicObjects.GetIndexByName("guinea_pig3"); }; _local2 = GetBodyWorldPos(0); posx = _local2.x; posy = _local2.y; if (_local1.controlMode == 0){ _local3 = Utils.DistBetweenPoints(oldx, oldy, posx, posy); if (_local3 < 0.01){ stopcount++; if (stopcount > 10){ _local1.controlMode = 1; _local1.timer = 0; SetAngularVelocity(0, 0); SetLinearVelocity(0, 0); }; } else { stopcount = 0; }; }; if (_local1.controlMode == 3){ Game.ApplyImpulseToObjectsFromPoint(this, _local2.x, _local2.y, 20, (200 * Game.w2p)); _local4 = 0; while (_local4 < 20) { _local5 = Game.AddPhysObjAt("bubblesplat", (_local2.x * Game.p2w), (_local2.y * Game.p2w), 0, ""); _local6 = (_local4 * ((Math.PI * 2) / 20)); _local7 = Utils.RandBetweenFloat(0.3, 0.4); _local5.ApplyImpulse((Math.cos(_local6) * _local7), (Math.sin(_local6) * _local7)); _local4++; }; Game.numBallsActive--; Game.numPigsSacrificed++; collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; if (posy > (800 * Game.w2p)){ SoundPlayer.PlayRandomBetween("guineadie01", "guineadie03", 1); Game.numBallsActive--; Game.numPigsSacrificed++; collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; } function InitPhysObj_Path(){ var _local1:String; var _local2:Number; var _local3:Boolean; GetParams(initParams); _local1 = GetParam("line", ""); if (_local1 == ""){ lineIndex = -1; } else { lineIndex = GetLineIndexByName(_local1); }; if (lineIndex == -1){ updateFunction = null; }; trace(("lineIndex" + lineIndex)); lineSpeed = Number(GetParam("speed")); lineLoop = GetParamBool("loop"); switchName = GetParam("switch", ""); lineResetAtEnd = GetParamBool("endreset"); lineLinearPos = 0; _local2 = GetParamNumber("startpos", 0); lineLinearPos = _local2; _local3 = GetParamBool("2way"); controlMode = 1; switchFunction = null; updateFunction = null; if (lineIndex != -1){ if (switchName != ""){ controlMode = 0; switchFunction = SwitchFunction_Path; } else { controlMode = 1; }; updateFunction = UpdatePhysObj_Path; }; if (_local3){ if (switchName != ""){ switchFunction = SwitchFunction_Path_2way; }; updateFunction = UpdatePhysObj_Path_2way; }; } function InitPhysObj_Mincer(){ updateFunction = UpdatePhysObj_Mincer; GetParams(initParams); mincer_numtogenerate = 0; timer = 0; } public function Init(){ var _local1:PhysObj; switchName = ""; switchName1 = ""; colflags = 0; _local1 = Game.physObjs.FindByName(typeName); if (_local1.initFunctionName != null){ var _local2 = this; _local2[_local1.initFunctionName](); }; } public function PreUpdate(){ if (preUpdateFunction != null){ preUpdateFunction(); }; } function UpdatePhysObj_BadguyTimed(){ timer--; if (timer <= 0){ collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; } function InitPhysObj_PortalEntry(){ GetParams(initParams); } public function GetBodyLinearVelocity(_arg1:int):b2Vec2{ var _local2:b2Vec2; var _local3:b2Body; var _local4:b2Vec2; _local2 = new b2Vec2(0, 0); _local3 = bodies[_arg1]; _local4 = _local3.GetLinearVelocity(); return (_local4); } function SwitchedPhysObj_TwoWaySwitch():Boolean{ var _local1:GameObj; _local1 = GetGameObject(0); SoundPlayer.Play("switchwav"); if (controlMode == 0){ controlMode = 1; return (true); }; controlMode = 0; return (true); } function UpdatePhysObj_Path(){ var _local1:Point; if (controlMode == 0){ _local1 = UpdateLine(0); SetBodyXForm(0, (_local1.x * Game.w2p), (_local1.y * Game.w2p), 0); } else { _local1 = UpdateLine(lineSpeed); SetBodyXForm(0, (_local1.x * Game.w2p), (_local1.y * Game.w2p), 0); if (lineLoop == false){ if (lineLinearPos >= 1){ lineLinearPos = 1; if (lineResetAtEnd){ lineLinearPos = 0; }; controlMode = 0; }; }; }; } function HitAnimal(){ var _local1:PhysObj_BodyUserData; _local1 = (bodies[0].GetUserData() as PhysObj_BodyUserData); controlMode = 2; animal_rescued = true; if (animaltype == 1){ SoundPlayer.Play("animal_elephant"); }; if (animaltype == 2){ SoundPlayer.Play("animal_tortoise"); }; if (animaltype == 3){ SoundPlayer.Play("animal_gorilla"); }; if (animaltype == 4){ SoundPlayer.Play("animal_hippo"); }; if (animaltype == 5){ SoundPlayer.Play("animal_giraffe"); }; if (animaltype == 6){ SoundPlayer.Play("animal_penguin"); }; } function UpdatePhysObj_Cannonball(){ timer--; if (timer <= 0){ collideFunction = Game.RemoveObj_Standard; collidetimer = 10; }; } function UpdatePhysObj_Cannon(){ var _local1:b2Body; var _local2:b2Vec2; var _local3:GameObj; if (controlMode == 0){ } else { if (controlMode == 1){ cannon_ang = (cannon_ang + cannon_angvel); } else { if (controlMode == 2){ cannon_ang = (cannon_ang - cannon_angvel); }; }; }; if (cannon_ang >= cannon_maxang){ cannon_ang = cannon_maxang; }; if (cannon_ang <= cannon_minang){ cannon_ang = cannon_minang; }; _local1 = bodies[0]; _local2 = GetBodyWorldPos(0); _local1.SetXForm(_local2, cannon_ang); _local3 = GetGameObject(0); if (cannon_firing){ _local3.frameVel = 1; if (_local3.PlayAnimation()){ cannon_firing = false; _local3.frame = 1; }; }; } function TriggerPhysObj_Springboard(){ var _local1:GameObj; controlMode = 1; _local1 = GetGameObject(0); _local1.frame = 0; _local1.frameVel = 1; SoundPlayer.Play("springboardwav"); } function InitPhysObj_Cannon(){ GetParams(initParams); updateFunction = UpdatePhysObj_Cannon; switchFunction = SwitchFunction_Cannon; cannon_minang = Utils.DegToRad(GetParamNumber("minang")); cannon_maxang = Utils.DegToRad(GetParamNumber("maxang")); cannon_angvel = GetParamNumber("speed"); switchName = GetParam("switch"); cannon_mode = GetParam("mode"); cannon_ang = cannon_minang; cannon_firing = false; controlMode = 0; } function SwitchFunction_Cannon(){ if (controlMode == 0){ controlMode = 1; } else { if (controlMode == 1){ controlMode = 2; } else { if (controlMode == 2){ controlMode = 1; }; }; }; } public function GetBodyWorldPos(_arg1:int):b2Vec2{ var _local2:b2Vec2; var _local3:int; var _local4:b2Body; _local2 = new b2Vec2(0, 0); _local3 = 0; for each (_local4 in bodies) { if (_local3 == _arg1){ _local2 = _local4.GetWorldCenter().Copy(); }; _local3++; }; return (_local2); } public function WakeUp():void{ var _local1:b2Body; for each (_local1 in bodies) { _local1.WakeUp(); }; } function SwitchFunction_Path(){ if (controlMode == 0){ controlMode = 1; }; } function TriggerPhysObj_Mincer(){ mincer_numtogenerate = (mincer_numtogenerate + 4); SoundPlayer.Play("mincerwav"); } function InitPhysObj_BadguyTimed(){ updateFunction = UpdatePhysObj_BadguyTimed; timer = (Defs.fps * 3); } function UpdatePhysObj_Generator(){ var _local1:b2Vec2; timer--; if (timer <= 0){ timer = generator_time; _local1 = GetBodyWorldPos(0); Game.AddPhysObjAt(generator_object, (_local1.x * Game.p2w), (_local1.y * Game.p2w), 0, "", ""); SoundPlayer.Play("generatewav"); }; } public function LimitLinearVelocity(_arg1:Number):void{ var _local2:b2Body; var _local3:b2Vec2; for each (_local2 in bodies) { _local3 = _local2.GetLinearVelocity(); if (_local3.Length() > _arg1){ _local3.Normalize(); _local3.Multiply(_arg1); _local2.SetLinearVelocity(_local3); }; }; } function InitPhysObj_Switch(){ var _local1:String; GetParams(initParams); _local1 = GetParam("type"); if (_local1 == ""){ _local1 = "once"; }; if (_local1 == "once"){ doSwitchFunction = SwitchedPhysObj_Switch; updateFunction = null; }; if (_local1 == "timed"){ switch_timer = (GetParamNumber("time") * Defs.fps); doSwitchFunction = SwitchedPhysObj_TimedSwitch; updateFunction = UpdatePhysObj_TimedSwitch; }; if (_local1 == "2way"){ doSwitchFunction = SwitchedPhysObj_TwoWaySwitch; updateFunction = UpdatePhysObj_TwoWaySwitch; controlMode = 0; }; } public function GetGameObject(_arg1:int):GameObj{ var _local2:PhysObj_BodyUserData; var _local3:GameObj; _local2 = (bodies[_arg1].GetUserData() as PhysObj_BodyUserData); _local3 = GameObjects.objs[_local2.gameObjectID]; return (_local3); } public function ApplyAngularVelocity(_arg1:int, _arg2:Number):void{ var _local3:b2Body; if (_arg1 == -1){ for each (_local3 in bodies) { _local3.ApplyTorque(_arg2); }; } else { bodies[_arg1].ApplyTorque(_arg2); }; } function InitPhysObj_Gate(){ var _local1:String; GetParams(initParams); switchName = GetParam("switch"); switchName1 = GetParam("switch1"); _local1 = GetParam("start"); gateMode = GetParam("mode", "once"); gateTime = (GetParamNumber("timer", 1) * Defs.fps); updateFunction = UpdatePhysObj_Gate; switchFunction = SwitchFunction_Gate; controlMode = 0; if (_local1 == "left"){ controlMode = 0; }; if (_local1 == "right"){ controlMode = 1; }; gateVel = GetParamNumber("strength", 100); } function UpdatePhysObj_Breakable(){ } public function GetBodyAngle(_arg1:int):Number{ var _local2:b2Vec2; var _local3:b2Body; _local2 = new b2Vec2(0, 0); _local3 = bodies[_arg1]; return (_local3.GetAngle()); } public function LimitAngularVelocity(_arg1:int, _arg2:Number):void{ var _local3:b2Body; var _local4:Number; if (_arg1 == -1){ for each (_local3 in bodies) { _local4 = _local3.GetAngularVelocity(); if (_local4 >= _arg2){ _local4 = _arg2; }; if (_local4 <= -(_arg2)){ _local4 = -(_arg2); }; _local3.SetAngularVelocity(_local4); }; } else { _local3 = bodies[_arg1]; _local4 = _local3.GetAngularVelocity(); if (_local4 >= _arg2){ _local4 = _arg2; }; if (_local4 <= -(_arg2)){ _local4 = -(_arg2); }; _local3.SetAngularVelocity(_local4); }; } public function GetXForm(_arg1:int):b2XForm{ var _local2:b2Body; _local2 = bodies[_arg1]; return (_local2.GetXForm()); } function UpdatePhysObj_Magnet(){ var _local1:GameObj; if (magnet_mode == "static"){ } else { if (magnet_mode == "timed"){ timer++; if (timer >= magnet_time){ timer = 0; magnet_polarity = (magnet_polarity == false); SoundPlayer.Play("magnetwav"); }; }; }; _local1 = GetGameObject(0); if (magnet_polarity == false){ _local1.frameVel = -0.5; }; if (magnet_polarity == true){ _local1.frameVel = 0.5; }; _local1.CycleAnimation(); } public function ApplyImpulse(_arg1:Number, _arg2:Number):void{ var _local3:b2Body; for each (_local3 in bodies) { _local3.ApplyImpulse(new b2Vec2(_arg1, _arg2), _local3.GetWorldCenter()); }; } function InitPhysObj_Magnet(){ GetParams(initParams); magnet_polarity = GetParamBool("polarity"); magnet_mode = GetParam("mode", "static"); magnet_time = (Defs.fps * GetParamNumber("time")); switchName = ""; switchFunction = null; if (magnet_mode == "switch"){ switchName = GetParam("switch"); switchFunction = SwitchFunction_Magnet; }; updateFunction = UpdatePhysObj_Magnet; timer = 0; } public function GetBodyAngularVelocity(_arg1:int):Number{ var _local2:b2Body; _local2 = bodies[_arg1]; return (_local2.GetAngularVelocity()); } function SwitchFunction_Magnet(){ SoundPlayer.Play("magnetwav"); magnet_polarity = (magnet_polarity == false); } public function AddToPos(_arg1:int, _arg2:b2Vec2):void{ var _local3:b2XForm; var _local4:b2Body; if (_arg1 == -1){ for each (_local4 in bodies) { _local3 = _local4.GetXForm(); _local3.position.Add(_arg2); _local4.SetXForm(_local3.position, 0); }; } else { _local3 = _local4.GetXForm(); _local3.position.Add(_arg2); _local4.SetXForm(_local3.position, 0); }; } function InitPhysObj_Cannonball(){ timer = (Defs.fps * 3); updateFunction = UpdatePhysObj_Cannonball; } function UpdatePhysObj_Gate(){ if (controlMode == 1){ ApplyAngularVelocity(1, -(gateVel)); }; if (controlMode == 2){ ApplyAngularVelocity(1, gateVel); }; } function SwitchFunction_Gate(){ if (controlMode == 0){ controlMode = 1; } else { if (controlMode == 1){ controlMode = 2; } else { if (controlMode == 2){ controlMode = 1; }; }; }; } } }//package
Section 211
//PhysObj_Instances (PhysObj_Instances) package { public class PhysObj_Instances { public var list:Array; public function PhysObj_Instances(){ list = new Array(); } public function Remove(_arg1:PhysObj_Instance):Boolean{ var _local2:Array; var _local3:PhysObj_Instance; if (Exists(_arg1) == false){ return (false); }; _arg1.Remove(); _local2 = new Array(); for each (_local3 in list) { if (_local3 == _arg1){ } else { _local2.push(_local3); }; }; list = _local2; return (true); } public function GetByIndex(_arg1:int):PhysObj_Instance{ return (list[_arg1]); } public function RemoveByName(_arg1:String):void{ var _local2:PhysObj_Instance; _local2 = FindByName(_arg1); if (_local2 == null){ return; }; Remove(_local2); } public function GetAllByTypeName(_arg1:String):Array{ var _local2:Array; var _local3:PhysObj_Instance; _local2 = new Array(); for each (_local3 in list) { if (_local3.typeName == _arg1){ _local2.push(_local3); }; }; return (_local2); } public function Exists(_arg1:PhysObj_Instance):Boolean{ var _local2:PhysObj_Instance; for each (_local2 in list) { if (_local2 == _arg1){ return (true); }; }; return (false); } public function GetAllByTypeNameContaining(_arg1:String):Array{ var _local2:Array; var _local3:PhysObj_Instance; _local2 = new Array(); for each (_local3 in list) { if (_local3.typeName.match(_arg1)){ _local2.push(_local3); }; }; return (_local2); } public function FindByName(_arg1:String):PhysObj_Instance{ var _local2:PhysObj_Instance; for each (_local2 in list) { if (_local2.instanceName == _arg1){ return (_local2); }; }; return (null); } public function FindByTypeName(_arg1:String):PhysObj_Instance{ var _local2:PhysObj_Instance; for each (_local2 in list) { if (_local2.typeName == _arg1){ return (_local2); }; }; return (null); } } }//package
Section 212
//PhysObj_Joint (PhysObj_Joint) package { import flash.geom.*; public class PhysObj_Joint { public var prism_pos:Point; public var obj0Name:String; public var obj1Name:String; public var dist_distance:Number; public var name:String; public var prism_lowerTranslation:Number; public var prism_enableLimit:Boolean; public var prism_maxMotorForce:Number; public var dist_pos0:Point; public var prism_enableMotor:Boolean; public var prism_axisangle:Number; public var rev_enableMotor:Boolean; public var prism_motorSpeed:Number; public var rev_enableLimit:Boolean; public var dist_pos1:Point; public var rev_upperAngle:Number; public var rev_lowerAngle:Number; public var rev_maxMotorTorque:Number; public var rev_pos:Point; public var type:int; public var prism_upperTranslation:Number; public var rev_motorSpeed:Number; public static const Type_Mouse:int = 3; public static const Type_Prismatic:int = 2; public static const Type_Distance:int = 1; public static const Type_Rev:int = 0; public function PhysObj_Joint(){ type = 0; name = ""; obj0Name = ""; obj1Name = ""; rev_pos = new Point(0, 0); rev_enableLimit = false; rev_lowerAngle = 0; rev_upperAngle = 0; rev_enableMotor = false; rev_motorSpeed = 0; rev_maxMotorTorque = 0; prism_pos = new Point(0, 0); prism_lowerTranslation = 0; prism_upperTranslation = 0; prism_enableLimit = false; prism_enableMotor = false; prism_motorSpeed = 0; prism_maxMotorForce = 0; prism_axisangle = 0; dist_pos0 = new Point(0, 0); dist_pos1 = new Point(0, 0); dist_distance = 1; } } }//package
Section 213
//PhysObj_Shape (PhysObj_Shape) package { import flash.geom.*; public class PhysObj_Shape { public var type:int; public var name:String; public var collisionCategory:int; public var circle_radius:Number; public var poly_rot:Number; public var circle_pos:Point; public var density:Number; public var restitution:Number; public var poly_points:Array; public var friction:Number; public var collisionMask:int; public static const Type_Poly:int = 0; public static const Type_Circle:int = 1; public function PhysObj_Shape(){ type = 0; name = ""; poly_points = new Array(); circle_pos = new Point(); circle_radius = 0; poly_rot = 0; collisionCategory = 0; collisionMask = 0; } public function Caclulate(){ var _local1:Matrix; var _local2:Array; var _local3:Point; var _local4:Point; if (type == Type_Poly){ _local1 = new Matrix(); _local1.rotate(poly_rot); _local2 = new Array(); for each (_local3 in poly_points) { _local4 = _local1.transformPoint(_local3); _local2.push(_local4); }; poly_points = _local2; }; } } }//package
Section 214
//PhysObjs (PhysObjs) package { public class PhysObjs { public var list:Array; public function PhysObjs(){ list = new Array(); } public function GetNum():int{ return (list.length); } public function FindByName(_arg1:String):PhysObj{ var _local2:PhysObj; for each (_local2 in list) { if (_local2.name == _arg1){ return (_local2); }; }; trace(("ERROR PhysObjs FindByName " + _arg1)); return (null); } public function GetByIndex(_arg1:int):PhysObj{ return (list[_arg1]); } public function FindIndexByName(_arg1:String):int{ var _local2:int; var _local3:PhysObj; _local2 = 0; for each (_local3 in list) { if (_local3.name == _arg1){ return (_local2); }; _local2++; }; trace(("ERROR PhysObjs FindByName " + _arg1)); return (0); } public function InitFromXml(_arg1:XML):void{ var _local2:int; var _local3:XML; var _local4:PhysObj; list = new Array(); _local2 = 0; while (_local2 < _arg1.physobj.length()) { _local3 = _arg1.physobj[_local2]; _local4 = new PhysObj(); _local4.FromXml(_local3); list.push(_local4); _local2++; }; } } }//package
Section 215
//pinballbouncerwav (pinballbouncerwav) package { import flash.media.*; public dynamic class pinballbouncerwav extends Sound { } }//package
Section 216
//Player (Player) package { public class Player { static const upg_total:int = 5; static const upg_speed:int = 0; static const upg_accel:int = 1; static const upg_boost:int = 3; static const upg_brake:int = 2; static const upg_spin:int = 4; static var levels:Array; public static function GetCost(_arg1):int{ var _local2:int; var _local3:int; _local2 = levels[_arg1]; _local3 = (_local2 + 1); return (_local3); } public static function Upgrade(_arg1):void{ var _local2:int; _local2 = levels[_arg1]; _local2++; if (_local2 > 10){ _local2 = 0; }; levels[_arg1] = _local2; } public static function GetLevel(_arg1:int):int{ return (levels[_arg1]); } public static function InitOnce(){ levels = new Array(); levels.push(0, 0, 0, 0, 0); } public static function SetLevel(_arg1:int, _arg2:int):void{ levels[_arg1] = _arg2; } } }//package
Section 217
//PlayerBikeData (PlayerBikeData) package { public class PlayerBikeData { var acc:Number; var name:String; var physObjIndex:int; var selectFrame:int; var bio:String; var available:Boolean; var maxvel:Number; public function PlayerBikeData(){ name = ""; physObjIndex = 0; acc = 200; maxvel = 30; selectFrame = 1; bio = ""; available = false; } } }//package
Section 218
//PlayerBikes (PlayerBikes) package { public class PlayerBikes { static var bikes:Array; static function InitOnce(){ var _local1:XML; var _local2:int; var _local3:int; var _local4:XML; var _local5:PlayerBikeData; bikes = new Array(); _local1 = ExternalData.xml; _local2 = _local1.playerbike.length(); _local3 = 0; while (_local3 < _local2) { _local4 = _local1.playerbike[_local3]; _local5 = new PlayerBikeData(); _local5.name = XmlHelper.GetAttrString(_local4.@name, "undefined"); _local5.physObjIndex = XmlHelper.GetAttrInt(_local4.@bike, 1); _local5.acc = XmlHelper.GetAttrNumber(_local4.@acc, 200); _local5.maxvel = XmlHelper.GetAttrNumber(_local4.@vel, 30); _local5.selectFrame = XmlHelper.GetAttrInt(_local4.@selectframe, 1); _local5.bio = XmlHelper.GetAttrString(_local4.@bio, "undefined"); bikes.push(_local5); _local3++; }; bikes[0].available = true; } public static function GetBikeData(_arg1:int):PlayerBikeData{ return (bikes[_arg1]); } } }//package
Section 219
//PlayerRecord (PlayerRecord) package { public class PlayerRecord { var frame:int; var rot:Number; var x:Number; var y:Number; public function PlayerRecord(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int){ x = _arg1; y = _arg2; rot = _arg3; frame = _arg4; } } }//package
Section 220
//PlayerRecordings (PlayerRecordings) package { public class PlayerRecordings { static var recordings:Array; static var currentData:Array; static var routeInfo:Array; static var pr:PlayerRecord = new PlayerRecord(0, 0, 0, 0); static function AddData(_arg1:Array){ var _local2:Number; for each (_local2 in _arg1) { currentData.push(_local2); }; } static function StopData(){ recordings.push(currentData); } static function Load(){ InitOnce(); StartData(0); AddData(new Array(1586, 215, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 1, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 5, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 5, 0, 0.04, 7, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.05, 20, 0, 0.06, 21, 0, 0.07, 20, 1, 0.07, 20, 0, 0.07, 21, 1, 0.07, 20, 0, 0.07, 20, 1, 0.08, 21, 1, 0.09, 20, 1, 0.1, 20, 1, 0.11, 20, 2, 0.12, 20, 2, 0.13, 20, 3, 0.14, 19, 3, 0.15, 20, 3, 0.16, 20, 3, 0.16, 19, 4, 0.17, 19, 4, 0.18, 20, 4, 0.18, 19, 5, 0.19, 19, 5, 0.19, 19, 5, 0.2, 19, 6, 0.2, 19, 6, 0.21, 19, 6, 0.21, 19, 6, 0.21, 19, 7, 0.22, 19, 7, 0.19, 19, 4, 0.08, 18, 0, 0.04, 19, 0, 0, 19, -2, -0.04, 20, -1, 0.01, 21, -1, 0.03, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.05, 20, 1, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, -1, 0.04, 20, 0, 0.07, 21, -3, 0.15, 20, -1, 0.2, 20, -1, 0.25, 20, -1, 0.28, 21, -1, 0.29, 20, -2, 0.26, 20, -1, 0.21, 19, -3, 0.14, 18, -2, 0.06, 19, -3, -0.06, 18, -4, -0.21, 17, -5, -0.35, 18, -7, -0.46, 14, -11, -0.59, 13, -12, -0.71, 13, -13, -0.78, 11, -14, -0.82, 13, -15, -0.73, 13, -13, -0.73, 13, -14, -0.7, 14, -13, -0.66, 13, -13, -0.62, 13, -13, -0.57, 13, -12, -0.52, 14, -12, -0.48, 13, -11, -0.44, 13, -11, -0.4, 13, -11, -0.36, 13, -10, -0.33, 13, -10, -0.3, 13, -9, -0.27, 13, -10, -0.24, 12, -8, -0.21, 13, -9, -0.19, 13, -8, -0.17, 13, -8, -0.14, 12, -7, -0.12, 13, -7, -0.11, 12, -7, -0.09, 13, -6, -0.07, 12, -6, -0.06, 12, -5, -0.04, 13, -5, -0.03, 12, -5, -0.02, 12, -5, -0.01, 12, -4, 0.01, 13, -4, 0.02, 12, -3, 0.03, 12, -3, 0.03, 12, -3, 0.04, 12, -3, 0.05, 12, -2, 0.06, 11, -2, 0.07, 12, -1, 0.07, 12, -1, 0.08, 12, -1, 0.08, 12, 0, 0.09, 11, 0, 0.09, 12, 0, 0.1, 11, 1, 0.1, 12, 0, 0.11, 11, 2, 0.11, 12, 1, 0.11, 11, 2, 0.12, 12, 2, 0.12, 11, 3, 0.12, 11, 3, 0.13, 12, 3, 0.13, 11, 3, 0.13, 11, 4, 0.13, 11, 4, 0.13, 11, 5, 0.14, 12, 5, 0.14, 11, 5, 0.14, 11, 5, 0.14, 11, 6, 0.14, 11, 6, 0.14, 10, 6, 0.15, 11, 7, 0.15, 11, 7, 0.15, 11, 7, 0.15, 11, 8, 0.15, 10, 8, 0.15, 11, 8, 0.15, 11, 8, 0.15, 10, 9, 0.15, 11, 9, 0.15, 11, 10, 0.16, 10, 10, 0.16, 10, 10, 0.16, 11, 10, 0.16, 10, 11, 0.16, 11, 10, 0.16, 11, 10, 0.08, 7, 0, -0.15, 11, -3, -0.12, 10, -2, -0.13, 10, -4, -0.14, 11, -5, -0.1, 11, -2, -0.12, 11, -2, -0.12, 12, -2, -0.12, 11, -2, -0.12, 12, -2, -0.12, 11, -1, -0.12, 11, -1, -0.08, 12, -1, -0.05, 11, -2, -0.05, 12, -1, -0.05, 11, 0, -0.04, 12, -2, -0.04, 12, -1, -0.03, 11, -1, -0.01, 12, 0, 0, 12, 0, 0.01, 11, -1, 0.05, 12, 1, 0.08, 12, 0, 0.11, 12, 1, 0.14, 12, 1, 0.17, 12, 1, 0.19, 12, 2, 0.21, 12, 2, 0.24, 12, 2, 0.25, 12, 2, 0.25, 11, 2, 0.24, 12, 3, 0.23, 13, 2, 0.24, 12, 3, 0.26, 13, 3, 0.27, 12, 3, 0.28, 13, 3, 0.28, 14, 3, 0.28, 13, 3, 0.28, 14, 4, 0.28, 15, 3, 0.28, 14, 3, 0.28, 15, 4, 0.28, 16, 4, 0.28, 16, 3, 0.28, 16, 5, 0.29, 16, 3, 0.32, 17, 4, 0.39, 18, 4, 0.44, 16, 5, 0.5, 17, 5, 0.55, 17, 4, 0.59, 17, 5, 0.59, 17, 3, 0.56, 17, 3, 0.48, 18, 2, 0.37, 17, 1, 0.23, 17, 2, 0.08, 17, -1, 0.03, 19, 0, 0.03, 19, 0, 0.04, 19, 0, 0.04, 20, 1, 0.05, 19, 0, 0.06, 19, 0, 0.04, 20, 1, 0.05, 20, 0, 0.06, 20, 0, 0.06, 20, 1, 0.06, 21, 0, 0.07, 20, 0, 0.15, 21, -1, 0.24, 20, 1, 0.3, 20, 0, 0.36, 19, 1, 0.41, 20, 1, 0.46, 19, 1, 0.51, 20, 2, 0.55, 19, 2, 0.6, 19, 3, 0.64, 20, 3, 0.67, 19, 3, 0.71, 19, 3, 0.74, 19, 4, 0.77, 19, 4, 0.8, 19, 4, 0.82, 18, 5, 0.85, 18, 4, 0.88, 18, 0, 0.73, 18, -2, 0.6, 18, -2, 0.49, 18, -1, 0.32, 17, -3, 0.15, 18, 0, 0.05, 19, 0, -0.07, 18, -1, -0.14, 19, -1, -0.15, 19, -3, -0.14, 20, -4, -0.15, 19, -5, -0.2, 18, -6, -0.22, 18, -8, -0.24, 18, -8, -0.32, 17, -8, -0.42, 17, -10, -0.5, 16, -10, -0.53, 17, -12, -0.53, 16, -11, -0.54, 17, -10, -0.55, 17, -12, -0.54, 17, -11, -0.53, 17, -11, -0.52, 17, -10, -0.51, 16, -10, -0.5, 17, -10, -0.49, 17, -9, -0.48, 17, -9, -0.47, 16, -9, -0.46, 17, -8, -0.46, 16, -8, -0.44, 17, -8, -0.42, 16, -7, -0.38, 17, -7, -0.34, 16, -6, -0.3, 17, -6, -0.26, 16, -6, -0.23, 16, -5, -0.19, 16, -5, -0.16, 16, -5, -0.13, 17, -4, -0.11, 16, -4, -0.08, 15, -4, -0.06, 16, -3, -0.04, 16, -3, -0.02, 16, -3, 0, 16, -2, 0.02, 15, -2, 0.04, 16, -2, 0.05, 15, -1, 0.07, 16, -1, 0.08, 15, 0, 0.09, 15, -1, 0.11, 16, 1, 0.12, 15, 0, 0.13, 15, 1, 0.14, 15, 1, 0.15, 15, 1, 0.16, 15, 2, 0.16, 15, 2, 0.17, 15, 2, 0.18, 15, 3, 0.19, 15, 3, 0.19, 15, 4, 0.2, 15, 3, 0.2, 14, 4, 0.21, 15, 5, 0.21, 14, 4, 0.22, 15, 5, 0.22, 14, 5, 0.23, 15, 6, 0.23, 14, 6, 0.23, 15, 6, 0.24, 14, 7, 0.24, 14, 6, 0.24, 14, 8, 0.24, 14, 7, 0.25, 14, 8, 0.25, 14, 8, 0.25, 14, 8, 0.25, 14, 9, 0.25, 14, 9, 0.26, 14, 9, 0.26, 14, 10, 0.26, 14, 10, 0.26, 13, 10, 0.26, 14, 10, 0.26, 15, 10, 0.2, 12, 1, 0.04, 14, 0, 0.06, 15, -2, 0.07, 16, -2, 0.07, 15, -1, 0.07, 15, 0, 0.06, 16, 0, 0.05, 15, 1, 0.05, 15, 1, 0.04, 15, 1, 0.04, 16, 2, 0.03, 15, 2, 0.03, 15, 2, 0.02, 15, 2, 0.02, 15, 3, 0.02, 14, 4, 0.01, 15, 3, 0.01, 15, 4, 0.01, 15, 4, 0, 14, 5, 0, 15, 5, 0, 15, 5, 0, 14, 5, -0.01, 15, 6, -0.01, 14, 6, -0.01, 15, 6, -0.01, 14, 6, 0.04, 15, 4, 0.08, 15, 1, 0.06, 15, -1, 0.01, 16, -2, -0.03, 16, -3, -0.02, 16, -1, -0.02, 17, -1, -0.02, 16, -2, -0.05, 17, -1, -0.08, 17, -2, -0.06, 17, -2, -0.07, 17, -2, -0.09, 17, -2, -0.11, 17, -3, -0.12, 18, -3, -0.12, 18, -3, -0.12, 18, -3, -0.12, 18, -3, -0.12, 18, -4, -0.15, 18, -4, -0.2, 19, -5, -0.22, 18, -5, -0.2, 19, -5, -0.2, 19, -5, -0.22, 19, -6, -0.26, 19, -6, -0.27, 19, -6, -0.28, 20, -6, -0.28, 19, -7, -0.28, 19, -6, -0.28, 19, -7, -0.28, 20, -6, -0.29, 18, -8, -0.33, 19, -7, -0.34, 18, -9, -0.3, 19, -8, -0.3, 18, -8, -0.29, 19, -8, -0.29, 19, -7, -0.31, 18, -7, -0.31, 19, -8, -0.35, 19, -7, -0.36, 18, -8, -0.35, 19, -8, -0.35, 19, -8, -0.35, 19, -7, -0.35, 18, -8, -0.35, 19, -8, -0.34, 19, -7, -0.33, 19, -7, -0.32, 19, -7, -0.31, 18, -7, -0.3, 19, -6, -0.29, 19, -5, -0.28, 18, -6, -0.27, 18, -5, -0.27, 19, -4, -0.26, 18, -5, -0.25, 18, -4, -0.25, 18, -3, -0.24, 19, -4, -0.24, 18, -2, -0.23, 18, -3, -0.23, 17, -2, -0.22, 18, -2, -0.22, 18, -2, -0.22, 18, -1, -0.21, 17, -1, -0.21, 18, 0, -0.21, 18, -1, -0.2)); AddData(new Array(17, 1, -0.2, 17, 0, -0.2, 18, 1, -0.2, 17, 1, -0.19, 17, 1, -0.19, 18, 2, -0.19, 17, 2, -0.19, 17, 3, -0.19, 17, 2, -0.18, 17, 3, -0.18, 17, 4, -0.18, 17, 3, -0.18, 16, 4, -0.18, 17, 5, -0.18, 17, 5, -0.18, 16, 4, -0.18, 17, 6, -0.18, 16, 5, -0.17, 17, 6, -0.17, 16, 7, -0.17, 17, 6, -0.17, 16, 7, -0.17, 16, 7, -0.17, 16, 8, -0.17, 16, 7, -0.17, 17, 9, -0.17, 16, 8, -0.17, 16, 9, -0.17, 15, 9, -0.17, 16, 9, -0.17, 16, 10, -0.17, 16, 9, -0.17, 16, 11, -0.17, 16, 10, -0.14, 16, 9, -0.08, 18, 8, 0.03, 19, 8, 0.15, 17, 9, 0.23, 18, 9, 0.29, 17, 10, 0.35, 17, 10, 0.4, 17, 10, 0.45, 17, 11, 0.49, 17, 11, 0.53, 17, 10, 0.55, 17, 11, 0.53, 18, 7, 0.52, 19, 7, 0.5, 18, 6, 0.46, 19, 7, 0.43, 19, 7, 0.39, 19, 6, 0.32, 19, 6, 0.3, 20, 5, 0.31, 20, 6, 0.32, 20, 5, 0.31, 19, 4, 0.27, 20, 5, 0.24, 20, 4, 0.25, 20, 4, 0.25, 20, 4, 0.23, 20, 2, 0.18, 20, 2, 0.14, 20, -1, 0.13, 21, 1, 0.16, 20, 1, 0.16, 20, 1, 0.13, 20, 1, 0.09, 21, 0, 0.05, 20, 1, 0.03, 20, -1, 0.03, 20, -1, 0, 21, 0, -0.02, 20, 0, -0.02, 20, -1, -0.02, 21, 0, -0.02, 20, 0, 0, 21, 1, 0.01, 20, 0, 0.04, 21, -1, 0.01, 20, -1, -0.04, 19, -3, -0.08, 20, -3, -0.06, 20, -2, -0.06, 20, -3, -0.07, 20, -2, -0.09, 20, -3, -0.13, 19, -4, -0.19, 20, -5, -0.18, 20, -4, -0.17, 20, -5, -0.17, 19, -4, -0.19, 20, -6, -0.25, 18, -7, -0.36, 17, -8, -0.4, 17, -10, -0.44, 18, -9, -0.42, 18, -9, -0.41, 18, -9, -0.4, 18, -8, -0.4, 18, -8, -0.39, 18, -9, -0.4, 18, -8, -0.39, 19, -8, -0.37, 18, -8, -0.36, 19, -8, -0.35, 18, -8, -0.34, 19, -7, -0.33, 18, -6, -0.33, 19, -6, -0.32, 18, -6, -0.31, 18, -6, -0.31, 18, -5, -0.3, 18, -5, -0.3, 18, -4, -0.29, 18, -5, -0.29, 18, -3, -0.27, 18, -4, -0.25, 18, -3, -0.21, 18, -3, -0.17, 17, -2, -0.12, 18, -2, -0.07, 18, -2, -0.01, 18, -1, 0.06, 18, -1, 0.13, 17, -1, 0.19, 18, 0, 0.24, 17, 0, 0.3, 17, 0, 0.35, 18, 1, 0.39, 17, 1, 0.44, 17, 1, 0.48, 17, 2, 0.51, 17, 2, 0.55, 17, 2, 0.58, 17, 3, 0.61, 17, 3, 0.64, 16, 3, 0.67, 17, 4, 0.69, 16, 4, 0.72, 17, 4, 0.74, 16, 5, 0.76, 17, 5, 0.78, 16, 5, 0.8, 17, 5, 0.82, 16, 6, 0.83, 16, 6, 0.85, 16, 7, 0.86, 16, 6, 0.87, 16, 7, 0.89, 16, 8, 0.89, 16, 7, 0.88, 16, 8, 0.86, 15, 8, 0.84, 16, 9, 0.82, 16, 8, 0.81, 15, 10, 0.79, 16, 9, 0.78, 15, 10, 0.77, 16, 10, 0.75, 15, 10, 0.74, 16, 10, 0.73, 15, 11, 0.72, 15, 12, 0.71, 15, 11, 0.71, 15, 12, 0.69, 16, 10, 0.6, 17, 6, 0.38, 17, 4, 0.29, 18, 3, 0.21, 19, 3, 0.21, 20, 3, 0.24, 19, 3, 0.18, 19, 2, 0.1, 20, 2, 0.09, 20, 1, 0.11, 20, 1, 0.07, 19, -1, 0.04, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.03, 21, 0, 0.01, 20, -1, 0.01, 20, 0, 0.01, 21, -1, 0.01, 20, -1, 0.01, 20, 0, 0.01, 21, -1, 0.01, 20, 0, 0.01, 21, -1, 0, 20, -2, -0.05, 19, -3, -0.12, 19, -4, -0.15, 19, -5, -0.21, 20, -6, -0.24, 19, -6, -0.28, 19, -6, -0.27, 19, -6, -0.27, 20, -6, -0.27, 19, -6, -0.28, 19, -5, -0.3, 19, -6, -0.33, 19, -4, -0.37, 19, -5, -0.41, 18, -3, -0.46, 19, -4, -0.52, 18, -3, -0.59, 19, -3, -0.66, 18, -3, -0.74, 18, -2, -0.82, 18, -1, -0.9, 18, -2, -0.98, 18, -1, -1.07, 17, 0, -1.16, 18, 0, -1.25, 17, 0, -1.34, 18, 0, -1.44, 17, 1, -1.53, 18, 1, -1.64, 17, 2, -1.74, 17, 2, -1.83, 18, 2, -1.9, 17, 2, -1.95, 17, 3, -2, 17, 3, -2.03, 17, 3, -2.04, 17, 3, -2.05, 17, 4, -2.04, 17, 4, -2.03, 17, 4, -2, 17, 5, -1.97, 17, 4, -1.93, 16, 5, -1.88, 17, 6, -1.82, 16, 5, -1.76, 17, 6, -1.69, 19, 3, -1.79, 16, -2, -1.72, 16, -2, -1.7, 15, -2, -1.67, 13, -3, -1.65, 17, -2, -1.65, 15, -4, -1.63, 15, -2, -1.59, 16, -3, -1.55, 15, -2, -1.5, 16, -2, -1.45, 15, -1, -1.38, 15, -2, -1.32, 15, 0, -1.24, 16, -2, -1.19, 16, -3, -1.09, 15, -4, -0.96, 16, -4, -0.8, 16, -5, -0.65, 16, -4, -0.53, 17, -3, -0.42, 16, -3, -0.31, 16, -3, -0.22, 16, -2, -0.12, 16, -2, -0.04, 16, -1, 0.04, 15, -1, 0.12, 16, -1, 0.18, 16, -1, 0.25, 16, -1, 0.27, 15, -1, 0.26, 16, -2, 0.23, 16, -1, 0.19, 16, -1, 0.18, 16, 0, 0.17, 16, 0, 0.15, 16, 0, 0.11, 16, 0, 0.07, 17, 0, 0.04, 16, 1, 0, 17, 0, 0.04, 16, 0, 0.06, 18, 1, 0.08, 17, 0, 0.11, 18, 2, 0.14, 18, 1, 0.16, 18, 2, 0.18, 18, 2, 0.2, 18, 3, 0.22, 17, 3, 0.24, 18, 3, 0.25, 17, 3, 0.27, 18, 4, 0.28, 17, 4, 0.3, 18, 5, 0.31, 17, 4, 0.32, 17, 5, 0.33, 17, 6, 0.34, 18, 5, 0.35, 17, 6, 0.36, 17, 7, 0.37, 16, 6, 0.38, 17, 7, 0.37, 18, 6, 0.33, 17, 4, 0.2, 17, 1, 0.18, 18, 0, 0.14, 18, -1, 0.1, 18, -1, 0.05, 19, -1, 0.03, 19, 0, 0.02, 20, 0, 0.02, 20, 1, 0.02, 20, 0, 0.03, 20, 0, 0.05, 21, 0, 0.03, 20, -1, -0.02, 20, -2, -0.04, 20, -1, -0.04, 20, -2, -0.03, 20, -1, -0.03, 21, -2, -0.03, 20, -1, -0.03, 20, -1, -0.02, 21, -2, -0.02, 20, -1, 0, 21, 0, 0.01, 20, -1, 0.02, 20, 0, 0.03, 20, 1, 0.04, 20, 0, 0.04, 19, 1, 0.05, 20, 2, 0.06, 20, 1, 0.06, 19, 2, 0.07, 20, 2, 0.07, 19, 3, 0.08, 20, 3, 0.08, 19, 3, 0.09, 19, 4, 0.09, 19, 4, 0.09, 20, 4, 0.1, 19, 4, 0.1, 19, 5, 0.1, 19, 6, 0.11, 18, 5, 0.11, 20, 5, 0.16, 20, 3, 0.19, 20, 2, 0.18, 20, 1, 0.14, 20, 4, 0.16, 20, 3, 0.17, 20, 2, 0.15, 20, 1, 0.1, 20, 0, 0.08, 21, 1, 0.09, 20, 0, 0.05, 20, 0, 0.03, 21, -1, 0.04, 20, -2, 0, 19, -1, -0.02, 20, -1, -0.04, 20, -1, -0.06, 19, 0, -0.08, 20, -1, -0.06, 21, -2, -0.02, 19, -2, -0.05, 21, -1, -0.04, 20, -2, -0.04, 20, -2, -0.05, 20, -3, -0.1, 20, -2, -0.13, 20, -4, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -4, -0.14, 20, -3, -0.15, 19, -4, -0.16, 20, -4, -0.16, 20, -4, -0.15, 18, -9, -0.13, 18, -9, -0.13, 18, -8, -0.12, 18, -8, -0.11, 18, -8, -0.11, 18, -7, -0.1, 18, -7, -0.09, 18, -6, -0.09, 17, -6, -0.08, 18, -6, -0.08, 18, -5, -0.07, 17, -6, -0.07, 18, -4, -0.06, 17, -5, -0.06, 17, -4, -0.05, 18, -3, -0.05, 17, -4, -0.05, 17, -3, -0.04, 17, -2, -0.04, 17, -3, -0.04, 17, -2, -0.04, 17, -1, -0.03, 17, -2, -0.03, 17, -1, -0.03, 17, 0, -0.03, 16, 0, -0.03, 17, 0, -0.01, 17, 0, 0.01, 16, 1, 0.04, 17, 1, 0.08, 17, 1, 0.11, 16, 2, 0.15, 16, 2, 0.18, 17, 2, 0.21, 16, 3, 0.24, 16, 3, 0.26, 17, 4, 0.29, 16, 3, 0.31, 16, 4, 0.33, 16, 5, 0.35, 16, 4, 0.37, 16, 5, 0.39, 16, 6, 0.41, 15, 5, 0.42, 16, 6, 0.44, 16, 6, 0.45, 15, 7, 0.46, 16, 7, 0.47, 15, 7, 0.48, 16, 7, 0.49, 15, 8, 0.5, 16, 8, 0.51, 15, 8, 0.52, 15, 9, 0.53, 15, 9, 0.54, 15, 9, 0.54, 15, 10, 0.55, 15, 10, 0.56, 15, 10, 0.56, 15, 7, 0.43, 15, 3, 0.17, 14, 1, 0.02, 16, -2, -0.04, 16, -2, -0.08, 18, -2, -0.03, 17, -1, -0.01, 18, -2, 0, 17, 0, 0.01, 18, -1, 0.02, 17, 0, 0.03, 17, 0, 0, 17, -2, -0.05, 18, -1, -0.07, 18, -2, -0.07, 18, -2, -0.07, 18, -2, -0.07, 18, -3, -0.07, 19, -2, -0.07, 19, -2, -0.07, 19, -3, -0.09, 19, -3, -0.13, 19, -4, -0.2, 19, -5, -0.22, 19, -6, -0.19, 19, -5, -0.2, 20, -4, -0.2, 20, -5, -0.2, 19, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 19, -5, -0.2, 20, -5, -0.2, 20, -4, -0.2, 19, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 19, -5, -0.19, 20, -4, -0.18, 20, -5, -0.17, 20, -4, -0.16, 20, -3, -0.15, 19, -3, -0.14, 20, -3, -0.13, 19, -3, -0.13, 20, -2, -0.12, 19, -2, -0.12, 19, -1, -0.11, 19, -1, -0.11, 19, -1, -0.1, 19, -1, -0.1, 19, 0, -0.09, 19, 0, -0.09, 19, 1, -0.09, 19, 1, -0.08, 19, 1, -0.08, 18, 1, -0.08, 19, 2, -0.07, 18, 2, -0.07, 19, 3, -0.07, 18, 3, -0.07, 18, 3, -0.07, 19, 3, -0.06)); AddData(new Array(18, 4, -0.06, 18, 4, -0.06, 18, 5, -0.06, 18, 4, -0.06, 18, 5, -0.06, 18, 6, -0.05, 18, 5, -0.05, 18, 6, -0.05, 17, 7, -0.05, 18, 5, 0, 18, 3, 0.02, 19, 0, 0.05, 19, -1, 0.05, 19, -2, 0.05, 19, -2, 0.02, 19, -2, -0.04, 19, -2, -0.09, 19, -2, -0.11, 19, -2, -0.09, 20, -1, -0.08, 19, -2, -0.07, 19, -2, -0.11, 19, -4, -0.15, 19, -5, -0.17, 20, -4, -0.16, 19, -4, -0.16, 20, -4, -0.17, 20, -5, -0.19, 20, -5, -0.21, 19, -5, -0.2, 20, -5, -0.21, 20, -5, -0.21, 19, -5, -0.22, 19, -6, -0.26, 20, -6, -0.28, 19, -6, -0.27, 19, -7, -0.27, 19, -6, -0.29, 19, -8, -0.33, 18, -7, -0.36, 19, -6, -0.37, 20, -7, -0.39, 18, -6, -0.4, 19, -6, -0.41, 19, -5, -0.43, 19, -5, -0.44, 18, -5, -0.45, 19, -5, -0.43, 19, -5, -0.41, 18, -5, -0.4, 19, -4, -0.38, 19, -4, -0.37, 19, -3, -0.36, 18, -4, -0.35, 19, -2, -0.33, 18, -3, -0.32, 18, -2, -0.31, 19, -2, -0.31, 18, -1, -0.3, 18, -1, -0.29, 18, -1, -0.28, 18, -1, -0.28, 18, 0, -0.27, 18, 0, -0.26, 18, 1, -0.26, 18, 1, -0.25, 18, 1, -0.25, 17, 1, -0.24, 18, 2, -0.24, 18, 2, -0.23, 17, 3, -0.21, 18, 1, -0.16, 19, 1, -0.07, 19, 1, 0.01, 19, 2, 0.07, 19, 1, 0.09, 19, 0, 0.09, 20, 1, 0.11, 19, 1, 0.13, 20, 2, 0.15, 19, 1, 0.16, 20, 3, 0.18, 19, 2, 0.19, 19, 3, 0.2, 19, 2, 0.19, 19, 3, 0.18, 20, 3, 0.17, 20, 2, 0.18, 20, 2, 0.18, 20, 3, 0.17, 20, 2, 0.17, 20, 3, 0.17, 21, 3, 0.16, 20, 2, 0.17, 20, 3, 0.18, 20, 3, 0.2, 21, 3, 0.21, 19, 4, 0.22, 20, 4, 0.23, 20, 4, 0.23, 19, 4, 0.24, 19, 5, 0.25, 20, 5, 0.26, 19, 6, 0.26, 19, 6, 0.27, 20, 4, 0.25, 20, 4, 0.25, 20, 3, 0.22, 20, 3, 0.18, 20, 3, 0.15, 20, 3, 0.17, 20, 1, 0.14, 20, 2, 0.08, 20, -1, 0.05, 21, 1, 0.05, 20, 0, 0.06, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 1, 0.05, 21, -1, 0.01, 19, -2, -0.04, 20, -1, -0.05, 21, -3, -0.07, 19, -4, -0.14, 19, -3, -0.2, 20, -2, -0.24, 19, -2, -0.27, 20, -2, -0.31, 19, -1, -0.34, 19, -1, -0.37, 19, -1, -0.4, 19, -1, -0.43, 19, 0, -0.45, 19, 1, -0.47, 19, 0, -0.49, 19, 1, -0.51, 19, 1, -0.53, 19, 1, -0.53, 20, 0, -0.51, 20, 0, -0.46, 20, 0, -0.44, 20, 0, -0.42, 20, 1, -0.41, 20, 0, -0.39, 20, 1, -0.37, 20, 1, -0.33, 20, 1, -0.29, 20, 1, -0.25, 20, 1, -0.21, 21, 1, -0.16, 20, 1, -0.11, 20, 2, -0.06, 20, 1, -0.01, 21, 1, 0.04, 20, 2, 0.08, 20, -1, 0.07, 20, -1, 0.04, 20, 0, 0.03, 21, 0, 0.02, 20, 0, 0.02, 20, 0, 0.02, 20, 0, 0.03, 21, 1, 0.05, 20, 0, 0.04, 20, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, -1, 0.06, 19, 0, 0.07, 19, 0, 0.08, 19, 0, 0.09, 18, 0, 0.08, 19, 0, 0.07, 18, 0, 0.05, 19, 1, 0.04, 18, 0, 0.04, 19, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05, 19, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05)); StopData(); StartData(0); AddData(new Array(1581, 215, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 8, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 10, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 13, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.05, 20, 0, 0.06, 21, 1, 0.08, 20, 0, 0.07, 21, 1, 0.07, 20, 0, 0.07, 20, 0, 0.07, 21, 1, 0.08, 20, 1, 0.09, 21, 1, 0.11, 20, 2, 0.12, 20, 1, 0.13, 20, 3, 0.14, 20, 2, 0.15, 19, 3, 0.15, 20, 3, 0.16, 20, 3, 0.17, 19, 4, 0.18, 20, 4, 0.18, 19, 4, 0.19, 20, 5, 0.19, 19, 5, 0.2, 20, 5, 0.2, 19, 6, 0.21, 19, 6, 0.21, 19, 6, 0.22, 19, 7, 0.22, 19, 7, 0.22, 19, 6, 0.2, 19, 5, 0.07, 18, 0, 0.04, 20, -1, 0.01, 20, -2, -0.01, 21, -2, 0.04, 20, 0, 0.04, 21, -1, 0.04, 21, 1, 0.04, 20, 0, 0.04, 21, 1, 0.05, 20, -1, 0.05, 21, 1, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, -1, 0.04, 22, 0, 0.04, 21, 0, 0.03, 22, 0, 0.03, 22, 0, 0.03, 21, -1, 0.03, 22, 0, 0.03, 22, -1, 0.02, 21, -1, -0.02, 21, -3, -0.07, 21, -4, -0.1, 21, -4, -0.19, 19, -5, -0.26, 20, -8, -0.34, 20, -9, -0.4, 15, -13, -0.52, 14, -13, -0.67, 13, -14, -0.78, 14, -15, -0.79, 15, -15, -0.76, 14, -15, -0.74, 15, -15, -0.74, 15, -14, -0.73, 15, -14, -0.72, 14, -13, -0.71, 15, -13, -0.71, 14, -13, -0.7, 15, -13, -0.7, 14, -12, -0.69, 15, -11, -0.69, 14, -12, -0.68, 14, -11, -0.68, 15, -10, -0.67, 14, -10, -0.67, 14, -10, -0.67, 14, -10, -0.66, 14, -9, -0.66, 14, -8, -0.66, 14, -9, -0.66, 14, -8, -0.65, 14, -7, -0.65, 14, -8, -0.65, 14, -6, -0.65, 13, -7, -0.64, 14, -6, -0.64, 14, -6, -0.64, 13, -6, -0.64, 14, -5, -0.64, 14, -5, -0.64, 13, -4, -0.64, 13, -4, -0.63, 14, -4, -0.63, 13, -3, -0.63, 13, -3, -0.63, 14, -3, -0.63, 13, -2, -0.63, 13, -3, -0.63, 13, -1, -0.63, 13, -2, -0.63, 13, -1, -0.63, 13, 0, -0.63, 13, -1, -0.63, 13, 0, -0.63, 13, 1, -0.62, 13, 0, -0.62, 12, 1, -0.62, 13, 2, -0.62, 13, 1, -0.61, 13, 2, -0.59, 12, 2, -0.56, 13, 3, -0.54, 13, 3, -0.51, 12, 3, -0.49, 13, 4, -0.46, 12, 3, -0.44, 13, 5, -0.42, 12, 4, -0.4, 12, 5, -0.39, 13, 5, -0.37, 12, 6, -0.36, 12, 5, -0.34, 12, 7, -0.33, 12, 6, -0.32, 13, 7, -0.3, 12, 7, -0.29, 12, 7, -0.28, 12, 8, -0.27, 11, 8, -0.26, 12, 8, -0.26, 12, 9, -0.25, 12, 8, -0.24, 12, 10, -0.23, 11, 9, -0.23, 12, 10, -0.22, 12, 10, -0.22, 11, 10, -0.21, 12, 11, -0.21, 11, 11, -0.2, 12, 11, -0.2, 11, 12, -0.19, 10, 10, -0.09, 14, -2, -0.03, 11, -3, -0.04, 12, -4, -0.06, 11, -5, -0.07, 11, -1, -0.09, 12, -2, -0.1, 11, -2, -0.11, 11, -1, -0.12, 12, -1, -0.13, 11, 0, -0.14, 11, 0, -0.15, 11, 0, -0.16, 12, 1, -0.17, 11, 1, -0.17, 11, 1, -0.18, 11, 1, -0.19, 11, 2, -0.19, 11, 2, -0.2, 11, 3, -0.2, 11, 3, -0.21, 11, 3, -0.21, 10, 3, -0.22, 11, 4, -0.22, 11, 4, -0.21, 11, 4, -0.17, 13, 2, -0.12, 12, 4, -0.08, 13, 4, -0.04, 13, 4, -0.01, 12, 4, 0.03, 13, 4, 0.09, 13, 5, 0.14, 13, 5, 0.19, 13, 4, 0.25, 14, 6, 0.32, 13, 5, 0.38, 14, 5, 0.41, 15, 5, 0.4, 14, 4, 0.36, 15, 4, 0.33, 15, 4, 0.31, 16, 4, 0.26, 16, 2, 0.2, 15, 2, 0.13, 17, 1, 0.12, 17, 1, 0.08, 18, 0, 0.08, 17, 1, 0.07, 18, 0, 0.06, 19, 0, 0.07, 18, 0, 0.07, 19, 1, 0.06, 20, 0, 0.06, 19, 0, 0.06, 20, 1, 0.06, 20, 0, 0.06, 20, 0, 0.06, 21, 1, 0.06, 21, 0, 0.07, 21, 1, 0.08, 22, 1, 0.1, 21, 1, 0.11, 21, 2, 0.12, 21, 2, 0.13, 21, 2, 0.14, 21, 3, 0.15, 21, 3, 0.16, 21, 3, 0.17, 21, 4, 0.17, 21, 3, 0.18, 20, 5, 0.19, 21, 4, 0.19, 20, 5, 0.2, 21, 5, 0.21, 20, 5, 0.19, 21, 3, 0.07, 19, -1, 0.02, 21, -2, -0.03, 20, -3, -0.08, 21, -5, -0.09, 20, -3, -0.09, 21, -3, -0.1, 21, -3, -0.1, 21, -2, -0.11, 22, -3, -0.1, 21, -4, -0.14, 21, -4, -0.2, 20, -6, -0.21, 20, -8, -0.22, 19, -9, -0.29, 19, -9, -0.4, 17, -11, -0.44, 17, -12, -0.48, 17, -13, -0.54, 17, -11, -0.57, 18, -12, -0.57, 17, -12, -0.57, 18, -12, -0.56, 18, -12, -0.56, 18, -11, -0.55, 18, -11, -0.55, 18, -10, -0.55, 18, -11, -0.54, 17, -9, -0.53, 18, -10, -0.51, 18, -9, -0.48, 17, -9, -0.44, 18, -8, -0.39, 18, -8, -0.33, 17, -8, -0.27, 18, -7, -0.2, 17, -7, -0.13, 18, -6, -0.05, 17, -6, 0.03, 18, -6, 0.12, 17, -5, 0.22, 18, -5, 0.31, 17, -5, 0.41, 17, -4, 0.52, 17, -3, 0.63, 17, -4, 0.74, 17, -3, 0.86, 17, -2, 0.97, 17, -2, 1.09, 16, -2, 1.21, 17, -1, 1.34, 16, -1, 1.46, 16, -1, 1.59, 16, -1, 1.72, 16, 0, 1.85, 16, 0, 1.99, 15, 1, 2.12, 16, 1, 2.26, 15, 1, 2.39, 16, 1, 2.53, 15, 1, 2.67, 15, 2, 2.81, 15, 2, 2.95, 15, 2, 3.09, 15, 3, 3.23, 15, 2, 3.37, 15, 3, 3.52, 15, 3, 3.66, 15, 4, 3.8, 15, 3, 3.95, 15, 4, 4.09, 15, 5, 4.24, 15, 4, 4.39, 16, 5, 4.53, 15, 5, 4.68, 15, 5, 4.82, 16, 6, 4.97, 15, 6, 5.12, 15, 7, 5.26, 16, 7, 5.38, 15, 7, 5.5, 15, 8, 5.62, 16, 8, 5.72, 15, 9, 5.82, 15, 8, 5.91, 15, 10, 5.99, 15, 9, 6.07, 15, 10, 6.15, 15, 10, 6.21, 14, 11, 6.28, 15, 10, 6.34, 14, 11, 6.4, 15, 12, 6.45, 14, 12, 6.5, 15, 11, 6.54, 15, 10, 6.66, 17, 7, 6.68, 17, 5, 6.66, 18, 4, 6.64, 19, 3, 6.64, 18, 6, 6.63, 19, 5, 6.61, 19, 5, 6.58, 20, 4, 6.56, 20, 4, 6.52, 20, 2, 6.45, 20, 3, 6.41, 20, 1, 6.38, 20, 1, 6.35, 21, 0, 6.31, 21, -1, 6.27, 21, -1, 6.26, 22, -1, 6.26, 21, -3, 6.22, 21, -1, 6.2, 22, -2, 6.22, 21, -3, 6.19, 22, -3, 6.17, 21, -4, 6.18, 21, -4, 6.18, 22, -3, 6.17, 21, -4, 6.17, 21, -4, 6.13, 21, -5, 6.08, 20, -5, 6.06, 21, -6, 6.06, 21, -5, 6.07, 20, -7, 6.04, 20, -6, 6.01, 20, -5, 6.01, 20, -8, 6, 21, -7, 6, 20, -6, 6, 21, -7, 6.01, 20, -7, 6, 20, -8, 5.96, 20, -8, 5.94, 20, -9, 5.95, 20, -8, 5.95, 19, -8, 5.96, 20, -9, 5.96, 20, -8, 5.95, 20, -8, 5.94, 20, -8, 5.93, 20, -9, 5.94, 20, -8, 5.94, 20, -8, 5.94, 20, -8, 5.94, 20, -8, 5.94, 20, -9, 5.95, 20, -8, 5.96, 20, -7, 5.97, 20, -8, 5.98, 20, -7, 5.99, 20, -6, 6, 20, -6, 6.01, 19, -6, 6.02, 20, -6, 6.02, 19, -5, 6.03, 20, -5, 6.04, 19, -4, 6.04, 20, -4, 6.05, 19, -4, 6.05, 19, -3, 6.06, 19, -3, 6.06, 19, -3, 6.07, 19, -2, 6.07, 19, -2, 6.07, 19, -2, 6.08, 19, -2, 6.08, 19, -1, 6.08, 19, 0, 6.09, 18, -1, 6.09, 19, 0, 6.09, 18, 1, 6.09, 19, 0, 6.1, 18, 1, 6.1, 18, 2, 6.1, 19, 1, 6.1, 18, 2, 6.1, 18, 2, 6.11, 18, 3, 6.11, 18, 3, 6.11, 18, 3, 6.11, 18, 4, 6.11, 18, 4, 6.11, 18, 4, 6.11, 17, 4, 6.11, 18, 5, 6.11, 18, 5, 6.12, 17, 6, 6.12, 18, 6, 6.12, 17, 6, 6.12, 17, 6, 6.12, 18, 7, 6.12, 17, 7, 6.12, 17, 7, 6.12)); AddData(new Array(17, 8, 6.12, 18, 8, 6.12, 17, 8, 6.12, 18, 9, 6.12, 17, 9, 6.12, 17, 9, 6.12, 17, 9, 6.12, 18, 10, 6.12, 17, 10, 6.12, 17, 10, 6.11, 17, 11, 6.11, 17, 11, 6.11, 17, 11, 6.11, 16, 11, 6.11, 17, 12, 6.11, 17, 12, 6.11, 16, 13, 6.11, 17, 12, 6.11, 17, 13, 6.11, 16, 13, 6.11, 17, 14, 6.11, 16, 14, 6.11, 17, 13, 6.14, 18, 10, 6.3, 19, 9, 6.5, 21, 8, 6.66, 19, 4, 6.71, 20, 5, 6.67, 19, 4, 6.62, 20, 3, 6.54, 20, 3, 6.51, 21, 4, 6.5, 21, 4, 6.5, 22, 4, 6.45, 21, 1, 6.42, 21, 1, 6.41, 22, 1, 6.42, 21, 1, 6.43, 22, 0, 6.37, 21, 1, 6.3, 21, 0, 6.31, 22, 0, 6.32, 22, 0, 6.33, 21, -1, 6.31, 22, 0, 6.31, 22, 0, 6.31, 21, 0, 6.31, 22, -1, 6.31, 22, 0, 6.31, 21, 0, 6.31, 22, -1, 6.27, 21, -2, 6.22, 21, -2, 6.19, 22, -3, 6.21, 21, -3, 6.21, 22, -2, 6.21, 21, -4, 6.17, 21, -4, 6.12, 21, -5, 6.11, 21, -5, 6.13, 21, -4, 6.12, 20, -5, 6.13, 21, -5, 6.07, 20, -7, 5.96, 18, -10, 5.91, 18, -10, 5.87, 19, -10, 5.87, 19, -10, 5.86, 19, -9, 5.86, 19, -9, 5.85, 19, -9, 5.86, 20, -9, 5.87, 20, -9, 5.89, 20, -9, 5.91, 20, -8, 5.92, 19, -8, 5.94, 20, -8, 5.95, 19, -7, 5.96, 20, -7, 5.98, 19, -6, 5.99, 20, -7, 6, 19, -5, 6.02, 19, -6, 6.04, 20, -5, 6.08, 19, -5, 6.13, 19, -4, 6.18, 19, -4, 6.23, 19, -4, 6.27, 19, -3, 6.32, 19, -3, 6.36, 19, -3, 6.39, 19, -2, 6.43, 18, -2, 6.46, 19, -2, 6.49, 19, -1, 6.52, 18, -1, 6.55, 19, -1, 6.57, 18, 0, 6.6, 18, 0, 6.62, 18, 1, 6.64, 18, 0, 6.66, 18, 1, 6.68, 18, 2, 6.7, 18, 1, 6.71, 18, 2, 6.73, 18, 3, 6.74, 18, 2, 6.75, 18, 3, 6.76, 17, 4, 6.78, 18, 3, 6.79, 17, 4, 6.8, 18, 5, 6.81, 17, 4, 6.81, 17, 5, 6.82, 18, 5, 6.83, 17, 6, 6.84, 17, 6, 6.84, 17, 6, 6.85, 17, 6, 6.86, 17, 7, 6.86, 17, 7, 6.87, 17, 7, 6.87, 17, 8, 6.88, 16, 8, 6.88, 17, 8, 6.88, 17, 9, 6.89, 16, 9, 6.89, 17, 9, 6.89, 16, 10, 6.9, 16, 9, 6.9, 17, 11, 6.9, 16, 10, 6.91, 16, 11, 6.91, 17, 11, 6.91, 16, 11, 6.91, 16, 12, 6.91, 16, 11, 6.92, 16, 13, 6.92, 16, 12, 6.92, 15, 13, 6.92, 17, 9, 6.76, 16, 4, 6.48, 16, 2, 6.38, 18, -1, 6.33, 18, -1, 6.31, 18, -3, 6.29, 19, 0, 6.32, 19, -1, 6.32, 19, 0, 6.32, 19, 0, 6.32, 19, -1, 6.29, 19, 0, 6.29, 20, 0, 6.3, 20, -1, 6.3, 19, 0, 6.3, 21, -1, 6.3, 20, -1, 6.3, 21, -1, 6.26, 20, -3, 6.2, 20, -3, 6.14, 21, -5, 6.12, 21, -5, 6.08, 20, -6, 6.01, 19, -8, 5.95, 19, -9, 5.88, 19, -9, 5.78, 18, -9, 5.67, 19, -7, 5.63, 19, -7, 5.58, 18, -7, 5.53, 19, -6, 5.48, 18, -6, 5.44, 19, -6, 5.4, 18, -6, 5.36, 19, -5, 5.33, 18, -4, 5.32, 18, -5, 5.31, 19, -4, 5.31, 18, -4, 5.31, 18, -3, 5.31, 18, -3, 5.3, 18, -3, 5.3, 18, -2, 5.3, 18, -2, 5.3, 18, -2, 5.3, 18, -1, 5.29, 18, -1, 5.29, 18, -1, 5.29, 17, 0, 5.29, 18, -1, 5.29, 17, 1, 5.29, 18, 0, 5.29, 17, 1, 5.29, 18, 2, 5.28, 17, 1, 5.28, 17, 2, 5.28, 17, 3, 5.28, 17, 2, 5.28, 18, 3, 5.28, 17, 3, 5.28, 17, 4, 5.28, 16, 4, 5.28, 17, 4, 5.28, 17, 5, 5.28, 17, 4, 5.28, 17, 6, 5.28, 16, 5, 5.28, 17, 6, 5.28, 16, 6, 5.28, 17, 6, 5.29, 16, 7, 5.31, 17, 7, 5.33, 16, 7, 5.37, 17, 8, 5.42, 16, 7, 5.46, 17, 4, 5.63, 16, 0, 5.88, 18, -2, 6.08, 15, -6, 6.11, 14, -6, 6.08, 13, -6, 6.02, 15, -6, 5.99, 15, -6, 6.05, 15, -6, 6.11, 15, -6, 6.16, 15, -6, 6.21, 15, -5, 6.26, 15, -4, 6.3, 15, -5, 6.34, 15, -4, 6.38, 14, -3, 6.41, 15, -4, 6.45, 15, -3, 6.48, 14, -2, 6.51, 15, -2, 6.53, 14, -2, 6.56, 14, -2, 6.58, 15, -1, 6.61, 14, -1, 6.63, 14, -1, 6.65, 14, 0, 6.66, 14, 0, 6.68, 14, 1, 6.7, 14, 0, 6.71, 14, 1, 6.73, 14, 2, 6.74, 14, 1, 6.75, 14, 2, 6.76, 13, 3, 6.77, 14, 3, 6.78, 14, 3, 6.79, 13, 3, 6.8, 14, 3, 6.81, 13, 4, 6.82, 14, 5, 6.83, 13, 4, 6.83, 14, 5, 6.84, 13, 6, 6.85, 13, 5, 6.85, 13, 6, 6.86, 14, 6, 6.86, 13, 7, 6.87, 13, 6, 6.84, 14, 6, 6.78, 15, 5, 6.69, 14, 4, 6.62, 15, 1, 6.59, 17, 3, 6.6, 16, 3, 6.58, 17, 3, 6.57, 16, 4, 6.56, 16, 4, 6.54, 17, 3, 6.48, 17, 2, 6.45, 17, 2, 6.46, 18, 1, 6.43, 18, 0, 6.37, 18, 1, 6.32, 18, 0, 6.33, 19, 0, 6.33, 20, 0, 6.33, 19, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 21, 0, 6.32, 20, -1, 6.28, 20, -1, 6.23, 22, -2, 6.24, 21, -1, 6.24, 22, -2, 6.26, 21, -1, 6.26, 22, -2, 6.26, 21, -1, 6.26, 22, -2, 6.26, 22, -1, 6.28, 21, -1, 6.29, 22, 0, 6.29, 22, 0, 6.3, 21, 0, 6.3, 21, 0, 6.31, 21, 1, 6.31, 21, 1, 6.32, 21, 2, 6.32, 21, 1, 6.33, 21, 2, 6.33, 20, 3, 6.34, 21, 3, 6.34, 21, 3, 6.34, 20, 3, 6.34, 21, 4, 6.35, 20, 4, 6.35, 20, 4, 6.35, 21, 5, 6.35, 20, 5, 6.36, 20, 5, 6.36, 20, 6, 6.36, 20, 6, 6.36, 20, 5, 6.43, 21, 4, 6.5, 22, 3, 6.53, 20, 2, 6.46, 21, 1, 6.44, 21, 0, 6.42, 22, -1, 6.35, 21, -1, 6.26, 20, -2, 6.18, 21, -1, 6.16, 22, -1, 6.14, 21, -1, 6.14, 22, -1, 6.14, 22, -1, 6.16, 22, -1, 6.2, 22, -1, 6.23, 21, -1, 6.26, 22, -2, 6.24, 21, -2, 6.24, 22, -2, 6.21, 21, -4, 6.16, 21, -4, 6.19, 21, -4, 6.23, 21, -4, 6.23, 21, -4, 6.21, 21, -5, 6.18, 21, -3, 6.15, 21, -4, 6.13, 21, -3, 6.11, 20, -4, 6.17, 19, -11, 6.27, 19, -10, 6.33, 18, -10, 6.39, 19, -10, 6.44, 18, -9, 6.49, 18, -8, 6.54, 18, -9, 6.59, 18, -8, 6.63, 18, -7, 6.67, 18, -8, 6.7, 18, -7, 6.74, 18, -6, 6.77, 18, -6, 6.8, 17, -6, 6.83, 18, -6, 6.85, 17, -5, 6.88, 18, -5, 6.9, 17, -4, 6.92, 17, -4, 6.94, 18, -4, 6.96, 17, -3, 6.98, 17, -3, 7, 17, -3, 7.01, 17, -3, 7.03, 17, -2, 7.04, 17, -1, 7.05, 17, -2, 7.06, 16, -1, 7.07, 17, -1, 7.09, 17, 0, 7.09, 16, 0, 7.1, 17, 0, 7.11, 16, 1, 7.12, 17, 1, 7.13, 16, 1, 7.13, 17, 1, 7.14, 16, 2, 7.15, 16, 2, 7.15, 16, 3, 7.16, 16, 3, 7.16, 16, 3, 7.17, 16, 4, 7.17, 16, 3, 7.18, 16, 5, 7.18, 16, 4, 7.18, 16, 5, 7.19, 15, 5, 7.19, 16, 5, 7.19, 16, 6, 7.2, 15, 6, 7.2, 16, 7, 7.2, 16, 7, 7.2, 16, 7, 7.2, 15, 8, 7.2, 16, 8, 7.2, 15, 8, 7.2, 16, 8, 7.2, 15, 9, 7.21, 15, 9, 7.21, 16, 10, 7.21, 15, 10, 7.21, 15, 10, 7.21, 15, 10, 7.2, 16, 10, 7.18, 15, 11, 7.15, 14, 11, 7.11, 15, 12, 7.07, 14, 6, 6.85, 15, 2, 6.54, 14, 1, 6.31, 14, -1, 6.21, 15, -2, 6.15, 16, -3, 6.15, 17, -4, 6.2, 17, -2, 6.2, 17, -2, 6.21, 16, -2, 6.22, 17, -2, 6.22, 17, -1, 6.2, 17, -3, 6.19, 17, -3, 6.14, 16, -4, 6.08, 17, -4, 6.09, 17, -5, 6.1, 17, -4, 6.1, 18, -4, 6.1, 18, -5, 6.08, 18, -4, 6.09, 18, -5, 6.09, 19, -4, 6.08, 18, -5, 6.08, 19, -4, 6.08, 19, -5, 6.08, 20, -5, 6.08, 19, -5, 6.08, 20, -5, 6.08, 20, -5, 6.08, 20, -5, 6.08, 20, -5, 6.08, 21, -5, 6.08, 21, -5, 6.09, 21, -5, 6.1, 21, -4, 6.1, 21, -4, 6.11, 20, -4, 6.12, 21, -3, 6.12, 21, -3, 6.13, 20, -2, 6.13, 20, -3, 6.14, 21, -2, 6.14, 20, -1, 6.14, 20, -2, 6.15, 20, 0, 6.15, 20, -1, 6.15, 20, 0, 6.16, 20, 0, 6.16, 20, 0, 6.16, 20, 1, 6.16, 20, 1, 6.17, 19, 1, 6.17, 20, 2, 6.17, 19, 2, 6.17, 20, 3, 6.17, 19, 2, 6.18, 19, 3, 6.18, 20, 4, 6.18, 19, 3, 6.18, 19, 4, 6.18, 19, 5, 6.18, 19, 4, 6.18, 19, 5, 6.18, 19, 6, 6.18, 19, 5, 6.19, 18, 6, 6.19, 19, 6, 6.19, 19, 7, 6.19, 18, 6, 6.23, 19, 4, 6.28, 20, -1, 6.28, 19, -2, 6.24, 19, -3, 6.23, 19, -5, 6.22, 20, -3, 6.23, 21, -3, 6.2, 20, -3, 6.16, 20, -3, 6.11, 21, -5, 6.13, 20, -4, 6.13, 21, -4, 6.13, 21, -5, 6.1, 21, -5, 6.08, 21, -7, 6.12, 21, -6, 6.17)); AddData(new Array(20, -6, 6.19, 21, -5, 6.21, 21, -7, 6.18, 20, -6, 6.13, 21, -6, 6.1, 20, -6, 6.05, 21, -5, 6, 20, -7, 6.02, 21, -6, 6.04, 21, -7, 6.05, 21, -5, 6.07, 20, -6, 6.06, 21, -6, 6.05, 18, -11, 6.05, 19, -10, 6.03, 18, -10, 6.01, 18, -10, 5.98, 19, -10, 5.95, 18, -9, 5.9, 18, -8, 5.85, 18, -9, 5.79, 17, -8, 5.73, 18, -7, 5.68, 18, -8, 5.63, 18, -6, 5.58, 17, -7, 5.54, 18, -6, 5.5, 18, -6, 5.46, 17, -5, 5.42, 18, -5, 5.39, 17, -5, 5.36, 18, -4, 5.33, 17, -4, 5.3, 17, -4, 5.28, 18, -3, 5.25, 17, -3, 5.23, 17, -3, 5.21, 17, -2, 5.19, 17, -2, 5.17, 17, -2, 5.16, 17, -1, 5.14, 17, -1, 5.14, 17, -1, 5.14, 17, -1, 5.16, 17, 0, 5.18, 17, 0, 5.22, 16, 1, 5.26, 17, 1, 5.3, 17, 1, 5.34, 16, 1, 5.37, 17, 2, 5.4, 17, 2, 5.43, 16, 3, 5.46, 16, 3, 5.49, 17, 3, 5.51, 16, 3, 5.54, 16, 4, 5.56, 16, 4, 5.58, 16, 5, 5.6, 17, 5, 5.62, 15, 5, 5.63, 16, 5, 5.65, 16, 6, 5.66, 16, 6, 5.68, 16, 6, 5.69, 16, 7, 5.7, 15, 7, 5.71, 16, 7, 5.72, 15, 8, 5.73, 16, 8, 5.75, 15, 8, 5.78, 16, 9, 5.82, 15, 9, 5.86, 16, 9, 5.91, 15, 9, 5.96, 16, 10, 6.01, 15, 10, 6.05, 15, 10, 6.09, 15, 11, 6.13, 15, 11, 6.16, 16, 10, 6.25, 17, 7, 6.46, 18, 4, 6.53, 19, 4, 6.6, 18, 2, 6.61, 19, 2, 6.55, 18, 1, 6.47, 19, 2, 6.42, 19, 1, 6.38, 19, 2, 6.35, 20, 0, 6.34, 20, 1, 6.32, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 1, 6.33, 22, -1, 6.32, 21, -1, 6.27, 21, -2, 6.23, 22, -2, 6.26, 21, -2, 6.26, 22, -1, 6.26, 21, -1, 6.26, 21, -1, 6.26, 21, -1, 6.26, 21, 0, 6.26, 21, 1, 6.26, 20, 0, 6.26, 21, 1, 6.26, 21, 1, 6.26, 21, 1, 6.3, 21, 1, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, -1, 6.35, 22, -2, 6.42, 22, 0, 6.47, 22, -1, 6.5, 21, -1, 6.52, 22, 0, 6.53, 22, 0, 6.53, 21, 0, 6.52, 22, 1, 6.51, 21, 0, 6.48, 22, 1, 6.46, 21, 0, 6.43, 21, 1, 6.39, 21, 1, 6.34, 21, 1, 6.32, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 19, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 19, 0, 6.33, 20, 0, 6.33)); StopData(); StartData(0); AddData(new Array(1586, 215, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 24, 0, 0.04, 23, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 27, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 28, 0, 0.04, 28, 0, 0.04, 29, 0, 0.04, 29, 0, 0.05, 28, 0, 0.05, 28, 0, 0.07, 29, 1, 0.07, 28, 1, 0.07, 29, 0, 0.04, 28, 0, 0.02, 29, 0, 0, 28, 1, -0.02, 28, 1, -0.03, 29, 1, -0.05, 27, 2, -0.06, 28, 2, -0.07, 28, 2, -0.08, 28, 3, -0.09, 27, 3, -0.1, 28, 3, -0.11, 27, 4, -0.12, 28, 4, -0.13, 27, 4, -0.14, 27, 5, -0.15, 27, 5, -0.15, 27, 5, -0.16, 27, 6, -0.16, 27, 5, -0.17, 26, 7, -0.17, 27, 6, -0.18, 27, 7, -0.18, 26, 7, -0.19, 27, 5, -0.06, 28, 2, 0.06, 27, 0, 0.08, 28, -2, 0.1, 28, -2, 0.08, 27, -1, 0.04, 28, 0, 0.05, 28, -1, 0.01, 28, 0, 0.03, 29, 0, 0.03, 29, -1, 0.02, 28, -2, -0.04, 29, -3, -0.1, 28, -5, -0.17, 27, -7, -0.24, 24, -10, -0.39, 21, -15, -0.53, 20, -17, -0.75, 16, -20, -0.76, 17, -22, -0.77, 18, -21, -0.68, 17, -19, -0.67, 18, -20, -0.65, 17, -18, -0.64, 18, -19, -0.62, 17, -18, -0.61, 18, -17, -0.6, 17, -17, -0.59, 17, -17, -0.58, 17, -16, -0.57, 17, -16, -0.56, 17, -16, -0.55, 17, -15, -0.54, 17, -15, -0.52, 17, -14, -0.49, 17, -15, -0.46, 17, -13, -0.41, 17, -14, -0.36, 17, -13, -0.3, 17, -12, -0.24, 16, -12, -0.17, 17, -12, -0.09, 17, -11, -0.01, 17, -11, 0.08, 16, -11, 0.17, 17, -10, 0.27, 17, -10, 0.37, 16, -9, 0.47, 16, -9, 0.58, 17, -8, 0.69, 16, -8, 0.8, 16, -8, 0.92, 16, -7, 1.04, 16, -7, 1.16, 16, -6, 1.28, 15, -6, 1.41, 16, -6, 1.53, 15, -6, 1.66, 16, -5, 1.79, 15, -4, 1.93, 15, -5, 2.06, 15, -4, 2.19, 14, -4, 2.33, 15, -3, 2.47, 15, -4, 2.6, 14, -3, 2.74, 15, -3, 2.88, 14, -2, 3.02, 14, -3, 3.17, 15, -2, 3.31, 14, -1, 3.45, 14, -2, 3.59, 15, -1, 3.73, 14, -1, 3.85, 14, -1, 3.97, 15, 0, 4.08, 14, 0, 4.18, 15, 0, 4.27, 14, 1, 4.36, 15, 1, 4.45, 14, 1, 4.55, 15, 2, 4.65, 14, 2, 4.76, 14, 2, 4.86, 15, 3, 4.98, 14, 3, 5.09, 15, 3, 5.21, 14, 4, 5.33, 15, 4, 5.45, 14, 4, 5.56, 15, 5, 5.67, 14, 5, 5.77, 15, 6, 5.86, 14, 6, 5.94, 14, 6, 6.02, 14, 7, 6.1, 14, 7, 6.17, 14, 7, 6.24, 14, 8, 6.3, 14, 8, 6.36, 13, 8, 6.41, 14, 8, 6.46, 14, 9, 6.51, 13, 10, 6.55, 14, 9, 6.58, 13, 10, 6.6, 13, 10, 6.61, 13, 10, 6.6, 13, 10, 6.6, 14, 11, 6.6, 13, 11, 6.59, 13, 12, 6.59, 13, 12, 6.59, 12, 12, 6.58, 13, 12, 6.58, 13, 13, 6.58, 13, 13, 6.58, 13, 13, 6.58, 12, 13, 6.57, 13, 14, 6.57, 13, 14, 6.57, 12, 14, 6.57, 13, 15, 6.57, 12, 15, 6.57, 13, 15, 6.57, 12, 16, 6.56, 12, 15, 6.56, 13, 16, 6.56, 12, 17, 6.56, 12, 16, 6.56, 12, 17, 6.56, 13, 17, 6.56, 12, 18, 6.56, 12, 18, 6.56, 11, 5, 6.34, 16, -2, 6.35, 15, -1, 6.35, 16, -2, 6.34, 16, -3, 6.34, 16, 0, 6.33, 17, 0, 6.32, 17, 0, 6.32, 17, 0, 6.31, 17, 1, 6.3, 17, 1, 6.33, 17, 0, 6.35, 18, 2, 6.36, 17, 1, 6.4, 19, 1, 6.43, 18, 1, 6.43, 19, 2, 6.42, 19, 0, 6.37, 19, 1, 6.32, 20, 2, 6.3, 20, 1, 6.28, 20, 2, 6.26, 20, 2, 6.24, 20, 2, 6.22, 20, 3, 6.21, 20, 3, 6.19, 20, 4, 6.18, 19, 3, 6.16, 20, 5, 6.15, 20, 4, 6.14, 19, 5, 6.13, 19, 4, 6.16, 20, 2, 6.22, 20, 0, 6.21, 19, -3, 6.2, 19, -4, 6.18, 20, -5, 6.16, 21, -4, 6.19, 21, -3, 6.19, 21, -3, 6.19, 21, -3, 6.19, 21, -3, 6.13, 21, -5, 6.11, 20, -8, 6.12, 20, -8, 6.12, 19, -10, 6.02, 19, -10, 5.91, 18, -11, 5.81, 18, -12, 5.74, 17, -13, 5.7, 18, -14, 5.67, 18, -15, 5.62, 17, -13, 5.58, 18, -14, 5.53, 18, -13, 5.49, 17, -13, 5.46, 18, -12, 5.42, 17, -12, 5.39, 18, -12, 5.36, 17, -11, 5.33, 17, -11, 5.3, 18, -10, 5.28, 17, -10, 5.26, 17, -10, 5.23, 17, -9, 5.21, 17, -9, 5.19, 17, -9, 5.18, 17, -8, 5.16, 17, -8, 5.14, 17, -8, 5.13, 17, -7, 5.12, 17, -7, 5.1, 16, -7, 5.09, 17, -6, 5.08, 17, -6, 5.07, 16, -5, 5.06, 17, -5, 5.05, 16, -5, 5.04, 17, -4, 5.03, 16, -4, 5.03, 16, -4, 5.02, 16, -4, 5.01, 17, -3, 5.01, 16, -2, 5, 16, -3, 5, 16, -2, 4.99, 16, -2, 4.99, 16, -1, 4.98, 16, -1, 4.98, 15, -1, 4.97, 16, 0, 4.97, 16, 0, 4.97, 16, 0, 4.96, 15, 1, 4.97, 16, 1, 4.99, 15, 1, 5.01, 16, 1, 5.05, 15, 2, 5.09, 16, 2, 5.14, 15, 3, 5.2, 16, 2, 5.26, 15, 3, 5.34, 16, 4, 5.41, 15, 3, 5.49, 16, 4, 5.57, 15, 5, 5.64, 15, 4, 5.71, 15, 5, 5.77, 16, 6, 5.83, 15, 6, 5.88, 15, 6, 5.93, 15, 6, 5.98, 15, 7, 6.03, 14, 7, 6.07, 15, 7, 6.11, 15, 8, 6.14, 14, 8, 6.18, 15, 8, 6.21, 14, 9, 6.24, 15, 9, 6.27, 14, 9, 6.29, 15, 9, 6.32, 14, 10, 6.34, 14, 10, 6.36, 14, 11, 6.38, 14, 10, 6.4, 15, 11, 6.42, 14, 12, 6.43, 14, 11, 6.45, 13, 12, 6.46, 14, 12, 6.48, 14, 13, 6.49, 14, 12, 6.5, 14, 13, 6.51, 13, 14, 6.52, 14, 13, 6.53, 13, 14, 6.54, 14, 15, 6.55, 13, 14, 6.56, 15, 9, 6.46, 16, 2, 6.43, 17, 0, 6.42, 17, 0, 6.41, 18, -1, 6.4, 17, -1, 6.31, 17, -1, 6.28, 19, 0, 6.25, 18, -1, 6.27, 19, -1, 6.27, 18, -2, 6.23, 19, -2, 6.21, 19, -2, 6.22, 20, -3, 6.19, 19, -3, 6.17, 20, -3, 6.16, 20, -3, 6.16, 20, -3, 6.16, 20, -4, 6.16, 21, -3, 6.15, 20, -5, 6.1, 21, -5, 6.06, 21, -5, 6.06, 20, -6, 6.07, 21, -6, 6.05, 21, -6, 6.01, 20, -6, 5.99, 21, -7, 6.01, 20, -7, 6.01, 21, -7, 6.01, 20, -6, 6.01, 21, -7, 6.01, 20, -8, 5.97, 19, -8, 5.92, 20, -8, 5.94, 20, -9, 5.94, 20, -8, 5.93, 20, -8, 5.94, 20, -8, 5.94, 19, -8, 5.94, 20, -9, 5.93, 20, -8, 5.94, 20, -8, 5.94, 20, -8, 5.94, 19, -9, 5.94, 20, -8, 5.94, 20, -8, 5.94, 21, -8, 5.95, 20, -8, 5.97, 20, -8, 5.98, 20, -7, 5.99, 20, -7, 5.99, 20, -6, 6, 20, -6, 6.01, 19, -6, 6.02, 20, -5, 6.02, 20, -5, 6.03, 19, -5, 6.04, 20, -4, 6.04, 19, -4, 6.05, 19, -4, 6.05, 20, -3, 6.06, 19, -3, 6.06, 19, -3, 6.06, 19, -2, 6.07, 19, -2, 6.07, 19, -1, 6.08, 19, -1, 6.08, 19, -1, 6.08, 18, -1, 6.08, 19, 0, 6.09, 19, 0, 6.09, 18, 0, 6.09, 19, 1, 6.09, 18, 1, 6.09, 18, 2, 6.1, 19, 1, 6.1, 18, 2, 6.1, 18, 3, 6.1, 18, 3, 6.1, 18, 3, 6.1, 18, 3, 6.11, 18, 4, 6.11, 18, 4, 6.11, 18, 4, 6.11, 18, 5, 6.11, 18, 5, 6.11, 17, 5, 6.11, 18, 6, 6.11, 17, 5, 6.11, 18, 7, 6.11, 17, 6, 6.11, 17, 7, 6.11, 18, 7, 6.11, 17, 8, 6.12, 17, 8, 6.12, 18, 8, 6.11, 17, 8, 6.11, 18, 8, 6.11, 17, 9, 6.11, 17, 10, 6.11, 18, 9, 6.11, 17, 10, 6.11, 17, 10, 6.11, 17, 10, 6.11, 17, 11, 6.11, 17, 11, 6.11, 17, 12, 6.11, 17, 11, 6.11, 17, 12, 6.11, 16, 12, 6.11, 17, 13, 6.11, 17, 13, 6.11, 16, 13, 6.11, 17, 13, 6.11, 16, 14, 6.11, 17, 13, 6.1, 16, 14, 6.13, 19, 9, 6.32, 19, 9, 6.52, 20, 7, 6.64, 21, 5, 6.71, 19, 4, 6.67, 20, 4, 6.6, 19, 3, 6.54, 21, 3, 6.51, 21, 4, 6.5, 21, 3, 6.45, 21, 2, 6.37, 21, 1, 6.37, 22, 1, 6.39)); AddData(new Array(22, 2, 6.37, 21, 0, 6.33, 21, 1, 6.31, 22, 0, 6.33, 22, 0, 6.32, 21, 0, 6.33, 22, -1, 6.32, 21, 0, 6.32, 22, 0, 6.32, 21, 0, 6.32, 21, -1, 6.32, 22, 0, 6.32, 22, 0, 6.32, 22, -1, 6.3, 21, -1, 6.26, 21, -2, 6.19, 21, -3, 6.2, 22, -3, 6.21, 21, -2, 6.21, 22, -4, 6.16, 21, -4, 6.09, 20, -6, 6.02, 20, -6, 5.97, 20, -5, 5.96, 21, -4, 5.95, 21, -5, 5.95, 22, -4, 5.96, 20, -7, 5.94, 19, -9, 5.94, 19, -10, 5.94, 18, -11, 5.93, 18, -10, 5.88, 19, -9, 5.88, 19, -9, 5.86, 19, -9, 5.85, 19, -9, 5.86, 19, -9, 5.87, 20, -9, 5.87, 19, -8, 5.88, 20, -8, 5.89, 19, -8, 5.9, 19, -7, 5.9, 20, -7, 5.91, 19, -6, 5.91, 19, -7, 5.92, 19, -5, 5.92, 19, -6, 5.94, 19, -5, 5.96, 19, -5, 6, 19, -4, 6.04, 19, -4, 6.09, 19, -4, 6.13, 19, -4, 6.17, 18, -3, 6.21, 19, -2, 6.25, 18, -3, 6.29, 19, -2, 6.32, 18, -1, 6.35, 19, -1, 6.38, 18, -1, 6.41, 18, -1, 6.43, 18, 0, 6.45, 18, 0, 6.48, 18, 0, 6.5, 18, 1, 6.52, 18, 1, 6.53, 18, 1, 6.55, 18, 2, 6.57, 17, 2, 6.58, 18, 2, 6.6, 18, 3, 6.61, 17, 3, 6.62, 17, 3, 6.63, 18, 4, 6.64, 17, 3, 6.65, 17, 5, 6.66, 18, 4, 6.67, 17, 5, 6.69, 17, 5, 6.72, 17, 6, 6.75, 17, 6, 6.8, 17, 6, 6.84, 17, 7, 6.88, 17, 7, 6.91, 17, 7, 6.95, 16, 7, 6.98, 17, 8, 7.01, 17, 8, 7.04, 16, 9, 7.06, 17, 8, 7.09, 16, 9, 7.11, 16, 10, 7.13, 17, 9, 7.15, 16, 10, 7.17, 16, 10, 7.19, 16, 11, 7.2, 16, 10, 7.22, 16, 12, 7.23, 16, 11, 7.24, 16, 11, 7.26, 16, 12, 7.27, 16, 13, 7.28, 16, 12, 7.29, 15, 13, 7.3, 15, 9, 7.2, 16, 2, 6.9, 17, 3, 6.66, 16, 3, 6.41, 16, -1, 6.28, 17, 0, 6.23, 19, -1, 6.23, 19, -1, 6.26, 19, -1, 6.29, 19, 0, 6.3, 20, 0, 6.31, 19, 0, 6.3, 20, -1, 6.3, 20, -1, 6.3, 20, 0, 6.3, 20, -1, 6.3, 21, 0, 6.3, 21, -1, 6.28, 21, -2, 6.24, 21, -3, 6.16, 20, -4, 6.14, 21, -6, 6.09, 20, -6, 6.03, 20, -7, 6.01, 20, -7, 6.01, 21, -7, 6.02, 21, -6, 6.02, 20, -6, 6.02, 20, -5, 6.02, 21, -5, 6.03, 20, -5, 6.03, 20, -5, 6.03, 20, -4, 6.03, 20, -3, 6.03, 20, -4, 6.04, 20, -3, 6.04, 19, -3, 6.04, 20, -2, 6.04, 20, -2, 6.04, 19, -2, 6.04, 20, -1, 6.04, 19, -1, 6.04, 20, -1, 6.05, 19, 0, 6.05, 19, 0, 6.05, 20, 0, 6.05, 19, 1, 6.05, 19, 1, 6.05, 19, 1, 6.05, 19, 2, 6.05, 19, 2, 6.05, 19, 2, 6.05, 18, 3, 6.05, 19, 3, 6.05, 19, 3, 6.05, 18, 3, 6.05, 19, 4, 6.05, 18, 5, 6.05, 19, 4, 6.05, 18, 5, 6.05, 18, 5, 6.05, 18, 6, 6.06, 19, 5, 6.06, 18, 6, 6.06, 18, 7, 6.06, 18, 7, 6.06, 17, 6, 6.1, 19, 3, 6.3, 18, -1, 6.29, 18, -4, 6.23, 17, -4, 6.19, 18, -6, 6.13, 16, -5, 6.05, 18, -6, 5.99, 17, -6, 5.98, 18, -6, 5.99, 19, -6, 5.99, 18, -6, 6, 19, -5, 6.01, 19, -5, 6.01, 19, -5, 6.02, 19, -4, 6.02, 19, -4, 6.03, 18, -4, 6.03, 19, -4, 6.03, 18, -3, 6.04, 19, -2, 6.04, 18, -3, 6.04, 19, -2, 6.05, 18, -1, 6.05, 18, -2, 6.05, 18, -1, 6.06, 18, 0, 6.06, 18, -1, 6.06, 18, 0, 6.06, 18, 0, 6.06, 18, 1, 6.07, 18, 1, 6.07, 18, 1, 6.07, 17, 2, 6.07, 18, 2, 6.07, 17, 2, 6.07, 18, 3, 6.07, 17, 3, 6.08, 18, 3, 6.08, 17, 4, 6.08, 17, 4, 6.08, 18, 4, 6.08, 17, 4, 6.08, 17, 5, 6.08, 17, 5, 6.08, 17, 6, 6.08, 17, 6, 6.08, 17, 6, 6.08, 16, 6, 6.08, 17, 7, 6.09, 17, 7, 6.09, 16, 7, 6.09, 17, 7, 6.12, 18, 6, 6.23, 19, 4, 6.37, 20, 2, 6.45, 19, 0, 6.45, 19, -1, 6.42, 19, -1, 6.36, 19, -1, 6.32, 19, 0, 6.31, 20, 0, 6.3, 21, 0, 6.3, 21, 0, 6.31, 21, 0, 6.31, 21, -1, 6.27, 21, -2, 6.27, 21, -4, 6.22, 21, -2, 6.2, 21, -2, 6.18, 21, -2, 6.16, 21, -2, 6.13, 21, -1, 6.12, 21, -1, 6.12, 21, -2, 6.13, 22, -1, 6.13, 21, 0, 6.14, 21, -1, 6.14, 22, 0, 6.14, 21, 1, 6.14, 21, 1, 6.15, 21, 1, 6.15, 20, 1, 6.15, 21, 2, 6.15, 21, 2, 6.15, 21, 2, 6.15, 20, 3, 6.16, 21, 3, 6.16, 20, 3, 6.16, 20, 4, 6.16, 21, 4, 6.16, 20, 4, 6.16, 20, 5, 6.16, 20, 4, 6.16, 20, 6, 6.16, 20, 5, 6.17, 20, 6, 6.17, 20, 6, 6.17, 20, 6, 6.22, 20, 5, 6.3, 21, 4, 6.4, 22, 2, 6.46, 21, 1, 6.47, 20, -1, 6.43, 21, 0, 6.37, 21, -2, 6.33, 21, -2, 6.3, 21, -1, 6.28, 21, 0, 6.26, 22, -2, 6.24, 21, -2, 6.25, 22, -1, 6.25, 22, -2, 6.24, 21, -2, 6.25, 22, -2, 6.25, 21, -2, 6.23, 22, -3, 6.19, 21, -3, 6.15, 21, -3, 6.16, 21, -4, 6.16, 22, -3, 6.16, 21, -5, 6.13, 21, -4, 6.12, 21, -4, 6.13, 21, -4, 6.15, 21, -4, 6.13, 21, -5, 6.13, 21, -4, 6.13, 20, -9, 6.15, 19, -8, 6.15, 20, -9, 6.16, 19, -8, 6.16, 19, -8, 6.17, 20, -7, 6.18, 19, -7, 6.18, 19, -7, 6.19, 19, -6, 6.19, 19, -6, 6.2, 19, -5, 6.2, 19, -6, 6.2, 19, -5, 6.21, 18, -4, 6.21, 19, -4, 6.21, 19, -4, 6.22, 18, -4, 6.22, 19, -3, 6.22, 18, -2, 6.22, 19, -3, 6.23, 18, -2, 6.23, 18, -2, 6.23, 18, -1, 6.24, 19, -1, 6.26, 18, -1, 6.29, 18, 0, 6.33, 18, 0, 6.38, 18, 0, 6.43, 18, 1, 6.48, 18, 1, 6.53, 18, 1, 6.58, 18, 2, 6.62, 18, 2, 6.66, 17, 2, 6.69, 18, 3, 6.73, 17, 2, 6.76, 18, 4, 6.79, 17, 3, 6.82, 18, 4, 6.84, 17, 4, 6.87, 17, 5, 6.89, 17, 5, 6.91, 17, 5, 6.93, 17, 6, 6.95, 17, 5, 6.97, 17, 6, 6.98, 17, 7, 7, 17, 7, 7.01, 16, 7, 7.03, 17, 7, 7.04, 16, 8, 7.05, 17, 8, 7.06, 16, 8, 7.07, 17, 8, 7.08, 16, 9, 7.09, 16, 9, 7.1, 17, 10, 7.11, 16, 10, 7.11, 16, 10, 7.12, 16, 10, 7.13, 15, 6, 7.01, 16, 2, 6.73, 17, 1, 6.54, 14, 1, 6.21, 15, -3, 6.11, 16, -2, 6.1, 17, -2, 6.12, 18, -3, 6.14, 18, -3, 6.17, 18, -3, 6.18, 17, -2, 6.19, 18, -1, 6.19, 18, -2, 6.18, 18, -3, 6.15, 17, -4, 6.09, 17, -5, 6.08, 18, -5, 6.1, 17, -4, 6.09, 18, -5, 6.09, 17, -3, 6.09, 18, -4, 6.09, 17, -5, 6.08, 18, -4, 6.08, 18, -5, 6.08, 18, -4, 6.08, 19, -5, 6.08, 18, -4, 6.08, 19, -5, 6.08, 19, -5, 6.08, 20, -5, 6.08, 19, -4, 6.08, 20, -5, 6.08, 20, -5, 6.09, 20, -5, 6.1, 20, -5, 6.11, 21, -4, 6.13, 21, -4, 6.14, 21, -3, 6.15, 21, -4, 6.16, 20, -3, 6.17, 21, -2, 6.18, 20, -3, 6.19, 21, -2, 6.2, 20, -1, 6.21, 20, -1, 6.21, 21, -1, 6.22, 20, -1, 6.23, 20, 0, 6.23, 20, 0, 6.24, 20, 0, 6.24, 20, 1, 6.25, 19, 1, 6.25, 20, 2, 6.26, 20, 1, 6.26, 19, 2, 6.26, 20, 3, 6.27, 19, 3, 6.27, 20, 3, 6.27, 19, 3, 6.28, 19, 4, 6.28, 19, 4, 6.28, 20, 4, 6.28, 19, 5, 6.29, 19, 5, 6.29, 19, 5, 6.29, 18, 5, 6.29, 19, 6, 6.29, 19, 7, 6.3, 19, 6, 6.3, 18, 6, 6.34, 20, 2, 6.37, 18, -1, 6.27, 19, -3, 6.21, 19, -3, 6.18, 20, -4, 6.23, 20, -3, 6.22, 20, -2, 6.22, 21, -3, 6.19, 20, -3, 6.12, 20, -5, 6.12, 21, -4, 6.13, 20, -5, 6.12, 21, -4, 6.09, 21, -5, 6.07, 20, -5, 6.07, 21, -5, 6.08, 21, -6, 6.08, 21, -5, 6.08, 21, -6, 6.05, 20, -7, 6.01, 21, -6, 6.01, 20, -7, 6, 21, -7, 6, 20, -6, 6.01, 21, -7, 6.02, 21, -6, 6.03, 21, -6, 6.04, 20, -6, 6.04, 21, -5, 6.05, 20, -6, 6.05, 21, -6, 6.05, 20, -6, 6.05, 21, -5, 6.06, 21, -7, 6.11, 21, -7, 6.21, 20, -6, 6.3, 20, -6, 6.37, 20, -6, 6.45, 19, -5, 6.51, 20, -5, 6.58, 20, -5, 6.63, 19, -4, 6.69, 20, -4, 6.74, 19, -3, 6.79, 19, -3, 6.83, 20, -3, 6.88, 19, -3, 6.92, 19, -2, 6.95, 19, -2, 6.99, 19, -1, 7.02, 18, -1, 7.05, 19, -1, 7.08, 19, -1, 7.1, 18, 0, 7.13, 19, 0, 7.15, 18, 1, 7.17, 19, 0, 7.19, 18, 2, 7.21, 18, 1, 7.23, 19, 2, 7.25, 18, 2, 7.26, 18, 2, 7.28, 18, 3, 7.28, 18, 3, 7.27, 18, 3, 7.26, 18, 4, 7.23, 17, 3, 7.2, 18, 5, 7.15, 17, 4, 7.11, 18, 5, 7.07, 17, 5, 7.04, 18, 5, 7.01)); AddData(new Array(17, 6, 6.97, 17, 6, 6.95, 18, 6, 6.92, 17, 7, 6.89, 17, 6, 6.84, 18, 5, 6.73, 17, 5, 6.6, 17, 4, 6.46, 18, 4, 6.51, 19, 4, 6.53, 19, 4, 6.57, 19, 4, 6.58, 19, 4, 6.55, 19, 5, 6.53, 20, 3, 6.54, 20, 4, 6.54, 20, 4, 6.54, 21, 5, 6.53, 21, 4, 6.52, 21, 4, 6.53, 22, 4, 6.51, 21, 3, 6.46, 21, 3, 6.41, 22, 3, 6.42, 21, 1, 6.39, 21, 1, 6.35, 22, 0, 6.34, 22, 1, 6.32, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.31, 22, -1, 6.27, 21, -1, 6.23, 22, -1, 6.26, 21, -3, 6.25, 22, -1, 6.27, 21, -1, 6.28, 22, -1, 6.3, 21, -1, 6.31, 22, 0, 6.32, 21, 0, 6.33, 21, 0, 6.33, 21, 1, 6.34, 21, 1, 6.35, 21, 1, 6.34, 21, 0, 6.31, 21, 0, 6.32, 22, 1, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 22, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 19, 0, 6.33, 20, 0, 6.33, 19, 0, 6.33, 20, 0, 6.33, 19, 0, 6.33)); StopData(); StartData(0); AddData(new Array(1586, 215, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 12, 0, 0.04, 14, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 14, 0, 0.04, 16, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.05, 19, 0, 0.07, 19, 1, 0.07, 19, 0, 0.07, 19, 0, 0.07, 19, 1, 0.07, 19, 0, 0.07, 19, 1, 0.08, 19, 1, 0.09, 19, 1, 0.11, 19, 1, 0.13, 18, 2, 0.14, 19, 2, 0.15, 18, 2, 0.16, 18, 3, 0.17, 19, 3, 0.18, 18, 3, 0.19, 18, 4, 0.19, 18, 3, 0.2, 18, 5, 0.21, 18, 4, 0.21, 18, 5, 0.22, 18, 5, 0.23, 18, 6, 0.23, 17, 6, 0.24, 18, 6, 0.24, 17, 6, 0.24, 18, 7, 0.25, 17, 7, 0.25, 18, 6, 0.18, 16, 1, 0.1, 18, 0, 0.06, 18, -1, 0.05, 18, -2, 0.05, 18, -3, 0.05, 18, 0, 0.05, 19, 0, 0.05, 18, 0, 0.05, 19, 0, 0.05, 18, 1, 0.04, 18, 1, 0.04, 19, 0, 0.04, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 18, -1, 0.04, 19, 0, 0.04, 19, 0, 0.03, 19, 0, 0.03, 19, 0, 0.03, 19, -1, 0.03, 19, 0, 0.03, 19, 0, 0.03, 19, -1, 0, 18, -2, -0.05, 19, -1, -0.08, 19, -2, -0.08, 19, -4, -0.13, 18, -4, -0.21, 17, -5, -0.25, 17, -8, -0.32, 16, -8, -0.42, 13, -11, -0.54, 13, -12, -0.68, 11, -13, -0.8, 9, -14, -0.89, 10, -14, -0.92, 10, -15, -0.91, 11, -13, -0.98, 10, -12, -1.03, 10, -12, -1.09, 10, -12, -1.16, 10, -11, -1.23, 11, -11, -1.31, 10, -10, -1.4, 10, -10, -1.49, 10, -10, -1.58, 10, -9, -1.68, 10, -9, -1.78, 10, -9, -1.89, 10, -8, -2, 10, -8, -2.11, 10, -7, -2.22, 11, -7, -2.34, 10, -7, -2.46, 10, -6, -2.58, 10, -6, -2.71, 11, -6, -2.83, 10, -5, -2.96, 11, -5, -3.09, 10, -5, -3.22, 10, -5, -3.36, 11, -4, -3.49, 10, -5, -3.62, 10, -3, -3.76, 10, -4, -3.9, 10, -3, -4.04, 10, -3, -4.18, 10, -3, -4.32, 10, -3, -4.46, 10, -2, -4.59, 9, -2, -4.71, 10, -1, -4.83, 9, -1, -4.93, 10, -1, -5.03, 9, -1, -5.13, 9, 0, -5.21, 9, 1, -5.29, 9, 0, -5.37, 9, 1, -5.44, 9, 2, -5.51, 9, 2, -5.57, 9, 2, -5.63, 9, 2, -5.68, 9, 3, -5.73, 8, 3, -5.78, 9, 4, -5.82, 9, 4, -5.87, 9, 4, -5.9, 8, 4, -5.94, 9, 5, -5.97, 9, 5, -6.01, 8, 6, -6.04, 9, 5, -6.06, 8, 7, -6.09, 9, 6, -6.11, 9, 7, -6.14, 8, 7, -6.16, 9, 7, -6.18, 8, 8, -6.2, 8, 8, -6.21, 9, 8, -6.23, 8, 9, -6.25, 9, 9, -6.26, 8, 9, -6.27, 8, 10, -6.29, 9, 9, -6.3, 8, 11, -6.31, 8, 10, -6.32, 8, 11, -6.33, 9, 11, -6.34, 8, 11, -6.35, 8, 12, -6.35, 9, 10, -6.44, 3, 2, -6.67, 7, -4, -6.61, 5, -4, -6.63, 5, -4, -6.64, 8, -5, -6.57, 6, -2, -6.57, 8, -3, -6.56, 7, -2, -6.54, 8, -2, -6.53, 7, -2, -6.52, 7, -2, -6.51, 7, -1, -6.49, 7, -1, -6.5, 7, -2, -6.52, 8, -1, -6.5, 7, -2, -6.49, 8, -2, -6.47, 8, -1, -6.45, 9, -2, -6.43, 8, -2, -6.42, 9, -2, -6.4, 10, -1, -6.4, 9, -2, -6.4, 10, -1, -6.4, 10, -2, -6.4, 10, -2, -6.41, 10, -2, -6.41, 11, -2, -6.41, 11, -1, -6.41, 11, -2, -6.41, 12, -2, -6.41, 11, -2, -6.41, 12, -2, -6.4, 13, -2, -6.39, 12, -2, -6.37, 13, -2, -6.36, 14, -1, -6.35, 13, -2, -6.34, 14, -1, -6.34, 13, -1, -6.33, 14, -2, -6.32, 14, 0, -6.31, 14, -1, -6.3, 14, -1, -6.25, 15, -2, -6.17, 14, -1, -6.1, 15, 0, -6.04, 14, -1, -5.98, 15, 0, -5.92, 14, 1, -5.87, 14, 0, -5.82, 14, 1, -5.77, 14, 2, -5.73, 15, 1, -5.69, 13, 2, -5.65, 14, 2, -5.62, 14, 3, -5.58, 14, 3, -5.55, 14, 3, -5.52, 14, 4, -5.5, 13, 4, -5.47, 14, 4, -5.45, 13, 4, -5.42, 14, 5, -5.4, 13, 5, -5.38, 14, 6, -5.37, 13, 5, -5.36, 14, 5, -5.38, 14, 5, -5.42, 15, 5, -5.49, 14, 5, -5.55, 15, 6, -5.62, 16, 6, -5.69, 15, 6, -5.78, 16, 5, -5.89, 16, 5, -6.04, 16, 3, -6.14, 17, 1, -6.22, 17, 0, -6.24, 18, 0, -6.22, 19, 0, -6.22, 18, 0, -6.23, 19, 0, -6.22, 19, 1, -6.22, 19, 0, -6.23, 19, 0, -6.23, 19, 0, -6.23, 19, 1, -6.23, 19, 0, -6.23, 19, 0, -6.23, 19, 1, -6.22, 19, 0, -6.22, 19, 1, -6.2, 19, 1, -6.19, 19, 1, -6.18, 18, 1, -6.17, 19, 2, -6.17, 18, 3, -6.16, 19, 2, -6.15, 18, 3, -6.15, 18, 3, -6.14, 18, 4, -6.14, 18, 4, -6.13, 18, 4, -6.13, 18, 4, -6.12, 18, 5, -6.12, 18, 5, -6.11, 18, 6, -6.11, 18, 4, -6.17, 18, 0, -6.18, 17, -1, -6.19, 19, -2, -6.21, 18, -3, -6.24, 17, -2, -6.35, 18, -2, -6.37, 18, -3, -6.35, 19, -3, -6.32, 18, -2, -6.3, 18, -2, -6.29, 18, -3, -6.31, 19, -2, -6.32, 18, -2, -6.36, 19, -3, -6.44, 18, -4, -6.5, 17, -6, -6.51, 17, -7, -6.54, 17, -8, -6.62, 16, -8, -6.72, 16, -8, -6.83, 15, -9, -6.83, 16, -9, -6.82, 16, -11, -6.82, 15, -11, -6.84, 15, -10, -6.83, 16, -11, -6.82, 15, -10, -6.82, 16, -9, -6.8, 15, -10, -6.78, 16, -8, -6.74, 15, -9, -6.7, 16, -8, -6.65, 15, -8, -6.6, 15, -8, -6.53, 16, -7, -6.46, 15, -6, -6.39, 16, -7, -6.31, 15, -6, -6.22, 15, -5, -6.13, 15, -5, -6.04, 16, -5, -5.94, 15, -4, -5.84, 15, -4, -5.73, 15, -4, -5.62, 15, -3, -5.51, 14, -3, -5.39, 15, -2, -5.27, 15, -2, -5.15, 14, -2, -5.03, 14, -1, -4.91, 14, -1, -4.78, 15, 0, -4.65, 13, -1, -4.52, 14, 0, -4.39, 14, 1, -4.26, 14, 0, -4.12, 13, 1, -3.99, 13, 1, -3.85, 14, 2, -3.71, 13, 1, -3.57, 13, 2, -3.43, 13, 2, -3.3, 13, 3, -3.17, 13, 2, -3.04, 13, 3, -2.9, 13, 3, -2.77, 13, 3, -2.63, 13, 4, -2.49, 14, 4, -2.36, 13, 4, -2.22, 13, 4, -2.08, 13, 5, -1.94, 13, 5, -1.82, 14, 5, -1.7, 13, 6, -1.57, 13, 6, -1.44, 14, 6, -1.31, 13, 7, -1.18, 13, 7, -1.05, 14, 7, -0.92, 13, 8, -0.79, 14, 8, -0.67, 13, 9, -0.57, 13, 8, -0.46, 13, 10, -0.37, 14, 9, -0.28, 13, 10, -0.2, 13, 11, -0.12, 13, 9, -0.11, 8, 1, -0.32, 9, -3, -0.32, 9, -4, -0.28, 9, -5, -0.27, 10, -6, -0.18, 10, -5, -0.12, 9, -4, -0.06, 10, -4, -0.01, 10, -3, 0.04, 9, -3, 0.09, 10, -3, 0.13, 10, -3, 0.18, 9, -2, 0.21, 9, -2, 0.25, 10, -1, 0.28, 9, -1, 0.32, 9, -1, 0.34, 10, 0, 0.37, 9, -1, 0.4, 9, 1, 0.42, 9, 0, 0.45, 9, 1, 0.47, 10, 1, 0.49, 9, 2, 0.5, 9, 2, 0.52, 9, 2, 0.54, 8, 2, 0.55, 9, 3, 0.57, 9, 3, 0.58, 9, 4, 0.59, 9, 3, 0.61, 9, 5, 0.62, 8, 4, 0.63, 9, 5, 0.64, 9, 4, 0.63, 9, 5, 0.6, 10, 4, 0.53, 9, 3, 0.43, 9, 3, 0.32, 10, 3, 0.29, 10, 4, 0.3, 11, 4, 0.33, 11, 4, 0.34, 11, 3, 0.32, 12, 2, 0.29, 12, 4, 0.27, 13, 3, 0.28, 13, 3, 0.28, 13, 3, 0.24, 14, 1, 0.19, 13, 2, 0.13, 15, 1, 0.14, 14, 1, 0.13, 15, 1, 0.11, 16, 1, 0.08, 15, 0, 0.05, 16, -1, 0.02, 16, 0, 0, 16, -1, -0.01, 17, -1, -0.02, 17, -2, -0.04, 17, -1, -0.06, 18, -2, -0.07, 17, -2, -0.07, 18, -3, -0.12, 18, -3, -0.15, 18, -3, -0.16, 19, -3, -0.16, 18, -3, -0.15, 19, -2, -0.13)); AddData(new Array(19, -3, -0.11, 19, -3, -0.13, 18, -4, -0.17, 17, -5, -0.21, 18, -6, -0.2, 18, -5, -0.21, 18, -4, -0.22, 18, -6, -0.26, 17, -5, -0.28, 18, -6, -0.25, 18, -7, -0.23, 18, -6, -0.23, 18, -6, -0.23, 18, -5, -0.24, 18, -6, -0.25, 17, -6, -0.3, 18, -7, -0.32, 17, -7, -0.35, 18, -7, -0.34, 17, -8, -0.34, 17, -7, -0.34, 18, -7, -0.35, 17, -7, -0.34, 18, -7, -0.35, 17, -8, -0.35, 17, -7, -0.35, 18, -7, -0.35, 17, -7, -0.35, 18, -8, -0.35, 17, -7, -0.35, 18, -7, -0.35, 17, -7, -0.34, 18, -7, -0.33, 17, -7, -0.32, 18, -7, -0.31, 18, -6, -0.29, 17, -6, -0.28, 17, -5, -0.27, 18, -5, -0.26, 17, -5, -0.25, 17, -4, -0.24, 17, -5, -0.24, 17, -3, -0.23, 17, -4, -0.22, 17, -3, -0.21, 17, -2, -0.21, 17, -3, -0.2, 17, -2, -0.2, 16, -1, -0.19, 17, -2, -0.19, 16, -1, -0.18, 17, 0, -0.18, 16, -1, -0.18, 17, 0, -0.17, 16, 1, -0.17, 16, 0, -0.17, 17, 1, -0.16, 16, 2, -0.16, 16, 1, -0.16, 16, 2, -0.15, 16, 3, -0.15, 16, 2, -0.15, 16, 3, -0.15, 16, 4, -0.15, 16, 3, -0.14, 15, 4, -0.14, 16, 4, -0.14, 16, 5, -0.14, 15, 5, -0.14, 16, 5, -0.14, 15, 6, -0.14, 16, 6, -0.14, 15, 6, -0.13, 16, 5, -0.1, 17, 6, -0.04, 17, 4, 0.04, 19, 5, 0.14, 16, 6, 0.18, 17, 6, 0.22, 17, 6, 0.26, 17, 7, 0.3, 17, 7, 0.34, 17, 7, 0.38, 17, 8, 0.41, 16, 8, 0.44, 17, 8, 0.47, 16, 8, 0.5, 17, 8, 0.48, 17, 8, 0.44, 18, 6, 0.44, 18, 5, 0.4, 17, 7, 0.42, 18, 7, 0.43, 18, 8, 0.43, 17, 7, 0.44, 17, 8, 0.45, 17, 7, 0.45, 17, 9, 0.46, 16, 8, 0.46, 17, 9, 0.46, 16, 9, 0.46, 17, 9, 0.47, 16, 9, 0.47, 16, 10, 0.47, 16, 10, 0.45, 17, 7, 0.45, 18, 7, 0.45, 17, 6, 0.42, 18, 6, 0.36, 18, 6, 0.31, 18, 5, 0.31, 19, 5, 0.32, 18, 5, 0.32, 18, 5, 0.31, 19, 4, 0.27, 18, 5, 0.24, 19, 3, 0.25, 18, 4, 0.25, 19, 3, 0.23, 19, 3, 0.18, 18, 1, 0.11, 19, 2, 0.12, 19, 0, 0.15, 19, 2, 0.13, 18, 1, 0.1, 19, 0, 0.05, 19, 1, 0.04, 19, -1, 0.05, 19, 0, 0.05, 19, 1, 0.04, 19, -1, 0.04, 19, 0, 0.03, 19, 0, 0.03, 19, 0, 0.03, 19, 0, 0.03, 19, -1, 0.03, 19, 0, 0.03, 19, 0, 0.03, 19, 0, 0.03, 18, -1, 0, 19, -2, -0.06, 18, -2, -0.08, 19, -2, -0.08, 19, -3, -0.07, 19, -2, -0.07, 19, -3, -0.09, 18, -3, -0.13, 18, -3, -0.18, 19, -5, -0.17, 18, -4, -0.17, 19, -4, -0.17, 18, -4, -0.17, 18, -5, -0.22, 18, -6, -0.3, 17, -6, -0.4, 15, -8, -0.44, 16, -9, -0.45, 17, -9, -0.43, 17, -8, -0.41, 17, -8, -0.41, 17, -8, -0.4, 16, -8, -0.4, 17, -7, -0.4, 17, -8, -0.39, 17, -8, -0.38, 17, -8, -0.37, 18, -7, -0.36, 17, -7, -0.35, 17, -7, -0.34, 17, -6, -0.33, 17, -6, -0.32, 17, -5, -0.32, 17, -6, -0.31, 17, -4, -0.3, 16, -5, -0.3, 17, -4, -0.29, 17, -4, -0.29, 16, -3, -0.28, 17, -3, -0.28, 16, -3, -0.27, 17, -2, -0.27, 16, -3, -0.26, 16, -1, -0.26, 16, -2, -0.26, 17, -1, -0.25, 16, 0, -0.25, 16, -1, -0.25, 16, 0, -0.25, 16, 0, -0.24, 16, 1, -0.23, 16, 1, -0.21, 16, 1, -0.18, 15, 2, -0.15, 16, 2, -0.12, 16, 2, -0.1, 16, 3, -0.07, 15, 3, -0.05, 16, 3, -0.03, 15, 4, -0.01, 16, 3, 0.01, 15, 5, 0.02, 16, 4, 0.04, 15, 5, 0.05, 15, 5, 0.07, 15, 6, 0.08, 15, 5, 0.09, 15, 7, 0.11, 15, 6, 0.12, 15, 7, 0.13, 15, 7, 0.15, 15, 7, 0.17, 15, 8, 0.21, 15, 8, 0.26, 15, 8, 0.3, 15, 9, 0.34, 15, 9, 0.38, 14, 9, 0.41, 15, 10, 0.44, 15, 9, 0.44, 15, 8, 0.43, 17, 5, 0.41, 17, 6, 0.4, 17, 5, 0.39, 18, 6, 0.37, 17, 6, 0.37, 18, 6, 0.38, 18, 6, 0.38, 18, 6, 0.37, 18, 6, 0.36, 18, 6, 0.36, 18, 6, 0.36, 18, 5, 0.32, 18, 4, 0.27, 19, 5, 0.26, 19, 4, 0.29, 18, 4, 0.28, 19, 4, 0.23, 18, 2, 0.18, 18, 1, 0.12, 19, 0, 0.1, 19, 1, 0.07, 19, 1, 0.04, 19, -1, 0.06, 19, 0, 0.06, 19, 0, 0.03, 18, 0, 0.02, 19, -1, 0.02, 19, -1, 0.04, 19, 0, 0.04, 19, -1, 0.04, 19, 0, 0.03, 19, 0, 0.01, 19, -1, 0.01, 19, 0, 0.01, 19, -1, 0.01, 19, -2, -0.03, 18, -2, -0.09, 18, -3, -0.14, 18, -5, -0.17, 18, -5, -0.21, 18, -4, -0.26, 18, -7, -0.27, 15, -11, -0.27, 14, -11, -0.29, 14, -10, -0.32, 15, -10, -0.35, 14, -9, -0.4, 14, -10, -0.45, 15, -8, -0.51, 14, -9, -0.57, 14, -8, -0.64, 14, -8, -0.71, 13, -7, -0.77, 14, -7, -0.83, 14, -6, -0.88, 14, -7, -0.92, 14, -5, -0.95, 14, -6, -0.97, 14, -5, -0.97, 14, -5, -0.97, 14, -5, -0.95, 14, -4, -0.92, 14, -4, -0.89, 14, -4, -0.85, 13, -3, -0.81, 14, -3, -0.77, 14, -3, -0.73, 14, -2, -0.7, 13, -2, -0.67, 14, -2, -0.64, 13, -1, -0.62, 14, -1, -0.59, 13, 0, -0.57, 13, 0, -0.55, 14, 0, -0.53, 13, 0, -0.51, 13, 1, -0.49, 13, 1, -0.47, 14, 2, -0.46, 13, 1, -0.44, 13, 3, -0.43, 13, 2, -0.42, 13, 3, -0.4, 12, 3, -0.39, 13, 3, -0.38, 13, 4, -0.37, 13, 4, -0.36, 12, 5, -0.35, 13, 4, -0.35, 13, 5, -0.34, 12, 6, -0.34, 13, 5, -0.36, 12, 6, -0.38, 12, 7, -0.41, 12, 6, -0.45, 12, 7, -0.5, 12, 8, -0.55, 12, 7, -0.61, 12, 8, -0.68, 12, 8, -0.75, 12, 9, -0.81, 12, 9, -0.86, 12, 9, -0.91, 12, 10, -0.96, 11, 9, -1.01, 12, 11, -1.05, 14, 10, -1.19, 12, 0, -0.96, 14, -1, -0.78, 12, -2, -0.62, 11, -2, -0.52, 15, -2, -0.31, 13, -1, -0.18, 14, -2, -0.16, 13, -4, -0.18, 13, -4, -0.19, 12, -5, -0.24, 13, -5, -0.24, 13, -4, -0.23, 13, -6, -0.14, 14, -5, -0.05, 13, -5, 0.01, 13, -5, 0.05, 13, -4, 0.09, 13, -4, 0.11, 13, -4, 0.12, 13, -4, 0.12, 12, -3, 0.11, 13, -2, 0.09, 12, -3, 0.06, 13, -2, 0.02, 12, -2, -0.03, 12, -1, -0.08, 12, -1, -0.14, 12, -1, -0.21, 12, 0, -0.28, 12, 0, -0.36, 12, 0, -0.44, 12, 1, -0.52, 12, 1, -0.59, 12, 1, -0.66, 12, 2, -0.72, 12, 1, -0.76, 13, -1, -0.77, 13, 0, -0.75, 13, -2, -0.71, 14, -2, -0.66, 13, -1, -0.65, 15, -2, -0.63, 14, -1, -0.62, 14, 0, -0.61, 14, 0, -0.62, 14, 0, -0.64, 13, 0, -0.66, 14, 1, -0.7, 14, 1, -0.74, 13, 2, -0.79, 14, 2, -0.85, 13, 2, -0.91, 13, 2, -0.97, 14, 3, -1.03, 13, 4, -1.08, 13, 3, -1.13, 14, 4, -1.18, 13, 4, -1.21, 13, 5, -1.23, 13, 4, -1.24, 14, 5, -1.23, 13, 5, -1.22, 13, 6, -1.2, 13, 6, -1.17, 13, 6, -1.14, 13, 6, -1.11, 14, 7, -1.09, 13, 7, -1.09, 14, 4, -1.04, 14, 1, -0.95, 14, 1, -0.86, 14, 0, -0.75, 15, -1, -0.62, 15, -1, -0.47, 15, -2, -0.31, 15, 0, -0.21, 15, 0, -0.1, 14, 0, 0, 15, 1, 0.09, 14, 1, 0.18, 15, 1, 0.25, 14, 1, 0.31, 14, 2, 0.35, 14, 3, 0.38, 14, 2, 0.39, 14, 3, 0.4, 13, 2, 0.36, 14, 1, 0.26, 13, 0, 0.11, 13, 0, -0.07, 14, -2, -0.11, 14, -1, -0.13, 15, -2, -0.13, 15, -3, -0.12, 15, -2, -0.14, 16, -1, -0.16, 16, -2, -0.18, 16, -1, -0.2, 17, -2, -0.21, 16, -1, -0.24, 17, -1, -0.28, 17, -1, -0.32, 16, 0, -0.37, 17, 0, -0.41, 17, 1, -0.44, 16, 0, -0.48, 17, 1, -0.51, 16, 2, -0.54, 16, 1, -0.56, 17, 1, -0.55, 17, 1, -0.54, 16, 2, -0.54, 17, 2, -0.53, 16, 2, -0.53, 17, 2, -0.52, 16, 3, -0.52, 17, 3, -0.52, 16, 4, -0.52, 16, 4, -0.51, 16, 4, -0.51, 17, 4, -0.51, 16, 5, -0.52, 16, 5, -0.53, 16, 4, -0.54, 17, 4, -0.51, 16, 3, -0.48, 17, 2, -0.44, 18, 3, -0.39, 18, 1, -0.34, 18, 2, -0.28, 18, 2, -0.27, 19, 2, -0.24, 19, 2, -0.19, 19, 2, -0.15, 19, 2, -0.1, 19, 2, -0.06, 19, 2, 0, 19, 1, 0.05, 18, -1, 0.06, 19, -1, 0.04, 18, -3, -0.01, 18, -2, -0.05, 19, -2, -0.06, 19, -1, -0.07, 18, -2, -0.08, 19, -2, -0.09, 19, -2, -0.1, 19, -1, -0.1, 19, -2, -0.1, 19, -2, -0.1, 18, -3, -0.12, 19, -3, -0.11, 18, -3, -0.13, 19, -3, -0.13, 19, -4, -0.13, 18, -3, -0.16, 19, -4, -0.16, 18, -4, -0.16, 19, -4, -0.16, 18, -3, -0.16, 19, -5, -0.12, 18, -4, -0.08, 18, -4, -0.07, 18, -3, -0.07, 18, -3, -0.08, 18, -3, -0.1, 17, -2, -0.13, 18, -2, -0.17, 17, -2, -0.22, 17, -2, -0.27, 18, -1, -0.32, 17, 0, -0.36, 17, -1, -0.41)); AddData(new Array(18, 0, -0.42, 18, -2, -0.41, 18, -1, -0.4, 19, -1, -0.39, 19, -1, -0.39, 18, -1, -0.38, 19, 0, -0.38, 18, 0, -0.37, 18, 1, -0.37, 18, 1, -0.37, 19, 1, -0.36, 18, 1, -0.36, 18, 2, -0.36, 18, 1, -0.32, 19, 1, -0.28, 19, 1, -0.25, 19, 1, -0.24, 18, 2, -0.24, 19, 2, -0.25, 18, 2, -0.27, 18, 2, -0.3, 18, 3, -0.32, 18, 3, -0.34, 18, 3, -0.36, 18, 4, -0.39, 17, 4, -0.42, 18, 4, -0.46, 17, 5, -0.51, 17, 5, -0.55, 17, 5, -0.6, 17, 5, -0.65, 16, 6, -0.7, 17, 6, -0.75, 17, 5, -0.78, 17, 4, -0.79, 18, 4, -0.79, 18, 2, -0.73, 19, 1, -0.66, 18, 0, -0.59, 19, 0, -0.51, 18, 1, -0.48, 19, 1, -0.47, 18, 1, -0.45, 19, 0, -0.42, 19, 0, -0.39, 19, 0, -0.36, 19, 0, -0.34, 19, -1, -0.32, 19, 0, -0.3, 19, 0, -0.29, 19, -1, -0.28, 19, -1, -0.27, 19, 0, -0.27, 19, -1, -0.25, 18, -2, -0.22, 20, -1, -0.19, 19, -2, -0.15, 18, -2, -0.13, 19, -1, -0.1, 19, -2, -0.1, 19, -3, -0.14, 17, -4, -0.21, 17, -5, -0.26, 18, -5, -0.25, 18, -5, -0.25, 18, -5, -0.25, 19, -5, -0.26, 18, -5, -0.27, 18, -5, -0.28, 18, -5, -0.29, 19, -4, -0.29, 18, -5, -0.28, 19, -4, -0.27, 18, -4, -0.26, 19, -4, -0.24, 18, -4, -0.21, 19, -4, -0.19, 18, -4, -0.19, 18, -6, -0.22, 18, -6, -0.27, 18, -5, -0.3, 18, -5, -0.32, 18, -5, -0.32, 17, -4, -0.32, 18, -4, -0.33, 18, -4, -0.33, 17, -3, -0.33, 18, -3, -0.34, 18, -3, -0.34, 17, -2, -0.34, 17, -2, -0.34, 18, -2, -0.35, 17, -1, -0.35, 17, -1, -0.35, 17, -1, -0.35, 18, 0, -0.34, 17, 0, -0.32, 17, 1, -0.3, 17, 0, -0.26, 17, 1, -0.22, 17, 2, -0.18, 17, 2, -0.14, 17, 2, -0.1, 17, 2, -0.07, 17, 3, -0.03, 16, 3, -0.01, 17, 3, 0.02, 16, 4, 0.05, 17, 4, 0.07, 16, 4, 0.1, 17, 5, 0.12, 16, 5, 0.14, 16, 5, 0.15, 16, 6, 0.17, 17, 6, 0.19, 16, 6, 0.2, 16, 6, 0.22, 16, 7, 0.23, 16, 7, 0.21, 16, 2, 0.16, 15, -1, 0.15, 17, -1, 0.18, 18, -3, 0.2, 18, -3, 0.2, 17, -1, 0.15, 17, -1, 0.1, 18, -1, 0.06, 17, -1, 0.02, 18, 0, -0.01, 17, 0, -0.05, 18, -2, -0.09, 17, -3, -0.13, 18, -4, -0.15, 18, -4, -0.17, 18, -4, -0.17, 18, -3, -0.17, 19, -4, -0.16, 18, -4, -0.19, 18, -5, -0.21, 19, -4, -0.21, 18, -5, -0.2, 18, -4, -0.2, 19, -5, -0.2, 18, -5, -0.22, 17, -6, -0.26, 19, -5, -0.28, 17, -6, -0.25, 18, -7, -0.24, 18, -6, -0.23, 18, -6, -0.23, 18, -5, -0.23, 18, -5, -0.23, 18, -5, -0.23, 17, -4, -0.24, 18, -6, -0.24, 18, -5, -0.24, 18, -5, -0.23, 19, -5, -0.23, 18, -5, -0.23, 18, -5, -0.23, 18, -5, -0.22, 19, -5, -0.2, 18, -4, -0.19, 18, -4, -0.18, 18, -4, -0.17, 18, -3, -0.17, 18, -3, -0.16, 18, -3, -0.15, 18, -2, -0.14, 17, -2, -0.14, 18, -2, -0.13, 18, -1, -0.12, 17, -1, -0.12, 18, -1, -0.11, 17, 0, -0.11, 18, 0, -0.11, 17, 0, -0.1, 17, 1, -0.1, 17, 1, -0.09, 17, 1, -0.09, 17, 2, -0.09, 18, 2, -0.08, 16, 2, -0.08, 17, 3, -0.05, 18, 1, 0.01, 18, 1, 0.08, 18, 0, 0.09, 18, -1, 0.07, 19, 0, 0.08, 18, 1, 0.1, 19, 1, 0.11, 19, 1, 0.13, 18, 1, 0.14, 18, 2, 0.16, 19, 2, 0.17, 18, 3, 0.18, 18, 3, 0.19, 18, 2, 0.17, 19, 3, 0.16, 18, 2, 0.16, 19, 2, 0.17, 19, 3, 0.17, 19, 2, 0.17, 19, 2, 0.17, 19, 3, 0.17, 19, 2, 0.17, 19, 2, 0.17, 18, 3, 0.18, 19, 3, 0.19, 19, 2, 0.21, 19, 4, 0.22, 18, 3, 0.24, 19, 4, 0.25, 18, 4, 0.26, 18, 4, 0.26, 18, 5, 0.27, 18, 5, 0.28, 18, 5, 0.27, 18, 4, 0.22, 18, 4, 0.22, 19, 3, 0.23, 19, 4, 0.23, 18, 4, 0.24, 19, 3, 0.21, 18, 2, 0.16, 19, 2, 0.17, 19, 2, 0.13, 19, 1, 0.09, 19, 0, 0.07, 18, 0, 0.06, 19, 1, 0.04, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 1, 0.05, 19, -1, 0.02, 18, -2, -0.03, 19, -1, -0.04, 19, -2, -0.04, 19, -2, -0.05, 18, -1, -0.07, 19, -1, -0.08, 18, -1, -0.09, 18, -1, -0.1, 18, 0, -0.11, 19, 0, -0.12, 18, 0, -0.11, 18, 0, -0.09, 19, 1, -0.08, 18, 1, -0.06, 19, 0, -0.03, 19, 1, 0, 18, 1, 0.04, 19, 1, 0.06, 19, 0, 0.06, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, -1, 0.02, 19, 0, 0.01, 19, 0, 0.01, 19, 0, 0.01, 19, 0, 0.02, 19, 0, 0.03, 19, 1, 0.05, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 17, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 18, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 18, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05)); StopData(); StartData(1); AddData(new Array(902, 767, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.05, 7, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 9, 0, 0.05, 11, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 12, 0, 0.05, 14, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, -1, 0.02, 17, 0, 0.01, 18, -1, 0, 18, 0, 0.01, 18, 0, 0.02, 19, 1, 0.03, 19, -1, 0.03, 18, -1, -0.01, 19, -1, 0, 20, 0, 0, 19, -1, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 20, -1, 0, 21, -1, 0, 20, 0, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 20, 0, 0, 21, -1, 0, 20, -1, 0, 20, -1, 0, 21, -1, -0.01, 20, -1, -0.02, 20, -2, -0.01, 21, -1, -0.02, 20, -1, -0.02, 20, -1, -0.02, 21, -2, -0.02, 20, -1, -0.02, 20, -1, -0.02, 21, -1, -0.02, 20, -2, -0.02, 20, -1, -0.02, 21, -1, -0.02, 20, -1, -0.02, 20, -2, -0.02, 20, -1, -0.02, 21, -1, -0.02, 20, -1, -0.02, 20, -2, -0.02, 21, -1, -0.02, 20, -1, -0.02, 20, -2, -0.04, 20, -1, -0.05, 20, -3, -0.06, 21, -2, -0.05, 20, -2, -0.06, 20, -2, -0.06, 20, -2, -0.06, 21, -2, -0.06, 20, -2, -0.06, 20, -2, -0.06, 20, -2, -0.06, 21, -2, -0.06, 20, -3, -0.06, 20, -2, -0.06, 20, -2, -0.06, 21, -2, -0.06, 20, -2, -0.06, 20, -2, -0.07, 20, -3, -0.08, 20, -2, -0.09, 20, -3, -0.09, 21, -3, -0.09, 20, -3, -0.1, 20, -2, -0.1, 20, -3, -0.1, 20, -3, -0.1, 20, -3, -0.1, 20, -3, -0.1, 21, -2, -0.1, 20, -3, -0.1, 20, -3, -0.1, 20, -3, -0.11, 20, -3, -0.13, 20, -4, -0.15, 20, -3, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -3, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -3, -0.15, 19, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -3, -0.13, 20, -4, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 21, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.13, 20, -5, -0.17, 19, -4, -0.2, 20, -5, -0.19, 20, -4, -0.19, 20, -5, -0.19, 19, -5, -0.19, 20, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 19, -5, -0.19, 20, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 19, -5, -0.19, 20, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 19, -5, -0.19, 20, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 19, -5, -0.2, 19, -6, -0.25, 19, -6, -0.29, 20, -5, -0.31, 19, -5, -0.32, 20, -6, -0.33, 20, -5, -0.33, 19, -5, -0.33, 20, -4, -0.32, 20, -5, -0.3, 20, -5, -0.28, 20, -4, -0.26, 20, -4, -0.23, 20, -5, -0.2, 19, -5, -0.21, 20, -5, -0.22, 20, -5, -0.21, 19, -6, -0.24, 19, -5, -0.26, 20, -6, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -7, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -6, -0.27, 19, -6, -0.27, 19, -7, -0.27, 20, -6, -0.27, 19, -6, -0.27, 19, -6, -0.27, 20, -6, -0.27, 19, -7, -0.27, 19, -6, -0.27, 20, -6, -0.27, 19, -6, -0.27, 19, -6, -0.27, 20, -7, -0.27, 19, -6, -0.27, 19, -6, -0.27, 20, -6, -0.27, 19, -7, -0.26, 19, -5, -0.25, 20, -6, -0.24, 19, -6, -0.22, 19, -5, -0.2, 19, -4, -0.19, 19, -5, -0.19, 19, -5, -0.21, 20, -5, -0.22, 19, -5, -0.21, 20, -5, -0.21, 20, -5, -0.21, 19, -6, -0.21, 20, -5, -0.21, 19, -5, -0.23, 20, -6, -0.24, 19, -5, -0.25, 20, -5, -0.26, 19, -5, -0.26, 20, -4, -0.27, 19, -4, -0.28, 19, -3, -0.28, 19, -4, -0.29, 19, -2, -0.29, 19, -3, -0.29, 19, -2, -0.3, 19, -2, -0.3, 18, -1, -0.31, 19, -2, -0.31, 19, 0, -0.31, 18, -1, -0.31, 19, 0, -0.32, 18, 0, -0.32, 19, 1, -0.32, 18, 1, -0.32, 18, 1, -0.33, 19, 1, -0.29, 18, 0, -0.24, 20, 0, -0.16, 19, 0, -0.09, 20, 0, -0.03, 19, 1, 0.03, 20, 1, 0.07, 19, 0, 0.06, 20, -1, 0.04, 19, 0, 0.03, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.05, 20, 0, 0.06, 20, 0, 0.07, 21, 1, 0.06, 20, 0, 0.06, 20, 1, 0.06, 21, 0, 0.06, 20, 0, 0.06, 21, 1, 0.06, 20, 0, 0.06, 20, 1, 0.06, 21, 0, 0.06, 20, 0, 0.06, 20, 1, 0.06, 21, 0, 0.06, 19, -5, 0.08, 20, -4, 0.08, 19, -5, 0.08, 20, -3, 0.09, 19, -4, 0.09, 19, -3, 0.1, 20, -3, 0.1, 19, -2, 0.1, 19, -2, 0.11, 19, -2, 0.11, 19, -2, 0.11, 19, -1, 0.11, 18, -1, 0.12, 19, 0, 0.12, 19, 0, 0.12, 18, 0, 0.12, 19, 1, 0.13, 19, 0, 0.13, 18, 2, 0.13, 18, 1, 0.13, 19, 2, 0.13, 18, 2, 0.13, 18, 3, 0.14, 18, 3, 0.14, 18, 3, 0.14, 18, 3, 0.14, 18, 4, 0.14, 18, 4, 0.14, 18, 5, 0.14, 18, 4, 0.14, 18, 6, 0.14, 17, 5, 0.14, 18, 6, 0.14, 17, 6, 0.14, 18, 6, 0.15, 17, 7, 0.15, 18, 4, 0.13, 19, 2, 0.13, 18, 1, 0.12, 19, 1, 0.11, 20, -1, 0.1, 19, -1, 0.1, 20, 1, 0.1, 20, 1, 0.09, 20, 2, 0.09, 19, 1, 0.09, 20, 2, 0.08, 20, 3, 0.08, 19, 2, 0.08, 19, 3, 0.08, 20, 4, 0.07, 19, 4, 0.07, 19, 4, 0.07, 19, 4, 0.07, 20, 4, 0.09, 19, 4, 0.14, 20, 4, 0.18, 19, 5, 0.22, 20, 3, 0.22, 20, 3, 0.2, 20, 3, 0.2, 20, 3, 0.19, 20, 3, 0.2, 20, 4, 0.2, 20, 3, 0.2, 21, 3, 0.2, 20, 3, 0.2, 20, 4, 0.21, 20, 3, 0.25, 21, 3, 0.31, 19, 3, 0.36, 20, 4, 0.41, 20, 3, 0.45, 19, 4, 0.47, 20, 4, 0.48, 20, 4, 0.49, 19, 5, 0.48, 20, 4, 0.47, 20, 5, 0.44, 20, 5, 0.41, 19, 4, 0.38, 20, 6, 0.33, 20, 5, 0.29, 19, 5, 0.24, 20, 4, 0.24, 20, 4, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 5, 0.25, 20, 4, 0.26, 20, 5, 0.27, 20, 5, 0.29, 19, 5, 0.3, 20, 5, 0.31, 19, 6, 0.31, 19, 6, 0.32, 19, 6, 0.33, 19, 7, 0.33, 19, 7, 0.34, 19, 7, 0.34, 18, 7, 0.35, 19, 8, 0.35, 18, 8, 0.35, 18, 8, 0.35, 19, 8, 0.4, 19, 6, 0.4, 19, 6, 0.37, 20, 7, 0.38, 19, 7, 0.39, 19, 7, 0.4, 19, 7, 0.4, 18, 8, 0.41, 19, 8, 0.41, 18, 8, 0.42, 18, 8, 0.42, 18, 9, 0.43, 18, 9, 0.43, 18, 9, 0.43, 18, 10, 0.43, 17, 10, 0.44, 18, 10, 0.44, 17, 10, 0.46, 19, 8, 0.48, 19, 8, 0.45, 18, 9, 0.46, 19, 8, 0.46, 18, 9, 0.48, 19, 9, 0.49, 18, 9, 0.51, 18, 10, 0.52, 17, 9, 0.53, 18, 10, 0.54, 17, 10, 0.55, 17, 11, 0.55, 17, 10, 0.56, 17, 11, 0.56, 17, 11, 0.57, 17, 11, 0.57, 16, 12, 0.56, 18, 9, 0.57, 18, 10, 0.55, 18, 10, 0.55, 18, 10, 0.55, 18, 10, 0.56, 17, 10, 0.56, 18, 10, 0.56, 18, 10, 0.56, 18, 11, 0.56, 18, 10, 0.56, 18, 10, 0.56, 17, 10, 0.55, 18, 10, 0.54, 19, 8, 0.6, 19, 9, 0.67, 18, 9, 0.7, 19, 9, 0.72, 18, 10, 0.74, 18, 10, 0.74, 18, 9, 0.74, 18, 10, 0.73, 17, 11, 0.71, 18, 10, 0.68, 18, 10, 0.65, 17, 10, 0.61, 17, 11, 0.57, 18, 10, 0.53, 18, 10, 0.54, 18, 9, 0.51, 18, 9, 0.49, 19, 9, 0.5, 18, 9, 0.5, 19, 9, 0.5, 18, 9, 0.49, 19, 9, 0.49, 18, 9, 0.49, 18, 9, 0.49, 19, 8, 0.49, 20, 4, 0.49, 20, 4, 0.47, 19, 4, 0.45, 19, 5, 0.42, 19, 4, 0.39, 19, 5, 0.35, 19, 6, 0.32, 19, 6, 0.29, 19, 6, 0.27, 19, 6, 0.24, 19, 7, 0.22, 18, 7, 0.2, 19, 7, 0.18, 18, 7, 0.16, 18, 8, 0.15, 18, 8, 0.14, 18, 9, 0.12, 18, 9, 0.12)); AddData(new Array(18, 9, 0.11, 18, 9, 0.1, 18, 9, 0.09, 17, 10, 0.07, 17, 10, 0.04, 17, 10, 0.01, 17, 11, -0.02, 17, 10, -0.05, 16, 11, -0.07, 17, 10, -0.05, 19, 9, 0.03, 18, 8, 0.12, 19, 8, 0.22, 20, 8, 0.32, 18, 8, 0.39, 19, 9, 0.43, 19, 7, 0.43, 19, 6, 0.4, 19, 6, 0.38, 19, 6, 0.37, 20, 7, 0.36, 19, 7, 0.35, 19, 7, 0.35, 19, 6, 0.34, 20, 7, 0.34, 19, 7, 0.34, 19, 7, 0.34, 20, 7, 0.34, 19, 7, 0.34, 19, 6, 0.32, 20, 6, 0.25, 19, 2, 0.22, 20, 2, 0.2, 20, 3, 0.21, 20, 3, 0.18, 19, 3, 0.17, 20, 4, 0.16, 21, 3, 0.16, 20, 3, 0.15, 20, 3, 0.15, 20, 4, 0.16, 20, 4, 0.17, 20, 4, 0.19, 20, 2, 0.17, 20, 2, 0.14, 21, 0, 0.13, 20, 2, 0.13, 20, 2, 0.13, 20, 2, 0.13, 20, 1, 0.12, 21, 2, 0.12, 20, 1, 0.11, 20, 0, 0.07, 20, 1, 0.03, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, -6, 0.06, 19, -5, 0.04, 20, -4, 0.03, 19, -5, 0.01, 19, -3, -0.03, 19, -4, -0.07, 19, -3, -0.11, 18, -3, -0.16, 19, -3, -0.2, 19, -2, -0.24, 19, -2, -0.28, 18, -1, -0.31, 19, -1, -0.34, 18, -1, -0.37, 19, -1, -0.4, 18, 0, -0.43, 19, 0, -0.45, 18, 1, -0.48, 18, 1, -0.5, 18, 1, -0.52, 18, 2, -0.54, 19, 1, -0.55, 18, 3, -0.56, 18, 2, -0.56, 18, 3, -0.54, 18, 3, -0.53, 18, 3, -0.52, 18, 3, -0.48, 18, 1, -0.37, 19, 1, -0.22, 20, 0, -0.06, 19, -2, 0, 19, -2, 0.01, 19, -3, -0.02, 19, -2, -0.05, 20, -2, -0.06, 20, -2, -0.05, 20, -1, -0.05, 19, -2, -0.05, 20, -2, -0.06, 20, -3, -0.1, 20, -3, -0.14, 19, -3, -0.13, 20, -4, -0.13, 20, -4, -0.13, 20, -3, -0.13, 21, -4, -0.13, 20, -3, -0.13, 20, -4, -0.13, 20, -3, -0.13, 20, -4, -0.13, 20, -3, -0.13, 20, -4, -0.13, 20, -3, -0.13, 20, -4, -0.13, 20, -3, -0.13, 20, -4, -0.13, 20, -3, -0.13, 20, -4, -0.13, 20, -3, -0.13, 20, -4, -0.13, 20, -3, -0.13, 20, -4, -0.14, 19, -5, -0.18, 20, -4, -0.2, 20, -5, -0.19, 20, -4, -0.19, 19, -5, -0.19, 20, -5, -0.19, 20, -4, -0.19, 20, -5, -0.19, 19, -5, -0.19, 20, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 19, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 20, -4, -0.19, 19, -6, -0.2, 20, -5, -0.25, 19, -6, -0.3, 18, -7, -0.29, 20, -7, -0.28, 19, -6, -0.27, 19, -6, -0.28, 19, -7, -0.28, 19, -7, -0.28, 19, -6, -0.29, 19, -7, -0.29, 19, -7, -0.29, 19, -7, -0.32, 19, -7, -0.34, 19, -8, -0.34, 19, -7, -0.34, 18, -8, -0.34, 19, -8, -0.34, 19, -7, -0.34, 19, -8, -0.34, 19, -8, -0.34, 18, -7, -0.34, 19, -8, -0.34, 19, -7, -0.34, 19, -8, -0.34, 18, -8, -0.34, 19, -7, -0.34, 19, -8, -0.34, 19, -7, -0.33, 19, -8, -0.33, 19, -7, -0.33, 18, -8, -0.33, 19, -7, -0.33, 19, -8, -0.33, 19, -7, -0.33, 19, -7, -0.33, 19, -8, -0.33, 19, -7, -0.33, 19, -8, -0.33, 18, -7, -0.33, 19, -7, -0.33, 19, -8, -0.33, 19, -7, -0.33, 19, -8, -0.33, 19, -7, -0.33, 19, -7, -0.33, 19, -8, -0.32, 19, -7, -0.31, 19, -7, -0.31, 19, -7, -0.31, 19, -7, -0.31, 19, -7, -0.31, 19, -7, -0.31, 19, -8, -0.31, 19, -7, -0.31, 19, -7, -0.31, 19, -7, -0.31, 19, -7, -0.3, 19, -6, -0.29, 19, -7, -0.29, 19, -7, -0.29, 19, -6, -0.29, 19, -7, -0.29, 20, -7, -0.29, 19, -6, -0.29, 19, -7, -0.29, 19, -7, -0.29, 19, -7, -0.29, 19, -6, -0.29, 19, -7, -0.29, 20, -7, -0.29, 19, -6, -0.29, 19, -7, -0.29, 19, -6, -0.28, 19, -7, -0.25, 20, -7, -0.19, 19, -7, -0.14, 18, -6, -0.1, 19, -6, -0.06, 19, -5, -0.02, 18, -5, 0.01, 19, -5, 0.03, 18, -5, 0.03, 19, -5, 0.03, 18, -5, 0.01, 19, -5, -0.02, 19, -5, -0.05, 20, -4, -0.08, 19, -4, -0.11, 19, -3, -0.14, 20, -3, -0.17, 19, -3, -0.19, 19, -3, -0.19, 19, -3, -0.17, 20, -4, -0.14, 20, -3, -0.14, 19, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -4, -0.15, 20, -4, -0.14, 20, -4, -0.1, 20, -5, -0.01, 20, -4, 0.05, 19, -3, 0.12, 19, -4, 0.17, 19, -3, 0.23, 19, -2, 0.28, 19, -3, 0.33, 19, -2, 0.37, 19, -1, 0.41, 19, -2, 0.44, 19, -2, 0.44, 19, -2, 0.41, 19, -2, 0.38, 19, -2, 0.36, 19, -1, 0.34, 19, 0, 0.32, 19, -1, 0.3, 19, 0, 0.28, 19, 0, 0.26, 19, 1, 0.25, 19, 1, 0.23, 19, 1, 0.22, 18, 2, 0.21, 19, 2, 0.2, 19, 2, 0.18, 19, 2, 0.14, 18, 1, 0.06, 19, 1, 0.01, 20, -1, 0.02, 21, 0, 0.06, 20, 0, 0.06, 20, 1, 0.08, 20, 0, 0.08, 20, 2, 0.09, 20, 1, 0.1, 20, 2, 0.11, 19, 2, 0.11, 20, 2, 0.12, 20, 3, 0.13, 19, 3, 0.13, 20, 2, 0.15, 20, 1, 0.14, 20, 2, 0.14, 21, 2, 0.12, 20, 1, 0.12, 20, 2, 0.13, 21, 2, 0.13, 20, 2, 0.15, 20, 2, 0.16, 20, 3, 0.16, 20, 3, 0.15, 19, 3, 0.13, 20, 3, 0.1, 19, 4, 0.07, 19, 4, 0.02, 19, 5, -0.01, 20, 3, -0.02, 20, 4, 0.01, 20, 4, 0.02, 20, 4, 0.02, 20, 5, 0.04, 20, 4, 0.06, 20, 4, 0.08, 20, 5, 0.11, 20, 5, 0.14, 20, 5, 0.18, 19, 5, 0.23, 19, 6, 0.27, 19, 6, 0.3, 19, 6, 0.34, 19, 7, 0.37, 19, 7, 0.4, 19, 7, 0.43, 18, 7, 0.45, 19, 8, 0.47, 18, 8, 0.49, 18, 8, 0.51, 19, 8, 0.49, 19, 6, 0.4, 19, 5, 0.33, 19, 4, 0.3, 20, 2, 0.27, 20, -2, 0.26, 20, -1, 0.24, 20, -1, 0.22, 19, -1, 0.18, 20, 0, 0.14, 19, 0, 0.09, 20, 0, 0.04, 19, 1, -0.02, 19, 1, -0.09, 19, 1, -0.16, 19, 2, -0.22, 19, 2, -0.27, 19, 2, -0.32, 18, 3, -0.37, 19, 3, -0.41, 19, 3, -0.45, 19, 4, -0.49, 18, 4, -0.53, 19, 4, -0.56, 18, 5, -0.59, 19, 5, -0.62, 18, 5, -0.65, 18, 6, -0.67, 19, 5, -0.7, 19, 1, -0.6, 20, 1, -0.51, 20, 1, -0.42, 20, 0, -0.33, 20, 0, -0.25, 20, 1, -0.22, 20, 1, -0.19, 20, 1, -0.18, 20, 0, -0.13, 20, 1, -0.08, 21, 1, -0.04, 20, 1, 0.01, 20, 1, 0.04, 20, -1, 0.03, 20, 0, 0.03, 21, -1, 0.02, 20, 0, 0.02, 21, 0, 0.02, 20, 0, 0.02, 20, -2, 0, 20, 0, -0.03, 21, -2, -0.02, 20, -1, -0.02, 20, -1, -0.02, 20, -2, -0.02, 20, -1, -0.02, 20, -2, -0.03, 21, -1, -0.03, 20, -2, -0.03, 20, -2, -0.07, 20, -2, -0.11, 20, -3, -0.12, 20, -3, -0.11, 20, -2, -0.11, 20, -3, -0.11, 21, -3, -0.1, 20, -2, -0.1, 20, -3, -0.09, 20, -3, -0.09, 20, -3, -0.12, 20, -3, -0.14, 20, -4, -0.15, 20, -4, -0.15, 19, -4, -0.15, 20, -4, -0.15, 20, -4, -0.16, 20, -4, -0.16, 19, -5, -0.21, 20, -5, -0.26, 19, -6, -0.28, 19, -6, -0.27, 20, -5, -0.27, 19, -6, -0.27, 20, -6, -0.26, 19, -6, -0.26, 20, -5, -0.25, 19, -6, -0.25, 20, -6, -0.25, 19, -6, -0.25, 20, -6, -0.25, 19, -5, -0.24, 20, -6, -0.22, 20, -5, -0.21, 19, -4, -0.2, 19, -5, -0.19, 19, -4, -0.18, 20, -3, -0.17, 19, -4, -0.17, 19, -3, -0.16, 19, -2, -0.15, 19, -2, -0.15, 19, -2, -0.14, 18, -2, -0.14, 19, -1, -0.13, 19, -1, -0.13, 18, -1, -0.12, 19, 0, -0.13, 18, 0, -0.15, 18, 1, -0.17, 19, 0, -0.2, 18, 1, -0.24, 18, 2, -0.27, 18, 2, -0.29, 18, 2, -0.32, 18, 2, -0.35, 17, 3, -0.37, 18, 3, -0.39, 18, 3, -0.41, 18, 4, -0.43, 17, 4, -0.45, 18, 4, -0.46, 18, 5, -0.48, 17, 5, -0.5, 17, 5, -0.54, 18, 6, -0.58, 17, 6, -0.63, 17, 6, -0.68, 17, 7, -0.75, 17, 7, -0.82, 16, 7, -0.89, 18, 8, -0.98, 16, -1, -0.78, 16, -3, -0.59, 16, -2, -0.4, 18, -3, -0.19, 17, -1, -0.07, 17, -2, 0, 18, -2, 0.08, 18, -1, 0.14, 18, -1, 0.2, 17, -1, 0.26, 18, -1, 0.31, 17, 0, 0.35, 17, 0, 0.37, 17, 1, 0.39, 18, 0, 0.39, 16, 1, 0.38, 17, 2, 0.36, 17, 1, 0.34, 17, 2, 0.3, 16, 2, 0.26, 17, 3, 0.21, 16, 3, 0.15, 16, 3, 0.08, 17, 4, 0.01, 16, 3, -0.06, 16, 5, -0.15, 16, 4, -0.23, 16, 5, -0.32, 15, 5, -0.42, 16, 6, -0.52, 16, 6, -0.62, 16, 4, -0.66, 16, -1, -0.55, 17, -1, -0.41, 17, -2, -0.28, 17, -1, -0.21, 17, 0, -0.16, 16, 0, -0.12, 16, -1, -0.16, 15, -3, -0.16, 16, -4, -0.2, 14, -6, -0.25, 17, -5, -0.24, 16, -5, -0.24)); AddData(new Array(16, -5, -0.25, 17, -4, -0.27, 16, -5, -0.29, 17, -4, -0.3, 17, -5, -0.31, 17, -4, -0.32, 18, -5, -0.33, 18, -5, -0.33, 18, -5, -0.38, 16, -8, -0.36, 16, -9, -0.35, 16, -9, -0.36, 16, -11, -0.38, 15, -10, -0.44, 15, -10, -0.52, 14, -11, -0.58, 15, -12, -0.57, 15, -12, -0.56, 15, -11, -0.53, 15, -12, -0.51, 15, -11, -0.5, 16, -11, -0.49, 15, -11, -0.48, 15, -11, -0.47, 15, -12, -0.47, 16, -11, -0.47, 16, -12, -0.47, 15, -11, -0.47, 16, -11, -0.47, 17, -12, -0.48, 16, -11, -0.49, 16, -12, -0.52, 16, -13, -0.56, 15, -12, -0.62, 15, -12, -0.68, 14, -13, -0.67, 15, -13, -0.65, 15, -14, -0.64, 15, -13, -0.65, 15, -13, -0.65, 15, -13, -0.67, 16, -13, -0.68, 15, -14, -0.68, 15, -13, -0.68, 15, -13, -0.68, 15, -14, -0.68, 15, -13, -0.68, 15, -13, -0.68, 15, -14, -0.68, 15, -13, -0.68, 16, -13, -0.68, 15, -14, -0.68, 15, -13, -0.68, 15, -14, -0.68, 15, -13, -0.68, 15, -13, -0.68, 16, -14, -0.67, 15, -13, -0.66, 15, -13, -0.65, 16, -12, -0.64, 15, -12, -0.64, 15, -12, -0.63, 16, -12, -0.62, 15, -11, -0.62, 15, -10, -0.61, 15, -11, -0.6, 15, -10, -0.6, 15, -9, -0.6, 15, -9, -0.59, 15, -9, -0.58, 14, -9, -0.55, 15, -8, -0.52, 15, -8, -0.49, 15, -7, -0.46, 15, -7, -0.43, 14, -7, -0.41, 15, -6, -0.39, 14, -6, -0.36, 15, -6, -0.34, 14, -5, -0.32, 15, -5, -0.31, 14, -5, -0.29, 14, -4, -0.27, 15, -4, -0.26, 14, -3, -0.25, 14, -3, -0.23, 14, -3, -0.22, 14, -3, -0.2, 14, -3, -0.2, 14, -3, -0.24, 14, -4, -0.29, 14, -6, -0.31, 15, -6, -0.3, 14, -5, -0.3, 16, -6, -0.3, 15, -5, -0.3, 15, -6, -0.3, 16, -6, -0.3, 16, -5, -0.3, 16, -6, -0.3, 17, -6, -0.3, 16, -6, -0.3, 17, -6, -0.3, 16, -6, -0.3, 18, -6, -0.29, 17, -6, -0.28, 18, -6, -0.26, 18, -5, -0.24, 18, -6, -0.23, 18, -4, -0.21, 18, -5, -0.2, 17, -4, -0.2, 18, -5, -0.24, 17, -5, -0.24, 18, -5, -0.23, 18, -5, -0.22, 18, -5, -0.23, 18, -5, -0.23, 18, -5, -0.23, 18, -5, -0.23, 19, -6, -0.23, 19, -5, -0.23, 19, -6, -0.23, 19, -5, -0.23, 20, -5, -0.22, 19, -6, -0.21, 20, -4, -0.2, 19, -5, -0.19, 20, -4, -0.18, 19, -4, -0.17, 19, -3, -0.16, 19, -4, -0.15, 20, -2, -0.14, 19, -3, -0.13, 19, -2, -0.13, 18, -2, -0.12, 19, -3, -0.11, 19, -5, -0.13, 20, -3, -0.13, 19, -4, -0.15, 20, -3, -0.14, 20, -4, -0.14, 20, -4, -0.14, 20, -3, -0.14, 20, -4, -0.14, 20, -3, -0.13, 20, -4, -0.12, 20, -3, -0.11, 20, -3, -0.1, 20, -2, -0.09, 20, -2, -0.08, 20, -2, -0.07, 19, -1, -0.07, 19, -2, -0.09, 20, -3, -0.08, 20, -2, -0.07, 20, -2, -0.07, 21, -3, -0.07, 20, -2, -0.07, 20, -2, -0.07, 20, -3, -0.06, 21, -2, -0.05, 20, -1, -0.04, 20, -2, -0.03, 20, -1, -0.02, 20, 0, -0.01, 19, -1, 0, 20, 0, 0.01, 20, 1, 0.02, 19, 0, 0.02, 20, 1, 0.03, 19, 2, 0.04, 19, 1, 0.04, 20, 2, 0.05, 19, 2, 0.05, 19, 3, 0.06, 20, 2, 0.1, 20, 3, 0.13, 20, 3, 0.17, 20, 3, 0.2, 20, 3, 0.23, 20, 4, 0.26, 19, 4, 0.28, 20, 4, 0.3, 19, 5, 0.32, 19, 4, 0.34, 20, 6, 0.36, 19, 5, 0.37, 19, 6, 0.39, 19, 6, 0.4, 19, 7, 0.41, 19, 6, 0.42, 18, 7, 0.43, 19, 8, 0.44, 19, 7, 0.45, 18, 8, 0.46, 18, 9, 0.46, 19, 8, 0.47, 18, 8, 0.46, 18, 4, 0.28, 17, 3, 0.04, 17, -2, -0.05, 20, -1, -0.09, 19, -2, -0.08, 21, -3, -0.04, 19, -1, -0.04, 21, -1, -0.04, 20, -2, -0.08, 19, -3, -0.08, 20, -5, -0.11, 20, -3, -0.12, 20, -3, -0.13, 19, -3, -0.13, 20, -3, -0.11, 21, -3, -0.09, 20, -3, -0.08, 20, -2, -0.06, 19, -2, -0.05, 20, -1, -0.03, 20, -2, 0, 20, 0, 0.04, 19, -1, 0.09, 20, 0, 0.15, 20, 0, 0.2, 19, 1, 0.24, 19, 1, 0.29, 20, 1, 0.33, 19, 2, 0.37, 19, 1, 0.41, 19, 3, 0.44, 19, 2, 0.48, 19, 3, 0.53, 19, 3, 0.59, 19, 4, 0.65, 19, 4, 0.71, 19, 4, 0.77, 18, 5, 0.82, 19, 5, 0.87, 18, 5, 0.91, 19, 5, 0.96, 18, 6, 0.99, 18, 6, 1, 18, 7, 1.01, 18, 6, 1, 18, 7, 0.99, 18, 7, 0.97, 18, 7, 0.93, 18, 8, 0.89, 18, 8, 0.84, 17, 8, 0.79, 18, 8, 0.73, 17, 9, 0.67, 17, 9, 0.6, 17, 9, 0.52, 16, 6, 0.29, 15, 1, -0.05, 15, -2, -0.16, 16, -4, -0.19, 17, -4, -0.16, 18, -4, -0.1, 18, -3, -0.07, 17, -2, -0.05, 18, -3, -0.04, 18, -1, -0.02, 17, -2, 0, 17, -1, 0.01, 18, -1, 0.03, 17, -1, 0.04, 17, 0, 0.05, 17, 0, 0.06, 18, 1, 0.07, 17, 0, 0.08, 17, 2, 0.09, 16, 1, 0.1, 17, 2, 0.11, 17, 2, 0.12, 17, 2, 0.12, 17, 3, 0.13, 16, 3, 0.14, 17, 3, 0.14, 16, 4, 0.15, 17, 4, 0.15, 16, 4, 0.16, 16, 5, 0.16, 17, 5, 0.14, 16, 2, 0.05, 15, -1, -0.02, 16, -2, -0.05, 16, -4, -0.08, 16, -4, -0.11, 16, -4, -0.13, 17, -4, -0.13, 17, -3, -0.14, 17, -2, -0.14, 17, -3, -0.14, 17, -2, -0.13, 17, -3, -0.14, 17, -3, -0.13, 18, -3, -0.13, 18, -3, -0.13, 17, -3, -0.14, 18, -5, -0.18, 18, -4, -0.25, 17, -7, -0.25, 18, -6, -0.23, 18, -6, -0.23, 18, -5, -0.23, 17, -5, -0.22, 18, -5, -0.23, 18, -5, -0.24, 18, -5, -0.24, 18, -5, -0.24, 18, -6, -0.24, 19, -5, -0.24, 19, -6, -0.24, 19, -5, -0.24, 19, -6, -0.24, 20, -5, -0.24, 19, -6, -0.24, 20, -6, -0.24, 19, -6, -0.24, 19, -5, -0.24, 20, -6, -0.24, 20, -6, -0.24, 19, -5, -0.23, 20, -5, -0.21, 17, -10, -0.19, 17, -10, -0.18, 17, -9, -0.16, 17, -9, -0.15, 17, -9, -0.13, 17, -8, -0.12, 17, -8, -0.11, 17, -7, -0.1, 17, -7, -0.09, 16, -7, -0.08, 17, -7, -0.07, 17, -6, -0.06, 16, -5, -0.05, 17, -6, -0.04, 16, -5, -0.03, 16, -5, -0.03, 17, -4, -0.02, 16, -4, -0.02, 16, -3, -0.01, 16, -4, -0.01, 16, -3, 0, 16, -2, 0, 16, -3, 0.01, 16, -1, 0.01, 16, -2, 0.02, 16, -1, 0.02, 15, -1, 0.02, 16, -1, 0.03, 16, 0, 0.03, 15, 0, 0.03, 16, 0, 0.03, 15, 1, 0.04, 16, 1, 0.04, 15, 2, 0.04, 15, 1, 0.04, 16, 3, 0.04, 15, 2, 0.05, 15, 3, 0.05, 15, 3, 0.05, 15, 3, 0.05, 15, 4, 0.05, 15, 4, 0.05, 15, 4, 0.05, 15, 5, 0.05, 15, 5, 0.06, 15, 5, 0.06, 14, 6, 0.06, 15, 5, 0.06, 15, 7, 0.06, 14, 6, 0.06, 15, 7, 0.06, 14, 7, 0.06, 15, 8, 0.06, 14, 7, 0.06, 14, 9, 0.06, 15, 8, 0.06, 14, 9, 0.06, 14, 9, 0.06, 14, 5, 0.08, 16, 1, 0.1, 15, 1, 0.12, 16, -1, 0.12, 17, -1, 0.17, 17, 1, 0.16, 17, 1, 0.17, 17, 1, 0.18, 17, 2, 0.19, 17, 2, 0.19, 17, 3, 0.2, 17, 3, 0.2, 16, 2, 0.2, 17, 3, 0.16, 18, 1, 0.17, 17, 2, 0.18, 18, 2, 0.18, 18, 2, 0.17, 19, 3, 0.15, 19, 2, 0.15, 19, 2, 0.16, 20, 2, 0.17, 19, 3, 0.19, 21, 3, 0.2, 19, 4, 0.21, 20, 3, 0.22, 20, 4, 0.23, 19, 5, 0.24, 20, 4, 0.25, 19, 5, 0.26, 19, 6, 0.26, 19, 5, 0.27, 20, 5, 0.26, 20, 3, 0.25, 20, 4, 0.25, 20, 5, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 4, 0.26, 20, 5, 0.27, 20, 5, 0.28, 19, 5, 0.29, 20, 5, 0.3, 19, 6, 0.31, 19, 6, 0.31, 19, 6, 0.32, 19, 6, 0.32, 19, 7, 0.33, 19, 7, 0.33, 18, 8, 0.33, 19, 8, 0.34, 18, 8, 0.34, 18, 8, 0.34, 19, 8, 0.34, 18, 9, 0.34, 18, 9, 0.35, 17, 10, 0.35, 18, 9, 0.35, 18, 10, 0.38, 18, 9, 0.42, 19, 10, 0.45, 18, 9, 0.49, 19, 9, 0.49, 18, 8, 0.48, 19, 9, 0.48, 18, 9, 0.49, 19, 9, 0.5, 18, 9, 0.51, 18, 9, 0.52, 18, 9, 0.53, 18, 10, 0.54, 17, 10, 0.54, 17, 10, 0.55, 18, 11, 0.56, 17, 10, 0.56, 16, 11, 0.56, 17, 11, 0.57, 17, 12, 0.57, 16, 11, 0.57, 16, 12, 0.57, 17, 12, 0.6, 17, 10, 0.6, 18, 10, 0.58, 17, 11, 0.58, 18, 10, 0.58, 18, 10, 0.64, 18, 9, 0.76, 18, 10, 0.87, 18, 9, 0.97, 17, 10, 1.07, 17, 10, 1.16, 17, 10, 1.24, 16, 11, 1.31, 16, 10, 1.37, 17, 11, 1.43, 16, 11, 1.48, 16, 11, 1.52, 16, 12, 1.56, 15, 12, 1.59, 16, 12, 1.62, 15, 12, 1.65, 16, 12, 1.67, 15, 13, 1.69, 15, 13, 1.7, 16, 13, 1.69, 15, 13, 1.68, 14, 14, 1.66, 15, 13, 1.64, 15, 14, 1.61, 14, 14, 1.6, 14, 14, 1.59, 15, 13, 1.58, 15, 13, 1.52, 16, 12, 1.44, 16, 12, 1.36, 16, 12, 1.29)); AddData(new Array(16, 12, 1.21, 16, 11, 1.12, 16, 12, 1.01, 16, 11, 0.9, 16, 10, 0.79, 16, 12, 0.69, 16, 12, 0.61, 16, 11, 0.58, 17, 11, 0.59, 18, 10, 0.61, 17, 11, 0.61, 18, 11, 0.61, 17, 11, 0.59, 18, 9, 0.53, 18, 9, 0.46, 18, 8, 0.46, 20, 8, 0.48, 18, 8, 0.48, 18, 8, 0.48, 18, 9, 0.47, 19, 8, 0.46, 19, 9, 0.46, 18, 8, 0.46, 19, 8, 0.45, 19, 7, 0.4, 19, 7, 0.36, 19, 6, 0.37, 20, 7, 0.38, 19, 6, 0.38, 20, 7, 0.37, 19, 6, 0.37, 20, 7, 0.37, 19, 6, 0.37, 19, 7, 0.37, 20, 6, 0.37, 19, 7, 0.37, 19, 6, 0.37, 20, 7, 0.37, 19, 6, 0.37, 20, 6, 0.35, 19, 6, 0.3, 20, 4, 0.23, 19, 3, 0.21, 21, 3, 0.23, 20, 4, 0.23, 20, 4, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 3, 0.22, 20, 3, 0.2, 20, 4, 0.18, 21, 2, 0.19, 20, 3, 0.19, 20, 3, 0.18, 20, 3, 0.18, 20, 3, 0.18, 20, 2, 0.18, 21, 3, 0.18, 20, 3, 0.18, 20, 3, 0.18, 20, 3, 0.18, 21, 2, 0.18, 20, 3, 0.18, 20, 3, 0.18, 20, 2, 0.14, 20, 1, 0.09, 20, 1, 0.08, 21, 1, 0.1, 20, 0, 0.09, 20, 1, 0.08, 21, 1, 0.08, 20, 1, 0.08, 20, 1, 0.08, 21, 0, 0.08, 20, 1, 0.08, 21, 1, 0.08, 20, 1, 0.08, 20, 0, 0.06, 21, 0, 0.05, 20, 1, 0.05, 20, -1, 0.05, 21, 1, 0.04, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.06, 20, 0, 0.07, 20, 1, 0.08, 20, 1, 0.09, 20, 1, 0.1, 20, 1, 0.08, 20, 1, 0.08, 21, 1, 0.09, 20, 1, 0.09, 20, 1, 0.09, 21, 1, 0.09, 20, 1, 0.09, 20, 1, 0.09, 21, 1, 0.09, 20, 0, 0.09, 20, 1, 0.09, 21, 1, 0.09, 20, 1, 0.07, 20, -1, 0.02, 20, -1, -0.06, 20, -1, -0.09, 20, 0, -0.11, 20, 0, -0.13, 20, 0, -0.15, 19, 0, -0.16, 20, 1, -0.18, 20, 2, -0.19, 19, 1, -0.21, 20, 2, -0.22, 19, 2, -0.23, 19, 3, -0.24, 20, 3, -0.25, 19, 3, -0.26, 19, 4, -0.27, 19, 4, -0.28, 19, 4, -0.28, 19, 4, -0.29, 19, 5, -0.3, 19, 5, -0.3, 19, 6, -0.31, 18, 6, -0.31, 19, 6, -0.32, 19, 5, -0.3, 20, 5, -0.26, 20, 5, -0.21, 20, 5, -0.17, 19, 5, -0.15, 20, 5, -0.12, 19, 5, -0.11, 20, 6, -0.07, 19, 5, -0.04, 20, 5, -0.01, 20, 5, 0.02, 20, 5, 0.03, 20, 5, 0.05, 19, 6, 0.04, 20, 5, 0.03, 19, 6, 0.01, 19, 6, -0.02, 18, 6, -0.05, 19, 7, -0.09, 19, 6, -0.12, 19, 6, -0.12, 20, 5, -0.12, 19, 6, -0.14, 20, 6, -0.17, 19, 6, -0.19, 19, 6, -0.21, 19, 6, -0.23, 20, 6, -0.25, 19, 6, -0.27, 20, 6, -0.29, 19, 5, -0.29, 19, 7, -0.3, 19, 6, -0.3, 19, 7, -0.31, 19, 7, -0.31, 19, 7, -0.31, 18, 7, -0.31, 19, 8, -0.31, 19, 7, -0.3, 19, 8, -0.29, 19, 7, -0.28, 19, 7, -0.28, 19, 7, -0.28, 19, 7, -0.28, 18, 8, -0.29, 19, 7, -0.31, 18, 8, -0.33, 18, 9, -0.34, 18, 8, -0.35, 18, 9, -0.35, 18, 9, -0.36, 17, 9, -0.36, 18, 10, -0.36, 18, 10, -0.36, 17, 10, -0.36, 17, 10, -0.36, 17, 11, -0.36, 17, 11, -0.36, 17, 11, -0.36, 16, 11, -0.36, 17, 12, -0.36, 16, 11, -0.36, 16, 12, -0.36, 16, 12, -0.37, 16, 13, -0.39, 17, 12, -0.41, 17, 10, -0.39, 18, 9, -0.35, 19, 8, -0.3, 19, 7, -0.25, 19, 8, -0.21, 19, 6, -0.17, 19, 7, -0.14, 19, 6, -0.14, 20, 7, -0.13, 19, 6, -0.11, 20, 6, -0.11, 19, 6, -0.12, 20, 6, -0.13, 19, 5, -0.09, 20, 2, -0.01, 20, 0, 0.02, 19, -2, 0.01, 19, -2, -0.02, 20, -3, -0.06, 20, -2, -0.01, 20, -2, -0.03, 20, -1, -0.05, 19, -1, -0.08, 20, -1, -0.1, 20, -1, -0.12, 20, 0, -0.13, 20, -2, -0.11, 21, -2, -0.05, 20, -1, 0, 20, -2, 0.03, 19, -3, -0.02, 18, -4, -0.16, 18, -6, -0.26, 17, -7, -0.32, 19, -6, -0.25, 19, -6, -0.2, 19, -6, -0.18, 18, -5, -0.15, 19, -5, -0.13, 19, -5, -0.11, 18, -4, -0.09, 19, -4, -0.07, 18, -4, -0.05, 19, -4, -0.07, 18, -4, -0.12, 19, -4, -0.15, 19, -4, -0.19, 18, -3, -0.2, 19, -4, -0.2, 19, -4, -0.2, 19, -2, -0.2, 19, -3, -0.2, 18, -2, -0.2, 19, -2, -0.2, 19, -2, -0.2, 18, -1, -0.2, 19, -1, -0.2, 18, -1, -0.2, 18, 0, -0.21, 19, 0, -0.21, 18, 0, -0.21, 18, 1, -0.21, 18, 1, -0.21, 18, 2, -0.21, 18, 1, -0.21, 18, 2, -0.21, 18, 3, -0.21, 18, 2, -0.21, 17, 3, -0.21, 18, 4, -0.21, 18, 3, -0.21, 17, 4, -0.21, 18, 5, -0.21, 17, 4, -0.21, 18, 5, -0.21, 17, 5, -0.21, 17, 6, -0.21, 17, 6, -0.21, 18, 6, -0.21, 17, 7, -0.21, 17, 6, -0.21, 17, 7, -0.21, 17, 8, -0.21, 17, 8, -0.21, 16, 8, -0.21, 17, 8, -0.21, 17, 9, -0.21, 16, 9, -0.21, 17, 9, -0.21, 17, 9, -0.21, 16, 10, -0.21, 17, 10, -0.21, 16, 11, -0.21, 16, 11, -0.21, 17, 11, -0.21, 15, 11, -0.18, 18, 7, 0.01, 20, 5, 0.16, 18, 0, 0.18, 18, 0, 0.2, 18, 0, 0.15, 19, 0, 0.11, 19, 1, 0.09, 19, -4, 0.09, 19, -5, 0.08, 20, -3, 0.08, 19, -4, 0.07, 20, -3, 0.07, 19, -3, 0.07, 19, -2, 0.06, 19, -2, 0.06, 19, -2, 0.06, 19, -1, 0.06, 19, -2, 0.05, 19, 0, 0.05, 19, -1, 0.05, 19, 0, 0.05, 19, 1, 0.05, 18, 0, 0.04, 19, 1, 0.04, 19, 1, 0.04, 18, 2, 0.04, 18, 2, 0.04, 19, 2, 0.04, 18, 3, 0.04, 18, 3, 0.04, 19, 3, 0.03, 18, 3, 0.03, 18, 4, 0.03, 18, 4, 0.03, 18, 5, 0.04, 18, 5, 0.06, 18, 5, 0.09, 18, 5, 0.13, 17, 6, 0.17, 18, 6, 0.22, 18, 7, 0.27, 18, 7, 0.32, 17, 7, 0.36, 18, 7, 0.4, 18, 8, 0.44, 17, 8, 0.47, 17, 8, 0.51, 18, 9, 0.54, 17, 9, 0.56, 17, 9, 0.59, 17, 10, 0.62, 17, 10, 0.64, 17, 10, 0.66, 17, 10, 0.68, 17, 11, 0.7, 17, 11, 0.72, 16, 11, 0.74, 17, 12, 0.75, 16, 12, 0.76, 16, 12, 0.77, 16, 12, 0.78, 16, 12, 0.79, 16, 13, 0.8, 16, 12, 0.8, 15, 13, 0.81, 15, 14, 0.81, 15, 13, 0.81, 15, 13, 0.82, 15, 14, 0.81, 16, 9, 0.63, 16, 8, 0.42, 17, 5, 0.36, 18, 4, 0.29, 20, 6, 0.31, 20, 5, 0.36, 19, 6, 0.35, 19, 6, 0.35, 19, 6, 0.3, 20, 4, 0.22, 19, 3, 0.22, 20, 2, 0.22, 20, 3, 0.23, 20, 3, 0.23, 20, 3, 0.22, 20, 4, 0.2, 20, 3, 0.18, 20, 1, 0.14, 20, 3, 0.1, 20, 1, 0.12, 21, 1, 0.13, 20, 2, 0.12, 20, 1, 0.11, 21, 1, 0.11, 20, 1, 0.09, 20, 1, 0.1, 21, 0, 0.13, 20, -1, 0.11, 20, -1, 0.06, 20, -1, 0.03, 19, 0, 0.01, 20, 1, -0.02, 20, 0, -0.04, 19, 1, -0.06, 20, 1, -0.04, 20, 0, -0.01, 21, 1, 0.02, 20, 0, 0.03, 21, 0, 0.01, 20, -3, -0.01, 19, -2, -0.05, 20, -2, -0.08, 20, -2, -0.08, 21, -3, -0.08, 20, -2, -0.08, 20, -3, -0.08, 20, -2, -0.08, 20, -3, -0.08, 21, -2, -0.08, 20, -3, -0.09, 20, -3, -0.13, 19, -4, -0.17, 20, -4, -0.16, 20, -4, -0.16, 20, -4, -0.16, 20, -4, -0.16, 20, -5, -0.16, 20, -4, -0.16, 19, -4, -0.16, 20, -4, -0.16, 20, -4, -0.16, 20, -4, -0.16, 20, -5, -0.19, 19, -5, -0.25, 19, -6, -0.24, 20, -6, -0.23, 19, -6, -0.23, 19, -6, -0.25, 20, -6, -0.25, 19, -6, -0.26, 19, -7, -0.31, 16, -11, -0.33, 16, -12, -0.37, 16, -11, -0.38, 16, -10, -0.42, 16, -10, -0.46, 16, -10, -0.51, 16, -9, -0.56, 15, -9, -0.6, 16, -8, -0.64, 16, -9, -0.68, 15, -7, -0.71, 16, -8, -0.75, 15, -7, -0.78, 16, -7, -0.81, 15, -6, -0.83, 16, -6, -0.85, 15, -6, -0.85, 16, -5, -0.84, 15, -5, -0.83, 15, -5, -0.8, 16, -5, -0.77, 15, -4, -0.73, 15, -3, -0.7, 16, -4, -0.68, 15, -3, -0.65, 15, -3, -0.62, 15, -2, -0.6, 15, -2, -0.58, 15, -1, -0.56, 15, -2, -0.54, 14, -1, -0.52, 15, 0, -0.51, 15, -1, -0.49, 15, 0, -0.48, 14, 1, -0.46, 15, 1, -0.45, 14, 1, -0.44, 15, 1, -0.43, 14, 2, -0.42, 14, 2, -0.41, 15, 2, -0.4, 14, 3, -0.39, 14, 3, -0.38, 14, 3, -0.37, 14, 4, -0.37, 14, 4, -0.36, 14, 4, -0.35, 14, 5, -0.35, 14, 5, -0.33, 14, 5, -0.31)); AddData(new Array(14, 6, -0.27, 14, 5, -0.24, 14, 7, -0.21, 14, 6, -0.18, 14, 7, -0.16, 13, 7, -0.13, 14, 8, -0.11, 13, 7, -0.09, 14, 8, -0.07, 13, 9, -0.05, 14, 8, -0.03, 13, 9, -0.02, 13, 10, 0, 14, 9, 0.01, 13, 10, 0.02, 13, 10, 0.04, 13, 11, 0.05, 13, 11, 0.06, 13, 11, 0.07, 13, 11, 0.11, 15, 8, 0.27, 16, 7, 0.38, 17, 6, 0.45, 16, 6, 0.43, 16, 4, 0.4, 17, 4, 0.36, 17, 5, 0.34, 18, 5, 0.32, 18, 6, 0.32, 18, 6, 0.32, 19, 6, 0.32, 19, 6, 0.33, 19, 7, 0.35, 20, 7, 0.37, 19, 7, 0.38, 19, 6, 0.37, 19, 7, 0.37, 20, 6, 0.36, 19, 6, 0.36, 19, 6, 0.34, 19, 6, 0.35, 20, 6, 0.35, 20, 5, 0.31, 19, 6, 0.29, 20, 5, 0.28, 20, 4, 0.28, 20, 5, 0.27, 20, 3, 0.23, 19, 3, 0.21, 21, 2, 0.2, 20, 1, 0.14, 20, 2, 0.12, 20, 1, 0.04, 19, -1, 0, 20, -1, -0.03, 21, 0, -0.03, 20, 0, -0.03, 19, 0, -0.03, 20, 1, -0.03, 21, 0, -0.01, 20, 1, 0.02, 20, 1, 0.05, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 20, -1, 0.01, 18, -2, -0.05, 19, -1, -0.08, 19, -1, -0.11, 19, 0, -0.13, 18, 0, -0.14, 19, 0, -0.14, 19, 0, -0.14, 19, 0, -0.13, 18, 0, -0.11, 19, 1, -0.09, 18, 1, -0.06, 19, 1, -0.03, 19, 1, 0.01, 18, 1, 0.06, 19, 0, 0.07, 17, 0, 0.05, 18, -1, 0.04, 18, 0, 0.04, 18, 1, 0.04, 18, 0, 0.05)); StopData(); StartData(1); AddData(new Array(902, 767, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.05, 7, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 9, 0, 0.05, 11, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 12, 0, 0.05, 14, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, -1, 0.02, 17, 0, 0.01, 18, -1, 0, 18, 0, 0.01, 18, 0, 0.02, 19, 1, 0.03, 19, -1, 0.03, 18, -1, -0.01, 19, -1, 0, 20, 0, 0, 19, -1, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 21, -1, 0, 21, -1, 0, 21, 0, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, -0.01, 22, -1, -0.02, 22, -2, -0.01, 22, -1, -0.02, 22, -1, -0.02, 22, -2, -0.02, 22, -1, -0.02, 22, -1, -0.02, 22, -2, -0.02, 22, -1, -0.02, 21, -2, -0.02, 22, -1, -0.02, 22, -1, -0.02, 22, -2, -0.02, 22, -1, -0.02, 22, -1, -0.02, 22, -2, -0.02, 22, -1, -0.02, 22, -1, -0.02, 22, -2, -0.03, 22, -2, -0.05, 22, -2, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -2, -0.06, 21, -3, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -3, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -3, -0.06, 22, -2, -0.06, 21, -2, -0.06, 22, -3, -0.06, 22, -2, -0.08, 22, -3, -0.1, 22, -3, -0.09, 21, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 21, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 21, -4, -0.12, 22, -4, -0.14, 21, -4, -0.13, 22, -4, -0.13, 21, -4, -0.14, 22, -4, -0.14, 22, -4, -0.14, 21, -4, -0.14, 22, -4, -0.14, 21, -5, -0.14, 22, -4, -0.14, 22, -4, -0.14, 21, -4, -0.14, 22, -4, -0.14, 21, -4, -0.14, 22, -4, -0.14, 22, -4, -0.13, 21, -4, -0.12, 22, -4, -0.12, 21, -3, -0.12, 22, -4, -0.12, 22, -3, -0.12, 22, -4, -0.12, 21, -4, -0.12, 22, -3, -0.12, 22, -4, -0.12, 21, -3, -0.12, 22, -4, -0.12, 22, -4, -0.12, 21, -3, -0.12, 22, -4, -0.12, 21, -4, -0.15, 22, -5, -0.19, 21, -4, -0.2, 21, -6, -0.19, 22, -5, -0.19, 21, -5, -0.19, 22, -5, -0.19, 21, -5, -0.19, 21, -5, -0.19, 22, -6, -0.19, 21, -5, -0.19, 21, -5, -0.19, 22, -5, -0.19, 21, -5, -0.19, 22, -5, -0.19, 21, -5, -0.19, 21, -5, -0.19, 22, -6, -0.19, 21, -5, -0.19, 21, -5, -0.19, 22, -5, -0.2, 21, -6, -0.23, 21, -5, -0.24, 21, -6, -0.24, 22, -5, -0.23, 21, -5, -0.22, 21, -5, -0.21, 22, -6, -0.21, 21, -5, -0.21, 21, -6, -0.21, 22, -5, -0.21, 21, -6, -0.21, 21, -5, -0.21, 21, -5, -0.21, 22, -6, -0.21, 21, -6, -0.22, 21, -6, -0.25, 21, -5, -0.26, 20, -7, -0.26, 21, -6, -0.25, 21, -8, -0.27, 20, -6, -0.28, 21, -7, -0.27, 20, -6, -0.26, 20, -6, -0.25, 21, -6, -0.25, 21, -7, -0.25, 21, -6, -0.25, 21, -7, -0.25, 21, -6, -0.25, 21, -7, -0.25, 21, -6, -0.25, 21, -7, -0.25, 21, -6, -0.26, 21, -7, -0.26, 20, -7, -0.26, 21, -6, -0.26, 21, -7, -0.26, 21, -7, -0.26, 21, -7, -0.26, 21, -6, -0.26, 21, -7, -0.26, 21, -7, -0.26, 21, -7, -0.26, 21, -6, -0.26, 20, -7, -0.26, 21, -7, -0.26, 21, -6, -0.26, 21, -7, -0.26, 21, -7, -0.26, 21, -7, -0.26, 21, -6, -0.25, 21, -6, -0.23, 21, -6, -0.22, 21, -6, -0.21, 21, -5, -0.2, 21, -5, -0.18, 20, -5, -0.21, 21, -5, -0.22, 21, -6, -0.21, 21, -5, -0.21, 21, -6, -0.21, 21, -6, -0.21, 21, -6, -0.25, 20, -7, -0.31, 21, -6, -0.33, 21, -6, -0.36, 20, -6, -0.39, 21, -5, -0.41, 21, -5, -0.43, 20, -5, -0.45, 20, -4, -0.47, 21, -4, -0.49, 20, -3, -0.51, 20, -3, -0.52, 20, -3, -0.54, 20, -3, -0.55, 20, -2, -0.56, 20, -2, -0.58, 20, -1, -0.59, 20, -1, -0.6, 20, -1, -0.61, 20, -1, -0.62, 19, 0, -0.63, 20, 1, -0.63, 19, 0, -0.64, 20, 1, -0.65, 19, 1, -0.65, 19, 2, -0.66, 20, 2, -0.67, 19, 2, -0.67, 19, 2, -0.68, 20, 2, -0.66, 20, 1, -0.63, 20, 0, -0.57, 21, -1, -0.48, 21, 0, -0.39, 22, 0, -0.31, 21, 1, -0.23, 21, 1, -0.14, 22, 1, -0.05, 21, 2, 0.05, 21, 2, 0.15, 21, 2, 0.24, 21, 3, 0.31, 21, 1, 0.34, 21, 2, 0.34, 21, 0, 0.3, 21, 1, 0.23, 22, 0, 0.15, 21, 1, 0.08, 21, 0, 0.06, 22, 0, 0.08, 22, 1, 0.1, 22, 0, 0.1, 22, 1, 0.09, 22, 1, 0.08, 21, 1, 0.09, 22, 1, 0.12, 22, 1, 0.16, 22, -4, 0.21, 21, -4, 0.24, 22, -4, 0.27, 21, -3, 0.32, 21, -2, 0.35, 21, -3, 0.39, 21, -2, 0.43, 21, -1, 0.46, 21, -2, 0.49, 21, -1, 0.51, 21, 0, 0.54, 20, -1, 0.57, 21, 0, 0.59, 20, 0, 0.61, 21, 1, 0.63, 20, 1, 0.65, 20, 1, 0.67, 20, 2, 0.68, 21, 2, 0.7, 20, 2, 0.71, 20, 3, 0.73, 19, 2, 0.74, 20, 4, 0.75, 20, 3, 0.76, 20, 4, 0.77, 19, 4, 0.78, 20, 5, 0.79, 19, 4, 0.8, 20, 6, 0.81, 19, 5, 0.81, 19, 6, 0.82, 20, 6, 0.83, 19, 6, 0.82, 19, 6, 0.81, 21, 4, 0.73, 20, 4, 0.64, 20, 4, 0.55, 21, 4, 0.46, 21, 4, 0.37, 21, 4, 0.27, 20, 4, 0.2, 22, 3, 0.23, 22, 3, 0.25, 22, 3, 0.27, 21, 3, 0.28, 22, 3, 0.29, 22, 4, 0.29, 22, 3, 0.29, 22, 4, 0.29, 21, 3, 0.29, 22, 4, 0.28, 22, 4, 0.27, 22, 4, 0.26, 21, 4, 0.25, 21, 5, 0.24, 21, 5, 0.24, 21, 5, 0.24, 21, 5, 0.25, 22, 4, 0.25, 21, 5, 0.25, 22, 4, 0.25, 22, 5, 0.25, 21, 5, 0.25, 22, 4, 0.25, 22, 5, 0.25, 21, 4, 0.25, 22, 5, 0.25, 21, 4, 0.25, 22, 5, 0.25, 22, 4, 0.25, 21, 5, 0.25, 22, 4, 0.24, 22, 3, 0.18, 21, 2, 0.11, 21, 4, 0.07, 21, 4, 0.04, 21, 4, 0.01, 21, 4, -0.02, 21, 5, -0.05, 20, 5, -0.07, 21, 5, -0.09, 20, 6, -0.11, 21, 5, -0.13, 20, 7, -0.15, 21, 6, -0.17, 20, 7, -0.18, 20, 7, -0.19, 20, 8, -0.21, 20, 8, -0.22, 20, 8, -0.23, 20, 8, -0.23, 20, 9, -0.24, 19, 9, -0.24, 20, 9, -0.25, 19, 10, -0.25, 20, 9, -0.25, 19, 10, -0.25, 19, 11, -0.25, 19, 10, -0.25, 19, 11, -0.26, 19, 11, -0.28, 18, 11, -0.29, 19, 11, -0.3, 20, 10, -0.3, 20, 10, -0.29, 20, 9, -0.29, 20, 9, -0.26, 21, 7, -0.22, 20, 9, -0.21, 20, 9, -0.22, 20, 9, -0.22, 19, 9, -0.22, 20, 10, -0.22, 19, 10, -0.22, 19, 10, -0.22, 19, 10, -0.23, 19, 11, -0.25, 18, 11, -0.27, 19, 11, -0.29, 18, 11, -0.32, 18, 12, -0.35, 18, 12, -0.37, 17, 12, -0.41, 18, 12, -0.43, 17, 12, -0.45, 19, 12, -0.45, 18, 11, -0.44, 20, 11, -0.41, 19, 9, -0.37, 20, 10, -0.35, 19, 10, -0.35, 20, 10, -0.35, 19, 11, -0.36, 18, 11, -0.37, 19, 11, -0.39, 19, 10, -0.41, 20, 10, -0.4, 19, 10, -0.4, 20, 10, -0.4, 19, 10, -0.4, 19, 11, -0.42, 19, 10, -0.43, 19, 11, -0.45, 19, 11, -0.47, 19, 10, -0.46, 20, 10, -0.46, 19, 10, -0.47, 20, 10, -0.47, 19, 10, -0.47, 19, 10, -0.47, 20, 9, -0.47, 20, 9, -0.46, 20, 9, -0.46, 20, 9, -0.46, 20, 10, -0.46, 19, 9, -0.47, 19, 10, -0.49, 20, 9, -0.49, 20, 9, -0.49, 20, 10, -0.5, 20, 9, -0.5, 19, 9, -0.51, 20, 10, -0.52, 19, 10, -0.54, 20, 9, -0.56, 21, 8, -0.55, 20, 7, -0.53, 21, 8, -0.52, 21, 7, -0.53, 20, 8, -0.55, 20, 8, -0.57, 20, 8, -0.58, 19, 9, -0.59, 20, 8, -0.59, 21, 8, -0.58, 20, 8, -0.58, 20, 8, -0.59, 21, 7, -0.6, 20, 8, -0.61, 20, 9, -0.61, 20, 8, -0.61, 20, 8, -0.6, 21, 8, -0.61, 20, 7, -0.61, 21, 7, -0.6, 21, 7, -0.6, 20, 8, -0.6, 20, 7, -0.6, 21, 8, -0.61, 20, 8, -0.63, 21, 7, -0.63, 21, 7, -0.64, 20, 7, -0.64, 21, 7, -0.64, 20, 7, -0.65, 20, 8, -0.67, 21, 8, -0.68, 20, 7, -0.69, 20, 7, -0.69, 22, 7, -0.73, 21, 5, -0.7, 21, 4, -0.67)); AddData(new Array(22, 2, -0.62, 22, 3, -0.56, 21, 2, -0.52, 22, 3, -0.51, 21, 3, -0.5, 22, 3, -0.51, 21, 4, -0.53, 21, 4, -0.56, 21, 4, -0.57, 21, 4, -0.56, 22, 3, -0.53, 21, 2, -0.5, 22, 2, -0.48, 22, 1, -0.45, 22, 1, -0.42, 22, 2, -0.42, 22, 2, -0.44, 21, 1, -0.43, 22, 2, -0.42, 22, 1, -0.38, 22, 1, -0.35, 22, 0, -0.31, 22, 0, -0.28, 21, 1, -0.26, 22, 0, -0.24, 22, 0, -0.23, 23, 1, -0.22, 22, 0, -0.21, 22, 0, -0.21, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.2, 22, 0, -0.19, 22, 0, -0.19, 22, -1, -0.19, 22, 0, -0.19, 22, 0, -0.19, 22, -1, -0.19, 22, 0, -0.2, 22, 0, -0.2, 22, -1, -0.2, 22, 0, -0.2, 22, 0, -0.21, 22, -1, -0.21, 22, 0, -0.21, 22, -1, -0.2, 22, -1, -0.16, 22, -1, -0.13, 22, -2, -0.09, 21, -1, -0.06, 22, -1, -0.04, 21, -2, -0.05, 21, -2, -0.06, 22, -2, -0.06, 21, -2, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -3, -0.07, 21, -3, -0.12, 21, -4, -0.14, 21, -4, -0.12, 22, -4, -0.12, 21, -3, -0.13, 21, -4, -0.13, 22, -4, -0.13, 21, -3, -0.13, 22, -4, -0.13, 21, -4, -0.13, 22, -4, -0.13, 21, -4, -0.13, 22, -3, -0.13, 22, -4, -0.13, 21, -4, -0.13, 22, -4, -0.13, 22, -4, -0.13, 21, -4, -0.13, 22, -3, -0.13, 22, -4, -0.13, 21, -5, -0.16, 21, -4, -0.19, 22, -5, -0.19, 21, -5, -0.19, 22, -5, -0.19, 21, -5, -0.19, 21, -5, -0.19, 22, -5, -0.19, 21, -5, -0.19, 21, -5, -0.19, 22, -5, -0.19, 21, -6, -0.19, 22, -5, -0.19, 21, -5, -0.19, 21, -5, -0.19, 22, -5, -0.19, 21, -6, -0.22, 20, -6, -0.28, 21, -7, -0.3, 21, -7, -0.29, 20, -7, -0.29, 21, -8, -0.29, 21, -7, -0.29, 21, -7, -0.29, 20, -7, -0.29, 21, -7, -0.29, 20, -8, -0.32, 21, -8, -0.34, 20, -7, -0.35, 20, -9, -0.34, 21, -8, -0.34, 20, -8, -0.34, 20, -9, -0.34, 21, -8, -0.34, 20, -8, -0.34, 20, -8, -0.34, 21, -9, -0.34, 20, -8, -0.34, 20, -8, -0.34, 21, -9, -0.34, 20, -8, -0.34, 20, -8, -0.34, 21, -8, -0.33, 20, -8, -0.33, 21, -8, -0.33, 20, -8, -0.33, 20, -8, -0.33, 21, -8, -0.33, 20, -8, -0.33, 21, -8, -0.33, 20, -8, -0.33, 21, -8, -0.33, 20, -8, -0.33, 20, -8, -0.33, 21, -8, -0.33, 20, -8, -0.33, 21, -8, -0.33, 20, -9, -0.37, 19, -9, -0.43, 20, -9, -0.46, 19, -8, -0.49, 20, -8, -0.51, 20, -8, -0.54, 20, -8, -0.55, 21, -8, -0.56, 20, -8, -0.56, 21, -8, -0.56, 20, -7, -0.56, 21, -8, -0.55, 21, -7, -0.54, 20, -7, -0.53, 21, -7, -0.52, 20, -7, -0.51, 21, -6, -0.49, 21, -7, -0.47, 21, -7, -0.44, 21, -6, -0.42, 21, -7, -0.38, 21, -6, -0.35, 21, -7, -0.31, 21, -6, -0.27, 21, -7, -0.27, 20, -8, -0.29, 21, -7, -0.28, 21, -7, -0.27, 21, -6, -0.26, 21, -7, -0.25, 20, -6, -0.25, 21, -5, -0.24, 20, -5, -0.23, 20, -5, -0.23, 21, -5, -0.22, 20, -5, -0.23, 21, -6, -0.23, 20, -6, -0.23, 21, -6, -0.23, 21, -6, -0.22, 22, -5, -0.21, 21, -5, -0.19, 21, -5, -0.18, 21, -5, -0.17, 21, -4, -0.16, 20, -4, -0.15, 21, -3, -0.14, 21, -4, -0.14, 20, -2, -0.13, 21, -3, -0.12, 20, -3, -0.14, 21, -4, -0.14, 22, -4, -0.09, 21, -3, -0.07, 21, -3, -0.05, 21, -3, -0.03, 21, -3, -0.01, 22, -2, 0.01, 21, -1, 0.02, 20, -2, 0.03, 21, -2, 0, 21, -2, -0.03, 22, -2, -0.06, 21, -2, -0.07, 22, -2, -0.06, 22, -2, -0.04, 22, -2, -0.02, 22, -2, -0.01, 21, -1, 0, 22, 0, 0.01, 21, -1, 0.02, 21, 0, 0.03, 22, 0, 0.04, 21, 1, 0.05, 21, 1, 0.06, 21, 1, 0.07, 21, 2, 0.07, 21, 2, 0.08, 21, 1, 0.04, 21, -1, 0.03, 22, 1, 0.08, 22, 0, 0.09, 22, 1, 0.1, 22, 2, 0.11, 21, 2, 0.12, 22, 2, 0.13, 21, 2, 0.14, 21, 3, 0.15, 21, 3, 0.15, 22, 2, 0.12, 22, 1, 0.13, 21, 2, 0.13, 22, 2, 0.13, 22, 2, 0.13, 22, 2, 0.14, 22, 1, 0.13, 22, 3, 0.16, 22, 2, 0.17, 21, 3, 0.18, 22, 3, 0.18, 21, 4, 0.19, 21, 4, 0.2, 21, 4, 0.21, 22, 4, 0.21, 21, 5, 0.22, 21, 5, 0.22, 20, 6, 0.23, 21, 5, 0.23, 21, 6, 0.24, 21, 7, 0.24, 21, 5, 0.31, 22, 5, 0.41, 20, 7, 0.42, 21, 6, 0.46, 21, 7, 0.5, 20, 7, 0.53, 21, 7, 0.55, 20, 6, 0.54, 21, 8, 0.54, 21, 7, 0.52, 21, 8, 0.5, 20, 7, 0.47, 21, 7, 0.41, 21, 7, 0.32, 20, 5, 0.26, 21, 4, 0.24, 22, 4, 0.28, 21, 5, 0.26, 22, 4, 0.26, 21, 5, 0.26, 22, 5, 0.26, 21, 5, 0.26, 22, 4, 0.25, 21, 4, 0.21, 22, 4, 0.21, 22, 3, 0.21, 22, 4, 0.21, 21, 3, 0.21, 22, 4, 0.21, 22, 3, 0.21, 22, 4, 0.21, 22, 3, 0.21, 21, 3, 0.17, 22, 2, 0.1, 21, 0, 0.05, 22, 0, 0.02, 22, -1, 0.05, 22, 0, 0.05, 21, 1, 0.05, 22, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 23, 0, 0.06, 21, 0, 0.04, 22, 0, 0.03, 22, 1, 0.05, 21, -1, 0.04, 22, -1, 0.02, 22, 0, 0.02, 22, -1, 0.03, 22, 0, 0.03, 22, 0, 0.03, 22, -1, 0.03, 22, 0, 0.03, 22, 0, 0.03, 22, -1, 0, 22, -1, -0.02, 22, -2, 0, 22, -1, -0.01, 22, -2, -0.02, 22, -1, -0.02, 22, -1, -0.02, 22, -2, -0.02, 22, -1, -0.02, 22, -2, -0.03, 21, -3, -0.07, 22, -2, -0.09, 22, -4, -0.07, 22, -2, -0.08, 21, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 20, -8, -0.07, 20, -8, -0.07, 20, -8, -0.07, 20, -7, -0.06, 20, -6, -0.06, 20, -7, -0.06, 20, -6, -0.05, 20, -6, -0.05, 20, -5, -0.04, 20, -5, -0.04, 20, -5, -0.04, 19, -4, -0.04, 20, -4, -0.03, 19, -3, -0.03, 20, -4, -0.03, 19, -3, -0.03, 19, -2, -0.02, 19, -2, -0.02, 20, -2, -0.02, 19, -3, -0.07, 19, -3, -0.15, 19, -5, -0.22, 19, -5, -0.23, 20, -5, -0.18, 20, -5, -0.16, 20, -5, -0.14, 20, -4, -0.12, 21, -3, -0.08, 20, -4, -0.04, 20, -3, 0.01, 20, -2, 0.06, 20, -2, 0.13, 20, -2, 0.19, 19, -2, 0.27, 20, -1, 0.35, 20, 0, 0.44, 20, -1, 0.53, 19, 0, 0.61, 20, 1, 0.69, 19, 0, 0.76, 19, 2, 0.83, 20, 1, 0.9, 19, 1, 0.96, 19, 2, 1.01, 19, 3, 1.07, 19, 2, 1.1, 18, 3, 1.13, 19, 3, 1.14, 19, 4, 1.15, 18, 3, 1.14, 19, 4, 1.12, 18, 4, 1.1, 18, 5, 1.06, 19, 4, 1.02, 18, 5, 0.97, 18, 6, 0.91, 18, 5, 0.84, 18, 6, 0.77, 17, 6, 0.7, 18, 7, 0.61, 18, 7, 0.53, 16, 4, 0.34, 16, 0, 0, 14, -2, -0.22, 14, -10, -0.29, 14, -10, -0.31, 15, -10, -0.32, 15, -8, -0.37, 14, -8, -0.44, 14, -8, -0.51, 14, -7, -0.58, 14, -7, -0.66, 14, -7, -0.75, 14, -6, -0.84, 14, -6, -0.94, 14, -5, -1.03, 14, -5, -1.14, 13, -5, -1.24, 14, -4, -1.35, 14, -4, -1.47, 14, -3, -1.58, 14, -3, -1.7, 14, -3, -1.82, 13, -2, -1.94, 14, -2, -2.07, 14, -2, -2.2, 14, -2, -2.33, 14, -1, -2.46, 13, -1, -2.59, 14, -1, -2.71, 14, 0, -2.83, 14, -1, -2.94, 13, 0, -3.04, 14, 1, -3.13, 13, 0, -3.22, 14, 1, -3.3, 13, 1, -3.38, 14, 2, -3.46, 13, 1, -3.55, 13, 2, -3.64, 13, 3, -3.74, 14, 2, -3.84, 13, 3, -3.94, 13, 3, -4.05, 13, 4, -4.16, 13, 3, -4.27, 13, 4, -4.39, 13, 4, -4.5, 13, 5, -4.63, 12, 4, -4.75, 13, 5, -4.87, 12, 6, -5, 12, 5, -5.13, 13, 6, -5.26, 12, 7, -5.39, 12, 6, -5.53, 11, 7, -5.66, 12, 7, -5.8, 12, 8, -5.93, 11, 8, -6.06, 12, 9, -6.18, 11, 7, -6.34, 10, 2, -6.51, 11, -4, -6.48, 9, -5, -6.55, 10, -6, -6.61, 10, -6, -6.63, 10, -5, -6.68, 11, -4, -6.72, 10, -5, -6.73, 11, -5, -6.71, 11, -6, -6.72, 10, -6, -6.76, 10, -7, -6.81, 10, -6, -6.85, 11, -7, -6.89, 10, -7, -6.88, 11, -8, -6.87, 10, -8, -6.87, 11, -7, -6.87, 11, -8, -6.87, 10, -8, -6.87, 11, -8, -6.87, 12, -8, -6.87, 11, -8, -6.87, 11, -9, -6.87, 12, -8, -6.87, 11, -8, -6.87, 12, -9, -6.87, 12, -8, -6.87, 12, -9, -6.87, 12, -9, -6.87, 12, -9, -6.87, 12, -9, -6.87, 13, -9, -6.87, 12, -9, -6.87, 13, -9, -6.87, 13, -9, -6.87, 13, -10, -6.87, 12, -10, -6.9, 12, -10, -6.94, 13, -10, -6.96, 12, -11, -6.95, 12, -12, -6.93, 13, -11, -6.92, 12, -11, -6.92, 13, -11, -6.93, 13, -11, -6.94, 13, -11, -6.96, 13, -11, -6.97, 13, -12, -6.96, 13, -11, -6.96)); AddData(new Array(13, -12, -6.96, 13, -12, -6.96, 14, -11, -6.96, 13, -12, -6.96, 14, -12, -6.96, 13, -13, -6.97, 13, -12, -7.01, 14, -13, -7.03, 13, -13, -7.04, 14, -12, -7.04, 14, -12, -7.03, 13, -12, -7.01, 14, -11, -6.99, 13, -11, -6.97, 14, -10, -6.95, 14, -11, -6.92, 13, -10, -6.87, 14, -11, -6.83, 15, -11, -6.79, 14, -10, -6.76, 14, -10, -6.72, 14, -9, -6.69, 15, -9, -6.66, 14, -9, -6.64, 13, -8, -6.62, 14, -9, -6.64, 14, -9, -6.65, 14, -8, -6.66, 13, -8, -6.69, 14, -9, -6.72, 15, -7, -6.75, 14, -8, -6.78, 14, -8, -6.78, 15, -8, -6.75, 14, -7, -6.75, 14, -8, -6.73, 14, -7, -6.72, 14, -6, -6.71, 14, -6, -6.7, 14, -6, -6.69, 14, -5, -6.68, 14, -6, -6.67, 14, -4, -6.66, 14, -5, -6.66, 14, -4, -6.65, 13, -3, -6.64, 14, -5, -6.64, 13, -6, -6.64, 13, -7, -6.68, 12, -7, -6.74, 13, -6, -6.76, 12, -6, -6.75, 13, -6, -6.76, 13, -6, -6.75, 13, -6, -6.75, 12, -5, -6.75, 13, -5, -6.75, 13, -4, -6.75, 12, -4, -6.75, 13, -4, -6.75, 12, -3, -6.75, 13, -4, -6.74, 12, -2, -6.74, 13, -3, -6.74, 12, -3, -6.71, 13, -3, -6.65, 14, -4, -6.58, 13, -5, -6.57, 12, -5, -6.58, 14, -4, -6.56, 14, -4, -6.54, 14, -5, -6.52, 14, -4, -6.49, 15, -4, -6.49, 15, -4, -6.5, 15, -4, -6.51, 15, -4, -6.51, 15, -5, -6.51, 15, -4, -6.51, 16, -4, -6.51, 16, -5, -6.51, 16, -4, -6.51, 16, -5, -6.51, 17, -5, -6.51, 16, -5, -6.51, 17, -5, -6.52, 17, -4, -6.52, 17, -5, -6.52, 18, -5, -6.52, 18, -5, -6.52, 18, -5, -6.52, 18, -6, -6.51, 18, -5, -6.5, 19, -4, -6.49, 19, -5, -6.47, 20, -4, -6.46, 19, -4, -6.45, 19, -4, -6.44, 19, -3, -6.43, 19, -3, -6.42, 18, -2, -6.41, 19, -2, -6.4, 19, -3, -6.41, 18, -3, -6.44, 19, -4, -6.43, 19, -3, -6.44, 19, -4, -6.44, 20, -3, -6.43, 20, -4, -6.42, 20, -4, -6.42, 20, -3, -6.42, 20, -4, -6.42, 21, -4, -6.41, 21, -4, -6.41, 21, -3, -6.39, 21, -3, -6.38, 22, -3, -6.36, 21, -3, -6.35, 21, -2, -6.34, 22, -2, -6.33, 21, -1, -6.32, 21, -3, -6.35, 21, -2, -6.35, 21, -3, -6.34, 22, -2, -6.34, 21, -2, -6.35, 22, -3, -6.36, 22, -2, -6.35, 22, -2, -6.33, 22, -2, -6.32, 22, -2, -6.31, 21, -1, -6.3, 22, 0, -6.3, 21, -1, -6.29, 21, 0, -6.28, 21, 0, -6.28, 22, 1, -6.27, 21, 1, -6.26, 21, 1, -6.26, 21, 1, -6.25, 20, 2, -6.25, 21, 3, -6.25, 21, 2, -6.24, 21, 3, -6.24, 20, 3, -6.22, 21, 4, -6.2, 20, 4, -6.17, 21, 4, -6.13, 20, 4, -6.09, 21, 5, -6.05, 20, 5, -6.02, 20, 6, -5.99, 20, 6, -5.96, 21, 6, -5.93, 19, 6, -5.91, 20, 7, -5.88, 20, 7, -5.87, 20, 7, -5.87, 19, 8, -5.88, 20, 7, -5.9, 19, 9, -5.93, 20, 8, -5.97, 19, 9, -6.01, 19, 9, -6.06, 19, 8, -6.17, 18, 2, -6.25, 21, -2, -6.27, 20, -2, -6.29, 20, -3, -6.31, 21, -5, -6.32, 20, -2, -6.38, 21, -2, -6.39, 21, -2, -6.41, 21, -2, -6.41, 20, -4, -6.4, 21, -4, -6.43, 21, -4, -6.42, 21, -3, -6.42, 21, -6, -6.33, 22, -5, -6.22, 21, -4, -6.14, 20, -5, -6.06, 21, -3, -5.98, 21, -4, -5.89, 20, -3, -5.8, 21, -3, -5.7, 20, -2, -5.61, 20, -2, -5.51, 21, -1, -5.43, 20, -1, -5.34, 20, -1, -5.27, 19, -1, -5.2, 20, 0, -5.13, 20, 0, -5.07, 19, 0, -5.01, 20, 1, -4.96, 19, 1, -4.91, 20, 1, -4.86, 19, 2, -4.82, 19, 2, -4.77, 19, 2, -4.74, 19, 2, -4.7, 19, 3, -4.67, 19, 3, -4.64, 19, 4, -4.63, 19, 3, -4.64, 19, 4, -4.65, 19, 5, -4.67, 18, 4, -4.7, 19, 5, -4.74, 19, 5, -4.78, 18, 5, -4.84, 19, 6, -4.9, 18, 6, -4.96, 18, 6, -5.04, 19, 6, -5.12, 18, 7, -5.2, 18, 7, -5.29, 18, 7, -5.38, 17, 8, -5.47, 18, 8, -5.55, 18, 8, -5.63, 17, 9, -5.7, 18, 9, -5.76, 17, 10, -5.82, 18, 9, -5.88, 17, 10, -5.94, 18, 11, -5.99, 17, 10, -6.03, 17, 10, -5.99, 19, 6, -5.96, 19, 1, -6.08, 20, 2, -6.14, 19, 1, -6.17, 19, 0, -6.22, 20, 1, -6.27, 19, -1, -6.27, 20, -1, -6.27, 21, -2, -6.23, 21, -1, -6.21, 21, -1, -6.2, 21, -1, -6.2, 22, -1, -6.21, 21, -1, -6.25, 22, -2, -6.32, 21, -1, -6.37, 21, -3, -6.39, 22, -5, -6.41, 21, -3, -6.4, 21, -4, -6.41, 22, -4, -6.41, 21, -3, -6.41, 22, -4, -6.41, 22, -4, -6.41, 21, -3, -6.41, 22, -4, -6.41, 22, -5, -6.45, 20, -5, -6.51, 21, -6, -6.56, 20, -7, -6.56, 21, -8, -6.54, 21, -6, -6.54, 21, -6, -6.54, 21, -7, -6.53, 21, -5, -6.52, 21, -6, -6.52, 21, -6, -6.52, 21, -7, -6.52, 21, -6, -6.52, 21, -6, -6.52, 21, -6, -6.52, 21, -6, -6.52, 21, -6, -6.52, 21, -7, -6.52, 21, -6, -6.52, 21, -6, -6.52, 21, -6, -6.51, 22, -6, -6.5, 21, -5, -6.49, 21, -5, -6.48, 21, -5, -6.47, 21, -4, -6.46, 21, -4, -6.45, 20, -4, -6.44, 21, -4, -6.44, 20, -3, -6.43, 21, -2, -6.42, 20, -3, -6.42, 21, -2, -6.41, 20, -1, -6.4, 20, -2, -6.4, 20, -1, -6.4, 20, 0, -6.39, 20, -1, -6.39, 20, 0, -6.38, 20, 1, -6.38, 20, 0, -6.38, 20, 1, -6.37, 19, 2, -6.37, 20, 1, -6.37, 19, 2, -6.36, 20, 3, -6.36, 19, 2, -6.36, 20, 3, -6.36, 19, 4, -6.36, 19, 3, -6.35, 20, 3, -6.29, 20, 0, -6.27, 21, -1, -6.26, 21, -1, -6.25, 21, -1, -6.27, 21, 0, -6.26, 21, 1, -6.25, 22, 0, -6.25, 21, 1, -6.24, 21, 2, -6.23, 22, 1, -6.2, 21, 1, -6.2, 22, 0, -6.21, 22, 1, -6.2, 22, 1, -6.2, 22, 1, -6.2, 22, 0, -6.2, 22, 1, -6.2, 22, 1, -6.19, 22, 1, -6.18, 22, 2, -6.17, 22, 1, -6.16, 21, 3, -6.15, 22, 2, -6.14, 21, 3, -6.13, 21, 3, -6.12, 22, 3, -6.11, 21, 4, -6.11, 21, 3, -6.14, 21, 2, -6.14, 22, -3, -6.12, 22, -3, -6.12, 21, -2, -6.11, 22, -2, -6.1, 21, -2, -6.09, 21, -1, -6.08, 21, -1, -6.08, 22, -1, -6.07, 21, 0, -6.07, 21, 0, -6.06, 21, 0, -6.06, 20, 1, -6.05, 21, 1, -6.05, 21, 1, -6.04, 20, 2, -6.04, 21, 2, -6.03, 21, 2, -6.03, 20, 3, -6.03, 20, 3, -6.03, 21, 3, -6.02, 20, 4, -6.02, 20, 4, -6.02, 20, 4, -6.02, 20, 5, -6.01, 20, 5, -6.01, 20, 5, -6.01, 20, 5, -6.01, 19, 6, -6.01, 21, 6, -6.01, 20, 7, -6.01, 20, 7, -6, 20, 7, -5.98, 19, 8, -5.95, 20, 8, -5.91, 20, 8, -5.87, 20, 8, -5.84, 20, 9, -5.81, 19, 9, -5.78, 20, 10, -5.75, 19, 9, -5.73, 19, 10, -5.71, 20, 11, -5.69, 19, 10, -5.67, 19, 11, -5.65, 18, 11, -5.64, 19, 11, -5.63, 19, 12, -5.62, 18, 11, -5.61, 18, 12, -5.6, 18, 13, -5.59, 18, 12, -5.59, 18, 13, -5.58, 17, 13, -5.58, 18, 13, -5.57, 17, 13, -5.57, 17, 13, -5.57, 17, 14, -5.57, 17, 14, -5.56, 16, 14, -5.56, 17, 14, -5.56, 16, 15, -5.56, 16, 15, -5.56, 16, 14, -5.56, 16, 15, -5.56, 16, 16, -5.55, 15, 15, -5.55, 15, 16, -5.55, 15, 15, -5.55, 15, 16, -5.55, 15, 16, -5.55, 15, 16, -5.55, 14, 17, -5.55, 16, 14, -5.53, 17, 13, -5.51, 18, 13, -5.5, 17, 12, -5.55, 18, 11, -5.61, 17, 13, -5.6, 18, 14, -5.61, 18, 13, -5.61, 17, 14, -5.61, 18, 13, -5.6, 17, 14, -5.59, 18, 13, -5.59, 18, 14, -5.59, 17, 13, -5.59, 18, 13, -5.59, 18, 14, -5.59, 17, 13, -5.59, 18, 14, -5.59, 18, 13, -5.59, 18, 13, -5.59, 17, 14, -5.59, 18, 12, -5.62, 19, 12, -5.67, 18, 12, -5.69, 19, 12, -5.67, 19, 12, -5.68, 19, 11, -5.68, 18, 12, -5.68, 19, 12, -5.68, 19, 12, -5.68, 19, 12, -5.68, 19, 11, -5.68, 18, 12, -5.68, 19, 12, -5.69, 20, 10, -5.75, 19, 9, -5.8, 21, 8, -5.81, 20, 9, -5.82, 20, 9, -5.82, 19, 8, -5.82, 20, 9, -5.79, 20, 9, -5.82, 20, 9, -5.82, 19, 9, -5.8, 20, 8, -5.84, 21, 7, -5.89, 20, 6, -5.91, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 21, 7, -5.92, 22, 6, -5.96, 21, 5, -6.02, 20, 5, -6.07, 22, 4, -6.07, 22, 4, -6.06, 22, 4, -6.05, 21, 4, -6.05, 22, 4, -6.05, 22, 5, -6.05, 21, 4, -6.05, 22, 4, -6.05, 22, 4, -6.05, 21, 4, -6.06, 22, 4, -6.08, 21, 3, -6.12, 22, 3, -6.09, 22, 3, -6.1, 21, 3, -6.08, 22, 3, -6.1, 21, 3, -6.1, 22, 3, -6.1, 22, 3, -6.1, 22, 3, -6.1, 22, 3, -6.1, 22, 3, -6.1, 22, 3, -6.1, 21, 3, -6.1, 22, 2, -6.14, 22, 1, -6.19, 22, 0, -6.19, 22, 1, -6.18, 22, 1, -6.18, 22, 1, -6.17, 21, 1, -6.22)); AddData(new Array(22, 1, -6.2, 22, 0, -6.2, 21, 2, -6.17, 22, 0, -6.2, 21, 1, -6.2, 21, 0, -6.18, 22, 0, -6.24, 21, 0, -6.25, 23, 1, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.22, 22, 0, -6.23, 22, 0, -6.21, 22, 1, -6.19, 21, 1, -6.18, 22, 2, -6.17, 22, 1, -6.19, 21, 1, -6.2, 23, 1, -6.2, 22, 1, -6.2, 22, 1, -6.2, 22, 1, -6.2, 22, 1, -6.2, 22, 0, -6.2, 22, 1, -6.2, 22, 1, -6.2, 22, 1, -6.2, 22, 1, -6.19, 22, 1, -6.19, 22, 2, -6.17, 22, 1, -6.16, 22, 2, -6.15, 21, 3, -6.14, 22, 2, -6.13, 21, 3, -6.12, 21, 3, -6.11, 21, 4, -6.1, 21, 4, -6.1, 22, 3, -6.13, 21, 2, -6.13, 22, 3, -6.12, 21, 3, -6.11, 22, 2, -6.1, 22, 4, -6.09, 22, 3, -6.08, 21, 4, -6.07, 22, 4, -6.06, 21, 4, -6.05, 21, 4, -6.04, 21, 5, -6.03, 21, 5, -6.03, 21, 6, -6.02, 21, 6, -6.01, 21, 6, -6.01, 20, 6, -6, 21, 7, -6, 21, 7, -6.01, 21, 5, -6, 21, 4, -6.02, 22, 5, -6.01, 21, 5, -6, 21, 6, -5.99, 22, 6, -5.98, 21, 6, -5.98, 20, 6, -5.97, 21, 7, -5.97, 21, 7, -5.96, 20, 7, -5.96, 20, 8, -5.96, 21, 8, -5.95, 20, 8, -5.95, 20, 7, -5.9, 21, 7, -5.9, 21, 6, -5.93, 21, 7, -5.93, 20, 7, -5.92, 21, 7, -5.93, 21, 7, -5.9, 21, 7, -5.91, 20, 7, -5.9, 21, 7, -5.89, 21, 8, -5.88, 20, 8, -5.87, 20, 8, -5.86, 20, 8, -5.88, 21, 8, -5.88, 21, 8, -5.88, 21, 8, -5.88, 20, 8, -5.87, 21, 8, -5.86, 20, 8, -5.85, 20, 9, -5.84, 20, 9, -5.83, 20, 9, -5.83, 19, 10, -5.82, 20, 9, -5.82, 19, 10, -5.82, 19, 11, -5.81, 19, 10, -5.81, 19, 11, -5.81, 19, 11, -5.81, 19, 11, -5.8, 18, 12, -5.8, 19, 11, -5.8, 18, 12, -5.8, 18, 12, -5.8, 18, 13, -5.8, 17, 12, -5.8, 18, 13, -5.8, 17, 13, -5.8, 18, 13, -5.79, 19, 10, -5.78, 20, 8, -5.77, 21, 8, -5.77, 20, 7, -5.81, 21, 6, -5.88, 20, 6, -5.95, 21, 7, -5.96, 21, 7, -5.95, 21, 7, -5.95, 22, 6, -5.96, 21, 4, -6.04, 20, 1, -6.14, 22, -1, -6.18, 21, -2, -6.22, 21, -3, -6.26, 22, -2, -6.28, 22, -2, -6.29, 21, -2, -6.31, 21, -1, -6.33, 22, -1, -6.34, 21, 0, -6.35, 21, 0, -6.37, 21, 0, -6.38, 22, 0, -6.35, 22, -1, -6.3, 22, -2, -6.3, 21, -2, -6.35, 22, -3, -6.43, 19, -7, -6.5, 19, -8, -6.51, 19, -9, -6.52, 20, -9, -6.45, 19, -6, -6.45, 19, -7, -6.46, 19, -7, -6.48, 19, -6, -6.5, 19, -5, -6.54, 18, -6, -6.58, 19, -5, -6.63, 18, -5, -6.68, 19, -4, -6.75, 18, -4, -6.82, 18, -3, -6.89, 18, -3, -6.97, 18, -3, -7.06, 18, -3, -7.15, 18, -2, -7.25, 18, -2, -7.34, 18, -3, -7.43, 19, -3, -7.52, 18, -2, -7.63, 18, -2, -7.73, 19, -2, -7.82, 18, -1, -7.89, 18, -1, -7.95, 19, -1, -7.99, 18, -1, -8.02, 18, 0, -8.04, 18, 0, -8.05, 18, 0, -8.04, 19, 0, -8.03, 18, 1, -8, 17, 1, -7.97, 18, 2, -7.93, 18, 1, -7.88, 18, 2, -7.83, 18, 3, -7.76, 18, 2, -7.69, 17, 3, -7.62, 18, 3, -7.54, 18, 4, -7.45, 17, 3, -7.36, 18, 5, -7.28, 17, 4, -7.2, 18, 5, -7.13, 17, 5, -7.06, 18, 6, -7, 17, 6, -6.94, 17, 6, -6.88, 18, 7, -6.83, 17, 7, -6.78, 17, 7, -6.73, 17, 7, -6.7, 16, 8, -6.68, 17, 8, -6.67, 17, 9, -6.67, 16, 9, -6.69, 16, 9, -6.71, 17, 9, -6.74, 16, 10, -6.78, 16, 10, -6.83, 16, 11, -6.88, 16, 10, -6.94, 16, 11, -7.01, 16, 12, -7.08, 15, 11, -7.16, 18, 12, -7.34, 17, 2, -7.11, 18, 0, -6.97, 18, 1, -6.91, 16, 1, -6.9, 19, 0, -6.77, 19, 0, -6.67, 19, 1, -6.58, 19, 0, -6.5, 19, 1, -6.43, 20, 2, -6.36, 19, 1, -6.29, 18, 2, -6.21, 20, 0, -6.16, 18, -1, -6.16, 19, 0, -6.16, 19, 1, -6.17, 19, 1, -6.18, 19, 1, -6.2, 18, 1, -6.24, 19, 1, -6.23, 19, 1, -6.21, 18, 1, -6.21, 20, 1, -6.2, 19, 1, -6.2, 19, 1, -6.18, 20, 2, -6.18, 20, 2, -6.18, 19, 2, -6.2, 20, 2, -6.23, 19, 3, -6.26, 19, 3, -6.31, 20, 3, -6.35, 19, 4, -6.38, 19, 4, -6.42, 19, 4, -6.45, 19, 5, -6.48, 19, 5, -6.51, 19, 5, -6.54, 19, 5, -6.56, 19, 6, -6.59, 18, 7, -6.61, 19, 6, -6.63, 19, 7, -6.65, 18, 7, -6.66, 19, 8, -6.65, 18, 7, -6.64, 19, 8, -6.62, 18, 9, -6.59, 19, 9, -6.56, 18, 9, -6.53, 19, 9, -6.5, 18, 9, -6.48, 18, 10, -6.47, 18, 11, -6.46, 18, 10, -6.47, 18, 11, -6.49, 18, 11, -6.52, 17, 11, -6.56, 18, 12, -6.59, 17, 12, -6.61, 17, 12, -6.65, 18, 12, -6.68, 17, 13, -6.72, 16, 13, -6.75, 17, 13, -6.79, 16, 13, -6.83, 16, 13, -6.87, 16, 14, -6.9, 18, 12, -6.9, 19, 7, -6.77, 19, 7, -6.68, 20, 6, -6.54, 20, 6, -6.4, 21, 5, -6.24, 20, 6, -6.12, 21, 6, -6.03, 20, 4, -6.04, 21, 2, -6.07, 20, 2, -6.11, 21, 2, -6.17, 20, 1, -6.24, 21, 1, -6.28, 22, 1, -6.29, 22, 0, -6.32, 22, 1, -6.34, 22, 2, -6.35, 22, 1, -6.36, 22, 1, -6.35, 22, 1, -6.33, 22, 2, -6.31, 22, 1, -6.29, 22, 1, -6.25, 22, 1, -6.22, 22, 0, -6.22, 22, -1, -6.25, 22, 0, -6.25, 22, 1, -6.24, 22, -1, -6.25, 22, -1, -6.29, 21, -1, -6.32, 22, -1, -6.32, 22, -3, -6.35, 22, -2, -6.36, 21, -3, -6.35, 22, -3, -6.35, 22, -2, -6.36, 22, -3, -6.36, 22, -2, -6.36, 21, -3, -6.36, 22, -3, -6.37, 22, -4, -6.41, 21, -4, -6.44, 21, -5, -6.43, 22, -4, -6.43, 22, -5, -6.43, 21, -4, -6.44, 22, -4, -6.44, 21, -5, -6.44, 22, -4, -6.44, 21, -5, -6.44, 22, -4, -6.44, 21, -5, -6.47, 21, -6, -6.53, 20, -7, -6.53, 21, -7, -6.52, 21, -6, -6.52, 20, -6, -6.52, 21, -6, -6.54, 21, -6, -6.53, 21, -6, -6.53, 21, -6, -6.51, 21, -6, -6.5, 21, -5, -6.5, 21, -5, -6.49, 21, -4, -6.48, 20, -5, -6.48, 21, -3, -6.47, 21, -4, -6.47, 20, -3, -6.46, 21, -3, -6.46, 20, -2, -6.45, 20, -2, -6.45, 21, -2, -6.44, 20, -2, -6.44, 20, -1, -6.44, 20, -1, -6.43, 20, 0, -6.43, 20, 0, -6.43, 20, 0, -6.43, 19, 1, -6.42, 20, 1, -6.42, 20, 1, -6.42, 19, 1, -6.42, 20, 2, -6.42, 19, 2, -6.41, 19, 3, -6.39, 20, 1, -6.32, 21, 1, -6.23, 20, 0, -6.21, 20, -1, -6.21, 21, 0, -6.22, 21, 0, -6.23, 20, 0, -6.23, 21, 1, -6.23, 21, 1, -6.21, 22, 1, -6.2, 21, 1, -6.19, 21, 2, -6.18, 22, 2, -6.17, 21, 2, -6.16, 21, 3, -6.15, 21, 3, -6.14, 21, 3, -6.14, 21, 4, -6.13, 20, 4, -6.12, 21, 4, -6.12, 21, 5, -6.11, 20, 5, -6.11, 21, 5, -6.1, 20, 6, -6.1, 21, 6, -6.09, 20, 6, -6.09, 20, 6, -6.08, 20, 7, -6.08, 21, 7, -6.08, 20, 8, -6.07, 20, 7, -6.07, 19, 8, -6.07, 20, 9, -6.06, 20, 8, -6.06, 20, 9, -6.06, 19, 10, -6.06, 20, 9, -6.06, 19, 10, -6.05, 20, 10, -6.05, 19, 9, -5.97, 20, 8, -5.89, 21, 7, -5.86, 21, 6, -5.86, 21, 5, -5.89, 21, 5, -5.95, 20, 4, -6.02, 22, 6, -6.02, 21, 5, -6.03, 22, 3, -6.08, 21, 4, -6.11, 22, 1, -6.16, 22, 1, -6.24, 21, 1, -6.24, 22, 1, -6.23, 22, 1, -6.23, 22, 0, -6.23, 22, 0, -6.24, 22, 0, -6.23, 22, 0, -6.24, 22, -1, -6.24, 22, 1, -6.24, 22, -1, -6.23, 21, 1, -6.21, 22, 0, -6.22, 21, 0, -6.24, 22, -1, -6.22, 22, 0, -6.24, 22, 0, -6.24, 22, 1, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 21, -1, -6.24, 21, 0, -6.23, 20, 1, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 19, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 19, 0, -6.24, 20, 0, -6.24, 19, 0, -6.24, 20, 0, -6.24, 19, 0, -6.24)); StopData(); StartData(1); AddData(new Array(902, 767, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.05, 7, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 9, 0, 0.05, 11, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 12, 0, 0.05, 14, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, -1, 0.02, 17, 0, 0.01, 18, -1, 0, 18, 0, 0.01, 18, 0, 0.02, 19, 1, 0.03, 19, -1, 0.03, 18, -1, -0.01, 19, -1, 0, 20, 0, 0, 19, -1, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 20, -1, 0, 21, -1, 0, 20, 0, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 20, 0, 0, 21, -1, 0, 20, -1, 0, 20, -1, 0, 21, -1, -0.01, 20, -1, -0.02, 20, -2, -0.01, 21, -1, -0.02, 20, -1, -0.02, 20, -1, -0.02, 21, -2, -0.02, 20, -1, -0.02, 20, -1, -0.02, 21, -1, -0.02, 20, -2, -0.02, 20, -1, -0.02, 21, -1, -0.02, 20, -1, -0.02, 20, -2, -0.02, 20, -1, -0.02, 21, -1, -0.02, 19, -6, 0, 19, -7, 0, 19, -5, 0, 19, -6, 0.01, 19, -5, 0.01, 19, -5, 0.02, 18, -4, 0.02, 19, -4, 0.02, 19, -4, 0.03, 18, -3, 0.03, 19, -3, 0.03, 19, -2, 0.03, 18, -3, 0.04, 18, -2, 0.04, 19, -1, 0.04, 18, -2, 0.04, 18, 0, 0.05, 18, -1, 0.05, 18, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05, 18, 1, 0.05, 18, 1, 0.06, 17, 1, 0.06, 18, 2, 0.06, 18, 2, 0.06, 17, 2, 0.06, 18, 3, 0.03, 18, 1, -0.05, 17, -2, -0.06, 17, -3, -0.09, 18, -3, -0.12, 18, -5, -0.14, 19, -4, -0.08, 19, -3, -0.1, 19, -3, -0.1, 19, -3, -0.09, 20, -2, -0.09, 19, -2, -0.09, 19, -2, -0.1, 18, -3, -0.13, 19, -5, -0.11, 19, -4, -0.06, 20, -5, -0.02, 19, -4, 0.01, 20, -5, 0.04, 20, -4, 0.05, 20, -3, 0.05, 20, -4, 0.04, 20, -3, 0.02, 20, -4, 0, 20, -3, -0.04, 20, -3, -0.07, 20, -3, -0.12, 19, -2, -0.16, 20, -4, -0.15, 20, -4, -0.14, 20, -4, -0.12, 20, -3, -0.12, 19, -4, -0.11, 20, -3, -0.11, 21, -3, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 20, -3, -0.12, 20, -4, -0.12, 20, -3, -0.12, 20, -4, -0.13, 20, -4, -0.17, 19, -5, -0.17, 20, -6, -0.12, 19, -5, -0.09, 20, -5, -0.06, 20, -5, -0.05, 19, -5, -0.05, 20, -4, -0.06, 20, -5, -0.08, 20, -4, -0.1, 20, -4, -0.13, 19, -4, -0.17, 20, -4, -0.21, 20, -5, -0.2, 20, -5, -0.19, 19, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 20, -5, -0.19, 19, -4, -0.19, 20, -5, -0.19, 20, -5, -0.19, 19, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 19, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 19, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 19, -5, -0.2, 20, -5, -0.2, 20, -5, -0.2, 19, -5, -0.2, 20, -5, -0.2, 20, -6, -0.22, 18, -6, -0.28, 19, -7, -0.35, 19, -6, -0.36, 19, -7, -0.37, 19, -6, -0.38, 19, -5, -0.39, 19, -6, -0.38, 19, -6, -0.37, 20, -6, -0.36, 19, -5, -0.34, 20, -6, -0.31, 20, -5, -0.29, 19, -5, -0.25, 20, -7, -0.26, 19, -6, -0.27, 19, -6, -0.26, 20, -6, -0.25, 19, -6, -0.25, 20, -6, -0.25, 19, -6, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -7, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -7, -0.26, 19, -6, -0.26, 19, -6, -0.26, 20, -6, -0.26, 19, -6, -0.26, 19, -7, -0.26, 20, -6, -0.26, 19, -6, -0.26, 19, -6, -0.26, 19, -6, -0.25, 19, -7, -0.26, 20, -5, -0.24, 20, -6, -0.22, 19, -5, -0.21, 19, -5, -0.2, 19, -4, -0.19, 19, -5, -0.22, 19, -5, -0.22, 19, -5, -0.22, 20, -5, -0.21, 20, -5, -0.21, 19, -5, -0.22, 20, -5, -0.22, 19, -7, -0.25, 19, -6, -0.31, 19, -7, -0.35, 19, -6, -0.36, 19, -6, -0.37, 19, -6, -0.38, 18, -5, -0.39, 19, -5, -0.4, 19, -4, -0.41, 18, -5, -0.42, 19, -4, -0.43, 18, -3, -0.44, 19, -3, -0.44, 18, -3, -0.45, 18, -3, -0.45, 19, -2, -0.46, 18, -1, -0.47, 18, -2, -0.47, 18, -1, -0.47, 18, -1, -0.48, 18, 0, -0.48, 18, 0, -0.49, 18, 0, -0.49, 18, 0, -0.49, 17, 1, -0.5, 18, 1, -0.5, 18, 2, -0.5, 17, 2, -0.5, 18, 2, -0.51, 17, 2, -0.51, 17, 3, -0.51, 18, 3, -0.51, 17, 4, -0.51, 18, 2, -0.48, 18, 2, -0.42, 19, 1, -0.32, 19, 0, -0.21, 20, 0, -0.08, 20, 2, -0.01, 20, 1, 0.07, 20, 2, 0.14, 21, 1, 0.16, 20, 1, 0.15, 20, 0, 0.11, 20, 0, 0.04, 21, 1, 0.05, 21, 0, 0.06, 22, 0, 0.06, 21, 1, 0.07, 22, 0, 0.06, 22, 1, 0.07, 22, 0, 0.07, 22, 1, 0.07, 22, 0, 0.07, 22, 1, 0.07, 22, 0, 0.07, 22, 1, 0.08, 22, 0, 0.07, 21, 1, 0.1, 22, 1, 0.11, 22, 2, 0.12, 22, 2, 0.12, 22, 1, 0.11, 22, 1, 0.12, 23, 2, 0.11, 23, 1, 0.11, 22, 2, 0.11, 23, 1, 0.11, 23, 2, 0.11, 23, 1, 0.11, 22, 1, 0.11, 23, 2, 0.11, 23, 1, 0.11, 23, 2, 0.11, 22, 1, 0.11, 23, 1, 0.11, 23, 2, 0.11, 23, 1, 0.11, 22, 2, 0.11, 23, 1, 0.11, 23, 1, 0.11, 22, 2, 0.11, 23, 1, 0.11, 23, 2, 0.11, 23, 1, 0.11, 22, 2, 0.11, 23, 0, 0.09, 22, 0, 0.04, 22, 0, -0.03, 22, 1, -0.06, 21, 0, -0.1, 22, 2, -0.13, 21, 1, -0.16, 22, 2, -0.19, 21, 2, -0.22, 21, 2, -0.24, 22, 3, -0.26, 21, 3, -0.29, 21, 4, -0.31, 21, 4, -0.33, 21, 4, -0.34, 21, 4, -0.36, 21, 5, -0.38, 20, 5, -0.39, 21, 5, -0.41, 21, 5, -0.4, 21, 5, -0.37, 21, 4, -0.31, 22, 4, -0.23, 23, 3, -0.13, 22, 4, -0.08, 23, 5, -0.02, 22, 5, 0.03, 23, 5, 0.08, 23, 5, 0.13, 22, 6, 0.17, 22, 6, 0.21, 23, 6, 0.25, 22, 7, 0.29, 22, 7, 0.32, 22, 6, 0.31, 22, 6, 0.27, 23, 4, 0.27, 22, 3, 0.23, 23, 5, 0.22, 23, 5, 0.21, 24, 5, 0.21, 23, 5, 0.22, 24, 5, 0.23, 23, 5, 0.25, 23, 5, 0.34, 24, 4, 0.45, 23, 4, 0.52, 22, 5, 0.6, 23, 5, 0.67, 22, 6, 0.73, 23, 6, 0.79, 22, 6, 0.85, 22, 6, 0.9, 22, 7, 0.95, 22, 7, 1, 22, 8, 1.04, 22, 7, 1.08, 21, 8, 1.12, 22, 8, 1.15, 21, 9, 1.19, 22, 9, 1.22, 21, 9, 1.25, 22, 9, 1.28, 21, 10, 1.3, 21, 10, 1.32, 21, 10, 1.35, 21, 11, 1.37, 21, 11, 1.39, 21, 11, 1.41, 21, 11, 1.42, 20, 12, 1.44, 21, 12, 1.45, 21, 12, 1.47, 19, 12, 1.51, 21, 12, 1.52, 21, 11, 1.5, 22, 11, 1.45, 21, 11, 1.42, 22, 12, 1.4, 21, 12, 1.38, 21, 13, 1.36, 21, 13, 1.35, 20, 12, 1.34, 21, 13, 1.31, 22, 13, 1.28, 21, 12, 1.23, 22, 12, 1.18, 21, 13, 1.13, 21, 13, 1.09, 22, 13, 1.04, 21, 13, 0.99, 21, 13, 0.94, 21, 13, 0.88, 21, 13, 0.83, 21, 13, 0.76, 21, 13, 0.69, 21, 13, 0.62, 21, 14, 0.54, 22, 11, 0.57, 22, 11, 0.6, 23, 12, 0.61, 22, 12, 0.61, 22, 12, 0.61, 22, 12, 0.6, 22, 13, 0.58, 21, 12, 0.56, 22, 12, 0.54, 22, 12, 0.54, 23, 12, 0.53, 22, 11, 0.51, 21, 11, 0.51, 22, 10, 0.5, 23, 11, 0.49, 22, 10, 0.52, 22, 11, 0.49, 23, 11, 0.48, 22, 11, 0.49, 22, 10, 0.52, 22, 11, 0.49, 23, 11, 0.49, 22, 10, 0.49, 21, 12, 0.56, 22, 10, 0.52, 23, 10, 0.49, 23, 10, 0.45, 23, 10, 0.41, 23, 9, 0.42, 24, 9, 0.42, 23, 9, 0.42, 23, 10, 0.42, 24, 9, 0.42, 23, 9, 0.42, 23, 10, 0.42, 24, 9, 0.42, 23, 9, 0.42, 23, 10, 0.42, 24, 9, 0.42, 23, 9, 0.42, 23, 9, 0.42, 24, 9, 0.41, 22, 9, 0.41, 24, 7, 0.45, 24, 7, 0.52, 24, 8, 0.58, 24, 7, 0.63, 24, 8, 0.66, 24, 8, 0.68, 23, 9, 0.69, 24, 8, 0.68, 24, 9, 0.67, 23, 9, 0.65, 23, 9, 0.62, 23, 9, 0.58, 24, 9, 0.54, 23, 9, 0.48)); AddData(new Array(23, 9, 0.38, 24, 5, 0.28, 24, 3, 0.24, 24, 3, 0.21, 25, 2, 0.23, 24, 4, 0.21, 25, 4, 0.2, 24, 5, 0.2, 24, 4, 0.21, 24, 4, 0.21, 25, 4, 0.18, 25, 2, 0.13, 24, 3, 0.11, 25, 1, 0.12, 25, 2, 0.12, 25, 2, 0.12, 25, 2, 0.12, 25, 2, 0.12, 25, 1, 0.08, 25, 0, 0.03, 25, 0, 0.04, 25, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, -1, 0.04, 23, 0, 0.04, 24, 0, 0.03, 23, 0, 0.03, 23, 0, 0.03, 24, -1, 0.03, 23, 0, 0.03, 23, 0, 0.03, 23, -1, 0.03, 23, 0, 0.03, 23, 0, 0.03, 22, 0, 0.03, 23, -1, 0.03, 23, 0, 0.03, 22, -1, -0.01, 22, -3, -0.08, 22, -2, -0.14, 21, -4, -0.19, 22, -2, -0.18, 21, -2, -0.18, 22, -2, -0.18, 21, -1, -0.17, 22, -2, -0.15, 22, -1, -0.12, 21, -2, -0.09, 22, -1, -0.05, 21, -1, -0.03, 21, -2, -0.04, 20, -2, -0.05, 21, -2, -0.05, 21, -2, -0.05, 20, -3, -0.08, 20, -3, -0.13, 20, -4, -0.12, 20, -3, -0.11, 21, -4, -0.12, 21, -3, -0.13, 21, -4, -0.12, 21, -4, -0.12, 22, -4, -0.13, 21, -3, -0.13, 22, -4, -0.13, 22, -4, -0.13, 23, -4, -0.13, 22, -4, -0.13, 23, -4, -0.13, 23, -4, -0.13, 23, -4, -0.13, 24, -4, -0.13, 23, -5, -0.13, 24, -4, -0.13, 24, -4, -0.15, 24, -6, -0.19, 24, -6, -0.21, 24, -7, -0.17, 25, -7, -0.13, 24, -6, -0.09, 24, -5, -0.06, 24, -6, -0.03, 24, -5, -0.03, 24, -6, -0.04, 25, -6, -0.06, 24, -5, -0.08, 24, -5, -0.11, 24, -5, -0.14, 24, -4, -0.18, 23, -6, -0.24, 23, -7, -0.28, 21, -9, -0.29, 23, -8, -0.29, 21, -7, -0.27, 21, -8, -0.29, 21, -7, -0.28, 21, -7, -0.29, 21, -7, -0.29, 22, -8, -0.3, 20, -8, -0.34, 22, -8, -0.33, 20, -9, -0.3, 21, -9, -0.35, 22, -9, -0.36, 22, -9, -0.37, 22, -9, -0.37, 22, -8, -0.36, 22, -9, -0.35, 23, -9, -0.34, 23, -9, -0.34, 23, -10, -0.34, 22, -9, -0.34, 24, -8, -0.31, 22, -10, -0.32, 23, -9, -0.32, 23, -9, -0.31, 23, -9, -0.32, 23, -9, -0.33, 22, -8, -0.3, 23, -10, -0.33, 24, -9, -0.32, 23, -10, -0.33, 24, -9, -0.33, 24, -10, -0.34, 25, -9, -0.33, 25, -10, -0.33, 25, -9, -0.3, 24, -10, -0.31, 25, -8, -0.28, 25, -11, -0.29, 25, -9, -0.32, 24, -9, -0.32, 25, -9, -0.32, 26, -9, -0.3, 23, -9, -0.27, 25, -10, -0.31, 26, -9, -0.3, 24, -9, -0.3, 25, -8, -0.3, 26, -9, -0.28, 23, -8, -0.28, 25, -9, -0.28, 26, -9, -0.28, 26, -9, -0.28, 26, -9, -0.28, 26, -9, -0.28, 25, -9, -0.28, 26, -9, -0.28, 26, -8, -0.27, 26, -9, -0.26, 26, -8, -0.25, 26, -8, -0.24, 25, -7, -0.23, 26, -7, -0.23, 25, -7, -0.22, 26, -6, -0.21, 25, -6, -0.21, 25, -5, -0.2, 25, -5, -0.17, 26, -7, -0.13, 26, -5, -0.07, 25, -6, -0.04, 25, -6, -0.05, 26, -5, -0.04, 26, -5, -0.05, 26, -5, -0.05, 26, -5, -0.05, 27, -4, -0.07, 26, -5, -0.09, 27, -3, -0.11, 26, -4, -0.12, 26, -3, -0.14, 26, -3, -0.16, 26, -3, -0.17, 26, -2, -0.18, 26, -3, -0.14, 26, -2, -0.12, 26, -2, -0.1, 26, -2, -0.07, 27, -2, -0.03, 26, -1, 0.01, 27, -2, 0.04, 26, 0, 0.08, 27, -1, 0.11, 26, 0, 0.14, 26, 0, 0.16, 26, 0, 0.19, 26, 1, 0.21, 26, 1, 0.23, 26, 1, 0.22, 26, 0, 0.18, 27, 1, 0.16, 26, 2, 0.14, 27, 2, 0.12, 26, 2, 0.1, 26, 2, 0.08, 26, 3, 0.07, 26, 3, 0.05, 26, 3, 0.06, 27, 3, 0.1, 27, 3, 0.13, 26, 3, 0.14, 27, 1, 0.12, 27, 3, 0.16, 25, 1, 0.12, 28, 3, 0.15, 27, 3, 0.15, 26, 4, 0.16, 27, 3, 0.16, 27, 4, 0.17, 27, 4, 0.17, 26, 5, 0.18, 26, 5, 0.18, 27, 5, 0.19, 26, 6, 0.19, 26, 6, 0.19, 26, 6, 0.2, 26, 6, 0.2, 26, 7, 0.2, 26, 7, 0.2, 26, 7, 0.21, 25, 8, 0.21, 26, 8, 0.21, 25, 8, 0.21, 26, 9, 0.21, 25, 9, 0.22, 25, 9, 0.22, 25, 10, 0.22, 25, 10, 0.22, 25, 10, 0.22, 25, 10, 0.22, 25, 11, 0.22, 26, 7, 0.25, 26, 5, 0.25, 27, 5, 0.24, 27, 4, 0.25, 26, 3, 0.21, 25, 4, 0.2, 27, 4, 0.19, 27, 4, 0.2, 27, 5, 0.2, 26, 5, 0.3, 26, 4, 0.23, 27, 2, 0.12, 26, -1, 0.1, 27, -1, 0.06, 27, -1, 0.05, 27, 0, 0.06, 27, 0, 0.05, 27, 1, 0.05, 27, 0, 0.07, 26, 0, 0.05, 27, 0, 0.04, 27, 0, 0.03, 26, 0, 0.04, 26, -1, 0.04, 27, 0, 0.04, 28, -1, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, -1, 0.04, 28, -2, -0.02, 26, -3, -0.13, 26, -5, -0.19, 25, -4, -0.26, 27, -3, -0.3, 26, -2, -0.34, 26, -3, -0.37, 26, -2, -0.4, 27, -1, -0.43, 26, -2, -0.46, 26, -2, -0.44, 27, -3, -0.4, 27, -4, -0.34, 27, -3, -0.29, 28, -2, -0.24, 27, -3, -0.21, 26, -2, -0.17, 27, -3, -0.11, 26, -5, -0.09, 27, -5, -0.09, 26, -6, -0.13, 26, -6, -0.15, 27, -6, -0.2, 25, -8, -0.25, 26, -8, -0.23, 26, -8, -0.22, 27, -8, -0.23, 26, -8, -0.24, 26, -7, -0.25, 26, -8, -0.25, 26, -8, -0.25, 27, -8, -0.24, 26, -8, -0.19, 26, -9, -0.07, 26, -8, 0.02, 25, -8, 0.12, 26, -7, 0.22, 25, -7, 0.33, 25, -7, 0.44, 25, -6, 0.56, 25, -6, 0.67, 25, -5, 0.79, 25, -5, 0.91, 24, -5, 1.03, 24, -4, 1.14, 24, -4, 1.26, 24, -3, 1.38, 24, -3, 1.51, 24, -3, 1.63, 23, -2, 1.76, 23, -2, 1.88, 23, -2, 2.01, 23, -1, 2.15, 23, -2, 2.28, 23, -1, 2.41, 22, 0, 2.55, 23, -1, 2.68, 22, 0, 2.82, 22, 0, 2.96, 22, 0, 3.1, 23, 1, 3.24, 22, 1, 3.38, 22, 1, 3.52, 22, 1, 3.67, 22, 2, 3.81, 22, 1, 3.94, 22, 3, 4.07, 22, 2, 4.18, 22, 3, 4.29, 22, 3, 4.39, 22, 4, 4.49, 22, 3, 4.57, 22, 5, 4.66, 22, 4, 4.73, 22, 5, 4.8, 22, 5, 4.87, 21, 6, 4.94, 22, 6, 5.02, 22, 6, 5.11, 21, 7, 5.2, 22, 6, 5.28, 22, 7, 5.35, 22, 7, 5.42, 21, 8, 5.49, 22, 7, 5.55, 21, 9, 5.61, 21, 8, 5.67, 22, 9, 5.72, 21, 9, 5.76, 21, 9, 5.81, 21, 10, 5.85, 21, 10, 5.89, 21, 11, 5.93, 20, 9, 6.04, 19, -4, 6.11, 18, -5, 6.09, 19, -6, 6.11, 18, -7, 6.11, 18, -7, 6.07, 20, -5, 6.08, 19, -6, 6.07, 19, -5, 6.05, 19, -4, 6.04, 20, -5, 6, 18, -7, 5.95, 18, -8, 5.92, 17, -9, 5.9, 17, -11, 5.87, 16, -11, 5.82, 16, -11, 5.72, 14, -13, 5.66, 17, -12, 5.68, 16, -12, 5.67, 16, -12, 5.66, 17, -12, 5.66, 17, -13, 5.66, 17, -12, 5.67, 17, -12, 5.68, 18, -12, 5.7, 17, -12, 5.69, 17, -13, 5.69, 17, -13, 5.7, 18, -12, 5.71, 17, -13, 5.71, 17, -12, 5.71, 18, -13, 5.69, 17, -14, 5.65, 16, -14, 5.6, 17, -15, 5.63, 16, -15, 5.63, 17, -15, 5.64, 17, -15, 5.64, 17, -14, 5.63, 17, -15, 5.61, 17, -15, 5.6, 18, -15, 5.6, 17, -16, 5.6, 17, -15, 5.6, 18, -15, 5.6, 17, -16, 5.59, 16, -17, 5.53, 16, -16, 5.44, 15, -17, 5.34, 16, -16, 5.32, 17, -17, 5.27, 17, -16, 5.22, 16, -15, 5.17, 17, -16, 5.13, 17, -15, 5.1, 16, -16, 5.07, 17, -15, 5.05, 17, -15, 5.04, 16, -15, 5.04, 17, -14, 5.06, 17, -14, 5.08, 16, -13, 5.11, 17, -13, 5.15, 16, -13, 5.2, 17, -13, 5.24, 16, -12, 5.28, 16, -11, 5.32, 17, -12, 5.36, 16, -11, 5.39, 16, -10, 5.43, 16, -10, 5.46, 16, -10, 5.48, 16, -9, 5.51, 16, -9, 5.53, 16, -9, 5.56, 16, -8, 5.58, 16, -8, 5.6, 15, -8, 5.62, 16, -7, 5.63, 16, -7, 5.65, 15, -6, 5.67, 16, -6, 5.68, 15, -6, 5.69, 15, -6, 5.71, 16, -5, 5.72, 15, -4, 5.73, 15, -5, 5.74, 15, -4, 5.75, 16, -3, 5.76, 15, -4, 5.77, 15, -3, 5.77, 15, -2, 5.78, 14, -3, 5.79, 15, -2, 5.79, 15, -1, 5.8, 15, -1, 5.81, 15, -1, 5.81, 14, -1, 5.82, 15, 0, 5.82, 14, 0, 5.83, 15, 0, 5.83, 14, 1, 5.83, 15, 1, 5.84, 14, 1, 5.84, 14, 2, 5.84, 15, 2, 5.85, 14, 1, 5.92, 15, -3, 6.01, 15, -5, 6.06, 16, -6, 6.11, 14, -5, 6.06, 15, -5, 6.05, 15, -4, 6.04, 16, -4, 6.03, 15, -5, 6.05, 16, -4, 6.06, 15, -4, 6.05, 16, -5, 6.05, 16, -4, 6.05, 16, -5, 6.05, 17, -5, 6.05, 16, -4, 6.05, 17, -5, 6.05, 17, -5, 6.06, 18, -4, 6.07, 18, -5, 6.12, 18, -5, 6.16, 18, -5, 6.2, 18, -4, 6.24, 18, -3, 6.28, 17, -4, 6.31, 18, -3, 6.34, 18, -2, 6.37, 18, -3, 6.4)); AddData(new Array(17, -2, 6.4, 18, -3, 6.36, 17, -3, 6.32, 19, -3, 6.28, 18, -2, 6.24, 18, -3, 6.19, 19, -2, 6.13, 18, -3, 6.14, 20, -4, 6.14, 19, -4, 6.14, 19, -3, 6.14, 20, -4, 6.15, 20, -3, 6.16, 21, -3, 6.18, 20, -3, 6.19, 21, -3, 6.2, 21, -2, 6.22, 20, -2, 6.23, 21, -2, 6.24, 20, -1, 6.24, 20, -3, 6.22, 21, -3, 6.22, 21, -2, 6.22, 21, -2, 6.21, 21, -3, 6.21, 22, -2, 6.23, 21, -3, 6.21, 22, -2, 6.24, 23, -2, 6.26, 23, -1, 6.27, 22, -2, 6.28, 23, -1, 6.3, 22, 0, 6.31, 22, 0, 6.32, 22, 0, 6.33, 22, 0, 6.34, 22, 1, 6.35, 22, 1, 6.36, 22, 1, 6.36, 22, 2, 6.37, 22, 2, 6.38, 21, 2, 6.38, 22, 3, 6.39, 22, 3, 6.4, 21, 3, 6.4, 21, 4, 6.41, 22, 4, 6.41, 21, 4, 6.41, 21, 5, 6.42, 21, 5, 6.42, 21, 5, 6.43, 21, 6, 6.43, 21, 6, 6.43, 21, 6, 6.44, 20, 6, 6.44, 21, 7, 6.44, 20, 7, 6.44, 21, 8, 6.44, 20, 8, 6.45, 21, 8, 6.45, 20, 8, 6.45, 20, 9, 6.45, 21, 9, 6.45, 20, 9, 6.46, 19, 4, 6.35, 20, -1, 6.29, 20, -1, 6.28, 21, -3, 6.26, 21, -4, 6.25, 20, -5, 6.18, 21, -3, 6.15, 22, -4, 6.14, 21, -4, 6.19, 22, -6, 6.3, 22, -6, 6.4, 21, -5, 6.48, 22, -5, 6.56, 21, -5, 6.64, 22, -4, 6.71, 21, -4, 6.77, 21, -3, 6.83, 21, -4, 6.89, 21, -2, 6.94, 21, -3, 6.99, 21, -2, 7.04, 21, -2, 7.08, 21, -1, 7.12, 20, -1, 7.16, 21, -1, 7.2, 20, -1, 7.23, 20, 0, 7.26, 21, 0, 7.29, 20, 1, 7.31, 20, 0, 7.31, 20, 1, 7.31, 20, 2, 7.29, 20, 1, 7.27, 20, 2, 7.23, 19, 2, 7.2, 20, 3, 7.17, 20, 3, 7.15, 19, 3, 7.12, 20, 3, 7.1, 19, 4, 7.08, 19, 5, 7.05, 20, 4, 7.03, 19, 5, 7.02, 19, 5, 7, 19, 5, 6.98, 19, 6, 6.97, 19, 6, 6.95, 19, 7, 6.94, 19, 7, 6.93, 19, 7, 6.92, 18, 7, 6.91, 19, 8, 6.9, 18, 8, 6.89, 19, 8, 6.88, 18, 8, 6.87, 19, 9, 6.86, 18, 10, 6.86, 18, 9, 6.85, 19, 10, 6.84, 18, 10, 6.84, 18, 10, 6.83, 18, 11, 6.83, 18, 11, 6.82, 18, 11, 6.8, 18, 5, 6.57, 18, 2, 6.41, 19, 1, 6.31, 20, -2, 6.29, 20, -2, 6.27, 20, -4, 6.26, 20, -1, 6.28, 21, -1, 6.3, 20, -1, 6.31, 21, 0, 6.32, 20, 0, 6.33, 20, -1, 6.3, 21, -2, 6.24, 20, -2, 6.19, 20, -4, 6.19, 21, -3, 6.16, 20, -3, 6.16, 22, -4, 6.16, 21, -3, 6.16, 21, -4, 6.16, 22, -4, 6.16, 22, -3, 6.16, 23, -4, 6.16, 22, -4, 6.16, 22, -5, 6.11, 23, -6, 6.05, 21, -6, 5.99, 22, -8, 6, 23, -7, 6.02, 23, -7, 6.02, 23, -7, 6.03, 23, -7, 6.04, 23, -6, 6.05, 23, -7, 6.05, 23, -7, 6.05, 24, -6, 6.05, 23, -7, 6.05, 24, -7, 6.05, 24, -7, 6.05, 24, -7, 6.05, 24, -7, 6.05, 24, -8, 6.05, 25, -7, 6.05, 25, -7, 6.06, 25, -6, 6.08, 25, -7, 6.09, 25, -6, 6.1, 25, -5, 6.11, 25, -6, 6.11, 25, -5, 6.12, 25, -4, 6.13, 25, -5, 6.14, 24, -4, 6.14, 25, -3, 6.15, 24, -3, 6.15, 25, -3, 6.16, 24, -3, 6.16, 24, -2, 6.17, 24, -2, 6.17, 25, -2, 6.18, 24, -1, 6.18, 23, -1, 6.18, 24, 0, 6.19, 24, -1, 6.19, 24, 1, 6.19, 23, 0, 6.2, 24, 1, 6.2, 23, 1, 6.2, 23, 1, 6.2, 24, 2, 6.21, 23, 2, 6.21, 23, 3, 6.21, 23, 2, 6.21, 23, 3, 6.21, 23, 4, 6.21, 23, 4, 6.22, 22, 4, 6.22, 23, 4, 6.22, 23, 5, 6.22, 22, 5, 6.23, 23, 5, 6.25, 22, 6, 6.28, 24, 3, 6.35, 23, 1, 6.37, 24, -1, 6.35, 23, -1, 6.29, 25, 1, 6.31, 24, 1, 6.31, 24, 2, 6.3, 25, 1, 6.3, 24, 3, 6.3, 24, 2, 6.3, 24, 3, 6.3, 24, 3, 6.3, 24, 3, 6.29, 23, 4, 6.29, 24, 4, 6.29, 24, 5, 6.29, 23, 4, 6.29, 24, 5, 6.29, 25, 5, 6.3, 24, 6, 6.31, 25, 5, 6.32, 26, 6, 6.34, 25, 6, 6.36, 26, 6, 6.39, 27, 6, 6.42, 27, 7, 6.46, 26, 6, 6.5, 27, 7, 6.54, 27, 6, 6.55, 27, 6, 6.56, 27, 6, 6.58, 27, 6, 6.59, 26, 7, 6.6, 26, 7, 6.62, 26, 7, 6.63, 26, 8, 6.64, 26, 8, 6.64, 26, 8, 6.65, 26, 9, 6.66, 25, 9, 6.67, 26, 9, 6.67, 25, 9, 6.68, 26, 10, 6.69, 25, 10, 6.69, 25, 10, 6.69, 25, 11, 6.7, 25, 11, 6.7, 25, 11, 6.7, 25, 11, 6.71, 24, 12, 6.71, 25, 12, 6.71, 24, 12, 6.71, 24, 13, 6.71, 24, 12, 6.71, 24, 13, 6.71, 24, 14, 6.72, 23, 13, 6.72, 24, 14, 6.72, 23, 14, 6.72, 23, 14, 6.72, 23, 15, 6.72, 23, 15, 6.72, 23, 14, 6.72, 22, 16, 6.72, 23, 15, 6.72, 22, 16, 6.72, 22, 16, 6.72, 22, 16, 6.72, 22, 16, 6.72, 21, 17, 6.72, 22, 16, 6.72, 21, 17, 6.72, 21, 18, 6.72, 21, 17, 6.72, 21, 17, 6.72, 21, 18, 6.72, 20, 18, 6.72, 20, 18, 6.72, 20, 19, 6.72, 20, 18, 6.72, 20, 19, 6.72, 20, 19, 6.72, 19, 19, 6.72, 20, 19, 6.72, 19, 19, 6.72, 19, 20, 6.72, 19, 19, 6.75, 20, 18, 6.86, 21, 17, 6.94, 22, 13, 6.93, 23, 13, 6.97, 23, 13, 6.93, 23, 12, 6.87, 23, 15, 6.87, 24, 14, 6.86, 23, 15, 6.86, 24, 14, 6.84, 24, 14, 6.78, 25, 11, 6.78, 25, 10, 6.77, 26, 10, 6.74, 24, 11, 6.76, 25, 10, 6.74, 24, 11, 6.75, 25, 11, 6.72, 25, 9, 6.65, 26, 8, 6.66, 27, 9, 6.69, 26, 8, 6.68, 26, 9, 6.67, 26, 9, 6.65, 26, 9, 6.65, 26, 9, 6.65, 26, 9, 6.65, 26, 8, 6.65, 26, 9, 6.65, 27, 8, 6.61, 26, 7, 6.54, 27, 4, 6.53, 27, 4, 6.51, 27, 5, 6.51, 26, 4, 6.55, 26, 6, 6.52, 27, 5, 6.52, 26, 5, 6.53, 26, 5, 6.52, 27, 5, 6.49, 27, 4, 6.46, 28, 4, 6.47, 27, 3, 6.47, 27, 4, 6.47, 27, 4, 6.47, 28, 4, 6.47, 27, 3, 6.47, 27, 4, 6.47, 27, 4, 6.47, 28, 4, 6.47, 27, 3, 6.45, 27, 2, 6.4, 27, 2, 6.36, 27, 0, 6.35, 28, 1, 6.36, 27, 1, 6.36, 28, 1, 6.36, 27, 1, 6.36, 28, 1, 6.36, 27, 1, 6.36, 27, 1, 6.36, 26, -1, 6.32, 27, 1, 6.33, 27, -2, 6.37, 26, 2, 6.36, 27, -1, 6.34, 27, 1, 6.35, 26, 1, 6.37, 26, -1, 6.35, 25, -1, 6.32, 27, 0, 6.32, 26, 0, 6.33, 27, 1, 6.33, 26, 0, 6.33, 28, 0, 6.33, 27, 0, 6.33, 28, 0, 6.33, 27, 0, 6.33, 28, 0, 6.33, 27, 0, 6.34, 28, 0, 6.36, 27, 1, 6.37, 27, 1, 6.38, 27, 2, 6.38, 27, 2, 6.39, 27, 1, 6.39, 27, 2, 6.37, 27, 1, 6.37, 28, 1, 6.37, 27, 1, 6.37, 28, 1, 6.37, 27, 2, 6.37, 27, 1, 6.39, 26, 1, 6.39, 28, 2, 6.41, 27, 2, 6.42, 27, 2, 6.43, 27, 3, 6.44, 27, 3, 6.45, 26, 3, 6.46, 27, 4, 6.46, 26, 4, 6.47, 27, 4, 6.48, 26, 5, 6.48, 26, 4, 6.49, 26, 6, 6.5, 26, 5, 6.5, 26, 6, 6.5, 26, 6, 6.51, 26, 7, 6.51, 26, 6, 6.52, 25, 8, 6.52, 26, 7, 6.54, 26, 6, 6.57, 26, 6, 6.56, 27, 6, 6.55, 26, 6, 6.6, 26, 6, 6.56, 26, 6, 6.56, 26, 7, 6.56, 27, 6, 6.57, 26, 7, 6.57, 26, 8, 6.57, 26, 7, 6.57, 26, 8, 6.57, 26, 8, 6.58, 26, 9, 6.58, 26, 8, 6.58, 25, 9, 6.58, 26, 10, 6.58, 25, 9, 6.58, 26, 10, 6.58, 25, 11, 6.58, 25, 10, 6.6, 26, 9, 6.69, 26, 9, 6.81, 26, 8, 6.87, 27, 8, 6.92, 25, 9, 6.96, 26, 8, 7, 25, 10, 7.04, 26, 9, 7.07, 25, 10, 7.1, 25, 10, 7.13, 25, 10, 7.16, 25, 10, 7.18, 25, 11, 7.21, 25, 11, 7.23, 24, 12, 7.25, 25, 11, 7.26, 24, 12, 7.28, 24, 12, 7.29, 24, 13, 7.31, 24, 13, 7.32, 24, 13, 7.33, 24, 13, 7.33, 24, 13, 7.34, 23, 14, 7.35, 23, 14, 7.35, 24, 14, 7.36, 23, 15, 7.36, 23, 15, 7.36, 22, 14, 7.36, 23, 16, 7.36, 21, 15, 7.39, 24, 10, 7.2, 25, 9, 7.03, 23, 9, 6.84, 24, 3, 6.48, 24, 0, 6.39, 25, -1, 6.3, 25, -2, 6.23, 25, -3, 6.18, 27, -4, 6.17, 27, -3, 6.16, 26, -3, 6.12, 27, -2, 6.09, 27, -2, 6.06, 26, -2, 6.04, 26, -1, 6.01, 27, -1, 5.99, 26, -1, 5.99, 26, -1, 6.02, 25, -7, 6.08, 23, -10, 6.06, 24, -10, 6.08, 23, -12, 6.09, 24, -8, 6.13, 23, -8, 6.14, 23, -8, 6.16, 24, -7, 6.18, 23, -7, 6.19, 23, -7, 6.2, 23, -6, 6.22, 23, -6, 6.23, 23, -6, 6.24, 22, -5, 6.25, 23, -5, 6.26, 23, -5, 6.27, 22, -4, 6.27, 23, -4, 6.28, 22, -4, 6.29, 22, -3, 6.3)); AddData(new Array(22, -3, 6.3, 23, -3, 6.31, 22, -2, 6.31, 22, -2, 6.32, 22, -1, 6.32, 21, -2, 6.33, 22, 0, 6.33, 22, -1, 6.34, 21, 0, 6.34, 22, 0, 6.34, 21, 0, 6.35, 22, 1, 6.35, 21, 1, 6.35, 21, 2, 6.35, 22, 1, 6.36, 21, 3, 6.36, 21, 2, 6.36, 21, 3, 6.36, 21, 3, 6.37, 20, 3, 6.37, 21, 4, 6.37, 21, 4, 6.37, 21, 4, 6.37, 20, 5, 6.37, 21, 5, 6.37, 20, 5, 6.38, 20, 6, 6.38, 21, 6, 6.38, 20, 6, 6.38, 20, 7, 6.38, 20, 6, 6.38, 20, 8, 6.38, 20, 7, 6.38, 20, 8, 6.38, 20, 8, 6.38, 20, 8, 6.38, 20, 9, 6.38, 20, 9, 6.38, 20, 10, 6.38, 20, 9, 6.38, 20, 10, 6.38, 20, 10, 6.38, 19, 11, 6.38, 20, 11, 6.38, 20, 11, 6.38, 19, 11, 6.38, 19, 12, 6.38, 20, 12, 6.38, 19, 12, 6.38, 19, 13, 6.38, 20, 9, 6.43, 19, 1, 6.54, 20, -1, 6.59, 21, -2, 6.62, 21, -2, 6.61, 20, -1, 6.59, 22, 0, 6.59, 21, 0, 6.58, 21, 1, 6.57, 20, 0, 6.56, 21, 2, 6.55, 21, 1, 6.55, 21, 2, 6.54, 20, 2, 6.53, 21, 3, 6.53, 20, 3, 6.52, 21, 3, 6.52, 20, 3, 6.51, 20, 4, 6.51, 21, 4, 6.5, 20, 5, 6.5, 20, 4, 6.5, 20, 6, 6.49, 20, 5, 6.49, 20, 6, 6.49, 19, 6, 6.48, 20, 6, 6.48, 20, 7, 6.48, 19, 7, 6.48, 20, 7, 6.47, 19, 8, 6.47, 20, 7, 6.47, 19, 9, 6.48, 20, 8, 6.49, 19, 9, 6.49, 19, 9, 6.5, 19, 10, 6.51, 19, 9, 6.51, 19, 10, 6.52, 19, 11, 6.53, 19, 10, 6.53, 19, 11, 6.54, 19, 11, 6.54, 18, 12, 6.54, 19, 12, 6.55, 19, 12, 6.55, 18, 12, 6.55, 19, 13, 6.56, 18, 13, 6.56, 18, 13, 6.56, 19, 14, 6.57, 18, 14, 6.57, 18, 14, 6.57, 18, 14, 6.57, 18, 15, 6.58, 18, 15, 6.58, 18, 15, 6.58, 18, 11, 6.65, 19, 1, 6.68, 21, 1, 6.74, 21, 1, 6.79, 21, 0, 6.79, 21, 0, 6.74, 20, 1, 6.7, 22, 1, 6.67, 21, 2, 6.64, 21, 3, 6.61, 21, 2, 6.58, 21, 3, 6.55, 22, 2, 6.47, 21, 2, 6.4, 22, 1, 6.35, 22, 0, 6.34, 23, 0, 6.35, 24, 0, 6.34, 23, 1, 6.32, 24, 0, 6.32, 24, 0, 6.32, 24, 0, 6.32, 24, 0, 6.33, 24, -1, 6.35, 24, -1, 6.27, 24, -4, 6.23, 25, -3, 6.19, 25, -3, 6.21, 26, -3, 6.21, 26, -3, 6.22, 25, -3, 6.21, 26, -3, 6.21, 27, -3, 6.19, 26, -5, 6.15, 26, -5, 6.12, 26, -5, 6.16, 27, -6, 6.14, 26, -5, 6.17, 27, -6, 6.15, 25, -5, 6.12, 26, -5, 6.17, 25, -6, 6.11, 25, -7, 6.05, 26, -7, 6, 24, -7, 6.01, 26, -7, 6.02, 27, -8, 6.03, 26, -7, 6.04, 26, -9, 6.02, 26, -7, 6.04, 27, -8, 6.04, 26, -7, 6.04, 26, -7, 6.05, 25, -6, 6.05, 26, -6, 6.05, 26, -6, 6.06, 26, -5, 6.06, 25, -5, 6.06, 26, -5, 6.06, 25, -4, 6.06, 25, -4, 6.07, 25, -3, 6.07, 26, -4, 6.07, 25, -3, 6.07, 25, -2, 6.07, 24, -2, 6.07, 25, -2, 6.07, 25, -2, 6.08, 25, -1, 6.08, 24, -1, 6.08, 25, 0, 6.08, 24, -1, 6.08, 24, 1, 6.08, 24, 0, 6.08, 25, 1, 6.08, 24, 1, 6.08, 24, 1, 6.08, 23, 2, 6.08, 24, 2, 6.08, 24, 3, 6.09, 24, 3, 6.09, 23, 3, 6.09, 24, 3, 6.09, 23, 4, 6.09, 23, 4, 6.09, 24, 4, 6.09, 23, 5, 6.09, 23, 5, 6.09, 23, 5, 6.09, 23, 6, 6.09, 23, 6, 6.09, 23, 6, 6.09, 22, 7, 6.09, 23, 7, 6.09, 23, 7, 6.09, 22, 7, 6.09, 23, 8, 6.09, 22, 8, 6.09, 22, 9, 6.09, 22, 8, 6.09, 22, 9, 6.09, 22, 10, 6.09, 22, 9, 6.09, 22, 10, 6.09, 22, 10, 6.09, 22, 11, 6.09, 22, 11, 6.09, 21, 11, 6.09, 22, 11, 6.09, 21, 12, 6.09, 22, 12, 6.09, 21, 12, 6.09, 22, 12, 6.14, 23, 8, 6.31, 24, 7, 6.47, 25, 3, 6.48, 24, 1, 6.49, 24, 0, 6.44, 24, -1, 6.38, 24, -1, 6.32, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.34, 25, 1, 6.34, 25, 0, 6.33, 25, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 27, 0, 6.33, 27, 0, 6.33, 28, 0, 6.33, 27, 0, 6.33, 28, 0, 6.33, 27, 0, 6.33, 28, 0, 6.33, 27, 0, 6.33, 27, 1, 6.36, 26, -1, 6.34, 27, -1, 6.32, 27, 0, 6.31, 27, 0, 6.31, 26, 0, 6.32, 27, 1, 6.35, 26, -1, 6.34, 26, 1, 6.34, 27, 0, 6.33, 27, 0, 6.33, 26, 0, 6.33, 27, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 26, 0, 6.33, 25, 0, 6.33, 26, 0, 6.33, 25, 0, 6.33, 26, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 24, 0, 6.33, 25, -1, 6.31, 24, -1, 6.26, 24, -2, 6.2, 24, -2, 6.16, 24, -1, 6.14, 23, -1, 6.13, 24, 0, 6.12, 24, -1, 6.12, 24, 0, 6.13, 24, 0, 6.15, 23, 0, 6.17, 24, 0, 6.2, 24, 0, 6.23, 23, 0, 6.26, 21, -3, 6.22, 19, -7, 6.03, 17, -7, 5.91, 17, -9, 5.81, 10, -13, 5.5, 5, -13, 5.2, 3, -15, 4.99)); StopData(); StartData(1); AddData(new Array(902, 767, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.05, 7, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 9, 0, 0.05, 11, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 12, 0, 0.05, 14, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, -1, 0.02, 17, 0, 0.01, 18, -1, 0, 18, 0, 0.01, 18, 0, 0.02, 19, 1, 0.03, 19, -1, 0.03, 18, -1, -0.01, 19, -1, 0, 20, 0, 0, 19, -1, 0, 20, -1, 0, 21, -1, 0, 20, -1, 0, 21, -1, 0, 21, -1, 0, 21, 0, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 22, -1, 0, 23, -1, 0, 23, -1, 0, 23, -1, 0, 24, -1, 0, 23, -1, 0, 24, -2, -0.01, 24, -1, -0.02, 25, -1, -0.02, 24, -2, -0.02, 25, -1, -0.02, 25, -2, -0.02, 26, -2, -0.02, 25, -1, -0.02, 26, -2, -0.02, 25, -1, -0.02, 26, -2, -0.02, 26, -1, -0.02, 25, -2, -0.02, 26, -2, -0.02, 26, -1, -0.02, 25, -2, -0.02, 26, -1, -0.02, 25, -3, -0.04, 26, -2, -0.07, 25, -3, -0.06, 26, -2, -0.06, 25, -3, -0.06, 26, -3, -0.06, 25, -2, -0.06, 26, -3, -0.06, 25, -2, -0.06, 26, -3, -0.06, 25, -3, -0.06, 26, -2, -0.06, 25, -3, -0.06, 26, -3, -0.06, 25, -3, -0.08, 26, -3, -0.1, 25, -4, -0.09, 25, -3, -0.09, 26, -4, -0.09, 25, -3, -0.09, 26, -4, -0.09, 25, -3, -0.09, 25, -4, -0.09, 26, -3, -0.09, 25, -4, -0.09, 25, -4, -0.12, 25, -5, -0.15, 26, -5, -0.14, 25, -4, -0.14, 25, -5, -0.14, 25, -5, -0.14, 25, -5, -0.14, 26, -5, -0.14, 25, -4, -0.14, 25, -5, -0.14, 25, -5, -0.14, 25, -5, -0.14, 25, -5, -0.14, 26, -4, -0.14, 24, -5, -0.1, 25, -4, -0.12, 25, -4, -0.1, 24, -4, -0.11, 24, -3, -0.08, 24, -4, -0.08, 23, -5, -0.13, 24, -4, -0.13, 25, -4, -0.13, 25, -5, -0.13, 26, -4, -0.12, 25, -4, -0.12, 25, -4, -0.12, 25, -4, -0.08, 24, -5, -0.14, 24, -6, -0.19, 25, -7, -0.19, 24, -5, -0.17, 24, -7, -0.19, 23, -4, -0.16, 24, -6, -0.17, 24, -7, -0.21, 25, -6, -0.21, 25, -6, -0.21, 25, -6, -0.2, 25, -6, -0.19, 24, -5, -0.18, 23, -5, -0.18, 25, -6, -0.18, 25, -6, -0.18, 25, -6, -0.18, 24, -7, -0.22, 24, -7, -0.27, 25, -7, -0.28, 25, -7, -0.29, 25, -6, -0.29, 24, -6, -0.29, 25, -6, -0.28, 25, -6, -0.26, 25, -6, -0.24, 26, -6, -0.22, 25, -6, -0.19, 24, -6, -0.2, 25, -7, -0.21, 24, -7, -0.24, 25, -7, -0.26, 24, -8, -0.26, 25, -7, -0.26, 24, -8, -0.26, 25, -7, -0.26, 24, -8, -0.26, 25, -8, -0.26, 24, -7, -0.26, 24, -8, -0.26, 25, -8, -0.26, 24, -7, -0.26, 25, -8, -0.26, 24, -7, -0.26, 25, -8, -0.26, 24, -8, -0.26, 24, -7, -0.26, 25, -9, -0.22, 24, -9, -0.17, 24, -9, -0.15, 24, -8, -0.13, 25, -8, -0.12, 24, -8, -0.12, 25, -7, -0.13, 24, -8, -0.15, 24, -7, -0.17, 25, -7, -0.21, 24, -7, -0.24, 25, -7, -0.28, 24, -8, -0.27, 24, -8, -0.26, 25, -7, -0.25, 25, -8, -0.24, 24, -6, -0.23, 24, -7, -0.22, 24, -6, -0.22, 24, -5, -0.21, 24, -6, -0.2, 24, -6, -0.22, 25, -6, -0.21, 24, -7, -0.23, 24, -8, -0.29, 23, -8, -0.36, 24, -8, -0.4, 24, -8, -0.43, 24, -6, -0.46, 23, -7, -0.49, 24, -6, -0.52, 23, -6, -0.55, 24, -6, -0.57, 23, -5, -0.6, 23, -5, -0.62, 24, -4, -0.64, 23, -4, -0.66, 23, -4, -0.67, 23, -3, -0.69, 23, -3, -0.71, 23, -3, -0.72, 23, -3, -0.73, 22, -2, -0.75, 23, -1, -0.76, 23, -2, -0.77, 22, -1, -0.78, 23, -1, -0.79, 22, 0, -0.8, 22, 0, -0.81, 22, 0, -0.82, 23, 1, -0.82, 22, 1, -0.83, 22, 1, -0.84, 22, 2, -0.84, 22, 2, -0.85, 21, 2, -0.85, 22, 3, -0.86, 22, 2, -0.85, 21, 4, -0.84, 22, 3, -0.81, 22, 4, -0.78, 21, 4, -0.74, 22, 4, -0.69, 21, 5, -0.64, 22, 5, -0.6, 21, 5, -0.56, 21, 6, -0.52, 22, 4, -0.43, 23, 3, -0.28, 23, 2, -0.11, 24, 1, 0.05, 23, 3, 0.12, 23, 1, 0.14, 24, 0, 0.16, 23, -1, 0.18, 24, 0, 0.2, 24, 1, 0.21, 23, 0, 0.21, 24, 1, 0.19, 23, 2, 0.17, 23, 1, 0.14, 24, 2, 0.1, 23, 3, 0.05, 23, 2, 0, 22, 2, -0.03, 24, 2, -0.03, 23, 2, -0.01, 25, 1, 0.02, 24, 1, 0.02, 25, 2, 0.03, 25, 2, 0.04, 26, 2, 0.05, 25, 2, 0.06, 26, 2, 0.07, 26, 2, 0.09, 26, 2, 0.11, 25, 1, 0.11, 26, 2, 0.11, 25, 2, 0.11, 26, 1, 0.11, 26, 2, 0.12, 25, 2, 0.13, 26, 2, 0.14, 25, 3, 0.15, 25, 3, 0.15, 25, 3, 0.16, 25, 4, 0.17, 25, 4, 0.17, 25, 4, 0.18, 25, 5, 0.18, 24, 5, 0.19, 25, 5, 0.19, 24, 5, 0.2, 24, 6, 0.2, 25, 6, 0.21, 25, 5, 0.22, 25, 3, 0.24, 25, 3, 0.2, 25, 4, 0.2, 25, 4, 0.2, 25, 5, 0.2, 26, 4, 0.21, 25, 5, 0.21, 24, 5, 0.21, 25, 6, 0.22, 25, 6, 0.22, 24, 6, 0.22, 25, 6, 0.22, 25, 6, 0.27, 25, 5, 0.26, 25, 5, 0.25, 24, 6, 0.28, 25, 5, 0.27, 23, 4, 0.26, 24, 6, 0.26, 25, 5, 0.26, 25, 5, 0.26, 26, 6, 0.27, 25, 6, 0.28, 24, 6, 0.29, 25, 6, 0.3, 24, 7, 0.31, 25, 7, 0.31, 24, 7, 0.32, 24, 8, 0.32, 24, 8, 0.33, 24, 8, 0.33, 24, 9, 0.34, 24, 9, 0.34, 23, 9, 0.34, 24, 9, 0.34, 23, 10, 0.35, 24, 10, 0.35, 23, 10, 0.35, 23, 11, 0.35, 23, 11, 0.35, 23, 11, 0.35, 22, 11, 0.36, 23, 12, 0.36, 22, 12, 0.36, 23, 12, 0.36, 22, 12, 0.36, 22, 12, 0.38, 23, 12, 0.45, 23, 12, 0.5, 23, 12, 0.55, 23, 12, 0.58, 23, 12, 0.61, 22, 12, 0.64, 22, 13, 0.68, 21, 12, 0.72, 22, 12, 0.68, 23, 12, 0.66, 22, 12, 0.64, 22, 13, 0.63, 22, 13, 0.62, 21, 13, 0.61, 22, 14, 0.58, 22, 13, 0.54, 22, 12, 0.56, 23, 13, 0.56, 22, 13, 0.56, 23, 12, 0.56, 22, 13, 0.56, 23, 13, 0.56, 22, 12, 0.55, 23, 13, 0.54, 22, 12, 0.54, 23, 13, 0.54, 23, 12, 0.54, 23, 12, 0.54, 22, 12, 0.54, 23, 13, 0.54, 23, 12, 0.54, 22, 12, 0.54, 23, 13, 0.54, 23, 12, 0.54, 22, 12, 0.54, 23, 12, 0.53, 23, 12, 0.5, 22, 11, 0.52, 23, 11, 0.54, 23, 10, 0.5, 23, 11, 0.49, 23, 11, 0.47, 23, 11, 0.48, 24, 12, 0.49, 23, 11, 0.49, 23, 11, 0.49, 23, 11, 0.49, 24, 12, 0.49, 23, 11, 0.49, 23, 11, 0.49, 24, 10, 0.46, 23, 10, 0.41, 24, 10, 0.44, 24, 8, 0.43, 24, 10, 0.43, 24, 10, 0.42, 23, 9, 0.42, 23, 10, 0.43, 24, 10, 0.43, 24, 9, 0.43, 24, 10, 0.43, 24, 9, 0.43, 24, 10, 0.43, 24, 9, 0.43, 24, 10, 0.43, 24, 9, 0.42, 23, 9, 0.43, 24, 8, 0.38, 23, 9, 0.44, 23, 8, 0.39, 24, 9, 0.41, 22, 8, 0.39, 24, 9, 0.39, 24, 9, 0.43, 22, 7, 0.39, 24, 9, 0.39, 25, 9, 0.39, 24, 8, 0.39, 24, 9, 0.39, 25, 9, 0.39, 24, 7, 0.34, 25, 7, 0.25, 24, 4, 0.22, 25, 3, 0.2, 26, 3, 0.19, 25, 4, 0.19, 25, 4, 0.18, 25, 4, 0.18, 25, 5, 0.19, 25, 5, 0.21, 26, 4, 0.21, 25, 3, 0.18, 25, 3, 0.12, 26, 2, 0.11, 25, 1, 0.12, 26, 2, 0.12, 26, 2, 0.12, 25, 2, 0.12, 26, 1, 0.08, 25, 0, 0.03, 26, 0, 0.05, 26, 0, 0.06, 25, 0, 0.05, 26, 1, 0.04, 26, -1, 0.05, 25, 1, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, -1, 0.03, 25, -1, -0.01, 26, -1, -0.04, 25, 0, -0.05, 26, -1, -0.06, 26, 0, -0.06, 25, 0, -0.05, 26, 0, -0.04, 26, 0, -0.02, 26, 0, 0, 26, 0, 0.02, 25, 0, 0.04, 26, 0, 0.03, 25, -1, 0.01, 26, -1, -0.03, 25, -3, -0.06, 26, -2, -0.04, 25, -3, -0.05, 26, -2, -0.05, 25, -2, -0.05, 26, -3, -0.05, 25, -2, -0.05, 26, -2, -0.05, 25, -3, -0.05, 26, -2, -0.05, 26, -3, -0.05, 25, -2, -0.05, 26, -3, -0.06, 25, -3, -0.11)); AddData(new Array(24, -5, -0.15, 26, -5, -0.13, 25, -4, -0.13, 25, -4, -0.13, 25, -5, -0.13, 26, -4, -0.13, 25, -5, -0.13, 25, -4, -0.13, 25, -5, -0.13, 26, -4, -0.13, 25, -5, -0.13, 25, -4, -0.13, 25, -4, -0.13, 26, -5, -0.13, 25, -4, -0.13, 25, -5, -0.13, 25, -4, -0.14, 25, -6, -0.17, 25, -6, -0.19, 24, -5, -0.14, 24, -6, -0.19, 24, -6, -0.18, 23, -6, -0.2, 23, -5, -0.18, 24, -6, -0.19, 25, -6, -0.19, 25, -5, -0.19, 25, -6, -0.19, 25, -6, -0.19, 25, -6, -0.19, 25, -6, -0.2, 24, -8, -0.25, 24, -8, -0.3, 24, -8, -0.3, 24, -9, -0.29, 23, -8, -0.28, 23, -7, -0.24, 23, -8, -0.27, 23, -9, -0.29, 24, -8, -0.31, 24, -10, -0.34, 23, -10, -0.32, 24, -9, -0.33, 24, -10, -0.33, 23, -9, -0.34, 24, -10, -0.34, 24, -9, -0.34, 23, -10, -0.34, 24, -9, -0.34, 24, -10, -0.34, 24, -10, -0.34, 23, -9, -0.34, 24, -10, -0.33, 24, -9, -0.33, 24, -10, -0.33, 24, -9, -0.33, 23, -9, -0.33, 24, -10, -0.33, 24, -9, -0.33, 24, -9, -0.33, 24, -10, -0.33, 23, -9, -0.33, 24, -9, -0.33, 24, -10, -0.33, 24, -9, -0.33, 24, -9, -0.33, 23, -9, -0.29, 23, -9, -0.31, 24, -9, -0.29, 23, -9, -0.32, 23, -9, -0.33, 24, -9, -0.33, 24, -8, -0.32, 24, -9, -0.31, 24, -9, -0.31, 23, -9, -0.27, 23, -8, -0.31, 24, -9, -0.3, 24, -8, -0.3, 24, -8, -0.31, 23, -8, -0.3, 24, -8, -0.29, 24, -9, -0.3, 24, -8, -0.29, 24, -9, -0.29, 25, -8, -0.29, 24, -8, -0.29, 24, -9, -0.3, 24, -9, -0.32, 24, -9, -0.33, 24, -8, -0.34, 24, -8, -0.35, 24, -7, -0.35, 23, -7, -0.36, 24, -7, -0.37, 24, -7, -0.37, 23, -6, -0.38, 24, -5, -0.38, 23, -6, -0.39, 23, -5, -0.38, 24, -6, -0.34, 24, -6, -0.3, 24, -5, -0.27, 24, -5, -0.24, 23, -5, -0.21, 24, -5, -0.19, 23, -4, -0.16, 24, -3, -0.15, 23, -3, -0.15, 23, -3, -0.16, 23, -3, -0.18, 23, -3, -0.15, 23, -4, -0.11, 24, -4, -0.07, 22, -2, -0.08, 23, -3, -0.08, 23, -2, -0.1, 22, -2, -0.12, 23, -2, -0.14, 22, -1, -0.15, 23, -2, -0.11, 23, -2, -0.08, 24, -2, -0.05, 23, -2, -0.02, 24, -2, 0.01, 24, -1, 0.02, 24, -1, 0.01, 23, 0, 0, 24, -1, -0.02, 23, 0, -0.05, 23, 1, -0.09, 24, 1, -0.14, 23, 0, -0.14, 23, -1, -0.14, 24, 0, -0.13, 24, 0, -0.13, 22, 0, -0.12, 24, 0, -0.12, 24, 1, -0.12, 25, 1, -0.12, 24, 1, -0.13, 24, 1, -0.13, 24, 2, -0.13, 24, 2, -0.13, 24, 2, -0.13, 24, 3, -0.15, 23, 3, -0.17, 24, 3, -0.2, 23, 3, -0.21, 25, 3, -0.2, 25, 2, -0.18, 25, 1, -0.15, 25, 3, -0.15, 25, 2, -0.16, 25, 3, -0.17, 25, 4, -0.17, 25, 3, -0.18, 25, 4, -0.19, 24, 5, -0.2, 25, 4, -0.2, 25, 5, -0.21, 24, 5, -0.22, 24, 6, -0.22, 25, 6, -0.24, 24, 6, -0.26, 24, 7, -0.29, 23, 6, -0.33, 24, 7, -0.36, 24, 8, -0.39, 23, 8, -0.42, 23, 8, -0.44, 24, 8, -0.47, 23, 8, -0.5, 23, 9, -0.54, 23, 10, -0.58, 22, 9, -0.62, 23, 9, -0.67, 24, 6, -0.6, 24, 6, -0.54, 24, 6, -0.46, 25, 5, -0.38, 25, 4, -0.28, 25, 5, -0.24, 25, 6, -0.21, 24, 6, -0.19, 25, 6, -0.19, 24, 5, -0.16, 25, 5, -0.12, 26, 5, -0.08, 25, 5, -0.04, 26, 4, 0, 25, 5, 0.02, 25, 4, 0.04, 25, 4, 0.08, 25, 2, 0.1, 25, 0, 0.08, 25, -1, 0.04, 25, -2, -0.01, 25, 0, 0.01, 26, -2, 0.04, 25, 0, 0, 25, 0, -0.02, 26, 0, -0.03, 26, 0, -0.03, 24, 0, -0.02, 25, 0, -0.02, 26, 0, -0.01, 26, -1, 0, 25, 0, 0, 26, 0, 0.01, 26, 0, 0.03, 25, 0, 0.03, 26, -1, 0, 25, -2, -0.03, 26, -1, -0.03, 25, -2, -0.02, 25, -1, 0.01, 25, -2, -0.02, 25, -2, -0.02, 25, -2, -0.03, 25, -2, -0.05, 25, -3, -0.09, 26, -4, -0.09, 25, -3, -0.05, 25, -4, -0.09, 25, -3, -0.1, 25, -4, -0.11, 25, -4, -0.12, 26, -3, -0.13, 25, -4, -0.15, 25, -5, -0.16, 25, -5, -0.15, 25, -4, -0.12, 24, -6, -0.15, 25, -5, -0.15, 24, -6, -0.18, 24, -7, -0.22, 24, -8, -0.22, 24, -8, -0.22, 25, -7, -0.22, 24, -7, -0.23, 25, -7, -0.25, 24, -7, -0.26, 25, -8, -0.25, 24, -7, -0.25, 25, -8, -0.25, 25, -7, -0.25, 24, -7, -0.24, 25, -6, -0.24, 24, -6, -0.24, 24, -6, -0.24, 24, -5, -0.23, 24, -5, -0.23, 24, -5, -0.23, 24, -4, -0.23, 24, -4, -0.23, 24, -4, -0.22, 23, -3, -0.22, 24, -3, -0.22, 23, -3, -0.22, 24, -2, -0.22, 23, -2, -0.22, 23, -2, -0.22, 24, -1, -0.22, 23, -1, -0.22, 23, -1, -0.22, 23, 0, -0.21, 23, 0, -0.21, 22, 1, -0.21, 23, 0, -0.21, 23, 2, -0.21, 22, 1, -0.21, 23, 2, -0.21, 22, 2, -0.21, 23, 2, -0.22, 22, 3, -0.24, 22, 3, -0.27, 22, 3, -0.31, 22, 4, -0.34, 21, 4, -0.37, 22, 4, -0.4, 22, 5, -0.43, 21, 5, -0.46, 22, 5, -0.48, 22, 6, -0.5, 21, 6, -0.5, 22, 6, -0.49, 21, 6, -0.48, 21, 7, -0.47, 22, 7, -0.47, 21, 8, -0.46, 21, 7, -0.45, 21, 9, -0.45, 21, 8, -0.44, 21, 9, -0.44, 21, 9, -0.43, 21, 9, -0.43, 20, 9, -0.42, 21, 10, -0.42, 21, 10, -0.42, 21, 7, -0.24, 23, 4, 0.01, 22, -1, 0.06, 22, -4, 0.08, 21, -3, 0.01, 21, -4, -0.08, 20, -6, -0.16, 21, -7, -0.22, 21, -6, -0.21, 22, -5, -0.22, 22, -6, -0.23, 21, -5, -0.23, 22, -5, -0.22, 22, -5, -0.2, 22, -6, -0.2, 22, -5, -0.2, 23, -7, -0.24, 21, -8, -0.33, 20, -9, -0.4, 20, -11, -0.46, 19, -13, -0.52, 19, -13, -0.57, 18, -16, -0.55, 19, -14, -0.54, 18, -14, -0.52, 19, -14, -0.51, 18, -13, -0.49, 18, -13, -0.48, 19, -13, -0.47, 18, -13, -0.49, 18, -13, -0.51, 19, -13, -0.53, 19, -13, -0.56, 18, -13, -0.58, 19, -14, -0.56, 19, -14, -0.56, 19, -13, -0.56, 18, -15, -0.61, 18, -14, -0.68, 17, -16, -0.69, 18, -15, -0.67, 16, -16, -0.69, 18, -15, -0.69, 17, -16, -0.69, 18, -16, -0.69, 19, -16, -0.68, 18, -16, -0.68, 18, -16, -0.68, 18, -16, -0.68, 19, -16, -0.68, 18, -16, -0.68, 18, -17, -0.68, 19, -16, -0.68, 19, -16, -0.68, 18, -17, -0.68, 19, -16, -0.68, 19, -17, -0.68, 19, -17, -0.67, 19, -16, -0.66, 20, -17, -0.65, 19, -16, -0.64, 19, -15, -0.64, 20, -15, -0.63, 19, -15, -0.63, 19, -15, -0.62, 19, -14, -0.62, 19, -14, -0.61, 19, -13, -0.62, 19, -13, -0.64, 18, -12, -0.66, 19, -12, -0.68, 19, -12, -0.71, 18, -12, -0.73, 19, -11, -0.75, 18, -10, -0.77, 18, -11, -0.78, 19, -9, -0.8, 18, -10, -0.81, 18, -9, -0.83, 18, -9, -0.84, 18, -9, -0.85, 18, -8, -0.86, 18, -7, -0.87, 18, -8, -0.88, 18, -7, -0.89, 18, -7, -0.9, 17, -6, -0.91, 18, -6, -0.92, 18, -6, -0.93, 17, -5, -0.93, 18, -5, -0.94, 17, -4, -0.94, 18, -5, -0.95, 17, -3, -0.96, 17, -4, -0.96, 17, -3, -0.96, 18, -3, -0.97, 17, -3, -0.97, 17, -2, -0.98, 17, -2, -0.98, 17, -1, -0.98, 17, -1, -0.99, 16, -1, -1, 17, -1, -1.02, 17, 0, -1.05, 17, 0, -1.13, 16, -4, -1.09, 17, -5, -1.05, 16, -6, -1, 16, -6, -0.95, 17, -6, -0.94, 16, -5, -0.93, 17, -6, -0.94, 17, -4, -0.96, 16, -5, -0.99, 16, -4, -1.03, 17, -4, -1.06, 16, -5, -1.06, 16, -5, -1.06, 17, -5, -1.08, 16, -5, -1.11, 16, -5, -1.14, 16, -4, -1.19, 16, -4, -1.24, 17, -3, -1.29, 16, -3, -1.33, 16, -3, -1.37, 15, -2, -1.41, 16, -2, -1.45, 16, -2, -1.48, 16, -1, -1.51, 16, -1, -1.54, 16, -2, -1.59, 16, -2, -1.63, 15, -2, -1.66, 15, -4, -1.67, 14, -4, -1.67, 15, -4, -1.68, 15, -3, -1.68, 14, -3, -1.67, 15, -3, -1.64, 15, -3, -1.61, 14, -2, -1.57, 15, -2, -1.53, 15, -2, -1.47, 14, -2, -1.42, 15, -2, -1.38, 14, -2, -1.34, 15, -2, -1.31, 15, -1, -1.27, 14, -1, -1.25, 15, -3, -1.21, 14, -1, -1.19, 15, -2, -1.16, 15, -2, -1.13, 14, -1, -1.11, 15, -1, -1.09, 14, -1, -1.07, 15, -2, -1.03, 15, -2, -0.99, 15, -2, -0.96, 15, -1, -0.94, 15, -2, -0.94, 14, -1, -0.94, 15, -2, -0.93, 15, -2, -0.92, 15, -2, -0.92, 15, -2, -0.91, 15, -1, -0.91, 15, -1, -0.91, 15, 0, -0.9, 14, -1, -0.9, 15, 0, -0.89, 15, 1, -0.89, 14, 1, -0.89, 15, 0, -0.89, 15, 1, -0.87, 15, -1, -0.83, 15, 0, -0.8, 15, 0, -0.78, 14, 1, -0.76, 15, 1, -0.74, 15, 2, -0.72, 15, 1, -0.71, 14, 3, -0.69, 15, 2, -0.68, 15, 3, -0.66, 14, 3, -0.65, 15, 3, -0.63, 15, 2, -0.58, 15, 2, -0.56, 15, 3, -0.56, 15, 4, -0.56, 15, 4, -0.58, 15, 4, -0.6, 14, 4, -0.63, 15, 5, -0.65, 14, 5, -0.67, 15, 5, -0.69, 14, 6, -0.7)); AddData(new Array(15, 6, -0.72, 14, 6, -0.75, 14, 7, -0.78, 15, 7, -0.82, 14, 7, -0.86, 14, 8, -0.9, 14, 8, -0.93, 14, 8, -0.97, 14, 9, -1, 16, 5, -1, 16, 2, -0.92, 15, 1, -0.84, 15, 0, -0.77, 17, 0, -0.66, 16, 0, -0.57, 17, 1, -0.47, 17, 1, -0.37, 16, 2, -0.28, 17, 2, -0.2, 16, 2, -0.12, 16, 2, -0.05, 17, 3, 0.01, 16, 4, 0.08, 16, 2, 0.07, 16, -2, 0.02, 15, -3, -0.01, 16, -3, -0.08, 15, -4, -0.14, 16, -3, -0.15, 16, -3, -0.16, 17, -4, -0.12, 17, -4, -0.08, 17, -3, -0.05, 17, -3, -0.01, 17, -2, 0.02, 17, -3, 0.04, 17, -1, 0.07, 17, -2, 0.1, 16, -1, 0.12, 17, -1, 0.14, 16, 0, 0.16, 17, -1, 0.18, 16, 1, 0.2, 16, 0, 0.21, 17, 1, 0.24, 16, 1, 0.27, 16, 2, 0.32, 17, 2, 0.36, 16, 2, 0.39, 16, 2, 0.43, 16, 3, 0.46, 16, 3, 0.49, 16, 4, 0.52, 15, 4, 0.55, 16, 4, 0.57, 16, 4, 0.6, 16, 5, 0.62, 15, 5, 0.64, 16, 5, 0.66, 15, 6, 0.68, 16, 6, 0.69, 15, 6, 0.7, 15, 7, 0.69, 15, 7, 0.68, 15, 7, 0.65, 15, 7, 0.62, 15, 8, 0.58, 15, 8, 0.53, 15, 8, 0.47, 15, 9, 0.41, 14, 8, 0.34, 15, 9, 0.27, 14, 10, 0.21, 15, 10, 0.16, 14, 10, 0.1, 15, 9, 0, 12, -1, -0.14, 13, -3, -0.13, 14, -4, -0.13, 14, -6, -0.12, 14, -3, -0.12, 15, -3, -0.12, 15, -3, -0.12, 14, -2, -0.12, 15, -2, -0.12, 15, -2, -0.12, 14, -1, -0.12, 14, -2, -0.08, 15, -2, -0.04, 15, -1, -0.01, 14, -1, 0.02, 15, 0, 0.05, 14, 0, 0.08, 15, 0, 0.12, 14, 0, 0.16, 15, 1, 0.21, 14, 2, 0.27, 14, 1, 0.32, 14, 2, 0.37, 15, 2, 0.42, 14, 3, 0.47, 14, 3, 0.51, 14, 3, 0.55, 14, 4, 0.58, 13, 4, 0.62, 14, 3, 0.64, 14, 3, 0.6, 14, 0, 0.5, 14, 0, 0.37, 13, 0, 0.22, 14, 0, 0.1, 15, 2, -0.03, 14, 0, -0.09, 15, 0, -0.12, 15, -1, -0.13, 16, -1, -0.12, 17, -1, -0.08, 17, -2, -0.01, 17, -1, -0.02, 17, -1, -0.05, 16, -3, -0.13, 17, -4, -0.17, 17, -3, -0.19, 18, -3, -0.19, 18, -3, -0.19, 18, -3, -0.19, 17, -3, -0.18, 19, -2, -0.16, 18, -3, -0.14, 19, -3, -0.12, 18, -3, -0.13, 19, -3, -0.12, 19, -4, -0.13, 19, -4, -0.17, 19, -5, -0.24, 17, -6, -0.27, 20, -7, -0.24, 19, -6, -0.25, 19, -6, -0.25, 19, -6, -0.25, 19, -5, -0.25, 19, -5, -0.24, 20, -6, -0.24, 19, -5, -0.24, 20, -6, -0.24, 20, -6, -0.24, 20, -6, -0.24, 20, -6, -0.24, 21, -6, -0.24, 21, -6, -0.24, 20, -6, -0.24, 22, -6, -0.24, 21, -6, -0.24, 21, -7, -0.24, 22, -6, -0.23, 22, -6, -0.22, 23, -6, -0.21, 22, -5, -0.2, 23, -5, -0.19, 22, -5, -0.18, 22, -4, -0.17, 22, -4, -0.17, 22, -4, -0.16, 22, -3, -0.15, 22, -3, -0.15, 22, -3, -0.14, 22, -2, -0.13, 21, -2, -0.13, 22, -2, -0.13, 21, -1, -0.12, 22, -1, -0.12, 21, -1, -0.11, 22, 0, -0.11, 21, 0, -0.11, 21, 1, -0.1, 21, 0, -0.1, 21, 1, -0.1, 21, 2, -0.09, 21, 1, -0.09, 21, 2, -0.09, 20, 3, -0.09, 21, 3, -0.09, 21, 3, -0.08, 20, 3, -0.08, 21, 3, -0.08, 20, 4, -0.08, 20, 3, 0, 21, 2, 0.07, 22, 1, 0.12, 22, -1, 0.15, 20, 1, 0.08, 22, 0, 0.07, 22, 1, 0.07, 22, 1, 0.07, 23, 1, 0.08, 23, 0, 0.08, 23, 1, 0.08, 24, 1, 0.08, 24, 1, 0.08, 24, 0, 0.04, 23, -1, -0.01, 25, 0, -0.04, 25, 0, -0.08, 25, 1, -0.11, 24, 1, -0.13, 25, 1, -0.16, 24, 2, -0.19, 25, 2, -0.21, 24, 2, -0.23, 25, 3, -0.25, 24, 3, -0.27, 24, 3, -0.29, 24, 4, -0.31, 24, 4, -0.32, 24, 4, -0.34, 24, 5, -0.35, 24, 5, -0.37, 24, 5, -0.38, 23, 5, -0.39, 24, 6, -0.4, 23, 6, -0.4, 24, 5, -0.37, 25, 5, -0.33, 25, 5, -0.3, 25, 6, -0.27, 25, 5, -0.25, 24, 6, -0.23, 25, 6, -0.21, 24, 6, -0.17, 25, 6, -0.15, 25, 7, -0.13, 24, 7, -0.11, 24, 7, -0.1, 25, 7, -0.1, 24, 7, -0.11, 23, 8, -0.14, 24, 9, -0.16, 23, 8, -0.2, 24, 9, -0.24, 23, 9, -0.28, 23, 9, -0.32, 22, 9, -0.36, 23, 10, -0.39, 22, 10, -0.42, 23, 11, -0.45, 22, 10, -0.47, 22, 11, -0.49, 22, 11, -0.51, 22, 12, -0.52, 22, 12, -0.52, 22, 12, -0.5, 22, 12, -0.48, 22, 13, -0.45, 22, 12, -0.43, 22, 13, -0.41, 21, 14, -0.39, 21, 13, -0.38, 22, 14, -0.37, 21, 14, -0.36, 20, 15, -0.35, 21, 14, -0.35, 21, 15, -0.35, 20, 15, -0.35, 21, 16, -0.35, 20, 14, -0.31, 20, 14, -0.23, 21, 13, -0.18, 20, 15, -0.17, 21, 16, -0.16, 20, 15, -0.15, 20, 16, -0.14, 20, 15, -0.13, 19, 16, -0.13, 20, 17, -0.12, 19, 16, -0.12, 21, 16, -0.09, 20, 15, -0.05, 20, 15, 0, 21, 15, 0.01, 20, 16, 0.02, 20, 16, 0.02, 20, 15, 0.02, 20, 16, 0.04, 20, 15, 0.08, 21, 16, 0.09, 20, 16, 0.09, 20, 15, 0.1, 20, 16, 0.12, 21, 16, 0.13, 20, 16, 0.14, 21, 15, 0.16, 21, 15, 0.21, 22, 14, 0.26, 21, 14, 0.33, 21, 14, 0.39, 22, 15, 0.42, 21, 14, 0.45, 21, 15, 0.5, 21, 15, 0.54, 22, 14, 0.57, 22, 12, 0.51, 22, 10, 0.48, 23, 9, 0.45, 24, 9, 0.43, 24, 10, 0.44, 23, 11, 0.44, 24, 10, 0.43, 23, 11, 0.44, 23, 10, 0.43, 24, 9, 0.39, 24, 8, 0.39, 25, 7, 0.36, 24, 9, 0.38, 24, 7, 0.36, 24, 9, 0.38, 23, 7, 0.36, 25, 8, 0.37, 24, 8, 0.36, 25, 9, 0.37, 24, 8, 0.37, 25, 8, 0.35, 24, 6, 0.3, 25, 6, 0.25, 25, 4, 0.23, 26, 4, 0.24, 24, 5, 0.24, 25, 5, 0.24, 24, 5, 0.27, 24, 3, 0.23, 25, 5, 0.23, 25, 5, 0.23, 25, 5, 0.22, 25, 4, 0.18, 26, 3, 0.2, 25, 3, 0.2, 26, 4, 0.19, 25, 4, 0.18, 25, 3, 0.18, 26, 4, 0.18, 25, 3, 0.18, 26, 4, 0.18, 25, 3, 0.18, 26, 4, 0.18, 25, 3, 0.17, 26, 2, 0.12, 25, 1, 0.07, 25, 0, 0.08, 26, 1, 0.08, 25, 1, 0.07, 26, 1, 0.07, 26, 1, 0.08, 24, 1, 0.1, 25, 1, 0.08, 26, 1, 0.08, 25, 0, 0.06, 26, 1, 0.04, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.06, 26, 1, 0.07, 26, 1, 0.08, 25, 1, 0.09, 25, 2, 0.09, 25, 2, 0.1, 26, 0, 0.09, 25, 2, 0.09, 26, 1, 0.09, 25, 1, 0.09, 26, 1, 0.09, 26, 1, 0.09, 26, 1, 0.09, 25, 1, 0.07, 26, -1, 0.01, 25, -1, -0.06, 25, 0, -0.11, 25, 1, -0.15, 25, 0, -0.19, 24, 1, -0.22, 25, 2, -0.25, 25, 1, -0.28, 24, 2, -0.31, 24, 3, -0.34, 25, 2, -0.36, 24, 3, -0.38, 24, 4, -0.41, 24, 3, -0.43, 25, 4, -0.44, 24, 5, -0.46, 23, 4, -0.48, 24, 5, -0.49, 24, 5, -0.51, 24, 6, -0.52, 23, 6, -0.53, 24, 6, -0.55, 23, 6, -0.56, 24, 7, -0.57, 23, 7, -0.58, 23, 8, -0.58, 24, 7, -0.58, 23, 8, -0.57, 24, 7, -0.53, 24, 6, -0.44, 24, 7, -0.37, 24, 7, -0.31, 24, 8, -0.24, 23, 8, -0.17, 24, 8, -0.11, 23, 8, -0.06, 24, 9, -0.01, 23, 9, 0.04, 23, 10, 0.09, 23, 10, 0.13, 23, 10, 0.17, 23, 10, 0.21, 23, 11, 0.24, 24, 10, 0.33, 23, 9, 0.4, 24, 9, 0.42, 25, 7, 0.41, 24, 9, 0.42, 23, 9, 0.43, 24, 10, 0.44, 24, 9, 0.43, 24, 9, 0.41, 24, 10, 0.41, 24, 9, 0.42, 24, 10, 0.43, 24, 9, 0.44, 23, 10, 0.45, 23, 11, 0.46, 23, 10, 0.46, 23, 11, 0.47, 23, 11, 0.47, 23, 11, 0.48, 23, 12, 0.48, 22, 12, 0.49, 22, 12, 0.49, 23, 12, 0.49, 22, 13, 0.49, 22, 13, 0.49, 21, 13, 0.5, 22, 13, 0.5, 21, 14, 0.5, 22, 14, 0.5, 21, 14, 0.5, 21, 14, 0.5, 21, 15, 0.5, 21, 14, 0.48, 22, 11, 0.44, 22, 8, 0.37, 24, 7, 0.34, 24, 7, 0.32, 26, 5, 0.3, 25, 4, 0.27, 24, 3, 0.1, 24, -1, 0.03, 24, -2, -0.03, 25, -3, -0.07, 25, -3, -0.08, 25, -4, -0.09, 26, -2, -0.12, 25, -2, -0.14, 25, -2, -0.16, 25, -2, -0.18, 24, -1, -0.2, 25, -1, -0.22, 25, 0, -0.23, 24, -1, -0.23, 25, -2, -0.23, 23, -7, -0.33, 22, -7, -0.4, 22, -10, -0.42, 23, -9, -0.37, 23, -9, -0.34, 23, -7, -0.34, 23, -7, -0.33, 23, -7, -0.32, 23, -6, -0.32, 22, -7, -0.32, 23, -5, -0.31, 23, -6, -0.31, 22, -5, -0.3, 22, -4, -0.3, 23, -5, -0.3)); AddData(new Array(22, -4, -0.29, 22, -3, -0.29, 22, -4, -0.29, 22, -3, -0.29, 22, -2, -0.28, 22, -2, -0.28, 21, -2, -0.28, 22, -2, -0.28, 22, -1, -0.28, 21, -1, -0.27, 22, -1, -0.27, 21, 0, -0.26, 22, 0, -0.24, 21, 1, -0.21, 21, 0, -0.17, 22, 1, -0.13, 21, 2, -0.1, 21, 2, -0.07, 21, 2, -0.04, 21, 2, -0.01, 21, 3, 0.01, 20, 3, 0.04, 21, 3, 0.06, 21, 4, 0.08, 20, 4, 0.1, 21, 4, 0.12, 20, 5, 0.14, 21, 5, 0.15, 20, 5, 0.17, 20, 6, 0.18, 20, 6, 0.2, 20, 6, 0.21, 20, 7, 0.22, 20, 7, 0.23, 20, 7, 0.24, 20, 7, 0.25, 20, 8, 0.26, 19, 8, 0.27, 20, 9, 0.28, 19, 8, 0.28, 20, 9, 0.29, 19, 10, 0.3, 20, 9, 0.3, 19, 10, 0.31, 20, 11, 0.31, 20, 10, 0.32, 19, 11, 0.32, 19, 11, 0.31, 20, 12, 0.29, 19, 12, 0.27, 19, 12, 0.24, 20, 11, 0.17, 16, 2, 0, 20, -1, 0.08, 19, -1, 0.11, 21, -2, 0.12, 19, -1, 0.1, 21, 0, 0.09, 20, 1, 0.08, 20, 1, 0.07, 20, 1, 0.06, 20, 1, 0.07, 21, 1, 0.1, 20, 1, 0.09, 21, 1, 0.1, 22, 1, 0.12, 21, 2, 0.13, 21, 2, 0.15, 21, 2, 0.16, 21, 3, 0.18, 21, 3, 0.19, 20, 3, 0.2, 21, 3, 0.21, 21, 4, 0.22, 20, 4, 0.23, 21, 5, 0.24, 20, 5, 0.25, 21, 5, 0.25, 20, 5, 0.26, 20, 6, 0.27, 21, 6, 0.27, 20, 6, 0.28, 20, 7, 0.28, 20, 7, 0.29, 20, 7, 0.29, 19, 8, 0.3, 20, 8, 0.3, 20, 8, 0.31, 19, 8, 0.31, 20, 9, 0.31, 20, 9, 0.32, 19, 10, 0.32, 19, 9, 0.32, 20, 10, 0.33, 19, 11, 0.33, 19, 10, 0.33, 19, 11, 0.33, 19, 11, 0.33, 19, 12, 0.34, 19, 12, 0.34, 19, 12, 0.34, 19, 12, 0.34, 18, 13, 0.34, 19, 13, 0.34, 19, 13, 0.35, 18, 13, 0.35, 19, 14, 0.35, 18, 14, 0.35, 19, 15, 0.35, 18, 14, 0.35, 18, 15, 0.35, 19, 15, 0.3, 18, 4, 0.19, 20, 2, 0.21, 21, 2, 0.2, 21, 1, 0.2, 22, 1, 0.2, 21, 3, 0.18, 22, 2, 0.14, 22, 2, 0.1, 23, 1, 0.11, 23, 2, 0.11, 23, 1, 0.11, 23, 1, 0.09, 23, 2, 0.08, 24, 0, 0.1, 24, 1, 0.11, 24, 1, 0.14, 24, -1, 0.07, 24, 1, 0.02, 25, -1, 0.03, 26, 0, 0.02, 25, 0, 0.03, 26, 1, 0.04, 26, -1, 0.03, 25, -1, -0.03, 25, -3, -0.05, 25, -3, -0.09, 25, -3, -0.11, 25, -4, -0.1, 25, -2, -0.1, 25, -3, -0.1, 25, -2, -0.08, 26, -3, -0.07, 25, -4, -0.1, 24, -4, -0.15, 25, -6, -0.15, 25, -5, -0.11, 24, -6, -0.15, 24, -4, -0.16, 25, -5, -0.18, 25, -5, -0.17, 26, -5, -0.16, 25, -5, -0.16, 24, -7, -0.21, 24, -7, -0.27, 25, -7, -0.25, 25, -7, -0.22, 24, -7, -0.23, 24, -8, -0.24, 25, -7, -0.25, 25, -7, -0.24, 23, -7, -0.22, 25, -6, -0.21, 25, -7, -0.2, 24, -5, -0.19, 24, -6, -0.18, 24, -5, -0.18, 25, -5, -0.17, 24, -4, -0.16, 24, -5, -0.16, 23, -3, -0.15, 24, -4, -0.15, 24, -3, -0.14, 24, -3, -0.14, 23, -2, -0.14, 24, -2, -0.13, 23, -2, -0.13, 23, -1, -0.12, 24, -1, -0.12, 23, -1, -0.12, 23, -1, -0.12, 23, 0, -0.11, 23, 1, -0.11, 23, 0, -0.11, 22, 1, -0.11, 23, 2, -0.1, 23, 1, -0.1, 22, 2, -0.1, 23, 2, -0.1, 22, 3, -0.1, 23, 3, -0.1, 22, 3, -0.1, 22, 4, -0.09, 22, 3, -0.09, 22, 5, -0.09, 22, 4, -0.09, 22, 5, -0.09, 22, 5, -0.09, 21, 5, -0.09, 22, 6, -0.09, 22, 6, -0.09, 21, 7, -0.09, 22, 6, -0.09, 21, 7, -0.08, 21, 8, -0.08, 22, 7, -0.08, 21, 8, -0.08, 21, 9, -0.08, 21, 7, -0.05, 22, 8, 0, 22, 8, 0.04, 23, 8, 0.08, 23, 9, 0.12, 22, 8, 0.16, 23, 9, 0.21, 24, 9, 0.26, 22, 9, 0.32, 23, 10, 0.38, 24, 9, 0.4, 24, 8, 0.39, 24, 7, 0.36, 25, 6, 0.33, 24, 7, 0.32, 25, 7, 0.29, 24, 7, 0.31, 23, 5, 0.32, 25, 5, 0.27, 25, 4, 0.2, 25, 3, 0.16, 25, 2, 0.11, 26, 1, 0.07, 25, 0, 0.06, 26, 0, 0.07, 26, -1, 0.13, 25, -1, 0.17, 26, -1, 0.2, 26, 0, 0.22, 25, 0, 0.23, 26, 0, 0.22, 26, 0, 0.21, 25, 1, 0.19, 26, 0, 0.16, 25, 1, 0.13, 26, 1, 0.09, 25, 1, 0.04, 26, 0, 0.04, 26, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05)); StopData(); StartData(1); AddData(new Array(902, 767, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.05, 7, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 9, 0, 0.05, 11, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 12, 0, 0.05, 14, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, -1, 0.02, 17, 0, 0.01, 18, -1, 0, 18, 0, 0.01, 18, 0, 0.02, 18, 1, 0.03, 17, -1, 0.02, 18, -1, 0, 18, -1, 0.01, 18, 0, 0, 18, -1, 0, 18, -1, 0, 18, -1, 0, 18, 0, 0, 18, -1, 0, 17, -1, 0, 18, -1, 0, 18, 0, 0, 18, -1, 0, 18, -1, 0, 18, -1, 0, 18, 0, 0, 18, -1, 0, 18, -1, 0, 17, -1, 0, 18, 0, 0, 18, -1, 0, 18, -1, 0, 18, -1, 0, 18, -1, 0, 18, -1, -0.01, 17, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 17, -1, -0.01, 18, -1, -0.01, 18, -2, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 17, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -1, -0.01, 18, -2, -0.01, 17, -1, -0.02, 18, -2, -0.04, 18, -1, -0.05, 18, -2, -0.06, 18, -2, -0.05, 17, -1, -0.06, 18, -2, -0.06, 18, -2, -0.06, 18, -2, -0.06, 17, -2, -0.06, 18, -2, -0.06, 18, -2, -0.06, 18, -1, -0.06, 18, -2, -0.06, 17, -2, -0.06, 18, -2, -0.06, 18, -2, -0.06, 18, -2, -0.06, 18, -2, -0.06, 17, -1, -0.06, 18, -2, -0.06, 18, -3, -0.08, 17, -2, -0.09, 18, -2, -0.1, 18, -3, -0.09, 18, -2, -0.09, 17, -3, -0.09, 18, -2, -0.09, 18, -3, -0.09, 17, -2, -0.09, 18, -2, -0.09, 18, -3, -0.09, 18, -2, -0.09, 17, -3, -0.09, 18, -2, -0.09, 18, -3, -0.09, 17, -2, -0.1, 18, -3, -0.12, 17, -3, -0.14, 18, -4, -0.13, 17, -3, -0.14, 18, -3, -0.14, 18, -4, -0.14, 17, -3, -0.14, 18, -3, -0.14, 17, -4, -0.14, 18, -3, -0.14, 17, -3, -0.14, 18, -4, -0.14, 17, -3, -0.14, 18, -3, -0.14, 18, -4, -0.14, 17, -3, -0.14, 18, -3, -0.14, 17, -4, -0.14, 18, -3, -0.14, 17, -3, -0.14, 18, -3, -0.13, 18, -3, -0.12, 17, -3, -0.12, 18, -3, -0.12, 18, -3, -0.12, 17, -3, -0.12, 18, -3, -0.12, 17, -3, -0.12, 18, -3, -0.12, 18, -3, -0.12, 17, -3, -0.12, 18, -3, -0.12, 18, -3, -0.12, 17, -3, -0.12, 18, -3, -0.12, 17, -3, -0.12, 18, -2, -0.12, 18, -3, -0.12, 17, -4, -0.15, 17, -4, -0.18, 18, -4, -0.19, 17, -4, -0.18, 17, -4, -0.18, 18, -4, -0.19, 17, -4, -0.19, 17, -5, -0.19, 18, -4, -0.19, 17, -4, -0.19, 18, -4, -0.19, 17, -4, -0.19, 17, -4, -0.19, 18, -5, -0.19, 17, -4, -0.19, 17, -4, -0.19, 18, -4, -0.19, 17, -4, -0.19, 17, -4, -0.19, 18, -5, -0.19, 17, -4, -0.19, 18, -4, -0.19, 17, -4, -0.19, 17, -4, -0.19, 18, -4, -0.19, 17, -5, -0.2, 17, -4, -0.2, 18, -4, -0.21, 17, -5, -0.21, 17, -4, -0.21, 17, -4, -0.21, 18, -5, -0.21, 17, -4, -0.21, 18, -5, -0.21, 17, -4, -0.21, 18, -5, -0.21, 18, -4, -0.21, 18, -5, -0.21, 17, -4, -0.21, 18, -5, -0.21, 18, -5, -0.21, 18, -4, -0.21, 18, -5, -0.21, 18, -5, -0.24, 18, -6, -0.27, 17, -5, -0.29, 18, -5, -0.28, 18, -6, -0.27, 18, -5, -0.25, 17, -5, -0.26, 18, -6, -0.26, 18, -5, -0.26, 18, -6, -0.26, 17, -5, -0.26, 18, -6, -0.26, 18, -6, -0.26, 18, -5, -0.26, 17, -6, -0.26, 18, -5, -0.26, 18, -6, -0.26, 18, -5, -0.26, 17, -6, -0.26, 18, -5, -0.26, 18, -6, -0.26, 17, -5, -0.26, 18, -6, -0.26, 18, -6, -0.27, 17, -5, -0.27, 18, -6, -0.27, 18, -6, -0.27, 17, -5, -0.27, 18, -6, -0.27, 18, -6, -0.27, 17, -5, -0.27, 18, -6, -0.27, 18, -6, -0.27, 17, -5, -0.27, 18, -6, -0.27, 18, -6, -0.27, 17, -6, -0.27, 18, -5, -0.27, 18, -6, -0.27, 17, -6, -0.27, 18, -5, -0.27, 18, -6, -0.28, 17, -6, -0.29, 18, -6, -0.3, 18, -6, -0.3, 17, -5, -0.3, 17, -4, -0.3, 18, -5, -0.3, 17, -4, -0.31, 17, -3, -0.31, 18, -5, -0.28, 18, -4, -0.25, 18, -4, -0.22, 18, -4, -0.2, 17, -5, -0.21, 18, -5, -0.21, 18, -4, -0.21, 18, -5, -0.21, 19, -4, -0.19, 18, -4, -0.18, 18, -4, -0.17, 18, -4, -0.16, 18, -3, -0.15, 18, -2, -0.15, 17, -3, -0.14, 18, -2, -0.14, 17, -1, -0.13, 18, -2, -0.12, 17, -1, -0.12, 18, 0, -0.12, 17, -1, -0.11, 17, 0, -0.11, 18, 1, -0.1, 17, 0, -0.08, 18, 0, -0.03, 18, -1, 0, 18, -1, 0, 18, -1, -0.02, 18, -1, -0.01, 19, -2, -0.02, 18, -1, -0.01, 19, -1, -0.01, 19, -1, -0.01, 18, -1, -0.01, 19, -1, -0.01, 18, -1, 0.01, 19, 0, 0.02, 18, 0, 0.03, 19, 0, 0.04, 18, 0, 0.04, 18, 1, 0.05, 18, 0, 0.04, 19, 0, 0.03, 18, 0, 0.04, 19, 0, 0.06, 19, 0, 0.06, 18, 1, 0.06, 19, 0, 0.06, 19, 0, 0.06, 18, 1, 0.06, 19, 0, 0.06, 19, 0, 0.06, 18, 1, 0.06, 19, 0, 0.06, 18, 0, 0.06, 19, 1, 0.06, 19, 0, 0.06, 18, 0, 0.06, 19, 1, 0.06, 19, 0, 0.06, 18, 1, 0.06, 19, 0, 0.06, 19, 0, 0.06, 18, 1, 0.06, 19, 0, 0.06, 19, 0, 0.07, 18, 1, 0.07, 19, 1, 0.09, 19, 1, 0.11, 18, 1, 0.12, 19, 1, 0.12, 18, 2, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 1, 0.11, 19, 1, 0.11, 18, 2, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 1, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 2, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 1, 0.11, 19, 1, 0.11, 18, 2, 0.11, 19, 1, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 1, 0.11, 19, 2, 0.11, 18, 1, 0.11, 19, 1, 0.11, 19, 1, 0.11, 18, 1, 0.11, 19, 1, 0.11, 19, 2, 0.11, 18, 1, 0.12, 19, 2, 0.14, 19, 2, 0.15, 18, 2, 0.17, 18, 2, 0.18, 18, 3, 0.19, 18, 3, 0.2, 18, 4, 0.21, 17, 4, 0.22, 18, 4, 0.23, 18, 4, 0.22, 18, 3, 0.19, 19, 3, 0.21, 18, 2, 0.21, 18, 3, 0.21, 19, 3, 0.21, 18, 3, 0.21, 19, 3, 0.21, 18, 3, 0.21, 18, 3, 0.21, 19, 3, 0.21, 18, 3, 0.21, 19, 3, 0.21, 18, 3, 0.21, 19, 3, 0.21, 18, 3, 0.22, 19, 3, 0.23, 18, 4, 0.25, 19, 4, 0.26, 17, 4, 0.27, 18, 4, 0.26, 18, 4, 0.24, 19, 4, 0.25, 18, 4, 0.25, 18, 3, 0.25, 18, 4, 0.25, 19, 4, 0.25, 18, 4, 0.25, 18, 4, 0.25, 19, 4, 0.25, 18, 4, 0.25, 18, 3, 0.25, 19, 4, 0.25, 18, 4, 0.25, 18, 4, 0.25, 18, 4, 0.25, 19, 4, 0.25, 18, 3, 0.25, 18, 4, 0.24, 19, 4, 0.23, 18, 3, 0.23, 18, 4, 0.23, 19, 5, 0.23, 17, 4, 0.23, 18, 5, 0.23, 17, 5, 0.23, 18, 5, 0.23, 17, 6, 0.23, 18, 6, 0.23, 17, 6, 0.23, 17, 7, 0.23, 17, 7, 0.23, 17, 7, 0.23, 16, 7, 0.23, 17, 8, 0.23, 17, 7, 0.27, 18, 8, 0.33, 18, 6, 0.4, 17, 6, 0.39, 18, 7, 0.4, 17, 6, 0.42, 18, 7, 0.44, 17, 7, 0.46, 17, 7, 0.47, 17, 8, 0.48, 16, 8, 0.49, 17, 8, 0.5, 16, 8, 0.51, 16, 9, 0.52, 17, 9, 0.52, 16, 8, 0.52, 16, 9, 0.47, 17, 7, 0.47, 17, 8, 0.47, 17, 8, 0.47, 17, 8, 0.48, 17, 8, 0.48, 17, 7, 0.48, 17, 8, 0.48, 17, 9, 0.49, 17, 8, 0.5, 17, 8, 0.51, 16, 9, 0.52, 16, 9, 0.53, 16, 9, 0.54, 16, 9, 0.54, 15, 10, 0.55, 16, 10, 0.55, 15, 10, 0.56, 16, 10, 0.56, 16, 8, 0.54, 16, 10, 0.55, 17, 9, 0.56, 16, 10, 0.56, 16, 9, 0.56, 17, 9, 0.56, 16, 9, 0.56, 16, 10, 0.56, 17, 9, 0.56, 16, 9, 0.56, 16, 9, 0.56, 17, 10, 0.56, 16, 9, 0.56, 16, 9, 0.56, 17, 9, 0.56, 16, 10, 0.56, 16, 9, 0.55, 17, 9, 0.54, 16, 9, 0.54, 17, 9, 0.54, 16, 9, 0.54, 17, 9, 0.54, 16, 8, 0.54, 17, 9, 0.54)); AddData(new Array(16, 9, 0.54, 17, 9, 0.54, 16, 9, 0.54, 17, 9, 0.54, 16, 9, 0.54, 17, 9, 0.54, 16, 9, 0.54, 17, 9, 0.54, 16, 9, 0.54, 17, 9, 0.54, 16, 9, 0.53, 17, 8, 0.51, 16, 9, 0.49, 17, 8, 0.5, 17, 8, 0.5, 17, 8, 0.49, 17, 8, 0.49, 17, 8, 0.5, 17, 8, 0.49, 17, 8, 0.49, 17, 8, 0.49, 17, 9, 0.49, 17, 8, 0.49, 17, 8, 0.49, 16, 8, 0.49, 17, 8, 0.49, 17, 8, 0.49, 17, 8, 0.49, 17, 8, 0.49, 17, 8, 0.49, 17, 8, 0.48, 17, 7, 0.44, 17, 8, 0.42, 18, 7, 0.43, 17, 7, 0.42, 18, 6, 0.42, 17, 7, 0.42, 17, 7, 0.42, 18, 7, 0.42, 17, 7, 0.42, 18, 7, 0.42, 17, 7, 0.42, 17, 7, 0.42, 18, 7, 0.42, 17, 7, 0.42, 18, 7, 0.42, 17, 7, 0.42, 17, 7, 0.42, 18, 7, 0.42, 17, 7, 0.42, 18, 7, 0.42, 17, 6, 0.42, 18, 7, 0.4, 17, 7, 0.39, 18, 6, 0.39, 17, 6, 0.4, 18, 7, 0.39, 18, 6, 0.39, 17, 6, 0.39, 18, 7, 0.39, 17, 6, 0.39, 18, 7, 0.39, 18, 6, 0.39, 17, 6, 0.39, 18, 7, 0.39, 18, 6, 0.39, 17, 6, 0.39, 18, 7, 0.39, 17, 6, 0.39, 18, 6, 0.39, 18, 7, 0.39, 18, 5, 0.35, 17, 5, 0.29, 18, 3, 0.24, 18, 2, 0.23, 19, 2, 0.24, 18, 3, 0.25, 18, 3, 0.25, 18, 4, 0.25, 18, 3, 0.23, 19, 4, 0.2, 18, 3, 0.21, 19, 3, 0.21, 18, 3, 0.21, 18, 3, 0.21, 19, 3, 0.21, 18, 2, 0.18, 19, 2, 0.13, 18, 2, 0.11, 19, 1, 0.12, 18, 1, 0.12, 19, 2, 0.12, 18, 1, 0.12, 19, 2, 0.12, 19, 1, 0.12, 18, 1, 0.12, 19, 1, 0.09, 18, 0, 0.05, 19, 1, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, -1, 0.04, 19, 0, 0.03, 18, 0, 0.03, 19, 0, 0.03, 19, 0, 0.03, 18, -1, 0.03, 19, 0, 0.03, 18, 0, 0.03, 19, 0, 0.03, 19, 0, 0.03, 18, -1, 0.03, 19, 0, 0.03, 19, 0, 0.03, 18, 0, 0.03, 19, -1, 0.03, 19, 0, 0.03, 18, 0, 0.03, 19, 0, 0.03, 18, -1, 0, 18, -2, -0.05, 19, -1, -0.06, 19, -2, -0.05, 18, -2, -0.05, 19, -1, -0.05, 18, -2, -0.05, 19, -2, -0.05, 18, -2, -0.05, 19, -1, -0.05, 18, -2, -0.05, 19, -2, -0.05, 18, -1, -0.05, 19, -2, -0.05, 19, -2, -0.05, 18, -2, -0.05, 19, -1, -0.05, 18, -2, -0.05, 19, -2, -0.05, 18, -2, -0.08, 18, -3, -0.13, 18, -3, -0.14, 19, -3, -0.13, 18, -4, -0.13, 18, -3, -0.13, 19, -3, -0.13, 18, -3, -0.13, 18, -4, -0.13, 18, -3, -0.13, 19, -3, -0.13, 18, -3, -0.13, 18, -3, -0.13, 19, -4, -0.13, 18, -3, -0.13, 18, -3, -0.13, 19, -3, -0.13, 18, -4, -0.13, 18, -3, -0.13, 19, -3, -0.13, 18, -3, -0.13, 18, -3, -0.13, 19, -4, -0.13, 18, -3, -0.13, 18, -3, -0.13, 18, -4, -0.16, 18, -4, -0.18, 18, -4, -0.19, 18, -4, -0.19, 19, -5, -0.19, 18, -4, -0.19, 18, -4, -0.19, 18, -4, -0.19, 18, -5, -0.19, 18, -4, -0.19, 18, -4, -0.19, 18, -5, -0.19, 18, -4, -0.19, 18, -4, -0.19, 18, -4, -0.19, 18, -5, -0.19, 19, -4, -0.19, 18, -4, -0.19, 18, -5, -0.2, 17, -5, -0.25, 18, -6, -0.29, 17, -5, -0.31, 18, -7, -0.29, 17, -5, -0.28, 18, -6, -0.28, 17, -6, -0.28, 18, -6, -0.28, 18, -7, -0.28, 18, -6, -0.28, 18, -6, -0.28, 17, -6, -0.29, 18, -7, -0.32, 18, -7, -0.34, 17, -7, -0.33, 18, -7, -0.33, 17, -7, -0.34, 18, -7, -0.34, 17, -7, -0.34, 18, -8, -0.34, 17, -7, -0.34, 18, -7, -0.34, 18, -7, -0.34, 17, -7, -0.34, 18, -7, -0.34, 17, -8, -0.34, 18, -7, -0.34, 18, -7, -0.34, 18, -7, -0.34, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 17, -8, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.33, 18, -7, -0.32, 18, -7, -0.32, 18, -7, -0.29, 18, -8, -0.25, 18, -7, -0.23, 18, -7, -0.21, 18, -7, -0.21, 18, -7, -0.21, 18, -7, -0.22, 18, -6, -0.24, 18, -6, -0.26, 18, -6, -0.29, 18, -6, -0.31, 19, -6, -0.29, 17, -9, -0.21, 18, -8, -0.14, 18, -7, -0.08, 18, -7, -0.03, 18, -7, 0, 18, -7, 0.02, 18, -6, 0.03, 18, -7, 0.03, 18, -6, 0.01, 18, -6, -0.01, 19, -6, -0.03, 18, -5, -0.07, 18, -6, -0.11, 18, -5, -0.16, 19, -5, -0.21, 18, -5, -0.26, 18, -5, -0.27, 18, -6, -0.22, 18, -6, -0.18, 18, -5, -0.15, 17, -5, -0.13, 18, -5, -0.13, 18, -5, -0.14, 18, -5, -0.14, 18, -5, -0.16, 18, -4, -0.19, 18, -5, -0.22, 19, -4, -0.24, 18, -6, -0.23, 19, -5, -0.24, 18, -6, -0.25, 19, -5, -0.26, 18, -5, -0.26, 19, -5, -0.27, 18, -5, -0.27, 19, -4, -0.27, 18, -4, -0.27, 18, -3, -0.28, 18, -3, -0.28, 18, -3, -0.28, 18, -3, -0.28, 18, -2, -0.28, 18, -2, -0.25, 18, -3, -0.2, 18, -2, -0.17, 19, -2, -0.12, 19, -2, -0.07, 19, -2, -0.03, 18, -2, -0.03, 19, -3, -0.04, 18, -1, -0.05, 19, -2, -0.06, 19, -2, -0.07, 19, -2, -0.07, 19, -2, -0.07, 19, -3, -0.07, 19, -2, -0.07, 19, -2, -0.07, 20, -2, -0.07, 19, -2, -0.05, 19, -2, -0.04, 20, -1, -0.03, 19, -1, -0.02, 19, -1, -0.01, 18, 0, 0, 19, 0, 0.01, 19, 0, 0.02, 18, 1, 0.02, 19, 1, 0.03, 18, 1, 0.04, 19, 1, 0.04, 18, 1, 0.05, 19, 0, 0.06, 19, -1, 0.05, 19, 1, 0.04, 19, 0, 0.04, 19, 0, 0.06, 20, 0, 0.1, 20, 0, 0.15, 19, 0, 0.2, 19, 1, 0.25, 18, 1, 0.29, 19, 1, 0.32, 19, 2, 0.36, 18, 2, 0.39, 19, 2, 0.41, 19, 1, 0.39, 18, 2, 0.38, 19, 2, 0.36, 19, 2, 0.34, 19, 2, 0.3, 19, 3, 0.26, 19, 2, 0.21, 19, 3, 0.17, 18, 3, 0.13, 19, 3, 0.16, 20, 2, 0.18, 19, 3, 0.2, 18, 4, 0.21, 19, 3, 0.22, 18, 4, 0.23, 19, 4, 0.24, 18, 5, 0.25, 19, 5, 0.26, 18, 5, 0.25, 19, 3, 0.24, 19, 3, 0.23, 19, 4, 0.24, 19, 4, 0.23, 19, 4, 0.24, 19, 3, 0.25, 19, 5, 0.26, 19, 4, 0.28, 19, 4, 0.29, 18, 5, 0.3, 19, 5, 0.31, 18, 6, 0.32, 18, 5, 0.33, 18, 6, 0.34, 18, 7, 0.34, 18, 6, 0.35, 18, 7, 0.35, 18, 7, 0.36, 17, 8, 0.36, 18, 8, 0.36, 17, 7, 0.34, 18, 7, 0.26, 18, 4, 0.26, 19, 3, 0.24, 19, 3, 0.24, 19, 4, 0.26, 19, 4, 0.26, 19, 4, 0.26, 18, 5, 0.27, 19, 4, 0.27, 19, 4, 0.27, 19, 3, 0.23, 19, 3, 0.18, 19, 4, 0.16, 19, 3, 0.18, 19, 3, 0.19, 19, 4, 0.2, 19, 3, 0.21, 19, 3, 0.21, 20, 3, 0.21, 19, 3, 0.21, 19, 4, 0.21, 19, 2, 0.19, 19, 2, 0.14, 19, 1, 0.07, 19, 0, 0.04, 19, -1, 0.06, 19, 0, 0.05, 20, 1, 0.06, 19, 0, 0.06, 20, 0, 0.06, 19, 0, 0.06, 19, 1, 0.06, 20, 0, 0.06, 19, 0, 0.06, 20, 0, 0.06, 19, 0, 0.05, 19, 0, 0.04, 19, 0, 0.03, 20, 0, 0.03, 19, -1, 0.03, 20, 0, 0.03, 19, 0, 0.03, 19, -1, 0.03, 20, 0, 0.03, 19, 0, 0.03, 19, 0, 0.03, 20, -1, 0.04, 19, 0, 0.03, 19, -1, 0.02, 19, -1, 0, 19, 0, -0.02, 20, -2, -0.02, 19, -1, -0.02, 19, -1, -0.02, 20, -2, -0.02, 19, -1, -0.02, 19, -1, -0.03, 19, -2, -0.03, 20, -1, -0.03, 19, -2, -0.04, 19, -2, -0.07, 19, -2, -0.1, 19, -2, -0.1, 20, -3, -0.09, 18, -3, -0.09, 19, -3, -0.08, 19, -2, -0.1, 19, -3, -0.1, 20, -2, -0.1, 19, -3, -0.09, 19, -4, -0.13, 18, -3, -0.16, 19, -3, -0.17, 19, -4, -0.17, 19, -4, -0.17, 19, -3, -0.16, 19, -4, -0.15, 19, -3, -0.15, 19, -5, -0.2, 18, -5, -0.24, 19, -5, -0.27, 18, -5, -0.26, 19, -6, -0.25, 18, -5, -0.25, 19, -6, -0.25, 18, -6, -0.25, 19, -5, -0.25, 18, -6, -0.25, 19, -5, -0.25, 18, -6, -0.25, 19, -5, -0.25, 18, -6, -0.24, 19, -5, -0.23, 19, -5, -0.21, 18, -5, -0.18, 19, -4, -0.15, 19, -4, -0.11, 18, -4, -0.06, 18, -3, -0.01, 19, -3, 0.06, 18, -2, 0.12, 18, -2, 0.17, 18, -2, 0.22, 18, -1, 0.27, 18, -2, 0.31, 18, 0, 0.36, 18, -1, 0.4, 18, 0, 0.43, 18, 1, 0.47, 17, 0, 0.5, 18, 1, 0.53, 17, 1, 0.56, 18, 2, 0.58, 17, 2, 0.61, 17, 2, 0.63)); AddData(new Array(18, 2, 0.65, 17, 3, 0.67, 17, 3, 0.69, 17, 4, 0.71, 17, 4, 0.73, 17, 4, 0.73, 17, 4, 0.73, 16, 5, 0.71, 17, 5, 0.68, 16, 5, 0.65, 17, 5, 0.61, 16, 6, 0.56, 17, 6, 0.5, 16, 7, 0.44, 16, 6, 0.37, 16, 7, 0.3, 16, 7, 0.22, 16, 8, 0.16, 15, 4, -0.1, 13, -3, -0.22, 15, -4, -0.22, 14, -5, -0.24, 14, -6, -0.25, 16, -6, -0.21, 16, -4, -0.2, 15, -4, -0.19, 16, -4, -0.19, 16, -3, -0.18, 15, -3, -0.17, 15, -3, -0.17, 16, -2, -0.16, 15, -2, -0.16, 15, -2, -0.15, 15, -1, -0.15, 15, -1, -0.15, 16, -1, -0.14, 15, 0, -0.14, 15, 0, -0.14, 14, 0, -0.13, 15, 1, -0.13, 15, 1, -0.13, 15, 2, -0.12, 15, 1, -0.12, 14, 2, -0.12, 15, 3, -0.12, 14, 2, -0.12, 15, 3, -0.11, 14, 3, -0.11, 15, 4, -0.11, 14, 4, -0.11, 15, 4, -0.11, 14, 5, -0.11, 14, 5, -0.1, 14, 5, -0.1, 14, 5, -0.1, 15, 6, -0.1, 14, 6, -0.1, 14, 7, -0.1, 13, 7, -0.1, 14, 7, -0.1, 15, 3, -0.06, 12, -2, -0.16, 13, -4, -0.18, 12, -5, -0.19, 13, -6, -0.2, 14, -3, -0.2, 14, -4, -0.21, 13, -4, -0.22, 14, -3, -0.22, 14, -3, -0.21, 14, -3, -0.2, 14, -3, -0.19, 13, -4, -0.2, 15, -3, -0.2, 14, -4, -0.2, 15, -4, -0.2, 14, -3, -0.2, 15, -4, -0.2, 16, -4, -0.22, 14, -5, -0.26, 15, -6, -0.33, 14, -7, -0.39, 13, -8, -0.44, 14, -8, -0.43, 14, -8, -0.47, 14, -9, -0.53, 14, -9, -0.59, 13, -10, -0.59, 14, -10, -0.58, 14, -10, -0.58, 14, -10, -0.58, 14, -10, -0.58, 14, -11, -0.58, 14, -10, -0.58, 14, -10, -0.58, 15, -11, -0.58, 14, -10, -0.58, 15, -11, -0.58, 15, -11, -0.58, 15, -11, -0.58, 15, -11, -0.58, 15, -11, -0.58, 15, -11, -0.58, 15, -11, -0.58, 16, -11, -0.58, 15, -12, -0.6, 15, -12, -0.63, 15, -12, -0.67, 14, -12, -0.68, 14, -13, -0.67, 14, -13, -0.67, 15, -12, -0.67, 14, -13, -0.67, 15, -13, -0.67, 14, -13, -0.67, 14, -12, -0.67, 15, -13, -0.67, 14, -12, -0.68, 15, -13, -0.68, 14, -13, -0.68, 15, -13, -0.68, 14, -12, -0.68, 14, -13, -0.68, 15, -13, -0.68, 14, -12, -0.68, 14, -13, -0.68, 15, -13, -0.68, 14, -12, -0.68, 14, -13, -0.68, 14, -13, -0.68, 15, -12, -0.67, 14, -13, -0.66, 15, -12, -0.64, 15, -12, -0.62, 15, -12, -0.59, 15, -12, -0.57, 15, -11, -0.56, 15, -10, -0.54, 15, -11, -0.52, 15, -10, -0.51, 15, -9, -0.49, 14, -9, -0.48, 15, -9, -0.47, 15, -9, -0.46, 14, -8, -0.45, 15, -8, -0.44, 14, -7, -0.43, 14, -7, -0.42, 15, -7, -0.41, 14, -6, -0.4, 14, -6, -0.4, 14, -6, -0.39, 14, -5, -0.38, 14, -5, -0.38, 15, -5, -0.37, 13, -4, -0.37, 14, -4, -0.36, 14, -4, -0.36, 14, -3, -0.36, 14, -6, -0.37, 13, -6, -0.38, 14, -7, -0.37, 15, -6, -0.37, 14, -6, -0.36, 15, -6, -0.34, 15, -6, -0.32, 16, -6, -0.31, 15, -5, -0.29, 15, -5, -0.27, 15, -6, -0.28, 15, -5, -0.3, 15, -5, -0.3, 15, -6, -0.3, 16, -5, -0.3, 15, -6, -0.3, 16, -5, -0.3, 16, -6, -0.3, 16, -6, -0.3, 16, -6, -0.3, 17, -6, -0.3, 16, -6, -0.29, 18, -5, -0.28, 17, -6, -0.26, 18, -5, -0.25, 17, -5, -0.23, 18, -5, -0.22, 18, -5, -0.2, 17, -4, -0.2, 17, -5, -0.24, 17, -4, -0.25, 18, -5, -0.24, 18, -5, -0.23, 17, -5, -0.23, 18, -5, -0.23, 19, -6, -0.23, 18, -5, -0.23, 19, -5, -0.23, 18, -5, -0.23, 19, -6, -0.23, 18, -5, -0.23, 19, -5, -0.22, 19, -5, -0.21, 19, -5, -0.19, 18, -4, -0.18, 19, -4, -0.17, 18, -4, -0.15, 19, -3, -0.14, 18, -3, -0.14, 18, -3, -0.13, 19, -2, -0.12, 18, -2, -0.11, 18, -2, -0.12, 17, -4, -0.15, 19, -3, -0.14, 19, -4, -0.14, 18, -3, -0.14, 19, -4, -0.14, 19, -3, -0.14, 19, -4, -0.14, 19, -3, -0.14, 19, -4, -0.14, 19, -4, -0.15, 19, -4, -0.17, 19, -4, -0.18, 19, -3, -0.19, 19, -4, -0.19, 19, -3, -0.2, 18, -2, -0.21, 19, -2, -0.21, 18, -2, -0.22, 19, -2, -0.22, 18, -1, -0.23, 18, -2, -0.22, 19, -1, -0.21, 19, -3, -0.18, 19, -1, -0.17, 19, -2, -0.16, 20, -2, -0.14, 19, -2, -0.13, 19, -2, -0.12, 20, -2, -0.11, 18, -1, -0.12, 19, -1, -0.14, 19, -1, -0.17, 19, -1, -0.18, 19, -1, -0.18, 19, -1, -0.19, 20, -1, -0.19, 19, -1, -0.21, 19, 0, -0.23, 19, 0, -0.25, 18, 0, -0.27, 19, 1, -0.28, 18, 0, -0.3, 19, 2, -0.32, 18, 1, -0.33, 19, 2, -0.34, 18, 2, -0.35, 18, 3, -0.37, 18, 3, -0.38, 19, 3, -0.39, 18, 3, -0.4, 18, 4, -0.41, 18, 4, -0.41, 18, 5, -0.42, 17, 4, -0.43, 18, 5, -0.44, 18, 6, -0.44, 18, 6, -0.45, 17, 6, -0.45, 18, 6, -0.46, 17, 7, -0.46, 18, 7, -0.47, 17, 7, -0.47, 17, 7, -0.48, 18, 8, -0.48, 17, 8, -0.49, 17, 9, -0.51, 17, 9, -0.53, 16, 8, -0.55, 18, 4, -0.42, 18, 4, -0.28, 18, 2, -0.13, 18, 3, 0.02, 19, -1, 0.1, 18, -1, 0.1, 17, -2, 0.06, 18, -3, -0.02, 17, -4, -0.12, 18, -3, -0.16, 18, -3, -0.2, 18, -4, -0.2, 18, -4, -0.22, 19, -4, -0.24, 18, -3, -0.28, 19, -4, -0.29, 19, -4, -0.31, 18, -3, -0.33, 19, -2, -0.35, 18, -3, -0.36, 19, -2, -0.38, 18, -2, -0.39, 18, -1, -0.4, 18, -1, -0.42, 18, -1, -0.43, 19, 0, -0.43, 18, -1, -0.42, 18, 1, -0.4, 18, 0, -0.37, 18, 1, -0.34, 18, 1, -0.32, 18, 2, -0.29, 18, 2, -0.27, 17, 2, -0.25, 18, 3, -0.23, 18, 2, -0.21, 17, 4, -0.2, 18, 3, -0.18, 17, 4, -0.16, 18, 4, -0.15, 17, 5, -0.14, 17, 4, -0.13, 17, 6, -0.11, 17, 5, -0.1, 17, 6, -0.09, 17, 6, -0.08, 17, 6, -0.08, 17, 7, -0.07, 17, 7, -0.06, 17, 7, -0.05, 17, 8, -0.05, 16, 8, -0.04, 17, 8, -0.03, 16, 8, -0.03, 17, 9, -0.02, 16, 9, -0.02, 17, 10, -0.01, 16, 10, -0.01, 16, 10, -0.01, 17, 8, -0.08, 13, -2, -0.1, 15, -4, -0.12, 15, -4, -0.12, 15, -5, -0.13, 16, -4, -0.07, 16, -4, 0, 16, -3, 0.07, 16, -3, 0.14, 16, -3, 0.2, 15, -3, 0.25, 16, -2, 0.3, 15, -2, 0.35, 16, -2, 0.4, 15, -1, 0.44, 16, -1, 0.48, 15, 0, 0.52, 15, 0, 0.55, 15, 0, 0.59, 15, 0, 0.62, 15, 1, 0.64, 15, 1, 0.67, 15, 2, 0.69, 15, 1, 0.69, 15, 2, 0.68, 14, 2, 0.67, 15, 3, 0.64, 14, 3, 0.6, 15, 3, 0.56, 14, 3, 0.51, 14, 4, 0.45, 14, 4, 0.4, 15, 5, 0.35, 14, 4, 0.3, 14, 5, 0.26, 14, 5, 0.2, 14, 3, 0.05, 12, 0, -0.08, 14, -2, -0.16, 13, -4, -0.22, 15, -4, -0.18, 16, -4, -0.13, 15, -2, -0.13, 15, -3, -0.12, 16, -3, -0.11, 15, -2, -0.11, 16, -2, -0.13, 16, -3, -0.12, 16, -3, -0.12, 16, -2, -0.12, 17, -3, -0.12, 16, -3, -0.14, 17, -4, -0.18, 16, -5, -0.24, 16, -5, -0.27, 17, -5, -0.27, 17, -6, -0.26, 17, -5, -0.26, 18, -5, -0.25, 17, -5, -0.25, 18, -6, -0.24, 18, -5, -0.24, 19, -5, -0.24, 18, -6, -0.24, 19, -5, -0.24, 18, -6, -0.24, 19, -5, -0.24, 18, -5, -0.24, 19, -6, -0.24, 18, -5, -0.24, 19, -6, -0.24, 18, -5, -0.24, 19, -6, -0.24, 18, -5, -0.24, 19, -5, -0.24, 18, -6, -0.23, 19, -5, -0.22, 19, -5, -0.19, 19, -4, -0.17, 18, -5, -0.16, 19, -4, -0.14, 18, -3, -0.13, 18, -3, -0.12, 19, -3, -0.1, 18, -3, -0.09, 18, -2, -0.08, 18, -2, -0.07, 18, -1, -0.06, 18, -1, -0.05, 17, -1, -0.05, 18, -1, -0.04, 18, 0, -0.03, 18, 0, -0.02, 17, 1, -0.02, 18, 1, -0.01, 17, 1, -0.01, 18, 1, 0, 17, 2, 0, 17, 2, 0.01, 18, 3, 0.01, 17, 2, 0.02, 17, 2, 0.05, 19, 0, 0.07, 18, -1, 0.06, 18, -1, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 1, 0.05, 20, 0, 0.05, 19, -1, 0.04, 19, 1, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.06, 20, 0, 0.1, 19, 0, 0.16, 20, -1, 0.2, 19, 1, 0.22, 20, 0, 0.24, 19, 0, 0.24, 20, 1, 0.24, 19, 1, 0.22, 19, 1, 0.2, 19, 2, 0.17, 20, 1, 0.14, 19, 2, 0.1, 19, 1, 0.09, 20, 0, 0.13, 18, 2, 0.14, 19, 1, 0.16, 19, 2, 0.18, 19, 2, 0.2, 18, 3, 0.21, 19, 3, 0.23, 18, 2, 0.22, 19, 2, 0.19, 19, 3, 0.16, 19, 3, 0.15, 19, 2, 0.15, 20, 2, 0.15, 19, 2, 0.15, 19, 2, 0.15, 19, 2, 0.15, 20, 3, 0.16, 19, 2, 0.18, 20, 2, 0.25, 19, 2, 0.31, 19, 2, 0.36, 19, 3, 0.41, 19, 3, 0.45, 18, 3, 0.49, 19, 4, 0.53, 18, 4, 0.57, 18, 4, 0.6, 19, 5, 0.62, 18, 5, 0.63, 18, 4, 0.6, 18, 4, 0.55, 18, 5, 0.49)); AddData(new Array(18, 5, 0.43, 18, 5, 0.37, 18, 5, 0.3, 17, 6, 0.22, 18, 5, 0.22, 19, 5, 0.22, 18, 4, 0.23, 18, 5, 0.22, 18, 6, 0.19, 18, 6, 0.15, 17, 6, 0.1, 18, 6, 0.05, 17, 7, -0.01, 17, 6, -0.06, 17, 7, -0.08, 19, 6, -0.09, 18, 5, -0.1, 19, 7, -0.13, 17, 6, -0.16, 18, 6, -0.18, 19, 6, -0.2, 18, 7, -0.21, 18, 7, -0.22, 17, 6, -0.22, 18, 8, -0.22, 18, 7, -0.23, 17, 8, -0.23, 17, 8, -0.23, 17, 8, -0.23, 17, 9, -0.23, 17, 9, -0.23, 17, 9, -0.23, 17, 9, -0.23, 16, 10, -0.23, 17, 9, -0.2, 18, 8, -0.17, 16, 9, -0.15, 17, 9, -0.15, 16, 10, -0.16, 16, 10, -0.18, 16, 10, -0.19, 16, 11, -0.2, 16, 10, -0.2, 15, 11, -0.2, 16, 11, -0.2, 16, 11, -0.18, 17, 10, -0.14, 17, 9, -0.13, 16, 10, -0.13, 17, 10, -0.13, 16, 10, -0.13, 17, 10, -0.13, 16, 10, -0.13, 17, 10, -0.13, 16, 10, -0.14, 16, 10, -0.15, 16, 11, -0.17, 16, 11, -0.2, 15, 10, -0.22, 15, 12, -0.25, 15, 11, -0.26, 15, 11, -0.28, 15, 12, -0.28, 15, 12, -0.29, 14, 12, -0.29, 15, 13, -0.29, 14, 13, -0.29, 14, 12, -0.29, 14, 13, -0.29, 15, 13, -0.29, 15, 12, -0.28, 16, 12, -0.26, 16, 10, -0.22, 16, 11, -0.21, 16, 11, -0.22, 15, 11, -0.24, 16, 11, -0.25, 15, 12, -0.27, 15, 11, -0.29, 15, 12, -0.29, 14, 12, -0.3, 15, 12, -0.31, 16, 12, -0.32, 15, 11, -0.31, 16, 11, -0.32, 15, 12, -0.33, 17, 10, -0.32, 16, 10, -0.3, 16, 10, -0.29, 17, 10, -0.29, 16, 11, -0.29, 16, 10, -0.29, 17, 10, -0.29, 16, 11, -0.28, 16, 10, -0.27, 16, 10, -0.27, 16, 10, -0.27, 17, 11, -0.27, 16, 10, -0.28, 17, 10, -0.3, 16, 10, -0.32, 18, 9, -0.33, 17, 8, -0.31, 18, 7, -0.27, 18, 7, -0.23, 19, 7, -0.18, 18, 7, -0.17, 18, 7, -0.17, 17, 7, -0.16, 18, 8, -0.13, 17, 8, -0.11, 17, 8, -0.07, 18, 8, -0.03, 16, 9, 0.01, 18, 8, 0.1, 18, 8, 0.21, 18, 8, 0.29, 17, 8, 0.39, 18, 8, 0.42, 17, 6, 0.42, 18, 5, 0.4, 18, 5, 0.37, 18, 6, 0.35, 18, 6, 0.35, 18, 6, 0.35, 19, 6, 0.35, 18, 6, 0.35, 19, 6, 0.32, 18, 5, 0.28, 20, 3, 0.29, 19, 3, 0.28, 18, 3, 0.25, 19, 3, 0.24, 19, 4, 0.25, 19, 3, 0.24, 19, 4, 0.24, 19, 4, 0.23, 19, 4, 0.23, 19, 3, 0.23, 19, 4, 0.24, 19, 3, 0.23, 19, 3, 0.2, 19, 3, 0.18, 19, 3, 0.18, 19, 2, 0.18, 20, 3, 0.18, 19, 3, 0.18, 19, 2, 0.18, 19, 3, 0.18, 20, 3, 0.18, 19, 2, 0.18, 19, 3, 0.18, 19, 3, 0.18, 20, 2, 0.18, 19, 3, 0.18, 19, 3, 0.18, 19, 2, 0.16, 19, 1, 0.12, 19, 2, 0.08, 20, 0, 0.09, 19, 1, 0.1, 20, 1, 0.09, 19, 1, 0.08, 19, 0, 0.08, 20, 1, 0.08, 19, 1, 0.08, 19, 0, 0.08, 20, 1, 0.08, 19, 1, 0.08, 19, 1, 0.08, 20, 0, 0.07, 19, 0, 0.06, 19, 1, 0.04, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.06, 20, 0, 0.06, 19, 1, 0.08, 19, 0, 0.09, 19, 2, 0.1, 19, 1, 0.09, 19, 1, 0.08, 20, 1, 0.09, 19, 0, 0.09, 20, 1, 0.09, 19, 1, 0.09, 19, 1, 0.09, 20, 1, 0.09, 19, 1, 0.09, 19, 0, 0.09, 20, 1, 0.09, 19, 1, 0.09, 20, 1, 0.09, 19, 1, 0.09, 19, 1, 0.09, 20, 1, 0.1, 19, 1, 0.13, 20, 1, 0.17, 19, 1, 0.21, 19, 2, 0.24, 19, 2, 0.26, 18, 3, 0.29, 19, 2, 0.31, 18, 3, 0.34, 19, 3, 0.33, 19, 2, 0.3, 19, 3, 0.27, 19, 3, 0.23, 19, 4, 0.2, 19, 3, 0.15, 20, 2, 0.17, 19, 3, 0.19, 19, 3, 0.21, 19, 3, 0.22, 19, 3, 0.23, 19, 4, 0.24, 18, 4, 0.25, 19, 5, 0.26, 18, 5, 0.27, 19, 5, 0.28, 18, 5, 0.28, 18, 6, 0.29, 18, 6, 0.3, 19, 4, 0.28, 18, 4, 0.27, 19, 4, 0.27, 19, 5, 0.27, 19, 4, 0.27, 19, 5, 0.27, 19, 4, 0.27, 19, 5, 0.28, 19, 4, 0.3, 19, 5, 0.31, 18, 6, 0.32, 18, 5, 0.33, 18, 6, 0.34, 18, 6, 0.34, 18, 7, 0.35, 18, 6, 0.36, 18, 7, 0.36, 18, 8, 0.36, 18, 6, 0.37, 18, 5, 0.35, 19, 6, 0.35, 18, 6, 0.35, 19, 6, 0.36, 18, 6, 0.36, 19, 6, 0.36, 18, 6, 0.36, 19, 6, 0.36, 18, 6, 0.36, 19, 6, 0.36, 18, 7, 0.37, 19, 6, 0.39, 18, 7, 0.4, 18, 7, 0.41, 18, 7, 0.42, 17, 7, 0.41, 18, 7, 0.41, 19, 7, 0.41, 18, 7, 0.41, 18, 7, 0.41, 18, 7, 0.41, 18, 7, 0.42, 18, 7, 0.43, 18, 8, 0.45, 18, 8, 0.45, 17, 8, 0.46, 17, 8, 0.47, 18, 8, 0.48, 16, 9, 0.48, 17, 9, 0.48, 17, 10, 0.49, 16, 9, 0.49, 17, 10, 0.49, 16, 10, 0.5, 16, 11, 0.5, 16, 10, 0.5, 16, 11, 0.5, 15, 11, 0.5, 16, 11, 0.51, 15, 12, 0.51, 15, 11, 0.51, 17, 11, 0.54, 17, 9, 0.55, 17, 8, 0.52, 17, 9, 0.52, 17, 10, 0.52, 17, 9, 0.5, 17, 8, 0.45, 18, 6, 0.43, 19, 7, 0.44, 18, 7, 0.43, 18, 7, 0.41, 18, 6, 0.37, 18, 7, 0.34, 19, 5, 0.35, 18, 6, 0.35, 19, 6, 0.35, 19, 5, 0.31, 18, 4, 0.24, 19, 1, 0.15, 18, -1, 0.12, 19, -3, 0.09, 18, -2, 0.03, 19, -1, -0.01, 19, -1, -0.04, 19, -1, -0.04, 19, -1, -0.03, 20, 0, -0.03, 19, -1, -0.02, 19, 0, -0.01, 19, 0, 0.01, 19, 0, 0.02, 19, -1, -0.01, 20, -1, -0.03, 19, -2, -0.03, 19, -1, -0.02, 20, -2, -0.04, 18, -4, -0.12, 18, -4, -0.25, 16, -7, -0.31, 17, -8, -0.37, 18, -8, -0.35, 17, -7, -0.35, 18, -7, -0.35, 18, -6, -0.35, 17, -6, -0.35, 18, -6, -0.35, 18, -6, -0.35, 17, -5, -0.35, 17, -4, -0.36, 18, -5, -0.36, 17, -4, -0.36, 17, -4, -0.36, 18, -3, -0.36, 17, -3, -0.36, 17, -3, -0.36, 17, -2, -0.36, 17, -2, -0.36, 17, -2, -0.36, 16, -1, -0.36, 17, -1, -0.36, 17, 0, -0.35, 17, -1, -0.33, 17, 0, -0.31, 16, 1, -0.27, 17, 0, -0.22, 17, 1, -0.18, 16, 2, -0.14, 17, 1, -0.1, 16, 2, -0.07, 17, 3, -0.04, 16, 3, -0.01, 16, 3, 0.02, 16, 3, 0.05, 17, 4, 0.07, 16, 4, 0.1, 16, 4, 0.12, 16, 5, 0.14, 15, 4, 0.16, 16, 6, 0.17, 16, 5, 0.19, 16, 6, 0.21, 15, 6, 0.22, 16, 7, 0.23, 16, 7, 0.25, 15, 7, 0.26, 16, 7, 0.27, 15, 8, 0.28, 15, 8, 0.29, 16, 8, 0.3, 15, 9, 0.31, 15, 8, 0.35, 17, 8, 0.41, 17, 6, 0.45, 17, 6, 0.44, 17, 5, 0.41, 18, 6, 0.39, 18, 6, 0.38, 18, 7, 0.37, 17, 6, 0.38, 19, 7, 0.37, 18, 6, 0.37, 18, 6, 0.37, 19, 6, 0.37, 19, 5, 0.32, 18, 4, 0.26, 19, 3, 0.2, 19, 2, 0.17, 19, 1, 0.12, 19, 0, 0.12, 19, 1, 0.12, 19, 2, 0.12, 19, 2, 0.12, 19, 1, 0.1, 19, 0, 0.06, 19, 0, 0, 20, -1, 0.02, 19, 0, 0.04, 19, -2, -0.01, 19, 0, -0.02, 19, -2, -0.02, 19, 0, -0.01, 19, -1, 0, 19, 0, 0, 19, 0, 0.01, 19, 0, 0.01, 18, 1, 0.01, 19, 1, 0.02, 19, 2, 0.02, 18, 1, 0.02, 18, 2, 0.03, 20, 2, 0.07, 19, 2, 0.11, 19, 2, 0.15, 20, 2, 0.2, 19, 2, 0.24, 19, 3, 0.28, 19, 3, 0.31, 19, 4, 0.34, 19, 3, 0.37, 18, 4, 0.39, 19, 4, 0.41, 18, 5, 0.43, 18, 5, 0.45, 18, 5, 0.47, 19, 6, 0.49, 18, 5, 0.5, 18, 7, 0.52, 18, 6, 0.53, 17, 7, 0.54, 18, 7, 0.55, 18, 7, 0.56, 17, 8, 0.57, 18, 8, 0.58, 17, 8, 0.58, 17, 8, 0.59, 17, 9, 0.59, 17, 9, 0.6, 17, 9, 0.6, 16, 9, 0.61, 17, 10, 0.61, 16, 10, 0.61, 16, 10, 0.61, 16, 11, 0.61, 16, 10, 0.62, 15, 11, 0.62, 16, 11, 0.62, 15, 12, 0.62, 16, 11, 0.62, 15, 12, 0.62, 15, 12, 0.62, 14, 12, 0.62, 15, 13, 0.62, 14, 12, 0.62, 15, 12, 0.59, 15, 10, 0.44, 16, 5, 0.4, 18, 5, 0.33, 17, 4, 0.29, 19, 5, 0.32, 19, 6, 0.35, 18, 5, 0.35, 18, 7, 0.35, 18, 6, 0.35, 19, 5, 0.31, 19, 5, 0.25, 18, 2, 0.25, 20, 1, 0.25, 19, 3, 0.24, 19, 2, 0.23, 19, 3, 0.22, 18, 4, 0.22, 19, 3, 0.22, 19, 3, 0.19, 19, 2, 0.15, 19, 1, 0.11, 19, 1, 0.11)); AddData(new Array(20, 2, 0.11, 19, 1, 0.11, 19, 1, 0.11, 20, 1, 0.09, 19, 1, 0.09, 19, 1, 0.08, 20, 1, 0.08, 19, 0, 0.06, 19, 0, 0.05, 20, 1, 0.04, 19, 0, 0.05, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, -1, 0.02, 20, -1, -0.02, 19, -1, -0.03, 19, -2, -0.05, 19, -2, -0.07, 19, -2, -0.08, 20, -3, -0.07, 19, -2, -0.07, 19, -2, -0.08, 19, -2, -0.08, 19, -3, -0.08, 20, -2, -0.08, 19, -2, -0.08, 19, -4, -0.11, 18, -3, -0.15, 20, -3, -0.17, 18, -4, -0.16, 19, -4, -0.16, 19, -4, -0.16, 19, -4, -0.16, 19, -4, -0.16, 19, -4, -0.16, 19, -3, -0.16, 19, -4, -0.16, 19, -4, -0.16, 19, -4, -0.16, 18, -5, -0.19, 18, -5, -0.25, 19, -5, -0.29, 18, -5, -0.27, 19, -6, -0.25, 18, -6, -0.26, 19, -5, -0.26, 18, -6, -0.25, 19, -5, -0.24, 19, -5, -0.23, 18, -5, -0.21, 19, -6, -0.14, 18, -6, -0.08, 19, -5, -0.02, 18, -5, 0.03, 18, -4, 0.07, 18, -4, 0.12, 18, -4, 0.16, 18, -3, 0.2, 17, -3, 0.23, 18, -3, 0.27, 18, -2, 0.3, 17, -2, 0.33, 18, -2, 0.36, 17, -1, 0.38, 18, -1, 0.41, 17, -1, 0.43, 17, 0, 0.45, 17, 0, 0.47, 17, 0, 0.49, 17, 1, 0.51, 17, 1, 0.52, 17, 1, 0.54, 17, 2, 0.55, 17, 1, 0.54, 17, 1, 0.5, 17, 1, 0.44, 17, 0, 0.36, 16, -1, 0.25, 18, 1, 0.17, 18, 1, 0.09, 18, 2, 0.02, 17, 1, 0, 18, 0, 0, 19, -1, 0.04, 20, 0, 0.07, 19, 0, 0.07, 19, 0, 0.07, 20, 1, 0.06, 19, 0, 0.07, 19, 1, 0.08, 19, 1, 0.1, 19, 1, 0.11, 19, 2, 0.13, 18, 1, 0.14, 19, 3, 0.15, 19, 2, 0.16, 18, 3, 0.17, 19, 3, 0.18, 18, 4, 0.19, 19, 4, 0.2, 18, 4, 0.21, 18, 4, 0.22, 18, 5, 0.22, 19, 5, 0.23, 18, 6, 0.24, 18, 6, 0.24, 18, 6, 0.25, 17, 6, 0.25, 18, 7, 0.26, 18, 7, 0.26, 18, 7, 0.26, 17, 8, 0.27, 18, 7, 0.27, 17, 9, 0.27, 17, 8, 0.27, 17, 9, 0.27, 17, 7, 0.34, 19, 8, 0.4, 18, 6, 0.41, 19, 5, 0.39, 18, 6, 0.37, 18, 6, 0.37, 19, 6, 0.37, 18, 6, 0.35, 19, 6, 0.34, 18, 6, 0.34, 19, 5, 0.34, 19, 6, 0.33, 18, 4, 0.3, 19, 6, 0.28, 19, 4, 0.3, 19, 4, 0.3, 19, 4, 0.26, 18, 4, 0.2, 19, 3, 0.2, 20, 1, 0.24, 19, 1, 0.22, 19, 1, 0.19, 19, 1, 0.15, 19, 1, 0.1, 19, 2, 0.04, 20, -1, 0.05, 19, 0, 0.08, 19, 0, 0.07, 20, 0, 0.06, 19, 1, 0.05, 19, -1, 0.05, 20, 0, 0.05, 19, 1, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, -1, 0.06, 19, 0, 0.09, 19, -1, 0.1, 20, 0, 0.11, 19, 0, 0.11, 18, 0, 0.11, 19, 0, 0.1, 19, 1, 0.08, 18, 0, 0.06, 19, 1, 0.04, 19, 0, 0.05, 18, 0, 0.05, 19, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05, 19, 0, 0.05, 18, -1, 0.03, 18, -1, -0.01, 18, -1, -0.03, 17, 0, -0.05, 18, 0, -0.06, 18, 0, -0.06, 18, 0, -0.06, 18, 0, -0.05, 18, 0, -0.03, 17, 1, -0.01, 18, 1, 0.02, 18, 1, 0.06, 17, 0, 0.06, 17, -1, 0.04, 18, 0, 0.04, 17, 1, 0.04, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.04, 16, -1, 0.03, 16, 0, 0.03, 16, 0, 0.02, 16, 0, 0.02, 16, -1, 0.02, 16, 0, 0.02, 16, -1, 0.02, 16, 0, 0.02, 16, 0, 0.02, 15, -1, 0.02, 16, 0, 0.02, 15, 0, 0.02, 16, -1, 0.02, 15, 0, 0.02, 16, -1, 0.02, 15, 0, 0.02, 15, -1, 0, 15, -1, -0.02, 15, 0, -0.04, 15, -2, -0.03, 15, -2, -0.07)); StopData(); StartData(2); AddData(new Array(1680, 1518, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 12, 0, 0.04, 14, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.05, 21, -1, 0.02, 22, 0, 0.02, 22, -1, 0.02, 21, 0, 0.03, 22, -1, 0.02, 21, -1, 0.02, 22, 0, 0.02, 23, -1, 0.02, 22, 0, 0.02, 22, -1, 0.02, 22, 0, 0.02, 22, -1, 0.02, 22, 0, 0.02, 22, -1, 0.02, 22, -1, 0.02, 22, 0, 0.02, 22, -1, 0.02, 22, -1, 0.01, 21, -1, -0.04, 22, -1, -0.05, 21, -2, -0.02, 21, -3, -0.06, 22, -3, -0.08, 21, -3, -0.13, 22, -3, -0.16, 21, -5, -0.16, 22, -4, -0.15, 21, -4, -0.15, 22, -4, -0.15, 22, -5, -0.15, 21, -4, -0.15, 22, -4, -0.17, 21, -6, -0.23, 19, -8, -0.3, 19, -9, -0.33, 19, -10, -0.36, 19, -10, -0.41, 19, -10, -0.43, 18, -11, -0.48, 16, -15, -0.51, 14, -15, -0.59, 13, -15, -0.69, 15, -14, -0.73, 15, -14, -0.8, 14, -13, -0.87, 14, -13, -0.95, 14, -12, -1.03, 14, -12, -1.12, 14, -12, -1.21, 14, -11, -1.3, 14, -11, -1.4, 14, -10, -1.51, 14, -10, -1.62, 14, -9, -1.73, 14, -9, -1.84, 14, -9, -1.96, 14, -8, -2.08, 14, -8, -2.2, 14, -8, -2.32, 14, -7, -2.45, 15, -7, -2.57, 14, -7, -2.7, 14, -7, -2.83, 14, -6, -2.95, 14, -6, -3.07, 14, -5, -3.17, 14, -5, -3.27, 14, -5, -3.37, 14, -5, -3.45, 14, -4, -3.53, 13, -4, -3.61, 14, -4, -3.68, 13, -3, -3.75, 14, -4, -3.81, 13, -2, -3.86, 13, -3, -3.92, 14, -2, -3.97, 13, -1, -4.02, 13, -2, -4.06, 13, -1, -4.1, 13, 0, -4.14, 13, -1, -4.18, 13, 0, -4.21, 13, 1, -4.24, 13, 0, -4.27, 12, 1, -4.3, 13, 2, -4.32, 13, 1, -4.35, 12, 2, -4.37, 13, 2, -4.39, 12, 3, -4.41, 13, 3, -4.43, 12, 3, -4.45, 13, 4, -4.46, 12, 4, -4.48, 12, 4, -4.49, 12, 5, -4.51, 13, 5, -4.52, 12, 5, -4.53, 12, 6, -4.54, 12, 5, -4.55, 12, 7, -4.56, 12, 6, -4.58, 12, 7, -4.61, 12, 7, -4.65, 12, 7, -4.68, 12, 8, -4.71, 11, 8, -4.74, 12, 8, -4.77, 12, 8, -4.8, 11, 9, -4.82, 12, 10, -4.85, 12, 9, -4.87, 11, 10, -4.89, 12, 10, -4.91, 11, 10, -4.92, 12, 11, -4.94, 11, 11, -4.96, 11, 11, -4.97, 12, 12, -4.99, 11, 12, -5.03, 11, 12, -5.07, 11, 12, -5.11, 11, 13, -5.14, 11, 13, -5.18, 11, 13, -5.21, 11, 14, -5.24, 11, 14, -5.26, 11, 14, -5.29, 11, 14, -5.31, 11, 15, -5.34, 11, 15, -5.36, 11, 15, -5.39, 10, 16, -5.43, 11, 16, -5.47, 11, 16, -5.53, 10, 16, -5.59, 10, 17, -5.64, 10, 3, -6.12, 7, 3, -6.45, 13, -3, -6.42, 12, -2, -6.41, 13, -2, -6.37, 13, -1, -6.35, 13, -2, -6.34, 13, 0, -6.34, 13, -1, -6.33, 13, 0, -6.32, 13, 0, -6.32, 13, 0, -6.34, 13, -2, -6.35, 14, -2, -6.35, 14, -2, -6.35, 14, -1, -6.36, 14, -2, -6.36, 15, -2, -6.36, 14, -1, -6.36, 15, -2, -6.37, 16, -2, -6.37, 15, -2, -6.37, 16, -2, -6.37, 16, -2, -6.37, 16, -3, -6.37, 17, -2, -6.37, 17, -2, -6.37, 17, -2, -6.37, 17, -2, -6.37, 18, -3, -6.38, 17, -3, -6.43, 17, -5, -6.5, 17, -5, -6.55, 16, -7, -6.6, 16, -8, -6.64, 16, -9, -6.69, 16, -8, -6.71, 17, -8, -6.71, 17, -9, -6.71, 17, -8, -6.7, 17, -9, -6.74, 17, -10, -6.8, 15, -10, -6.85, 16, -11, -6.86, 15, -13, -6.95, 12, -14, -7.12, 9, -14, -7.21, 9, -15, -7.32, 8, -15, -7.38, 8, -15, -7.39, 8, -16, -7.38, 7, -15, -7.35, 7, -15, -7.38, 8, -14, -7.41, 7, -13, -7.45, 8, -13, -7.5, 7, -13, -7.55, 7, -12, -7.61, 8, -12, -7.68, 7, -12, -7.75, 7, -11, -7.83, 7, -11, -7.91, 8, -10, -8, 7, -10, -8.1, 7, -9, -8.19, 8, -9, -8.3, 7, -9, -8.4, 7, -9, -8.51, 8, -8, -8.62, 7, -7, -8.73, 8, -8, -8.85, 7, -7, -8.97, 8, -6, -9.09, 7, -7, -9.22, 8, -6, -9.34, 8, -6, -9.47, 7, -5, -9.6, 8, -6, -9.73, 8, -5, -9.86, 7, -5, -10, 8, -4, -10.13, 7, -4, -10.27, 8, -4, -10.41, 7, -4, -10.55, 7, -3, -10.67, 7, -4, -10.79, 7, -2, -10.91, 7, -3, -11.01, 7, -2, -11.11, 7, -1, -11.2, 6, -1, -11.29, 7, -1, -11.37, 7, -1, -11.44, 6, 0, -11.51, 7, 0, -11.58, 6, 1, -11.64, 7, 0, -11.69, 6, 2, -11.75, 6, 1, -11.8, 7, 2, -11.84, 6, 2, -11.89, 7, 3, -11.93, 6, 3, -11.97, 6, 3, -12, 6, 4, -12.03, 7, 4, -12.07, 6, 4, -12.09, 6, 5, -12.12, 6, 5, -12.15, 7, 5, -12.17, 6, 5, -12.19, 6, 6, -12.21, 6, 7, -12.23, 6, 6, -12.25, 6, 7, -12.27, 6, 7, -12.29, 6, 8, -12.3, 6, 7, -12.31, 6, 8, -12.33, 7, 9, -12.34, 6, 8, -12.35, 6, 9, -12.36, 5, 10, -12.37, 6, 9, -12.38, 6, 10, -12.39, 6, 11, -12.4, 6, 10, -12.41, 6, 11, -12.41, 6, 11, -12.42, 6, 11, -12.43, 6, 12, -12.43, 5, 12, -12.44, 6, 12, -12.44, 6, 13, -12.45, 6, 13, -12.45, 5, 13, -12.46, 6, 14, -12.46, 6, 13, -12.47, 6, 14, -12.47, 5, 15, -12.47, 6, 14, -12.48, 6, 15, -12.48, 5, 15, -12.48, 6, 16, -12.48, 5, 15, -12.49, 6, 16, -12.49, 5, 17, -12.49, 6, 16, -12.49, 5, 17, -12.49, 6, 17, -12.5, 5, 18, -12.5, 6, 17, -12.5, 5, 18, -12.5, 6, 19, -12.5, 6, 13, -12.49, 6, -2, -12.53, 8, -1, -12.53, 8, -2, -12.54, 8, -3, -12.52, 8, -1, -12.54, 9, 0, -12.55, 9, -1, -12.55, 9, 0, -12.55, 8, 1, -12.56, 9, 0, -12.59, 9, -1, -12.58, 9, 0, -12.58, 9, -1, -12.58, 10, -1, -12.58, 10, 0, -12.58, 10, -1, -12.58, 11, 0, -12.58, 10, -1, -12.58, 11, -1, -12.58, 12, 0, -12.58, 12, -1, -12.58, 12, -1, -12.58, 12, 0, -12.58, 12, -1, -12.58, 13, -1, -12.58, 14, -1, -12.58, 13, 0, -12.58, 14, -1, -12.58, 14, -1, -12.6, 14, -2, -12.61, 14, -1, -12.62, 15, -1, -12.63, 15, -2, -12.63, 15, -2, -12.63, 16, -1, -12.63, 16, -2, -12.63, 16, -2, -12.63, 16, -1, -12.63, 17, -2, -12.63, 17, -2, -12.63, 17, -2, -12.63, 17, -2, -12.62, 18, -2, -12.63, 18, -2, -12.63, 18, -1, -12.62, 19, -2, -12.6, 19, -1, -12.58, 19, -1, -12.57, 19, -1, -12.55, 19, -1, -12.57, 19, -1, -12.57, 19, -1, -12.57, 20, -1, -12.57, 20, -1, -12.58, 20, -1, -12.58, 21, -1, -12.58, 21, -1, -12.58, 21, -2, -12.57, 21, 0, -12.56, 22, -2, -12.51, 22, -1, -12.47, 22, 0, -12.44, 22, -1, -12.4, 21, 0, -12.37, 21, 1, -12.34, 22, 0, -12.31, 21, 1, -12.29, 21, 2, -12.27, 21, 1, -12.24, 21, 2, -12.23, 21, 1, -12.26, 21, 1, -12.3, 21, 2, -12.34, 22, 1, -12.39, 21, 2, -12.43, 22, 3, -12.46, 21, 2, -12.49, 22, 2, -12.48, 22, 3, -12.47, 21, 3, -12.45, 22, 2, -12.43, 22, 3, -12.42, 22, 2, -12.42, 22, 2, -12.42, 22, 2, -12.42, 22, 3, -12.42, 22, 2, -12.42, 22, 2, -12.41, 22, 3, -12.4, 22, 3, -12.38, 21, 3, -12.37, 21, 3, -12.36, 22, 4, -12.35, 21, 4, -12.35, 21, 5, -12.34, 21, 5, -12.33, 21, 5, -12.32, 21, 5, -12.33, 22, 3, -12.34, 21, 4, -12.34)); AddData(new Array(22, 4, -12.34, 22, 4, -12.34, 21, 4, -12.34, 22, 4, -12.34, 22, 4, -12.34, 22, 4, -12.34, 21, 3, -12.36, 22, 4, -12.38, 21, 3, -12.38, 22, 3, -12.38, 22, 2, -12.43, 22, 1, -12.49, 21, 1, -12.54, 22, -1, -12.55, 22, -1, -12.56, 22, 0, -12.58, 22, -2, -12.57, 22, -1, -12.57, 22, -1, -12.57, 22, -1, -12.57, 22, -1, -12.57, 22, -1, -12.57, 22, -1, -12.59, 22, -3, -12.64, 21, -3, -12.69, 21, -5, -12.71, 21, -5, -12.71, 21, -4, -12.73, 22, -5, -12.75, 21, -5, -12.76, 21, -5, -12.75, 22, -5, -12.75, 21, -5, -12.75, 21, -5, -12.75, 22, -5, -12.75, 21, -5, -12.75, 19, -10, -12.75, 20, -10, -12.77, 19, -10, -12.79, 19, -9, -12.82, 19, -8, -12.86, 19, -9, -12.91, 18, -8, -12.95, 19, -7, -12.99, 19, -8, -13.03, 19, -6, -13.07, 18, -7, -13.09, 19, -6, -13.1, 19, -6, -13.11, 18, -5, -13.12, 19, -5, -13.13, 18, -5, -13.14, 18, -5, -13.15, 19, -4, -13.16, 18, -3, -13.17, 18, -4, -13.17, 18, -3, -13.18, 18, -3, -13.18, 18, -2, -13.19, 18, -2, -13.2, 18, -2, -13.2, 18, -1, -13.2, 18, -1, -13.21, 18, -1, -13.21, 17, 0, -13.22, 18, 0, -13.22, 17, 0, -13.22, 18, 1, -13.23, 17, 1, -13.23, 18, 1, -13.23, 17, 2, -13.24, 17, 2, -13.27, 17, 2, -13.3, 17, 3, -13.34, 17, 3, -13.39, 17, 3, -13.44, 16, -3, -13.28, 15, -5, -13.22, 13, -9, -13.21, 11, -10, -13.23, 11, -10, -13.28, 10, -12, -13.31, 11, -11, -13.3, 11, -11, -13.31, 10, -12, -13.37, 9, -12, -13.46, 8, -12, -13.58, 9, -13, -13.55, 8, -14, -13.5, 8, -14, -13.43, 8, -13, -13.35, 9, -14, -13.26, 8, -13, -13.17, 8, -12, -13.08, 8, -12, -12.98, 9, -12, -12.87, 8, -12, -12.77, 8, -10, -12.66, 8, -11, -12.54, 8, -10, -12.43, 8, -10, -12.31, 9, -9, -12.19, 8, -8, -12.06, 7, -9, -11.94, 8, -8, -11.81, 8, -7, -11.68, 8, -7, -11.55, 7, -7, -11.42, 8, -6, -11.29, 7, -6, -11.15, 7, -6, -11.02, 8, -5, -10.88, 7, -5, -10.74, 6, -5, -10.6, 7, -4, -10.46, 7, -4, -10.32, 7, -4, -10.18, 6, -3, -10.04, 7, -4, -9.9, 6, -3, -9.75, 7, -2, -9.61, 6, -3, -9.46, 6, -2, -9.32, 7, -2, -9.17, 6, -2, -9.03, 7, -2, -8.88, 6, -1, -8.73, 7, -1, -8.59, 6, -1, -8.44, 7, 0, -8.29, 7, 0, -8.15, 7, 0, -8, 7, 0, -7.85, 7, 1, -7.7, 7, 2, -7.55, 7, 1, -7.41, 8, 2, -7.26, 7, 3, -7.11, 7, 3, -6.96, 8, 3, -6.81, 7, 4, -6.66, 7, 4, -6.52, 8, 4, -6.39, 7, 5, -6.27, 7, 6, -6.16, 7, 5, -6.05, 7, 6, -5.97, 6, 7, -5.89, 7, 6, -5.84, 7, 7, -5.78, 6, 7, -5.74, 7, 8, -5.69, 7, 7, -5.65, 6, 9, -5.6, 7, 8, -5.57, 6, 9, -5.53, 6, 9, -5.5, 7, 9, -5.47, 6, 9, -5.44, 6, 10, -5.41, 7, 10, -5.39, 6, 11, -5.36, 6, 11, -5.34, 6, 11, -5.32, 6, 11, -5.3, 7, 12, -5.28, 6, 11, -5.27, 6, 13, -5.28, 6, 12, -5.29, 6, 12, -5.32, 6, 13, -5.35, 6, 13, -5.39, 6, 14, -5.44, 6, 13, -5.49, 5, 14, -5.55, 6, 14, -5.61, 6, 15, -5.67, 6, 15, -5.72, 5, 15, -5.77, 6, 15, -5.81, 6, 16, -5.85, 5, 16, -5.89, 6, 16, -5.93, 6, 17, -5.96, 5, 17, -5.99, 6, 17, -6.02, 5, 17, -6.05, 6, 18, -6.08, 6, 18, -6.1, 5, 18, -6.12, 6, 19, -6.15, 5, 19, -6.17, 6, 19, -6.18, 5, 19, -6.2, 9, 16, -5.99, 12, 6, -5.95, 12, 3, -5.99, 13, 2, -5.99, 14, 2, -6, 14, 0, -6, 14, 3, -6, 15, 4, -6.01, 14, 3, -6.01, 15, 4, -6.02, 15, 3, -6.07, 15, 2, -6.12, 15, 1, -6.16, 16, 0, -6.14, 16, 1, -6.14, 17, 2, -6.14, 16, 1, -6.14, 16, 2, -6.15, 17, 1, -6.16, 17, 1, -6.15, 17, 2, -6.15, 18, 1, -6.16, 18, 2, -6.16, 18, 1, -6.16, 19, 1, -6.16, 19, 1, -6.17, 19, 2, -6.18, 19, 0, -6.19, 20, 1, -6.19, 20, 1, -6.19, 20, 1, -6.2, 21, 0, -6.23, 20, 1, -6.23, 22, -1, -6.23, 21, 1, -6.23, 22, 0, -6.23, 22, 0, -6.23, 22, 0, -6.23, 22, 0, -6.23, 22, 0, -6.23, 22, -1, -6.27, 21, -2, -6.32, 22, -2, -6.3, 22, -2, -6.3, 22, -2, -6.33, 22, -2, -6.36, 22, -3, -6.34, 21, -3, -6.34, 22, -2, -6.35, 22, -2, -6.36, 22, -3, -6.35, 22, -3, -6.36, 22, -3, -6.36, 21, -2, -6.36, 22, -4, -6.4, 21, -5, -6.47, 20, -4, -6.56, 21, -5, -6.63, 21, -3, -6.68, 20, -3, -6.72, 21, -3, -6.76, 21, -3, -6.8, 20, -2, -6.84, 21, -2, -6.87, 20, -1, -6.9, 20, -1, -6.93, 21, -1, -6.96, 20, 0, -6.98, 20, -1, -7.01, 20, 1, -7.03, 20, 0, -7.05, 20, 1, -7.07, 20, 1, -7.09, 20, 2, -7.11, 20, 2, -7.12, 20, 2, -7.14, 20, 2, -7.15, 19, 3, -7.16, 20, 3, -7.18, 20, 3, -7.21, 20, 2, -7.19, 20, 1, -7.16, 20, 1, -7.11, 21, -1, -7.03, 21, -1, -6.92, 21, 1, -6.88, 21, 0, -6.84, 21, 1, -6.79, 21, 2, -6.75, 20, 1, -6.71, 21, 2, -6.67, 21, 2, -6.64, 20, 3, -6.62, 20, 3, -6.61, 21, 3, -6.61, 20, 4, -6.61, 20, 4, -6.61, 20, 4, -6.61, 20, 4, -6.61, 20, 5, -6.61, 20, 6, -6.62, 20, 5, -6.62, 19, 6, -6.62, 20, 5, -6.59, 20, 5, -6.51, 20, 3, -6.35, 22, 1, -6.22, 22, 0, -6.12, 20, 0, -6.14, 21, -1, -6.18, 20, -2, -6.24, 21, -1, -6.26, 21, 0, -6.27, 22, 0, -6.28, 22, 0, -6.28, 22, 0, -6.27, 22, 0, -6.26, 22, 1, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, -1, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, -1, -6.28, 21, -2, -6.33, 22, -1, -6.36, 22, 0, -6.38, 22, -1, -6.39, 22, 0, -6.4, 22, -1, -6.4, 22, 0, -6.39, 22, 0, -6.38, 22, 1, -6.37, 22, 0, -6.35, 22, 0, -6.33, 23, 1, -6.3, 22, 0, -6.27, 22, 1, -6.26, 22, -1, -6.28, 21, -2, -6.33, 22, -1, -6.31, 22, -2, -6.31, 22, -1, -6.31, 22, -2, -6.31, 22, -1, -6.31, 22, -2, -6.31, 22, -1, -6.31, 22, -2, -6.32, 21, -2, -6.36, 22, -2, -6.38, 22, -3, -6.36, 22, -3, -6.36, 21, -3, -6.38, 22, -4, -6.44, 21, -5, -6.52, 20, -6, -6.56, 20, -7, -6.57, 21, -8, -6.61, 20, -7, -6.62, 20, -8, -6.61, 20, -8, -6.6, 20, -9, -6.65, 19, -9, -6.72, 18, -11, -6.77, 18, -13, -6.82, 16, -15, -6.91, 15, -14, -6.99, 12, -16, -7.13, 9, -18, -7.25, 9, -18, -7.34, 4, -20, -7.31, 5, -21, -7.27, 4, -20, -7.23, 5, -20, -7.19, 4, -19, -7.13, 5, -19, -7.07, 4, -19, -7.01, 5, -18, -6.93, 4, -18, -6.86, 5, -17, -6.77, 4, -17, -6.68, 5, -17, -6.59, 5, -16, -6.49, 4, -15, -6.39, 5, -16, -6.29, 5, -14, -6.18, 4, -15, -6.07, 5, -14, -5.96, 4, -13, -5.84, 5, -13, -5.72, 4, -13, -5.6, 5, -12, -5.47, 4, -12, -5.35, 4, -11, -5.22, 4, -11, -5.09, 4, -10, -4.96, 4, -10, -4.83, 4, -10, -4.7, 4, -10, -4.56, 3, -9, -4.42, 4, -9, -4.29, 3, -8, -4.15, 4, -8, -4.01, 3, -8, -3.87, 3, -8, -3.73, 3, -7, -3.59, 4, -7, -3.44, 3, -7, -3.3, 3, -7, -3.16, 3, -6, -3.01, 3, -6, -2.87, 3, -6, -2.72, 4, -5, -2.58, 3, -6, -2.43, 3, -5, -2.29, 4, -4, -2.14, 3, -5, -1.99, 4, -4, -1.85, 4, -3, -1.7, 4, -4, -1.55, 4, -3, -1.4, 4, -2, -1.26, 4, -2, -1.11, 4, -2, -0.96, 4, -1, -0.81, 4, -1, -0.66, 5, -1, -0.51, 4, 0, -0.36, 4, 1, -0.21, 4, 0, -0.07, 5, 2, 0.08, 4, 1, 0.23, 4, 2, 0.38, 4, 3, 0.53, 4, 3, 0.68, 4, 3, 0.83, 4, 4, 0.98, 3, 4, 1.13, 4, 4, 1.28, 3, 5, 1.43, 4, 5, 1.58, 3, 5, 1.73, 3, 6, 1.88, 3, 6, 2.03, 3, 6, 2.18, 2, 6, 2.33, 3, 7, 2.48, 3, 6, 2.63, 2, 7, 2.78, 3, 8, 2.93, 3, 7, 3.08, 2, 7, 3.23, 3, 8, 3.38, 3, 8, 3.53, 2, 8, 3.68, 3, 9, 3.83, 3, 8, 3.98, 3, 9, 4.13, 3, 9, 4.28, 3, 10, 4.43, 3, 10, 4.59, 4, 10, 4.74, 3, 10, 4.89, 4, 11, 5.04, 3, 11, 5.19, 4, 11, 5.34, 4, 12, 5.49, 4, 12, 5.64, 3, 13, 5.78, 4, 13, 5.91, 4, 13, 6.03, 4, 14, 6.14, 3, 14, 6.25, 4, 15, 6.35, 3, 14, 6.44, 4, 15, 6.53, 3, 16, 6.61, 3, 15, 6.68, 4, 16, 6.75, 3, 16, 6.82, 3, 17, 6.88, 3, 17, 6.94, 3, 17, 6.98, 3, 17, 7.01, 3, 17, 7.03, 3, 18, 7.04, 3, 18, 7.03, 3, 18, 7.02, 3, 18, 7, 3, 19, 6.96, 0, 19, 7, -6, 3, 6.43, -4, 4, 6.14, -5, 6, 5.81, -4, 7, 5.54, -3, -2, 5.64, -3, 0, 5.59, -3, -1, 5.58)); AddData(new Array(-2, -1, 5.59, -2, -2, 5.59, -2, 0, 5.57, -2, -1, 5.56, -2, 0, 5.55, -1, 1, 5.54, -2, 0, 5.53, -2, 1, 5.52, -1, 1, 5.51, -2, 2, 5.51, -2, 2, 5.52, -1, 1, 5.57, -1, 1, 5.62, 0, 2, 5.67, -1, 1, 5.73, 0, 2, 5.8, -1, 3, 5.88, 0, 2, 5.95, -1, 2, 6, -1, 1, 6.03, -1, 0, 6.01, -2, 0, 5.98, -1, -1, 5.96, -1, 0, 5.95, 0, 0, 5.95, 0, 0, 5.95, 1, 0, 5.96, 1, 0, 5.97, 1, 0, 5.98, 1, 0, 5.97, 1, -1, 5.96, 2, 0, 5.96, 2, -1, 5.95, 2, -1, 5.95, 2, 0, 5.95, 2, -1, 5.95, 3, -2, 5.95, 3, -1, 5.95, 3, -1, 5.95, 4, -1, 5.95, 3, -2, 5.93, 3, -2, 5.9, 4, -2, 5.88, 3, -3, 5.86, 4, -2, 5.83, 4, -2, 5.8, 5, -3, 5.77, 4, -2, 5.73, 3, -3, 5.66, 4, -4, 5.59, 4, -3, 5.55, 3, -4, 5.52, 4, -5, 5.49, 4, -4, 5.47, 4, -4, 5.44, 4, -5, 5.42, 4, -4, 5.42, 4, -4, 5.44, 4, -4, 5.47, 4, -4, 5.51, 4, -4, 5.54, 4, -3, 5.58, 4, -3, 5.63, 4, -3, 5.68, 4, -2, 5.74, 4, -2, 5.81, 4, -2, 5.89, 4, -1, 5.96, 4, -1, 6.02, 4, -1, 6.08, 4, 0, 6.14, 4, 0, 6.19, 3, 1, 6.24, 4, 1, 6.28, 4, 1, 6.3, 4, 1, 6.32, 3, 2, 6.34, 4, 2, 6.36, 3, 3, 6.38, 4, 3, 6.39, 4, 3, 6.41, 3, 3, 6.42, 4, 4, 6.44, 3, 4, 6.45, 4, 4, 6.46, 3, 5, 6.47, 4, 5, 6.48, 3, 6, 6.49, 4, 4, 6.55, 5, 5, 6.64, 5, 4, 6.74, 5, 6, 6.81, 5, 5, 6.87, 5, 6, 6.93, 4, 6, 6.98, 6, 6, 7.03, 6, 5, 7.04, 6, 5, 7.02, 7, 4, 6.97, 8, 4, 6.91, 7, 3, 6.83, 9, 5, 6.79, 9, 5, 6.8, 9, 5, 6.79, 10, 5, 6.78, 10, 4, 6.74, 11, 4, 6.68, 11, 3, 6.59, 11, 3, 6.54, 13, 2, 6.55, 12, 3, 6.55, 13, 3, 6.55, 13, 3, 6.55, 14, 3, 6.55, 14, 3, 6.54, 15, 2, 6.5, 14, 3, 6.47, 15, 3, 6.44, 16, 1, 6.45, 16, 2, 6.45, 16, 2, 6.45, 17, 2, 6.45, 16, 2, 6.45, 17, 1, 6.42, 17, 1, 6.36, 18, 1, 6.33, 18, 1, 6.34, 19, 0, 6.35, 18, 0, 6.34, 19, 0, 6.32, 19, 0, 6.31, 19, -1, 6.31, 20, 0, 6.31, 20, 0, 6.31, 20, 0, 6.31, 21, -1, 6.31, 21, 0, 6.31, 21, -1, 6.31, 21, 0, 6.31, 22, -1, 6.31, 22, 0, 6.31, 21, -1, 6.28, 22, -1, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -2, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -2, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -2, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -2, 6.23, 21, -3, 6.18, 22, -2, 6.19, 22, -3, 6.19, 21, -3, 6.19, 22, -3, 6.19, 22, -3, 6.19, 22, -3, 6.19, 22, -3, 6.19, 21, -3, 6.19, 22, -3, 6.19, 22, -3, 6.19, 22, -3, 6.19, 21, -3, 6.19, 22, -3, 6.18, 22, -3, 6.18, 22, -4, 6.18, 21, -3, 6.18, 22, -3, 6.18, 22, -4, 6.18, 22, -3, 6.18, 21, -3, 6.18, 22, -3, 6.18, 22, -4, 6.18, 22, -3, 6.18, 21, -3, 6.17, 22, -4, 6.17, 22, -3, 6.17, 22, -4, 6.17, 21, -3, 6.17, 22, -4, 6.17, 22, -3, 6.17, 21, -3, 6.17, 22, -4, 6.17, 22, -3, 6.17, 22, -4, 6.16, 21, -5, 6.11, 21, -4, 6.08, 21, -5, 6.09, 22, -5, 6.1, 21, -5, 6.09, 21, -5, 6.09, 22, -6, 6.09, 21, -5, 6.09, 22, -5, 6.09, 21, -5, 6.09, 21, -5, 6.09, 22, -5, 6.09, 21, -5, 6.09, 22, -5, 6.09, 21, -5, 6.09, 21, -5, 6.08, 21, -7, 6.03, 20, -7, 5.99, 20, -8, 5.99, 21, -8, 5.99, 20, -7, 5.99, 20, -7, 5.99, 21, -7, 5.98, 20, -7, 5.98, 21, -7, 5.98, 21, -8, 5.98, 20, -7, 5.98, 21, -8, 5.98, 20, -7, 5.98, 21, -7, 5.98, 21, -8, 5.98, 20, -7, 5.98, 21, -8, 6.01, 20, -9, 6.09, 20, -9, 6.14, 21, -8, 6.18, 20, -8, 6.21, 21, -8, 6.23, 20, -7, 6.23, 21, -8, 6.23, 20, -7, 6.22, 21, -7, 6.2, 20, -7, 6.17, 20, -7, 6.1, 21, -8, 6.03, 20, -7, 5.98, 20, -6, 5.9, 19, -8, 5.92, 20, -9, 5.91, 20, -9, 5.95, 20, -8, 5.95, 20, -8, 5.96, 20, -7, 5.97, 20, -7, 5.98, 20, -8, 5.96, 20, -7, 5.95, 20, -8, 5.96, 21, -8, 5.96, 20, -8, 5.96, 21, -7, 5.96, 20, -8, 5.96, 21, -8, 5.97, 21, -7, 5.98, 20, -7, 5.99, 21, -7, 6, 20, -6, 6, 21, -6, 6.01, 20, -5, 6.01, 20, -6, 6.01, 21, -4, 6.02, 20, -5, 6.02, 20, -4, 6.03, 20, -4, 6.03, 20, -3, 6.03, 19, -3, 6.04, 20, -3, 6.04, 20, -2, 6.04, 20, -3, 6.04, 19, -1, 6.05, 20, -2, 6.05, 19, -1, 6.05, 20, 0, 6.05, 19, -1, 6.05, 19, 0, 6.05, 19, 0, 6.06, 19, 1, 6.06, 19, 1, 6.06, 19, 1, 6.07, 20, 0, 6.12, 20, 0, 6.2, 21, 0, 6.28, 21, 0, 6.34, 20, -1, 6.37, 21, 0, 6.4, 21, 0, 6.42, 22, 0, 6.44, 21, 0, 6.44, 22, 0, 6.44, 22, 1, 6.43, 22, 0, 6.42, 22, 2, 6.41, 21, 1, 6.41, 22, 2, 6.4, 21, 2, 6.39, 21, 3, 6.39, 22, 3, 6.38, 21, 3, 6.38, 21, 3, 6.37, 21, 4, 6.37, 21, 4, 6.36, 21, 5, 6.36, 20, 5, 6.36, 21, 5, 6.35, 21, 5, 6.35, 20, 6, 6.35, 21, 6, 6.34, 20, 6, 6.34, 21, 7, 6.34, 20, 7, 6.34, 20, 7, 6.33, 21, 8, 6.33, 20, 8, 6.33, 20, 8, 6.33, 20, 8, 6.33, 20, 9, 6.32, 19, 9, 6.32, 20, 10, 6.32, 19, 9, 6.32, 20, 10, 6.32, 19, 10, 6.32, 19, 11, 6.32, 19, 10, 6.32, 19, 11, 6.32, 18, 11, 6.32, 19, 12, 6.32, 18, 12, 6.32, 18, 11, 6.32, 18, 13, 6.32, 18, 12, 6.32, 18, 12, 6.32, 18, 13, 6.32, 17, 13, 6.32, 17, 14, 6.32, 18, 13, 6.32, 17, 14, 6.32, 16, 13, 6.32, 17, 15, 6.32, 16, 14, 6.32, 17, 14, 6.32, 16, 15, 6.32, 16, 15, 6.32, 16, 15, 6.32, 15, 15, 6.32, 16, 15, 6.32, 15, 16, 6.32, 15, 15, 6.32, 15, 16, 6.32, 15, 16, 6.32, 15, 16, 6.32, 14, 16, 6.32, 15, 17, 6.32, 14, 16, 6.32, 14, 17, 6.32, 14, 17, 6.32, 13, 17, 6.32, 14, 17, 6.32, 13, 17, 6.32, 13, 18, 6.32, 13, 17, 6.32, 13, 18, 6.32, 13, 18, 6.32, 13, 17, 6.32, 12, 18, 6.32, 12, 18, 6.32, 12, 19, 6.32, 12, 18, 6.32, 12, 18, 6.32, 12, 19, 6.32, 11, 18, 6.32, 12, 12, 6.36, 12, -3, 6.34, 13, -1, 6.33, 14, -2, 6.33, 13, -3, 6.32, 14, 0, 6.33, 15, -1, 6.33, 14, 1, 6.33, 14, 0, 6.34, 15, 0, 6.33, 14, 1, 6.32, 15, 0, 6.32, 14, 0, 6.32, 16, 0, 6.32, 15, 0, 6.32, 16, 0, 6.32, 16, 0, 6.32, 16, 0, 6.32, 17, 0, 6.32, 17, 0, 6.32, 17, 0, 6.32, 18, 0, 6.32, 17, 0, 6.32, 18, 0, 6.32, 19, -1, 6.33, 18, 1, 6.33, 19, 0, 6.33, 19, -1, 6.32, 20, -1, 6.27, 19, -1, 6.25, 20, -1, 6.24, 20, -1, 6.25, 21, -2, 6.25, 20, -2, 6.25, 21, -1, 6.25, 21, -2, 6.25, 21, -1, 6.25, 22, -2, 6.25, 22, -2, 6.25, 22, -1, 6.25, 22, -2, 6.25, 22, -2, 6.25, 22, -1, 6.25, 21, -2, 6.24, 22, -2, 6.22, 22, -3, 6.21, 22, -3, 6.22, 22, -2, 6.21, 21, -3, 6.21, 22, -2, 6.21, 22, -3, 6.21, 22, -4, 6.18, 21, -4, 6.13, 21, -4, 6.14, 22, -5, 6.14, 21, -4, 6.14, 22, -4, 6.13, 22, -5, 6.13, 21, -4, 6.13, 21, -4, 6.13, 21, -5, 6.09, 21, -6, 6.04, 20, -7, 6, 21, -7, 6.02, 21, -6, 6.03, 21, -7, 6.04, 20, -5, 6.06, 21, -6, 6.08, 21, -5, 6.1, 21, -5, 6.14, 21, -5, 6.19, 20, -4, 6.24, 21, -4, 6.29, 21, -4, 6.33, 20, -3, 6.38, 21, -3, 6.42, 20, -2, 6.45, 20, -2, 6.49, 20, -2, 6.53, 21, -1, 6.58, 20, -1, 6.64, 20, -1, 6.71, 20, 0, 6.78, 20, 0, 6.84, 20, 0, 6.9, 19, 1, 6.96, 20, 1, 7.02, 20, 1, 7.07, 19, 2, 7.11, 19, 2, 7.16, 20, 2, 7.2, 19, 3, 7.24, 19, 3, 7.27, 19, 3, 7.31, 19, 3, 7.34, 19, 4, 7.37, 19, 4, 7.4, 19, 5, 7.41, 19, 5, 7.42, 18, 5, 7.41, 19, 5, 7.39, 18, 5, 7.37, 19, 6, 7.33, 18, 6, 7.3, 19, 7, 7.27, 18, 6, 7.24, 18, 7, 7.22, 18, 8, 7.19, 18, 8, 7.17, 18, 8, 7.15, 18, 8, 7.13, 18, 9, 7.11, 18, 9, 7.09, 18, 9, 7.07, 18, 9, 7.06, 17, 10, 7.04, 18, 10, 7.03, 17, 11, 7.02, 17, 11, 7.03, 18, 2, 6.72, 17, 3, 6.46, 16, 0, 6.29, 18, -1, 6.19, 19, -1, 6.21, 20, -2, 6.24, 20, -2, 6.31, 20, 0, 6.31)); AddData(new Array(20, 0, 6.32, 21, 0, 6.34, 20, -1, 6.33, 21, 0, 6.31, 21, 0, 6.3, 21, 0, 6.31, 22, -1, 6.31, 22, 0, 6.31, 22, -1, 6.31, 22, 0, 6.31, 22, -1, 6.31, 21, -1, 6.3, 22, 0, 6.29, 22, -1, 6.29, 22, -1, 6.29, 22, -1, 6.29, 22, -1, 6.29, 22, -1, 6.29, 22, -1, 6.29, 22, 0, 6.29, 22, -1, 6.29, 22, -1, 6.29, 22, -1, 6.28, 22, -1, 6.28, 22, -1, 6.27, 22, -2, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -2, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -1, 6.27, 22, -2, 6.27, 22, -1, 6.27, 22, -1, 6.26, 22, -2, 6.26, 22, -1, 6.26, 22, -2, 6.26, 22, -1, 6.26, 22, -2, 6.26, 22, -1, 6.26, 22, -2, 6.25, 22, -2, 6.23, 22, -2, 6.26, 21, -3, 6.26, 22, -2, 6.26, 22, -2, 6.26, 22, -1, 6.24, 22, -2, 6.23, 22, -2, 6.24, 22, -2, 6.24, 22, -3, 6.24, 22, -2, 6.24, 22, -2, 6.24, 21, -2, 6.24, 22, -2, 6.24, 22, -2, 6.24, 22, -2, 6.24, 22, -2, 6.24, 22, -2, 6.24, 22, -3, 6.21, 21, -3, 6.19, 22, -2, 6.21, 22, -3, 6.21, 21, -3, 6.19, 22, -3, 6.18, 21, -3, 6.19, 22, -3, 6.19, 22, -3, 6.2, 21, -2, 6.23, 22, -3, 6.21, 21, -3, 6.21, 22, -2, 6.21, 22, -3, 6.21, 21, -2, 6.21, 22, -3, 6.21, 22, -3, 6.21, 22, -2, 6.21, 22, -3, 6.21, 22, -3, 6.21, 21, -3, 6.17, 21, -4, 6.12, 22, -5, 6.13, 21, -5, 6.12, 21, -5, 6.06, 20, -7, 6.01, 20, -9, 5.99, 20, -9, 6.01, 20, -7, 5.99, 20, -8, 5.98, 20, -7, 5.98, 20, -7, 5.92, 19, -10, 5.88, 20, -9, 5.9, 19, -9, 5.89, 20, -9, 5.9, 19, -9, 5.9, 20, -9, 5.9, 20, -10, 5.86, 19, -10, 5.81, 18, -10, 5.81, 19, -11, 5.81, 20, -11, 5.82, 19, -10, 5.82, 19, -11, 5.82, 19, -11, 5.82, 19, -11, 5.79, 18, -12, 5.74, 17, -13, 5.69, 16, -14, 5.67, 15, -15, 5.65, 16, -14, 5.62, 16, -14, 5.61, 16, -14, 5.61, 16, -13, 5.6, 17, -14, 5.61, 16, -14, 5.62, 13, -17, 5.65, 13, -18, 5.64, 12, -17, 5.64, 13, -16, 5.62, 13, -16, 5.6, 12, -16, 5.56, 12, -15, 5.52, 13, -15, 5.47, 12, -14, 5.41, 12, -15, 5.35, 12, -13, 5.28, 13, -13, 5.2, 12, -13, 5.12, 12, -13, 5.04, 12, -12, 4.95, 12, -11, 4.85, 12, -11, 4.75, 12, -11, 4.65, 12, -10, 4.54, 12, -10, 4.43, 12, -10, 4.32, 12, -9, 4.21, 12, -9, 4.09, 12, -8, 3.97, 12, -9, 3.84, 12, -7, 3.72, 13, -8, 3.59, 12, -7, 3.46, 12, -7, 3.33, 12, -7, 3.2, 12, -6, 3.07, 13, -6, 2.94, 12, -6, 2.83, 12, -5, 2.72, 12, -6, 2.62, 12, -4, 2.53, 11, -5, 2.44, 12, -4, 2.36, 12, -4, 2.28, 11, -4, 2.21, 12, -3, 2.14, 11, -3, 2.08, 11, -2, 2.02, 12, -3, 1.96, 11, -1, 1.91, 11, -2, 1.86, 11, -1, 1.82, 11, -1, 1.78, 11, 0, 1.74, 11, -1, 1.7, 11, 1, 1.67, 11, 0, 1.63, 11, 1, 1.6, 11, 1, 1.58, 11, 2, 1.55, 10, 2, 1.53, 11, 2, 1.5, 11, 2, 1.48, 10, 3, 1.46, 11, 4, 1.44, 10, 3, 1.42, 11, 4, 1.41, 10, 4, 1.39, 11, 5, 1.38, 10, 4, 1.36, 10, 6, 1.35, 11, 5, 1.34, 10, 6, 1.33, 10, 6, 1.32, 10, 6, 1.31, 10, 7, 1.3, 11, 7, 1.29, 10, 7, 1.28, 10, 8, 1.28, 10, 8, 1.26, 10, 8, 1.23, 10, 9, 1.2, 10, 8, 1.16, 9, 9, 1.13, 10, 10, 1.1, 10, 10, 1.08, 10, 10, 1.05, 10, 10, 1.03, 9, 11, 1.01, 10, 10, 0.99, 10, 12, 0.97, 9, 11, 0.95, 10, 12, 0.93, 9, 12, 0.92, 10, 13, 0.9, 9, 12, 0.89, 10, 13, 0.87, 9, 14, 0.86, 10, 13, 0.85, 9, 14, 0.84, 9, 14, 0.83, 10, 15, 0.82, 9, 14, 0.81, 9, 16, 0.8, 9, 15, 0.8, 9, 15, 0.79, 10, 16, 0.78, 9, 16, 0.78, 9, 17, 0.76, 9, 17, 0.73, 9, 16, 0.7, 9, 18, 0.66, 8, 17, 0.61, 9, 18, 0.55, 9, 18, 0.49, 9, 18, 0.42, 8, 18, 0.35, 9, 19, 0.27, 8, 18, 0.21, 8, 19, 0.14, 8, 19, 0.09, 8, 19, 0.05, 6, 7, -0.18, 9, -7, -0.11, 7, -2, -0.13, 8, -4, -0.15, 9, -4, -0.12, 9, -2, -0.15, 9, -2, -0.15, 9, -2, -0.15, 9, -1, -0.16, 10, -1, -0.16, 9, -2, -0.15, 9, -1, -0.12, 9, -1, -0.13, 10, -2, -0.14, 10, -2, -0.14, 10, -2, -0.14, 10, -2, -0.14, 11, -3, -0.16, 10, -2, -0.19, 11, -3, -0.21, 11, -3, -0.25, 10, -4, -0.29, 10, -5, -0.35, 10, -5, -0.43, 9, -7, -0.51, 8, -7, -0.55, 10, -8, -0.53, 9, -7, -0.54, 10, -7, -0.55, 9, -7, -0.56, 10, -6, -0.57, 9, -6, -0.57, 10, -5, -0.58, 9, -6, -0.58, 11, -5, -0.59, 10, -5, -0.6, 10, -5, -0.61, 10, -4, -0.6, 10, -4, -0.59, 10, -3, -0.57, 10, -4, -0.53, 10, -3, -0.5, 10, -2, -0.48, 10, -2, -0.45, 10, -2, -0.43, 10, -2, -0.4, 10, -1, -0.38, 10, -1, -0.36, 9, 0, -0.34, 10, 0, -0.33, 10, 0, -0.31, 9, 0, -0.29, 10, 1, -0.28, 10, 1, -0.27, 9, 2, -0.25, 10, 2, -0.24, 9, 2, -0.23, 10, 2, -0.22, 9, 3, -0.21, 9, 3, -0.2, 10, 3, -0.18, 10, 3, -0.11, 11, 1, 0, 11, 3, 0.12, 12, 1, 0.14, 12, 1, 0.14, 12, -1, 0.12, 11, -1, 0.08, 13, 1, 0.07, 12, 0, 0.06, 14, 1, 0.07, 13, 0, 0.08, 14, 1, 0.09, 14, 1, 0.11, 15, 2, 0.14, 15, 1, 0.16, 15, 2, 0.18, 15, 3, 0.2, 15, 2, 0.22, 15, 3, 0.24, 14, 4, 0.26, 15, 3, 0.27, 15, 4, 0.29, 14, 5, 0.3, 15, 4, 0.32, 15, 5, 0.33, 14, 5, 0.34, 14, 6, 0.35, 15, 6, 0.36, 14, 6, 0.37, 14, 7, 0.38, 14, 6, 0.38, 15, 7, 0.39, 14, 8, 0.4, 14, 8, 0.41, 14, 8, 0.41, 14, 8, 0.42, 14, 9, 0.42, 13, 9, 0.43, 14, 9, 0.43, 14, 9, 0.44, 14, 10, 0.44, 13, 10, 0.45, 15, 7, 0.51, 16, 7, 0.56, 15, 6, 0.58, 16, 5, 0.55, 16, 5, 0.49, 17, 7, 0.47, 17, 7, 0.44, 17, 7, 0.42, 16, 7, 0.41, 18, 8, 0.43, 18, 7, 0.44, 18, 7, 0.43, 18, 8, 0.43, 19, 8, 0.43, 19, 7, 0.43, 20, 9, 0.44, 20, 8, 0.45, 20, 9, 0.46, 20, 9, 0.48, 20, 9, 0.49, 19, 10, 0.5, 20, 9, 0.5, 19, 10, 0.51, 19, 11, 0.52, 19, 10, 0.52, 19, 11, 0.52, 19, 11, 0.53, 18, 11, 0.53, 19, 12, 0.53, 18, 12, 0.54, 18, 12, 0.54, 18, 12, 0.54, 18, 12, 0.54, 18, 12, 0.56, 19, 11, 0.58, 20, 10, 0.55, 19, 10, 0.55, 19, 11, 0.54, 20, 9, 0.5, 20, 10, 0.49, 20, 9, 0.5, 20, 10, 0.5, 19, 9, 0.49, 20, 10, 0.49, 20, 9, 0.49, 20, 10, 0.49, 20, 9, 0.49, 20, 10, 0.49, 20, 9, 0.49, 21, 10, 0.49, 20, 9, 0.49, 20, 10, 0.49, 20, 9, 0.49, 20, 10, 0.49, 20, 9, 0.49, 20, 10, 0.48, 20, 8, 0.43, 20, 9, 0.42, 20, 8, 0.42, 21, 8, 0.42, 20, 8, 0.42, 21, 8, 0.42, 20, 9, 0.42, 21, 8, 0.42, 21, 8, 0.42, 20, 8, 0.42, 21, 8, 0.42, 20, 9, 0.42, 21, 8, 0.41, 21, 7, 0.42, 21, 8, 0.44, 20, 7, 0.44, 21, 8, 0.45, 21, 8, 0.44, 20, 8, 0.42, 21, 8, 0.4, 20, 8, 0.4, 21, 8, 0.4, 21, 8, 0.4, 20, 8, 0.4, 21, 7, 0.4, 21, 8, 0.4, 21, 8, 0.39, 21, 6, 0.34, 20, 6, 0.3, 22, 5, 0.3, 21, 5, 0.3, 22, 6, 0.3, 21, 6, 0.3, 21, 5, 0.3, 21, 6, 0.3, 22, 5, 0.3, 21, 5, 0.25, 21, 3, 0.16, 21, 0, 0.09, 21, 0, 0.04, 21, -2, 0.01, 23, -1, 0.05, 21, 0, 0.04, 22, 1, 0.04, 22, 0, 0.04, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 0, 0.04, 22, -1, 0, 21, 0, -0.02, 22, -2, -0.02, 22, -1, -0.02, 22, -2, -0.02, 22, -1, -0.01, 22, -1, -0.02, 22, -2, -0.02, 22, -1, -0.02, 21, -2, -0.05, 22, -2, -0.06, 22, -2, -0.07, 22, -2, -0.06, 22, -3, -0.06, 22, -2, -0.06, 22, -2, -0.06, 21, -3, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -3, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -2, -0.06, 22, -3, -0.06, 22, -2, -0.06, 21, -2, -0.06, 22, -3, -0.06, 22, -2, -0.06, 22, -2, -0.05, 22, -3, -0.06, 21, -2, -0.06, 22, -2, -0.06, 22, -1, -0.06, 21, -2, -0.04, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.04, 21, -1, -0.04, 22, -1, -0.03, 21, 0, -0.03, 21, -1, -0.03, 22, 1, -0.02, 21, 0, -0.02, 21, 1, 0, 22, 0, 0.04, 22, -1, 0.03, 21, 0, 0.02, 22, -1, 0.02, 22, -1, 0.02, 22, 0, 0.02)); AddData(new Array(22, -1, 0.02, 22, 0, 0.02, 23, -1, 0.02, 21, 0, 0.03, 23, -1, 0.05, 21, 0, 0.06, 22, 0, 0.05, 22, 0, 0.04, 22, 1, 0.05, 21, -1, 0.04, 22, 0, 0.04, 22, 1, 0.05, 21, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, -1, 0.06, 22, 0, 0.07, 22, 0, 0.06, 22, 0, 0.05, 22, 0, 0.01, 22, -2, -0.02, 21, -3, -0.12, 21, -4, -0.17, 21, -7, -0.17, 20, -6, -0.19, 20, -7, -0.23, 22, -5, -0.22, 20, -7, -0.16, 21, -6, -0.11, 21, -6, -0.06, 21, -6, -0.02, 20, -5, 0.02, 21, -5, 0.05, 20, -5, 0.09, 21, -4, 0.12, 20, -4, 0.15, 20, -3, 0.18, 20, -3, 0.2, 20, -3, 0.23, 20, -2, 0.25, 20, -2, 0.27, 20, -2, 0.29, 20, -2, 0.31, 19, -1, 0.33, 20, 0, 0.35, 19, -1, 0.36, 20, 0, 0.37, 19, 0, 0.39, 20, 1, 0.4, 19, 1, 0.41, 19, 1, 0.42, 19, 2, 0.43, 19, 1, 0.44, 19, 3, 0.45, 19, 2, 0.46, 19, 3, 0.47, 19, 3, 0.48, 18, 4, 0.48, 19, 3, 0.49, 19, 4, 0.48, 19, 4, 0.44, 19, 1, 0.32, 19, 1, 0.18, 18, 1, 0.02, 20, -1, -0.02, 20, 0, -0.02, 21, -1, 0.01, 22, 0, 0.03, 21, -1, 0.04, 22, 1, 0.05, 21, 0, 0.06, 22, 1, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, -1, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, -1, 0.04, 22, 1, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.04, 22, 0, 0.06, 22, -1, 0.05, 21, 1, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, -1, 0.03, 22, 0, 0.01, 21, -1, 0.01, 21, -2, -0.03, 21, -1, -0.06, 21, -2, -0.06, 20, -3, -0.1, 20, -3, -0.13, 19, -4, -0.14, 19, -4, -0.18, 17, -5, -0.25, 17, -7, -0.31, 15, -7, -0.39, 15, -7, -0.51, 13, -8, -0.58, 12, -10, -0.63, 10, -11, -0.68, 10, -11, -0.71, 8, -9, -0.83, 7, -11, -0.91, 5, -10, -1.02, 5, -10, -1.12, 3, -10, -1.16, 4, -10, -1.19, 3, -9, -1.21, 4, -9, -1.23, 3, -8, -1.23, 3, -9, -1.25, 3, -8, -1.28, 1, -8, -1.27, 2, -7, -1.25, 2, -7, -1.22, 1, -6, -1.18, 2, -7, -1.13, 2, -6, -1.08, 2, -5, -1.02, 2, -5, -0.98, 2, -5, -0.93, 1, -5, -0.89, 2, -4, -0.85, 2, -4, -0.81, 2, -3, -0.78, 1, -3, -0.75, 2, -3, -0.72, 2, -2, -0.69, 1, -2, -0.66, 2, -2, -0.63, 2, -1, -0.58, 2, -1, -0.53, 2, -1, -0.47, 1, 0, -0.42, 2, 0, -0.37, 2, 0, -0.32, 2, 1, -0.28, 1, 1, -0.24, 2, 1, -0.2, 2, 2, -0.16, 2, 2, -0.12, 1, 3, -0.07, 2, 2, -0.01, 2, 4, 0.06, 2, 3, 0.12, 1, 4, 0.17, 2, 4, 0.23, 2, 4, 0.28, 2, 5, 0.32, 1, 5, 0.37, 2, 5, 0.41, 1, 6, 0.45, 3, 5, 0.4, 4, 3, 0.29, 3, 2, 0.19, 4, 0, 0.12, 4, -1, 0.06, 7, 0, 0.1, 7, -1, 0.16, 6, 0, 0.19, 7, 0, 0.22, 7, 1, 0.24, 6, 1, 0.26, 7, 1, 0.26, 6, 1, 0.25, 7, 2, 0.23, 7, 1, 0.21, 8, 2, 0.18, 8, 1, 0.21, 8, 2, 0.24, 8, 2, 0.27, 8, 2, 0.29, 9, 2, 0.31, 8, 2, 0.34, 9, 2, 0.37, 9, 2, 0.39, 10, 2, 0.4, 9, 2, 0.41, 10, 3, 0.4, 10, 3, 0.39, 11, 4, 0.36, 11, 3, 0.34, 11, 4, 0.3, 12, 3, 0.3, 12, 3, 0.28, 13, 3, 0.28, 13, 4, 0.28, 13, 4, 0.28, 14, 4, 0.28, 14, 5, 0.28, 14, 5, 0.28, 13, 6, 0.28, 14, 5, 0.28, 13, 6, 0.28, 14, 7, 0.28, 14, 6, 0.33, 14, 6, 0.36, 15, 7, 0.4, 15, 7, 0.44, 16, 7, 0.46, 16, 6, 0.46, 16, 7, 0.48, 17, 7, 0.48, 17, 8, 0.48, 17, 8, 0.47, 18, 8, 0.46, 18, 8, 0.46, 18, 8, 0.46, 19, 8, 0.46, 19, 9, 0.47, 20, 9, 0.48, 20, 10, 0.5, 19, 9, 0.51, 20, 10, 0.52, 19, 10, 0.53, 19, 11, 0.53, 19, 11, 0.54, 19, 11, 0.55, 18, 11, 0.55, 19, 11, 0.56, 18, 12, 0.56, 18, 12, 0.56, 18, 12, 0.57, 18, 12, 0.57, 18, 13, 0.57, 18, 13, 0.57, 17, 13, 0.57, 17, 13, 0.57, 17, 14, 0.58, 18, 13, 0.56, 18, 11, 0.62, 18, 9, 0.62, 20, 9, 0.59, 19, 9, 0.54, 19, 8, 0.48, 20, 10, 0.49, 20, 9, 0.48, 19, 10, 0.48, 21, 9, 0.44, 20, 8, 0.43, 20, 9, 0.45, 20, 9, 0.45, 20, 8, 0.44, 21, 9, 0.44, 20, 8, 0.44, 21, 9, 0.44, 20, 8, 0.43, 21, 7, 0.38, 20, 8, 0.34, 21, 7, 0.36, 21, 7, 0.36, 21, 7, 0.36, 22, 6, 0.34, 21, 6, 0.29, 21, 4, 0.21, 21, 3, 0.19, 22, 3, 0.19, 22, 3, 0.2, 22, 3, 0.16, 21, 2, 0.11, 22, 1, 0.11, 22, 2, 0.11, 22, 1, 0.11, 22, 2, 0.11, 22, 1, 0.11, 22, 2, 0.11, 22, 1, 0.11, 22, 2, 0.11, 22, 1, 0.11, 22, 1, 0.11, 22, 1, 0.07, 22, 0, 0.02, 21, 0, 0.01, 22, -1, 0.01, 22, -2, 0.01, 21, 0, 0.01, 22, -1, 0.01, 22, 0, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, 0, 0.01, 22, -1, 0, 22, -2, 0, 22, -1, 0, 21, -1, -0.01, 22, -1, -0.01, 22, -1, -0.01, 22, -1, -0.01, 22, -2, -0.01, 22, -1, -0.01, 22, -1, -0.01, 22, -1, -0.01, 22, -1, -0.01, 22, -2, -0.04, 22, -3, -0.09, 21, -3, -0.07, 22, -4, -0.05, 22, -3, -0.05, 22, -3, -0.06, 21, -3, -0.07, 22, -2, -0.09, 22, -3, -0.1, 22, -3, -0.09, 22, -4, -0.11, 21, -4, -0.16, 21, -5, -0.23, 21, -5, -0.23, 21, -4, -0.23, 22, -5, -0.22, 21, -4, -0.21, 22, -5, -0.19, 22, -4, -0.16, 21, -5, -0.17, 21, -4, -0.17, 22, -5, -0.17, 21, -6, -0.21, 21, -6, -0.26, 21, -6, -0.27, 21, -6, -0.26, 21, -6, -0.24, 20, -7, -0.25, 21, -6, -0.25, 21, -6, -0.23, 20, -6, -0.23, 21, -7, -0.25, 21, -6, -0.26, 20, -7, -0.26, 21, -7, -0.3, 20, -8, -0.36, 19, -9, -0.38, 20, -9, -0.36, 19, -9, -0.36, 20, -9, -0.36, 20, -8, -0.36, 19, -8, -0.36, 20, -7, -0.36, 19, -7, -0.36, 20, -7, -0.36, 19, -6, -0.36, 19, -6, -0.36, 20, -6, -0.36, 19, -5, -0.35, 19, -7, -0.31, 20, -6, -0.28, 20, -5, -0.24, 20, -6, -0.21, 21, -5, -0.18, 20, -4, -0.16, 19, -4, -0.13, 20, -4, -0.11, 20, -4, -0.09, 20, -3, -0.07, 19, -3, -0.05, 20, -3, -0.03, 19, -2, -0.01, 20, -2, 0, 19, -1, 0.02, 20, -1, 0.03, 20, -1, 0.04, 19, -1, 0.04, 19, 0, 0.03, 20, 0, 0.01, 19, 1, -0.02, 19, 0, -0.05, 19, 1, -0.1, 19, 2, -0.15, 19, 2, -0.21, 18, 2, -0.28, 19, 2, -0.35, 19, 3, -0.42, 18, 3, -0.48, 19, 4, -0.54, 18, 3, -0.59, 18, 5, -0.65, 17, 3, -0.58, 14, -10, -0.5, 12, -9, -0.51, 12, -9, -0.51, 11, -10, -0.51, 11, -11, -0.58, 12, -9, -0.62, 12, -10, -0.66, 12, -9, -0.71, 12, -10, -0.69, 12, -10, -0.68, 12, -10, -0.67, 12, -11, -0.67, 11, -11, -0.69, 11, -11, -0.74, 10, -11, -0.81, 11, -12, -0.86, 10, -12, -0.87, 11, -13, -0.84, 10, -13, -0.84, 11, -12, -0.83, 11, -13, -0.83, 11, -12, -0.82, 11, -12, -0.82, 11, -11, -0.82, 11, -11, -0.8, 11, -11, -0.78, 11, -10, -0.75, 11, -10, -0.71, 11, -10, -0.66, 11, -9, -0.6, 11, -9, -0.54, 11, -8, -0.47, 11, -8, -0.4, 11, -8, -0.32, 11, -8, -0.23, 11, -7, -0.14, 11, -6, -0.05, 11, -6, 0.05, 11, -6, 0.15, 11, -5, 0.26, 10, -5, 0.37, 11, -5, 0.48, 11, -4, 0.59, 10, -4, 0.71, 11, -3, 0.83, 10, -3, 0.95, 11, -3, 1.08, 10, -2, 1.2, 10, -2, 1.33, 10, -1, 1.46, 10, -1, 1.59, 10, -1, 1.72, 9, -1, 1.86, 10, 0, 1.99, 9, 0, 2.13, 9, 0, 2.27, 10, 1, 2.41, 9, 1, 2.55, 9, 1, 2.69, 9, 1, 2.83, 9, 2, 2.97, 9, 1, 3.11, 9, 2, 3.26, 9, 2, 3.4, 9, 3, 3.54, 9, 3, 3.69, 9, 3, 3.83, 9, 3, 3.97, 9, 3, 4.09, 9, 4, 4.21, 10, 4, 4.32, 9, 5, 4.42, 9, 5, 4.52, 10, 5, 4.61, 9, 6, 4.69, 9, 6, 4.77, 10, 6, 4.84)); AddData(new Array(9, 7, 4.91, 9, 7, 4.98, 9, 7, 5.03, 10, 8, 5.09, 9, 8, 5.14, 9, 8, 5.19, 9, 9, 5.24, 9, 9, 5.29, 9, 9, 5.35, 9, 10, 5.42, 10, 9, 5.48, 9, 11, 5.54, 9, 10, 5.59, 9, 11, 5.64, 9, 11, 5.69, 9, 11, 5.73, 8, 12, 5.77, 9, 12, 5.81, 9, 13, 5.85, 9, 12, 5.88, 8, 13, 5.91, 9, 13, 5.94, 9, 14, 5.97, 8, 14, 6, 9, 14, 6.02, 8, 14, 6.04, 9, 15, 6.07, 8, 15, 6.09, 9, 15, 6.1, 8, 16, 6.12, 9, 15, 6.14, 8, 17, 6.15, 8, 16, 6.17, 8, 17, 6.18, 9, 16, 6.19, 8, 18, 6.21, 8, 17, 6.22, 7, 16, 6.34, 11, 0, 6.37, 10, -2, 6.35, 10, -1, 6.36, 10, -2, 6.37, 10, -2, 6.33, 11, -1, 6.33, 12, 0, 6.32, 11, 0, 6.31, 11, 0, 6.29, 11, 1, 6.29, 11, 0, 6.31, 12, 1, 6.33, 11, 0, 6.34, 12, 0, 6.34, 11, 0, 6.34, 13, 0, 6.34, 12, 0, 6.34, 13, 0, 6.34, 13, 0, 6.34, 14, 0, 6.34, 13, 0, 6.34, 14, 0, 6.34, 15, 0, 6.34, 14, 0, 6.34, 15, 0, 6.34, 15, 0, 6.34, 16, 0, 6.34, 16, 0, 6.34, 16, 0, 6.34, 16, 0, 6.34, 17, 0, 6.34, 17, 0, 6.34, 17, 0, 6.34, 18, 0, 6.33, 18, 0, 6.33, 18, 0, 6.33, 18, 0, 6.33, 19, 0, 6.33, 19, 0, 6.32, 19, 0, 6.3, 19, -1, 6.28, 20, -1, 6.29, 20, -1, 6.29, 21, -1, 6.28, 20, -1, 6.28, 21, -1, 6.28, 21, 0, 6.28, 22, -1, 6.28, 21, -1, 6.28, 22, -2, 6.28, 22, -1, 6.28, 22, -1, 6.28, 22, -1, 6.28, 22, -1, 6.28, 22, -1, 6.28, 22, -2, 6.25, 21, -2, 6.2, 22, -3, 6.21, 22, -3, 6.21, 22, -3, 6.21, 21, -2, 6.2, 22, -3, 6.21, 22, -3, 6.2, 22, -3, 6.2, 22, -2, 6.2, 22, -3, 6.2, 21, -3, 6.2, 22, -3, 6.2, 22, -3, 6.17, 21, -5, 6.12, 21, -4, 6.11, 22, -4, 6.14, 21, -4, 6.13, 20, -5, 6.13, 21, -5, 6.14, 21, -4, 6.12, 21, -4, 6.12, 22, -5, 6.12, 21, -4, 6.12, 22, -5, 6.12, 21, -4, 6.12, 22, -5, 6.12, 21, -4, 6.12, 22, -5, 6.12, 21, -4, 6.12, 22, -5, 6.12, 21, -5, 6.11, 21, -5, 6.1, 22, -5, 6.1, 21, -5, 6.1, 22, -5, 6.1, 21, -4, 6.1, 21, -5, 6.1, 22, -5, 6.1, 21, -5, 6.1, 22, -5, 6.1, 21, -5, 6.1, 21, -5, 6.1, 22, -5, 6.1, 21, -5, 6.1, 22, -5, 6.1, 21, -5, 6.1, 21, -5, 6.1, 22, -5, 6.09, 21, -6, 6.07, 21, -5, 6.07, 21, -6, 6.07, 21, -6, 6.07, 21, -5, 6.07, 21, -6, 6.07, 22, -6, 6.07, 21, -5, 6.07, 21, -6, 6.07, 21, -6, 6.07, 21, -6, 6.07, 22, -5, 6.07, 21, -6, 6.07, 21, -6, 6.07, 21, -5, 6.07, 21, -6, 6.07, 22, -6, 6.07, 21, -5, 6.07, 21, -6, 6.06, 21, -7, 6.03, 21, -6, 6.01, 21, -7, 6.02, 21, -6, 6.02, 21, -7, 6.02, 20, -7, 6.02, 21, -6, 6.02, 21, -7, 6.02, 21, -7, 6.02, 21, -6, 6.02, 21, -7, 6.02, 21, -7, 6.02, 21, -6, 6.02, 20, -8, 5.99, 21, -7, 5.97, 21, -7, 5.98, 20, -8, 5.98, 21, -7, 5.98, 20, -8, 5.97, 21, -8, 5.98, 21, -7, 5.98, 20, -8, 5.98, 21, -7, 5.98, 20, -8, 5.98, 21, -7, 5.97, 20, -8, 5.97, 21, -8, 5.96, 21, -8, 5.96, 20, -7, 5.96, 21, -8, 5.96, 20, -8, 5.96, 21, -8, 5.96, 20, -8, 5.96, 21, -7, 5.96, 20, -8, 5.96, 21, -8, 5.96, 20, -8, 5.96, 20, -8, 5.95, 21, -8, 5.92, 20, -9, 5.91, 20, -9, 5.92, 20, -8, 5.91, 20, -9, 5.91, 20, -9, 5.91, 20, -9, 5.91, 20, -9, 5.91, 20, -10, 5.86, 18, -10, 5.77, 17, -13, 5.74, 16, -13, 5.71, 16, -14, 5.68, 17, -14, 5.66, 16, -14, 5.59, 16, -14, 5.57, 15, -15, 5.59, 16, -15, 5.61, 16, -15, 5.61, 16, -15, 5.6, 16, -14, 5.59, 15, -15, 5.55, 15, -16, 5.51, 14, -16, 5.44, 11, -17, 5.41, 13, -17, 5.41, 12, -18, 5.39, 10, -17, 5.32, 11, -17, 5.22, 9, -18, 5.21, 10, -19, 5.21, 8, -19, 5.17, 7, -19, 5.09, 5, -20, 5.05, 6, -20, 5.07, 0, -21, 5.06, 0, -21, 5.04, 1, -21, 5.01, 0, -20, 4.98, 1, -20, 4.93, 0, -19, 4.88, 0, -19, 4.83, 1, -19, 4.76, 0, -18, 4.69, 0, -17, 4.62, 1, -18, 4.53, 0, -16, 4.45, 1, -17, 4.36, 0, -16, 4.26, 1, -15, 4.16, 0, -16, 4.06, 1, -14, 3.95, 1, -15, 3.84, 0, -14, 3.73, 1, -14, 3.61, 1, -13, 3.49, 1, -13, 3.37, 1, -13, 3.25, 1, -12, 3.13, 1, -12, 3, 1, -12, 2.87, 1, -12, 2.74, 1, -11, 2.61, 1, -11, 2.47, 1, -10, 2.34, 1, -11, 2.2, 1, -10, 2.07, 1, -10, 1.93, 1, -9, 1.79, 0, -9, 1.65, 1, -9, 1.51, 0, -9, 1.37, 1, -8, 1.23, 0, -8, 1.08, 0, -7, 0.94, 0, -7, 0.8, 0, -7, 0.65, 0, -6, 0.51, 0, -6, 0.36, 0, -5, 0.22, 0, -5, 0.07, -1, -5, -0.08, 0, -4, -0.22, 0, -3, -0.37, 0, -4, -0.52, -1, -2, -0.67, 0, -3, -0.81, 0, -1, -0.96, 0, -2, -1.11, 0, -1, -1.26, 0, 0, -1.41, 0, -1, -1.55, 0, 1, -1.7, 0, 0, -1.85, 1, 1, -2, 0, 1, -2.15, 1, 1, -2.3, 1, 2, -2.45, 1, 2, -2.6, 0, 2, -2.75, 1, 3, -2.9, 1, 3, -3.05, 1, 3, -3.2, 2, 3, -3.35, 1, 3, -3.5, 1, 4, -3.65, 1, 4, -3.8, 1, 4, -3.95, 1, 4, -4.1, 1, 4, -4.25, 0, 5, -4.4, 1, 5, -4.55, 1, 5, -4.7, 0, 6, -4.85, 1, 6, -5, 0, 6, -5.15, 0, 6, -5.3, 0, 7, -5.45, 0, 7, -5.6, 0, 8, -5.74, 0, 8, -5.87, 0, 8, -5.99, 0, 9, -6.1, 0, 9, -6.21, 0, 9, -6.31, -1, 10, -6.4, 0, 10, -6.49, 0, 11, -6.57, 0, 11, -6.63, 0, 11, -6.68, 1, 11, -6.72, 0, 12, -6.74, 0, 12, -6.76, 0, 12, -6.76, 1, 13, -6.75, 0, 13, -6.73, 1, 13, -6.7, 0, 13, -6.67, 1, 14, -6.65, 0, 14, -6.63, 0, 14, -6.61, 1, 15, -6.59, 0, 15, -6.57, 1, 15, -6.55, 0, 15, -6.53, 0, 16, -6.52, 1, 16, -6.5, 0, 16, -6.49, 1, 17, -6.48, 0, 17, -6.46, 0, 17, -6.45, 1, 17, -6.43, 0, 18, -6.4, 1, 18, -6.36, 0, 18, -6.33, 1, 18, -6.3, 2, 11, -6.3, 2, -5, -6.3, 3, -1, -6.3, 3, -3, -6.3, 4, -1, -6.28, 4, -1, -6.28, 4, 0, -6.27, 4, -1, -6.26, 4, 0, -6.24, 4, 0, -6.21, 5, 1, -6.19, 5, 0, -6.18, 4, 0, -6.2, 6, 1, -6.22, 5, 0, -6.21, 6, 0, -6.2, 6, 0, -6.2, 6, 1, -6.19, 7, 1, -6.17, 7, 1, -6.14, 7, 0, -6.13, 8, 1, -6.11, 7, 1, -6.08, 9, 1, -6.07, 8, 1, -6.07, 9, 1, -6.07, 9, 2, -6.08, 10, 2, -6.09, 10, 1, -6.08, 10, 2, -6.09, 11, 1, -6.09, 11, 1, -6.11, 11, 2, -6.11, 12, 2, -6.11, 12, 2, -6.1, 12, 2, -6.09, 13, 3, -6.08, 12, 3, -6.07, 13, 4, -6.06, 12, 3, -6.06, 12, 4, -6.05, 12, 5, -6.04, 13, 4, -6.04, 12, 5, -6.03, 12, 6, -6.03, 12, 5, -6.02, 12, 6, -6.02, 12, 7, -6.01, 12, 6, -6.01, 12, 7, -6, 12, 7, -6, 12, 8, -6, 11, 8, -5.99, 12, 8, -5.99, 12, 8, -5.99, 11, 9, -5.99, 12, 8, -5.93, 13, 8, -5.86, 13, 9, -5.81, 12, 9, -5.76, 12, 9, -5.7, 13, 8, -5.67, 14, 8, -5.66, 13, 7, -5.68, 15, 6, -5.72, 14, 8, -5.74, 15, 8, -5.75, 15, 8, -5.76, 16, 9, -5.76, 16, 9, -5.76, 17, 10, -5.75, 16, 10, -5.74, 18, 10, -5.71, 17, 10, -5.72, 18, 10, -5.73, 19, 11, -5.73, 19, 11, -5.72, 19, 10, -5.72, 19, 11, -5.72, 19, 11, -5.73, 20, 10, -5.75, 19, 11, -5.76, 19, 11, -5.75, 20, 11, -5.74, 19, 10, -5.74, 20, 11, -5.74, 19, 10, -5.74, 19, 11, -5.74, 20, 10, -5.74, 19, 11, -5.74, 20, 10, -5.74, 19, 11, -5.74, 20, 11, -5.74, 19, 10, -5.74, 20, 11, -5.74, 19, 10, -5.74, 20, 11, -5.74, 20, 10, -5.76, 19, 9, -5.8, 20, 8, -5.84, 21, 7, -5.81, 21, 8, -5.78, 21, 7, -5.76, 20, 8, -5.75, 20, 9, -5.73, 20, 8, -5.73, 20, 8, -5.74, 21, 9, -5.76, 20, 9, -5.79, 20, 9, -5.82, 20, 9, -5.85, 21, 8, -5.84, 20, 8, -5.83, 21, 8, -5.84, 20, 9, -5.85, 21, 8, -5.85, 21, 7, -5.9, 20, 7, -5.96, 21, 5, -6.03, 20, 7, -6.05, 21, 7, -6.07, 21, 8, -6.08, 21, 7, -6.09, 21, 8, -6.09, 21, 7, -6.09, 20, 8, -6.08, 21, 8, -6.07, 21, 8, -6.06, 21, 8, -6.04, 20, 8, -6.02, 21, 8, -6, 21, 8, -5.97, 21, 8, -5.92, 21, 7, -5.92, 20, 6, -5.93, 21, 7, -5.93, 22, 7, -5.93, 21, 7, -5.93, 21, 7, -5.93, 21, 7, -5.93, 21, 7, -5.93, 21, 6, -5.93, 21, 7, -5.93, 21, 7, -5.93, 21, 7, -5.93)); AddData(new Array(21, 7, -5.93, 21, 7, -5.93, 21, 6, -5.93, 20, 8, -5.91, 21, 6, -5.93, 21, 6, -5.93, 21, 6, -5.95, 21, 6, -5.99, 21, 6, -5.99, 21, 5, -6, 22, 6, -6, 21, 6, -6.01, 21, 5, -6.01, 22, 6, -6.01, 21, 6, -6.01, 21, 6, -6.01, 22, 6, -6.01, 21, 6, -6.01, 21, 6, -6.01, 22, 6, -6, 21, 6, -6, 21, 5, -6.03, 22, 4, -6.05, 21, 5, -6.05, 22, 4, -6.06, 22, 5, -6.06, 21, 4, -6.06, 22, 5, -6.05, 21, 5, -6.05, 22, 4, -6.05, 22, 5, -6.04, 21, 5, -6.03, 22, 5, -6.03, 21, 4, -6.03, 22, 5, -6.03, 22, 4, -6.03, 21, 5, -6.03, 21, 4, -6.04, 22, 5, -6.04, 21, 4, -6.06, 22, -2, -6.08, 21, -2, -6.13, 22, 0, -6.16, 21, -1, -6.2, 21, 0, -6.23, 21, 0, -6.26, 21, 0, -6.29, 21, 1, -6.31, 21, 1, -6.34, 21, 1, -6.36, 20, 2, -6.38, 21, 2, -6.4, 21, 2, -6.42, 20, 3, -6.43, 21, 3, -6.45, 20, 3, -6.47, 20, 4, -6.49, 20, 4, -6.52, 20, 4, -6.57, 20, 5, -6.61, 20, 5, -6.67, 20, 5, -6.73, 20, 6, -6.8, 20, 4, -6.82, 21, 2, -6.76, 21, 1, -6.7, 21, 0, -6.63, 22, 1, -6.56, 22, 0, -6.52, 22, 2, -6.5, 22, 1, -6.48, 21, 2, -6.46, 22, 1, -6.43, 22, 2, -6.4, 22, 2, -6.36, 22, 2, -6.32, 22, 1, -6.3, 22, 2, -6.27, 22, 1, -6.24, 22, 2, -6.21, 22, 1, -6.21, 21, 0, -6.24, 22, 0, -6.25, 22, 0, -6.25, 22, 0, -6.25, 22, 0, -6.25, 22, 1, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.23, 22, -1, -6.25, 22, 0, -6.25, 22, 0, -6.26, 22, 0, -6.26, 22, 0, -6.27, 22, 0, -6.27, 22, 0, -6.27, 22, 0, -6.26, 22, 0, -6.26, 22, 0, -6.26, 22, 0, -6.25, 22, 0, -6.24, 22, 1, -6.23, 21, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.22, 21, -1, -6.25, 21, -5, -6.25, 21, -6, -6.27, 21, -5, -6.3, 21, -4, -6.34, 20, -5, -6.38, 21, -4, -6.42, 20, -3, -6.46, 21, -4, -6.5, 20, -3, -6.53, 20, -2, -6.56, 20, -2, -6.59, 21, -2, -6.62, 20, -2, -6.64, 20, -1, -6.67, 20, -1, -6.69, 20, 0, -6.71, 20, -1, -6.73, 19, 1, -6.75, 20, 0, -6.77, 20, 1, -6.78, 20, 1, -6.8, 19, 1, -6.81, 20, 2, -6.83, 19, 2, -6.84, 20, 3, -6.85, 19, 3, -6.86, 19, 3, -6.88, 19, 3, -6.91, 19, 4, -6.95, 19, 4, -7, 19, 4, -7.04, 19, 5, -7.09, 20, 2, -7.06, 19, 0, -7, 21, 0, -6.9, 20, -1, -6.79, 21, 0, -6.72, 21, 0, -6.67, 21, 0, -6.63, 21, 1, -6.61, 20, 1, -6.59, 21, 1, -6.59, 20, 1, -6.58, 21, 1, -6.55, 21, 0, -6.51, 22, 1, -6.48, 21, 1, -6.46, 22, 0, -6.44, 22, 1, -6.41, 22, 0, -6.39, 22, 1, -6.37, 22, 0, -6.35, 23, 1, -6.34, 22, 0, -6.32, 22, 1, -6.31, 22, 0, -6.29, 22, 0, -6.28, 22, 1, -6.26, 22, 0, -6.25, 22, 1, -6.24, 22, -1, -6.25, 22, 0, -6.25, 22, 0, -6.25, 22, 0, -6.25, 22, 0, -6.25, 22, 0, -6.24, 22, 0, -6.24, 22, 1, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, -1, -6.25, 22, 0, -6.26, 22, 0, -6.27, 22, 0, -6.26, 22, 0, -6.25, 23, 1, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 19, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 19, 0, -6.24)); StopData(); StartData(2); AddData(new Array(1680, 1518, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 12, 0, 0.04, 14, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 24, 0, 0.04, 23, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 23, 0, 0.1, 23, 0, 0.07, 25, -1, 0.04, 24, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 25, 1, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 24, -1, 0.04, 25, 0, 0.02, 25, 0, 0.02, 24, -1, 0.02, 25, -1, 0.02, 24, 0, 0.02, 25, -1, 0.02, 25, -1, 0.02, 24, 0, 0.02, 25, -1, 0.02, 24, -1, 0.02, 25, 0, 0.02, 25, -1, 0.02, 24, 0, 0.02, 25, -1, 0.02, 25, -1, 0.02, 24, -1, 0.01, 24, -1, -0.03, 24, -3, -0.06, 25, -2, -0.05, 25, -3, -0.05, 24, -3, -0.09, 24, -4, -0.15, 23, -5, -0.16, 25, -5, -0.15, 22, -10, -0.13, 22, -10, -0.15, 22, -9, -0.12, 22, -9, -0.11, 22, -8, -0.1, 22, -8, -0.1, 22, -8, -0.09, 22, -7, -0.08, 21, -8, -0.07, 22, -6, -0.07, 21, -7, -0.07, 20, -10, -0.22, 18, -9, -0.36, 19, -8, -0.47, 20, -7, -0.55, 20, -8, -0.62, 19, -6, -0.69, 20, -7, -0.76, 19, -6, -0.82, 20, -6, -0.88, 19, -5, -0.93, 19, -5, -0.98, 20, -4, -1.03, 19, -5, -1.07, 19, -4, -1.11, 19, -3, -1.15, 20, -4, -1.19, 19, -2, -1.22, 19, -3, -1.24, 19, -2, -1.25, 19, -2, -1.25, 19, -2, -1.24, 18, -2, -1.22, 19, -1, -1.18, 19, -1, -1.15, 19, 0, -1.1, 19, 0, -1.05, 19, 0, -0.98, 18, 0, -0.93, 19, 1, -0.87, 18, 1, -0.82, 19, 2, -0.78, 18, 2, -0.73, 19, 2, -0.69, 18, 2, -0.66, 18, 3, -0.62, 18, 4, -0.59, 18, 3, -0.56, 18, 4, -0.53, 18, 4, -0.5, 18, 5, -0.47, 18, 5, -0.45, 18, 5, -0.43, 17, 5, -0.41, 18, 6, -0.39, 17, 6, -0.37, 18, 6, -0.35, 17, 7, -0.34, 18, 7, -0.32, 17, 8, -0.31, 17, 7, -0.29, 17, 8, -0.28, 17, 9, -0.27, 17, 8, -0.26, 17, 9, -0.25, 17, 9, -0.24, 17, 10, -0.23, 17, 10, -0.22, 17, 10, -0.22, 17, 10, -0.21, 16, 11, -0.2, 17, 11, -0.2, 16, 11, -0.19, 17, 12, -0.18, 16, 12, -0.18, 16, 12, -0.17, 17, 12, -0.17, 16, 13, -0.16, 16, 13, -0.16, 18, 6, 0.01, 16, -2, 0.01, 17, -2, 0.01, 17, -3, 0.02, 18, -3, 0.02, 17, -2, -0.01, 18, -2, -0.02, 18, -1, -0.03, 18, -1, -0.04, 18, -1, -0.07, 17, -3, -0.05, 19, -2, -0.04, 18, -2, -0.04, 18, -3, -0.08, 19, -2, -0.12, 19, -3, -0.14, 19, -2, -0.13, 19, -3, -0.13, 20, -2, -0.12, 20, -2, -0.1, 20, -2, -0.08, 21, -3, -0.08, 20, -3, -0.09, 21, -2, -0.09, 20, -5, -0.15, 19, -5, -0.27, 18, -8, -0.32, 19, -9, -0.39, 19, -10, -0.41, 19, -10, -0.4, 19, -9, -0.38, 19, -9, -0.35, 18, -10, -0.36, 18, -9, -0.38, 18, -10, -0.41, 17, -11, -0.47, 13, -11, -0.61, 12, -14, -0.77, 10, -14, -0.82, 9, -15, -0.87, 8, -15, -0.95, 7, -14, -1.02, 9, -15, -0.99, 8, -14, -0.99, 8, -14, -0.99, 8, -13, -1, 8, -13, -1, 8, -12, -0.99, 8, -13, -0.97, 8, -12, -0.94, 8, -11, -0.9, 8, -11, -0.85, 8, -11, -0.8, 8, -11, -0.74, 8, -10, -0.68, 8, -10, -0.62, 8, -9, -0.56, 8, -9, -0.5, 8, -8, -0.45, 8, -9, -0.41, 8, -7, -0.36, 8, -8, -0.31, 7, -7, -0.25, 8, -7, -0.19, 8, -6, -0.12, 8, -6, -0.05, 8, -6, 0.01, 7, -5, 0.07, 8, -5, 0.13, 8, -4, 0.18, 7, -4, 0.22, 8, -4, 0.27, 7, -4, 0.31, 8, -3, 0.35, 7, -3, 0.39, 8, -2, 0.42, 7, -2, 0.45, 7, -2, 0.48, 8, -1, 0.51, 7, -1, 0.54, 7, -1, 0.56, 7, -1, 0.58, 7, 0, 0.6, 8, 0, 0.62, 7, 1, 0.64, 7, 1, 0.66, 7, 1, 0.68, 7, 2, 0.69, 7, 1, 0.71, 7, 3, 0.72, 7, 2, 0.73, 7, 3, 0.74, 7, 3, 0.76, 6, 4, 0.77, 7, 3, 0.78, 7, 4, 0.78, 7, 5, 0.79, 7, 5, 0.8, 6, 5, 0.81, 7, 5, 0.82, 7, 6, 0.82, 6, 6, 0.82, 7, 6, 0.8, 7, 6, 0.78, 6, 7, 0.76, 7, 7, 0.74, 6, 8, 0.72, 7, 7, 0.7, 6, 8, 0.68, 6, 9, 0.67, 7, 8, 0.65, 6, 9, 0.64, 7, 10, 0.62, 6, 9, 0.61, 6, 10, 0.6, 7, 10, 0.59, 6, 11, 0.58, 6, 11, 0.57, 6, 11, 0.56, 7, 11, 0.55, 6, 12, 0.55, 6, 12, 0.54, 6, 12, 0.53, 6, 13, 0.52, 7, 13, 0.52, 6, 13, 0.51, 6, 13, 0.51, 6, 14, 0.5, 6, 14, 0.5, 6, 14, 0.49, 6, 15, 0.49, 6, 15, 0.49, 6, 15, 0.48, 6, 15, 0.48, 6, 16, 0.48, 6, 16, 0.47, 6, 16, 0.47, 6, 17, 0.47, 6, 17, 0.47, 5, 17, 0.47, 6, 17, 0.46, 6, 18, 0.46, 6, 9, 0.08, 6, -2, 0.03, 8, -1, 0, 8, -3, -0.06, 8, -4, -0.1, 8, -2, -0.12, 9, -2, -0.14, 9, -2, -0.16, 9, -1, -0.18, 9, 0, -0.19, 9, -1, -0.21, 9, 0, -0.22, 8, 0, -0.24, 9, 1, -0.23, 9, -1, -0.2, 9, 1, -0.17, 9, 0, -0.15, 10, 1, -0.1, 9, 0, -0.06, 9, 1, -0.01, 10, 0, 0, 9, -1, -0.02, 10, -1, -0.02, 11, 0, -0.01, 10, -1, -0.01, 11, -1, -0.01, 11, 0, -0.01, 12, -1, -0.01, 11, -1, -0.01, 12, 0, -0.01, 12, -1, -0.03, 13, -1, -0.04, 12, -1, -0.05, 13, -1, -0.06, 14, -2, -0.05, 13, -1, -0.06, 14, -2, -0.06, 14, -1, -0.06, 15, -2, -0.06, 14, -1, -0.06, 15, -2, -0.06, 15, -2, -0.06, 16, -1, -0.06, 15, -2, -0.06, 16, -2, -0.06, 17, -2, -0.06, 16, -1, -0.06, 17, -2, -0.06, 17, -2, -0.04, 18, -1, -0.03, 18, -1, -0.01, 17, -1, 0.01, 18, -1, 0, 18, -1, -0.01, 17, 0, -0.01, 18, -2, -0.01, 19, -1, -0.01, 18, 0, -0.02, 19, -2, -0.02, 19, -1, -0.01, 20, -1, -0.01, 19, -1, -0.01, 20, -1, 0, 21, -1, 0.01, 20, 0, 0.03, 21, 0, 0.04, 20, 0, 0.05, 21, 1, 0.07, 20, 1, 0.08, 21, 1, 0.09, 20, 1, 0.1, 20, 2, 0.11, 20, 2, 0.1, 20, 1, 0.08, 21, 0, 0.07, 21, 1, 0.07, 21, 0, 0.07, 21, 1, 0.07, 22, 1, 0.08, 22, 0, 0.08, 22, 1, 0.14, 23, -1, 0.25, 23, 0, 0.35, 22, 0, 0.45, 23, 1, 0.53, 22, 1, 0.61, 22, 1, 0.69, 22, 2, 0.76, 22, 2, 0.82, 22, 2, 0.88, 22, 3, 0.94, 22, 2, 0.99, 21, 3, 1.06, 22, 1, 1.04, 22, 0, 1, 22, 2, 0.98, 21, 2, 0.99, 22, 2, 0.99, 21, 3, 0.99, 22, 4, 0.99, 21, 3, 0.99, 21, 4, 0.99, 21, 4, 0.97, 21, 5, 0.94, 21, 4, 0.9, 21, 5, 0.86, 21, 6, 0.82, 20, 5, 0.78, 21, 6, 0.74, 21, 6, 0.71, 20, 7, 0.68, 20, 7, 0.65, 21, 7, 0.61, 20, 7, 0.55, 21, 5, 0.44, 22, 5, 0.28, 20, 2, 0.14, 22, 1, 0.04, 22, -1, -0.02, 23, -3, -0.08, 23, -3, -0.08, 23, -2, -0.11, 24, -2, -0.12, 24, -2, -0.13, 23, -1, -0.14, 24, -1, -0.15, 23, 0, -0.16, 23, -1, -0.15, 24, -1, -0.13, 24, -2, -0.13, 23, -5, -0.12, 23, -5, -0.12, 23, -5, -0.16, 23, -7, -0.21, 23, -6, -0.21, 23, -5, -0.21, 23, -6, -0.21, 23, -5, -0.22, 24, -5, -0.2, 23, -5, -0.18, 24, -5, -0.12, 23, -4, -0.12, 25, -5, -0.09, 24, -4, -0.07, 23, -3, -0.05, 24, -4, -0.03, 24, -3, -0.01, 23, -2, 0.01, 24, -3, 0.02, 23, -2, 0.04, 24, -1, 0.05)); AddData(new Array(23, -1, 0.07, 23, -1, 0.08, 23, -1, 0.08, 23, -2, 0.04, 23, -2, -0.03, 23, -2, -0.13, 23, -4, -0.13, 24, -4, -0.11, 24, -3, -0.1, 24, -5, -0.14, 23, -5, -0.19, 24, -5, -0.17, 24, -6, -0.17, 24, -5, -0.17, 24, -5, -0.17, 24, -6, -0.19, 23, -6, -0.24, 23, -8, -0.29, 22, -9, -0.32, 22, -11, -0.35, 21, -10, -0.43, 20, -13, -0.47, 16, -17, -0.52, 16, -17, -0.58, 15, -16, -0.66, 14, -17, -0.79, 12, -17, -0.98, 11, -17, -1.15, 11, -19, -1.15, 10, -19, -1.14, 9, -20, -1.12, 10, -18, -1.14, 10, -17, -1.18, 10, -17, -1.23, 9, -17, -1.28, 10, -16, -1.34, 10, -16, -1.41, 9, -16, -1.48, 10, -15, -1.56, 9, -14, -1.64, 10, -15, -1.73, 10, -13, -1.82, 9, -14, -1.92, 10, -13, -2.02, 9, -12, -2.13, 10, -13, -2.24, 10, -11, -2.35, 10, -12, -2.46, 9, -11, -2.58, 10, -11, -2.7, 10, -10, -2.82, 10, -11, -2.94, 10, -9, -3.07, 9, -10, -3.2, 10, -9, -3.33, 10, -9, -3.46, 10, -9, -3.59, 10, -8, -3.73, 9, -9, -3.86, 10, -8, -4, 10, -7, -4.13, 9, -8, -4.27, 9, -7, -4.41, 10, -6, -4.55, 9, -7, -4.69, 9, -6, -4.83, 9, -6, -4.98, 9, -5, -5.12, 8, -5, -5.26, 9, -5, -5.41, 8, -4, -5.55, 8, -4, -5.7, 9, -4, -5.84, 8, -3, -5.99, 8, -3, -6.14, 8, -2, -6.28, 8, -2, -6.43, 7, -1, -6.58, 8, -1, -6.72, 8, 0, -6.87, 8, 0, -7.02, 8, 0, -7.17, 7, 1, -7.31, 8, 1, -7.46, 8, 2, -7.61, 8, 2, -7.76, 8, 2, -7.91, 8, 3, -8.06, 9, 3, -8.21, 8, 3, -8.36, 8, 4, -8.51, 9, 4, -8.66, 8, 4, -8.8, 9, 4, -8.95, 9, 5, -9.1, 8, 5, -9.25, 9, 5, -9.4, 9, 6, -9.55, 8, 5, -9.7, 9, 6, -9.85, 9, 6, -10, 8, 6, -10.15, 9, 7, -10.3, 8, 6, -10.44, 8, 7, -10.57, 8, 7, -10.69, 8, 8, -10.81, 8, 8, -10.91, 8, 8, -11.01, 8, 8, -11.1, 8, 9, -11.19, 7, 9, -11.27, 8, 10, -11.35, 7, 10, -11.42, 8, 10, -11.48, 7, 10, -11.54, 8, 11, -11.59, 7, 11, -11.62, 8, 12, -11.65, 7, 11, -11.65, 7, 13, -11.66, 8, 12, -11.67, 7, 13, -11.68, 7, 13, -11.69, 8, 13, -11.69, 7, 14, -11.7, 7, 14, -11.71, 7, 14, -11.71, 7, 14, -11.72, 8, 15, -11.72, 7, 15, -11.73, 7, 16, -11.73, 7, 15, -11.73, 7, 16, -11.74, 7, 16, -11.74, 7, 17, -11.75, 7, 16, -11.75, 7, 17, -11.75, 7, 18, -11.75, 7, 17, -11.76, 7, 18, -11.76, 7, 18, -11.76, 7, 19, -11.76, 7, 18, -11.77, 6, 19, -11.77, 7, 19, -11.77, 7, 20, -11.77, 7, 20, -11.77, 6, 20, -11.77, 7, 20, -11.77, 7, 20, -11.78, 7, 21, -11.78, 6, 21, -11.78, 7, 22, -11.78, 6, 21, -11.78, 7, 22, -11.78, 7, 22, -11.79, 6, 22, -11.81, 6, 23, -11.84, 7, 23, -11.88, 7, 5, -12.48, 10, -3, -12.46, 10, -1, -12.52, 11, -3, -12.57, 11, -2, -12.59, 12, 0, -12.61, 11, 0, -12.63, 12, 0, -12.65, 11, 0, -12.67, 12, 1, -12.69, 11, 1, -12.68, 12, 0, -12.67, 11, 1, -12.65, 12, 2, -12.64, 12, 1, -12.61, 12, 1, -12.56, 12, 2, -12.51, 13, 0, -12.49, 12, 0, -12.5, 13, -1, -12.53, 13, 0, -12.53, 14, 0, -12.53, 14, 1, -12.52, 14, 0, -12.52, 14, 0, -12.52, 15, 0, -12.52, 15, 0, -12.52, 15, -1, -12.55, 15, -1, -12.58, 16, -1, -12.6, 16, -1, -12.59, 16, -2, -12.59, 17, -1, -12.6, 16, -2, -12.62, 17, -1, -12.63, 17, -2, -12.64, 18, -3, -12.63, 18, -2, -12.64, 18, -2, -12.64, 18, -2, -12.64, 19, -2, -12.64, 18, -3, -12.64, 19, -2, -12.64, 20, -2, -12.64, 19, -3, -12.64, 20, -2, -12.64, 20, -2, -12.63, 20, -2, -12.61, 21, -2, -12.59, 21, -1, -12.58, 21, -1, -12.57, 20, -1, -12.56, 21, 0, -12.55, 21, 0, -12.54, 20, 0, -12.53, 20, 1, -12.52, 21, 1, -12.51, 20, 1, -12.5, 20, 2, -12.49, 20, 2, -12.48, 20, 0, -12.49, 21, 0, -12.5, 20, 0, -12.5, 21, 1, -12.5, 22, 0, -12.5, 21, 0, -12.5, 22, 1, -12.5, 22, 0, -12.5, 23, 1, -12.5, 23, 0, -12.5, 23, 1, -12.5, 23, 0, -12.5, 24, 1, -12.5, 24, 1, -12.49, 24, -1, -12.37, 24, -1, -12.23, 24, -1, -12.13, 24, 0, -12.03, 24, 1, -11.94, 23, 0, -11.85, 24, 1, -11.77, 23, 2, -11.7, 23, 1, -11.63, 23, 2, -11.56, 23, 2, -11.5, 23, 3, -11.44, 23, 3, -11.39, 22, 3, -11.34, 23, 4, -11.29, 22, 3, -11.25, 23, 5, -11.21, 22, 4, -11.17, 22, 5, -11.14, 20, 3, -11.05, 22, 0, -11.08, 22, -1, -11.13, 22, 0, -11.14, 23, -1, -11.16, 23, 0, -11.16, 22, -1, -11.2, 23, -1, -11.25, 21, -1, -11.28, 22, 0, -11.31, 22, 0, -11.35, 23, 0, -11.39, 22, 0, -11.43, 22, 0, -11.48, 22, 0, -11.53, 22, 1, -11.6, 23, 0, -11.66, 22, 1, -11.74, 23, 0, -11.82, 22, 2, -11.87, 23, 1, -11.93, 23, 1, -12.04, 23, 1, -12.14, 22, 2, -12.22, 23, 1, -12.33, 23, 2, -12.41, 23, 2, -12.52, 23, 1, -12.57, 24, 0, -12.57, 25, -1, -12.55, 25, -1, -12.53, 24, 0, -12.53, 25, 0, -12.53, 25, 0, -12.53, 24, -1, -12.53, 25, 0, -12.53, 24, 0, -12.53, 25, -1, -12.54, 24, -1, -12.58, 23, -1, -12.57, 25, -2, -12.56, 24, -2, -12.56, 25, -1, -12.57, 24, -2, -12.59, 25, -1, -12.59, 24, -2, -12.59, 25, -2, -12.6, 24, -3, -12.66, 24, -2, -12.68, 25, -3, -12.68, 24, -4, -12.67, 24, -3, -12.69, 24, -5, -12.75, 23, -7, -12.78, 22, -8, -12.83, 22, -8, -12.85, 21, -8, -12.93, 22, -9, -12.95, 22, -9, -12.96, 22, -11, -12.99, 21, -10, -13.05, 20, -13, -13.05, 17, -15, -13.13, 17, -14, -13.24, 13, -17, -13.35, 10, -17, -13.46, 10, -19, -13.47, 8, -18, -13.5, 9, -18, -13.55, 11, -17, -13.5, 9, -17, -13.47, 10, -16, -13.44, 10, -17, -13.39, 10, -15, -13.34, 10, -16, -13.29, 10, -15, -13.24, 10, -14, -13.2, 10, -14, -13.16, 9, -14, -13.12, 10, -13, -13.09, 10, -13, -13.06, 9, -13, -13.02, 10, -12, -13, 9, -12, -12.97, 10, -11, -12.94, 9, -12, -12.92, 10, -10, -12.9, 9, -11, -12.88, 9, -10, -12.86, 10, -9, -12.84, 9, -9, -12.82, 9, -9, -12.81, 9, -9, -12.79, 9, -8, -12.78, 10, -8, -12.77, 9, -7, -12.75, 9, -7, -12.74, 9, -7, -12.73, 9, -6, -12.72, 9, -6, -12.71, 9, -6, -12.7, 8, -5, -12.7, 9, -5, -12.69, 9, -5, -12.68, 9, -4, -12.67, 9, -4, -12.67, 8, -4, -12.66, 9, -3, -12.66, 9, -3, -12.65, 8, -2, -12.64, 9, -3, -12.62, 9, -1, -12.61, 8, -2, -12.6, 9, -1, -12.59, 8, -1, -12.57, 9, 0, -12.56, 8, -1, -12.56, 9, 1, -12.55, 8, 0, -12.54, 9, 1, -12.53, 8, 1, -12.52, 8, 2, -12.52, 9, 1, -12.51, 8, 2, -12.5, 8, 3, -12.5, 8, 3, -12.49, 8, 3, -12.49, 8, 3, -12.48, 9, 4, -12.48, 8, 4, -12.48, 8, 4, -12.47, 8, 5, -12.47, 8, 5, -12.46, 8, 6, -12.46, 8, 5, -12.46, 8, 6, -12.46, 7, 6, -12.45, 8, 7, -12.45, 8, 7, -12.45, 8, 7, -12.45, 8, 8, -12.44, 7, 7, -12.44, 8, 9, -12.44, 8, 8, -12.44, 8, 9, -12.44, 7, 9, -12.44, 8, 9, -12.44, 7, 10, -12.43, 8, 10, -12.43, 7, 10, -12.43, 8, 11, -12.43, 7, 10, -12.43, 8, 12, -12.43, 7, 11, -12.43, 8, 12, -12.43, 7, 12, -12.43, 8, 12, -12.43, 7, 13, -12.43, 7, 13, -12.43, 8, 13, -12.42, 7, 13, -12.42, 7, 14, -12.42, 7, 14, -12.42, 7, 14, -12.42, 8, 15, -12.42, 7, 15, -12.42, 7, 15, -12.42, 7, 15, -12.42, 7, 16, -12.42, 7, 16, -12.42, 7, 17, -12.42, 7, 16, -12.42, 7, 17, -12.42, 7, 17, -12.42, 7, 18, -12.42, 7, 17, -12.42, 7, 18, -12.42, 7, 18, -12.42, 7, 19, -12.42, 8, 13, -12.4, 10, -2, -12.43, 11, -1, -12.49, 11, -3, -12.54, 12, 0, -12.53, 12, 0, -12.54, 12, 0, -12.56, 12, 1, -12.57, 12, 0, -12.55, 12, 1, -12.54, 12, 1, -12.52, 12, 1, -12.5, 12, -1, -12.52, 12, 0, -12.54, 13, 0, -12.53, 13, 0, -12.54, 14, -1, -12.54, 13, 0, -12.54, 14, 0, -12.54, 15, -1, -12.54, 14, 0, -12.54, 15, 0, -12.54, 15, 0, -12.54, 16, -1, -12.54, 15, 0, -12.54, 16, 0, -12.54, 17, -1, -12.54, 16, 0, -12.54, 17, -1, -12.55, 17, 0, -12.57, 17, -1, -12.58, 18, -1, -12.58, 18, -1, -12.58, 18, -1, -12.58, 18, -1, -12.58, 19, -1, -12.58, 19, -1, -12.58, 19, -1, -12.58, 20, -1, -12.58, 20, -2, -12.58, 20, -1, -12.58, 20, -1, -12.58, 21, -1, -12.58, 20, -1, -12.58, 22, -1, -12.58, 21, -1, -12.58, 22, -2, -12.58, 22, -1, -12.59, 21, -2, -12.63, 22, -3, -12.67, 22, -3, -12.66, 23, -4, -12.66, 23, -3, -12.66, 23, -3, -12.66, 23, -3, -12.66, 24, -3, -12.66, 24, -3, -12.66, 24, -4, -12.66, 24, -3, -12.66, 24, -3, -12.66, 25, -4, -12.66, 24, -3, -12.67, 24, -4, -12.67, 25, -4, -12.67, 24, -3, -12.67, 24, -4, -12.67, 24, -4, -12.67, 25, -4, -12.67)); AddData(new Array(24, -3, -12.67, 24, -4, -12.67, 25, -4, -12.67, 24, -4, -12.68, 24, -3, -12.68, 24, -4, -12.68, 25, -4, -12.68, 24, -4, -12.68, 24, -4, -12.68, 25, -3, -12.68, 24, -4, -12.68, 24, -5, -12.7, 24, -5, -12.76, 23, -6, -12.85, 23, -7, -12.9, 23, -6, -12.9, 24, -6, -12.91, 24, -6, -12.92, 23, -6, -12.92, 24, -5, -12.91, 24, -6, -12.9, 25, -5, -12.89, 24, -5, -12.87, 24, -5, -12.85, 24, -5, -12.82, 24, -5, -12.79, 24, -6, -12.78, 24, -6, -12.8, 23, -8, -12.8, 22, -9, -12.8, 22, -9, -12.84, 23, -9, -12.87, 23, -8, -12.88, 23, -9, -12.88, 23, -8, -12.88, 23, -8, -12.87, 23, -8, -12.86, 23, -9, -12.87, 23, -7, -12.87, 21, -8, -12.86, 22, -8, -12.86, 24, -8, -12.86, 23, -8, -12.86, 23, -9, -12.86, 23, -8, -12.86, 23, -8, -12.86, 23, -9, -12.86, 23, -8, -12.86, 23, -8, -12.86, 23, -9, -12.86, 23, -9, -12.9, 22, -9, -12.93, 23, -9, -12.92, 23, -10, -12.92, 22, -9, -12.92, 23, -10, -12.92, 22, -9, -12.9, 23, -9, -12.89, 23, -9, -12.88, 23, -8, -12.88, 22, -8, -12.89, 23, -9, -12.89, 23, -9, -12.89, 23, -9, -12.89, 23, -8, -12.89, 23, -9, -12.88, 23, -9, -12.88, 23, -8, -12.87, 23, -8, -12.86, 23, -8, -12.85, 23, -7, -12.84, 23, -7, -12.84, 22, -7, -12.83, 23, -6, -12.82, 22, -6, -12.82, 23, -6, -12.81, 22, -5, -12.81, 23, -5, -12.8, 22, -4, -12.8, 22, -4, -12.8, 22, -4, -12.79, 22, -4, -12.79, 22, -3, -12.79, 22, -2, -12.78, 22, -3, -12.78, 21, -2, -12.78, 22, -2, -12.77, 21, -1, -12.77, 22, -1, -12.77, 21, -1, -12.77, 22, 0, -12.77, 21, 0, -12.76, 21, 0, -12.76, 21, 1, -12.76, 21, 0, -12.76, 21, 2, -12.76, 21, 1, -12.76, 21, 2, -12.76, 21, 2, -12.76, 20, 3, -12.75, 21, 3, -12.75, 21, 3, -12.75, 20, 3, -12.74, 21, 3, -12.69, 22, 2, -12.61, 22, 3, -12.56, 21, 3, -12.51, 21, 4, -12.47, 22, 4, -12.43, 21, 4, -12.39, 21, 5, -12.36, 21, 4, -12.33, 21, 6, -12.3, 21, 5, -12.27, 20, 6, -12.24, 21, 6, -12.22, 21, 7, -12.2, 20, 6, -12.17, 21, 7, -12.15, 20, 8, -12.14, 20, 8, -12.12, 21, 7, -12.1, 20, 9, -12.09, 20, 8, -12.07, 20, 9, -12.06, 20, 9, -12.05, 20, 10, -12.03, 20, 10, -12.02, 19, 10, -12.01, 20, 10, -12, 20, 11, -11.99, 19, 11, -11.99, 20, 11, -11.98, 19, 12, -11.97, 19, 12, -11.96, 20, 12, -11.96, 19, 12, -11.95, 19, 13, -11.94, 19, 13, -11.94, 19, 13, -11.93, 19, 14, -11.93, 19, 14, -11.93, 19, 14, -11.92, 18, 14, -11.92, 19, 15, -11.92, 19, 15, -11.94, 18, 15, -11.97, 19, 16, -12, 18, 15, -12.04, 18, 16, -12.09, 18, 16, -12.13, 17, 16, -12.16, 18, 17, -12.19, 17, 16, -12.21, 18, 17, -12.23, 17, 17, -12.24, 17, 18, -12.25, 17, 17, -12.26, 17, 18, -12.27, 17, 17, -12.27, 16, 18, -12.27, 16, 19, -12.27, 17, 18, -12.27, 16, 18, -12.27, 15, 19, -12.27, 16, 18, -12.27, 16, 19, -12.27, 15, 19, -12.28, 15, 19, -12.28, 15, 19, -12.28, 15, 20, -12.28, 15, 19, -12.28, 14, 20, -12.28, 15, 20, -12.28, 14, 19, -12.28, 14, 20, -12.28, 16, 19, -12.37, 12, -3, -12.49, 15, -1, -12.51, 15, -2, -12.53, 16, -3, -12.54, 16, -2, -12.56, 16, -1, -12.56, 17, 0, -12.56, 16, 0, -12.56, 17, 0, -12.56, 16, 1, -12.56, 16, 1, -12.56, 17, 1, -12.52, 16, 0, -12.52, 17, -1, -12.53, 17, 1, -12.52, 18, 0, -12.52, 18, 0, -12.52, 18, 0, -12.52, 18, 0, -12.52, 18, 0, -12.52, 19, 0, -12.52, 19, 0, -12.52, 20, 0, -12.52, 19, 0, -12.52, 20, 0, -12.52, 20, -1, -12.55, 20, -2, -12.6, 21, -1, -12.61, 21, -1, -12.6, 21, -2, -12.6, 21, -2, -12.6, 22, -1, -12.6, 21, -2, -12.6, 23, -2, -12.6, 22, -1, -12.6, 22, -2, -12.6, 23, -2, -12.6, 23, -1, -12.6, 24, -2, -12.6, 23, -2, -12.6, 23, -2, -12.6, 23, -3, -12.63, 24, -3, -12.65, 24, -3, -12.64, 25, -2, -12.64, 24, -3, -12.64, 24, -3, -12.64, 25, -4, -12.68, 23, -5, -12.73, 24, -5, -12.73, 24, -5, -12.72, 24, -5, -12.72, 24, -4, -12.72, 25, -5, -12.72, 24, -5, -12.72, 23, -6, -12.76, 24, -7, -12.82, 22, -7, -12.85, 24, -9, -12.83, 23, -7, -12.83, 23, -8, -12.81, 24, -7, -12.78, 23, -7, -12.77, 23, -7, -12.75, 23, -6, -12.73, 23, -6, -12.72, 23, -5, -12.7, 23, -6, -12.69, 22, -4, -12.67, 23, -5, -12.66, 23, -4, -12.65, 22, -4, -12.64, 22, -3, -12.63, 23, -3, -12.62, 22, -3, -12.61, 22, -3, -12.61, 22, -2, -12.6, 22, -2, -12.59, 22, -1, -12.58, 22, -1, -12.58, 22, -1, -12.57, 21, 0, -12.57, 22, 0, -12.56, 22, 0, -12.56, 21, 0, -12.55, 21, 1, -12.55, 22, 2, -12.54, 21, 1, -12.54, 21, 2, -12.54, 21, 2, -12.53, 21, 3, -12.53, 21, 3, -12.53, 21, 3, -12.53, 21, 3, -12.52, 21, 4, -12.52, 21, 4, -12.52, 20, 5, -12.52, 21, 5, -12.52, 20, 5, -12.51, 21, 5, -12.51, 20, 6, -12.51, 20, 6, -12.51, 21, 6, -12.51, 20, 7, -12.51, 20, 7, -12.51, 20, 7, -12.5, 20, 8, -12.5, 20, 8, -12.5, 19, 8, -12.5, 20, 8, -12.5, 20, 9, -12.5, 19, 9, -12.5, 20, 10, -12.5, 19, 9, -12.5, 20, 11, -12.5, 19, 10, -12.5, 20, 10, -12.5, 19, 11, -12.5, 19, 12, -12.5, 19, 11, -12.49, 20, 11, -12.56, 19, 0, -12.5, 19, -1, -12.53, 20, -2, -12.53, 20, -3, -12.53, 20, -2, -12.54, 21, -1, -12.54, 21, -1, -12.55, 21, 0, -12.55, 20, -1, -12.56, 21, 0, -12.57, 21, -1, -12.56, 21, -1, -12.56, 21, 0, -12.56, 21, -1, -12.56, 22, -1, -12.56, 22, -1, -12.56, 23, -1, -12.56, 22, -1, -12.58, 23, -2, -12.62, 22, -2, -12.66, 24, -2, -12.68, 23, -2, -12.7, 24, -2, -12.71, 24, -1, -12.71, 25, -1, -12.7, 25, -1, -12.69, 24, -1, -12.68, 25, -1, -12.66, 25, -1, -12.64, 24, -1, -12.61, 25, 0, -12.57, 25, -2, -12.57, 24, -2, -12.59, 24, -2, -12.59, 25, -1, -12.59, 24, -2, -12.6, 24, -2, -12.6, 23, -3, -12.62, 25, -2, -12.61, 24, -2, -12.61, 24, -2, -12.62, 24, -2, -12.62, 25, -3, -12.62, 24, -2, -12.62, 25, -2, -12.62, 24, -3, -12.62, 24, -2, -12.62, 25, -2, -12.62, 24, -3, -12.62, 25, -2, -12.62, 24, -2, -12.62, 25, -3, -12.62, 24, -2, -12.62, 25, -3, -12.64, 24, -3, -12.66, 24, -3, -12.65, 25, -4, -12.65, 24, -3, -12.65, 24, -3, -12.65, 25, -3, -12.65, 24, -4, -12.65, 25, -3, -12.64, 24, -3, -12.64, 25, -3, -12.64, 24, -3, -12.64, 24, -2, -12.64, 24, -3, -12.64, 24, -3, -12.64, 24, -3, -12.64, 23, -3, -12.64, 24, -3, -12.65, 22, -4, -12.69, 22, -4, -12.74, 22, -5, -12.71, 20, -6, -12.76, 20, -6, -12.83, 18, -6, -12.9, 19, -7, -12.92, 18, -8, -12.89, 17, -7, -12.87, 17, -6, -12.86, 17, -7, -12.88, 16, -6, -12.92, 15, -7, -12.96, 15, -7, -12.95, 16, -7, -12.93, 15, -7, -12.94, 15, -7, -12.95, 14, -6, -12.96, 15, -7, -12.95, 16, -7, -12.95, 15, -8, -12.96, 14, -8, -13, 16, -7, -13.03, 15, -9, -13.04, 15, -8, -13.03, 15, -9, -13.03, 15, -8, -13.03, 15, -8, -13.03, 14, -9, -13.03, 15, -8, -13.03, 14, -8, -13.03, 14, -8, -13.07, 12, -9, -13.12, 12, -9, -13.2, 11, -10, -13.25, 11, -11, -13.22, 11, -9, -13.23, 11, -10, -13.24, 11, -9, -13.23, 11, -8, -13.21, 11, -9, -13.22, 10, -9, -13.22, 11, -9, -13.21, 10, -8, -13.21, 10, -8, -13.21, 10, -8, -13.19, 10, -8, -13.16, 10, -8, -13.16, 10, -7, -13.16, 9, -7, -13.15, 10, -6, -13.15, 9, -7, -13.12, 10, -7, -13.07, 9, -6, -13.03, 9, -6, -12.99, 9, -6, -12.96, 10, -5, -12.93, 9, -5, -12.89, 9, -5, -12.87, 9, -4, -12.84, 9, -4, -12.81, 9, -4, -12.79, 9, -3, -12.77, 9, -3, -12.75, 8, -3, -12.73, 9, -2, -12.71, 9, -2, -12.69, 9, -1, -12.67, 8, -1, -12.66, 9, -1, -12.65, 9, -1, -12.63, 8, 0, -12.62, 9, 0, -12.61, 9, 1, -12.6, 8, 1, -12.59, 9, 1, -12.58, 8, 1, -12.57, 8, 2, -12.56, 9, 2, -12.55, 8, 3, -12.55, 8, 2, -12.54, 9, 3, -12.53, 8, 4, -12.53, 8, 4, -12.52, 9, 4, -12.52, 8, 4, -12.51, 8, 5, -12.51, 8, 5, -12.5, 8, 5, -12.5, 8, 6, -12.5, 8, 6, -12.49, 8, 6, -12.49, 8, 7, -12.49, 8, 6, -12.48, 8, 8, -12.48, 8, 7, -12.48, 8, 8, -12.48, 8, 8, -12.47, 8, 8, -12.47, 7, 9, -12.47, 8, 9, -12.47, 8, 10, -12.47, 8, 9, -12.46, 7, 10, -12.46, 8, 10, -12.46, 8, 11, -12.46, 7, 11, -12.46, 8, 11, -12.46, 7, 11, -12.46, 8, 12, -12.46, 7, 12, -12.46, 8, 12, -12.45, 7, 13, -12.45, 8, 13, -12.45, 7, 13, -12.45, 8, 13, -12.45, 7, 14, -12.45, 7, 14, -12.45, 8, 15, -12.45, 7, 14, -12.45, 7, 15, -12.45, 7, 15, -12.45, 8, 16, -12.45, 6, 13, -12.33, 11, 0, -12.28, 9, 0, -12.3, 10, -1, -12.3, 11, -2, -12.3, 9, -1, -12.43, 10, 0, -12.53, 10, 0, -12.62)); AddData(new Array(10, -1, -12.68, 11, -1, -12.71, 11, -1, -12.71, 11, -2, -12.72, 10, -3, -12.78, 10, -4, -12.88, 10, -4, -13.02, 9, -5, -13.09, 8, -7, -13.15, 10, -7, -13.19, 9, -8, -13.21, 10, -7, -13.25, 9, -8, -13.24, 9, -8, -13.22, 10, -7, -13.2, 9, -8, -13.19, 10, -7, -13.18, 9, -6, -13.16, 9, -6, -13.15, 9, -6, -13.14, 10, -6, -13.13, 9, -5, -13.12, 9, -5, -13.11, 9, -4, -13.11, 9, -4, -13.1, 9, -4, -13.09, 9, -3, -13.08, 9, -3, -13.08, 9, -3, -13.07, 9, -2, -13.07, 9, -2, -13.06, 9, -2, -13.06, 9, -1, -13.05, 9, -1, -13.05, 9, -1, -13.04, 8, 0, -13.04, 9, 0, -13.04, 9, 0, -13.03, 8, 1, -13.03, 9, 1, -13.03, 9, 1, -13.02, 8, 2, -13.02, 9, 2, -13.02, 8, 2, -13.02, 9, 3, -13.02, 8, 3, -13.01, 9, 3, -13.01, 8, 4, -13.01, 8, 4, -13, 9, 4, -12.98, 8, 4, -12.95, 9, 5, -12.91, 8, 5, -12.86, 9, 6, -12.81, 8, 6, -12.76, 9, 6, -12.71, 8, 7, -12.67, 8, 6, -12.62, 9, 7, -12.59, 8, 8, -12.55, 8, 8, -12.52, 9, 7, -12.53, 6, 1, -12.64, 8, -1, -12.69, 7, -2, -12.7, 8, -4, -12.72, 9, -4, -12.69, 9, -1, -12.71, 9, -2, -12.71, 9, -2, -12.72, 10, -1, -12.72, 9, -1, -12.72, 9, -2, -12.7, 9, -2, -12.71, 9, -1, -12.72, 10, -2, -12.71, 9, -2, -12.7, 10, -2, -12.71, 10, -2, -12.73, 10, -3, -12.75, 10, -2, -12.78, 10, -4, -12.83, 10, -4, -12.89, 9, -5, -12.96, 9, -5, -13.05, 9, -5, -13.15, 9, -6, -13.16, 10, -7, -13.15, 9, -7, -13.14, 10, -7, -13.15, 9, -8, -13.17, 10, -7, -13.18, 10, -7, -13.19, 10, -8, -13.19, 10, -7, -13.19, 11, -7, -13.19, 10, -6, -13.18, 11, -7, -13.16, 10, -5, -13.13, 11, -6, -13.1, 10, -5, -13.05, 11, -5, -13.01, 10, -4, -12.97, 10, -4, -12.93, 11, -4, -12.9, 10, -4, -12.87, 10, -3, -12.84, 10, -2, -12.81, 10, -3, -12.78, 10, -2, -12.76, 10, -1, -12.73, 10, -2, -12.71, 10, -1, -12.69, 10, 0, -12.67, 10, -1, -12.65, 10, 0, -12.64, 10, 1, -12.62, 9, 1, -12.61, 10, 1, -12.59, 10, 1, -12.58, 10, 2, -12.57, 9, 2, -12.56, 10, 2, -12.55, 9, 3, -12.54, 10, 3, -12.53, 9, 3, -12.52, 10, 3, -12.51, 9, 4, -12.51, 9, 5, -12.5, 10, 4, -12.49, 9, 5, -12.49, 9, 5, -12.48, 10, 6, -12.47, 9, 6, -12.47, 9, 6, -12.46, 10, 4, -12.41, 11, 2, -12.37, 11, 1, -12.33, 12, -1, -12.23, 12, 1, -12.14, 12, 1, -12.08, 12, 2, -12.02, 12, 2, -11.96, 11, 2, -11.91, 12, 2, -11.86, 11, 3, -11.81, 12, 3, -11.77, 11, 4, -11.73, 12, 3, -11.69, 11, 5, -11.66, 12, 4, -11.63, 11, 5, -11.59, 11, 5, -11.57, 11, 5, -11.54, 11, 6, -11.51, 11, 5, -11.49, 12, 7, -11.47, 11, 6, -11.45, 11, 7, -11.43, 10, 7, -11.41, 11, 7, -11.4, 12, 6, -11.42, 12, 6, -11.48, 12, 5, -11.57, 13, 6, -11.67, 13, 5, -11.79, 13, 6, -11.9, 14, 7, -11.99, 13, 7, -12.07, 13, 7, -12.15, 14, 7, -12.17, 14, 6, -12.13, 15, 6, -12.13, 15, 6, -12.13, 16, 6, -12.14, 16, 7, -12.14, 16, 6, -12.14, 17, 7, -12.14, 17, 7, -12.14, 17, 7, -12.14, 18, 8, -12.14, 18, 7, -12.14, 19, 8, -12.14, 19, 7, -12.14, 19, 8, -12.14, 20, 8, -12.14, 20, 8, -12.14, 21, 9, -12.13, 20, 9, -12.12, 22, 8, -12.08, 21, 10, -12.04, 22, 9, -12.01, 21, 10, -11.97, 22, 10, -11.94, 21, 10, -11.92, 21, 11, -11.89, 21, 11, -11.86, 21, 11, -11.84, 21, 12, -11.82, 21, 11, -11.8, 21, 13, -11.78, 20, 12, -11.76, 21, 13, -11.74, 21, 13, -11.73, 20, 13, -11.72, 20, 13, -11.7, 21, 14, -11.69, 20, 14, -11.69, 20, 13, -11.7, 21, 11, -11.8, 21, 12, -11.92, 21, 11, -12.05, 21, 8, -12.09, 23, 10, -12.08, 22, 11, -12.08, 21, 10, -12.08, 22, 11, -12.07, 22, 10, -12.08, 22, 11, -12.08, 23, 10, -12.08, 22, 11, -12.08, 22, 11, -12.08, 23, 10, -12.08, 22, 11, -12.08, 23, 10, -12.11, 22, 9, -12.15, 23, 10, -12.11, 23, 8, -12.12, 23, 9, -12.14, 22, 9, -12.14, 22, 10, -12.14, 23, 9, -12.15, 22, 9, -12.11, 22, 8, -12.14, 22, 10, -12.13, 23, 8, -12.15, 22, 8, -12.16, 22, 9, -12.15, 22, 7, -12.16, 23, 9, -12.16, 23, 9, -12.16, 23, 9, -12.12, 22, 8, -12.17, 23, 9, -12.16, 22, 9, -12.16, 22, 8, -12.15, 22, 8, -12.16, 24, 9, -12.16, 23, 8, -12.17, 23, 8, -12.22, 24, 6, -12.27, 24, 6, -12.27, 23, 6, -12.26, 24, 6, -12.27, 23, 6, -12.24, 23, 6, -12.27, 24, 6, -12.25, 23, 5, -12.32, 24, 4, -12.4, 24, 2, -12.46, 23, 0, -12.48, 25, -1, -12.51, 24, -2, -12.52, 24, 0, -12.5, 25, 0, -12.5, 24, 0, -12.5, 24, 1, -12.5, 25, 0, -12.51, 24, 0, -12.51, 24, -1, -12.56, 24, -1, -12.58, 25, -2, -12.57, 24, -1, -12.57, 25, -1, -12.58, 24, -2, -12.58, 25, -1, -12.58, 24, -2, -12.58, 25, -2, -12.61, 23, -3, -12.6, 24, -1, -12.61, 23, -3, -12.62, 24, -2, -12.61, 24, -3, -12.63, 25, -3, -12.62, 23, -3, -12.63, 25, -2, -12.64, 23, -2, -12.63, 25, -3, -12.62, 23, -3, -12.63, 24, -2, -12.63, 23, -2, -12.6, 24, -3, -12.63, 25, -3, -12.63, 24, -2, -12.59, 23, -3, -12.63, 23, -2, -12.62, 25, -2, -12.61, 23, -2, -12.61, 25, -2, -12.61, 24, -3, -12.61, 25, -2, -12.61, 24, -2, -12.61, 25, -2, -12.61, 24, -3, -12.61, 25, -2, -12.61, 24, -2, -12.61, 24, -3, -12.57, 24, -1, -12.59, 25, -1, -12.58, 24, -2, -12.57, 24, 0, -12.57, 24, -1, -12.56, 24, 0, -12.56, 24, 0, -12.55, 23, 1, -12.55, 24, 0, -12.56, 24, -1, -12.57, 24, -1, -12.55, 25, 0, -12.55, 24, -1, -12.55, 25, -1, -12.55, 25, 0, -12.55, 24, -1, -12.55, 25, 0, -12.54, 25, -1, -12.53, 24, 0, -12.52, 24, 1, -12.5, 24, -1, -12.52, 25, 1, -12.52, 24, 0, -12.52, 25, 0, -12.52, 25, 0, -12.52, 24, 0, -12.52, 25, 0, -12.52, 25, 0, -12.52, 24, 0, -12.52, 25, 0, -12.52, 24, 0, -12.52, 25, 0, -12.52, 25, 0, -12.52, 24, 0, -12.52, 25, 0, -12.52, 25, 0, -12.52, 24, 0, -12.52, 23, -1, -12.52, 24, 0, -12.53, 24, -1, -12.47, 25, -3, -12.44, 24, -3, -12.48, 24, -5, -12.56, 23, -4, -12.67, 23, -6, -12.76, 22, -7, -12.81, 24, -7, -12.78, 23, -6, -12.77, 24, -6, -12.77, 23, -6, -12.77, 24, -5, -12.77, 23, -5, -12.76, 22, -11, -12.73, 22, -10, -12.72, 22, -10, -12.7, 21, -10, -12.68, 22, -9, -12.67, 22, -9, -12.65, 22, -9, -12.64, 21, -8, -12.62, 22, -8, -12.61, 21, -7, -12.6, 21, -7, -12.59, 22, -7, -12.58, 21, -6, -12.57, 21, -6, -12.56, 21, -6, -12.55, 21, -5, -12.55, 21, -5, -12.54, 21, -5, -12.53, 20, -4, -12.53, 21, -4, -12.52, 21, -4, -12.52, 20, -3, -12.51, 21, -3, -12.51, 20, -2, -12.5, 20, -2, -12.5, 21, -2, -12.49, 20, -2, -12.49, 20, -1, -12.49, 20, -1, -12.48, 20, 0, -12.48, 20, -1, -12.48, 20, 1, -12.48, 20, 0, -12.47, 19, 1, -12.47, 20, 1, -12.47, 20, 1, -12.47, 19, 2, -12.46, 19, 2, -12.46, 20, 3, -12.46, 19, 3, -12.46, 19, 3, -12.46, 20, 3, -12.46, 19, 4, -12.46, 19, 4, -12.45, 19, 4, -12.45, 19, 5, -12.45, 19, 5, -12.45, 18, 5, -12.45, 19, 6, -12.45, 19, 6, -12.45, 19, 6, -12.45, 18, 7, -12.45, 19, 7, -12.45, 18, 7, -12.45, 18, 7, -12.45, 19, 8, -12.44, 18, 8, -12.44, 18, 9, -12.44, 18, 8, -12.44, 18, 9, -12.44, 18, 10, -12.44, 18, 9, -12.44, 18, 10, -12.44, 18, 4, -12.49, 19, 0, -12.51, 19, -1, -12.51, 20, -2, -12.52, 19, -3, -12.52, 20, -1, -12.52, 21, 0, -12.53, 20, 0, -12.53, 21, 0, -12.54, 20, 0, -12.54, 20, 1, -12.55, 20, 1, -12.52, 20, -1, -12.52, 20, 1, -12.52, 19, 0, -12.52, 18, 0, -12.52, 19, 0, -12.52, 19, 0, -12.52, 19, 0, -12.52, 18, 0, -12.52, 19, 0, -12.52, 18, 0, -12.52, 19, 0, -12.52, 18, 0, -12.52, 18, 0, -12.52, 19, 0, -12.52, 18, 0, -12.52, 18, 0, -12.52, 18, 0, -12.52, 18, -1, -12.53, 17, 0, -12.54, 18, 0, -12.55, 18, -1, -12.55, 17, -1, -12.58, 18, -1, -12.59, 17, -1, -12.6, 16, -2, -12.62, 16, -2, -12.66, 15, -2, -12.69, 15, -2, -12.7, 15, -3, -12.69, 15, -4, -12.73, 15, -3, -12.77, 14, -4, -12.82, 14, -5, -12.85, 13, -5, -12.93, 11, -7, -13.02, 11, -8, -13.08, 10, -9, -13.12, 9, -9, -13.18, 9, -9, -13.24, 9, -8, -13.29, 8, -9, -13.37, 7, -9, -13.46, 6, -10, -13.54, 5, -9, -13.64, 4, -10, -13.69, 4, -10, -13.72, 4, -10, -13.76, 4, -10, -13.81, 2, -11, -13.82, 3, -10, -13.83, 3, -11, -13.83, 4, -10, -13.82, 3, -10, -13.8, 3, -10, -13.77, 3, -11, -13.75, 4, -10, -13.73, 3, -10, -13.72, 4, -9, -13.7, 3, -9, -13.68, 3, -9, -13.64, 4, -8, -13.6, 3, -9, -13.55, 4, -7, -13.49, 3, -8, -13.43, 4, -7, -13.36, 4, -7, -13.28)); AddData(new Array(3, -6, -13.2, 4, -6, -13.12, 4, -5, -13.03, 3, -6, -12.94, 4, -4, -12.86, 3, -5, -12.79, 4, -4, -12.72, 3, -4, -12.65, 4, -3, -12.59, 3, -3, -12.54, 4, -2, -12.48, 3, -3, -12.43, 3, -2, -12.39, 4, -1, -12.34, 3, -1, -12.3, 3, -1, -12.27, 4, -1, -12.23, 3, 0, -12.2, 3, 0, -12.17, 3, 0, -12.14, 3, 1, -12.11, 3, 1, -12.09, 3, 2, -12.06, 4, 1, -12.04, 3, 2, -12.02, 3, 3, -12, 3, 2, -11.98, 3, 3, -11.96, 3, 4, -11.95, 3, 3, -11.93, 3, 4, -11.92, 3, 5, -11.91, 3, 4, -11.89, 3, 5, -11.88, 3, 5, -11.87, 3, 6, -11.86, 3, 6, -11.85, 2, 6, -11.84, 3, 6, -11.84, 3, 7, -11.83, 3, 7, -11.82, 3, 8, -11.81, 3, 7, -11.81, 3, 8, -11.8, 2, 9, -11.8, 3, 8, -11.79, 3, 9, -11.79, 3, 10, -11.78, 3, 9, -11.78, 3, 10, -11.77, 2, 10, -11.77, 3, 10, -11.77, 4, 8, -11.9, 4, 5, -12.1, 5, 3, -12.27, 6, 2, -12.36, 8, 2, -12.35, 8, 1, -12.32, 10, 1, -12.26, 9, 3, -12.24, 9, 2, -12.23, 10, 3, -12.24, 10, 3, -12.25, 10, 3, -12.25, 11, 3, -12.24, 11, 4, -12.23, 10, 3, -12.21, 12, 4, -12.18, 11, 5, -12.15, 12, 4, -12.13, 13, 5, -12.14, 12, 5, -12.14, 12, 5, -12.15, 13, 5, -12.16, 13, 4, -12.15, 13, 6, -12.16, 14, 5, -12.16, 14, 5, -12.16, 15, 6, -12.16, 15, 5, -12.16, 15, 6, -12.17, 16, 6, -12.16, 16, 6, -12.14, 17, 7, -12.1, 16, 6, -12.06, 17, 7, -12.03, 16, 7, -12, 16, 8, -11.97, 16, 8, -11.94, 17, 7, -11.94, 17, 7, -11.97, 17, 9, -11.99, 17, 8, -12.01, 17, 9, -12.03, 17, 8, -12.05, 17, 10, -12.06, 17, 9, -12.08, 17, 10, -12.09, 17, 10, -12.11, 16, 11, -12.12, 17, 10, -12.13, 17, 11, -12.14, 16, 12, -12.16, 17, 11, -12.17, 16, 12, -12.17, 17, 12, -12.14, 18, 12, -12.1, 18, 12, -12.07, 18, 13, -12.03, 19, 13, -11.99, 19, 14, -11.94, 20, 13, -11.93, 20, 12, -11.94, 20, 11, -11.95, 21, 11, -11.97, 22, 10, -12.01, 21, 9, -12.08, 22, 11, -12.08, 22, 11, -12.09, 22, 11, -12.08, 23, 10, -12.09, 22, 10, -12.13, 23, 9, -12.12, 22, 10, -12.13, 23, 9, -12.13, 23, 10, -12.13, 23, 9, -12.13, 23, 10, -12.13, 23, 9, -12.17, 23, 8, -12.22, 23, 7, -12.2, 24, 7, -12.15, 23, 8, -12.13, 24, 7, -12.14, 23, 6, -12.19, 24, 6, -12.28, 23, 5, -12.33, 24, 3, -12.37, 24, 2, -12.4, 24, 1, -12.46, 25, 2, -12.47, 24, 2, -12.45, 24, 2, -12.43, 23, 1, -12.45, 25, 1, -12.45, 24, 2, -12.45, 25, 2, -12.45, 25, 1, -12.45, 24, 2, -12.45, 25, 1, -12.47, 24, 0, -12.52, 24, 0, -12.56, 25, -2, -12.56, 24, 0, -12.53, 24, -1, -12.55, 23, -1, -12.55, 25, -1, -12.55, 24, -1, -12.55, 25, 0, -12.55, 24, -1, -12.55, 24, -1, -12.55, 24, -2, -12.58, 24, -1, -12.54, 24, -1, -12.58, 23, -1, -12.57, 24, -2, -12.58, 24, 0, -12.55, 24, -2, -12.56, 24, -2, -12.58, 25, -1, -12.56, 23, -1, -12.57, 24, -3, -12.62, 24, -2, -12.66, 24, -4, -12.65, 25, -4, -12.64, 24, -3, -12.64, 24, -3, -12.65, 25, -3, -12.66, 24, -4, -12.66, 24, -3, -12.66, 25, -4, -12.67, 23, -4, -12.71, 24, -6, -12.74, 24, -5, -12.71, 24, -5, -12.72, 24, -6, -12.73, 24, -5, -12.74, 24, -5, -12.74, 24, -5, -12.74, 24, -6, -12.74, 24, -5, -12.74, 24, -6, -12.77, 23, -7, -12.83, 23, -7, -12.82, 24, -7, -12.81, 23, -7, -12.81, 24, -7, -12.81, 23, -7, -12.81, 24, -8, -12.81, 23, -7, -12.81, 24, -7, -12.81, 23, -8, -12.86, 22, -9, -12.92, 22, -10, -12.94, 22, -10, -12.91, 22, -10, -12.91, 22, -10, -12.91, 22, -9, -12.91, 22, -9, -12.92, 22, -9, -12.92, 21, -8, -12.92, 22, -8, -12.92, 22, -7, -12.92, 21, -7, -12.92, 22, -7, -12.93, 21, -6, -12.95, 21, -6, -12.97, 21, -6, -12.99, 22, -5, -13, 21, -5, -13.01, 21, -5, -13, 21, -4, -12.99, 21, -4, -12.96, 21, -3, -12.93, 21, -4, -12.89, 21, -3, -12.85, 21, -2, -12.81, 20, -2, -12.78, 21, -2, -12.75, 21, -2, -12.72, 20, -1, -12.69, 21, -1, -12.66, 20, 0, -12.65, 20, 0, -12.65, 20, 0, -12.65, 20, 0, -12.67, 20, 1, -12.7, 20, 1, -12.73, 19, 2, -12.78, 20, 2, -12.83, 19, 2, -12.89, 20, 2, -12.94, 19, 3, -12.99, 19, 3, -13.04, 19, 4, -13.08, 20, 3, -13.12, 17, 1, -13.15, 14, -9, -13.07, 13, -10, -13.08, 13, -10, -13.09, 12, -11, -13.11, 12, -11, -13.18, 12, -11, -13.26, 12, -11, -13.26, 12, -12, -13.27, 13, -11, -13.27, 12, -11, -13.27, 13, -11, -13.26, 13, -12, -13.3, 11, -12, -13.36, 11, -13, -13.41, 11, -14, -13.39, 11, -13, -13.38, 12, -14, -13.35, 11, -13, -13.33, 12, -12, -13.31, 11, -13, -13.29, 11, -12, -13.27, 12, -11, -13.25, 11, -11, -13.24, 11, -11, -13.21, 12, -11, -13.18, 11, -10, -13.14, 11, -9, -13.09, 12, -10, -13.03, 11, -9, -12.96, 11, -8, -12.9, 12, -9, -12.82, 11, -7, -12.74, 11, -8, -12.65, 12, -7, -12.56, 11, -7, -12.47, 11, -6, -12.37, 11, -6, -12.26, 11, -5, -12.16, 11, -5, -12.05, 11, -5, -11.94, 11, -4, -11.83, 11, -4, -11.73, 11, -4, -11.64, 10, -3, -11.55, 11, -3, -11.47, 10, -2, -11.4, 11, -3, -11.33, 10, -1, -11.26, 10, -2, -11.2, 11, -1, -11.15, 10, -1, -11.09, 10, -1, -11.04, 10, 0, -11, 10, 0, -10.95, 10, 0, -10.91, 10, 0, -10.87, 10, 1, -10.84, 10, 2, -10.8, 10, 1, -10.77, 10, 2, -10.74, 10, 2, -10.72, 9, 3, -10.69, 10, 2, -10.67, 10, 4, -10.64, 10, 3, -10.62, 9, 4, -10.6, 10, 4, -10.59, 10, 4, -10.57, 9, 5, -10.55, 10, 5, -10.54, 9, 5, -10.52, 10, 6, -10.51, 9, 6, -10.5, 10, 6, -10.49, 9, 7, -10.47, 10, 6, -10.47, 9, 8, -10.49, 9, 7, -10.51, 10, 8, -10.53, 9, 8, -10.57, 10, 8, -10.62, 9, 8, -10.67, 9, 9, -10.72, 10, 9, -10.77, 9, 10, -10.81, 9, 9, -10.85, 9, 10, -10.89, 9, 11, -10.92, 9, 10, -10.96, 10, 11, -10.99, 9, 11, -11.02, 8, 12, -11.04, 9, 12, -11.07, 9, 12, -11.09, 9, 12, -11.12, 9, 13, -11.14, 9, 13, -11.16, 9, 13, -11.17, 8, 14, -11.19, 9, 14, -11.21, 9, 14, -11.22, 8, 15, -11.24, 9, 15, -11.25, 8, 15, -11.26, 9, 15, -11.27, 9, 16, -11.28, 8, 16, -11.29, 9, 16, -11.3, 8, 16, -11.32, 8, 17, -11.35, 9, 17, -11.39, 8, 17, -11.43, 8, 17, -11.47, 6, 7, -11.88, 10, 2, -12.24, 8, 2, -12.59, 8, -1, -12.64, 11, -1, -12.67, 11, -2, -12.65, 12, -2, -12.61, 11, 0, -12.62, 13, -1, -12.62, 12, 0, -12.62, 12, 0, -12.62, 12, 1, -12.62, 12, 1, -12.62, 11, 1, -12.6, 13, 0, -12.56, 12, 1, -12.52, 12, 1, -12.51, 12, 0, -12.51, 12, 0, -12.52, 13, 0, -12.52, 13, 0, -12.52, 14, 0, -12.52, 14, 0, -12.52, 14, 0, -12.52, 14, 0, -12.52, 14, 0, -12.52, 15, 0, -12.52, 16, 0, -12.52, 15, 0, -12.52, 16, 0, -12.52, 16, 0, -12.52, 16, 0, -12.52, 17, 0, -12.52, 17, 0, -12.52, 17, 1, -12.52, 18, 0, -12.52, 18, 0, -12.52, 18, -1, -12.55, 18, 0, -12.56, 19, -1, -12.57, 19, -1, -12.57, 19, -1, -12.57, 20, -1, -12.57, 19, -1, -12.57, 20, 0, -12.57, 21, -1, -12.57, 20, -1, -12.57, 21, -1, -12.57, 21, -1, -12.57, 22, -1, -12.57, 21, -1, -12.57, 22, -1, -12.57, 22, -1, -12.57, 23, -1, -12.57, 22, -2, -12.6, 22, -3, -12.66, 23, -2, -12.67, 24, -4, -12.65, 23, -2, -12.65, 24, -4, -12.65, 24, -3, -12.65, 24, -3, -12.65, 24, -3, -12.65, 25, -3, -12.65, 24, -3, -12.65, 25, -3, -12.65, 24, -4, -12.66, 24, -4, -12.71, 23, -5, -12.75, 24, -6, -12.73, 24, -4, -12.7, 23, -5, -12.74, 24, -5, -12.74, 24, -5, -12.74, 24, -5, -12.73, 24, -5, -12.73, 24, -6, -12.73, 24, -5, -12.73, 24, -5, -12.73, 24, -5, -12.73, 24, -5, -12.73, 24, -5, -12.73, 24, -5, -12.74, 24, -5, -12.75, 24, -6, -12.75, 24, -6, -12.75, 24, -5, -12.75, 24, -6, -12.75, 24, -5, -12.75, 23, -6, -12.75, 24, -5, -12.75, 24, -6, -12.75, 24, -5, -12.75, 24, -6, -12.75, 24, -6, -12.75, 24, -5, -12.75, 24, -6, -12.75, 24, -6, -12.76, 23, -6, -12.81, 23, -7, -12.79, 24, -8, -12.73, 23, -7, -12.67, 23, -7, -12.62, 23, -6, -12.57, 23, -7, -12.54, 22, -6, -12.54, 23, -6, -12.53, 24, -6, -12.54, 23, -6, -12.56, 24, -6, -12.58, 23, -6, -12.62, 24, -5, -12.65, 24, -6, -12.7, 24, -5, -12.75, 23, -5, -12.8, 23, -7, -12.83, 24, -9, -12.86, 23, -7, -12.87, 23, -7, -12.87, 24, -7, -12.86, 23, -7, -12.85, 24, -7, -12.83, 23, -8, -12.83, 23, -7, -12.83, 24, -8, -12.83, 23, -7, -12.83, 24, -8, -12.83, 23, -8, -12.85, 23, -8, -12.88, 22, -8, -12.83, 23, -9, -12.81, 22, -9, -12.82, 23, -9, -12.82, 23, -8, -12.83, 22, -8, -12.83, 23, -8, -12.83, 22, -7, -12.84, 22, -9, -12.9, 22, -9, -12.94, 22, -9, -12.97)); AddData(new Array(23, -9, -12.99, 22, -9, -13.01, 23, -9, -13.02, 23, -9, -13.02, 23, -9, -13.02, 23, -8, -13.01, 23, -9, -13, 23, -8, -12.98, 24, -8, -12.96, 23, -8, -12.94, 23, -9, -12.91, 23, -9, -12.91, 22, -10, -12.91, 22, -10, -12.93, 22, -9, -12.91, 21, -10, -12.93, 22, -10, -12.94, 21, -11, -13, 21, -11, -13.08, 19, -14, -13.1, 19, -15, -13.13, 18, -15, -13.16, 18, -17, -13.21, 17, -15, -13.28, 17, -16, -13.28, 18, -17, -13.28, 17, -17, -13.29, 18, -16, -13.29, 17, -17, -13.29, 18, -17, -13.3, 17, -17, -13.35, 15, -18, -13.4, 14, -20, -13.42, 13, -20, -13.46, 12, -20, -13.55, 10, -20, -13.63, 11, -21, -13.63, 10, -22, -13.67, 8, -21, -13.74, 6, -22, -13.77, 7, -23, -13.74, 7, -23, -13.73, 6, -23, -13.72, 7, -22, -13.71, 7, -21, -13.71, 6, -21, -13.7, 7, -21, -13.7, 7, -20, -13.69, 6, -20, -13.69, 7, -20, -13.69, 7, -19, -13.68, 6, -18, -13.68, 7, -19, -13.68, 6, -18, -13.67, 7, -17, -13.67, 6, -17, -13.67, 6, -17, -13.67, 7, -16, -13.66, 6, -16, -13.66, 7, -16, -13.66, 6, -15, -13.66, 6, -15, -13.66, 6, -14, -13.65, 7, -14, -13.65, 6, -14, -13.65, 6, -13, -13.65, 6, -13, -13.65, 7, -13, -13.65, 6, -12, -13.65, 6, -12, -13.65, 6, -11, -13.64, 6, -11, -13.64, 6, -11, -13.64, 6, -10, -13.64, 6, -10, -13.64, 6, -10, -13.64, 6, -9, -13.64, 6, -9, -13.64, 6, -8, -13.64, 6, -8, -13.64, 6, -8, -13.64, 6, -7, -13.63, 6, -7, -13.61, 6, -7, -13.58, 6, -7, -13.54, 6, -6, -13.49, 6, -6, -13.44, 6, -5, -13.38, 6, -5, -13.31, 6, -5, -13.24, 6, -4, -13.16, 6, -4, -13.08, 7, -4, -12.99, 6, -3, -12.9, 6, -3, -12.8, 6, -2, -12.7, 6, -2, -12.6, 6, -2, -12.49, 6, -1, -12.38, 6, -1, -12.26, 6, -1, -12.15, 6, 0, -12.03, 6, 1, -11.91, 6, 0, -11.78, 6, 1, -11.66, 5, 2, -11.53, 6, 2, -11.4, 5, 2, -11.27, 6, 2, -11.14, 5, 3, -11, 5, 3, -10.87, 5, 4, -10.73, 5, 3, -10.59, 5, 4, -10.46, 5, 4, -10.32, 4, 5, -10.18, 5, 5, -10.04, 4, 4, -9.89, 5, 6, -9.75, 5, 5, -9.61, 4, 6, -9.46, 5, 5, -9.32, 4, 6, -9.18, 5, 7, -9.03, 4, 6, -8.89, 5, 7, -8.74, 5, 7, -8.59, 4, 7, -8.45, 5, 7, -8.3, 5, 8, -8.15, 5, 8, -8.01, 5, 9, -7.86, 6, 8, -7.71, 5, 9, -7.56, 5, 10, -7.41, 6, 9, -7.27, 5, 11, -7.12, 6, 10, -6.97, 5, 11, -6.82, 6, 11, -6.67, 5, 12, -6.52, 6, 12, -6.38, 5, 13, -6.25, 6, 13, -6.13, 5, 13, -6.02, 5, 13, -5.92, 5, 14, -5.82, 5, 14, -5.73, 5, 15, -5.64, 5, 14, -5.56, 5, 15, -5.5, 5, 15, -5.45, 5, 16, -5.41, 4, 15, -5.38, 5, 16, -5.34, 5, 17, -5.31, 4, 16, -5.29, 5, 17, -5.26, 5, 17, -5.24, 4, 17, -5.21, 5, 18, -5.19, 4, 17, -5.17, 5, 18, -5.15, 4, 19, -5.14, 5, 18, -5.12, 4, 19, -5.1, 5, 19, -5.09, 4, 20, -5.08, 4, 20, -5.06, 5, 19, -5.06, 4, 21, -5.07, 5, 20, -5.09, 4, 20, -5.12, 4, 21, -5.15, 5, 21, -5.2, 4, 21, -5.25, 4, 22, -5.31, 4, 22, -5.36, 4, 22, -5.42, 5, 22, -5.46, 5, 22, -5.56, 12, 5, -5.51, 16, 4, -5.4, 16, 5, -5.3, 16, 5, -5.26, 16, 6, -5.21, 16, 7, -5.16, 15, 7, -5.12, 16, 8, -5.08, 16, 8, -5.05, 15, 8, -5.01, 16, 8, -4.98, 15, 9, -4.95, 16, 9, -4.93, 15, 9, -4.9, 15, 10, -4.88, 15, 10, -4.85, 16, 9, -4.83, 15, 9, -4.83, 16, 10, -4.85, 17, 9, -4.89, 17, 9, -4.95, 17, 9, -5.03, 18, 9, -5.13, 17, 10, -5.22, 17, 11, -5.31, 18, 11, -5.4, 17, 11, -5.48, 17, 12, -5.56, 17, 12, -5.63, 18, 11, -5.73, 18, 11, -5.79, 20, 9, -5.83, 21, 8, -5.85, 21, 8, -5.83, 22, 8, -5.82, 22, 9, -5.82, 22, 9, -5.82, 22, 10, -5.83, 23, 9, -5.85, 23, 9, -5.86, 22, 10, -5.85, 23, 9, -5.85, 23, 9, -5.85, 23, 9, -5.85, 23, 10, -5.85, 23, 9, -5.85, 23, 9, -5.85, 23, 9, -5.86, 22, 8, -5.86, 23, 9, -5.89, 23, 8, -5.89, 23, 9, -5.89, 24, 8, -5.89, 23, 9, -5.89, 23, 8, -5.89, 23, 9, -5.89, 23, 8, -5.89, 24, 9, -5.89, 23, 8, -5.89, 23, 8, -5.89, 22, 7, -5.92, 23, 8, -5.91, 23, 7, -5.92, 23, 8, -5.91, 23, 7, -5.93, 22, 8, -5.9, 23, 7, -5.93, 22, 8, -5.9, 24, 7, -5.92, 22, 7, -5.92, 22, 8, -5.91, 23, 7, -5.93, 24, 7, -5.93, 23, 8, -5.93, 23, 8, -5.91, 22, 8, -5.89, 23, 6, -5.92, 23, 8, -5.92, 23, 7, -5.92, 24, 7, -5.96, 23, 7, -5.97, 24, 6, -5.95, 23, 7, -5.96, 24, 6, -5.97, 24, 7, -5.97, 24, 6, -5.97, 23, 7, -5.97, 24, 7, -5.97, 24, 6, -5.97, 24, 7, -5.97, 24, 6, -5.97, 24, 7, -5.97, 23, 6, -6, 24, 5, -6.03, 25, 5, -6.02, 24, 5, -6.02, 24, 5, -6.02, 24, 6, -6.03, 24, 5, -6.03, 24, 5, -6.03, 24, 5, -6.03, 24, 5, -6.03, 25, 5, -6.03, 24, 5, -6.03, 24, 5, -6.03, 24, 6, -6.03, 24, 5, -6.03, 24, 5, -6.03, 24, 5, -6.03, 25, 4, -6.06, 24, 4, -6.12, 24, 3, -6.11, 25, 3, -6.1, 24, 3, -6.1, 24, 3, -6.1, 25, 4, -6.1, 24, 3, -6.1, 25, 3, -6.1, 24, 3, -6.1, 25, 3, -6.1, 24, 4, -6.1, 25, 3, -6.1, 24, 3, -6.1, 24, 3, -6.1, 25, 4, -6.1, 24, 3, -6.1, 25, 2, -6.14, 24, 2, -6.2, 24, 0, -6.2, 25, 1, -6.19, 24, 1, -6.18, 24, 1, -6.17, 24, 2, -6.2, 24, 1, -6.16, 24, 0, -6.2, 23, 1, -6.2, 25, 1, -6.2, 24, 1, -6.2, 25, 1, -6.2, 25, 1, -6.2, 24, 1, -6.2, 25, 1, -6.2, 25, 1, -6.2, 24, 1, -6.2, 25, 1, -6.2, 23, 1, -6.2, 24, -1, -6.26, 24, 0, -6.24, 25, 0, -6.25, 24, 1, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24)); StopData(); StartData(4); AddData(new Array(1480, 2365, 0.05, 1, 0, 0.05, 1, 0, 0.05, 2, 0, 0.05, 2, 0, 0.05, 2, 0, 0.05, 3, 0, 0.05, 3, 0, 0.05, 3, 0, 0.05, 4, 0, 0.05, 4, 0, 0.05, 4, 0, 0.05, 5, 0, 0.05, 4, 0, 0.05, 5, 0, 0.05, 4, 0, 0.05, 5, 0, 0.05, 4, 0, 0.05, 5, 0, 0.05, 5, 0, 0.05, 5, 0, 0.05, 5, 0, 0.05, 6, 0, 0.05, 7, 0, 0.05, 6, 0, 0.05, 7, 0, 0.05, 6, 0, 0.05, 6, 0, 0.05, 7, 0, 0.05, 6, 0, 0.05, 7, 0, 0.05, 7, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 8, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 15, 1, 0.05, 16, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 15, 0, 0.06, 15, 0, 0.07, 15, 1, 0.09, 16, 1, 0.12, 15, 1, 0.14, 15, 1, 0.12, 15, 1, 0.12, 16, 1, 0.1, 15, 1, 0.11, 15, 1, 0.11, 15, 1, 0.11, 16, 1, 0.1, 15, 1, 0.1, 15, 1, 0.11, 15, 2, 0.12, 15, 1, 0.14, 15, 2, 0.16, 15, 2, 0.18, 15, 2, 0.2, 15, 3, 0.22, 15, 3, 0.24, 15, 3, 0.26, 14, 4, 0.27, 15, 4, 0.29, 15, 4, 0.3, 14, 4, 0.31, 15, 4, 0.29, 15, 4, 0.23, 16, 3, 0.25, 16, 3, 0.25, 16, 3, 0.25, 16, 4, 0.25, 15, 3, 0.25, 16, 3, 0.23, 16, 2, 0.19, 15, 2, 0.16, 16, 3, 0.14, 17, 3, 0.12, 16, 3, 0.1, 17, 4, 0.08, 16, 4, 0.06, 16, 4, 0.05, 17, 5, 0.03, 16, 5, 0.02, 16, 5, 0.01, 16, 6, -0.01, 16, 6, -0.02, 16, 6, -0.03, 16, 6, 0, 17, 5, 0.06, 16, 6, 0.1, 16, 6, 0.14, 17, 6, 0.19, 16, 7, 0.24, 16, 6, 0.3, 17, 7, 0.37, 16, 6, 0.38, 16, 2, 0.31, 16, 3, 0.23, 17, 1, 0.2, 17, -1, 0.16, 18, 2, 0.15, 17, 2, 0.14, 17, 2, 0.13, 17, 3, 0.13, 17, 2, 0.15, 18, 2, 0.17, 17, 2, 0.17, 17, 2, 0.16, 18, 3, 0.16, 18, 2, 0.16, 19, 2, 0.16, 19, 2, 0.16, 19, 2, 0.16, 19, 3, 0.17, 20, 3, 0.18, 21, 3, 0.19, 19, 3, 0.2, 20, 4, 0.21, 19, 4, 0.22, 20, 5, 0.22, 19, 5, 0.23, 20, 5, 0.24, 19, 5, 0.24, 19, 6, 0.25, 19, 5, 0.27, 20, 4, 0.29, 19, 4, 0.28, 19, 4, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 5, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 5, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 4, 0.25, 20, 5, 0.25, 20, 4, 0.25, 20, 4, 0.25, 19, 4, 0.25, 20, 4, 0.25, 19, 5, 0.25, 20, 4, 0.25, 20, 4, 0.25, 19, 4, 0.25, 20, 4, 0.25, 19, 4, 0.25, 20, 4, 0.25, 19, 5, 0.25, 19, 4, 0.25, 20, 3, 0.21, 20, 2, 0.15, 20, 1, 0.1, 20, 0, 0.07, 20, 0, 0.08, 19, 0, 0.08, 20, 1, 0.08, 20, 1, 0.09, 19, 1, 0.09, 19, 1, 0.09, 20, 1, 0.09, 19, 0, 0.09, 19, 1, 0.09, 20, 1, 0.09, 19, 1, 0.09, 19, 0, 0.09, 20, 1, 0.09, 20, 1, 0.09, 21, 1, 0.09, 20, 1, 0.09, 20, 0, 0.09, 21, 1, 0.09, 20, 1, 0.09, 20, 1, 0.09, 21, 1, 0.09, 20, 0, 0.09, 20, 1, 0.09, 20, 1, 0.09, 20, 1, 0.09, 20, -1, 0.05, 19, 0, -0.01, 19, -2, -0.09, 19, 0, -0.13, 19, 0, -0.16, 19, 0, -0.18, 19, 1, -0.2, 19, 0, -0.21, 19, 1, -0.21, 19, 1, -0.2, 19, 1, -0.19, 19, 1, -0.17, 18, 2, -0.13, 20, 0, -0.06, 18, 1, 0, 19, 2, 0.06, 19, 1, 0.11, 19, 3, 0.16, 18, 2, 0.21, 19, 3, 0.25, 18, 3, 0.3, 18, 3, 0.33, 19, 4, 0.37, 18, 4, 0.4, 18, 4, 0.43, 18, 5, 0.46, 18, 5, 0.49, 18, 5, 0.52, 17, 6, 0.54, 18, 6, 0.56, 18, 6, 0.58, 18, 7, 0.6, 17, 6, 0.61, 18, 7, 0.59, 18, 3, 0.45, 18, 1, 0.26, 16, 2, 0.07, 18, 2, 0, 17, 0, -0.04, 19, 1, -0.04, 19, -1, 0, 20, -1, 0.06, 20, 0, 0.05, 20, 0, 0.06, 19, 1, 0.06, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 19, 1, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.06, 20, 0, 0.07, 19, 1, 0.09, 19, 1, 0.12, 19, 2, 0.15, 20, 2, 0.19, 19, 2, 0.24, 19, 2, 0.29, 19, 3, 0.33, 19, 3, 0.37, 19, 4, 0.41, 19, 3, 0.45, 19, 4, 0.48, 18, 5, 0.51, 19, 5, 0.54, 18, 5, 0.57, 19, 5, 0.59, 18, 6, 0.62, 18, 6, 0.64, 19, 6, 0.66, 18, 6, 0.68, 18, 7, 0.7, 18, 8, 0.72, 18, 7, 0.73, 18, 8, 0.75, 18, 8, 0.76, 18, 8, 0.76, 17, 9, 0.77, 18, 9, 0.77, 18, 9, 0.77, 17, 10, 0.77, 18, 10, 0.77, 17, 10, 0.77, 18, 8, 0.7, 18, 7, 0.55, 18, 6, 0.41, 18, 5, 0.32, 19, 3, 0.25, 20, 3, 0.23, 20, 4, 0.24, 20, 4, 0.25, 19, 3, 0.24, 20, 3, 0.18, 20, 3, 0.12, 20, 0, 0.07, 20, -1, 0.01, 19, -1, -0.04, 21, -2, -0.03, 20, -1, -0.02, 20, -2, -0.04, 19, -3, -0.08, 20, -2, -0.11, 19, -3, -0.1, 20, -3, -0.1, 19, -2, -0.09, 19, -3, -0.06, 19, -3, -0.02, 19, -2, 0.02, 19, -2, 0.07, 20, -2, 0.09, 19, -2, 0.09, 20, -3, 0.11, 20, -2, 0.11, 20, -1, 0.11, 20, -2, 0.11, 20, -1, 0.11, 20, 0, 0.11, 19, 0, 0.11, 20, 0, 0.11, 20, 0, 0.11, 19, 1, 0.11, 20, 1, 0.11, 19, 1, 0.11, 19, 2, 0.11, 19, 2, 0.11, 20, 2, 0.11, 19, 2, 0.09, 19, 1, 0.09, 20, 0, 0.08, 20, 1, 0.08, 20, 1, 0.09, 20, 1, 0.08, 20, 1, 0.1, 20, 1, 0.11, 20, 2, 0.14, 21, 2, 0.15, 20, 2, 0.17, 19, 2, 0.18, 20, 3, 0.19, 20, 3, 0.2, 19, 3, 0.21, 20, 4, 0.22, 19, 4, 0.23, 20, 5, 0.24, 19, 4, 0.25, 19, 5, 0.26, 20, 6, 0.27, 19, 5, 0.27, 19, 6, 0.28, 19, 7, 0.28, 19, 6, 0.29, 19, 7, 0.29, 18, 7, 0.3, 19, 7, 0.28, 19, 5, 0.28, 20, 4, 0.28, 21, 4, 0.38, 20, 3, 0.46, 19, 4, 0.54, 20, 5, 0.61, 19, 4, 0.67, 19, 5, 0.73, 19, 6, 0.79, 19, 5, 0.84, 19, 6, 0.89, 19, 6, 0.93, 19, 7, 0.97, 18, 7, 1.01, 19, 7, 1.05, 18, 7, 1.08, 18, 8, 1.11, 18, 7, 1.12, 18, 9, 1.13, 18, 8, 1.12, 18, 9, 1.11, 18, 8, 1.08, 18, 9, 1.06, 17, 10, 1.02, 18, 9, 0.99, 15, 10, 0.98, 17, 3, 0.73, 18, 2, 0.5, 16, 2, 0.27, 17, 3, 0.02, 17, 0, -0.06, 18, -1, -0.08, 20, 0, -0.06, 20, -2, -0.02, 20, 0, 0.01, 20, 0, 0.02, 20, 0, 0.03, 19, 1, 0.05, 20, 0, 0.06, 20, 2, 0.07, 20, 1, 0.08, 19, 2, 0.08, 20, 3, 0.09, 19, 2, 0.1, 19, 0, -0.01, 17, -3, -0.26, 14, -8, -0.28, 15, -9, -0.24, 15, -11, -0.19, 15, -8, -0.13, 15, -8, -0.1, 15, -8, -0.08, 15, -7, -0.05, 15, -8, -0.04, 15, -7, -0.05, 14, -8, -0.07, 15, -8, -0.1, 14, -7, -0.1, 15, -7, -0.08, 15, -6, -0.06, 15, -6, -0.04, 14, -6, -0.02, 15, -5, 0, 14, -5, 0.01, 15, -5, 0.03, 14, -4, 0.04, 15, -4, 0.06, 14, -4, 0.07, 14, -3, 0.08, 14, -3, 0.09, 15, -2, 0.1, 14, -3, 0.11, 14, -2, 0.12, 14, -1, 0.13, 14, -1, 0.14, 14, -1, 0.15, 13, -1, 0.15, 14, 0, 0.16, 14, 0, 0.17, 14, 1, 0.17, 13, 0, 0.18, 14, 2, 0.18, 14, 1, 0.18, 13, 2, 0.16, 13, 2, 0.14, 14, 2, 0.1, 13, 3, 0.07, 13, 3, 0.04, 13, 3, 0.01, 13, 4, -0.01, 14, 4, -0.04, 13, 4, -0.06, 13, 5, -0.08, 13, 5, -0.1, 13, 5, -0.12, 12, 6, -0.14, 13, 6, -0.15, 13, 6, -0.17, 13, 6, -0.18, 13, 7, -0.19)); AddData(new Array(12, 7, -0.21, 13, 8, -0.22, 13, 8, -0.23, 9, 0, -0.42, 8, -5, -0.45, 7, -6, -0.48, 7, -7, -0.53, 6, -8, -0.56, 8, -6, -0.6, 8, -6, -0.62, 9, -6, -0.65, 8, -6, -0.67, 8, -5, -0.69, 8, -5, -0.71, 8, -4, -0.73, 8, -5, -0.75, 8, -3, -0.76, 8, -4, -0.78, 8, -3, -0.79, 8, -4, -0.77, 8, -3, -0.74, 8, -4, -0.72, 7, -3, -0.69, 9, -3, -0.66, 8, -3, -0.62, 8, -4, -0.58, 9, -3, -0.54, 9, -4, -0.47, 9, -5, -0.46, 8, -5, -0.49, 8, -5, -0.49, 8, -5, -0.5, 9, -5, -0.5, 9, -5, -0.49, 9, -5, -0.48, 9, -5, -0.46, 9, -5, -0.43, 10, -4, -0.4, 11, -5, -0.37, 10, -5, -0.35, 11, -4, -0.33, 10, -4, -0.3, 10, -3, -0.28, 11, -3, -0.26, 10, -3, -0.25, 11, -2, -0.23, 10, -2, -0.21, 10, -2, -0.2, 10, -2, -0.19, 10, -2, -0.22, 10, -2, -0.28, 10, -4, -0.32, 10, -4, -0.31, 10, -5, -0.3, 11, -4, -0.25, 10, -5, -0.21, 11, -4, -0.19, 11, -4, -0.16, 11, -3, -0.14, 10, -4, -0.11, 11, -3, -0.09, 11, -2, -0.07, 10, -2, -0.05, 11, -2, -0.03, 10, -2, -0.02, 10, -1, 0, 11, -1, 0.01, 10, 0, 0.03, 10, 0, 0.04, 11, 0, 0.05, 10, 0, 0.06, 10, 1, 0.07, 10, 0, 0.04, 10, 1, 0, 11, 0, -0.01, 10, -1, -0.01, 12, -1, -0.01, 11, 0, -0.01, 12, -1, -0.01, 11, 0, -0.01, 13, -1, -0.01, 12, 0, -0.01, 13, -1, -0.01, 13, -1, -0.01, 13, 0, -0.01, 14, -1, -0.01, 14, -1, -0.01, 14, 0, -0.01, 15, -1, -0.01, 14, -1, -0.01, 16, -1, -0.01, 15, 0, -0.01, 16, -1, -0.01, 15, -1, -0.01, 17, -1, -0.01, 16, 0, -0.01, 17, -1, 0, 17, -1, 0.01, 18, 0, 0.03, 18, 0, 0.05, 18, 0, 0.06, 17, 1, 0.08, 18, 0, 0.07, 18, 1, 0.05, 19, 0, 0.06, 19, 1, 0.09, 19, 1, 0.09, 19, 1, 0.1, 19, 2, 0.11, 20, 2, 0.12, 19, 2, 0.13, 18, 3, 0.14, 20, 2, 0.14, 19, 1, 0.12, 19, 1, 0.12, 20, 2, 0.12, 21, 2, 0.12, 20, 1, 0.12, 21, 2, 0.12, 21, 2, 0.12, 22, 1, 0.12, 21, 2, 0.12, 21, 2, 0.12, 22, 1, 0.12, 21, 2, 0.12, 22, 2, 0.12, 21, 2, 0.12, 21, 1, 0.12, 22, 2, 0.12, 21, 2, 0.12, 21, 1, 0.12, 22, 2, 0.12, 21, 2, 0.12, 22, 2, 0.12, 21, 1, 0.13, 21, 2, 0.13, 22, 2, 0.16, 22, 2, 0.19, 21, 2, 0.22, 20, 3, 0.25, 21, 3, 0.28, 21, 3, 0.3, 21, 3, 0.32, 20, 4, 0.34, 21, 4, 0.36, 20, 5, 0.38, 21, 5, 0.39, 20, 5, 0.41, 20, 5, 0.42, 20, 6, 0.44, 20, 6, 0.45, 20, 6, 0.46, 20, 7, 0.47, 20, 7, 0.48, 20, 7, 0.49, 20, 7, 0.47, 20, 7, 0.42, 21, 6, 0.34, 20, 6, 0.27, 20, 5, 0.28, 21, 6, 0.32, 21, 5, 0.33, 21, 7, 0.34, 20, 6, 0.35, 20, 7, 0.36, 20, 7, 0.37, 21, 6, 0.34, 21, 7, 0.35, 20, 6, 0.35, 21, 7, 0.35, 21, 6, 0.35, 21, 6, 0.33, 20, 6, 0.3, 21, 5, 0.3, 22, 6, 0.3, 21, 5, 0.3, 21, 6, 0.29, 21, 5, 0.29, 21, 5, 0.28, 21, 4, 0.22, 21, 4, 0.16, 21, 3, 0.17, 22, 2, 0.19, 21, 4, 0.18, 22, 3, 0.18, 21, 3, 0.18, 22, 3, 0.18, 21, 3, 0.18, 22, 3, 0.18, 21, 3, 0.18, 22, 3, 0.18, 21, 3, 0.18, 22, 2, 0.15, 21, 2, 0.1, 22, 1, 0.12, 21, 1, 0.12, 22, 2, 0.12, 22, 2, 0.11, 22, 1, 0.11, 21, 2, 0.11, 22, 1, 0.11, 22, 2, 0.11, 22, 1, 0.11, 22, 2, 0.11, 22, 1, 0.11, 22, 2, 0.11, 22, 1, 0.11, 21, 2, 0.11, 22, 1, 0.11, 22, 1, 0.1, 22, 1, 0.06, 21, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 21, 1, 0.06, 23, 0, 0.06, 22, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 0, 0.04, 22, 0, 0.02, 22, 0, 0.02, 22, 0, 0.03, 22, 0, 0.03, 23, -1, 0.03, 22, 0, 0.03, 22, -1, 0.02, 22, -1, -0.03, 21, -3, -0.07, 22, -4, -0.1, 21, -4, -0.19, 20, -6, -0.28, 20, -7, -0.34, 20, -9, -0.34, 21, -8, -0.33, 20, -8, -0.32, 21, -8, -0.32, 21, -7, -0.31, 21, -8, -0.3, 20, -6, -0.3, 21, -7, -0.29, 20, -6, -0.29, 21, -6, -0.29, 20, -5, -0.28, 20, -5, -0.28, 21, -5, -0.27, 20, -4, -0.27, 20, -4, -0.27, 20, -4, -0.27, 20, -3, -0.26, 20, -3, -0.26, 19, -2, -0.26, 20, -3, -0.26, 20, -2, -0.25, 19, -1, -0.25, 20, -1, -0.25, 19, -1, -0.25, 20, -1, -0.25, 19, 0, -0.25, 19, 0, -0.24, 20, 0, -0.24, 19, 1, -0.24, 19, 1, -0.24, 19, 2, -0.24, 19, 1, -0.24, 19, 3, -0.24, 18, 2, -0.24, 18, 1, -0.13, 20, -2, 0, 20, -3, 0.09, 18, -3, 0.13, 20, -1, 0.18, 19, -1, 0.21, 19, -1, 0.25, 19, -1, 0.29, 19, 0, 0.32, 19, 1, 0.35, 19, 0, 0.38, 19, 1, 0.4, 19, 1, 0.42, 19, 1, 0.42, 19, 1, 0.41, 19, 1, 0.39, 20, 2, 0.34, 20, 0, 0.26, 19, 0, 0.17, 20, 2, 0.12, 20, 2, 0.06, 20, 2, 0.01, 19, 3, -0.04, 20, 3, -0.08, 19, 3, -0.13, 19, 3, -0.16, 19, 3, -0.12, 20, 1, -0.05, 21, 0, -0.02, 20, -1, 0.02, 21, -3, 0.05, 20, -2, 0, 20, -1, -0.02, 21, -3, -0.08, 21, -3, -0.15, 20, -5, -0.18, 22, -5, -0.16, 21, -5, -0.22, 19, -8, -0.36, 17, -11, -0.34, 18, -12, -0.33, 17, -13, -0.33, 19, -12, -0.28, 19, -11, -0.26, 18, -11, -0.24, 19, -10, -0.23, 19, -10, -0.22, 18, -10, -0.21, 18, -10, -0.19, 19, -9, -0.18, 18, -8, -0.17, 18, -9, -0.16, 18, -8, -0.15, 18, -7, -0.15, 18, -8, -0.14, 18, -6, -0.13, 18, -7, -0.12, 18, -6, -0.12, 18, -6, -0.11, 18, -5, -0.11, 17, -6, -0.1, 18, -4, -0.1, 17, -5, -0.09, 18, -4, -0.09, 17, -4, -0.08, 18, -3, -0.08, 17, -3, -0.08, 17, -3, -0.07, 17, -2, -0.07, 17, -2, -0.07, 18, -2, -0.06, 17, -1, -0.06, 16, -1, -0.06, 17, -1, -0.06, 17, 0, -0.05, 17, 0, -0.05, 17, 0, -0.05, 16, 1, -0.05, 17, 1, -0.05, 16, 1, -0.05, 17, 2, -0.04, 16, 2, -0.04, 17, 2, -0.04, 16, 3, -0.04, 16, 3, -0.04, 17, 3, -0.04, 16, 3, -0.04, 16, 4, -0.04, 16, 5, -0.04, 16, 4, -0.04, 16, 5, -0.04, 16, 5, -0.03, 16, 6, -0.03, 16, 3, 0, 18, 1, 0.02, 17, -1, 0.04, 18, -1, 0.06, 18, -2, 0.07, 18, -1, 0.04, 19, -1, 0.03, 19, 0, 0.03, 18, 0, 0.02, 19, 1, 0.01, 19, 0, 0.02, 19, 1, 0.05, 19, 0, 0.06, 20, 0, 0.06, 20, 1, 0.07, 20, 0, 0.06, 20, 1, 0.06, 21, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 21, 0, 0.06, 21, 1, 0.06, 22, 0, 0.06, 22, 1, 0.06, 23, 0, 0.06, 22, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 24, 1, 0.06, 24, 0, 0.06, 23, 2, 0.09, 23, -1, 0.07, 24, 1, 0.08, 24, 1, 0.07, 23, 2, 0.07, 24, 1, 0.08, 24, 1, 0.09, 24, 1, 0.08, 24, 1, 0.08, 24, 1, 0.08, 24, 1, 0.08, 24, 1, 0.08, 24, 1, 0.08, 24, 1, 0.08, 24, 0, 0.08, 24, 1, 0.07, 24, 1, 0.07, 24, 1, 0.07, 24, 1, 0.08, 24, 1, 0.08, 24, 1, 0.1, 24, 1, 0.11, 24, 2, 0.12, 24, 3, 0.12, 24, 2, 0.13, 23, 3, 0.14, 24, 3, 0.14, 23, 4, 0.15, 23, 3, 0.15, 23, 4, 0.16, 24, 5, 0.16, 23, 5, 0.17, 23, 5, 0.17, 23, 5, 0.18, 22, 6, 0.18, 23, 6, 0.18, 23, 6, 0.19, 22, 7, 0.19, 23, 7, 0.19, 22, 7, 0.19, 23, 8, 0.2, 22, 8, 0.2, 22, 8, 0.2, 22, 8, 0.2, 22, 9, 0.21, 22, 9, 0.21, 22, 10, 0.21, 22, 9, 0.21, 22, 10, 0.21, 22, 11, 0.21, 21, 10, 0.21, 22, 11, 0.22, 21, 11, 0.22, 22, 12, 0.22, 21, 11, 0.22, 21, 12, 0.22, 21, 12, 0.17, 21, 4, 0.13, 22, 0, 0.11, 22, 1, 0.08, 23, -1, 0.06, 24, -1, 0.09, 23, 1, 0.08, 24, 0, 0.08, 24, 2, 0.08, 23, 1, 0.08, 24, 2, 0.07, 23, 2, 0.08, 24, 1, 0.08, 23, -1, 0.07, 24, 0, 0.06, 24, 1, 0.05, 24, 0, 0.06, 24, 1, 0.07, 24, 0, 0.05, 24, 0, 0.06, 23, 1, 0.08, 23, 1, 0.09, 24, -1, 0.05, 24, 0, 0.05, 25, 1, 0.06, 23, 0, 0.08, 24, -1, 0.04, 24, 1, 0.04, 24, 0, 0.04, 24, 0, 0.09, 24, -1, 0.05, 24, 1, 0.06, 22, 0, 0.04, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 25, -1, 0.03, 25, 0, 0.01, 25, -1, 0.04, 25, 0, 0.05, 25, 0, 0.07)); AddData(new Array(24, 0, 0.08, 25, 1, 0.1, 24, 0, 0.07, 25, 0, 0.05, 25, 1, 0.04, 25, 0, 0.05, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, -1, 0.04, 25, 0, 0.02, 25, 0, 0.02, 25, -1, 0.02, 26, -1, 0.02, 25, 0, 0.02, 25, -1, 0.02, 25, -1, 0.02, 26, 0, 0.02, 25, -1, 0.02, 25, -1, -0.02, 25, -3, -0.09, 24, -3, -0.11, 25, -4, -0.09, 24, -4, -0.1, 26, -3, -0.09, 24, -4, -0.04, 25, -3, -0.09, 25, -3, -0.09, 25, -4, -0.09, 25, -3, -0.09, 25, -4, -0.11, 25, -5, -0.15, 24, -5, -0.2, 25, -6, -0.19, 25, -6, -0.19, 25, -6, -0.19, 25, -6, -0.19, 25, -7, -0.24, 24, -8, -0.32, 23, -9, -0.34, 23, -10, -0.36, 23, -11, -0.35, 23, -10, -0.34, 23, -10, -0.35, 24, -9, -0.35, 24, -11, -0.38, 23, -11, -0.41, 23, -11, -0.38, 22, -11, -0.4, 24, -11, -0.4, 23, -11, -0.41, 23, -11, -0.41, 24, -11, -0.4, 23, -10, -0.39, 23, -10, -0.39, 23, -10, -0.38, 23, -9, -0.38, 23, -9, -0.37, 23, -8, -0.36, 23, -8, -0.33, 23, -8, -0.3, 23, -7, -0.27, 23, -8, -0.24, 22, -6, -0.22, 23, -7, -0.19, 23, -5, -0.17, 22, -6, -0.14, 22, -5, -0.12, 22, -5, -0.1, 23, -5, -0.09, 22, -4, -0.07, 22, -4, -0.05, 22, -3, -0.04, 21, -4, -0.03, 22, -2, -0.01, 22, -3, 0, 22, -2, 0.01, 21, -2, 0.02, 22, -1, 0.03, 21, -2, 0.04, 21, 0, 0.05, 22, -1, 0.06, 21, 0, 0.07, 21, 0, 0.07, 21, 1, 0.08, 21, 1, 0.09, 21, 1, 0.09, 21, 1, 0.1, 20, 2, 0.1, 21, 2, 0.11, 21, 3, 0.11, 20, 3, 0.12, 21, 3, 0.12, 20, 3, 0.12, 20, 4, 0.13, 20, 4, 0.13, 21, 5, 0.13, 20, 4, 0.14, 20, 5, 0.14, 20, 6, 0.14, 20, 5, 0.14, 20, 6, 0.15, 19, 7, 0.15, 20, 6, 0.15, 20, 7, 0.15, 19, 8, 0.15, 20, 7, 0.15, 19, 8, 0.16, 20, 8, 0.16, 19, 9, 0.16, 19, 8, 0.16, 19, 10, 0.16, 20, 9, 0.16, 19, 6, 0.15, 21, 2, 0.11, 21, 0, 0.11, 21, -1, 0.11, 22, -1, 0.1, 22, 1, 0.1, 22, 1, 0.1, 22, 1, 0.09, 22, 2, 0.09, 22, 2, 0.08, 22, 2, 0.09, 23, 2, 0.12, 22, 2, 0.15, 22, 2, 0.17, 22, 3, 0.19, 22, 4, 0.21, 22, 3, 0.23, 22, 4, 0.25, 22, 4, 0.26, 22, 5, 0.28, 21, 4, 0.29, 22, 6, 0.31, 21, 5, 0.32, 22, 6, 0.33, 21, 6, 0.34, 21, 6, 0.35, 21, 7, 0.36, 22, 7, 0.37, 21, 7, 0.38, 21, 8, 0.39, 20, 8, 0.4, 21, 8, 0.38, 20, 2, 0.16, 20, 0, 0.02, 20, -2, -0.05, 21, -3, -0.12, 20, -4, -0.17, 21, -7, -0.17, 20, -8, -0.19, 20, -8, -0.32, 18, -8, -0.46, 18, -9, -0.57, 19, -9, -0.56, 19, -10, -0.54, 20, -11, -0.47, 19, -10, -0.44, 20, -9, -0.39, 20, -10, -0.33, 20, -9, -0.27, 20, -8, -0.21, 19, -9, -0.16, 20, -8, -0.11, 19, -7, -0.06, 20, -7, -0.01, 19, -7, 0.03, 20, -7, 0.07, 19, -6, 0.1, 19, -5, 0.14, 19, -6, 0.17, 19, -5, 0.2, 19, -4, 0.23, 19, -5, 0.25, 18, -4, 0.28, 19, -3, 0.3, 19, -4, 0.32, 18, -3, 0.34, 19, -2, 0.36, 18, -3, 0.38, 19, -2, 0.4, 18, -1, 0.41, 18, -1, 0.43, 18, -1, 0.44, 19, -1, 0.45, 18, 0, 0.46, 18, 0, 0.48, 17, 0, 0.49, 18, 1, 0.5, 18, 1, 0.5, 18, 1, 0.51, 18, 2, 0.52, 17, 2, 0.53, 18, 3, 0.54, 17, 2, 0.54, 18, 3, 0.55, 17, 3, 0.55, 17, 4, 0.56, 18, 4, 0.56, 17, 4, 0.57, 17, 5, 0.57, 17, 5, 0.57, 17, 5, 0.55, 17, 5, 0.52, 17, 6, 0.5, 16, 6, 0.48, 17, 7, 0.46, 17, 6, 0.44, 16, 7, 0.42, 17, 8, 0.4, 16, 7, 0.39, 17, 6, 0.26, 16, 2, 0.03, 16, -1, -0.05, 17, -2, -0.09, 19, -2, -0.03, 19, -2, 0.05, 18, -2, 0.09, 19, -1, 0.13, 18, 0, 0.18, 19, -1, 0.22, 18, 0, 0.25, 19, 0, 0.29, 18, 1, 0.32, 18, 0, 0.35, 19, 2, 0.38, 18, 1, 0.41, 18, 2, 0.43, 18, 2, 0.46, 17, 3, 0.48, 18, 2, 0.5, 18, 3, 0.51, 18, 3, 0.5, 18, 3, 0.5, 18, 4, 0.49, 18, 4, 0.48, 18, 4, 0.48, 18, 5, 0.47, 18, 5, 0.46, 18, 5, 0.46, 18, 5, 0.45, 18, 6, 0.45, 17, 6, 0.44, 18, 7, 0.43, 18, 5, 0.37, 18, 4, 0.23, 17, 1, 0.14, 19, 0, 0.08, 19, 0, 0.09, 20, 1, 0.1, 20, 1, 0.1, 19, 1, 0.1, 20, 2, 0.1, 20, 1, 0.08, 20, 1, 0.05, 20, -1, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 1, 0.04, 21, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 21, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 23, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 27, 0, 0.04, 26, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 29, 0, 0.04, 28, 0, 0.04, 29, 0, 0.04, 29, 0, 0.04, 29, 0, 0.04, 29, 0, 0.04, 30, 0, 0.04, 30, 0, 0.04, 30, 0, 0.04, 30, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 30, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 32, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 32, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 32, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 31, 0, 0.04, 32, 0, 0.04, 31, 0, 0.05, 29, 0, 0.06, 30, 0, 0.05, 30, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 32, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 32, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 32, 0, 0.05, 31, 0, 0.05, 31, 0, 0.05, 31, 0, 0.05, 31, 0, 0.05, 31, 0, 0.05, 31, 0, 0.05, 30, 0, 0.05, 31, 0, 0.05, 30, 0, 0.05, 30, 0, 0.05, 31, 0, 0.05, 30, 0, 0.05, 30, 0, 0.05, 30, 0, 0.05, 30, 0, 0.05, 29, 0, 0.05, 30, 0, 0.05, 29, 0, 0.05, 30, 0, 0.05, 29, 0, 0.05, 29, 0, 0.05, 29, 0, 0.05, 29, 0, 0.05, 29, 0, 0.05, 29, 0, 0.05, 29, 0, 0.05, 28, 0, 0.05, 29, 0, 0.05, 28, 0, 0.05, 29, 0, 0.05, 28, 0, 0.05, 28, 0, 0.05)); StopData(); StartData(9); AddData(new Array(1743, 1518, 0.05, 0, 0, 0.05, 1, 0, 0.05, 2, 0, 0.05, 1, 0, 0.05, 2, 0, 0.05, 2, 0, 0.05, 3, 0, 0.05, 3, 0, 0.05, 3, 0, 0.05, 4, 0, 0.05, 4, 0, 0.05, 4, 0, 0.05, 5, 0, 0.05, 5, 0, 0.05, 5, 0, 0.05, 6, 0, 0.05, 6, 0, 0.05, 6, 0, 0.05, 6, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 9, 0, 0.05, 9, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 9, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 18, 0, 0.05, 17, 0, 0.05, 19, 0, 0.05, 18, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.06, 20, -1, 0.04, 20, 1, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, -1, 0.03, 20, -1, -0.02, 19, -2, -0.09, 20, -1, -0.1, 20, -1, -0.12, 20, 0, -0.13, 21, -1, -0.14, 20, 0, -0.14, 21, -1, -0.13, 20, 0, -0.12, 21, -1, -0.07, 21, -1, -0.02, 19, -2, -0.04, 20, -3, -0.07, 20, -3, -0.1, 21, -3, -0.12, 20, -3, -0.1, 20, -3, -0.1, 21, -3, -0.11, 20, -3, -0.11, 21, -4, -0.11, 20, -3, -0.11, 20, -3, -0.11, 21, -3, -0.11, 21, -4, -0.11, 20, -3, -0.1, 21, -3, -0.09, 21, -2, -0.08, 21, -3, -0.06, 20, -2, -0.05, 21, -1, -0.04, 20, -2, -0.04, 20, -1, -0.03, 20, -1, -0.04, 20, -2, -0.07, 21, -1, -0.05, 21, -2, -0.04, 21, -2, -0.04, 21, -2, -0.04, 21, -2, -0.04, 22, -2, -0.03, 21, -1, -0.02, 21, -1, -0.01, 21, -1, 0, 21, -1, 0, 21, 0, 0.01, 21, 0, 0.02, 20, 1, 0.02, 21, -1, 0.03, 21, -1, 0.02, 22, 0, 0.03, 21, -1, 0.02, 21, -1, 0.01, 21, 0, 0.02, 22, -1, 0.09, 22, -2, 0.15, 21, 0, 0.2, 21, -1, 0.25, 21, 0, 0.3, 21, 0, 0.33, 21, 0, 0.34, 22, 0, 0.34, 22, 0, 0.33, 21, 1, 0.31, 22, 1, 0.28, 22, 0, 0.23, 21, 0, 0.15, 21, -1, 0.05, 20, -1, -0.07, 20, 1, -0.14, 21, 1, -0.2, 20, 1, -0.24, 21, 0, -0.24, 21, 0, -0.23, 21, 1, -0.22, 22, 1, -0.22, 22, 1, -0.21, 22, 0, -0.19, 22, 2, -0.17, 22, 0, -0.13, 22, 0, -0.06, 22, 0, 0.02, 21, 1, 0.07, 21, 1, 0.11, 21, 2, 0.16, 21, 2, 0.2, 21, 2, 0.24, 20, 2, 0.28, 21, 3, 0.32, 21, 3, 0.35, 20, 3, 0.38, 21, 4, 0.41, 20, 4, 0.44, 20, 4, 0.46, 21, 5, 0.47, 20, 4, 0.45, 20, 2, 0.36, 21, 2, 0.25, 21, 1, 0.1, 20, -1, 0.05, 21, 0, 0.04, 22, -2, 0.06, 21, 1, 0.02, 21, 0, 0.02, 21, 0, 0.03, 22, 0, 0.04, 21, 0, 0.03, 22, 0, 0.03, 21, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 21, -4, -0.09, 19, -5, -0.28, 18, -7, -0.34, 19, -7, -0.35, 20, -8, -0.31, 21, -8, -0.25, 19, -6, -0.26, 19, -6, -0.26, 20, -5, -0.26, 19, -5, -0.25, 19, -5, -0.25, 20, -5, -0.25, 19, -4, -0.25, 19, -3, -0.24, 19, -4, -0.24, 19, -3, -0.24, 19, -3, -0.24, 18, -2, -0.24, 19, -2, -0.24, 19, -2, -0.23, 19, -1, -0.23, 18, -1, -0.23, 19, -1, -0.23, 18, 0, -0.23, 18, 0, -0.23, 19, 0, -0.23, 18, 1, -0.23, 18, 1, -0.23, 18, 1, -0.22, 18, 2, -0.22, 18, 1, -0.22, 18, 3, -0.22, 18, 2, -0.22, 18, 3, -0.22, 18, 4, -0.22, 18, 3, -0.22, 17, 4, -0.22, 18, 4, -0.22, 17, 5, -0.22, 18, 5, -0.22, 17, 5, -0.22, 18, 5, -0.22, 17, 6, -0.22, 17, 6, -0.22, 17, 7, -0.22, 17, 6, -0.22, 17, 7, -0.22, 17, 8, -0.22, 17, 7, -0.22, 17, 8, -0.22, 17, 9, -0.22, 17, 7, -0.17, 18, 4, 0.02, 19, 1, 0.08, 18, -1, 0.12, 19, -1, 0.12, 18, -2, 0.08, 19, -1, 0.04, 19, 0, 0.02, 19, 0, 0.01, 20, 0, 0.01, 21, 0, 0.02, 20, 0, 0.03, 21, 1, 0.05, 21, 0, 0.04, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, -1, 0.04, 22, 0, 0.02, 22, -1, 0.03, 22, -2, 0.08, 22, -2, 0.11, 22, -1, 0.13, 22, -1, 0.14, 22, -1, 0.13, 22, -1, 0.12, 22, 0, 0.11, 22, 0, 0.08, 22, -1, 0.05, 22, 0, 0.01, 22, 0, 0, 22, -1, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, -1, -0.02, 21, -2, -0.05, 22, -2, -0.03, 22, -2, -0.04, 22, -2, -0.04, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 21, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -3, -0.05, 22, -2, -0.05, 22, -2, -0.05, 22, -1, -0.04, 22, -2, -0.02, 22, -2, 0.02, 22, -1, 0.05, 22, -2, 0.08, 21, 0, 0.1, 22, -1, 0.12, 21, -1, 0.11, 22, -1, 0.1, 22, 0, 0.08, 22, 0, 0.06, 22, -1, 0.03, 22, 0, -0.01, 22, -1, 0, 22, -1, 0.01, 22, -1, 0.01, 22, 0, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, -1, 0.01, 22, -1, 0.02, 22, 0, 0.03, 22, 0, 0.04, 22, 0, 0.05, 21, 0, 0.06, 22, 1, 0.07, 21, 1, 0.08, 22, 2, 0.07, 21, 0, 0.06, 22, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 1, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.07, 23, 1, 0.08, 22, 0, 0.1, 22, 2, 0.11, 21, 1, 0.12, 22, 2, 0.13, 21, 2, 0.14, 22, 3, 0.14, 21, 3, 0.15, 21, 3, 0.16, 21, 3, 0.15, 22, 1, 0.15, 22, 2, 0.15, 22, 3, 0.15, 21, 2, 0.15, 22, 3, 0.15, 21, 3, 0.16, 21, 4, 0.16, 21, 4, 0.16, 22, 4, 0.18, 22, 3, 0.19, 22, 3, 0.18, 22, 4, 0.19, 21, 3, 0.19, 22, 3, 0.19, 22, 4, 0.2, 22, 3, 0.2, 22, 4, 0.22, 22, 4, 0.23, 21, 4, 0.24, 21, 4, 0.25, 21, 5, 0.26, 21, 5, 0.27, 21, 6, 0.28, 21, 6, 0.28, 21, 6, 0.29, 21, 6, 0.29, 20, 7, 0.3, 21, 7, 0.3, 20, 7, 0.31, 21, 8, 0.31, 21, 6, 0.32, 21, 5, 0.31, 21, 5, 0.29, 22, 5, 0.29, 21, 5, 0.29, 22, 6, 0.29, 21, 5, 0.29, 22, 4, 0.24, 21, 3, 0.17, 21, 3, 0.12, 22, 1, 0.11, 22, 2, 0.14, 22, 2, 0.13, 21, 2, 0.13, 22, 2, 0.14, 22, 2, 0.14, 23, 2, 0.14, 22, 1, 0.12, 22, 1, 0.08, 21, 2, 0.07, 23, 0, 0.07, 22, 1, 0.07, 23, 1, 0.07, 22, 0, 0.07, 23, 1, 0.07, 22, 1, 0.07, 23, 0, 0.06, 22, -1, 0.01, 22, 0, -0.03, 23, -1, -0.02, 22, 0, -0.01, 23, -1, 0, 22, 0, 0.01, 23, -1, 0.01, 23, -1, 0.01, 22, 0, 0.01, 23, -1, 0.01, 23, -1, 0.01, 22, -1, 0.01, 23, -1, -0.03, 22, -3, -0.08, 22, -2, -0.09, 23, -3, -0.08)); AddData(new Array(22, -3, -0.08, 23, -2, -0.08, 22, -3, -0.08, 23, -3, -0.08, 22, -3, -0.08, 23, -3, -0.08, 22, -2, -0.08, 23, -3, -0.08, 23, -3, -0.09, 22, -3, -0.1, 23, -4, -0.1, 22, -3, -0.1, 23, -3, -0.1, 23, -3, -0.1, 22, -4, -0.1, 23, -3, -0.1, 23, -3, -0.1, 22, -3, -0.1, 23, -4, -0.09, 23, -3, -0.09, 22, -3, -0.09, 23, -3, -0.09, 22, -3, -0.09, 23, -3, -0.09, 23, -3, -0.09, 22, -3, -0.09, 23, -4, -0.11, 22, -5, -0.17, 22, -5, -0.21, 19, -9, -0.32, 19, -11, -0.44, 18, -12, -0.45, 17, -14, -0.32, 18, -13, -0.17, 18, -12, -0.05, 17, -13, 0.07, 18, -11, 0.18, 17, -11, 0.28, 17, -11, 0.38, 18, -11, 0.47, 17, -10, 0.55, 17, -9, 0.63, 16, -10, 0.7, 17, -9, 0.77, 17, -8, 0.83, 17, -9, 0.89, 16, -8, 0.94, 17, -7, 1, 16, -7, 1.04, 16, -7, 1.09, 17, -7, 1.13, 16, -6, 1.16, 16, -6, 1.18, 16, -6, 1.18, 16, -5, 1.18, 16, -5, 1.16, 16, -5, 1.15, 16, -4, 1.14, 15, -4, 1.12, 16, -4, 1.11, 16, -3, 1.1, 15, -3, 1.09, 16, -3, 1.08, 16, -2, 1.07, 15, -2, 1.06, 15, -2, 1.06, 16, -1, 1.05, 15, -1, 1.04, 15, 0, 1.04, 16, 0, 1.03, 15, 0, 1.03, 15, 0, 1.02, 15, 1, 1.01, 15, 1, 1.01, 15, 1, 1.01, 15, 2, 1, 15, 2, 1, 15, 3, 0.99, 14, 2, 0.99, 15, 3, 0.99, 15, 4, 0.99, 14, 4, 0.98, 15, 4, 0.98, 15, 4, 0.98, 14, 5, 0.98, 14, 5, 0.97, 15, 5, 0.97, 14, 6, 0.97, 14, 5, 0.97, 15, 7, 0.97, 14, 6, 0.97, 14, 7, 0.96, 14, 7, 0.96, 14, 8, 0.96, 14, 8, 0.96, 14, 8, 0.95, 14, 8, 0.93, 14, 9, 0.9, 14, 8, 0.86, 13, 10, 0.82, 14, 9, 0.79, 14, 10, 0.76, 13, 10, 0.73, 14, 10, 0.7, 10, 12, 0.76, 11, -3, 0.24, 10, -1, -0.1, 9, -3, -0.22, 10, -6, -0.27, 10, -5, -0.31, 11, -4, -0.33, 10, -4, -0.33, 11, -4, -0.32, 12, -4, -0.32, 11, -4, -0.31, 12, -3, -0.31, 11, -3, -0.3, 11, -2, -0.3, 11, -2, -0.29, 12, -2, -0.29, 11, -2, -0.28, 11, -1, -0.28, 11, -1, -0.28, 11, 0, -0.28, 11, -1, -0.27, 11, 1, -0.27, 11, 0, -0.25, 11, -1, -0.19, 12, -1, -0.12, 12, 0, -0.08, 12, -2, -0.09, 11, -2, -0.11, 12, -2, -0.11, 13, -2, -0.11, 13, -2, -0.1, 13, -1, -0.09, 14, -2, -0.07, 13, -1, -0.06, 14, 0, -0.04, 13, -1, -0.03, 14, 0, -0.01, 14, 0, 0.03, 13, 0, 0.07, 14, 0, 0.1, 14, 0, 0.1, 13, 0, 0.09, 14, 0, 0.07, 15, 1, 0.05, 14, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.05, 19, 0, 0.05, 18, 0, 0.07, 20, 1, 0.09, 19, 1, 0.11, 20, 1, 0.12, 19, 2, 0.14, 19, 2, 0.15, 20, 2, 0.16, 19, 3, 0.18, 19, 3, 0.19, 19, 3, 0.2, 19, 4, 0.21, 19, 4, 0.22, 19, 4, 0.23, 18, 4, 0.24, 19, 5, 0.24, 19, 5, 0.25, 18, 6, 0.26, 20, 5, 0.22, 19, 3, 0.23, 19, 2, 0.23, 20, 1, 0.19, 20, 2, 0.16, 20, 2, 0.15, 21, 3, 0.15, 22, 3, 0.15, 21, 3, 0.16, 22, 3, 0.18, 22, 3, 0.17, 23, 2, 0.17, 22, 3, 0.17, 23, 3, 0.18, 23, 3, 0.18, 23, 3, 0.18, 22, 3, 0.18, 23, 3, 0.18, 23, 3, 0.18, 22, 3, 0.18, 23, 3, 0.18, 23, 3, 0.18, 23, 3, 0.18, 22, 4, 0.19, 23, 2, 0.26, 23, 3, 0.33, 23, 3, 0.39, 22, 2, 0.4, 23, 2, 0.37, 22, 1, 0.32, 22, 1, 0.25, 22, 1, 0.15, 22, 0, 0.04, 22, 1, 0, 21, 0, 0.01, 23, -2, 0, 23, -1, 0.02, 22, -1, -0.02, 23, -1, -0.05, 22, -2, -0.04, 23, -1, -0.03, 23, -3, -0.07, 22, -3, -0.14, 22, -6, -0.16, 22, -6, -0.17, 21, -7, -0.19, 22, -5, -0.14, 22, -5, -0.12, 22, -5, -0.1, 22, -5, -0.08, 22, -4, -0.06, 22, -4, -0.06, 21, -4, -0.09, 21, -5, -0.13, 22, -4, -0.16, 21, -3, -0.17, 22, -4, -0.17, 21, -3, -0.15, 22, -3, -0.13, 22, -3, -0.1, 22, -2, -0.07, 23, -2, -0.04, 22, -2, -0.02, 22, -2, 0.01, 22, -1, 0.03, 22, 0, 0.05, 22, -1, 0.07, 22, 0, 0.09, 22, 0, 0.1, 21, 1, 0.12, 22, 0, 0.14, 21, 2, 0.15, 22, 1, 0.16, 21, 2, 0.17, 21, 2, 0.19, 22, 3, 0.2, 21, 2, 0.21, 21, 4, 0.22, 21, 3, 0.23, 21, 4, 0.23, 21, 4, 0.24, 20, 4, 0.25, 21, 5, 0.26, 21, 5, 0.26, 20, 5, 0.27, 21, 6, 0.26, 20, 6, 0.25, 20, 6, 0.22, 21, 7, 0.2, 20, 7, 0.18, 20, 7, 0.16, 20, 7, 0.14, 20, 4, 0.11, 20, 0, 0.08, 21, 0, 0.07, 22, -2, 0.07, 21, -2, 0.07, 22, 0, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.05, 22, 0, 0.04, 22, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, -1, 0.01, 22, -2, -0.04, 23, -1, -0.05, 23, -2, -0.03, 22, -1, -0.02, 22, -2, -0.03, 22, -2, -0.03, 23, -1, -0.03, 22, -2, -0.03, 23, -2, -0.03, 23, -2, -0.03, 23, -1, -0.02, 23, -1, 0, 23, -1, 0.01, 22, -1, 0.02, 23, 0, 0.03, 22, 0, 0.04, 22, 0, 0.05, 22, 0, 0.06, 22, 1, 0.03, 23, -1, 0.02, 23, 0, 0.03, 22, 0, 0.03, 23, -1, 0.03, 23, 0, 0.03, 23, 0, 0.03, 23, -1, 0.03, 23, 0, 0.03, 23, 0, 0.03, 23, -1, 0.03, 22, 0, 0.03, 23, -1, 0.01, 23, -2, -0.04, 22, -3, -0.1, 21, -5, -0.1, 22, -6, 0.01, 22, -6, 0.15, 22, -5, 0.26, 21, -5, 0.35, 21, -4, 0.44, 21, -3, 0.52, 21, -4, 0.6, 21, -3, 0.67, 21, -3, 0.74, 20, -2, 0.8, 21, -2, 0.86, 21, -2, 0.91, 20, -2, 0.96, 20, -1, 1.01, 20, 0, 1.05, 21, -1, 1.07, 20, 0, 1.08, 20, 0, 1.08, 20, 0, 1.07, 19, 1, 1.05, 20, 0, 1.02, 20, 2, 0.99, 19, 1, 0.96, 20, 2, 0.94, 19, 2, 0.92, 20, 3, 0.89, 19, 3, 0.87, 19, 3, 0.86, 20, 3, 0.84, 19, 4, 0.82, 19, 4, 0.8, 18, 2, 0.69, 18, -1, 0.5, 18, -2, 0.29, 18, -2, 0.08, 19, 0, -0.11, 18, 0, -0.22, 19, -2, -0.26, 20, -4, -0.25, 20, -3, -0.2, 21, -4, -0.14, 20, -3, -0.11, 22, -3, -0.08, 21, -3, -0.12, 20, -6, -0.25, 18, -8, -0.32, 19, -8, -0.37, 19, -10, -0.37, 20, -9, -0.36, 20, -8, -0.36, 20, -8, -0.36, 20, -8, -0.36, 20, -7, -0.36, 20, -8, -0.35, 20, -7, -0.33, 20, -9, -0.34, 21, -8, -0.33, 20, -8, -0.33, 21, -8, -0.33, 21, -8, -0.32, 21, -8, -0.31, 22, -7, -0.29, 21, -8, -0.26, 22, -6, -0.23, 21, -7, -0.19, 21, -6, -0.15, 21, -6, -0.11, 21, -5, -0.08, 21, -5, -0.04, 21, -5, -0.01, 21, -4, 0.01, 21, -4, 0.04, 20, -3, 0.07, 21, -4, 0.09, 20, -2, 0.11, 21, -3, 0.13, 20, -2, 0.15, 20, -2, 0.17, 21, -2, 0.18, 20, -1, 0.2, 20, -1, 0.21, 20, 0, 0.23, 20, -1, 0.24, 19, 1, 0.25, 20, 0, 0.26, 20, 1, 0.27, 19, 1, 0.28, 20, 1, 0.29, 19, 2, 0.3, 20, 2, 0.31, 19, 3, 0.32, 20, 2, 0.33, 19, 3, 0.33, 19, 4, 0.34, 19, 4, 0.34, 19, 4, 0.35, 19, 4, 0.35, 19, 5, 0.35, 19, 4, 0.33, 18, 6, 0.31, 19, 5, 0.28, 18, 6, 0.26, 19, 6, 0.24, 19, 5, 0.16, 18, 3, 0.09, 19, 2, 0.05, 19, 0, 0.03, 21, 1, 0.09, 21, 1, 0.16, 21, 2, 0.15, 21, 1, 0.15, 21, 2, 0.15, 22, 2, 0.14, 22, 2, 0.12, 22, 2, 0.12, 22, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 22, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 1, 0.12, 23, 2, 0.12, 22, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 1, 0.12, 22, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 1, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 2, 0.12, 22, 1, 0.12, 23, 2, 0.12, 23, 2, 0.12, 23, 1, 0.1, 23, 1, 0.06, 22, 1, 0.03, 23, 0, 0.05, 23, 1, 0.06, 23, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 1, 0.06, 23, 0, 0.06, 22, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 1, 0.06, 23, 0, 0.06, 23, 0, 0.05, 23, 0, 0.02, 22, -1, 0.03, 23, -2, 0.12, 22, -3, 0.14, 23, -2, 0.18, 23, -1, 0.2, 23, -1, 0.22, 22, -1, 0.24, 22, -1, 0.25, 23, -1, 0.23, 23, 0, 0.22, 22, 0, 0.19, 23, -1, 0.16, 23, 0, 0.12, 22, 0, 0.06, 23, 0, -0.02, 22, -1, -0.06, 22, -2, -0.05, 23, -2, -0.04)); AddData(new Array(23, -2, -0.04, 22, -1, -0.04, 23, -2, -0.04, 23, -2, -0.04, 23, -2, -0.04, 23, -2, -0.04, 22, -2, -0.04, 23, -2, -0.04, 23, -1, -0.04, 23, -2, -0.04, 23, -2, -0.04, 22, -2, -0.04, 23, -2, -0.05, 23, -2, -0.07, 22, -3, -0.06, 23, -3, -0.06, 22, -2, -0.07, 23, -3, -0.07, 23, -2, -0.07, 22, -3, -0.07, 23, -3, -0.07, 23, -2, -0.07, 23, -3, -0.07, 22, -2, -0.07, 23, -3, -0.07, 23, -3, -0.07, 22, -2, -0.07, 23, -4, -0.09, 22, -3, -0.11, 23, -3, -0.1, 22, -4, -0.1, 23, -3, -0.11, 22, -4, -0.11, 23, -3, -0.11, 23, -4, -0.11, 22, -3, -0.11, 23, -4, -0.11, 22, -3, -0.11, 23, -4, -0.11, 23, -3, -0.11, 22, -4, -0.11, 23, -3, -0.1, 22, -4, -0.09, 23, -3, -0.08, 23, -2, -0.06, 22, -3, -0.05, 23, -2, -0.04, 22, -1, -0.04, 22, -2, -0.04, 22, -2, -0.07, 23, -2, -0.05, 23, -2, -0.05, 22, -2, -0.05, 23, -2, -0.04, 23, -2, -0.02, 23, -1, -0.01, 22, -1, 0, 23, -1, 0.01, 22, 0, 0.02, 22, 0, 0.03, 23, 0, 0.04, 22, 0, 0.04, 22, 1, 0.05, 22, 2, 0.06, 22, 1, 0.06, 21, 2, 0.07, 22, 2, 0.07, 22, 3, 0.08, 21, 3, 0.1, 23, 2, 0.12, 22, 1, 0.1, 22, 2, 0.11, 23, 2, 0.12, 23, 2, 0.13, 23, 2, 0.15, 23, 2, 0.17, 23, 3, 0.18, 22, 3, 0.19, 23, 3, 0.18, 22, 3, 0.16, 23, 3, 0.18, 23, 3, 0.22, 23, 2, 0.28, 22, 3, 0.34, 23, 3, 0.39, 22, 3, 0.44, 22, 4, 0.48, 22, 4, 0.53, 22, 4, 0.56, 22, 4, 0.6, 21, 5, 0.63, 22, 6, 0.67, 21, 5, 0.69, 22, 6, 0.72, 21, 6, 0.75, 22, 7, 0.77, 21, 6, 0.79, 21, 7, 0.82, 21, 7, 0.83, 21, 4, 0.71, 22, 3, 0.6, 21, 3, 0.46, 21, 3, 0.32, 22, 3, 0.2, 21, 5, 0.1, 22, 2, 0.09, 22, 1, 0.06, 23, 1, 0.04, 24, -1, 0.07, 22, 1, 0.06, 22, 0, 0.06, 23, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 22, 0, 0.03, 23, -1, 0, 22, 0, 0.01, 23, -1, 0.01, 22, -2, 0, 23, 0, -0.01, 23, -1, 0, 22, -1, 0, 23, -1, 0, 22, -6, 0.03, 21, -7, 0, 21, -7, -0.02, 22, -6, -0.07, 21, -7, -0.14, 21, -7, -0.23, 20, -7, -0.31, 21, -6, -0.37, 21, -6, -0.42, 20, -5, -0.48, 21, -5, -0.52, 20, -4, -0.57, 21, -4, -0.61, 20, -4, -0.65, 21, -4, -0.69, 20, -3, -0.72, 20, -3, -0.76, 20, -2, -0.79, 20, -2, -0.81, 21, -2, -0.81, 20, -2, -0.81, 20, -1, -0.79, 20, -1, -0.78, 20, 0, -0.77, 20, 0, -0.76, 20, 0, -0.75, 19, 0, -0.74, 20, 1, -0.73, 20, 1, -0.72, 19, 2, -0.71, 20, 2, -0.7, 19, 2, -0.69, 19, 2, -0.69, 20, 3, -0.68, 19, 3, -0.67, 19, 4, -0.67, 19, 3, -0.66, 19, 4, -0.66, 19, 5, -0.65, 19, 4, -0.65, 19, 6, -0.64, 19, 5, -0.61, 19, 5, -0.58, 18, 6, -0.55, 19, 7, -0.52, 19, 6, -0.49, 18, 7, -0.47, 19, 7, -0.44, 18, 8, -0.42, 19, 8, -0.4, 18, 8, -0.38, 18, 8, -0.37, 18, 9, -0.35, 18, 9, -0.33, 18, 9, -0.32, 18, 10, -0.3, 18, 10, -0.29, 18, 10, -0.28, 18, 11, -0.27, 18, 11, -0.26, 17, 11, -0.25, 19, 8, -0.07, 20, 4, 0.07, 20, 1, 0.17, 21, 0, 0.21, 19, 0, 0.15, 20, -1, 0.08, 20, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 20, 1, 0.06, 21, 1, 0.06, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 1, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, -1, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, -1, 0.03, 23, 0, 0.03, 23, 0, 0.03, 23, -1, 0.03, 23, 0, 0.03, 23, -1, 0.03, 22, 0, 0.03, 23, -1, 0.03, 23, 0, 0.01, 23, -2, -0.03, 22, -2, -0.1, 22, -4, -0.11, 23, -3, -0.07, 21, -3, -0.09, 22, -3, -0.09, 22, -3, -0.09, 23, -3, -0.09, 23, -3, -0.08, 22, -2, -0.08, 23, -2, -0.08, 22, -1, -0.08, 22, -1, -0.07, 22, -1, -0.07, 22, 0, -0.07, 22, 0, -0.07, 22, 0, -0.07, 21, 0, -0.06, 22, 1, -0.06, 22, 2, -0.06, 21, 1, -0.05, 23, 1, -0.01, 22, 1, 0.02, 23, 2, 0.06, 23, 1, 0.11, 23, 2, 0.15, 23, 2, 0.18, 22, 3, 0.21, 23, 2, 0.23, 22, 2, 0.2, 22, 2, 0.15, 23, 2, 0.13, 22, 2, 0.12, 22, 1, 0.13, 23, 1, 0.12, 22, 2, 0.11, 23, 2, 0.1, 23, 1, 0.1, 22, 2, 0.11, 23, 1, 0.11, 23, 2, 0.11, 23, 1, 0.1, 23, 0, 0.06, 22, 1, 0.05, 23, -1, 0.06, 23, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 22, 0, 0.06, 23, 1, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 0, 0.06, 23, 0, 0.04, 23, 0, 0.03, 23, 0, 0.03, 23, 0, 0.03, 22, 0, 0.03, 23, -1, 0.03, 23, 0, 0.03, 23, 0, 0.03, 23, -1, 0.03, 23, 0, 0.03, 23, 0, 0.03, 23, -1, 0.02, 22, -1, -0.02, 23, -2, -0.05, 22, -2, -0.03, 23, -2, -0.03, 23, -2, -0.04, 23, -2, -0.03, 22, -2, -0.02, 23, -1, -0.02, 23, -2, -0.03, 23, -2, -0.03, 23, -1, -0.03, 22, -2, -0.03, 23, -1, -0.02, 23, -2, -0.01, 23, -1, 0, 23, -1, 0.02, 22, 0, 0.03, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.05, 22, 1, 0.06, 22, 1, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 23, 0, 0.07, 22, 1, 0.1, 22, 1, 0.09, 23, 1, 0.1, 23, 2, 0.11, 22, 1, 0.11, 23, 2, 0.09, 23, 0, 0.07, 22, 1, 0.08, 23, 0, 0.08, 23, 1, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 0, 0.04, 22, 0, 0.05, 22, 0, 0.02, 23, -1, 0.02, 23, 0, 0.02, 23, -1, 0.02, 23, 0, 0.02, 23, -1, 0.02, 22, -1, 0.01, 23, -1, -0.03, 23, -2, -0.05, 20, -6, -0.23, 20, -6, -0.41, 19, -7, -0.42, 20, -8, -0.38, 20, -9, -0.32, 21, -7, -0.29, 19, -7, -0.28, 20, -6, -0.26, 20, -6, -0.25, 20, -5, -0.24, 19, -5, -0.23, 20, -5, -0.21, 19, -5, -0.2, 19, -4, -0.2, 20, -4, -0.19, 19, -3, -0.18, 19, -3, -0.17, 19, -3, -0.16, 19, -2, -0.16, 19, -2, -0.15, 19, -2, -0.15, 19, -1, -0.14, 19, -1, -0.13, 18, -1, -0.13, 19, 0, -0.13, 19, 0, -0.12, 18, 0, -0.12, 19, 0, -0.11, 18, 1, -0.11, 18, 2, -0.11, 19, 1, -0.1, 18, 2, -0.1, 18, 3, -0.1, 18, 2, -0.1, 18, 3, -0.09, 18, 3, -0.09, 18, 4, -0.09, 18, 4, -0.09, 18, 4, -0.09, 17, 5, -0.08, 18, 4, -0.08, 18, 6, -0.08, 17, 5, -0.08, 18, 6, -0.08, 17, 6, -0.08, 17, 6, -0.08, 18, 7, -0.08, 17, 7, -0.07, 17, 7, -0.07, 17, 8, -0.07, 17, 8, -0.07, 17, 8, -0.07, 17, 9, -0.07, 17, 9, -0.07, 17, 9, -0.07, 17, 9, -0.07, 14, 2, -0.26, 13, -6, -0.28, 13, -7, -0.31, 13, -7, -0.33, 13, -8, -0.35, 13, -7, -0.4, 14, -6, -0.42, 14, -7, -0.43, 14, -7, -0.43, 15, -6, -0.43, 15, -7, -0.43, 15, -6, -0.42, 15, -5, -0.42, 14, -6, -0.42, 15, -5, -0.41, 15, -5, -0.41, 14, -4, -0.41, 15, -4, -0.41, 14, -4, -0.4, 15, -3, -0.4, 14, -3, -0.4, 15, -3, -0.39, 14, -3, -0.36, 15, -2, -0.34, 15, -3, -0.3, 15, -2, -0.26, 15, -2, -0.21, 15, -2, -0.17, 16, -1, -0.14, 15, -1, -0.1, 15, -1, -0.07, 15, 0, -0.04, 15, 0, -0.01, 15, 0, 0.01, 15, 1, 0.04, 15, 1, 0.06, 14, 0, 0.03, 15, 0, -0.03, 15, -2, -0.02, 15, -1, 0.01, 15, 0, 0.04, 15, 0, 0.06, 15, 0, 0.08, 15, 0, 0.1, 15, 1, 0.1, 15, 0, 0.07, 15, 0, 0.06, 15, 1, 0.03, 15, 0, 0.04, 15, -1, 0.02, 16, 0, 0, 16, -1, -0.01, 17, 0, -0.01, 17, 0, -0.02, 17, 1, -0.02, 16, 1, -0.03, 17, 1, -0.03, 17, 1, -0.03, 17, 2, -0.01, 17, 1, 0.02, 17, 2, 0.04, 17, 2, 0.06, 16, 3, 0.08, 17, 3, 0.1, 17, 3, 0.12, 17, 3, 0.14, 16, 4, 0.15, 17, 4, 0.17, 16, 5, 0.18, 17, 4, 0.19, 16, 5, 0.21, 17, 4, 0.25, 17, 4, 0.26, 18, 3, 0.24)); AddData(new Array(17, 2, 0.22, 18, 3, 0.22, 19, 4, 0.22, 18, 3, 0.23, 19, 4, 0.23, 20, 2, 0.19, 19, 3, 0.15, 20, 2, 0.15, 21, 2, 0.17, 21, 2, 0.16, 21, 3, 0.15, 21, 2, 0.15, 22, 2, 0.15, 22, 2, 0.12, 21, 0, 0.07, 23, 1, 0.08, 23, 0, 0.09, 23, 1, 0.08, 22, 1, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 22, 0, 0.06, 22, 1, 0.07, 22, -1, 0.02, 23, 0, 0.03, 23, 0, 0.03, 21, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, -1, 0.03, 22, -1, -0.03, 23, -3, -0.12, 21, -5, -0.22, 21, -8, -0.25, 17, -11, -0.45, 18, -12, -0.53, 16, -14, -0.57, 18, -13, -0.51, 17, -13, -0.49, 18, -12, -0.47, 18, -12, -0.45, 18, -12, -0.43, 17, -11, -0.41, 18, -11, -0.39, 17, -10, -0.37, 18, -10, -0.36, 17, -10, -0.34, 17, -9, -0.33, 18, -9, -0.32, 17, -9, -0.3, 17, -8, -0.29, 17, -8, -0.28, 17, -8, -0.27, 17, -7, -0.26, 17, -7, -0.25, 17, -6, -0.24, 17, -7, -0.21, 16, -5, -0.17, 17, -6, -0.13, 17, -5, -0.09, 17, -4, -0.05, 16, -5, -0.01, 17, -4, 0.02, 16, -3, 0.05, 17, -4, 0.08, 16, -3, 0.11, 16, -2, 0.14, 17, -3, 0.16, 16, -2, 0.18, 16, -1, 0.2, 16, -1, 0.22, 16, -1, 0.24, 16, -1, 0.26, 16, 0, 0.28, 16, 0, 0.29, 15, 0, 0.31, 16, 1, 0.32, 16, 1, 0.33, 15, 1, 0.34, 16, 2, 0.35, 15, 2, 0.37, 16, 3, 0.37, 15, 2, 0.38, 15, 3, 0.39, 16, 4, 0.4, 15, 3, 0.41, 15, 4, 0.41, 15, 4, 0.42, 15, 5, 0.43, 15, 5, 0.43, 15, 5, 0.44, 15, 6, 0.44, 15, 6, 0.45, 15, 6, 0.45, 14, 6, 0.46, 15, 7, 0.46, 15, 7, 0.46, 14, 8, 0.47, 15, 7, 0.47, 14, 8, 0.47, 15, 9, 0.47, 14, 8, 0.48, 15, 9, 0.48, 14, 10, 0.48, 14, 9, 0.48, 14, 10, 0.49, 15, 10, 0.49, 14, 10, 0.49, 14, 11, 0.48, 14, 11, 0.46, 14, 11, 0.43, 13, 12, 0.4, 14, 12, 0.35, 14, 12, 0.3, 13, 12, 0.25, 14, 13, 0.21, 9, 17, 0.35, -6, 3, -0.14, -4, 8, -0.33, -3, 6, -0.46, -1, 4, -0.48, 0, 2, -0.38, 0, 1, -0.29, -1, 0, -0.2, -1, 1, -0.12, 0, 0, -0.06, -1, 1, 0, 0, 2, 0.05, 0, 1, 0.07, -1, 0, 0.06, 0, -1, 0.03, 0, 0, 0.03, 1, 0, 0.03, 1, 0, 0.04, 1, 1, 0.06, 0, 0, 0.06, 0, 0, 0.07, 0, 0, 0.06, 0, 0, 0.05, -1, -1, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, -1, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 1, 0, 0.03, 0, 0, 0.03, 1, 0, 0.04, 0, 0, 0.04, -1, 0, 0.03, 0, 0, 0.03, 0, 0, 0.02, 0, 0, 0.02, 0, 0, 0.03, 0, 0, 0.02, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.04, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, 0, 0.03, 0, -6, 0.01, 1, -6, 0, 1, -6, 0.01, 0, -5, -0.03, 1, -5, -0.06, 0, -4, -0.1, 0, -4, -0.15, 1, -4, -0.21, 0, -4, -0.27, 0, -3, -0.34, 0, -2, -0.42, 1, -3, -0.5, 0, -1, -0.58, 0, -2, -0.66, 0, -1, -0.74, 1, -1, -0.8, 0, -1, -0.84, 0, 0, -0.88, 1, 0, -0.9, 0, 1, -0.92, 1, 0, -0.93, 0, 1, -0.95, 1, 2, -0.96, 0, 1, -0.98, 1, 2, -0.99, 0, 3, -1, 1, 2, -1.02, 0, 3, -1.03, 1, 4, -1.04, 0, 3, -1.06, 0, 4, -1.11, 0, 3, -1.17, 0, 4, -1.23, 0, 4, -1.3, 1, 4, -1.41, 1, 1, -1.5, -1, 0, -1.58, 0, -1, -1.62, -2, -1, -1.63, -1, -2, -1.64, -1, -1, -1.66, -1, 0, -1.68, -1, -1, -1.69, -2, 0, -1.71, -1, 0, -1.72, -1, 1, -1.74, -1, 1, -1.75, -1, 1, -1.76, -1, 2, -1.76, -2, 2, -1.75, 0, 0, -1.79, -2, 0, -1.78, -1, -1, -1.79, -1, -1, -1.79, -2, 0, -1.77, -1, 0, -1.75, -1, 0, -1.72, -2, 0, -1.68, -1, 0, -1.66, -1, -1, -1.63, -1, 0, -1.6, -1, -1, -1.55, -1, 0, -1.5, -1, 0, -1.45, -1, -1, -1.4, -1, 0, -1.33, -1, 0, -1.28, -1, 1, -1.22, -1, -1, -1.17, -1, 0, -1.12, 0, 0, -1.08, 0, 0, -1.04, -1, 1, -1, 0, 1, -0.96, 0, 0, -0.91, 0, 0, -0.87, 0, 0, -0.83, 0, 0, -0.79, 1, 1, -0.75, 0, 1, -0.72, 0, 1, -0.68, 1, 0, -0.62, 1, 1, -0.57, 0, 1, -0.54, 1, 0, -0.5, 1, 1, -0.47, 2, 1, -0.44, 2, 0, -0.42, 2, 0, -0.4, 2, 1, -0.39, 3, 0, -0.37, 3, 0, -0.36, 3, 0, -0.35, 4, 1, -0.34, 3, 1, -0.32, 1, 0, -0.38, 1, 0, -0.47, 0, -1, -0.57, -1, -1, -0.65, -1, -2, -0.74, 0, -3, -0.79, 0, -3, -0.81, 0, -2, -0.87, 1, -3, -0.92, 1, -2, -0.96, 0, -1, -1, 1, -2, -1.04, 1, -1, -1.08, 1, 0, -1.12, 0, -1, -1.15, 1, 0, -1.18, 1, 1, -1.21, 1, 0, -1.22, 0, 1, -1.23, 1, 1, -1.22, 1, 2, -1.21, 0, 1, -1.22, 0, 1, -1.25, 0, 1, -1.26, 0, 0, -1.26, 0, 1, -1.27, 0, 0, -1.27, 0, 0, -1.27, 0, 1, -1.27, 0, 0, -1.27, 0, -1, -1.26, 0, 0, -1.26, 0, 0, -1.25, 0, -1, -1.23, -1, 0, -1.22, 0, -1, -1.21, 0, -1, -1.19, 0, -1, -1.18, 0, 0, -1.16, -1, -1, -1.14, 0, -2, -1.12, 0, -1, -1.1, 0, -1, -1.08, -1, -1, -1.06, 0, -2, -1.05, 0, -1, -1.04, 0, -1, -1.03, 1, -2, -1.03, 0, -1, -1.04, 0, -2, -1.05, 1, -1, -1.07, 0, -2, -1.09, 1, -2, -1.11, 1, -1, -1.14, 0, -2, -1.17, 1, -2, -1.2, 1, -1, -1.24, 1, -2, -1.27, 1, -2, -1.31, 1, -2, -1.34, 1, -2, -1.36, 1, -3, -1.38, 0, -2, -1.4, 1, -3, -1.41, 0, -3, -1.4, 0, -2, -1.38, 0, -3, -1.35, 0, -2, -1.32, 1, -2, -1.27, 0, -2, -1.22, 0, -1, -1.17, 0, -1, -1.1, 1, -1, -1.04, 0, -2, -1, 0, -1, -0.94, 1, -1, -0.88, 0, -1, -0.83, 1, -1, -0.78, 1, -2, -0.72, 1, 0, -0.66, 1, -2, -0.62, 2, -1, -0.57, 1, -1, -0.52, 2, -1, -0.48, 2, -1, -0.43, 2, -1, -0.39, 3, -1, -0.35, 3, -1, -0.31, 3, -1, -0.25, 3, 0, -0.19, 3, 0, -0.13, 4, 1, -0.06, 3, 1, 0.02, 3, 1, 0.1, 1, -1, 0.2, 2, -1, 0.26, 3, 0, 0.33, 2, 0, 0.4, 4, 0, 0.47, 3, 1, 0.52, 4, 1, 0.56, 4, 1, 0.55, 4, -1, 0.5, 4, 1, 0.47, 4, 1, 0.44, 5, 2, 0.41, 5, 1, 0.36, 5, 2, 0.31, 5, 3, 0.26, 5, 2, 0.18, 6, 1, 0.13, 5, 1, 0.12, 7, 1, 0.13, 7, 0, 0.16, 8, 1, 0.16, 7, 1, 0.16, 9, 1, 0.16, 8, 1, 0.16, 9, 1, 0.16, 9, 1, 0.16, 9, 1, 0.16, 10, 1, 0.16, 10, 1, 0.16, 10, 1, 0.16, 11, 1, 0.16, 11, 2, 0.16, 12, 1, 0.15)); AddData(new Array(11, 0, 0.13, 12, 1, 0.11, 13, 1, 0.09, 12, 1, 0.08, 13, 0, 0.09, 14, 0, 0.09, 13, 1, 0.08, 14, 0, 0.08, 15, 1, 0.08, 14, 0, 0.08, 15, 1, 0.08, 15, 0, 0.08, 16, 1, 0.08, 15, 1, 0.08, 16, 0, 0.08, 17, 1, 0.08, 16, 0, 0.08, 17, 1, 0.08, 18, 0, 0.08, 17, 1, 0.08, 18, 0, 0.06, 18, 0, 0.05, 18, 1, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 21, -1, 0.01, 20, -2, -0.05, 22, -1, -0.07, 21, 0, -0.1, 22, -1, -0.12, 23, 0, -0.13, 23, 0, -0.14, 23, 0, -0.14, 22, 0, -0.14, 23, 0, -0.13, 23, 0, -0.12, 23, 1, -0.1, 23, 0, -0.08, 23, 1, -0.06, 23, 1, -0.03, 23, 1, 0, 23, 0, 0.04, 23, 1, 0.07, 23, 0, 0.06, 23, -1, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 1, 0.05, 22, 0, 0.08, 22, -1, 0.06, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.04, 23, 0, 0.04, 22, 1, 0.05, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, -1, 0.03, 23, -1, -0.02, 22, -3, -0.08, 22, -4, -0.1, 22, -5, -0.13, 23, -4, -0.12, 22, -4, -0.13, 22, -4, -0.13, 23, -3, -0.12, 22, -4, -0.14, 22, -5, -0.18, 22, -5, -0.17, 22, -5, -0.16, 23, -4, -0.15, 22, -4, -0.14, 22, -4, -0.13, 22, -4, -0.13, 22, -3, -0.12, 22, -3, -0.11, 22, -2, -0.11, 21, -2, -0.1, 22, -2, -0.1, 22, -1, -0.09, 21, -2, -0.09, 22, 0, -0.09, 21, -1, -0.08, 21, 0, -0.08, 22, 0, -0.07, 21, 1, -0.07, 21, 1, -0.07, 21, 1, -0.07, 21, 2, -0.06, 21, 1, -0.06, 21, 3, -0.06, 20, 2, -0.06, 21, 3, -0.05, 21, 3, -0.05, 20, 4, -0.05, 21, 3, -0.05, 20, 3, 0.01, 22, 1, 0.03, 22, -1, 0.05, 22, -1, 0.03, 22, -1, 0.01, 22, 0, 0.01, 22, 1, 0.02, 23, 1, 0.04, 23, 0, 0.05, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.05, 23, 0, 0.06, 23, 1, 0.07, 23, 0, 0.09, 22, 2, 0.1, 23, 1, 0.11, 22, 2, 0.11, 22, 2, 0.12, 23, 3, 0.13, 22, 2, 0.14, 22, 3, 0.14, 22, 4, 0.15, 22, 4, 0.16, 21, 4, 0.16, 22, 4, 0.17, 22, 5, 0.17, 21, 5, 0.18, 22, 5, 0.18, 21, 6, 0.18, 22, 6, 0.19, 21, 6, 0.19, 22, 6, 0.16, 20, 3, 0.1, 22, 0, 0.04, 21, -1, 0, 22, -2, -0.03, 23, -1, 0.01, 22, -1, 0.03, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.05, 23, 1, 0.04, 22, 0, 0.04, 23, 0, 0.05, 23, -1, 0.06, 22, 0, 0.07, 23, 0, 0.07, 23, 0, 0.06, 23, 1, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 22, 0, 0.06, 22, 0, 0.06, 23, -1, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 1, 0.06, 22, -1, 0.05, 23, 1, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, 0, 0.05, 19, -1, 0.04, 20, 1, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04)); StopData(); StartData(19); AddData(new Array(1849, 1760, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 3, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 9, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 10, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 13, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 14, 0, 0.04, 16, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, -1, 0.06, 20, 1, 0.06, 20, 0, 0.06, 21, 0, 0.06, 21, 1, 0.06, 20, 0, 0.06, 21, 0, 0.06, 20, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 21, 0, 0.06, 20, 0, 0.06, 21, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 21, 0, 0.06, 21, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 20, 0, 0.06, 21, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 22, 0, 0.06, 21, 0, 0.06, 21, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 21, 0, 0.06, 22, 0, 0.06, 21, 1, 0.06, 21, 0, 0.06, 21, 0, 0.06, 22, 0, 0.06, 21, 1, 0.06, 22, 0, 0.06, 21, 0, 0.06, 21, 0, 0.06, 22, 1, 0.06, 21, 0, 0.06, 22, 0, 0.06, 22, 0, 0.06, 21, 1, 0.06, 22, 0, 0.06, 21, 0, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.06, 21, 0, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.06, 21, 0, 0.06, 22, 0, 0.06, 22, 0, 0.06, 22, 1, 0.07, 22, 0, 0.08, 21, 1, 0.09, 22, 2, 0.09, 21, 1, 0.1, 22, 2, 0.11, 21, 2, 0.11, 21, 3, 0.12, 21, 3, 0.12, 22, 3, 0.13, 21, 3, 0.13, 21, 4, 0.13, 21, 3, 0.17, 22, 2, 0.15, 21, 2, 0.15, 22, 3, 0.15, 23, 2, 0.15, 21, 2, 0.17, 22, 3, 0.15, 21, 2, 0.16, 21, 2, 0.14, 21, 2, 0.15, 21, 3, 0.16, 22, 2, 0.15, 22, 2, 0.15, 22, 3, 0.15, 23, 2, 0.15, 22, 2, 0.15, 22, 3, 0.15, 23, 2, 0.15, 22, 2, 0.15, 23, 3, 0.15, 22, 2, 0.15, 22, 2, 0.15, 23, 3, 0.15, 22, 2, 0.15, 23, 3, 0.15, 23, 2, 0.15, 22, 2, 0.15, 23, 3, 0.15, 23, 2, 0.15, 22, 2, 0.12, 23, 1, 0.06, 23, 0, 0.08, 23, 0, 0.08, 23, 1, 0.08, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 24, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 23, 0, 0.07, 24, 1, 0.07, 23, 1, 0.07, 23, 0, 0.07, 24, 1, 0.07, 23, 0, 0.07, 23, 1, 0.07, 24, 1, 0.07, 23, 0, 0.07, 24, 1, 0.07, 23, 0, 0.07, 24, 1, 0.07, 23, 1, 0.07, 24, 0, 0.07, 23, 1, 0.07, 24, 0, 0.07, 24, 1, 0.07, 23, 1, 0.07, 24, 0, 0.07, 24, 1, 0.07, 24, 1, 0.07, 23, 0, 0.07, 24, 1, 0.07, 24, 0, 0.07, 24, 1, 0.07, 24, 1, 0.07, 24, 0, 0.07, 24, 1, 0.07, 24, 0, 0.07, 24, 1, 0.07, 24, 1, 0.07, 25, 0, 0.07, 24, 1, 0.07, 24, 1, 0.07, 25, 0, 0.07, 24, 1, 0.07, 24, 0, 0.07, 25, 1, 0.07, 24, 1, 0.07, 25, 0, 0.07, 24, 1, 0.07, 25, 1, 0.07, 25, 0, 0.07, 24, 1, 0.07, 25, 1, 0.07, 25, 0, 0.07, 24, 1, 0.11, 24, 1, 0.1, 25, 1, 0.11, 24, 2, 0.11, 24, 2, 0.12, 25, 2, 0.13, 24, 3, 0.13, 24, 3, 0.14, 24, 3, 0.14, 23, 2, 0.12, 25, 2, 0.13, 24, 3, 0.14, 25, 2, 0.13, 25, 3, 0.15, 24, 1, 0.14, 24, 2, 0.13, 24, 2, 0.13, 26, 3, 0.13, 25, 2, 0.13, 25, 2, 0.13, 25, 2, 0.13, 26, 3, 0.13, 25, 2, 0.13, 25, 2, 0.13, 25, 2, 0.13, 26, 2, 0.13, 25, 3, 0.13, 26, 2, 0.13, 25, 2, 0.13, 25, 2, 0.13, 26, 3, 0.13, 26, 2, 0.13, 25, 2, 0.13, 26, 2, 0.13, 26, 3, 0.13, 26, 2, 0.13, 25, 2, 0.13, 26, 3, 0.13, 27, 2, 0.13, 26, 2, 0.13, 26, 2, 0.13, 26, 3, 0.13, 26, 2, 0.13, 27, 2, 0.13, 26, 2, 0.11, 27, 1, 0.05, 26, 0, -0.02, 25, -1, -0.09, 26, 1, -0.12, 25, 1, -0.15, 26, 1, -0.19, 26, 2, -0.21, 26, 1, -0.22, 26, 2, -0.23, 27, 2, -0.23, 27, 2, -0.23, 27, 2, -0.23, 27, 2, -0.22, 28, 2, -0.21, 27, 2, -0.2, 28, 2, -0.18, 27, 2, -0.17, 28, 3, -0.15, 28, 2, -0.13, 27, 3, -0.1, 28, 2, -0.08, 27, 3, -0.05, 28, 2, -0.02, 27, 3, 0.01, 28, 3, 0.05, 28, 3, 0.09, 27, 3, 0.13, 28, 2, 0.14, 27, 2, 0.13, 27, 1, 0.11, 27, 3, 0.15, 26, 1, 0.13, 26, 1, 0.11, 26, 2, 0.12, 27, 2, 0.12, 27, 2, 0.12, 28, 2, 0.12, 27, 2, 0.12, 28, 2, 0.12, 27, 2, 0.12, 28, 1, 0.12, 27, 2, 0.12, 28, 2, 0.12, 27, 2, 0.12, 28, 2, 0.12, 27, 2, 0.12, 28, 2, 0.12, 27, 1, 0.1, 28, 0, 0.04, 26, -1, 0, 27, -3, -0.01, 28, -4, -0.03, 26, -4, -0.05, 26, -3, -0.05, 28, -2, -0.06, 26, -3, -0.06, 28, -2, -0.05, 26, -2, -0.04, 25, -2, -0.04, 28, -3, -0.04, 27, -3, -0.04, 28, -2, -0.04, 27, -3, -0.04, 27, -2, -0.04, 28, -3, -0.04, 27, -2, -0.04, 28, -3, -0.04, 27, -2, -0.04, 27, -3, -0.04, 28, -2, -0.04, 27, -3, -0.04, 28, -2, -0.04, 27, -3, -0.04, 27, -3, -0.04, 28, -3, -0.07, 26, -5, -0.19, 25, -7, -0.33, 25, -6, -0.48, 25, -5, -0.56, 26, -5, -0.64, 25, -4, -0.71, 25, -4, -0.78, 25, -3, -0.84, 25, -3, -0.9, 25, -3, -0.96, 24, -2, -1.01, 25, -3, -1.06, 25, -1, -1.11, 25, -2, -1.15, 24, -1, -1.19, 25, -1, -1.23, 24, 0, -1.27, 24, 0, -1.3, 25, 0, -1.33, 24, 1, -1.36, 24, 0, -1.39, 24, 2, -1.4, 24, 1, -1.41, 24, 2, -1.4, 24, 2, -1.38, 24, 2, -1.36, 24, 3, -1.32, 23, 2, -1.28, 25, 3, -1.27, 24, 1, -1.23, 24, -1, -1.14, 24, -2, -1.02, 24, -3, -0.88, 25, -1, -0.8, 25, -2, -0.72, 25, -1, -0.64, 25, 0, -0.56, 24, -1, -0.49, 25, 0, -0.43, 24, 0, -0.37, 25, 1, -0.31, 24, 1, -0.26, 24, 1, -0.21, 24, 2, -0.16, 24, 2, -0.12, 24, 3, -0.08, 23, 2, -0.04, 24, 3, 0, 24, 4, 0.03, 23, 3, 0.06, 24, 4, 0.09, 23, 5, 0.12, 24, 2, 0.12, 23, 1, 0.15, 24, 0, 0.14, 23, -1, 0.11, 24, -1, 0.06, 24, 0, 0.04, 25, 0, 0.03, 25, 0, 0.03, 25, 1, 0.04, 26, 0, 0.05, 26, 1, 0.06, 26, 0, 0.05, 26, 0, 0.05, 27, 1, 0.05, 27, 0, 0.05, 27, 0, 0.05, 27, 1, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 1, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 1, 0.07, 28, 0, 0.06, 27, 1, 0.08, 27, 1, 0.09, 28, 2, 0.1, 27, 2, 0.11, 27, 2, 0.11, 27, 1, 0.08, 27, 2, 0.1, 28, 1, 0.1, 27, 2, 0.1, 28, 1, 0.1, 27, 1, 0.1, 28, 2, 0.1)); AddData(new Array(27, 1, 0.1, 28, 2, 0.1, 27, 1, 0.1, 28, 2, 0.1, 27, 1, 0.1, 28, 1, 0.1, 27, 2, 0.1, 28, 1, 0.1, 27, 2, 0.1, 28, 1, 0.1, 28, 1, 0.1, 27, 2, 0.1, 28, 1, 0.1, 27, 2, 0.1, 28, 1, 0.1, 27, 2, 0.1, 28, 1, 0.1, 27, 1, 0.1, 28, 2, 0.1, 27, 1, 0.1, 28, 2, 0.1, 27, 1, 0.1, 28, 2, 0.11, 27, 2, 0.12, 27, 2, 0.13, 27, 3, 0.14, 27, 3, 0.15, 27, 3, 0.15, 27, 4, 0.16, 26, 4, 0.17, 27, 4, 0.17, 26, 5, 0.18, 27, 5, 0.18, 26, 5, 0.19, 26, 5, 0.17, 27, 3, 0.17, 27, 4, 0.17, 27, 4, 0.21, 26, 2, 0.18, 27, 2, 0.11, 27, 1, 0.06, 27, 1, 0.07, 28, 0, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 0, 0.07, 28, 1, 0.05, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, -1, 0.04, 26, 1, 0.07, 28, -1, 0.06, 26, -1, 0.03, 27, 0, 0.05, 28, -1, 0.02, 27, 0, 0.02, 28, -1, 0.02, 26, 0, 0.04, 26, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, -1, 0.03, 27, 0, 0.03, 28, -1, 0.03, 27, 0, 0.03, 28, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, 0, 0.03, 27, -1, 0.03, 28, -1, 0.01, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -2, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 28, -2, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -2, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -2, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -2, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -2, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 28, -1, 0, 27, -1, 0, 28, -2, -0.01, 27, -2, -0.04, 27, -2, -0.02, 27, -3, -0.02, 28, -2, -0.03, 27, -2, -0.04, 27, -2, -0.04, 27, -3, -0.04, 28, -2, -0.04, 27, -2, -0.04, 27, -3, -0.04, 28, -2, -0.04, 27, -2, -0.04, 28, -3, -0.04, 27, -2, -0.04, 28, -2, -0.04, 27, -3, -0.04, 27, -2, -0.04, 28, -3, -0.04, 27, -2, -0.04, 28, -2, -0.04, 27, -3, -0.04, 28, -2, -0.04, 27, -2, -0.04, 27, -3, -0.04, 28, -2, -0.04, 27, -2, -0.04, 28, -3, -0.04, 27, -2, -0.04, 28, -3, -0.04, 27, -2, -0.04, 27, -2, -0.04, 28, -3, -0.07, 26, -4, -0.12, 28, -3, -0.1, 27, -4, -0.09, 27, -4, -0.09, 27, -4, -0.09, 28, -3, -0.09, 27, -4, -0.09, 27, -4, -0.09, 28, -4, -0.09, 27, -3, -0.09, 27, -4, -0.09, 27, -4, -0.09, 28, -4, -0.09, 27, -3, -0.09, 27, -4, -0.09, 27, -4, -0.09, 28, -3, -0.09, 27, -4, -0.09, 27, -4, -0.09, 27, -4, -0.09, 28, -3, -0.09, 27, -4, -0.09, 27, -4, -0.09, 27, -4, -0.09, 27, -3, -0.04, 25, -4, -0.08, 28, -3, -0.07, 27, -3, -0.07, 27, -4, -0.13, 26, -5, -0.18, 26, -8, -0.21, 25, -10, -0.26, 24, -11, -0.27, 25, -10, -0.26, 26, -9, -0.25, 25, -10, -0.23, 25, -8, -0.21, 26, -9, -0.2, 25, -8, -0.18, 25, -8, -0.17, 25, -7, -0.16, 25, -7, -0.14, 25, -7, -0.13, 24, -6, -0.12, 25, -6, -0.11, 25, -5, -0.11, 24, -6, -0.1, 25, -5, -0.09, 24, -4, -0.08, 24, -4, -0.06, 24, -4, -0.04, 25, -4, -0.01, 24, -3, 0.01, 24, -3, 0.03, 24, -2, 0.05, 23, -2, 0.07, 24, -2, 0.09, 24, -1, 0.11, 23, -1, 0.12, 24, -1, 0.14, 23, -1, 0.15, 24, 0, 0.16, 23, 1, 0.17, 23, 0, 0.18, 23, 1, 0.2, 23, 1, 0.2, 23, 2, 0.21, 23, 2, 0.22, 23, 2, 0.23, 22, 3, 0.24, 23, 2, 0.25, 22, 4, 0.25, 23, 3, 0.26, 22, 4, 0.26, 22, 4, 0.27, 23, 5, 0.27, 22, 4, 0.28, 22, 5, 0.28, 22, 6, 0.29, 22, 6, 0.29, 22, 6, 0.29, 21, 6, 0.3, 22, 7, 0.3, 22, 7, 0.3, 21, 7, 0.31, 22, 7, 0.31, 21, 8, 0.31, 21, 9, 0.31, 22, 8, 0.32, 21, 9, 0.32, 21, 9, 0.32, 21, 9, 0.32, 21, 10, 0.32, 21, 10, 0.32, 21, 10, 0.33, 21, 11, 0.33, 20, 11, 0.33, 21, 11, 0.33, 20, 12, 0.33, 21, 11, 0.33, 20, 12, 0.33, 21, 13, 0.33, 20, 13, 0.33, 20, 12, 0.34, 21, 13, 0.28, 19, 1, 0.25, 23, 0, 0.35, 23, 0, 0.41, 23, -1, 0.44, 22, 0, 0.42, 23, 1, 0.42, 23, 2, 0.43, 23, 1, 0.43, 22, 3, 0.43, 23, 2, 0.43, 22, 3, 0.44, 23, 3, 0.44, 22, 3, 0.44, 22, 3, 0.41, 23, 3, 0.37, 23, 4, 0.32, 23, 3, 0.26, 23, 2, 0.16, 23, 3, 0.06, 23, 2, 0.04, 24, 0, 0.04, 25, 1, 0.1, 24, 0, 0.09, 25, 1, 0.1, 25, 0, 0.08, 25, 2, 0.1, 25, 1, 0.11, 25, 0, 0.06, 26, 1, 0.06, 27, 1, 0.06, 26, 1, 0.07, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 0, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 28, 0, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 28, 1, 0.08, 27, 0, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 1, 0.08, 28, 1, 0.08, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.06, 27, 0, 0.06, 28, 0, 0.05, 27, 1, 0.04, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 27, -1, 0.03, 26, -1, 0, 27, -1, 0.01, 26, -2, 0.01, 27, -1, -0.01, 25, -1, 0.02, 26, -2, -0.01, 27, -1, -0.01, 26, 0, 0.04, 26, -3, 0, 27, -1, 0, 24, 0, 0.02, 27, -2, 0.02, 27, 0, 0.04, 27, 0, 0.07, 26, -1, 0.07, 26, -1, 0.03, 27, 0, 0.02, 26, -1, 0.03, 27, 0, 0.03, 27, 1, 0.03, 27, 0, 0.03, 27, 1, 0.03, 27, 2, 0.03, 27, 1, 0.03, 26, 2, 0.02, 27, 3, 0.02, 26, 2, 0.02, 26, 3, 0.02, 27, 2, 0.07, 27, 2, 0.11, 28, 1, 0.1, 27, 1, 0.08, 27, 1, 0.09, 27, 1, 0.08, 27, 2, 0.09, 27, -1, 0.09, 27, -1, 0.06, 27, 0, 0.09, 27, 0, 0.07, 27, 1, 0.1, 26, 1, 0.13, 27, -1, 0.07, 26, -1, 0.03, 27, 0, 0.03, 28, 0, 0.02, 27, 0, 0.02, 28, 0, 0.03, 27, 1, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 28, 0, 0.05, 27, 0, 0.04, 28, -1, 0.04, 27, 0, 0.04, 27, 0, 0.04, 28, -1, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, -1, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, -1, 0.04, 28, 0, 0.04, 28, 0, 0.04, 27, -1, 0.04)); AddData(new Array(28, 0, 0.04, 27, 0, 0.04, 28, -1, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, -1, 0.04, 28, 0, 0.04, 27, -1, 0.02, 28, -1, -0.03, 27, -2, -0.06, 26, -1, -0.06, 27, -1, -0.07, 27, -3, -0.06, 27, -5, -0.06, 27, -2, -0.02, 27, -4, -0.04, 28, -3, -0.03, 27, -3, -0.04, 27, -2, -0.05, 26, -2, -0.06, 27, -2, -0.06, 27, -1, -0.07, 26, -1, -0.07, 26, 0, -0.08, 27, -1, -0.08, 26, 0, -0.09, 26, 1, -0.09, 26, 0, -0.09, 26, 1, -0.1, 26, 2, -0.1, 26, 1, -0.1, 26, 2, -0.11, 25, 2, -0.08, 26, 2, -0.02, 27, -2, 0.1, 27, -2, 0.18, 27, -3, 0.25, 26, -4, 0.23, 27, -3, 0.22, 27, -2, 0.2, 26, -5, 0.12, 22, -10, -0.21, 20, -10, -0.57, 17, -15, -0.75, 17, -17, -0.82, 17, -17, -0.79, 17, -19, -0.75, 18, -16, -0.76, 17, -16, -0.77, 18, -16, -0.77, 17, -15, -0.78, 17, -16, -0.78, 17, -14, -0.78, 18, -14, -0.76, 17, -14, -0.74, 17, -14, -0.7, 17, -13, -0.66, 17, -13, -0.61, 17, -13, -0.56, 17, -12, -0.49, 17, -11, -0.42, 18, -12, -0.35, 16, -11, -0.28, 17, -10, -0.21, 17, -10, -0.15, 17, -10, -0.09, 17, -9, -0.04, 16, -9, 0.01, 17, -9, 0.06, 16, -8, 0.1, 17, -8, 0.14, 16, -8, 0.18, 16, -7, 0.22, 16, -7, 0.25, 16, -6, 0.28, 16, -6, 0.31, 16, -6, 0.34, 16, -5, 0.36, 16, -6, 0.39, 16, -4, 0.41, 16, -5, 0.43, 15, -4, 0.45, 16, -3, 0.47, 16, -4, 0.49, 15, -3, 0.5, 16, -2, 0.52, 15, -3, 0.53, 15, -2, 0.55, 16, -1, 0.56, 15, -2, 0.57, 15, -1, 0.58, 15, 0, 0.59, 15, -1, 0.6, 15, 0, 0.61, 15, 1, 0.62, 15, 0, 0.63, 15, 1, 0.63, 15, 2, 0.64, 15, 1, 0.65, 14, 2, 0.65, 15, 3, 0.66, 15, 2, 0.66, 14, 3, 0.67, 15, 4, 0.67, 14, 3, 0.68, 15, 4, 0.68, 14, 4, 0.68, 14, 5, 0.69, 15, 5, 0.69, 14, 5, 0.69, 14, 6, 0.7, 14, 5, 0.7, 14, 6, 0.7, 14, 7, 0.71, 14, 7, 0.71, 14, 7, 0.71, 14, 7, 0.71, 14, 8, 0.71, 14, 8, 0.71, 14, 8, 0.72, 13, 9, 0.72, 14, 8, 0.72, 14, 10, 0.72, 13, 9, 0.72, 14, 10, 0.72, 13, 10, 0.72, 14, 10, 0.73, 13, 11, 0.72, 13, 11, 0.7, 14, 11, 0.67, 13, 12, 0.63, 13, 11, 0.6, 13, 12, 0.56, 13, 13, 0.53, 13, 12, 0.51, 13, 13, 0.48, 13, 14, 0.46, 13, 13, 0.43, 12, 14, 0.41, 13, 14, 0.39, 14, 14, 0.33, 12, 5, 0.15, 16, 1, 0.13, 15, 0, 0.12, 16, -1, 0.11, 17, -2, 0.14, 16, 1, 0.12, 18, 1, 0.12, 17, 1, 0.12, 17, 2, 0.12, 16, 2, 0.12, 17, 2, 0.12, 17, 1, 0.11, 18, 2, 0.12, 18, 1, 0.12, 18, 1, 0.12, 18, 2, 0.12, 19, 1, 0.12, 19, 1, 0.12, 19, 2, 0.12, 19, 1, 0.12, 20, 2, 0.12, 20, 1, 0.12, 21, 2, 0.12, 20, 1, 0.12, 21, 2, 0.12, 22, 1, 0.12, 21, 2, 0.12, 22, 2, 0.12, 22, 1, 0.12, 23, 2, 0.12, 23, 1, 0.12, 23, 2, 0.12, 23, 2, 0.12, 24, 2, 0.12, 24, 1, 0.12, 24, 2, 0.12, 24, 2, 0.12, 25, 2, 0.12, 25, 2, 0.12, 25, 2, 0.12, 26, 1, 0.12, 26, 2, 0.12, 26, 2, 0.12, 26, 2, 0.12, 26, 2, 0.17, 26, 3, 0.15, 28, 2, 0.14, 27, 3, 0.15, 27, 3, 0.15, 26, 3, 0.16, 27, 3, 0.14, 27, 3, 0.17, 26, 2, 0.15, 27, 3, 0.14, 26, 3, 0.17, 27, 2, 0.14, 26, 3, 0.17, 27, 2, 0.16, 27, 3, 0.14, 26, 3, 0.19, 26, 2, 0.15, 26, 3, 0.15, 26, 2, 0.15, 28, 3, 0.15, 27, 3, 0.15, 28, 3, 0.15, 27, 2, 0.15, 28, 3, 0.15, 27, 3, 0.15, 28, 3, 0.15, 27, 3, 0.15, 27, 3, 0.16, 27, 3, 0.18, 27, 3, 0.19, 27, 4, 0.2, 26, 5, 0.21, 27, 4, 0.21, 27, 5, 0.22, 26, 5, 0.23, 26, 6, 0.23, 27, 6, 0.24, 26, 6, 0.24, 26, 6, 0.25, 26, 7, 0.25, 26, 7, 0.25, 26, 8, 0.26, 26, 7, 0.26, 26, 7, 0.25, 27, 5, 0.25, 27, 4, 0.23, 26, 6, 0.25, 27, 5, 0.23, 25, 6, 0.28, 26, 4, 0.24, 27, 4, 0.17, 27, 2, 0.12, 27, 0, 0.09, 27, 1, 0.09, 27, 1, 0.11, 27, 2, 0.1, 27, 1, 0.11, 27, 2, 0.1, 27, 3, 0.13, 24, 3, 0.21, 27, 1, 0.18, 27, 0, 0.13, 26, 0, 0.08, 28, 2, 0.08, 27, 1, 0.08, 28, 2, 0.08, 27, 2, 0.08, 28, 2, 0.1, 27, 2, 0.13, 26, 1, 0.13, 28, 1, 0.11, 27, 2, 0.11, 27, 2, 0.11, 28, 1, 0.11, 27, 1, 0.08, 26, 0, 0.04, 27, 1, 0.05, 26, -1, 0.05, 27, 1, 0.07, 27, 0, 0.04, 27, 0, 0.07, 26, 0, 0.05, 26, -1, 0.05, 27, 1, 0.06, 27, -1, 0.04, 27, 1, 0.06, 26, -1, 0.04, 27, 1, 0.06, 27, -1, 0.03, 27, 1, 0.06, 26, -1, 0.05, 27, 1, 0.07, 27, 0, 0.05, 27, -1, 0.04, 27, 0, 0.09, 26, 0, 0.04, 27, 0, 0.05, 26, 0, 0.04, 25, 0, 0.04, 28, 1, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, 0, 0.05, 28, 0, 0.05, 27, -1, 0.02, 28, -1, 0, 27, -1, 0.01, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 28, -1, 0, 27, -1, 0, 28, -1, 0, 27, -2, 0, 27, -1, -0.02, 28, -2, -0.02, 25, -2, -0.01, 27, -1, -0.01, 27, -2, -0.01, 28, -2, -0.01, 27, -2, -0.01, 28, -2, -0.01, 27, -1, -0.01, 28, -2, -0.01, 27, -2, -0.01, 28, -2, -0.01, 27, -2, -0.01, 28, -2, -0.01, 27, -1, -0.01, 27, -2, -0.01, 28, -2, -0.01, 27, -2, -0.01, 28, -2, -0.01, 27, -1, -0.01, 28, -2, -0.01, 27, -2, -0.01, 28, -2, -0.01, 27, -2, -0.01, 28, -1, -0.01, 27, -2, -0.01, 28, -2, -0.02, 27, -3, -0.06, 27, -2, -0.05, 27, -1, -0.06, 27, -2, -0.07, 27, -1, -0.08, 27, 0, -0.08, 27, -1, -0.09, 27, 0, -0.1, 26, 1, -0.1, 27, 0, -0.1, 27, 0, -0.06, 27, 1, -0.03, 28, 0, 0.01, 27, 0, 0.03, 28, 0, 0.02, 27, -1, 0.02, 28, 0, 0.03, 27, 0, 0.04, 27, 0, 0.06, 28, 0, 0.08, 27, 1, 0.09, 27, 1, 0.1, 27, 1, 0.11, 27, 2, 0.12, 27, 2, 0.13, 27, 2, 0.14, 26, 3, 0.15, 27, 3, 0.16, 26, 3, 0.16, 26, 4, 0.17, 27, 4, 0.18, 26, 4, 0.18, 26, 5, 0.17, 26, 3, 0.12, 27, 2, 0.09, 27, 0, 0.06, 27, 0, 0.05, 27, 0, 0.01, 27, -2, -0.04, 27, -4, -0.1, 27, -4, -0.13, 26, -7, -0.12, 26, -7, -0.12, 26, -8, -0.14, 25, -8, -0.16, 25, -10, -0.27, 23, -10, -0.41, 23, -10, -0.54, 24, -9, -0.61, 24, -9, -0.67, 24, -8, -0.72, 24, -8, -0.75, 24, -8, -0.77, 24, -7, -0.8, 23, -7, -0.82, 24, -7, -0.85, 24, -6, -0.87, 23, -6, -0.89, 24, -6, -0.91, 23, -5, -0.91, 24, -5, -0.91, 23, -4, -0.9, 23, -5, -0.87, 24, -4, -0.84, 23, -3, -0.8, 23, -4, -0.75, 23, -2, -0.7, 23, -3, -0.64, 23, -2, -0.57, 23, -2, -0.51, 23, -2, -0.45, 23, -1, -0.39, 23, -1, -0.34, 22, 0, -0.29, 23, 0, -0.24, 22, 0, -0.2, 23, 0, -0.16, 22, 1, -0.12, 22, 2, -0.09, 22, 1, -0.06, 22, 2, -0.02, 22, 2, 0, 22, 3, 0.03, 22, 3, 0.06, 22, 3, 0.08, 21, 3, 0.1, 22, 4, 0.12, 21, 4, 0.14, 22, 5, 0.16, 21, 5, 0.18, 21, 5, 0.19, 21, 5, 0.21, 21, 6, 0.22, 21, 6, 0.23, 21, 6, 0.24, 21, 7, 0.26, 21, 7, 0.27, 21, 7, 0.28, 20, 8, 0.29, 21, 8, 0.29, 21, 8, 0.3, 20, 8, 0.31, 20, 9, 0.32, 21, 9, 0.32, 20, 10, 0.33, 20, 9, 0.34, 20, 10, 0.34, 20, 11, 0.35, 20, 10, 0.35, 20, 11, 0.36, 20, 11, 0.36, 19, 12, 0.36, 20, 12, 0.37, 20, 12, 0.37, 19, 12, 0.37, 20, 13, 0.38, 19, 13, 0.38, 20, 13, 0.38, 19, 13, 0.38, 19, 14, 0.39, 19, 9, 0.16, 19, 1, 0.02, 21, -1, 0.05, 21, -1, 0.05, 22, -2, 0.05, 21, -2, 0.04, 22, -1, 0.04, 22, 0, 0.03, 22, 0, 0.03, 22, 0, 0.03, 21, 1, 0.02, 22, 1, 0.04, 22, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 24, 0, 0.04, 23, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 25, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 26, 0, 0.04, 27, 0, 0.04, 27, 0, 0.04, 27, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, 0, 0.04, 28, 0, 0.04, 27, -1, 0.07, 28, -2, 0.14, 28, -2, 0.19, 27, -1, 0.23, 28, 0, 0.26, 27, -1, 0.27)); AddData(new Array(28, 0, 0.27, 27, 0, 0.27, 28, 0, 0.25, 27, 0, 0.23, 28, 0, 0.2, 27, 1, 0.16, 27, 0, 0.12, 28, 1, 0.07, 27, 1, 0.01, 27, 0, 0.02, 28, -1, 0.04, 28, 0, 0.04, 27, 0, 0.04, 27, -1, 0, 27, -2, -0.06, 28, -3, -0.06, 27, -3, -0.04, 27, -3, -0.04, 27, -3, -0.08, 24, -7, -0.26, 24, -10, -0.29, 23, -11, -0.37, 24, -13, -0.4, 22, -14, -0.37, 22, -14, -0.43, 22, -14, -0.48, 22, -14, -0.51, 23, -13, -0.51, 23, -13, -0.49, 22, -12, -0.47, 22, -12, -0.44, 23, -11, -0.4, 22, -12, -0.35, 23, -10, -0.31, 22, -11, -0.27, 22, -10, -0.23, 22, -10, -0.19, 22, -9, -0.16, 22, -9, -0.12, 22, -8, -0.07, 22, -9, -0.01, 21, -7, 0.04, 22, -8, 0.09, 22, -7, 0.14, 21, -7, 0.18, 22, -6, 0.22, 21, -6, 0.26, 21, -6, 0.3, 21, -5, 0.33, 21, -5, 0.36, 21, -4, 0.39, 21, -5, 0.42, 21, -4, 0.44, 21, -3, 0.47, 21, -3, 0.49, 20, -3, 0.51, 21, -3, 0.53, 20, -2, 0.55, 20, -2, 0.57, 21, -2, 0.58, 20, -1, 0.6, 20, -1, 0.61, 20, 0, 0.62, 20, 0, 0.64, 20, 0, 0.65, 20, 0, 0.66, 20, 1, 0.67, 20, 1, 0.68, 19, 1, 0.69, 20, 2, 0.69, 20, 2, 0.7, 19, 3, 0.71, 20, 2, 0.72, 19, 3, 0.72, 19, 4, 0.73, 19, 4, 0.73, 20, 4, 0.74, 19, 4, 0.73, 19, 4, 0.72, 18, 5, 0.69, 19, 5, 0.66, 19, 6, 0.63, 19, 6, 0.6, 18, 6, 0.57, 19, 6, 0.55, 18, 7, 0.52, 19, 7, 0.5, 18, 7, 0.48, 18, 8, 0.46, 19, 8, 0.44, 18, 8, 0.42, 18, 9, 0.41, 18, 9, 0.39, 18, 9, 0.38, 18, 10, 0.36, 18, 9, 0.35, 18, 11, 0.34, 18, 10, 0.33, 17, 11, 0.32, 18, 11, 0.31, 18, 6, 0.08, 18, 0, 0.05, 19, -1, 0.05, 20, -2, 0.04, 19, -3, 0.03, 21, 0, 0.05, 20, -1, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.06, 20, 1, 0.06, 20, 1, 0.05, 20, 0, 0.03, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 26, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 24, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 23, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 22, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05)); StopData(); StartData(21); AddData(new Array(1749, 1719, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 12, 0, 0.04, 14, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 21, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 21, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 22, 0, 0.04, 23, 0, 0.04, 23, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.05, 25, 0, 0.05, 25, -1, 0.04, 23, 1, 0.05, 25, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 24, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.05, 25, 0, 0.06, 25, 0, 0.07, 25, 1, 0.08, 24, 1, 0.09, 25, 2, 0.1, 24, 1, 0.1, 24, 3, 0.11, 24, 2, 0.12, 24, 3, 0.12, 24, 3, 0.13, 24, 3, 0.13, 24, 4, 0.14, 24, 4, 0.14, 24, 4, 0.15, 23, 5, 0.15, 24, 4, 0.11, 22, -1, -0.11, 21, -4, -0.08, 23, -3, -0.01, 23, -3, 0.1, 23, -2, 0.15, 22, -1, 0.19, 23, -2, 0.23, 22, 0, 0.27, 22, -1, 0.3, 22, 0, 0.34, 22, 0, 0.37, 22, 1, 0.4, 22, 1, 0.42, 22, 1, 0.45, 22, 1, 0.47, 22, 2, 0.5, 21, 2, 0.52, 22, 3, 0.54, 21, 2, 0.55, 21, 4, 0.57, 22, 2, 0.57, 21, 3, 0.53, 21, 2, 0.47, 22, 2, 0.44, 21, 4, 0.42, 21, 4, 0.4, 21, 4, 0.38, 21, 4, 0.36, 21, 5, 0.34, 21, 4, 0.28, 22, 2, 0.12, 20, -1, -0.02, 21, -1, -0.11, 23, 0, -0.09, 22, 0, -0.12, 22, 1, -0.15, 22, 1, -0.18, 21, 1, -0.2, 22, 2, -0.22, 22, 2, -0.24, 22, 2, -0.25, 22, 2, -0.22, 22, 1, -0.19, 23, 1, -0.13, 24, 1, -0.04, 23, 0, 0.03, 23, -1, 0.04, 19, -7, -0.22, 19, -9, -0.28, 20, -9, -0.31, 19, -11, -0.37, 18, -11, -0.47, 19, -12, -0.59, 17, -11, -0.72, 20, -11, -0.77, 19, -10, -0.84, 20, -10, -0.9, 19, -10, -0.96, 19, -9, -1.01, 19, -9, -1.04, 19, -8, -1.06, 19, -8, -1.07, 19, -8, -1.07, 19, -8, -1.06, 19, -7, -1.04, 19, -7, -1, 19, -6, -0.97, 18, -7, -0.93, 19, -5, -0.89, 19, -6, -0.86, 18, -5, -0.83, 19, -5, -0.8, 19, -4, -0.78, 18, -4, -0.75, 18, -4, -0.73, 19, -3, -0.71, 18, -3, -0.69, 18, -3, -0.67, 18, -2, -0.65, 18, -2, -0.64, 18, -2, -0.62, 18, -1, -0.61, 18, -1, -0.59, 18, -1, -0.58, 17, 0, -0.57, 18, 0, -0.56, 17, 1, -0.55, 18, 0, -0.54, 17, 1, -0.53, 18, 2, -0.52, 17, 2, -0.51, 18, 2, -0.5, 17, 2, -0.5, 17, 3, -0.49, 17, 3, -0.48, 17, 3, -0.48, 17, 4, -0.47, 17, 4, -0.47, 17, 4, -0.46, 17, 5, -0.46, 16, 5, -0.45, 17, 5, -0.45, 17, 5, -0.45, 16, 6, -0.44, 17, 7, -0.44, 16, 6, -0.44, 17, 7, -0.43, 16, 7, -0.43, 16, 8, -0.43, 17, 7, -0.43, 16, 8, -0.43, 16, 9, -0.42, 16, 8, -0.42, 16, 9, -0.42, 16, 10, -0.42, 16, 9, -0.42, 16, 10, -0.42, 16, 10, -0.41, 15, 11, -0.41, 16, 11, -0.41, 17, 5, -0.16, 18, 1, -0.01, 15, -2, 0.01, 17, -3, 0.05, 17, -2, 0.09, 18, 0, 0.13, 17, 0, 0.17, 17, 0, 0.21, 18, 0, 0.21, 17, -1, 0.18, 18, -1, 0.12, 18, -1, 0.06, 18, 0, 0.01, 18, 0, -0.04, 18, -2, -0.01, 18, -1, 0, 19, -2, 0.01, 19, -1, 0, 19, -1, -0.01, 19, -1, -0.03, 20, -3, -0.07, 19, -3, -0.12, 19, -4, -0.18, 19, -4, -0.16, 20, -4, -0.17, 20, -4, -0.16, 21, -5, -0.15, 20, -4, -0.15, 21, -4, -0.16, 21, -4, -0.16, 21, -5, -0.16, 22, -4, -0.15, 22, -4, -0.14, 22, -4, -0.12, 22, -4, -0.11, 23, -3, -0.1, 22, -3, -0.07, 23, -3, -0.04, 22, -2, 0, 22, -2, 0.04, 23, -2, 0.09, 22, -1, 0.13, 22, -1, 0.17, 22, 0, 0.2, 22, -1, 0.24, 22, 1, 0.27, 21, 0, 0.3, 22, 1, 0.33, 22, 1, 0.35, 21, 1, 0.38, 21, 2, 0.4, 22, 2, 0.42, 21, 2, 0.44, 21, 3, 0.46, 21, 3, 0.48, 21, 3, 0.48, 21, 4, 0.48, 21, 4, 0.46, 21, 4, 0.44, 20, 5, 0.41, 21, 4, 0.37, 20, 5, 0.32, 20, 6, 0.26, 20, 5, 0.2, 21, 6, 0.1, 19, 0, -0.03, 19, -2, -0.08, 17, -8, -0.31, 18, -8, -0.43, 16, -10, -0.45, 16, -11, -0.47, 18, -10, -0.47, 17, -10, -0.48, 17, -10, -0.49, 17, -9, -0.5, 18, -9, -0.49, 17, -10, -0.49, 17, -10, -0.49, 17, -10, -0.49, 18, -11, -0.49, 17, -10, -0.49, 18, -11, -0.49, 18, -10, -0.49, 18, -11, -0.49, 18, -11, -0.49, 18, -10, -0.49, 19, -11, -0.48, 18, -11, -0.47, 20, -10, -0.45, 19, -10, -0.44, 19, -10, -0.43, 18, -9, -0.42, 19, -9, -0.41, 19, -9, -0.41, 19, -8, -0.4, 18, -8, -0.39, 19, -8, -0.38, 18, -7, -0.38, 19, -7, -0.37, 18, -6, -0.37, 19, -6, -0.36, 18, -6, -0.36, 18, -6, -0.35, 18, -5, -0.35, 18, -4, -0.34, 18, -5, -0.34, 18, -4, -0.34, 18, -4, -0.33, 18, -3, -0.33, 18, -3, -0.33, 17, -2, -0.32, 18, -3, -0.32, 18, -2, -0.32, 17, -1, -0.32, 18, -2, -0.31, 17, -1, -0.31, 17, 0, -0.31, 18, -1, -0.31, 17, 1, -0.31, 17, 0, -0.31, 17, 1, -0.3, 17, 1, -0.3, 17, 1, -0.3, 17, 2, -0.3, 17, 2, -0.3, 17, 2, -0.3, 17, 3, -0.3, 17, 3, -0.3, 16, 3, -0.3, 17, 4, -0.3, 16, 4, -0.29, 17, 4, -0.29, 16, 5, -0.29, 17, 5, -0.29, 16, 5, -0.29, 16, 5, -0.29, 17, 6, -0.29, 16, 6, -0.29, 16, 7, -0.29, 16, 7, -0.29, 16, 7, -0.29, 16, 7, -0.29, 16, 8, -0.29, 16, 8, -0.29, 16, 8, -0.29, 15, 9, -0.29, 16, 9, -0.29, 16, 9, -0.29, 15, 10, -0.29, 15, 5, -0.29, 10, -4, -0.36, 11, -6, -0.36, 11, -7, -0.35, 10, -7, -0.35, 12, -6, -0.36, 12, -6, -0.36, 12, -5, -0.37, 11, -5, -0.37, 12, -4, -0.37, 12, -5, -0.37, 12, -3, -0.37, 11, -4, -0.38, 12, -3, -0.38, 12, -3, -0.38, 11, -3, -0.38, 12, -2, -0.38, 11, -2, -0.38, 12, -1, -0.38, 11, -1, -0.38, 12, -1, -0.39, 11, 0, -0.39, 11, -1, -0.39, 11, 1, -0.39, 11, -2, -0.28, 10, -2, -0.15, 11, -2, 0.01, 11, -1, 0.13, 11, -1, 0.23, 10, 0, 0.33, 11, 0, 0.41, 10, 0, 0.5, 10, 1, 0.57, 11, 0, 0.65, 10, 2, 0.71, 10, 1, 0.77, 10, 2, 0.83, 9, 2, 0.92, 7, -2, 0.85, 8, -4, 0.79, 8, -3, 0.75, 9, -4, 0.73, 9, -4, 0.68, 8, -4, 0.59, 8, -4, 0.5, 8, -3, 0.42, 9, -3, 0.35, 8, -2, 0.28, 9, -2, 0.22, 8, -2, 0.16, 9, -2, 0.1, 8, -1, 0.05, 8, 0, 0, 9, -1, -0.05, 8, 1, -0.09, 9, 0, -0.13, 8, 1, -0.16, 8, 1, -0.2, 9, 1, -0.23, 8, 2, -0.26, 8, 2, -0.29, 8, 2, -0.32, 9, 3, -0.33, 8, 3, -0.34, 9, 2, -0.3, 10, 2, -0.23, 10, 1, -0.13, 10, 2, -0.05, 11, 3, 0.01, 11, 2, 0.08, 11, 3, 0.15, 11, 3, 0.23, 12, 3, 0.32, 11, 3, 0.39, 12, 4, 0.46, 12, 4, 0.53, 11, 5, 0.59, 12, 4, 0.65, 11, 6, 0.7, 12, 5, 0.75)); AddData(new Array(11, 5, 0.76, 12, 4, 0.75, 12, 4, 0.71, 13, 4, 0.64, 13, 4, 0.55, 13, 5, 0.5, 14, 5, 0.44, 13, 6, 0.38, 14, 6, 0.33, 14, 5, 0.35, 15, 3, 0.32, 14, 3, 0.25, 15, 1, 0.2, 15, -1, 0.18, 16, -1, 0.16, 16, 1, 0.15, 17, 1, 0.14, 16, 1, 0.14, 17, 1, 0.13, 16, 2, 0.12, 16, 2, 0.11, 17, 1, 0.12, 17, 1, 0.12, 17, 1, 0.12, 17, 1, 0.11, 17, 2, 0.11, 18, 0, 0.07, 18, -1, 0.02, 18, -1, -0.04, 18, -1, -0.03, 19, -2, -0.03, 19, -1, -0.03, 20, -1, -0.01, 19, -2, 0.05, 20, -2, 0.07, 19, -5, -0.01, 18, -5, -0.11, 17, -5, -0.23, 20, -5, -0.19, 20, -5, -0.17, 19, -5, -0.15, 19, -4, -0.13, 20, -4, -0.11, 19, -4, -0.1, 19, -3, -0.08, 19, -3, -0.07, 19, -3, -0.06, 19, -2, -0.04, 19, -2, -0.03, 19, -2, -0.02, 19, -1, -0.01, 19, -1, 0, 18, 0, 0, 19, -1, 0.01, 18, 0, 0.02, 19, 1, 0.03, 18, 1, 0.03, 19, 1, 0.04, 18, 1, 0.04, 18, 2, 0.05, 18, 2, 0.06, 18, 2, 0.06, 19, 3, 0.06, 17, 3, 0.07, 18, 3, 0.07, 18, 3, 0.05, 19, 2, -0.02, 17, -1, -0.03, 18, -2, -0.06, 18, -2, -0.08, 19, -3, -0.04, 20, -2, 0.01, 19, -2, 0.03, 19, -1, 0.06, 20, 0, 0.08, 19, -1, 0.09, 19, 0, 0.11, 19, 1, 0.13, 19, 0, 0.14, 18, 1, 0.16, 19, 2, 0.17, 19, 1, 0.18, 19, 2, 0.19, 18, 3, 0.21, 19, 2, 0.22, 18, 3, 0.23, 19, 4, 0.23, 18, 3, 0.24, 18, 4, 0.25, 18, 5, 0.26, 19, 4, 0.27, 18, 5, 0.27, 18, 5, 0.28, 18, 6, 0.28, 18, 6, 0.29, 17, 6, 0.29, 18, 6, 0.3, 18, 7, 0.3, 18, 7, 0.31, 17, 7, 0.31, 18, 8, 0.31, 17, 8, 0.32, 18, 9, 0.32, 18, 8, 0.32, 18, 9, 0.32, 17, 10, 0.32, 18, 9, 0.32, 17, 10, 0.33, 18, 11, 0.33, 17, 10, 0.33, 18, 11, 0.33, 17, 11, 0.33, 17, 12, 0.33, 17, 11, 0.33, 17, 12, 0.33, 18, 13, 0.33, 17, 12, 0.33, 17, 13, 0.33, 16, 13, 0.34, 17, 14, 0.34, 17, 14, 0.34, 17, 14, 0.34, 16, 8, 0.08, 17, -1, 0.08, 17, -1, 0.07, 18, -1, 0.07, 18, -2, 0.06, 19, -1, 0.07, 19, 0, 0.08, 19, 0, 0.08, 19, 0, 0.03, 18, -2, -0.09, 18, -4, -0.17, 17, -6, -0.22, 18, -7, -0.26, 19, -6, -0.24, 19, -5, -0.24, 19, -6, -0.25, 18, -4, -0.25, 19, -5, -0.26, 18, -4, -0.26, 19, -4, -0.26, 19, -3, -0.27, 18, -3, -0.27, 18, -3, -0.27, 19, -3, -0.28, 18, -2, -0.28, 18, -1, -0.28, 18, -2, -0.28, 18, -1, -0.29, 18, -1, -0.29, 18, 0, -0.29, 18, 0, -0.29, 18, 0, -0.29, 18, 1, -0.3, 17, 1, -0.3, 18, 1, -0.3, 18, 2, -0.3, 17, 2, -0.3, 18, 2, -0.3, 17, 2, -0.3, 17, 3, -0.31, 18, 4, -0.31, 17, 3, -0.31, 17, 4, -0.31, 17, 4, -0.31, 17, 5, -0.31, 17, 5, -0.31, 17, 5, -0.31, 17, 5, -0.31, 17, 6, -0.31, 17, 6, -0.31, 16, 6, -0.31, 17, 7, -0.31, 17, 7, -0.31, 16, 7, -0.31, 16, 7, -0.22, 15, -2, -0.1, 13, -5, -0.12, 14, -5, -0.1, 14, -6, -0.1, 13, -4, -0.16, 15, -4, -0.18, 14, -4, -0.21, 14, -3, -0.23, 15, -3, -0.23, 15, -3, -0.22, 14, -3, -0.2, 15, -3, -0.18, 15, -3, -0.18, 15, -4, -0.18, 15, -3, -0.17, 16, -4, -0.16, 16, -3, -0.13, 16, -3, -0.1, 16, -3, -0.08, 16, -2, -0.05, 17, -2, -0.02, 16, -2, 0, 16, -2, 0.02, 16, -1, 0.04, 16, -1, 0.06, 15, 0, 0.08, 16, 0, 0.09, 16, 0, 0.11, 16, 1, 0.12, 15, 1, 0.14, 16, 1, 0.15, 15, 1, 0.16, 16, 2, 0.17, 15, 2, 0.18, 16, 3, 0.19, 15, 3, 0.2, 15, 3, 0.21, 15, 4, 0.22, 15, 3, 0.23, 15, 4, 0.23, 16, 4, 0.2, 16, 3, 0.13, 15, 1, 0.12, 16, -1, 0.1, 17, 0, 0.11, 17, 1, 0.1, 17, 0, 0.09, 18, 2, 0.09, 17, 1, 0.1, 18, 1, 0.09, 18, 1, 0.09, 18, 1, 0.1, 18, 1, 0.1, 19, 1, 0.1, 19, 2, 0.11, 20, 1, 0.12, 20, 1, 0.17, 20, 0, 0.27, 20, 1, 0.35, 20, 2, 0.43, 20, 1, 0.5, 20, 2, 0.57, 20, 2, 0.63, 19, 3, 0.69, 20, 3, 0.75, 20, 3, 0.8, 19, 3, 0.85, 19, 4, 0.9, 20, 4, 0.94, 19, 5, 0.98, 19, 4, 1.02, 19, 5, 1.05, 19, 6, 1.08, 19, 5, 1.11, 19, 6, 1.14, 18, 7, 1.17, 19, 6, 1.2, 19, 7, 1.22, 18, 7, 1.24, 19, 8, 1.26, 18, 7, 1.28, 18, 8, 1.29, 19, 9, 1.29, 18, 8, 1.27, 18, 9, 1.25, 18, 9, 1.22, 18, 9, 1.18, 17, 9, 1.15, 19, 8, 1.06, 18, 7, 0.94, 19, 7, 0.8, 18, 7, 0.64, 19, 6, 0.46, 19, 8, 0.34, 20, 8, 0.28, 20, 6, 0.28, 22, 7, 0.31, 23, 5, 0.34, 20, 1, 0.15, 21, -1, 0.04, 20, -3, 0.01, 22, -5, 0.04, 23, -4, 0.1, 23, -3, 0.13, 22, -2, 0.14, 22, -2, 0.16, 22, -2, 0.17, 22, -1, 0.18, 21, -1, 0.19, 20, -6, 0.03, 19, -7, -0.18, 18, -6, -0.41, 17, -10, -0.53, 17, -11, -0.62, 18, -12, -0.68, 18, -12, -0.72, 17, -11, -0.81, 18, -10, -0.9, 18, -10, -0.99, 17, -10, -1.09, 18, -9, -1.19, 17, -9, -1.29, 18, -8, -1.4, 18, -8, -1.51, 17, -8, -1.63, 18, -7, -1.74, 17, -7, -1.86, 18, -6, -1.98, 17, -7, -2.11, 18, -5, -2.23, 17, -6, -2.36, 18, -5, -2.49, 17, -5, -2.62, 18, -4, -2.75, 18, -4, -2.89, 17, -4, -3.02, 18, -4, -3.16, 17, -4, -3.3, 18, -3, -3.43, 17, -3, -3.57, 18, -2, -3.71, 17, -3, -3.86, 17, -2, -4, 18, -2, -4.14, 17, -1, -4.27, 16, -2, -4.4, 17, -1, -4.51, 17, 0, -4.62, 16, -1, -4.72, 16, 0, -4.81, 17, 1, -4.9, 16, 1, -4.98, 16, 1, -5.06, 16, 1, -5.13, 16, 2, -5.2, 16, 2, -5.26, 15, 3, -5.32, 16, 3, -5.37, 16, 3, -5.42, 15, 3, -5.47, 16, 4, -5.52, 15, 4, -5.56, 16, 5, -5.6, 15, 5, -5.63, 16, 5, -5.67, 15, 6, -5.7, 15, 6, -5.73, 15, 6, -5.76, 16, 6, -5.78, 15, 7, -5.81, 15, 7, -5.83, 15, 8, -5.85, 15, 7, -5.87, 15, 9, -5.89, 15, 8, -5.91, 14, 9, -5.93, 15, 9, -5.94, 15, 9, -5.96, 15, 10, -5.97, 14, 10, -5.98, 15, 10, -5.99, 14, 10, -6.01, 15, 11, -6.02, 14, 11, -6.03, 15, 12, -6.03, 14, 11, -6.04, 14, 12, -6.05, 15, 12, -6.1, 10, 0, -6.3, 12, -4, -6.1, 14, -3, -5.84, 12, -1, -5.67, 12, -1, -5.51, 12, -1, -5.36, 12, -1, -5.22, 11, -1, -5.13, 12, -2, -5.07, 12, 0, -5.01, 12, -1, -4.96, 12, 0, -4.91, 11, 0, -4.86, 12, 0, -4.81, 11, -1, -4.77, 11, 0, -4.74, 12, -1, -4.72, 11, 0, -4.7, 11, -1, -4.69, 11, 0, -4.69, 11, -1, -4.69, 10, -1, -4.69, 11, 0, -4.7, 11, -1, -4.71, 10, -1, -4.72, 11, -1, -4.74, 10, 0, -4.77, 10, -1, -4.8, 11, -1, -4.83, 10, -1, -4.87, 10, -1, -4.92, 10, -1, -4.97, 10, 0, -5.04, 11, -1, -5.11, 10, -1, -5.2, 10, 0, -5.29, 4, 0, -5.21, 4, -7, -5.32, 4, -6, -5.32, 4, -5, -5.34, 5, -6, -5.35, 3, -6, -5.37, 3, -4, -5.38, 3, -4, -5.39, 3, -3, -5.41, 3, -4, -5.42, 3, -3, -5.43, 3, -2, -5.44, 2, -3, -5.44, 3, -3, -5.45, 2, -2, -5.45, 2, -2, -5.44, 2, -2, -5.44, 1, -2, -5.44, 2, -1, -5.46, 2, -1, -5.48, 2, 0, -5.52, 2, -1, -5.56, 2, 1, -5.61, 2, 0, -5.67, 2, 1, -5.73, 1, 2, -5.79, 2, 1, -5.85, 2, 2, -5.9, 2, 2, -5.95, 2, 3, -6.01, 2, 2, -6.1, 3, 2, -6.18, 2, 2, -6.27, 2, 3, -6.36, 2, -2, -6.27, 2, -1, -6.22, 3, -1, -6.17, 3, 0, -6.13, 3, -1, -6.09, 4, 0, -6.07, 4, 0, -6.05, 4, 1, -6.04, 5, 0, -6.05, 5, 1, -6.05, 5, 1, -6.07, 6, 1, -6.1, 6, 2, -6.13, 7, 0, -6.12, 6, 1, -6.12, 7, 1, -6.12, 8, 0, -6.13, 6, 0, -6.2, 6, -2, -6.29, 6, -3, -6.42, 6, -3, -6.58, 7, -1, -6.68, 6, -2, -6.76, 7, -3, -6.8, 7, -4, -6.82, 8, -4, -6.82, 7, -5, -6.8, 8, -5, -6.79, 8, -4, -6.79, 8, -4, -6.79, 8, -3, -6.78, 9, -4, -6.78, 8, -3, -6.78, 8, -2, -6.78, 8, -2, -6.78, 8, -2, -6.78, 8, -2, -6.77, 8, -1, -6.77, 7, -1, -6.77, 8, 0, -6.77, 8, -2, -6.84, 6, -3, -6.88, 5, -4, -6.91, 5, -5, -6.94, 6, -6, -6.93, 6, -6, -6.9, 6, -5, -6.89, 6, -5, -6.88, 6, -4, -6.87, 7, -4, -6.86, 6, -4, -6.86, 6, -4, -6.85, 6, -3, -6.84, 6, -3, -6.84, 6, -2, -6.83, 7, -2, -6.83, 6, -2, -6.82, 6, -1, -6.82, 6, -1, -6.81, 6, -1, -6.81, 6, 0, -6.8, 6, 0, -6.8, 6, 0, -6.8, 6, 0, -6.79, 5, 1, -6.79)); AddData(new Array(6, 2, -6.79, 6, 1, -6.79, 6, 2, -6.78, 6, 2, -6.78, 6, 3, -6.78, 5, 3, -6.78, 6, 3, -6.78, 6, 4, -6.77, 6, 3, -6.77, 5, 5, -6.77, 6, 4, -6.77, 6, 5, -6.77, 5, 5, -6.77, 6, 6, -6.77, 6, 5, -6.76, 5, 6, -6.76, 6, 7, -6.76, 6, 4, -6.68, 6, 3, -6.51, 7, 1, -6.31, 8, -1, -6.24, 7, 0, -6.22, 7, -1, -6.23, 7, -2, -6.26, 8, -1, -6.24, 9, 0, -6.23, 8, -1, -6.23, 8, 1, -6.22, 8, 0, -6.21, 8, 1, -6.21, 8, 1, -6.2, 8, 1, -6.17, 9, 1, -6.13, 8, 1, -6.09, 8, 2, -6.05, 9, 1, -6, 9, 2, -5.94, 10, 3, -5.88, 9, 2, -5.83, 9, 3, -5.79, 9, 4, -5.74, 10, 3, -5.7, 9, 4, -5.66, 9, 5, -5.62, 9, 4, -5.59, 9, 5, -5.56, 9, 6, -5.53, 9, 5, -5.51, 10, 5, -5.52, 9, 4, -5.55, 9, 3, -5.65, 10, 2, -5.78, 10, 1, -5.94, 10, 1, -6.12, 10, 3, -6.24, 11, 1, -6.25, 11, 1, -6.24, 13, 0, -6.2, 12, 0, -6.19, 13, 0, -6.22, 11, -3, -6.35, 11, -3, -6.51, 10, -4, -6.69, 10, -5, -6.74, 11, -5, -6.75, 12, -7, -6.73, 12, -6, -6.7, 12, -5, -6.7, 11, -6, -6.69, 12, -5, -6.68, 12, -4, -6.68, 12, -5, -6.67, 12, -3, -6.67, 11, -4, -6.66, 12, -3, -6.66, 12, -3, -6.65, 11, -3, -6.65, 12, -2, -6.65, 11, -2, -6.64, 12, -1, -6.64, 11, -1, -6.64, 12, -1, -6.63, 11, -1, -6.63, 11, 0, -6.63, 12, 0, -6.62, 11, 1, -6.62, 11, 1, -6.62, 11, 1, -6.62, 11, 1, -6.62, 11, 2, -6.62, 12, 2, -6.61, 10, 0, -6.57, 11, -2, -6.56, 11, -4, -6.55, 10, -4, -6.54, 10, -6, -6.54, 11, -5, -6.55, 11, -4, -6.55, 11, -4, -6.55, 12, -3, -6.55, 11, -3, -6.56, 11, -3, -6.56, 11, -3, -6.56, 11, -2, -6.56, 11, -2, -6.57, 11, -1, -6.57, 11, -1, -6.57, 11, -1, -6.57, 10, 0, -6.57, 11, 0, -6.57, 11, 0, -6.58, 11, 0, -6.58, 10, 1, -6.58, 11, 1, -6.59, 11, 2, -6.61, 10, 2, -6.64, 10, 2, -6.67, 11, 2, -6.69, 10, 3, -6.72, 11, 3, -6.74, 10, 4, -6.76, 10, 4, -6.78, 10, 4, -6.8, 11, 4, -6.82, 10, 5, -6.84, 7, -3, -6.77, 6, -4, -6.79, 6, -6, -6.79, 5, -6, -6.8, 6, -5, -6.81, 6, -5, -6.81, 7, -5, -6.82, 6, -4, -6.82, 7, -4, -6.82, 6, -4, -6.83, 7, -3, -6.83, 6, -3, -6.82, 6, -4, -6.79, 7, -3, -6.77, 7, -4, -6.73, 7, -3, -6.7, 8, -3, -6.66, 7, -3, -6.63, 8, -2, -6.59, 8, -2, -6.55, 7, -2, -6.49, 8, -1, -6.44, 7, -1, -6.39, 8, -1, -6.35, 7, 0, -6.31, 8, 0, -6.27, 7, 0, -6.23, 8, 1, -6.2, 7, 1, -6.16, 7, 1, -6.14, 7, 2, -6.11, 8, 2, -6.08, 7, 2, -6.06, 7, 3, -6.03, 7, 3, -6.01, 7, 3, -5.99, 7, 4, -5.97, 7, 3, -5.96, 7, 5, -5.94, 7, 4, -5.92, 7, 5, -5.91, 7, 5, -5.9, 7, 6, -5.88, 7, 6, -5.87, 8, 5, -5.92, 8, 2, -5.91, 9, 2, -5.91, 9, 2, -5.94, 10, 2, -5.96, 10, 3, -5.97, 11, 3, -5.98, 11, 3, -5.97, 11, 3, -5.96, 12, 4, -5.95, 12, 4, -5.96, 13, 3, -5.95, 12, 4, -5.96, 14, 3, -5.99, 13, 2, -6.04, 13, 3, -6.1, 15, 2, -6.08, 14, 2, -6.07, 15, 2, -6.07, 16, 2, -6.08, 15, 2, -6.13, 16, 1, -6.18, 16, 0, -6.26, 15, -2, -6.29, 15, -5, -6.41, 14, -6, -6.51, 14, -5, -6.68, 12, -7, -6.77, 15, -7, -6.73, 15, -8, -6.69, 16, -7, -6.67, 15, -7, -6.65, 15, -7, -6.64, 15, -6, -6.63, 14, -6, -6.61, 15, -5, -6.6, 15, -5, -6.59, 15, -5, -6.58, 15, -4, -6.57, 14, -4, -6.57, 15, -4, -6.56, 14, -3, -6.55, 15, -3, -6.54, 14, -3, -6.54, 15, -2, -6.53, 14, -2, -6.53, 14, -2, -6.52, 15, -1, -6.52, 14, -1, -6.51, 14, 0, -6.51, 14, -1, -6.5, 14, 0, -6.5, 14, 1, -6.5, 14, 1, -6.49, 14, 1, -6.49, 14, 1, -6.49, 14, 2, -6.48, 14, 2, -6.48, 13, 2, -6.48, 14, 3, -6.48, 14, 3, -6.48, 13, 3, -6.47, 14, 4, -6.47, 13, 4, -6.47, 14, 4, -6.47, 13, 5, -6.47, 13, 5, -6.47, 14, 5, -6.46, 13, 5, -6.46, 13, 6, -6.46, 13, 6, -6.42, 13, 4, -6.33, 15, 4, -6.17, 14, 3, -6.02, 14, 5, -5.91, 14, 5, -5.82, 13, 5, -5.74, 14, 6, -5.66, 13, 6, -5.59, 12, 7, -5.48, 11, -2, -5.69, 12, -1, -5.85, 13, -1, -5.94, 11, -1, -6.08, 13, 3, -6.11, 12, 2, -6.18, 13, 2, -6.24, 12, 2, -6.29, 12, 2, -6.29, 13, 2, -6.27, 13, 2, -6.26, 13, 2, -6.26, 13, 3, -6.23, 13, 2, -6.2, 13, 3, -6.17, 14, 3, -6.13, 14, 4, -6.09, 14, 2, -6.08, 15, 2, -6.1, 14, 0, -6.12, 15, 0, -6.15, 15, 0, -6.18, 16, 1, -6.19, 15, 1, -6.2, 16, 1, -6.2, 17, 1, -6.19, 17, 2, -6.18, 15, -2, -6.29, 14, -5, -6.47, 14, -4, -6.67, 12, -7, -6.74, 14, -7, -6.77, 15, -8, -6.75, 15, -9, -6.7, 15, -7, -6.69, 15, -7, -6.68, 15, -7, -6.67, 16, -7, -6.66, 15, -6, -6.65, 15, -6, -6.65, 15, -5, -6.64, 15, -5, -6.63, 15, -5, -6.63, 15, -4, -6.62, 15, -5, -6.62, 15, -3, -6.61, 15, -4, -6.61, 14, -3, -6.6, 15, -2, -6.6, 15, -3, -6.59, 14, -2, -6.59, 15, -1, -6.59, 14, -2, -6.58, 15, -1, -6.58, 14, -1, -6.58, 15, 0, -6.58, 14, 0, -6.57, 14, 0, -6.57, 14, 1, -6.57, 15, 1, -6.57, 14, 1, -6.56, 14, 2, -6.56, 14, 2, -6.56, 14, 2, -6.56, 14, 3, -6.56, 14, 3, -6.56, 13, 3, -6.56, 14, 3, -6.51, 14, 0, -6.47, 14, -1, -6.41, 14, -4, -6.41, 13, -4, -6.4, 14, -6, -6.39, 14, -3, -6.43, 14, -4, -6.44, 15, -3, -6.45, 14, -3, -6.46, 15, -2, -6.47, 14, -2, -6.48, 15, -3, -6.46, 15, -2, -6.44, 15, -3, -6.43, 15, -3, -6.43, 16, -3, -6.43, 15, -3, -6.43, 16, -3, -6.43, 17, -3, -6.43, 16, -3, -6.43, 17, -4, -6.43, 17, -3, -6.43, 17, -3, -6.43, 17, -4, -6.43, 18, -3, -6.43, 18, -4, -6.43, 18, -3, -6.42, 18, -3, -6.4, 19, -3, -6.38, 19, -3, -6.37, 19, -2, -6.35, 20, -2, -6.34, 19, -2, -6.32, 19, -1, -6.31, 18, -2, -6.3, 19, 0, -6.29, 19, -1, -6.28, 19, 0, -6.27, 18, 1, -6.26, 19, 0, -6.25, 18, 1, -6.24, 19, 2, -6.23, 18, 1, -6.23, 18, 2, -6.22, 19, 2, -6.21, 18, 3, -6.21, 18, 3, -6.2, 18, 3, -6.2, 18, 4, -6.19, 18, 3, -6.19, 18, 5, -6.18, 17, 4, -6.18, 18, 5, -6.18, 18, 5, -6.17, 17, 6, -6.17, 18, 5, -6.17, 17, 6, -6.16, 18, 7, -6.16, 17, 7, -6.16, 18, 7, -6.16, 17, 2, -6.22, 16, 2, -6.24, 18, -1, -6.21, 18, -2, -6.2, 20, -1, -6.12, 19, 1, -6.14, 19, 1, -6.13, 18, 1, -6.13, 19, 2, -6.12, 19, 2, -6.12, 18, 2, -6.11, 19, 2, -6.12, 18, 2, -6.16, 19, 2, -6.17, 20, 1, -6.16, 19, 1, -6.18, 20, 1, -6.22, 20, 1, -6.23, 21, 0, -6.22, 21, 1, -6.22, 21, 1, -6.21, 21, 2, -6.2, 21, 2, -6.19, 20, 2, -6.19, 21, 3, -6.18, 21, 3, -6.18, 20, 3, -6.17, 21, 3, -6.17, 20, 4, -6.16, 20, 5, -6.16, 21, 4, -6.15, 20, 5, -6.15, 20, 5, -6.15, 20, 5, -6.14, 20, 6, -6.14, 20, 6, -6.14, 20, 7, -6.14, 19, 6, -6.16, 20, 7, -6.19, 19, 7, -6.22, 20, 8, -6.27, 19, 8, -6.32, 20, 7, -6.44, 13, -2, -6.65, 17, -7, -6.55, 15, -7, -6.56, 16, -6, -6.55, 17, -7, -6.5, 17, -4, -6.51, 16, -5, -6.53, 17, -4, -6.56, 16, -4, -6.6, 16, -4, -6.64, 16, -3, -6.7, 16, -3, -6.75, 16, -2, -6.79, 16, -2, -6.84, 16, -2, -6.88, 16, -2, -6.91, 16, -1, -6.95, 16, 0, -6.98, 16, -1, -7.01, 16, 0, -7.04, 15, 0, -7.07, 16, 1, -7.09, 16, 1, -7.12, 15, 1, -7.14, 16, 2, -7.16, 15, 1, -7.18, 16, 3, -7.2, 15, 2, -7.21, 16, 3, -7.23, 15, 3, -7.24, 15, 4, -7.23, 16, 3, -7.21, 15, 4, -7.19, 15, 5, -7.16, 16, 4, -7.14, 15, 5, -7.12, 15, 6, -7.1, 15, 5, -7.08, 15, 6, -7.07, 15, 6, -7.05, 15, 3, -6.9, 15, 0, -6.66, 16, -1, -6.4, 15, 1, -6.19, 16, 1, -6.02, 16, 1, -5.87, 16, 2, -5.74, 15, 2, -5.63, 15, 3, -5.52, 15, 3, -5.41, 16, 3, -5.32, 15, 4, -5.23, 14, 3, -5.14, 15, 5, -5.06, 15, 4, -4.99, 14, 5, -4.93, 15, 5, -4.89, 15, 5, -4.86, 14, 5, -4.84, 14, 6, -4.83, 15, 6, -4.83, 14, 6, -4.85, 15, 6, -4.87, 14, 7, -4.9, 14, 7, -4.94, 14, 7, -4.99, 14, 8, -5.03, 14, 8, -5.08, 14, 8, -5.12, 14, 9, -5.15, 14, 9, -5.19, 14, 9, -5.22, 14, 9, -5.25, 14, 10, -5.28, 13, 10, -5.3, 14, 11, -5.33, 14, 10, -5.35, 13, 11, -5.37, 14, 12, -5.39, 13, 11, -5.41)); AddData(new Array(13, 12, -5.43, 14, 13, -5.45, 13, 12, -5.46, 14, 13, -5.48, 13, 11, -5.56, 15, 8, -5.76, 14, 6, -5.86, 17, 4, -5.92, 17, 1, -6.05, 16, 1, -6.18, 16, 0, -6.31, 18, 0, -6.31, 18, -1, -6.29, 18, -1, -6.29, 19, 0, -6.29, 19, 0, -6.28, 20, 1, -6.27, 19, 0, -6.24, 20, 0, -6.24, 20, -1, -6.25, 20, 0, -6.25, 21, 0, -6.25, 18, -3, -6.38, 15, -8, -6.66, 13, -9, -6.82, 12, -12, -6.84, 12, -14, -6.79, 13, -13, -6.74, 13, -12, -6.74, 13, -12, -6.75, 12, -11, -6.78, 13, -11, -6.81, 12, -11, -6.85, 13, -10, -6.89, 12, -10, -6.95, 12, -9, -7.01, 13, -9, -7.08, 12, -9, -7.15, 12, -8, -7.23, 12, -8, -7.32, 12, -7, -7.41, 12, -7, -7.5, 12, -6, -7.6, 12, -7, -7.7, 12, -5, -7.81, 12, -6, -7.91, 12, -5, -8.03, 12, -4, -8.14, 12, -5, -8.26, 12, -4, -8.38, 12, -3, -8.5, 12, -3, -8.62, 12, -3, -8.75, 12, -3, -8.88, 12, -2, -9.01, 13, -2, -9.14, 12, -2, -9.27, 12, -2, -9.41, 12, -1, -9.54, 13, -1, -9.68, 12, -1, -9.82, 12, 0, -9.95, 12, -1, -10.09, 12, 0, -10.23, 12, 1, -10.37, 12, 0, -10.52, 11, 1, -10.66, 12, 1, -10.8, 11, 1, -10.94, 12, 2, -11.06, 11, 2, -11.18, 11, 2, -11.28, 11, 3, -11.38, 11, 3, -11.48, 11, 3, -11.57, 11, 4, -11.65, 11, 4, -11.73, 10, 5, -11.8, 11, 5, -11.87, 11, 5, -11.93, 10, 5, -11.99, 11, 6, -12.04, 10, 6, -12.09, 11, 7, -12.14, 10, 7, -12.19, 11, 7, -12.23, 10, 7, -12.27, 10, 8, -12.3, 11, 8, -12.34, 10, 9, -12.37, 10, 9, -12.4, 11, 9, -12.43, 10, 9, -12.46, 10, 10, -12.48, 10, 10, -12.5, 10, 10, -12.52, 10, 11, -12.55, 11, 11, -12.56, 10, 11, -12.58, 10, 11, -12.6, 10, 12, -12.61, 10, 12, -12.63, 10, 13, -12.64, 9, 11, -12.58, 14, 3, -12.33, 8, -5, -12.55, 9, -4, -12.65, 9, -5, -12.78, 8, -4, -12.96, 10, -3, -13.06, 10, -4, -13.1, 10, -5, -13.12, 9, -7, -13.14, 9, -7, -13.17, 9, -8, -13.22, 9, -7, -13.27, 9, -8, -13.26, 9, -8, -13.26, 9, -8, -13.25, 10, -8, -13.23, 9, -9, -13.21, 10, -8, -13.18, 10, -7, -13.15, 10, -8, -13.1, 10, -7, -13.05, 10, -7, -12.99, 10, -6, -12.93, 10, -6, -12.86, 10, -5, -12.79, 10, -6, -12.73, 10, -5, -12.67, 9, -4, -12.62, 10, -4, -12.57, 10, -4, -12.52, 9, -3, -12.47, 10, -3, -12.43, 9, -3, -12.39, 10, -2, -12.36, 9, -3, -12.32, 10, -1, -12.29, 9, -2, -12.26, 9, -1, -12.23, 10, 0, -12.21, 9, -1, -12.18, 9, 0, -12.16, 9, 1, -12.14, 9, 0, -12.12, 9, 1, -12.1, 9, 1, -12.08, 9, 2, -12.07, 9, 2, -12.05, 9, 2, -12.04, 9, 3, -12.02, 9, 3, -12.01, 9, 3, -12, 9, 3, -11.99, 8, 4, -11.98, 9, 4, -11.97, 9, 5, -11.96, 9, 5, -11.95, 8, 5, -11.94, 9, 5, -11.94, 8, 6, -11.93, 9, 6, -11.92, 8, 7, -11.92, 9, 6, -11.91, 8, 7, -11.91, 9, 7, -11.9, 8, 8, -11.9, 8, 5, -11.99, 8, 3, -12.12, 9, 3, -12.29, 8, 3, -12.46, 8, -1, -12.42, 10, -1, -12.32, 10, -1, -12.2, 10, 0, -12.12, 9, 0, -12.04, 10, 0, -11.98, 9, 1, -11.91, 9, 1, -11.85, 10, 2, -11.79, 9, 1, -11.74, 9, 2, -11.7, 10, 2, -11.69, 10, 2, -11.69, 10, 2, -11.69, 10, 2, -11.7, 10, 2, -11.73, 11, 3, -11.76, 11, 3, -11.81, 10, 3, -11.85, 11, 1, -11.94, 11, 1, -12.07, 11, 0, -12.22, 11, 0, -12.39, 10, -1, -12.59, 11, 1, -12.75, 11, -2, -12.78, 12, -2, -12.8, 12, -2, -12.78, 13, -4, -12.75, 12, -4, -12.77, 12, -5, -12.81, 13, -3, -12.85, 12, -3, -12.88, 13, -5, -12.85, 12, -3, -12.84, 13, -4, -12.82, 13, -3, -12.81, 13, -3, -12.79, 12, -2, -12.78, 13, -2, -12.77, 12, -2, -12.76, 13, -2, -12.75, 12, -1, -12.74, 13, 0, -12.73, 12, -1, -12.72, 12, 0, -12.71, 13, 0, -12.71, 12, 1, -12.7, 12, 1, -12.69, 12, 1, -12.69, 12, 2, -12.68, 12, 2, -12.68, 13, 2, -12.67, 12, 3, -12.67, 11, 2, -12.66, 12, 4, -12.66, 12, 3, -12.66, 12, 4, -12.65, 12, 4, -12.65, 12, 5, -12.65, 11, 4, -12.64, 12, 6, -12.64, 12, 5, -12.64, 11, 6, -12.64, 12, 6, -12.63, 11, 6, -12.63, 12, 7, -12.63, 11, 7, -12.63, 12, 7, -12.63, 11, 8, -12.62, 11, 8, -12.62, 11, 8, -12.62, 12, 8, -12.62, 11, 9, -12.62, 11, 9, -12.62, 11, 10, -12.62, 11, 10, -12.62, 12, 8, -12.55, 12, 7, -12.41, 14, 8, -12.24, 15, 5, -12.13, 14, 1, -12.22, 12, -1, -12.39, 13, -1, -12.57, 12, -2, -12.77, 13, -2, -12.78, 14, -2, -12.79, 14, -4, -12.76, 15, -3, -12.71, 15, -3, -12.69, 15, -3, -12.67, 16, -2, -12.65, 15, -1, -12.63, 15, -2, -12.62, 15, -1, -12.6, 15, -1, -12.59, 15, 0, -12.58, 15, 0, -12.57, 15, 0, -12.56, 15, 0, -12.54, 15, 1, -12.54, 14, 2, -12.53, 15, 1, -12.52, 15, 2, -12.51, 14, 2, -12.5, 15, 3, -12.5, 14, 3, -12.49, 15, 3, -12.48, 14, 3, -12.48, 14, 4, -12.47, 15, 4, -12.47, 14, 5, -12.46, 14, 4, -12.49, 15, 1, -12.47, 14, 0, -12.46, 15, -1, -12.45, 15, -1, -12.48, 15, -2, -12.54, 16, 0, -12.54, 16, 0, -12.56, 17, 0, -12.56, 17, 0, -12.56, 17, 0, -12.55, 17, 1, -12.52, 11, -7, -12.85, 11, -7, -13.09, 10, -8, -13.27, 8, -9, -13.38, 11, -10, -13.36, 10, -12, -13.32, 10, -11, -13.3, 11, -10, -13.3, 10, -10, -13.29, 11, -10, -13.29, 10, -9, -13.28, 11, -9, -13.27, 10, -8, -13.24, 11, -9, -13.21, 10, -7, -13.17, 11, -8, -13.12, 10, -7, -13.06, 11, -7, -13, 10, -6, -12.93, 11, -6, -12.86, 10, -6, -12.78, 11, -5, -12.69, 10, -5, -12.6, 11, -5, -12.51, 10, -4, -12.41, 10, -4, -12.31, 11, -3, -12.2, 10, -3, -12.09, 10, -2, -11.98, 10, -2, -11.86, 11, -2, -11.75, 9, -2, -11.64, 10, -1, -11.53, 10, 0, -11.45, 10, -1, -11.38, 9, 0, -11.32, 10, 0, -11.28, 10, 0, -11.26, 9, 1, -11.24, 10, 0, -11.24, 9, 2, -11.23, 10, 1, -11.23, 9, 2, -11.22, 9, 2, -11.22, 10, 2, -11.22, 9, 3, -11.22, 9, 3, -11.21, 9, 4, -11.21, 10, 3, -11.21, 9, 4, -11.22, 9, 5, -11.23, 9, 4, -11.26, 9, 5, -11.3, 9, 5, -11.34, 9, 6, -11.39, 9, 5, -11.45, 9, 6, -11.51, 9, 7, -11.58, 9, 6, -11.63, 9, 7, -11.68, 8, 7, -11.73, 9, 8, -11.78, 9, 8, -11.82, 8, 8, -11.86, 9, 9, -11.9, 9, 9, -11.94, 8, 9, -11.97, 9, 9, -12, 8, 10, -12.03, 9, 10, -12.06, 8, 11, -12.08, 9, 10, -12.13, 9, 5, -12.38, 8, -1, -12.4, 11, -2, -12.34, 11, -3, -12.28, 12, -2, -12.22, 11, -1, -12.19, 11, 0, -12.16, 11, 0, -12.13, 11, 0, -12.11, 11, 1, -12.08, 10, 0, -12.07, 11, -1, -12.12, 11, -2, -12.21, 10, -2, -12.32, 10, -3, -12.45, 11, -2, -12.57, 11, -1, -12.67, 12, -1, -12.77, 11, -1, -12.82, 11, -2, -12.81, 12, -3, -12.78, 13, -4, -12.7, 12, -3, -12.63, 13, -3, -12.56, 12, -2, -12.5, 13, -2, -12.44, 12, -2, -12.38, 12, -1, -12.33, 12, -1, -12.28, 13, -1, -12.24, 12, -1, -12.2, 12, 0, -12.16, 12, 1, -12.12, 12, 0, -12.09, 11, 1, -12.05, 12, 1, -12.02, 12, 2, -12, 12, 2, -11.97, 11, 2, -11.94, 12, 3, -11.92, 12, 3, -11.9, 11, 3, -11.88, 12, 3, -11.86, 11, 4, -11.84, 11, 4, -11.83, 12, 5, -11.82, 11, 4, -11.82, 11, 5, -11.81, 12, 6, -11.81, 11, 5, -11.8, 11, 6, -11.8, 11, 7, -11.8, 11, 6, -11.79, 11, 7, -11.79, 11, 7, -11.79, 11, 8, -11.78, 11, 8, -11.78, 11, 8, -11.78, 11, 8, -11.78, 11, 9, -11.78, 11, 8, -11.82, 12, 8, -11.89, 12, 7, -11.99, 13, 6, -12.05, 14, 6, -12.05, 14, 6, -12.05, 14, 8, -12.04, 15, 7, -12.03, 14, 8, -12.03, 15, 9, -12.02, 14, 8, -12.02, 13, 4, -12.19, 10, -2, -12.52, 13, -1, -12.74, 11, -5, -12.79, 11, -6, -12.86, 12, -5, -12.87, 13, -4, -12.87, 12, -5, -12.86, 14, -4, -12.85, 13, -4, -12.85, 14, -4, -12.84, 14, -3, -12.83, 13, -4, -12.83, 13, -2, -12.82, 14, -3, -12.81, 13, -2, -12.81, 14, -2, -12.8, 13, -1, -12.8, 13, -1, -12.8, 13, -1, -12.79, 13, 0, -12.79, 13, 0, -12.78, 13, -1, -12.81, 12, -3, -12.8, 11, -5, -12.75, 12, -5, -12.67, 12, -5, -12.62, 12, -4, -12.57, 12, -4, -12.52, 12, -3, -12.48, 11, -3, -12.45, 12, -3, -12.43, 12, -3, -12.42, 12, -3, -12.42, 13, -3, -12.44, 12, -2, -12.46, 13, -3, -12.49, 13, -2, -12.53, 14, -3, -12.58, 13, -2, -12.63, 14, -2, -12.69, 14, -2, -12.76, 14, -3, -12.75, 15, -4, -12.71, 14, -4, -12.7, 15, -3, -12.69, 15, -3, -12.68, 14, -2, -12.67, 15, -3, -12.66, 14, -1, -12.65, 15, -2, -12.64, 14, -1, -12.63, 15, -1, -12.62, 14, 0, -12.61, 14, 0, -12.61, 14, 0, -12.6, 14, 0, -12.59, 14, 1, -12.59, 15, 1, -12.58, 14, 2, -12.58)); AddData(new Array(13, 2, -12.57, 14, 2, -12.57, 14, 2, -12.56, 14, 3, -12.56, 14, 3, -12.56, 13, 4, -12.55, 14, 4, -12.55, 14, 4, -12.55, 13, 4, -12.54, 14, 5, -12.54, 13, 5, -12.54, 14, 5, -12.54, 13, 6, -12.53, 13, 6, -12.53, 14, 6, -12.49, 14, 2, -12.46, 14, 2, -12.45, 14, -1, -12.46, 15, -1, -12.46, 15, -2, -12.5, 16, 1, -12.5, 15, 0, -12.51, 16, 1, -12.52, 16, 1, -12.53, 16, 1, -12.53, 16, 1, -12.53, 16, 2, -12.53, 17, 2, -12.53, 16, 2, -12.53, 16, 3, -12.53, 16, 3, -12.53, 16, 3, -12.53, 17, 3, -12.53, 16, 4, -12.53, 15, 5, -12.53, 16, 4, -12.54, 16, 5, -12.56, 16, 5, -12.59, 15, 6, -12.63, 16, 5, -12.67, 13, 2, -12.92, 10, -1, -13.02, 9, -3, -12.93, 9, -4, -12.79, 10, -5, -12.64, 11, -4, -12.48, 9, -3, -12.4, 10, -2, -12.31, 9, -3, -12.23, 10, -2, -12.15, 10, -1, -12.07, 9, -2, -12.01, 9, -1, -11.97, 10, 0, -11.94, 9, -1, -11.92, 9, 0, -11.91, 9, 0, -11.91, 9, 1, -11.93, 9, 1, -11.95, 9, 1, -11.98, 9, 1, -12.03, 9, 1, -12.11, 9, 0, -12.23, 9, 0, -12.36, 9, -1, -12.52, 9, 0, -12.67, 10, 0, -12.8, 10, -1, -12.81, 10, -2, -12.82, 10, -3, -12.8, 12, -3, -12.76, 11, -3, -12.72, 12, -2, -12.7, 12, -2, -12.68, 11, -2, -12.66, 12, -1, -12.65, 11, -1, -12.63, 12, -1, -12.62, 11, 0, -12.61, 12, 0, -12.59, 11, 1, -12.58, 11, 0, -12.57, 12, 1, -12.56, 11, 2, -12.55, 11, 1, -12.54, 11, 2, -12.53, 11, 3, -12.53, 11, 2, -12.52, 11, 3, -12.51, 11, 4, -12.51, 11, 3, -12.5, 11, 4, -12.5, 11, 5, -12.49, 11, 4, -12.49, 11, 5, -12.48, 11, 5, -12.48, 10, 6, -12.47, 11, 6, -12.47, 11, 5, -12.53, 9, -1, -12.61, 10, -3, -12.62, 10, -3, -12.63, 11, -3, -12.64, 10, -3, -12.68, 11, -3, -12.69, 12, -2, -12.69, 11, -2, -12.7, 11, -1, -12.71, 11, -1, -12.71, 12, -2, -12.68, 11, -2, -12.7, 12, -2, -12.7, 12, -2, -12.69, 13, -2, -12.69, 12, -2, -12.69, 13, -3, -12.69, 13, -2, -12.69, 13, -2, -12.69, 14, -2, -12.69, 14, -3, -12.69, 14, -2, -12.69, 14, -3, -12.69, 15, -2, -12.69, 15, -3, -12.69, 15, -2, -12.69, 15, -3, -12.69, 16, -3, -12.69, 16, -2, -12.69, 16, -3, -12.69, 16, -3, -12.68, 17, -2, -12.67, 17, -2, -12.65, 18, -2, -12.63, 17, -2, -12.61, 18, -1, -12.6, 17, -1, -12.58, 18, -1, -12.57, 17, 0, -12.56, 17, 0, -12.55, 17, 0, -12.54, 17, 1, -12.53, 17, 1, -12.52, 17, 1, -12.51, 17, 2, -12.5, 17, 2, -12.49, 16, 2, -12.49, 17, 3, -12.48, 17, 3, -12.47, 16, 3, -12.47, 17, 4, -12.46, 16, 4, -12.46, 17, 4, -12.45, 16, 4, -12.45, 16, 5, -12.44, 16, 2, -12.58, 15, 1, -12.75, 10, -6, -12.46, 10, -5, -12.17, 11, -4, -11.9, 10, -3, -11.65, 10, -3, -11.42, 9, -3, -11.2, 9, -3, -11.01, 9, -2, -10.82, 9, -2, -10.65, 9, -2, -10.49, 9, -2, -10.35, 8, -1, -10.21, 9, -1, -10.08, 9, -1, -9.96, 8, -1, -9.85, 9, -1, -9.75, 9, 0, -9.66, 8, 0, -9.59, 9, 1, -9.53, 9, 1, -9.49, 9, 1, -9.46, 9, 1, -9.45, 9, 2, -9.44, 8, 2, -9.43, 9, 3, -9.4, 9, 3, -9.37, 8, 3, -9.33, 9, 3, -9.28, 8, 4, -9.22, 9, 4, -9.16, 8, 4, -9.09, 9, 4, -9.01, 8, 5, -8.93, 8, 5, -8.85, 8, -1, -9.02, 5, 0, -9.09, 2, -1, -9.08, 3, -2, -9.09, 2, -1, -9.08, 2, -1, -9.06, 2, 0, -9.04, 1, -2, -8.98, 1, -1, -8.92, 1, -1, -8.87, 1, -2, -8.82, 2, -1, -8.76, 1, -1, -8.72, 1, -1, -8.67, 1, -1, -8.63, 0, -1, -8.58, 1, -1, -8.53, 0, -2, -8.48, 0, -1, -8.43, -1, -2, -8.38, 0, -2, -8.32, -1, -1, -8.25, -1, -2, -8.18, -1, -2, -8.11, -1, -1, -8.03, 0, -1, -7.95, -1, -1, -7.86, -1, 0, -7.76, 0, 0, -7.66, -1, 0, -7.56, -1, 1, -7.46, 0, 1, -7.35, 0, 1, -7.24, -1, 2, -7.12, 0, 2, -7.01, -1, 3, -6.91, 0, 3, -6.82, 0, 3, -6.73, -1, 4, -6.66, 0, 4, -6.61, -1, 4, -6.56, 0, 3, -6.6, -1, 2, -6.68, -1, 1, -6.8, -1, 1, -6.82, 0, 0, -6.81, 0, -1, -6.78, 1, 0, -6.76, 0, -1, -6.76, 1, 0, -6.76, 1, -1, -6.77, 2, 0, -6.77, 2, -1, -6.75, 2, -1, -6.74, 2, 0, -6.72, 3, -1, -6.69, 3, -1, -6.66, 3, 0, -6.62, 3, -1, -6.58, 4, -1, -6.53, 4, 0, -6.47, 4, 0, -6.4, 5, 0, -6.32, 5, 0, -6.23, 5, -1, -6.14, 6, 0, -6.07, 5, -1, -5.99, 6, 0, -5.93, 7, 0, -5.88, 7, 1, -5.83, 7, 1, -5.8, 7, 1, -5.78, 7, 0, -5.78, 8, 1, -5.82, 8, 0, -5.88, 8, 0, -5.92, 8, 2, -5.97, 9, 1, -6.03, 9, 1, -6.1, 10, 2, -6.18, 9, 1, -6.22, 10, 0, -6.21, 11, 0, -6.18, 11, 0, -6.18, 11, 0, -6.18, 12, 0, -6.2, 11, 1, -6.22, 12, 0, -6.23, 13, 1, -6.23, 12, 0, -6.23, 13, 0, -6.23, 13, 0, -6.23, 14, 0, -6.23, 14, 0, -6.23, 14, 0, -6.23, 14, 1, -6.23, 15, 0, -6.23, 15, 0, -6.23, 15, 0, -6.23, 16, 0, -6.23, 16, 1, -6.23, 16, 0, -6.23, 17, -6, -6.25, 17, -6, -6.25, 17, -5, -6.28, 17, -5, -6.32, 11, -6, -6.5, 8, -9, -6.85, 9, -10, -7.09, 6, -8, -7.31, 8, -11, -7.25, 8, -12, -7.2, 7, -12, -7.13, 7, -11, -7.12, 7, -10, -7.1, 8, -10, -7.08, 7, -9, -7.04, 7, -9, -7, 8, -9, -6.95, 7, -9, -6.89, 8, -8, -6.83, 7, -7, -6.76, 7, -8, -6.68, 8, -7, -6.6, 7, -6, -6.53, 7, -6, -6.46, 8, -6, -6.39, 7, -5, -6.33, 7, -5, -6.27, 7, -5, -6.21, 7, -4, -6.16, 7, -4, -6.12, 7, -4, -6.07, 7, -3, -6.03, 7, -3, -5.99, 7, -3, -5.96, 7, -2, -5.92, 7, -2, -5.89, 7, -2, -5.86, 6, -1, -5.83, 7, -1, -5.81, 7, 0, -5.78, 7, -1, -5.76, 6, 1, -5.74, 7, 0, -5.72, 6, 1, -5.7, 7, 1, -5.68, 6, 1, -5.67, 7, 2, -5.65, 6, 2, -5.64, 7, 2, -5.62, 6, 3, -5.61, 7, 3, -5.6, 6, 3, -5.59, 6, 4, -5.58, 7, 4, -5.57, 6, 4, -5.56, 6, 5, -5.55, 7, 5, -5.54, 6, 5, -5.53, 6, 6, -5.53, 6, 5, -5.52, 7, 7, -5.52, 6, 6, -5.52, 6, 7, -5.53, 6, 7, -5.56, 6, 7, -5.59, 6, 7, -5.63, 6, 8, -5.68, 5, 8, -5.74, 6, 9, -5.8, 6, 8, -5.87, 6, 9, -5.93, 5, 10, -5.99, 6, 10, -6.05, 6, 10, -6.1, 5, 10, -6.15, 6, 10, -6.2, 6, 7, -6.24, 8, -1, -6.23, 8, -1, -6.24, 8, -2, -6.24, 8, -2, -6.24, 9, 0, -6.25, 9, -1, -6.25, 9, 0, -6.25, 9, 1, -6.26, 9, 0, -6.25, 9, 0, -6.24, 9, 0, -6.25, 10, 0, -6.24, 10, 1, -6.24, 10, 0, -6.24, 11, 0, -6.24, 11, 0, -6.24, 11, 0, -6.24, 11, 0, -6.24, 12, 0, -6.24, 12, 0, -6.24, 13, 0, -6.24, 12, 0, -6.24, 13, 0, -6.24, 14, 0, -6.24, 13, 0, -6.24, 14, 0, -6.24, 14, 0, -6.24, 15, 0, -6.24, 15, 0, -6.24, 15, 0, -6.24, 15, 0, -6.24, 16, 0, -6.24, 16, 0, -6.24, 16, 0, -6.24, 17, 0, -6.24, 17, 0, -6.24, 17, 0, -6.24, 18, 0, -6.24, 17, 0, -6.24, 18, 0, -6.24, 19, 0, -6.24, 18, 0, -6.24, 19, 0, -6.24, 19, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24)); AddData(new Array(25, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 25, 0, -6.24, 24, 0, -6.24, 25, 0, -6.24, 25, -1, -6.23, 25, 0, -6.21, 24, 0, -6.2, 25, 0, -6.2, 24, 0, -6.2, 24, 0, -6.21, 24, 0, -6.23, 24, 1, -6.24, 24, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 24, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 23, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 22, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 21, 0, -6.24)); StopData(); StartData(20); AddData(new Array(1334, 1107, 0.05, 1, 0, 0.05, 1, 0, 0.05, 1, 0, 0.05, 2, 0, 0.04, 2, 0, 0.05, 2, 0, 0.05, 3, 0, 0.05, 3, 0, 0.05, 3, 0, 0.05, 4, 0, 0.05, 4, 0, 0.05, 4, 0, 0.05, 5, 0, 0.05, 5, 0, 0.05, 6, 0, 0.05, 5, 0, 0.05, 6, 0, 0.05, 7, 0, 0.05, 6, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 7, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 8, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 9, 0, 0.05, 10, 0, 0.05, 10, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 11, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 12, 0, 0.05, 13, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 13, 0, 0.05, 14, 0, 0.05, 14, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 15, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 16, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 17, 0, 0.05, 18, 0, 0.05, 18, 0, 0.05, 19, 0, 0.05, 18, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 19, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.06, 21, 1, 0.08, 20, 0, 0.09, 20, 2, 0.1, 20, 1, 0.11, 20, 2, 0.12, 20, 2, 0.13, 19, 3, 0.13, 20, 2, 0.14, 20, 3, 0.15, 19, 4, 0.15, 19, 4, 0.16, 20, 4, 0.16, 19, 4, 0.17, 19, 5, 0.17, 19, 5, 0.18, 20, 5, 0.18, 19, 6, 0.19, 19, 6, 0.19, 18, 6, 0.19, 19, 7, 0.2, 19, 6, 0.22, 20, 7, 0.26, 19, 6, 0.3, 20, 7, 0.34, 19, 6, 0.34, 20, 5, 0.32, 19, 5, 0.29, 20, 4, 0.29, 21, 4, 0.34, 20, 4, 0.37, 20, 4, 0.39, 20, 4, 0.39, 19, 5, 0.39, 20, 4, 0.36, 20, 5, 0.33, 20, 4, 0.3, 19, 5, 0.26, 20, 5, 0.23, 20, 3, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 4, 0.24, 20, 3, 0.21, 20, 3, 0.18, 21, 2, 0.23, 21, 2, 0.29, 20, 2, 0.32, 20, 1, 0.31, 20, 1, 0.26, 20, 2, 0.24, 20, 2, 0.2, 20, 1, 0.16, 20, 2, 0.11, 20, 2, 0.09, 20, 0, 0.11, 21, 1, 0.11, 20, 1, 0.1, 20, 1, 0.09, 21, 1, 0.08, 20, 1, 0.08, 20, 0, 0.06, 21, 0, 0.05, 20, 1, 0.05, 20, -1, 0.05, 21, 1, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.04, 21, 0, 0.04, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.02, 20, -1, 0.02, 20, 0, 0.02, 21, -1, 0.01, 20, -1, -0.02, 20, -2, -0.08, 19, -4, -0.14, 20, -6, -0.21, 18, -6, -0.32, 17, -7, -0.4, 16, -10, -0.55, 14, -10, -0.69, 14, -12, -0.68, 14, -11, -0.66, 15, -12, -0.63, 14, -11, -0.62, 14, -11, -0.64, 14, -10, -0.67, 14, -9, -0.71, 14, -9, -0.76, 14, -9, -0.81, 14, -8, -0.87, 13, -8, -0.94, 14, -7, -1.02, 14, -7, -1.09, 13, -7, -1.18, 14, -6, -1.27, 13, -6, -1.36, 14, -6, -1.46, 13, -5, -1.56, 14, -5, -1.67, 13, -4, -1.77, 14, -4, -1.89, 13, -4, -2, 14, -3, -2.12, 13, -3, -2.24, 14, -3, -2.36, 13, -2, -2.47, 14, -2, -2.58, 13, -2, -2.68, 14, -1, -2.77, 13, -1, -2.86, 14, -1, -2.94, 13, -1, -3.01, 13, 0, -3.08, 14, 0, -3.15, 13, 0, -3.21, 13, 1, -3.27, 13, 1, -3.32, 13, 1, -3.37, 13, 1, -3.42, 13, 2, -3.46, 13, 2, -3.52, 12, 3, -3.57, 13, 3, -3.64, 13, 3, -3.71, 13, 3, -3.79, 13, 4, -3.87, 12, 4, -3.96, 13, 4, -4.04, 13, 4, -4.12, 12, 5, -4.19, 13, 6, -4.25, 12, 5, -4.31, 12, 6, -4.37, 13, 6, -4.43, 12, 6, -4.48, 12, 7, -4.53, 12, 7, -4.57, 12, 8, -4.61, 12, 7, -4.65, 12, 8, -4.7, 12, 9, -4.75, 11, 8, -4.81, 12, 9, -4.88, 12, 9, -4.95, 12, 9, -5.03, 11, 10, -5.12, 12, 10, -5.19, 11, 10, -5.27, 12, 11, -5.34, 11, 11, -5.4, 11, 11, -5.46, 11, 11, -5.52, 12, 12, -5.57, 11, 12, -5.61, 11, 5, -5.91, 11, 4, -6.24, 11, -1, -6.3, 13, -2, -6.35, 14, -1, -6.3, 15, -2, -6.24, 14, 0, -6.25, 14, 0, -6.24, 15, 0, -6.23, 15, 1, -6.23, 14, 0, -6.22, 15, 1, -6.24, 14, -1, -6.24, 15, 0, -6.24, 15, 0, -6.25, 15, -1, -6.29, 15, -1, -6.35, 16, -2, -6.36, 16, -2, -6.37, 16, -2, -6.38, 16, -3, -6.38, 17, -3, -6.37, 17, -2, -6.37, 17, -3, -6.38, 18, -2, -6.39, 17, -3, -6.39, 18, -3, -6.39, 18, -3, -6.39, 18, -3, -6.39, 19, -3, -6.41, 18, -4, -6.45, 18, -5, -6.52, 18, -6, -6.53, 19, -6, -6.5, 18, -5, -6.51, 19, -5, -6.51, 18, -5, -6.52, 19, -5, -6.52, 17, -8, -6.6, 16, -8, -6.76, 14, -10, -6.86, 14, -12, -6.95, 15, -12, -6.98, 15, -13, -6.96, 15, -13, -6.91, 15, -12, -6.91, 15, -12, -6.89, 16, -12, -6.85, 16, -11, -6.81, 15, -11, -6.76, 15, -11, -6.71, 16, -11, -6.65, 15, -9, -6.58, 16, -10, -6.5, 15, -9, -6.42, 16, -9, -6.34, 15, -8, -6.25, 15, -8, -6.16, 15, -8, -6.06, 16, -7, -5.95, 15, -7, -5.85, 15, -6, -5.74, 15, -6, -5.63, 15, -5, -5.51, 14, -5, -5.4, 15, -5, -5.28, 15, -5, -5.15, 14, -3, -5.03, 14, -4, -4.9, 15, -3, -4.77, 14, -3, -4.64, 14, -3, -4.51, 13, -2, -4.38, 14, -2, -4.25, 14, -2, -4.11, 13, -1, -3.97, 14, -1, -3.84, 13, -1, -3.7, 13, -1, -3.56, 13, 0, -3.42, 13, -1, -3.28, 13, 0, -3.13, 13, 1, -2.99, 13, 0, -2.85, 13, 1, -2.7, 13, 1, -2.56, 14, 1, -2.42, 13, 2, -2.28, 13, 2, -2.16, 13, 2, -2.04, 13, 3, -1.93, 14, 3, -1.83, 13, 3, -1.73, 13, 4, -1.64, 13, 4, -1.55, 14, 4, -1.45, 13, 5, -1.35, 13, 5, -1.24, 13, 5, -1.14, 14, 5, -1.02, 13, 6, -0.91, 13, 7, -0.8, 13, 6, -0.7, 14, 8, -0.61, 13, 7, -0.52, 13, 8, -0.44, 13, 8, -0.37, 13, 8, -0.29, 13, 9, -0.23, 12, 9, -0.17, 13, 10, -0.11, 13, 9, -0.05, 12, 10, 0, 13, 11, 0.04, 12, 10, 0.09, 13, 11, 0.13, 12, 12, 0.17, 13, 11, 0.21, 13, 9, 0.24, 12, 2, 0.15, 15, 1, 0.16, 15, 0, 0.16, 15, 0, 0.15, 15, 0, 0.15, 16, 1, 0.14, 16, 1, 0.14, 15, 2, 0.14, 16, 2, 0.13, 16, 2, 0.13, 15, 3, 0.13, 15, 2, 0.15, 16, 3, 0.17, 16, 3, 0.18, 16, 2, 0.16, 17, 2, 0.17, 17, 3, 0.18, 17, 2, 0.18, 17, 3, 0.18, 18, 2, 0.18, 18, 2, 0.18, 19, 3, 0.18, 18, 3, 0.18, 19, 2, 0.18, 20, 3, 0.18, 19, 3, 0.18, 20, 2, 0.18, 20, 3, 0.18, 21, 3, 0.18, 20, 2, 0.14, 20, 1, 0.09, 20, 1, 0.07, 20, 0, 0.08, 20, 0, 0.06, 20, 0, 0.05, 20, 1, 0.04, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, 0, 0.05, 20, 0, 0.05, 21, 0, 0.05, 20, -1, 0.02, 20, -1, -0.02, 20, -1, -0.03, 21, -2, -0.03, 20, -2, -0.07, 19, -4, -0.17, 17, -7, -0.32, 17, -9, -0.4, 12, -12, -0.6, 13, -12, -0.71, 12, -14, -0.76, 13, -14, -0.68, 12, -15, -0.59, 13, -13, -0.54, 12, -13, -0.49, 12, -12, -0.45, 13, -12, -0.41, 12, -12, -0.37, 12, -11, -0.34, 12, -11, -0.32, 12, -11, -0.31, 12, -10, -0.31, 12, -10, -0.32, 12, -9, -0.34, 11, -9, -0.37, 12, -9, -0.41, 11, -8, -0.45, 12, -8, -0.51, 11, -8, -0.57, 11, -7, -0.63, 12, -7, -0.71, 11, -6, -0.79, 11, -6, -0.87, 11, -6, -0.96, 11, -5, -1.05, 11, -5, -1.15, 11, -4, -1.25, 11, -4, -1.35, 11, -4, -1.46, 11, -3, -1.57, 11, -3, -1.69, 12, -2, -1.8, 11, -3, -1.92, 11, -1, -2.04, 11, -2, -2.17, 11, -1, -2.29, 12, -1, -2.42, 11, 0, -2.55, 11, -1, -2.68, 11, 0, -2.81, 12, 1, -2.95, 11, 0, -3.08, 12, 1, -3.21, 11, 1, -3.33, 11, 1, -3.44, 11, 2, -3.54, 11, 2, -3.64, 11, 2, -3.75, 11, 2, -3.87, 11, 3, -3.98, 11, 3, -4.1, 11, 3, -4.22, 11, 4, -4.34, 11, 3, -4.47, 10, 4, -4.59, 11, 4, -4.71, 10, 5, -4.82, 10, 5, -4.92, 11, 5, -5.02, 10, 6, -5.11, 10, 6, -5.19, 10, 6, -5.27, 10, 7, -5.34, 9, 7, -5.41, 10, 8, -5.48, 10, 7, -5.54, 10, 8, -5.59, 10, 9, -5.63, 9, 9, -5.66, 10, 9, -5.68, 10, 9, -5.69, 10, 10, -5.71, 9, 10, -5.72, 10, 10, -5.74, 10, 11, -5.75, 9, 11, -5.76, 10, 11, -5.77)); AddData(new Array(9, 11, -5.78, 10, 12, -5.79, 9, 12, -5.8, 10, 13, -5.8, 9, 13, -5.81, 9, 13, -5.82, 10, 13, -5.83, 9, 13, -5.83, 9, 14, -5.84, 10, 14, -5.84, 9, 15, -5.85, 9, 8, -6.15, 9, -1, -6.26, 11, -1, -6.26, 11, -2, -6.26, 11, -3, -6.27, 12, -1, -6.26, 13, -1, -6.25, 12, 0, -6.25, 12, -1, -6.27, 12, -1, -6.32, 12, -2, -6.4, 12, -1, -6.46, 13, -3, -6.45, 13, -3, -6.44, 13, -2, -6.44, 13, -3, -6.43, 14, -2, -6.42, 14, -3, -6.4, 15, -2, -6.38, 14, -2, -6.38, 15, -2, -6.39, 15, -2, -6.39, 15, -2, -6.39, 16, -3, -6.39, 16, -2, -6.39, 15, -3, -6.39, 17, -2, -6.39, 16, -3, -6.4, 17, -2, -6.39, 17, -2, -6.38, 18, -2, -6.37, 17, -2, -6.37, 17, -2, -6.36, 18, -1, -6.35, 17, 0, -6.34, 17, -1, -6.34, 17, 0, -6.33, 18, 1, -6.32, 17, 0, -6.32, 17, 1, -6.31, 17, 2, -6.31, 16, 1, -6.31, 17, 2, -6.3, 17, 2, -6.3, 17, 3, -6.29, 16, 3, -6.29, 17, 3, -6.29, 16, 4, -6.28, 17, 4, -6.28, 16, 4, -6.28, 17, 4, -6.28, 16, 5, -6.27, 16, 5, -6.27, 16, 6, -6.27, 17, 5, -6.27, 16, 7, -6.27, 16, 6, -6.26, 16, 6, -6.22, 16, 5, -6.14, 18, 5, -6.06, 18, 3, -5.99, 18, 3, -5.98, 18, 2, -6.01, 18, 2, -6.07, 18, 3, -6.08, 19, 3, -6.09, 20, 4, -6.09, 20, 4, -6.08, 20, 3, -6.07, 20, 4, -6.06, 20, 4, -6.06, 20, 3, -6.06, 20, 4, -6.05, 20, 5, -6.04, 20, 4, -6.03, 19, 5, -6.02, 20, 5, -6.02, 19, 5, -6.01, 19, 6, -6.01, 20, 6, -6.01, 19, 6, -6, 18, 7, -6, 19, 6, -6, 19, 8, -5.99, 19, 7, -5.99, 18, 8, -5.99, 19, 8, -5.99, 18, 8, -5.99, 18, 9, -5.99, 18, 8, -5.99, 18, 9, -5.99, 18, 10, -5.99, 17, 9, -5.99, 18, 10, -5.99, 17, 10, -5.99, 17, 11, -5.98, 17, 10, -5.98, 17, 11, -5.98, 18, 8, -5.99, 18, 4, -6.04, 19, 4, -6.1, 19, 1, -6.12, 20, 1, -6.14, 20, 1, -6.1, 20, 3, -6.11, 20, 2, -6.11, 20, 3, -6.11, 20, 3, -6.11, 20, 2, -6.11, 20, 2, -6.16, 20, 2, -6.19, 20, 0, -6.18, 21, 2, -6.18, 20, 1, -6.18, 20, 1, -6.18, 21, 1, -6.18, 20, 1, -6.18, 20, 1, -6.18, 21, 1, -6.19, 20, 0, -6.22, 20, 1, -6.24, 21, 0, -6.23, 20, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 21, 0, -6.24, 20, 0, -6.24, 20, -1, -6.25, 20, -1, -6.23, 21, -2, -6.18, 20, -2, -6.18, 15, -9, -6.47, 14, -9, -6.74, 13, -7, -6.98, 14, -9, -7.08, 14, -11, -7.11, 14, -10, -7.11, 14, -10, -7.13, 13, -8, -7.17, 14, -9, -7.21, 14, -8, -7.24, 14, -7, -7.28, 13, -8, -7.31, 14, -7, -7.33, 14, -6, -7.36, 13, -6, -7.39, 14, -6, -7.4, 13, -6, -7.4, 14, -5, -7.39, 13, -5, -7.37, 14, -5, -7.34, 13, -4, -7.31, 14, -4, -7.26, 13, -4, -7.21, 14, -3, -7.15, 13, -3, -7.09, 14, -3, -7.02, 13, -2, -6.94, 13, -2, -6.87, 14, -2, -6.8, 13, -1, -6.74, 13, -1, -6.68, 13, 0, -6.62, 14, 0, -6.57, 13, 0, -6.52, 13, 0, -6.48, 13, 1, -6.44, 12, 2, -6.4, 13, 1, -6.36, 13, 2, -6.33, 13, 2, -6.29, 12, 3, -6.26, 13, 3, -6.23, 12, 3, -6.21, 13, 3, -6.18, 12, 4, -6.16, 13, 4, -6.14, 12, 5, -6.12, 12, 5, -6.1, 13, 5, -6.08, 12, 5, -6.07, 12, 6, -6.05, 12, 6, -6.04, 12, 6, -6.02, 12, 7, -6.01, 12, 7, -6, 12, 7, -5.99, 12, 8, -5.98, 12, 8, -5.97, 12, 8, -5.96, 12, 8, -5.95, 11, 9, -5.94, 12, 9, -5.93, 12, 10, -5.93, 11, 9, -5.92, 12, 10, -5.91, 11, 11, -5.91, 12, 10, -5.9, 11, 11, -5.9, 12, 11, -5.89, 11, 12, -5.89, 11, 12, -5.88, 12, 12, -5.88, 11, 12, -5.88, 11, 13, -5.87, 11, 13, -5.87, 12, 13, -5.87, 11, 13, -5.87, 11, 14, -5.89, 11, 8, -6.19, 13, -1, -6.2, 13, -1, -6.22, 13, -1, -6.28, 15, -2, -6.26, 14, -2, -6.22, 15, -1, -6.2, 14, -1, -6.18, 15, 0, -6.16, 14, -1, -6.16, 14, 0, -6.19, 14, -2, -6.26, 14, -2, -6.36, 14, -4, -6.44, 11, -7, -6.55, 12, -7, -6.61, 12, -7, -6.71, 12, -8, -6.84, 10, -9, -6.91, 12, -10, -6.92, 12, -9, -6.94, 12, -9, -6.95, 12, -8, -6.95, 12, -9, -6.96, 10, -11, -7.04, 9, -10, -7.16, 7, -12, -7.21, 6, -13, -7.22, 7, -12, -7.19, 8, -13, -7.16, 8, -11, -7.14, 7, -12, -7.11, 8, -11, -7.09, 7, -10, -7.07, 8, -11, -7.05, 7, -10, -7.03, 8, -9, -7.01, 7, -9, -6.99, 8, -9, -6.98, 7, -8, -6.96, 7, -8, -6.95, 8, -8, -6.94, 7, -7, -6.93, 7, -7, -6.91, 8, -7, -6.9, 7, -6, -6.89, 7, -6, -6.89, 7, -6, -6.88, 7, -5, -6.86, 7, -5, -6.83, 8, -4, -6.79, 7, -5, -6.75, 7, -3, -6.71, 7, -4, -6.67, 7, -3, -6.63, 7, -3, -6.6, 7, -2, -6.57, 8, -2, -6.54, 6, -2, -6.51, 7, -2, -6.49, 7, -1, -6.46, 7, 0, -6.44, 7, -1, -6.42, 7, 0, -6.4, 7, 1, -6.38, 7, 0, -6.36, 6, 1, -6.35, 7, 1, -6.33, 7, 2, -6.32, 6, 2, -6.3, 7, 2, -6.29, 7, 3, -6.28, 6, 3, -6.27, 7, 3, -6.26, 6, 3, -6.25, 7, 4, -6.24, 6, 4, -6.23, 7, 5, -6.22, 6, 5, -6.22, 7, 5, -6.21, 6, 5, -6.2, 6, 6, -6.2, 7, 6, -6.19, 6, 7, -6.19, 6, 6, -6.18, 7, 7, -6.18, 6, 8, -6.17, 6, 7, -6.17, 6, 8, -6.16, 7, 8, -6.16, 6, 9, -6.16, 6, 9, -6.15, 6, 9, -6.15, 6, 9, -6.15, 6, 10, -6.15, 6, 10, -6.14, 6, 11, -6.14, 6, 10, -6.14, 6, 11, -6.14, 6, 11, -6.14, 6, 12, -6.13, 6, 12, -6.13, 6, 12, -6.13, 6, 12, -6.13, 6, 13, -6.13, 6, 13, -6.13, 6, 13, -6.13, 6, 14, -6.13, 5, 14, -6.12, 6, 14, -6.12, 6, 14, -6.12, 8, 7, -6.02, 8, -2, -6.13, 9, -1, -6.2, 10, -3, -6.25, 10, -1, -6.25, 10, 0, -6.27, 11, 0, -6.29, 10, 0, -6.31, 10, 1, -6.33, 10, 1, -6.35, 11, 1, -6.34, 10, 1, -6.32, 11, 1, -6.29, 11, 2, -6.26, 12, 1, -6.23, 12, 2, -6.19, 12, 0, -6.18, 13, 1, -6.19, 12, 0, -6.2, 13, 0, -6.2, 13, 1, -6.2, 14, 1, -6.2, 13, 0, -6.2, 15, 1, -6.2, 14, 1, -6.2, 15, 0, -6.2, 15, 1, -6.2, 15, 0, -6.23, 15, -1, -6.29, 15, -2, -6.37, 16, -2, -6.38, 16, -2, -6.37, 16, -2, -6.37, 17, -2, -6.36, 17, -2, -6.36, 17, -2, -6.36, 18, -2, -6.36, 17, -2, -6.36, 18, -3, -6.36, 19, -2, -6.37, 17, -4, -6.41, 18, -4, -6.48, 18, -5, -6.48, 19, -5, -6.47, 18, -4, -6.47, 18, -4, -6.47, 18, -5, -6.48, 19, -4, -6.49, 18, -5, -6.49, 19, -5, -6.51, 18, -6, -6.57, 18, -7, -6.6, 19, -8, -6.59, 18, -6, -6.59, 18, -7, -6.59, 19, -6, -6.59, 18, -7, -6.6, 18, -7, -6.61, 17, -8, -6.66, 17, -8, -6.74, 16, -10, -6.79, 17, -11, -6.77, 18, -10, -6.76, 17, -10, -6.76, 17, -10, -6.76, 18, -9, -6.75, 17, -10, -6.75, 17, -10, -6.75, 17, -10, -6.75, 18, -10, -6.75, 17, -10, -6.77, 17, -11, -6.81, 17, -11, -6.85, 16, -11, -6.85, 17, -12, -6.85, 16, -11, -6.85, 17, -12, -6.85, 17, -11, -6.85, 16, -12, -6.85, 17, -11, -6.84, 17, -11, -6.83, 16, -11, -6.81, 17, -11, -6.8, 17, -10, -6.79, 17, -10, -6.78, 16, -9, -6.75, 17, -9, -6.71, 17, -9, -6.67, 16, -8, -6.62, 17, -9, -6.56, 16, -7, -6.51, 17, -8, -6.45, 16, -6, -6.41, 17, -7, -6.36, 16, -6, -6.32, 16, -6, -6.28, 16, -6, -6.25, 17, -5, -6.21, 16, -5, -6.18, 16, -4, -6.15, 15, -4, -6.12, 16, -4, -6.09, 16, -3, -6.07, 16, -3, -6.05, 15, -3, -6.03, 16, -2, -6.01, 16, -2, -5.99, 15, -2, -5.97, 15, -1, -5.95, 16, -2, -5.94, 15, 0, -5.92, 15, -1, -5.91, 16, 0, -5.9, 15, 1, -5.89, 15, 0, -5.87, 15, 1, -5.86, 15, 2, -5.85, 15, 1, -5.85, 15, 2, -5.84, 15, 2, -5.83, 14, 3, -5.82, 15, 3, -5.82, 15, 3, -5.81, 14, 4, -5.8, 15, 3, -5.8, 14, 5, -5.79, 15, 4, -5.79, 15, 5, -5.8, 14, 3, -5.86, 15, 2, -6.02, 15, 2, -6.2, 15, -1, -6.29, 16, -1, -6.33, 16, -1, -6.32, 18, -2, -6.28, 17, 0, -6.27, 18, 0, -6.27, 18, 0, -6.26, 18, 1, -6.25, 18, 0, -6.25, 17, 1, -6.23, 18, 0, -6.23, 18, 0, -6.24, 18, 0, -6.24, 18, 0, -6.24, 19, 0, -6.24, 19, 0, -6.24, 19, 1, -6.23, 20, 0, -6.22, 20, 0, -6.21, 20, 1, -6.2, 21, 1, -6.2, 20, 1, -6.2, 20, 0, -6.2, 21, 1, -6.2, 20, 1, -6.2, 21, 0, -6.2)); AddData(new Array(20, 1, -6.2, 20, 1, -6.2, 21, 0, -6.2, 20, 1, -6.2, 20, 1, -6.2, 21, 0, -6.2, 20, 1, -6.2, 20, 1, -6.2, 20, 1, -6.19, 21, 1, -6.18, 20, 1, -6.18, 20, 1, -6.19, 21, 1, -6.19, 20, 1, -6.19, 20, 1, -6.19, 21, 1, -6.19, 20, 1, -6.19, 20, 1, -6.19, 21, 1, -6.19, 20, 1, -6.19, 20, 1, -6.19, 21, 1, -6.19, 20, 2, -6.19, 21, 1, -6.19, 20, 1, -6.19, 20, 1, -6.19, 21, 1, -6.19, 20, 1, -6.19, 20, 1, -6.19, 21, 1, -6.19, 20, 1, -6.19, 20, 1, -6.18, 21, 2, -6.16, 20, 2, -6.15, 21, 1, -6.19, 20, 0, -6.24, 20, 0, -6.28, 20, 1, -6.31, 20, 2, -6.33, 19, 1, -6.35, 20, 2, -6.37, 20, 3, -6.39, 19, 2, -6.4, 20, 3, -6.42, 19, 3, -6.43, 19, 4, -6.44, 20, 4, -6.46, 19, 4, -6.47, 19, 5, -6.48, 19, 5, -6.49, 19, 5, -6.5, 19, 6, -6.51, 19, 5, -6.51, 19, 7, -6.52, 19, 6, -6.53, 18, 7, -6.53, 19, 7, -6.54, 18, 7, -6.54, 19, 8, -6.55, 19, 5, -6.43, 19, 4, -6.26, 21, 0, -6.21, 19, -2, -6.15, 20, -3, -6.11, 18, -2, -6.18, 19, -3, -6.25, 20, -3, -6.31, 19, -3, -6.4, 19, -4, -6.54, 16, -8, -6.69, 15, -10, -6.77, 15, -12, -6.8, 12, -13, -6.95, 12, -13, -7.06, 11, -14, -7.08, 12, -15, -6.99, 11, -15, -6.88, 12, -14, -6.76, 12, -14, -6.65, 11, -14, -6.53, 12, -13, -6.41, 11, -13, -6.28, 12, -12, -6.16, 11, -12, -6.03, 12, -11, -5.9, 11, -11, -5.77, 11, -10, -5.63, 11, -10, -5.5, 11, -10, -5.37, 11, -9, -5.23, 11, -9, -5.09, 11, -8, -4.95, 10, -8, -4.81, 10, -8, -4.67, 11, -8, -4.53, 10, -7, -4.39, 10, -6, -4.25, 10, -7, -4.11, 10, -6, -3.96, 9, -6, -3.82, 10, -6, -3.67, 10, -5, -3.53, 9, -5, -3.38, 10, -5, -3.24, 9, -5, -3.09, 9, -4, -2.94, 10, -4, -2.8, 9, -4, -2.65, 10, -4, -2.5, 10, -3, -2.35, 9, -3, -2.21, 10, -3, -2.06, 10, -2, -1.91, 10, -2, -1.76, 10, -2, -1.61, 10, -2, -1.46, 10, -1, -1.32, 10, 0, -1.17, 10, -1, -1.02, 10, 1, -0.87, 11, 0, -0.72, 10, 1, -0.57, 10, 2, -0.42, 10, 2, -0.27, 11, 2, -0.12, 10, 3, 0.03, 10, 3, 0.18, 10, 3, 0.33, 10, 4, 0.48, 10, 5, 0.63, 9, 5, 0.78, 10, 5, 0.93, 10, 5, 1.08, 9, 6, 1.23, 9, 6, 1.38, 9, 7, 1.53, 9, 7, 1.68, 9, 7, 1.83, 8, 7, 1.98, 9, 7, 2.13, 8, 8, 2.28, 9, 8, 2.43, 8, 8, 2.58, 8, 9, 2.73, 8, 8, 2.88, 9, 9, 3.03, 8, 9, 3.18, 8, 9, 3.33, 8, 10, 3.48, 8, 9, 3.63, 8, 10, 3.78, 9, 10, 3.93, 8, 11, 4.08, 8, 10, 4.23, 9, 11, 4.38, 9, 11, 4.53, 8, 12, 4.68, 9, 11, 4.83, 9, 12, 4.99, 9, 13, 5.14, 12, 6, 5.31, 11, 3, 5.61, 10, 1, 5.86, 11, 4, 6.02, 11, 4, 6.2, 11, 4, 6.37, 11, 5, 6.53, 11, 5, 6.67, 10, 6, 6.81, 11, 6, 6.93, 10, 7, 7.05, 11, 6, 7.16, 10, 7, 7.26, 10, 8, 7.35, 10, 7, 7.42, 10, 8, 7.47, 10, 8, 7.52, 9, 8, 7.54, 10, 8, 7.56, 10, 9, 7.56, 10, 9, 7.56, 10, 9, 7.54, 9, 10, 7.52, 10, 9, 7.48, 9, 10, 7.44, 10, 11, 7.39, 9, 10, 7.33, 10, 11, 7.28, 9, 11, 7.23, 10, 11, 7.18, 10, 8, 6.99, 11, 6, 6.78, 11, 5, 6.63, 12, 3, 6.59, 13, 3, 6.62, 13, 4, 6.61, 14, 4, 6.61, 13, 4, 6.59, 14, 3, 6.55, 14, 3, 6.49, 15, 2, 6.51, 15, 2, 6.52, 15, 3, 6.52, 16, 3, 6.51, 16, 3, 6.5, 17, 2, 6.5, 17, 3, 6.49, 17, 2, 6.47, 17, 3, 6.46, 17, 2, 6.46, 18, 3, 6.46, 18, 2, 6.45, 18, 1, 6.41, 18, 1, 6.37, 19, 1, 6.38, 19, 1, 6.38, 20, 1, 6.38, 20, 1, 6.38, 20, 1, 6.38, 20, 1, 6.38, 21, 1, 6.38, 20, 1, 6.38, 20, 1, 6.38, 21, 1, 6.38, 20, 1, 6.37, 20, 0, 6.36, 21, 1, 6.36, 20, 1, 6.36, 20, 0, 6.36, 21, 1, 6.36, 20, 1, 6.36, 21, 0, 6.36, 20, 1, 6.36, 20, 0, 6.35, 21, 0, 6.33, 20, 0, 6.31, 20, 0, 6.32, 21, 0, 6.32, 20, 0, 6.32, 20, 0, 6.32, 21, -1, 6.32, 20, 0, 6.32, 20, 0, 6.32, 21, 0, 6.32, 20, -1, 6.32, 20, 0, 6.32, 21, 0, 6.32, 20, 0, 6.32, 21, -1, 6.3, 20, -1, 6.25, 19, -2, 6.18, 20, -3, 6.19, 20, -3, 6.2, 19, -4, 6.15, 20, -3, 6.1, 20, -4, 6.08, 19, -5, 6.09, 20, -5, 6.09, 19, -6, 6.04, 19, -7, 5.96, 18, -7, 5.89, 16, -10, 5.82, 16, -11, 5.72, 17, -10, 5.71, 16, -11, 5.71, 16, -11, 5.71, 15, -11, 5.69, 16, -10, 5.67, 16, -9, 5.63, 15, -10, 5.6, 16, -9, 5.57, 15, -8, 5.54, 16, -8, 5.52, 15, -8, 5.5, 16, -8, 5.5, 16, -8, 5.51, 16, -7, 5.52, 15, -7, 5.55, 16, -6, 5.58, 16, -6, 5.63, 15, -6, 5.67, 16, -5, 5.7, 15, -6, 5.74, 16, -4, 5.77, 15, -5, 5.8, 16, -4, 5.83, 15, -3, 5.86, 15, -4, 5.88, 15, -3, 5.9, 15, -2, 5.93, 15, -2, 5.95, 15, -2, 5.96, 15, -2, 5.98, 15, -1, 6, 15, -1, 6.01, 15, -1, 6.03, 15, 0, 6.04, 14, 0, 6.06, 15, 1, 6.07, 14, 0, 6.07, 15, 2, 6.06, 14, 1, 6.04, 14, 2, 6.01, 15, 2, 5.97, 14, 2, 5.93, 14, 3, 5.89, 14, 3, 5.85, 14, 3, 5.81, 13, 4, 5.78, 14, 4, 5.75, 14, 5, 5.72, 14, 4, 5.69, 14, 5, 5.66, 14, 6, 5.64, 13, 5, 5.61, 14, 6, 5.59, 14, 6, 5.57, 13, 7, 5.55, 14, 7, 5.54, 13, 7, 5.52, 14, 8, 5.5, 13, 7, 5.49, 13, 8, 5.48, 14, 9, 5.46, 13, 9, 5.45, 13, 9, 5.44, 14, 9, 5.43, 13, 10, 5.42, 13, 9, 5.41, 13, 11, 5.4, 13, 10, 5.39, 13, 11, 5.39, 13, 11, 5.38, 13, 12, 5.37, 13, 11, 5.37, 13, 12, 5.36, 13, 12, 5.36, 12, 13, 5.35, 13, 13, 5.35, 13, 13, 5.34, 12, 13, 5.34, 13, 14, 5.33, 12, 14, 5.33, 13, 15, 5.33, 12, 14, 5.36, 0, -4, 5.53, -3, -3, 5.5, 0, 0, 5.49, -1, -2, 5.52, -1, -2, 5.51, -2, -2, 5.48, 0, -1, 5.48, 0, -2, 5.49, 0, -1, 5.5, 0, 0, 5.51, 0, -1, 5.52, 0, 0, 5.53, 0, 0, 5.54, 0, 1, 5.54, 0, 1, 5.55, 0, 1, 5.57, -1, 1, 5.56, 0, 2, 5.55, 0, 1, 5.53, 0, 2, 5.5, -1, 2, 5.47, 0, 1, 5.47, 0, 0, 5.49, -1, 0, 5.51, 0, 0, 5.52, 0, -1, 5.51, 0, 0, 5.51, 0, 0, 5.51, 1, -1, 5.5, 0, 0, 5.49, 1, -1, 5.48, 0, -1, 5.47, 1, -1, 5.46, 0, -1, 5.44, 1, -1, 5.43, 1, -1, 5.41, 1, -1, 5.39, 0, -1, 5.37, 1, -1, 5.35, 1, -2, 5.33, 1, -2, 5.31, 1, -1, 5.29, 1, -2, 5.28, 1, -2, 5.26, 1, -2, 5.24, 1, -2, 5.22, 2, -3, 5.21, 1, -2, 5.2, 2, -2, 5.21, 2, -3, 5.22, 2, -1, 5.25, 2, -2, 5.28, 2, -1, 5.32, 2, -1, 5.37, 2, 0, 5.43, 2, 0, 5.49, 2, 0, 5.56, 2, 0, 5.64, 2, 0, 5.69, 3, -1, 5.71, 1, -1, 5.79, 3, 0, 5.87, 2, -1, 5.95, 2, 0, 6.04, 2, 0, 6.14, 3, 1, 6.24, 2, 1, 6.34, 1, 1, 6.45, 1, 2, 6.57, 1, 0, 6.64, 0, -1, 6.66, 0, 0, 6.66, 1, -1, 6.67, 0, 0, 6.67, 1, 0, 6.68, 0, 0, 6.7, 0, 0, 6.72, 0, 0, 6.74, 0, 0, 6.74, 0, 0, 6.74, 0, 0, 6.75, 1, 0, 6.75, 0, 0, 6.76, 0, 0, 6.77, 1, 0, 6.8, 1, 0, 6.83, 1, 1, 6.86, 2, 0, 6.9, 2, 1, 6.94, 3, 1, 6.98, 3, 2, 7.03, 3, 1, 7.09, 3, 2, 7.15, 4, 2, 7.22, 4, 2, 7.3, 5, 3, 7.37, 5, 3, 7.43, 5, 2, 7.47, 6, 3, 7.46, 6, 2, 7.42, 6, 3, 7.38, 6, 3, 7.33, 6, 4, 7.27, 7, 4, 7.2, 6, 4, 7.13, 6, 4, 7.05, 6, 5, 6.97, 6, 6, 6.88, 6, 5, 6.79, 6, 5, 6.74, 7, 4, 6.73, 9, 3, 6.72, 9, 2, 6.71, 8, 2, 6.64, 9, 3, 6.58, 10, 2, 6.56, 10, 3, 6.58, 10, 2, 6.6, 11, 3, 6.59, 10, 2, 6.58, 11, 3, 6.57, 11, 3, 6.54, 11, 1, 6.49, 11, 1, 6.42, 12, 1, 6.38, 12, 1, 6.39, 13, 0, 6.4, 13, 1, 6.4, 13, 1, 6.39, 14, 1, 6.39, 14, 1, 6.39, 14, 1, 6.39, 15, 1, 6.38, 15, 1, 6.38, 15, 1, 6.38, 15, 1, 6.38, 16, 0, 6.38, 16, 1, 6.38, 17, 1, 6.38, 17, 1, 6.35, 16, 0, 6.32, 18, 0, 6.3, 17, 0, 6.31, 18, 0, 6.32, 19, -1, 6.32, 18, 0, 6.32, 19, 0, 6.32, 19, 0, 6.32, 19, -1, 6.32, 20, 0, 6.32, 20, 0, 6.31, 20, -1, 6.28, 20, -1, 6.26, 20, -2, 6.26, 20, -2, 6.23)); AddData(new Array(20, -2, 6.23, 21, -2, 6.23, 20, -3, 6.23, 20, -1, 6.22, 20, -3, 6.22, 20, -2, 6.22, 21, -2, 6.22, 20, -2, 6.22, 20, -2, 6.22, 20, -3, 6.2, 20, -4, 6.15, 19, -5, 6.02, 17, -8, 5.9, 14, -11, 5.73, 15, -12, 5.65, 13, -13, 5.64, 15, -13, 5.71, 15, -12, 5.74, 15, -11, 5.79, 14, -12, 5.84, 15, -10, 5.9, 15, -11, 5.96, 14, -10, 6.03, 15, -10, 6.11, 15, -9, 6.19, 14, -9, 6.28, 15, -8, 6.37, 14, -8, 6.47, 15, -8, 6.57, 14, -7, 6.68, 14, -7, 6.78, 15, -6, 6.89, 14, -6, 7.01, 14, -6, 7.12, 14, -5, 7.24, 14, -5, 7.36, 13, -4, 7.49, 14, -4, 7.61, 14, -4, 7.74, 13, -3, 7.87, 13, -3, 8, 13, -3, 8.13, 13, -3, 8.27, 13, -2, 8.4, 13, -1, 8.54, 13, -2, 8.67, 12, -1, 8.81, 13, -1, 8.95, 12, -1, 9.09, 13, -1, 9.23, 12, 0, 9.37, 12, 0, 9.52, 13, 0, 9.66, 12, 0, 9.8, 12, 1, 9.95, 13, 1, 10.09, 12, 1, 10.24, 13, 1, 10.38, 12, 2, 10.53, 13, 2, 10.67, 12, 2, 10.82, 13, 3, 10.97, 13, 3, 11.11, 13, 3, 11.26, 12, 4, 11.41, 13, 4, 11.56, 13, 5, 11.7, 13, 5, 11.84, 13, 5, 11.97, 13, 6, 12.09, 13, 6, 12.2, 12, 7, 12.31, 13, 6, 12.4, 12, 8, 12.49, 13, 7, 12.58, 12, 8, 12.66, 12, 8, 12.73, 13, 9, 12.8, 12, 9, 12.87, 12, 9, 12.93, 12, 9, 12.97, 12, 10, 13.01, 11, 10, 13.03, 12, 10, 13.04, 12, 11, 13.05, 12, 11, 13.05, 11, 11, 13.06, 12, 11, 13.07, 11, 12, 13.07, 12, 12, 13.08, 11, 12, 13.08, 11, 13, 13.09, 12, 12, 13.1, 11, 14, 13.1, 11, 13, 13.1, 12, 14, 13.11, 11, 14, 13.11, 11, 14, 13.12, 12, 9, 12.85, 13, 1, 12.78, 14, 2, 12.78, 15, 1, 12.77, 16, -1, 12.76, 16, 3, 12.8, 16, 2, 12.81, 16, 3, 12.83, 16, 2, 12.84, 16, 4, 12.85, 16, 3, 12.86, 15, 4, 12.87, 17, 4, 12.84, 16, 3, 12.78, 16, 2, 12.69, 17, 0, 12.68, 16, -2, 12.66, 17, -2, 12.66, 18, -1, 12.69, 17, -1, 12.71, 18, 0, 12.73, 18, 0, 12.75, 18, 0, 12.77, 17, 0, 12.78, 18, 1, 12.79, 17, 0, 12.77, 18, 0, 12.72, 18, 1, 12.69, 18, 1, 12.65, 18, 1, 12.6, 18, 0, 12.58, 19, -1, 12.59, 19, 0, 12.59, 19, -1, 12.56, 20, -1, 12.55, 19, -1, 12.54, 20, -2, 12.55, 21, -1, 12.55, 20, -2, 12.51, 19, -3, 12.44, 20, -4, 12.39, 18, -6, 12.36, 20, -6, 12.38, 19, -4, 12.37, 20, -5, 12.37, 20, -4, 12.37, 19, -4, 12.37, 19, -4, 12.37, 20, -3, 12.37, 19, -3, 12.37, 19, -2, 12.37, 19, -3, 12.38, 19, -2, 12.42, 20, -3, 12.45, 19, -1, 12.48, 19, -2, 12.5, 19, -1, 12.53, 19, -1, 12.55, 19, -1, 12.57, 19, 0, 12.59, 19, 0, 12.61, 19, 0, 12.63, 19, 1, 12.65, 18, 1, 12.66, 19, 2, 12.68, 18, 1, 12.67, 19, 1, 12.63, 19, 0, 12.6, 19, 0, 12.61, 20, -1, 12.6, 19, 0, 12.6, 20, 0, 12.59, 20, 0, 12.59, 21, -1, 12.61, 20, 0, 12.59, 20, 0, 12.59, 20, -1, 12.59, 20, 0, 12.59, 20, -1, 12.59, 21, 0, 12.58, 20, -1, 12.58, 20, -1, 12.54, 20, -3, 12.48, 19, -3, 12.42, 20, -5, 12.39, 19, -5, 12.4, 20, -5, 12.39, 20, -4, 12.39, 19, -4, 12.38, 20, -5, 12.37, 20, -5, 12.4, 19, -6, 12.45, 20, -6, 12.48, 19, -6, 12.47, 18, -7, 12.41, 18, -7, 12.32, 17, -8, 12.2, 17, -9, 12.08, 14, -12, 11.98, 13, -13, 11.87, 13, -14, 11.76, 13, -13, 11.79, 13, -14, 11.81, 13, -14, 11.8, 13, -13, 11.77, 13, -12, 11.74, 13, -12, 11.69, 13, -11, 11.65, 13, -12, 11.59, 12, -10, 11.52, 13, -11, 11.46, 13, -10, 11.38, 12, -9, 11.3, 13, -9, 11.21, 12, -9, 11.12, 13, -8, 11.03, 12, -8, 10.93, 13, -8, 10.83, 12, -7, 10.72, 13, -7, 10.61, 13, -6, 10.5, 12, -7, 10.38, 12, -6, 10.26, 13, -6, 10.14, 12, -5, 10.01, 13, -5, 9.89, 12, -5, 9.76, 13, -5, 9.63, 12, -4, 9.5, 13, -4, 9.37, 12, -4, 9.23, 13, -3, 9.1, 12, -4, 8.96, 12, -3, 8.83, 13, -2, 8.69, 12, -3, 8.55, 12, -2, 8.41, 12, -2, 8.27, 12, -2, 8.13, 12, -1, 7.98, 12, -1, 7.84, 11, -1, 7.7, 12, 0, 7.55, 11, -1, 7.42, 11, 1, 7.29, 11, 0, 7.18, 11, 1, 7.07, 11, 2, 6.97, 11, 2, 6.87, 11, 2, 6.78, 11, 3, 6.7, 10, 2, 6.62, 11, 4, 6.55, 11, 3, 6.48, 10, 4, 6.42, 11, 5, 6.36, 11, 4, 6.3, 10, 5, 6.25, 11, 6, 6.2, 10, 5, 6.16, 11, 6, 6.12, 10, 7, 6.09, 11, 6, 6.07, 11, 7, 6.06, 10, 8, 6.06, 11, 7, 6.05, 10, 8, 6.05, 11, 8, 6.05, 10, 9, 6.04, 10, 9, 6.04, 11, 9, 6.03, 10, 9, 6.03, 10, 10, 6.03, 11, 10, 6.03, 10, 10, 6.02, 10, 11, 6.02, 10, 11, 6.02, 10, 11, 6.02, 10, 11, 6.01, 10, 12, 6.01, 10, 12, 6.01, 10, 13, 6.01, 10, 12, 6.01, 10, 13, 6, 10, 13, 6, 10, 14, 6, 10, 14, 6, 10, 14, 6, 9, 14, 6, 10, 15, 6, 10, 15, 6, 9, 15, 6, 10, 16, 6, 10, 15, 5.99, 9, 17, 5.99, 11, 11, 6.23, 14, 3, 6.44, 12, 0, 6.44, 13, -1, 6.47, 12, -1, 6.42, 13, -1, 6.38, 14, 1, 6.36, 13, 0, 6.35, 14, 1, 6.35, 14, 1, 6.36, 15, 1, 6.37, 15, 2, 6.39, 15, 0, 6.38, 15, 1, 6.36, 16, 0, 6.35, 16, 0, 6.38, 16, 0, 6.39, 17, 0, 6.4, 16, 1, 6.4, 18, 0, 6.39, 17, 1, 6.37, 18, 1, 6.35, 18, 0, 6.34, 18, 0, 6.34, 18, 1, 6.33, 19, 0, 6.33, 19, 0, 6.33, 19, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, 0, 6.33, 20, 0, 6.33, 21, 0, 6.33, 20, -1, 6.3, 20, -1, 6.29, 21, 0, 6.29, 20, -1, 6.29, 20, -1, 6.28, 21, -1, 6.28, 20, -1, 6.28, 20, -1, 6.27, 20, -2, 6.23, 20, -3, 6.15, 14, -9, 5.88, 13, -10, 5.59, 12, -11, 5.46, 11, -13, 5.48, 13, -13, 5.52, 12, -14, 5.6, 12, -13, 5.65, 13, -12, 5.69, 12, -12, 5.74, 12, -11, 5.8, 13, -11, 5.87, 12, -10, 5.94, 12, -10, 6.02, 13, -10, 6.1, 12, -9, 6.19, 12, -9, 6.28, 12, -8, 6.38, 12, -8, 6.48, 13, -8, 6.58, 12, -7, 6.69, 12, -7, 6.8, 12, -6, 6.91, 11, -6, 7.03, 12, -6, 7.15, 12, -5, 7.27, 11, -5, 7.39, 12, -4, 7.52, 11, -4, 7.64, 11, -4, 7.77, 12, -4, 7.9, 11, -3, 8.04, 10, -2, 8.17, 11, -3, 8.31, 11, -2, 8.44, 10, -2, 8.58, 11, -1, 8.72, 10, -2, 8.86, 11, -1, 9, 10, -1, 9.14, 10, 0, 9.28, 10, -1, 9.42, 10, 0, 9.56, 11, 0, 9.71, 10, 1, 9.85, 10, 0, 10, 10, 1, 10.14, 10, 1, 10.29, 11, 2, 10.43, 10, 1, 10.58, 11, 2, 10.72, 10, 3, 10.87, 11, 2, 11.02, 11, 3, 11.16, 10, 4, 11.3, 11, 4, 11.43, 11, 4, 11.55, 11, 4, 11.66, 10, 5, 11.76, 11, 6, 11.86, 10, 5, 11.95, 11, 7, 12.04, 10, 6, 12.12, 11, 7, 12.19, 10, 7, 12.26, 11, 7, 12.32, 10, 8, 12.38, 10, 8, 12.44, 10, 9, 12.49, 10, 8, 12.54, 11, 9, 12.59, 10, 10, 12.63, 10, 9, 12.67, 10, 10, 12.71, 9, 11, 12.75, 10, 10, 12.78, 10, 11, 12.81, 10, 11, 12.84, 9, 12, 12.87, 10, 11, 12.89, 10, 12, 12.91, 9, 13, 12.94, 10, 12, 12.96, 9, 13, 12.98, 10, 13, 13, 9, 14, 13.01, 10, 14, 13.03, 9, 14, 13.04, 9, 14, 13.06, 10, 15, 13.07, 9, 14, 13.08, 9, 16, 13.09, 9, 15, 13.1, 10, 16, 13.11, 9, 16, 13.12, 9, 16, 13.13, 9, 17, 13.14, 10, 16, 13.11, 11, 7, 12.97, 14, 4, 12.92, 14, 3, 12.87, 15, 2, 12.84, 16, 1, 12.8, 16, 3, 12.79, 16, 1, 12.73, 16, 3, 12.68, 15, 1, 12.65, 17, 0, 12.67, 16, 1, 12.66, 17, 1, 12.66, 18, 1, 12.65, 17, 0, 12.61, 17, -1, 12.55, 18, -1, 12.53, 18, -1, 12.56, 19, -1, 12.55, 18, -2, 12.55, 19, -1, 12.55, 20, -1, 12.55, 19, -1, 12.55, 20, -1, 12.55, 20, -2, 12.55, 20, -1, 12.54, 20, -3, 12.5, 20, -2, 12.45, 20, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 21, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 20, -4, 12.46, 20, -4, 12.42, 20, -4, 12.35, 18, -6, 12.3, 19, -8, 12.26, 18, -9, 12.21, 17, -8, 12.11, 16, -11, 12.08, 16, -11, 12.05, 17, -11, 12.08, 17, -10, 12.08, 17, -11, 12.08, 17, -9, 12.08, 18, -10, 12.08, 17, -9, 12.1, 17, -9, 12.12, 17, -8, 12.15, 17, -8, 12.19, 17, -8, 12.24, 17, -7, 12.29, 17, -7, 12.34)); AddData(new Array(17, -7, 12.39, 17, -6, 12.43, 17, -6, 12.47, 16, -6, 12.51, 17, -5, 12.55, 17, -5, 12.58, 16, -4, 12.62, 16, -4, 12.65, 17, -4, 12.67, 16, -3, 12.7, 16, -3, 12.72, 17, -3, 12.75, 16, -2, 12.77, 16, -3, 12.79, 16, -1, 12.81, 16, -2, 12.82, 15, -1, 12.84, 16, 0, 12.86, 16, -1, 12.87, 16, 0, 12.88, 15, 1, 12.9, 16, 0, 12.91, 16, 1, 12.92, 15, 1, 12.93, 15, 2, 12.94, 16, 2, 12.95, 15, 2, 12.96, 15, 3, 12.97, 16, 3, 12.97, 15, 3, 12.98, 15, 3, 12.99, 15, 4, 12.99, 15, 5, 13, 15, 4, 13, 15, 5, 13.01, 15, 5, 13.01, 15, 5, 13.02, 14, 6, 13.02, 15, 6, 13.01, 15, 7, 13, 14, 6, 12.97, 13, 8, 12.99, 11, -1, 12.67, 11, 1, 12.47, 11, 3, 12.31, 7, -4, 12.59, 9, -1, 12.76, 9, -1, 12.9, 9, -1, 13.04, 8, 0, 13.17, 9, 1, 13.3, 8, 0, 13.44, 9, 1, 13.57, 8, 2, 13.69, 8, 1, 13.8, 8, 2, 13.9, 8, 2, 14, 8, 3, 14.09, 8, 3, 14.17, 7, 3, 14.25, 8, 3, 14.31, 8, 4, 14.36, 8, 4, 14.39, 7, 4, 14.42, 8, 4, 14.43, 8, 5, 14.43, 8, 5, 14.42, 7, 5, 14.4, 8, 5, 14.37, 8, 6, 14.33, 8, 6, 14.28, 7, 7, 14.23, 8, 6, 14.17, 8, 7, 14.1, 7, 7, 14.03, 8, 8, 13.95, 7, 7, 13.87, 8, 8, 13.78, 7, 8, 13.69, 7, 9, 13.6, 8, 9, 13.52, 7, 9, 13.45, 7, 10, 13.38, 7, 10, 13.31, 7, 10, 13.25, 7, 11, 13.19, 7, 11, 13.14, 8, 10, 13.05, 8, 6, 13, 10, 5, 12.96, 11, 3, 12.95, 12, 2, 12.94, 12, 1, 12.92, 13, 4, 12.92, 12, 4, 12.91, 13, 4, 12.91, 13, 5, 12.91, 13, 5, 12.92, 14, 5, 12.93, 14, 5, 12.94, 14, 4, 12.93, 15, 5, 12.93, 15, 5, 12.9, 16, 4, 12.89, 16, 5, 12.88, 16, 4, 12.89, 17, 5, 12.89, 17, 5, 12.88, 17, 4, 12.88, 18, 5, 12.88, 18, 5, 12.88, 18, 5, 12.88, 19, 5, 12.87, 19, 4, 12.83, 19, 4, 12.8, 20, 4, 12.82, 20, 4, 12.83, 20, 5, 12.82, 20, 4, 12.81, 20, 4, 12.81, 20, 4, 12.81, 20, 4, 12.81, 20, 4, 12.81, 20, 4, 12.81, 20, 4, 12.8, 20, 3, 12.76, 20, 3, 12.71, 20, 2, 12.72, 20, 2, 12.72, 20, 3, 12.72, 21, 2, 12.72, 20, 2, 12.72, 20, 2, 12.72, 21, 3, 12.72, 20, 1, 12.69, 20, 1, 12.64, 20, 1, 12.62, 20, 0, 12.64, 21, 0, 12.63, 20, 1, 12.63, 20, 0, 12.63, 21, 0, 12.63, 20, 1, 12.63, 21, 0, 12.63, 20, 0, 12.63, 20, 1, 12.63, 21, 0, 12.63, 20, 0, 12.63, 20, 1, 12.62, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, -1, 12.57, 20, -2, 12.52, 19, -1, 12.47, 20, -1, 12.45, 20, 0, 12.42, 20, -1, 12.41, 20, 0, 12.4, 20, 0, 12.4, 20, 0, 12.41, 20, 1, 12.42, 20, 0, 12.44, 19, 1, 12.47, 20, 1, 12.5, 20, 1, 12.54, 19, 1, 12.58, 20, 1, 12.63, 20, 0, 12.64, 19, 0, 12.63, 18, 0, 12.61, 19, -1, 12.61, 19, 1, 12.61, 19, 0, 12.61, 19, 0, 12.61, 19, 0, 12.61, 19, 0, 12.61, 18, 0, 12.61, 19, 0, 12.61, 19, 0, 12.61, 18, 0, 12.61, 18, 0, 12.61, 19, 0, 12.61, 18, 0, 12.61, 18, 0, 12.61, 18, 0, 12.61, 18, 0, 12.61, 19, 0, 12.61, 18, 0, 12.61, 17, 0, 12.61, 18, 0, 12.61, 18, 0, 12.61, 18, 0, 12.61, 18, 0, 12.61, 17, 0, 12.61, 18, 0, 12.61, 17, 0, 12.61, 18, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 18, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 16, 0, 12.61, 17, 0, 12.61, 17, 0, 12.61, 16, 0, 12.61, 17, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 17, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 15, 0, 12.61, 16, 0, 12.61, 16, 0, 12.61, 15, 0, 12.61, 16, 0, 12.61, 15, 0, 12.61, 15, 0, 12.61, 16, 0, 12.61, 15, 0, 12.61, 15, 0, 12.61, 15, 0, 12.61)); StopData(); StartData(20); AddData(new Array(1371, 1107, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 12, 0, 0.04, 14, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.05, 21, 0, 0.06, 21, 0, 0.11, 21, 0, 0.15, 22, 1, 0.19, 21, 1, 0.23, 22, 1, 0.27, 21, 2, 0.3, 21, 2, 0.33, 22, 2, 0.36, 21, 3, 0.38, 21, 2, 0.41, 20, 4, 0.43, 21, 3, 0.46, 21, 4, 0.48, 21, 4, 0.5, 20, 5, 0.51, 21, 5, 0.53, 20, 5, 0.55, 21, 5, 0.56, 20, 6, 0.58, 20, 6, 0.59, 20, 7, 0.6, 20, 6, 0.61, 21, 7, 0.62, 19, 8, 0.63, 20, 7, 0.64, 20, 8, 0.65, 20, 8, 0.66, 20, 9, 0.66, 19, 8, 0.64, 21, 6, 0.54, 20, 6, 0.41, 21, 5, 0.25, 21, 2, 0.17, 21, 2, 0.1, 23, 4, 0.1, 23, 3, 0.09, 23, 4, 0.07, 22, 5, 0.06, 23, 4, 0.05, 22, 5, 0.05, 23, 5, 0.06, 24, 5, 0.08, 23, 4, 0.14, 25, 5, 0.2, 24, 4, 0.2, 25, 3, 0.18, 25, 2, 0.17, 25, 0, 0.17, 25, 0, 0.14, 24, -1, 0.08, 26, 2, 0.07, 26, 1, 0.04, 27, 1, 0.04, 27, 1, 0.05, 27, 1, 0.06, 27, 1, 0.06, 27, 1, 0.02, 27, 0, 0.04, 27, 0, 0.07, 25, 1, 0.11, 26, -1, 0.07, 26, 0, 0.04, 27, 0, 0.07, 26, 0, 0.06, 26, -1, 0.04, 26, 0, 0.04, 27, 1, 0.04, 27, 0, 0.04, 27, 0, 0.04, 26, 0, 0.1, 27, 0, 0.06, 27, 0, 0.05, 24, 1, 0.07, 27, -1, 0.04, 27, 1, 0.06, 25, -1, 0.04, 27, 0, 0.05, 27, 0, 0.01, 27, -2, 0.01, 26, -1, 0.04, 26, -2, -0.04, 27, -4, -0.1, 25, -8, -0.22, 24, -9, -0.27, 18, -14, -0.59, 19, -15, -0.63, 19, -17, -0.61, 20, -17, -0.5, 20, -15, -0.43, 19, -15, -0.37, 20, -15, -0.31, 19, -14, -0.24, 20, -13, -0.16, 20, -13, -0.07, 19, -13, 0.01, 20, -12, 0.11, 19, -12, 0.2, 19, -12, 0.3, 19, -11, 0.41, 20, -10, 0.52, 19, -11, 0.62, 19, -9, 0.71, 18, -10, 0.8, 19, -9, 0.88, 19, -9, 0.96, 18, -8, 1.03, 18, -8, 1.1, 19, -8, 1.16, 18, -8, 1.21, 18, -7, 1.24, 18, -7, 1.26, 18, -6, 1.27, 18, -6, 1.27, 18, -6, 1.26, 18, -6, 1.24, 18, -5, 1.21, 17, -5, 1.18, 18, -5, 1.16, 18, -4, 1.13, 17, -4, 1.11, 18, -4, 1.09, 17, -3, 1.07, 17, -3, 1.05, 18, -2, 1.03, 17, -3, 1.02, 17, -1, 1, 17, -2, 0.99, 17, -1, 0.98, 17, -1, 0.96, 17, 0, 0.95, 17, -1, 0.94, 17, 1, 0.93, 17, 0, 0.92, 17, 1, 0.91, 16, 1, 0.9, 17, 2, 0.9, 16, 2, 0.89, 17, 2, 0.88, 16, 2, 0.88, 17, 3, 0.87, 16, 3, 0.86, 16, 4, 0.86, 17, 4, 0.85, 16, 4, 0.85, 16, 4, 0.84, 16, 5, 0.84, 16, 5, 0.84, 16, 6, 0.83, 16, 5, 0.83, 16, 6, 0.83, 16, 7, 0.82, 15, 6, 0.82, 16, 7, 0.81, 16, 8, 0.79, 15, 7, 0.75, 16, 8, 0.72, 15, 8, 0.68, 16, 8, 0.64, 15, 9, 0.61, 15, 9, 0.58, 15, 9, 0.55, 15, 10, 0.53, 16, 10, 0.5, 15, 10, 0.48, 15, 11, 0.46, 15, 11, 0.44, 15, 11, 0.42, 14, 11, 0.4, 15, 12, 0.38, 15, 12, 0.37, 15, 12, 0.35, 15, 13, 0.34, 14, 13, 0.33, 15, 13, 0.31, 14, 14, 0.3, 15, 14, 0.29, 14, 14, 0.28, 11, 5, -0.12, 8, -2, -0.46, 8, -6, -0.54, 9, -7, -0.64, 8, -7, -0.62, 9, -8, -0.6, 9, -7, -0.59, 10, -6, -0.59, 8, -7, -0.61, 10, -7, -0.63, 9, -7, -0.61, 9, -7, -0.6, 10, -6, -0.59, 10, -7, -0.56, 10, -7, -0.54, 10, -7, -0.52, 10, -6, -0.5, 10, -6, -0.46, 11, -5, -0.41, 10, -5, -0.36, 10, -5, -0.3, 10, -4, -0.25, 10, -4, -0.19, 10, -4, -0.15, 10, -3, -0.1, 10, -3, -0.06, 10, -2, -0.02, 10, -3, 0.02, 10, -1, 0.05, 9, -2, 0.09, 10, -1, 0.12, 10, -1, 0.14, 9, 0, 0.17, 10, -1, 0.2, 9, 0, 0.22, 10, 1, 0.24, 9, 1, 0.26, 10, 1, 0.28, 9, 1, 0.3, 10, 2, 0.31, 9, 2, 0.33, 9, 3, 0.34, 9, 2, 0.36, 10, 4, 0.37, 9, 3, 0.38, 9, 4, 0.39, 9, 4, 0.4, 9, 4, 0.4, 10, 3, 0.35, 9, 3, 0.26, 10, 1, 0.13, 10, 0, 0.08, 10, -1, 0.02, 12, -1, 0.06, 12, 0, 0.06, 12, 0, 0.05, 12, 1, 0.05, 12, 1, 0.06, 13, 1, 0.08, 12, 1, 0.1, 13, 0, 0.1, 14, 1, 0.1, 13, 1, 0.1, 14, 0, 0.09, 14, 1, 0.08, 15, 0, 0.07, 15, 1, 0.06, 15, 1, 0.07, 16, 1, 0.08, 16, 2, 0.1, 16, 0, 0.1, 17, 1, 0.1, 16, 1, 0.1, 17, 1, 0.1, 18, 1, 0.1, 17, 1, 0.1, 18, 1, 0.1, 18, 0, 0.1, 19, 1, 0.1, 18, 0, 0.06, 19, 0, 0.01, 19, 1, 0, 20, 0, -0.02, 20, 1, -0.05, 19, 2, -0.07, 20, 1, -0.08, 19, 2, -0.1, 19, 2, -0.12, 20, 3, -0.13, 19, 3, -0.15, 20, 2, -0.13, 20, 3, -0.1, 20, 3, -0.08, 21, 3, -0.05, 21, 3, -0.02, 21, 3, 0.02, 21, 4, 0.06, 22, 3, 0.1, 22, 4, 0.14, 22, 5, 0.18, 22, 4, 0.21, 22, 3, 0.22, 22, 3, 0.2, 23, 2, 0.18, 22, 3, 0.18, 24, 3, 0.18, 23, 3, 0.18, 23, 4, 0.18, 23, 3, 0.19, 24, 3, 0.19, 24, 4, 0.19, 25, 3, 0.19, 26, 4, 0.19, 25, 2, 0.14, 26, 0, 0.03, 25, -1, -0.03, 26, -1, -0.04, 26, 1, -0.04, 26, 0, -0.05, 26, 1, -0.05, 26, 0, -0.03, 27, 1, 0, 27, 1, 0.03, 26, 1, 0.05, 25, 0, 0.05, 27, 0, 0.05, 27, 0, 0.05, 27, 0, 0.05, 26, -6, 0.07, 26, -5, 0.05, 27, -5, 0.07, 26, -4, 0.08, 26, -5, 0.09, 26, -3, 0.1, 26, -4, 0.11, 25, -3, 0.11, 18, -11, -0.27, 17, -13, -0.6, 13, -12, -0.83, 17, -16, -0.72, 15, -15, -0.66, 16, -15, -0.63, 15, -13, -0.62, 15, -14, -0.6, 16, -12, -0.59, 15, -13, -0.58, 15, -12, -0.57, 15, -12, -0.56, 15, -11, -0.55, 15, -11, -0.54, 15, -11, -0.53, 15, -10, -0.52, 15, -10, -0.52, 15, -9, -0.51, 15, -10, -0.5, 14, -8, -0.5, 15, -9, -0.48, 15, -8, -0.46, 14, -8, -0.42, 15, -7, -0.38, 15, -7, -0.33, 14, -7, -0.28, 15, -6, -0.21, 15, -6, -0.14, 14, -5, -0.07, 15, -6, 0.01, 14, -4, 0.1, 15, -5, 0.19, 14, -4, 0.29, 15, -3, 0.38, 14, -3, 0.49, 14, -3, 0.59, 15, -2, 0.7, 14, -2, 0.82, 14, -2, 0.93, 14, -1, 1.05, 13, -1, 1.17, 14, -1, 1.29, 14, 0, 1.42, 13, 0, 1.54, 13, 1, 1.67, 14, 1, 1.8, 13, 1, 1.93, 13, 1, 2.07, 12, 2, 2.2, 13, 2, 2.34, 13, 2, 2.47, 12, 2, 2.61, 13, 3, 2.75, 12, 3, 2.89, 13, 3, 3.03, 12, 3, 3.17, 12, 4, 3.31, 13, 4, 3.46, 12, 4, 3.6, 12, 4, 3.74, 13, 4, 3.89, 12, 5, 4.03, 13, 5, 4.18, 12, 6, 4.32, 13, 5, 4.47, 12, 6, 4.61, 13, 7, 4.73, 13, 6, 4.85, 13, 7, 4.96, 12, 8, 5.06, 13, 8, 5.16, 13, 8, 5.25, 12, 9, 5.33, 13, 8, 5.41, 12, 10, 5.49, 13, 9, 5.55, 12, 10, 5.62, 13, 10, 5.68, 12, 11, 5.73, 12, 11, 5.79, 12, 11, 5.84, 12, 11, 5.88, 13, 12, 5.92, 12, 12, 5.96, 12, 13, 6, 12, 12, 6.04, 11, 13, 6.07, 12, 13, 6.1, 12, 14, 6.13, 12, 14, 6.16, 12, 14, 6.18, 11, 14, 6.2, 12, 15, 6.23, 10, 4, 6.09, 13, -4, 6.17, 12, -3, 6.17, 12, -5, 6.17, 12, -3, 6.17, 13, -3, 6.17, 12, -2, 6.16, 13, -2, 6.16, 12, -2, 6.16, 13, -1, 6.15, 13, -1, 6.15, 12, 0, 6.15, 12, 0, 6.14, 13, 0, 6.14, 12, 0, 6.14, 13, 0, 6.17, 13, 1, 6.19, 13, 0, 6.21, 14, 1, 6.23, 13, 1, 6.25, 13, 2, 6.27, 13, 2, 6.29, 13, 2, 6.31, 14, 3, 6.32, 13, 3, 6.33, 13, 3, 6.35, 13, 4, 6.36, 13, 4, 6.37)); AddData(new Array(12, 4, 6.38, 13, 4, 6.39, 13, 5, 6.39, 13, 4, 6.42, 13, 4, 6.46, 13, 2, 6.47, 14, 0, 6.46, 15, 1, 6.47, 14, 2, 6.44, 15, 2, 6.42, 16, 1, 6.41, 15, 2, 6.4, 16, 2, 6.4, 17, 3, 6.39, 16, 2, 6.38, 17, 2, 6.38, 18, 2, 6.38, 18, 3, 6.36, 17, 3, 6.36, 18, 3, 6.35, 19, 4, 6.36, 19, 3, 6.37, 19, 4, 6.38, 20, 4, 6.41, 20, 4, 6.43, 20, 5, 6.46, 21, 4, 6.49, 21, 5, 6.52, 21, 3, 6.5, 21, 4, 6.51, 22, 4, 6.51, 22, 4, 6.5, 22, 5, 6.49, 22, 5, 6.46, 22, 5, 6.43, 22, 6, 6.38, 22, 5, 6.33, 21, 7, 6.27, 21, 6, 6.21, 22, 7, 6.14, 21, 7, 6.06, 21, 7, 5.98, 21, 8, 5.91, 21, 8, 5.83, 21, 9, 5.77, 21, 8, 5.71, 21, 10, 5.65, 21, 9, 5.59, 20, 10, 5.54, 21, 10, 5.49, 21, 10, 5.45, 20, 10, 5.41, 21, 11, 5.37, 20, 12, 5.33, 23, 10, 5.21, 23, 2, 5.41, 23, 3, 5.5, 22, 2, 5.56, 22, 1, 5.64, 24, 2, 5.71, 24, 3, 5.77, 23, 2, 5.83, 24, 3, 5.88, 24, 4, 5.93, 23, 3, 5.97, 23, 4, 6, 23, 4, 6.03, 23, 4, 6.08, 24, 3, 6.15, 24, 2, 6.23, 25, 2, 6.32, 25, 3, 6.37, 25, 1, 6.39, 24, -1, 6.38, 24, -1, 6.34, 25, -1, 6.31, 25, 0, 6.29, 25, -1, 6.27, 26, 0, 6.26, 26, -1, 6.24, 26, 0, 6.23, 27, 0, 6.22, 27, 0, 6.21, 27, -1, 6.21, 27, 0, 6.2, 27, 0, 6.2, 27, 0, 6.19, 28, 0, 6.19, 27, 0, 6.2, 23, -5, 6.01, 20, -9, 5.78, 18, -12, 5.78, 20, -13, 5.84, 21, -13, 5.94, 20, -11, 5.96, 21, -11, 5.99, 20, -11, 6.03, 20, -11, 6.06, 20, -10, 6.08, 20, -9, 6.11, 19, -9, 6.13, 20, -9, 6.16, 20, -9, 6.18, 20, -8, 6.2, 19, -8, 6.21, 20, -7, 6.24, 19, -7, 6.28, 20, -7, 6.32, 19, -6, 6.37, 19, -6, 6.43, 20, -6, 6.5, 19, -5, 6.57, 19, -5, 6.65, 20, -4, 6.73, 19, -4, 6.82, 19, -4, 6.91, 19, -3, 7, 19, -3, 7.1, 18, -2, 7.21, 19, -2, 7.32, 19, -2, 7.43, 18, -1, 7.54, 18, -1, 7.66, 18, -1, 7.77, 19, 0, 7.9, 17, 0, 8.02, 18, 0, 8.14, 18, 1, 8.27, 17, 1, 8.4, 18, 1, 8.53, 17, 1, 8.66, 17, 2, 8.8, 17, 2, 8.93, 17, 2, 9.07, 17, 2, 9.2, 17, 3, 9.34, 17, 3, 9.48, 17, 3, 9.62, 17, 4, 9.76, 16, 3, 9.9, 17, 4, 10.05, 17, 4, 10.19, 17, 5, 10.33, 17, 4, 10.48, 17, 5, 10.62, 17, 5, 10.77, 17, 6, 10.9, 17, 6, 11.03, 17, 6, 11.13, 16, 7, 11.22, 17, 7, 11.3, 17, 8, 11.35, 17, 8, 11.4, 16, 8, 11.43, 17, 9, 11.46, 16, 9, 11.49, 17, 9, 11.51, 16, 9, 11.53, 17, 10, 11.56, 16, 10, 11.58, 16, 11, 11.6, 16, 11, 11.62, 16, 11, 11.63, 16, 11, 11.65, 16, 12, 11.66, 18, 8, 11.72, 17, 7, 11.85, 17, 6, 12.01, 16, 9, 12.09, 17, 8, 12.19, 17, 9, 12.29, 17, 9, 12.37, 16, 10, 12.43, 17, 10, 12.48, 16, 10, 12.52, 16, 10, 12.54, 16, 10, 12.62, 18, 5, 12.74, 17, 2, 12.74, 18, 1, 12.71, 18, 0, 12.67, 19, 0, 12.66, 19, 0, 12.63, 20, 0, 12.59, 19, 1, 12.55, 19, 1, 12.52, 19, 2, 12.49, 19, 2, 12.45, 19, 2, 12.42, 19, 2, 12.4, 19, 3, 12.37, 19, 3, 12.36, 19, 2, 12.38, 19, 3, 12.39, 19, 3, 12.4, 20, 3, 12.43, 20, 3, 12.46, 20, 3, 12.51, 21, 3, 12.59, 21, 3, 12.67, 22, 1, 12.69, 21, 2, 12.7, 21, 0, 12.68, 21, 0, 12.64, 23, 1, 12.64, 22, 1, 12.63, 22, 1, 12.64, 23, 1, 12.64, 24, 1, 12.64, 24, -1, 12.59, 22, -2, 12.54, 23, -3, 12.54, 23, -5, 12.52, 25, -3, 12.53, 24, -3, 12.53, 24, -3, 12.52, 24, -3, 12.51, 24, -2, 12.49, 24, -4, 12.44, 23, -5, 12.42, 23, -7, 12.4, 23, -7, 12.35, 25, -6, 12.35, 24, -6, 12.34, 24, -6, 12.34, 25, -6, 12.33, 24, -8, 12.28, 24, -9, 12.26, 23, -10, 12.24, 24, -10, 12.25, 24, -8, 12.27, 24, -11, 12.21, 23, -10, 12.12, 22, -13, 12.09, 22, -14, 12.07, 22, -13, 12.1, 22, -13, 12.09, 23, -13, 12.09, 22, -12, 12.08, 23, -13, 12.09, 23, -12, 12.12, 22, -12, 12.16, 22, -14, 12.1, 21, -16, 12.09, 21, -16, 12.07, 21, -16, 12.03, 21, -15, 12.02, 22, -15, 12.01, 21, -15, 11.99, 22, -14, 11.98, 21, -14, 11.97, 21, -14, 11.96, 22, -13, 11.96, 21, -12, 11.95, 21, -13, 11.94, 21, -12, 11.93, 21, -12, 11.93, 21, -11, 11.92, 21, -11, 11.91, 20, -10, 11.91, 21, -10, 11.9, 21, -10, 11.9, 20, -10, 11.89, 21, -9, 11.89, 20, -8, 11.89, 20, -9, 11.88, 21, -8, 11.88, 20, -7, 11.88, 20, -8, 11.87, 20, -7, 11.87, 20, -6, 11.87, 20, -6, 11.86, 20, -6, 11.86, 20, -6, 11.86, 20, -5, 11.86, 19, -5, 11.86, 20, -4, 11.85, 20, -4, 11.85, 19, -4, 11.85, 19, -3, 11.85, 20, -3, 11.85, 19, -3, 11.85, 19, -3, 11.85, 20, -2, 11.84, 19, -1, 11.84, 19, -2, 11.84, 19, -1, 11.84, 19, 0, 11.84, 19, -1, 11.84, 18, 0, 11.84, 19, 1, 11.84, 19, 0, 11.84, 18, 1, 11.84, 19, 1, 11.84, 18, 2, 11.84, 19, 2, 11.84, 18, 2, 11.84, 18, 3, 11.83, 19, 3, 11.83, 18, 3, 11.83, 18, 4, 11.83, 18, 4, 11.83, 18, 4, 11.83, 18, 4, 11.83, 18, 5, 11.83, 18, 5, 11.83, 18, 6, 11.83, 17, 6, 11.83, 18, 6, 11.83, 17, 6, 11.83, 18, 7, 11.83, 17, 7, 11.82, 18, 7, 11.8, 17, 8, 11.77, 17, 8, 11.73, 17, 8, 11.69, 17, 9, 11.65, 17, 9, 11.61, 17, 9, 11.57, 18, 10, 11.48, 19, 1, 11.61, 19, 0, 11.72, 18, -1, 11.8, 17, -1, 11.83, 20, 1, 11.91, 20, 0, 11.96, 19, 0, 12.02, 19, 1, 12.06, 20, 1, 12.11, 19, 1, 12.15, 19, 2, 12.19, 19, 2, 12.23, 19, 3, 12.26, 19, 3, 12.3, 19, 3, 12.32, 18, 3, 12.33, 19, 3, 12.35, 19, 3, 12.39, 19, 3, 12.45, 20, 1, 12.52, 20, 2, 12.6, 20, 3, 12.63, 21, 2, 12.67, 21, 1, 12.67, 21, 1, 12.66, 21, 1, 12.66, 22, 1, 12.65, 21, 1, 12.65, 23, 1, 12.65, 22, 2, 12.65, 23, 1, 12.64, 23, 2, 12.63, 23, 2, 12.63, 24, 2, 12.61, 23, 2, 12.59, 23, 3, 12.56, 23, 3, 12.51, 23, 3, 12.47, 23, 4, 12.41, 23, 4, 12.35, 22, 4, 12.28, 23, 5, 12.2, 22, 5, 12.12, 23, 5, 12.05, 22, 6, 11.98, 23, 6, 11.91, 22, 6, 11.85, 22, 7, 11.79, 22, 7, 11.73, 22, 8, 11.66, 23, 7, 11.55, 22, 2, 11.61, 23, -1, 11.66, 23, -3, 11.8, 22, -7, 12.06, 23, -7, 12.32, 22, -3, 12.46, 22, -5, 12.62, 22, -3, 12.77, 22, -4, 12.91, 21, -3, 13.04, 20, -2, 13.23, 10, -10, 13.1, 10, -13, 13.27, 9, -13, 13.36, 6, -12, 13.54, 6, -13, 13.65, 5, -10, 13.79, 6, -11, 13.91, 5, -10, 14.03, 5, -10, 14.16, 5, -9, 14.28, 5, -9, 14.41, 5, -9, 14.54, 4, -9, 14.67, 5, -8, 14.8, 5, -8, 14.93, 4, -7, 15.07, 4, -8, 15.2, 5, -7, 15.34, 4, -7, 15.48, 5, -6, 15.62, 4, -7, 15.76, 4, -6, 15.9, 5, -5, 16.04, 4, -6, 16.18, 4, -5, 16.32, 5, -5, 16.47, 5, -5, 16.61, 4, -4, 16.75, 5, -4, 16.89, 5, -3, 17.01, 5, -4, 17.13, 5, -2, 17.24, 5, -3, 17.34, 4, -2, 17.44, 5, -2, 17.53, 5, -1, 17.61, 5, -1, 17.69, 5, 0, 17.76, 5, 0, 17.83, 5, 0, 17.89, 5, 0, 17.95, 5, 1, 18.01, 5, 1, 18.06, 5, 2, 18.11, 5, 2, 18.15, 4, 2, 18.19, 5, 3, 18.23, 5, 3, 18.27, 5, 3, 18.31, 4, 4, 18.34, 5, 4, 18.37, 5, 4, 18.4, 4, 5, 18.42, 5, 4, 18.45, 4, 6, 18.47, 5, 5, 18.49, 4, 6, 18.51, 5, 6, 18.53, 4, 7, 18.55, 5, 7, 18.57, 4, 7, 18.58, 5, 7, 18.6, 4, 8, 18.61, 5, 8, 18.62, 4, 8, 18.64, 4, 9, 18.65, 5, 9, 18.66, 4, 9, 18.67, 4, 10, 18.68, 5, 10, 18.68, 4, 10, 18.69, 4, 10, 18.7, 4, 11, 18.71, 5, 11, 18.71, 4, 11, 18.72, 4, 12, 18.73, 4, 12, 18.73, 4, 12, 18.74, 4, 13, 18.74, 5, 13, 18.75, 4, 13, 18.75, 4, 13, 18.75, 4, 14, 18.76, 4, 14, 18.76, 4, 14, 18.76, 4, 15, 18.77, 3, 13, 18.86, 9, -2, 18.95, 7, -1, 18.93, 7, -1, 18.93, 7, -2, 18.93, 8, -1, 18.92, 8, -1, 18.92, 8, 0, 18.91, 8, 0, 18.91, 7, 1, 18.91, 8, 1, 18.9, 8, -1, 18.89, 9, 0, 18.88, 9, 0, 18.86, 9, 0, 18.84, 9, 0, 18.85, 10, -1, 18.85, 10, 0, 18.85, 10, -1, 18.85, 11, 0, 18.85, 11, -2, 18.82, 10, -2, 18.76, 10, -2, 18.69, 11, -2, 18.64, 12, -2, 18.61, 11, -4, 18.62, 12, -3, 18.62, 12, -3, 18.62, 12, -4, 18.62, 12, -3, 18.62, 13, -4, 18.6, 12, -5, 18.56)); AddData(new Array(11, -5, 18.49, 12, -5, 18.41, 12, -6, 18.37, 12, -7, 18.38, 13, -7, 18.38, 12, -7, 18.34, 11, -8, 18.29, 11, -7, 18.23, 9, -10, 18.21, 9, -10, 18.13, 8, -10, 18.03, 6, -10, 17.88, 5, -12, 17.82, 4, -12, 17.78, 7, -11, 17.84, 6, -13, 17.92, 5, -12, 18.01, 6, -11, 18.1, 5, -12, 18.19, 6, -10, 18.29, 6, -11, 18.39, 5, -10, 18.5, 6, -9, 18.6, 5, -9, 18.69, 6, -9, 18.78, 5, -8, 18.86, 6, -8, 18.94, 5, -8, 19.01, 5, -7, 19.07, 6, -7, 19.14, 5, -6, 19.19, 5, -6, 19.25, 5, -6, 19.3, 5, -5, 19.35, 5, -5, 19.39, 5, -5, 19.43, 5, -4, 19.47, 5, -4, 19.51, 5, -4, 19.54, 5, -3, 19.57, 5, -3, 19.6, 5, -3, 19.63, 5, -2, 19.65, 4, -2, 19.68, 5, -2, 19.7, 5, -1, 19.72, 5, -1, 19.74, 4, -1, 19.76, 5, 0, 19.78, 5, 0, 19.8, 4, 0, 19.81, 5, 1, 19.82, 5, 1, 19.84, 4, 1, 19.85, 5, 1, 19.86, 5, 2, 19.87, 4, 3, 19.88, 5, 2, 19.89, 4, 3, 19.9, 5, 3, 19.91, 4, 4, 19.92, 5, 4, 19.92, 4, 4, 19.9, 5, 4, 19.88, 4, 5, 19.86, 4, 5, 19.84, 5, 5, 19.82, 4, 6, 19.8, 4, 6, 19.79, 5, 6, 19.77, 4, 7, 19.76, 4, 7, 19.74, 5, 7, 19.73, 4, 8, 19.72, 4, 8, 19.71, 4, 8, 19.7, 5, 8, 19.69, 4, 9, 19.68, 4, 9, 19.67, 4, 10, 19.66, 5, 9, 19.66, 4, 10, 19.65, 4, 11, 19.64, 4, 10, 19.64, 4, 11, 19.63, 4, 11, 19.63, 4, 12, 19.62, 5, 12, 19.62, 4, 12, 19.61, 4, 12, 19.61, 4, 13, 19.6, 4, 13, 19.6, 4, 13, 19.6, 4, 14, 19.59, 4, 13, 19.59, 4, 15, 19.59, 4, 14, 19.59, 4, 15, 19.58, 4, 15, 19.58, 4, 15, 19.58, 4, 15, 19.58, 3, 16, 19.58, 4, 16, 19.57, 6, 11, 19.32, 7, 1, 19.16, 10, 1, 19.13, 10, 1, 19.1, 10, 0, 19.08, 11, 0, 19.06, 10, 2, 19.05, 11, 1, 19.04, 11, 2, 19.03, 11, 2, 19.03, 11, 2, 19.03, 11, 3, 19.05, 11, 2, 19.06, 12, 2, 19.05, 12, 2, 19.05, 12, 1, 19.04, 13, 2, 19.03, 13, 2, 19.03, 13, 2, 19.03, 14, 2, 19.03, 14, 1, 19.01, 14, 1, 18.98, 15, 2, 18.96, 15, 1, 18.94, 15, 1, 18.95, 16, 0, 18.95, 16, 1, 18.95, 17, 1, 18.94, 16, 1, 18.94, 17, 1, 18.94, 17, 1, 18.94, 18, 0, 18.94, 18, 1, 18.94, 18, 1, 18.94, 18, 1, 18.94, 19, 1, 18.94, 19, 1, 18.93, 19, 0, 18.92, 20, 1, 18.92, 20, 1, 18.92, 20, 0, 18.92, 20, 1, 18.92, 21, 0, 18.92, 21, 1, 18.92, 21, 1, 18.92, 22, 0, 18.91, 22, 0, 18.9, 22, 0, 18.88, 22, 0, 18.89, 23, 0, 18.88, 23, 0, 18.88, 23, -1, 18.88, 24, 0, 18.88, 24, 0, 18.88, 24, 0, 18.88, 24, -1, 18.88, 25, 0, 18.88, 24, 0, 18.88, 26, -1, 18.87, 25, -1, 18.82, 24, -7, 18.79, 25, -8, 18.73, 24, -8, 18.65, 24, -6, 18.64, 25, -6, 18.61, 24, -6, 18.58, 24, -5, 18.55, 25, -5, 18.53, 24, -5, 18.5, 22, -8, 18.41, 20, -10, 18.31, 21, -14, 18.36, 20, -14, 18.36, 22, -12, 18.43, 21, -11, 18.44, 21, -11, 18.46, 21, -11, 18.47, 22, -10, 18.48, 21, -10, 18.49, 21, -9, 18.5, 21, -10, 18.51, 21, -9, 18.52, 22, -8, 18.53, 20, -8, 18.54, 21, -8, 18.54, 21, -7, 18.55, 21, -7, 18.56, 21, -7, 18.56, 20, -6, 18.57, 21, -6, 18.57, 20, -6, 18.58, 20, -5, 18.58, 21, -5, 18.59, 20, -5, 18.59, 20, -4, 18.59, 20, -4, 18.6, 20, -4, 18.6, 20, -3, 18.6, 20, -3, 18.61, 20, -2, 18.61, 20, -2, 18.61, 20, -2, 18.61, 19, -2, 18.62, 20, -1, 18.62, 19, -1, 18.62, 20, 0, 18.62, 19, 0, 18.62, 19, 0, 18.62, 20, 0, 18.63, 19, 1, 18.63, 19, 2, 18.63, 19, 1, 18.63, 19, 2, 18.63, 19, 2, 18.63, 19, 2, 18.63, 19, 3, 18.63, 18, 3, 18.63, 19, 4, 18.63, 19, 4, 18.64, 18, 4, 18.64, 19, 4, 18.64, 18, 5, 18.64, 18, 5, 18.64, 19, 5, 18.64, 18, 6, 18.64, 18, 6, 18.64, 18, 6, 18.64, 18, 7, 18.64, 18, 7, 18.64, 18, 7, 18.64, 18, 8, 18.64, 18, 7, 18.64, 19, 8, 18.64, 18, 9, 18.64, 18, 8, 18.64, 18, 9, 18.64, 18, 10, 18.64, 18, 9, 18.64, 17, 10, 18.63, 18, 10, 18.63, 18, 11, 18.63, 18, 11, 18.63, 17, 11, 18.63, 18, 11, 18.63, 17, 12, 18.63, 18, 12, 18.63, 17, 12, 18.63, 17, 12, 18.63, 18, 13, 18.63, 17, 13, 18.63, 17, 14, 18.63, 17, 13, 18.63, 17, 14, 18.63, 17, 15, 18.63, 17, 14, 18.63, 17, 15, 18.63, 16, 15, 18.63, 17, 16, 18.63, 17, 15, 18.63, 16, 16, 18.63, 17, 17, 18.63, 16, 15, 18.7, 19, 1, 18.88, 18, -1, 18.89, 18, -2, 18.9, 18, -2, 18.91, 18, -3, 18.87, 19, -1, 18.87, 19, -1, 18.86, 19, 0, 18.85, 18, 0, 18.84, 19, 0, 18.83, 19, 0, 18.84, 19, -1, 18.84, 18, -3, 18.81, 20, -1, 18.77, 19, -3, 18.78, 20, -2, 18.78, 20, -2, 18.79, 20, -2, 18.79, 21, -2, 18.79, 20, -2, 18.79, 21, -3, 18.79, 22, -2, 18.79, 21, -3, 18.77, 21, -3, 18.73, 20, -6, 18.58, 19, -9, 18.45, 15, -12, 18.27, 15, -13, 18.21, 14, -14, 18.21, 16, -15, 18.32, 16, -14, 18.4, 15, -13, 18.47, 15, -12, 18.53, 16, -12, 18.61, 15, -12, 18.69, 15, -11, 18.78, 16, -11, 18.87, 15, -11, 18.96, 15, -10, 19.06, 15, -10, 19.16, 15, -9, 19.27, 15, -9, 19.38, 15, -8, 19.49, 15, -8, 19.61, 14, -8, 19.72, 15, -7, 19.84, 15, -7, 19.97, 14, -6, 20.09, 14, -6, 20.22, 14, -6, 20.35, 14, -5, 20.48, 14, -5, 20.61, 14, -5, 20.74, 14, -4, 20.88, 13, -4, 21.01, 13, -4, 21.15, 14, -4, 21.29, 13, -3, 21.42, 13, -3, 21.56, 13, -3, 21.7, 13, -2, 21.85, 13, -3, 21.99, 13, -2, 22.13, 13, -1, 22.27, 13, -2, 22.42, 13, -1, 22.56, 13, -1, 22.71, 13, -1, 22.85, 13, 0, 23, 13, -1, 23.14, 13, 1, 23.29, 14, 0, 23.44, 13, 1, 23.58, 13, 1, 23.73, 14, 2, 23.88, 13, 2, 24.03, 14, 2, 24.17, 13, 3, 24.31, 14, 3, 24.44, 13, 3, 24.56, 13, 4, 24.67, 14, 5, 24.77, 13, 5, 24.87, 13, 5, 24.96, 13, 5, 25.05, 13, 6, 25.13, 13, 6, 25.2, 13, 6, 25.27, 12, 7, 25.34, 13, 7, 25.4, 13, 8, 25.45, 12, 7, 25.51, 13, 8, 25.56, 12, 9, 25.6, 12, 8, 25.65, 13, 9, 25.69, 12, 10, 25.72, 12, 9, 25.75, 12, 10, 25.76, 12, 10, 25.76, 12, 10, 25.76, 12, 11, 25.74, 12, 10, 25.71, 12, 11, 25.67, 12, 12, 25.64, 11, 11, 25.61, 12, 12, 25.58, 11, 13, 25.55, 12, 12, 25.53, 12, 13, 25.5, 11, 13, 25.48, 11, 14, 25.46, 12, 14, 25.44, 11, 14, 25.42, 12, 14, 25.4, 11, 15, 25.39, 11, 14, 25.37, 12, 16, 25.36, 11, 15, 25.34, 11, 16, 25.33, 12, 11, 25.36, 16, 2, 25.39, 15, 1, 25.32, 15, 0, 25.26, 17, -1, 25.22, 15, -3, 25.15, 15, -3, 25.05, 15, -2, 24.98, 16, -1, 24.94, 16, -1, 24.89, 15, 0, 24.85, 16, 0, 24.81, 16, 0, 24.78, 15, 0, 24.74, 16, 0, 24.74, 16, 0, 24.74, 17, 1, 24.74, 17, 0, 24.75, 17, 0, 24.77, 17, 0, 24.79, 17, 0, 24.81, 17, 1, 24.85, 18, 0, 24.88, 18, 1, 24.92, 19, 1, 24.96, 18, 0, 25.01, 19, 1, 25.05, 20, 0, 25.15, 19, 0, 25.19, 20, -1, 25.19, 19, -2, 25.15, 19, -3, 25.05, 19, -5, 24.99, 18, -6, 24.97, 19, -6, 24.98, 20, -5, 24.96, 19, -5, 24.95, 19, -4, 24.95, 20, -5, 24.94, 19, -3, 24.94, 19, -4, 24.93, 19, -3, 24.92, 19, -3, 24.92, 19, -2, 24.91, 19, -3, 24.91, 19, -1, 24.91, 19, -2, 24.9, 19, -1, 24.9, 19, -1, 24.9, 20, -1, 24.92, 19, -1, 24.93, 21, -1, 24.95, 20, 0, 24.96, 20, 0, 24.97, 20, 0, 24.99, 20, 1, 25, 19, 1, 25.01, 20, 1, 25.02, 20, 1, 25.04, 20, 1, 25.09, 21, 1, 25.13, 20, 2, 25.19, 21, 0, 25.2, 21, 0, 25.19, 21, -1, 25.17, 21, -1, 25.15, 22, -1, 25.14, 22, 0, 25.14, 23, -1, 25.17, 23, -1, 25.24, 22, -2, 25.25, 23, 0, 25.3, 23, -2, 25.3, 23, -3, 25.21, 23, -4, 25.1, 23, -4, 24.95, 22, -6, 24.92, 23, -6, 24.93, 24, -5, 24.94, 24, -6, 24.95, 24, -5, 24.94, 24, -6, 24.94, 24, -7, 24.9, 23, -9, 24.8, 19, -13, 24.63, 19, -14, 24.48, 20, -15, 24.46, 19, -17, 24.42, 17, -17, 24.45, 18, -17, 24.48, 18, -17, 24.53, 18, -16, 24.58, 18, -16, 24.65, 18, -16, 24.72, 18, -15, 24.8, 18, -15, 24.88, 18, -14, 24.97, 18, -14, 25.06, 18, -14, 25.16, 18, -13, 25.26, 17, -12, 25.36, 18, -13, 25.47, 18, -11, 25.58, 18, -11, 25.69, 18, -11, 25.8, 18, -10, 25.92, 17, -10, 26.04, 18, -10, 26.16, 17, -9, 26.29, 18, -9, 26.41, 17, -8, 26.54, 17, -8, 26.67, 17, -8, 26.8, 16, -7, 26.94, 17, -7, 27.07)); AddData(new Array(16, -7, 27.21, 17, -6, 27.34, 16, -7, 27.48, 16, -5, 27.62, 16, -6, 27.76, 16, -5, 27.9, 16, -5, 28.04, 16, -5, 28.18, 15, -5, 28.33, 16, -4, 28.47, 16, -4, 28.61, 15, -4, 28.76, 16, -3, 28.9, 16, -4, 29.05, 16, -3, 29.19, 16, -2, 29.34, 15, -3, 29.48, 16, -2, 29.63, 16, -1, 29.78, 16, -2, 29.92, 16, -1, 30.07, 17, 0, 30.22, 16, 0, 30.37, 16, 0, 30.52, 16, 0, 30.66, 16, 2, 30.81, 16, 1, 30.96, 17, 2, 31.11, 16, 2, 31.26, 16, 3, 31.41, 16, 3, 31.56, 16, 4, 31.71, 15, 4, 31.86, 16, 5, 32, 15, 4, 32.15, 16, 6, 32.3, 15, 5, 32.45, 15, 6, 32.6, 15, 6, 32.75, 15, 7, 32.9, 14, 7, 33.05, 15, 7, 33.2, 14, 7, 33.35, 14, 8, 33.5, 14, 8, 33.65, 14, 8, 33.8, 14, 8, 33.95, 14, 9, 34.1, 13, 9, 34.25, 14, 8, 34.4, 13, 10, 34.55, 14, 9, 34.7, 13, 9, 34.85, 14, 10, 35, 14, 10, 35.15, 13, 10, 35.3, 14, 10, 35.46, 14, 11, 35.61, 13, 11, 35.76, 14, 11, 35.91, 14, 12, 36.06, 14, 11, 36.21, 14, 13, 36.36, 14, 12, 36.51, 14, 13, 36.66, 14, 13, 36.8, 14, 14, 36.93, 14, 14, 37.05, 14, 14, 37.16, 14, 15, 37.27, 14, 15, 37.37, 14, 15, 37.46, 14, 16, 37.55, 13, 16, 37.63, 14, 16, 37.7, 13, 17, 37.77, 14, 17, 37.84, 13, 17, 37.9, 13, 17, 37.95, 13, 18, 37.98, 13, 18, 38, 13, 18, 38.02, 13, 18, 38.04, 13, 8, 37.82, 14, -1, 37.76, 14, -1, 37.76, 15, -2, 37.75, 16, -3, 37.75, 15, 0, 37.74, 16, -1, 37.73, 16, 0, 37.73, 16, 0, 37.71, 16, -1, 37.7, 17, -1, 37.72, 16, 0, 37.72, 17, -1, 37.71, 18, -1, 37.7, 17, -6, 37.7, 18, -8, 37.69, 17, -6, 37.71, 18, -5, 37.71, 17, -5, 37.76, 13, -10, 37.55, 14, -9, 37.44, 13, -7, 37.33, 14, -7, 37.25, 15, -7, 37.18, 14, -6, 37.11, 14, -5, 37.05, 14, -6, 36.99, 14, -5, 36.94, 14, -4, 36.89, 14, -5, 36.84, 14, -4, 36.79, 14, -3, 36.75, 14, -3, 36.71, 14, -3, 36.67, 14, -3, 36.64, 14, -2, 36.61, 13, -2, 36.59, 14, -2, 36.58, 14, -1, 36.58, 14, -1, 36.6, 14, -1, 36.62, 14, -1, 36.64, 13, 0, 36.66, 14, 0, 36.67, 14, 0, 36.69, 14, 1, 36.7, 14, 0, 36.72, 13, 2, 36.74, 14, 1, 36.77, 14, 2, 36.81, 13, 2, 36.86, 14, 3, 36.92, 14, 2, 36.98, 13, 3, 37.05, 14, 4, 37.12, 13, 4, 37.2, 14, 4, 37.29, 14, 4, 37.38, 13, 5, 37.47, 14, 5, 37.56, 13, 6, 37.64, 13, 6, 37.72, 14, 6, 37.79, 13, 6, 37.86, 13, 7, 37.92, 13, 7, 37.98, 13, 8, 38.03, 13, 8, 38.08, 13, 8, 38.13, 13, 8, 38.18, 12, 9, 38.22, 13, 9, 38.26, 13, 9, 38.3, 12, 10, 38.33, 13, 9, 38.36, 12, 11, 38.39, 13, 10, 38.42, 12, 11, 38.45, 12, 11, 38.47, 13, 11, 38.49, 12, 12, 38.52, 12, 12, 38.54, 12, 12, 38.55, 13, 12, 38.55, 13, 8, 38.4, 14, 9, 38.23, 15, 5, 38.18, 16, 5, 38.14, 17, 5, 38.13, 16, 7, 38.11, 17, 6, 38.1, 16, 8, 38.09, 17, 6, 38.08, 17, 6, 38.08, 18, 6, 38.08, 18, 6, 38.03, 18, 4, 37.96, 19, 3, 37.93, 20, 1, 37.88, 19, 2, 37.78, 20, 1, 37.81, 21, 1, 37.83, 21, 1, 37.83, 21, 0, 37.82, 21, 1, 37.76, 22, -1, 37.68, 20, -2, 37.64, 23, -2, 37.67, 22, -1, 37.67, 23, -2, 37.67, 23, -1, 37.68, 23, -1, 37.68, 23, -2, 37.68, 24, -2, 37.67, 23, -2, 37.63, 23, -4, 37.58, 24, -3, 37.6, 24, -4, 37.59, 24, -4, 37.58, 25, -4, 37.58, 24, -3, 37.59, 26, -4, 37.6, 25, -4, 37.6, 25, -4, 37.6, 26, -4, 37.58, 25, -5, 37.52, 25, -7, 37.49, 24, -9, 37.45, 22, -13, 37.27, 21, -13, 37.24, 21, -15, 37.21, 22, -15, 37.24, 22, -13, 37.24, 23, -13, 37.26, 23, -13, 37.3, 23, -13, 37.34, 23, -12, 37.39, 22, -12, 37.44, 23, -11, 37.5, 22, -11, 37.57, 23, -11, 37.64, 22, -10, 37.7, 23, -10, 37.75, 22, -10, 37.8, 22, -9, 37.85, 22, -9, 37.9, 22, -8, 37.94, 22, -8, 37.98, 22, -8, 38.02, 21, -7, 38.05, 22, -8, 38.09, 21, -6, 38.12, 22, -6, 38.15, 21, -6, 38.17, 21, -6, 38.2, 21, -5, 38.22, 22, -5, 38.24, 21, -5, 38.26, 21, -4, 38.28, 20, -4, 38.3, 21, -3, 38.32, 21, -4, 38.33, 21, -3, 38.35, 20, -2, 38.36, 21, -2, 38.38, 20, -2, 38.39, 21, -2, 38.4, 20, -1, 38.41, 20, -1, 38.42, 20, 0, 38.43, 20, 0, 38.44, 20, 0, 38.45, 20, 0, 38.45, 20, 1, 38.46, 20, 1, 38.47, 20, 2, 38.47, 19, 2, 38.48, 20, 2, 38.48, 20, 2, 38.49, 19, 3, 38.49, 20, 3, 38.5, 19, 3, 38.5, 19, 4, 38.51, 19, 4, 38.51, 20, 5, 38.51, 19, 4, 38.52, 19, 5, 38.52, 19, 6, 38.52, 19, 5, 38.53, 18, 6, 38.53, 19, 6, 38.53, 19, 7, 38.53, 19, 7, 38.53, 18, 7, 38.54, 19, 8, 38.54, 18, 7, 38.54, 19, 8, 38.54, 18, 9, 38.54, 18, 9, 38.54, 19, 9, 38.54, 18, 9, 38.55, 18, 10, 38.55, 18, 9, 38.55, 18, 11, 38.55, 18, 10, 38.55, 18, 11, 38.55, 17, 11, 38.55, 18, 12, 38.55, 18, 11, 38.55, 17, 12, 38.55, 18, 13, 38.55, 18, 12, 38.55, 17, 13, 38.56, 17, 13, 38.56, 18, 14, 38.56, 17, 13, 38.56, 17, 14, 38.56, 17, 15, 38.56, 17, 14, 38.56, 17, 15, 38.56, 17, 15, 38.56, 17, 16, 38.56, 17, 15, 38.56, 17, 16, 38.56, 17, 17, 38.56, 17, 16, 38.56, 16, 17, 38.56, 17, 17, 38.56, 16, 18, 38.56, 17, 17, 38.56, 16, 18, 38.56, 16, 18, 38.6, 17, 6, 38.15, 18, 4, 37.94, 18, 0, 37.86, 19, 0, 37.81, 19, -1, 37.78, 20, -1, 37.75, 20, 0, 37.74, 20, 1, 37.73, 21, 0, 37.73, 21, 0, 37.74, 21, 1, 37.75, 22, 1, 37.77, 21, 0, 37.77, 22, 1, 37.77, 23, 0, 37.77, 22, 0, 37.76, 23, 1, 37.75, 23, 0, 37.75, 23, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 28, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 28, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 27, 0, 37.75, 26, 0, 37.75, 27, 0, 37.75, 26, 0, 37.75, 27, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 26, 0, 37.75, 25, 0, 37.75, 26, 0, 37.75, 25, 0, 37.75, 26, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 24, 0, 37.75, 25, 0, 37.75, 25, 0, 37.75, 24, 0, 37.75, 25, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 25, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 23, 0, 37.75, 24, 0, 37.75, 24, 0, 37.75, 23, 0, 37.75, 24, 0, 37.75, 23, 0, 37.75, 23, 0, 37.75, 24, 0, 37.75, 23, 0, 37.75, 23, -2, 37.7, 23, -1, 37.63, 22, -3, 37.55, 21, -2, 37.45, 22, -1, 37.43, 22, -1, 37.38, 22, 0, 37.35, 22, -1, 37.32, 23, 0, 37.31, 22, 0, 37.3, 22, 0, 37.3, 22, 0, 37.3, 22, 0, 37.31, 22, 0, 37.33, 22, 1, 37.35, 22, 0, 37.38, 21, 1, 37.42, 22, 1, 37.46, 22, 1, 37.51, 22, 2, 37.56, 21, 1, 37.61, 22, 2, 37.67, 22, 1, 37.74, 21, 2, 37.78, 21, 0, 37.79, 21, -1, 37.78, 21, -1, 37.74, 20, 0, 37.74, 21, 0, 37.73, 21, 0, 37.74, 20, 0, 37.74, 21, 0, 37.74, 20, 1, 37.74, 21, 0, 37.74, 20, 0, 37.74, 20, 0, 37.74, 20, 0, 37.74, 20, 0, 37.74)); StopData(); StartData(20); AddData(new Array(1371, 1107, 0.04, 1, 0, 0.04, 1, 0, 0.04, 1, 0, 0.04, 2, 0, 0.04, 2, 0, 0.04, 3, 0, 0.04, 2, 0, 0.04, 4, 0, 0.04, 3, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 4, 0, 0.04, 5, 0, 0.04, 5, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 6, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 7, 0, 0.04, 8, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 8, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 9, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 10, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 11, 0, 0.04, 12, 0, 0.04, 12, 0, 0.04, 13, 0, 0.04, 12, 0, 0.04, 14, 0, 0.04, 13, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 14, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 15, 0, 0.04, 16, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 16, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 17, 0, 0.04, 18, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 18, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 19, 0, 0.04, 20, 0, 0.04, 20, 0, 0.04, 21, 0, 0.05, 21, 0, 0.06, 21, 0, 0.11, 21, 0, 0.15, 22, 1, 0.19, 21, 1, 0.23, 22, 1, 0.27, 21, 2, 0.3, 21, 2, 0.33, 22, 2, 0.36, 21, 3, 0.38, 21, 2, 0.41, 20, 4, 0.43, 21, 3, 0.46, 21, 4, 0.48, 21, 4, 0.5, 20, 5, 0.51, 21, 5, 0.53, 20, 5, 0.55, 21, 5, 0.56, 20, 6, 0.58, 20, 6, 0.59, 20, 7, 0.6, 20, 6, 0.61, 21, 7, 0.62, 19, 8, 0.63, 20, 7, 0.64, 20, 8, 0.65, 20, 8, 0.66, 20, 9, 0.66, 19, 8, 0.64, 21, 6, 0.54, 20, 6, 0.41, 21, 5, 0.25, 21, 2, 0.17, 21, 2, 0.1, 23, 4, 0.1, 23, 3, 0.09, 23, 4, 0.07, 22, 5, 0.06, 23, 4, 0.05, 22, 5, 0.05, 23, 5, 0.06, 24, 5, 0.08, 23, 4, 0.14, 25, 5, 0.19, 24, 4, 0.19, 24, 3, 0.18, 25, 1, 0.16, 24, 0, 0.16, 25, 0, 0.12, 24, 1, 0.1, 25, 1, 0.08, 24, 1, 0.07, 25, 1, 0.08, 25, 2, 0.09, 25, 0, 0.08, 25, 1, 0.07, 24, 0, 0.05, 25, 1, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 24, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, 0, 0.04, 25, -1, 0.01, 24, -1, -0.02, 25, -2, 0, 25, -1, 0.03, 25, -1, 0.05, 24, -1, 0.06, 25, 0, 0.08, 24, 0, 0.1, 24, 1, 0.11, 24, 0, 0.12, 24, 2, 0.14, 24, 0, 0.12, 24, 0, 0.06, 24, -1, -0.06, 21, -6, -0.2, 22, -7, -0.31, 19, -11, -0.47, 19, -12, -0.65, 15, -15, -0.67, 15, -17, -0.48, 17, -18, -0.27, 15, -15, -0.15, 16, -15, -0.02, 15, -15, 0.1, 15, -14, 0.21, 16, -14, 0.31, 15, -14, 0.41, 15, -13, 0.51, 15, -12, 0.61, 15, -13, 0.72, 14, -11, 0.83, 15, -12, 0.94, 15, -11, 1.06, 14, -10, 1.18, 15, -10, 1.3, 14, -10, 1.42, 14, -9, 1.54, 14, -9, 1.67, 14, -9, 1.8, 14, -9, 1.93, 13, -8, 2.06, 14, -7, 2.2, 13, -8, 2.33, 14, -7, 2.47, 13, -7, 2.6, 13, -7, 2.74, 13, -6, 2.88, 13, -6, 3.02, 13, -6, 3.16, 13, -5, 3.3, 13, -6, 3.45, 13, -5, 3.59, 14, -5, 3.73, 13, -4, 3.88, 13, -4, 4.02, 13, -4, 4.17, 13, -4, 4.31, 13, -3, 4.45, 14, -3, 4.57, 13, -2, 4.69, 13, -2, 4.8, 13, -2, 4.9, 14, -1, 5, 13, -1, 5.09, 13, -1, 5.17, 14, 0, 5.25, 13, 0, 5.32, 13, 1, 5.39, 13, 1, 5.45, 13, 1, 5.51, 13, 2, 5.57, 13, 2, 5.62, 13, 2, 5.67, 12, 3, 5.72, 13, 3, 5.76, 13, 3, 5.8, 13, 4, 5.84, 12, 4, 5.87, 13, 4, 5.9, 12, 5, 5.93, 13, 5, 5.96, 12, 5, 5.99, 12, 6, 6.01, 13, 6, 6.04, 12, 6, 6.06, 12, 7, 6.08, 12, 6, 6.1, 12, 8, 6.12, 13, 7, 6.13, 12, 8, 6.15, 12, 8, 6.16, 11, 8, 6.18, 12, 9, 6.19, 12, 9, 6.2, 12, 10, 6.21, 12, 9, 6.22, 11, 10, 6.23, 12, 10, 6.24, 12, 11, 6.25, 11, 11, 6.26, 12, 11, 6.27, 11, 11, 6.28, 12, 12, 6.28, 11, 12, 6.29, 12, 12, 6.29, 11, 13, 6.3, 11, 13, 6.3, 12, 13, 6.31, 11, 13, 6.31, 11, 14, 6.32, 11, 14, 6.32, 11, 14, 6.33, 11, 15, 6.33, 11, 15, 6.33, 11, 15, 6.33, 11, 16, 6.34, 11, 15, 6.34, 12, 14, 6.23, 8, -2, 6.18, 10, -3, 6.18, 11, -3, 6.18, 11, -5, 6.18, 11, -3, 6.17, 11, -2, 6.17, 11, -2, 6.16, 12, -2, 6.16, 11, -2, 6.16, 11, -1, 6.15, 12, -1, 6.16, 11, -3, 6.14, 11, -2, 6.1, 11, -3, 6.06, 11, -3, 6.04, 12, -4, 6.06, 12, -4, 6.06, 13, -3, 6.05, 12, -3, 6.04, 13, -4, 6.04, 13, -4, 6.04, 13, -4, 6.04, 13, -4, 6.04, 14, -4, 6.01, 12, -6, 5.93, 11, -7, 5.81, 11, -7, 5.71, 9, -9, 5.64, 11, -9, 5.65, 12, -10, 5.66, 11, -9, 5.65, 11, -8, 5.64, 12, -8, 5.64, 11, -9, 5.65, 12, -8, 5.67, 11, -9, 5.69, 12, -8, 5.7, 12, -7, 5.72, 12, -8, 5.74, 12, -6, 5.77, 12, -7, 5.81, 11, -6, 5.86, 12, -6, 5.91, 12, -6, 5.97, 12, -5, 6.01, 11, -4, 6.06, 12, -5, 6.1, 12, -4, 6.14, 11, -4, 6.18, 12, -3, 6.21, 11, -3, 6.25, 11, -3, 6.28, 12, -2, 6.3, 11, -2, 6.33, 11, -2, 6.36, 11, -1, 6.38, 11, -1, 6.4, 12, 0, 6.42, 11, -1, 6.44, 11, 0, 6.46, 11, 1, 6.47, 10, 0, 6.49, 11, 2, 6.5, 11, 1, 6.52, 11, 2, 6.53, 11, 2, 6.54, 10, 2, 6.55, 11, 3, 6.56, 11, 3, 6.57, 10, 3, 6.58, 11, 4, 6.59, 10, 3, 6.6, 11, 5, 6.61, 10, 4, 6.61, 11, 5, 6.62, 10, 5, 6.63, 11, 6, 6.63, 10, 6, 6.64, 10, 6, 6.64, 10, 6, 6.65, 11, 7, 6.65, 10, 7, 6.63, 11, 5, 6.53, 10, 1, 6.43, 11, 1, 6.36, 12, -1, 6.31, 12, -1, 6.31, 14, -1, 6.36, 14, 0, 6.38, 13, 1, 6.39, 14, 1, 6.4, 14, 1, 6.41, 14, 1, 6.4, 13, 1, 6.38, 14, 1, 6.38, 14, 0, 6.38, 15, 1, 6.38, 14, 1, 6.38, 15, 1, 6.38, 15, 1, 6.38, 15, 0, 6.38, 16, 2, 6.39, 16, 1, 6.41, 16, 2, 6.44, 17, 1, 6.46, 17, 3, 6.47, 16, 1, 6.46, 18, 3, 6.44, 17, 1, 6.45, 18, 2, 6.45, 18, 2, 6.44, 18, 3, 6.44, 19, 2, 6.44, 19, 2, 6.44, 19, 2, 6.44, 20, 2, 6.44, 20, 2, 6.44, 20, 2, 6.44, 21, 3, 6.44, 21, 2, 6.45, 21, 3, 6.46, 21, 3, 6.47, 21, 4, 6.46, 21, 2, 6.46, 22, 3, 6.46, 22, 3, 6.46, 22, 3, 6.46, 23, 3, 6.46, 22, 4, 6.46, 24, 3, 6.46, 23, 3, 6.46, 24, 3, 6.46, 24, 4, 6.46, 24, 3, 6.46, 25, 3, 6.46, 24, 4, 6.46, 25, 2, 6.42, 24, 2, 6.36, 25, 0, 6.36, 25, 0, 6.37, 24, 0, 6.34, 25, 1, 6.35, 24, -1, 6.33, 24, 1, 6.36, 24, 0, 6.35, 24, -1, 6.33, 24, 1, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 24, 0, 6.33, 25, 0, 6.33, 25, 0, 6.33, 25, -1, 6.31, 25, -1, 6.27, 24, -2, 6.25, 25, -2, 6.24, 23, -4, 6.15, 20, -10, 6, 20, -12, 5.91, 17, -15, 5.7, 16, -15, 5.61, 15, -17, 5.61, 17, -16, 5.67, 16, -16, 5.73, 16, -15, 5.79, 17, -15, 5.86, 16, -15, 5.94, 16, -14, 6.02, 16, -14, 6.1, 17, -13, 6.19, 16, -13, 6.29, 16, -12, 6.39, 16, -12, 6.49, 16, -12, 6.6, 16, -11, 6.71, 16, -11, 6.82, 16, -10, 6.93, 15, -10, 7.05, 16, -9, 7.17, 15, -10, 7.3, 16, -8, 7.42, 15, -9, 7.55, 15, -8, 7.68, 15, -7, 7.81, 15, -7, 7.94, 15, -7, 8.07, 14, -7, 8.21, 15, -6, 8.34, 14, -6, 8.48, 14, -6, 8.62, 14, -5, 8.76, 14, -5, 8.89, 14, -5, 9.04, 14, -5, 9.18, 14, -4, 9.32, 14, -4, 9.46, 14, -4, 9.6, 13, -4, 9.75, 14, -3, 9.89, 14, -3, 10.04, 14, -3, 10.18, 14, -2, 10.33, 14, -3, 10.47, 14, -2, 10.62, 14, -1, 10.77, 14, -2, 10.91, 14, 0, 11.06, 14, -1, 11.21, 14, 0, 11.36, 15, 0, 11.5, 14, 1, 11.65, 14, 1, 11.79, 14, 1, 11.92, 15, 2, 12.04, 14, 3, 12.15, 14, 2, 12.26, 14, 3, 12.35, 14, 4, 12.44, 14, 4, 12.53, 13, 4, 12.61, 14, 4, 12.68, 14, 5, 12.75, 13, 5, 12.82, 13, 5, 12.88, 14, 6, 12.94, 13, 6, 12.99, 13, 7, 13.03, 13, 6, 13.05, 13, 7, 13.07, 13, 7, 13.07, 13, 8, 13.07, 13, 8, 13.08, 13, 8, 13.08, 13, 8, 13.08, 12, 9, 13.08, 13, 9, 13.09, 13, 9, 13.09, 12, 10, 13.09, 13, 10, 13.09, 12, 10, 13.09, 13, 11, 13.1, 12, 10, 13.1, 13, 11, 13.1, 12, 12, 13.1)); AddData(new Array(12, 12, 13.1, 13, 12, 13.1, 12, 12, 13.1, 12, 12, 13.1, 12, 13, 13.1, 12, 13, 13.1, 12, 14, 13.11, 12, 14, 13.11, 12, 14, 13.11, 12, 14, 13.11, 12, 15, 13.11, 12, 14, 13.11, 12, 16, 13.11, 12, 15, 13.09, 11, 4, 12.69, 12, 0, 12.6, 13, -1, 12.58, 13, -2, 12.56, 15, -1, 12.64, 15, 0, 12.69, 16, 0, 12.72, 15, 1, 12.76, 15, 1, 12.79, 15, 1, 12.82, 15, 2, 12.84, 14, 1, 12.87, 15, 3, 12.89, 15, 2, 12.91, 15, 3, 12.93, 14, 3, 12.95, 15, 4, 12.97, 14, 3, 12.99, 15, 5, 13, 14, 4, 13.02, 14, 4, 13.01, 15, 4, 12.97, 14, 3, 12.9, 15, 2, 12.81, 14, 3, 12.71, 15, 2, 12.72, 15, 1, 12.74, 16, 3, 12.75, 16, 2, 12.76, 17, 3, 12.77, 17, 3, 12.78, 17, 2, 12.79, 17, 3, 12.8, 18, 4, 12.8, 18, 3, 12.79, 19, 3, 12.79, 19, 4, 12.79, 19, 3, 12.79, 19, 3, 12.79, 20, 4, 12.79, 20, 4, 12.79, 20, 3, 12.79, 21, 4, 12.79, 21, 4, 12.79, 22, 3, 12.79, 21, 5, 12.8, 23, 4, 12.81, 22, 5, 12.83, 22, 5, 12.84, 21, 6, 12.84, 22, 6, 12.85, 22, 6, 12.86, 22, 6, 12.87, 21, 7, 12.88, 22, 7, 12.88, 21, 7, 12.89, 22, 8, 12.89, 21, 8, 12.9, 21, 8, 12.91, 21, 9, 12.91, 21, 9, 12.91, 21, 9, 12.92, 21, 9, 12.92, 21, 10, 12.93, 21, 10, 12.93, 21, 11, 12.93, 20, 10, 12.94, 21, 11, 12.94, 21, 12, 12.94, 20, 11, 12.94, 21, 11, 12.91, 20, 5, 12.81, 21, 4, 12.75, 22, 0, 12.65, 22, 0, 12.56, 22, -2, 12.49, 23, 1, 12.46, 24, 0, 12.43, 23, 1, 12.4, 23, 2, 12.37, 23, 2, 12.34, 23, 2, 12.31, 23, 2, 12.3, 23, 1, 12.33, 23, 2, 12.35, 24, 1, 12.37, 25, 2, 12.4, 24, 2, 12.43, 25, 2, 12.5, 25, 1, 12.56, 25, 2, 12.62, 25, 1, 12.65, 24, 0, 12.65, 25, -1, 12.62, 24, -1, 12.61, 25, 0, 12.6, 25, 1, 12.61, 24, -1, 12.64, 24, 0, 12.62, 25, 1, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, -1, 12.6, 25, 0, 12.6, 25, -1, 12.58, 24, -2, 12.51, 21, -7, 12.27, 21, -8, 12.13, 19, -12, 12.18, 21, -11, 12.3, 22, -12, 12.42, 20, -8, 12.44, 20, -10, 12.49, 20, -8, 12.54, 20, -9, 12.58, 20, -8, 12.62, 20, -8, 12.66, 20, -7, 12.69, 20, -7, 12.72, 20, -7, 12.75, 20, -6, 12.78, 19, -6, 12.81, 20, -6, 12.83, 19, -5, 12.86, 20, -5, 12.88, 19, -4, 12.9, 19, -5, 12.92, 20, -4, 12.94, 19, -3, 12.95, 19, -3, 12.97, 19, -3, 12.98, 19, -3, 13, 19, -2, 13.01, 18, -2, 13.02, 19, -1, 13.03, 19, -1, 13.04, 18, -1, 13.05, 19, -1, 13.06, 18, 0, 13.07, 19, 0, 13.08, 18, 1, 13.09, 18, 1, 13.09, 18, 1, 13.1, 19, 1, 13.11, 18, 2, 13.11, 18, 2, 13.12, 18, 3, 13.12, 18, 3, 13.13, 17, 3, 13.13, 18, 3, 13.13, 18, 4, 13.14, 18, 4, 13.14, 17, 4, 13.15, 18, 5, 13.15, 17, 5, 13.15, 18, 6, 13.15, 18, 6, 13.15, 17, 6, 13.16, 18, 6, 13.16, 18, 7, 13.16, 17, 7, 13.16, 18, 8, 13.16, 17, 8, 13.16, 17, 8, 13.16, 18, 8, 13.16, 17, 9, 13.15, 17, 8, 13.13, 17, 10, 13.1, 17, 9, 13.07, 17, 10, 13.02, 16, 10, 12.97, 17, 10, 12.91, 16, 11, 12.85, 17, 11, 12.77, 16, 11, 12.71, 17, 11, 12.64, 10, 6, 12.31, 3, 0, 11.8, 2, -5, 11.75, 4, -5, 11.69, 2, -6, 11.66, 2, -7, 11.63, 4, -5, 11.64, 4, -6, 11.64, 4, -6, 11.63, 4, -5, 11.64, 4, -5, 11.66, 3, -5, 11.68, 4, -5, 11.7, 4, -4, 11.74, 4, -4, 11.78, 4, -4, 11.83, 4, -3, 11.89, 3, -3, 11.95, 4, -3, 12.02, 4, -2, 12.1, 4, -2, 12.18, 4, -2, 12.27, 4, -1, 12.35, 4, -1, 12.42, 4, 0, 12.49, 4, 0, 12.56, 4, 0, 12.62, 3, 1, 12.68, 4, 1, 12.73, 4, 1, 12.78, 3, 1, 12.83, 4, 2, 12.87, 4, 3, 12.92, 3, 2, 12.95, 4, 3, 12.99, 3, 3, 13.02, 4, 4, 13.06, 3, 4, 13.09, 4, 4, 13.11, 3, 4, 13.13, 3, 5, 13.13, 4, 5, 13.14, 3, 5, 13.14, 3, 6, 13.14, 4, 6, 13.15, 3, 6, 13.15, 3, 7, 13.15, 4, 7, 13.16, 3, 7, 13.16, 3, 8, 13.16, 3, 7, 13.16, 4, 9, 13.16, 3, 8, 13.17, 3, 6, 13.06, 4, 3, 12.88, 3, 2, 12.74, 5, 1, 12.68, 6, 0, 12.69, 6, 1, 12.72, 8, -1, 12.76, 7, 1, 12.75, 7, 1, 12.75, 8, 2, 12.73, 8, 1, 12.73, 9, 1, 12.73, 8, 1, 12.73, 10, 1, 12.73, 9, 1, 12.73, 10, 1, 12.73, 10, 1, 12.73, 11, 2, 12.73, 11, 1, 12.73, 11, 1, 12.73, 11, 1, 12.72, 12, 1, 12.68, 12, 0, 12.64, 13, 1, 12.62, 13, 1, 12.61, 13, 1, 12.59, 14, 2, 12.59, 14, 2, 12.59, 14, 2, 12.59, 15, 2, 12.6, 16, 2, 12.62, 15, 3, 12.64, 17, 3, 12.66, 16, 3, 12.7, 17, 3, 12.73, 17, 3, 12.76, 17, 2, 12.77, 17, 2, 12.74, 18, 1, 12.69, 17, 0, 12.61, 17, -1, 12.54, 19, 0, 12.54, 18, 1, 12.54, 18, 1, 12.54, 18, 1, 12.54, 18, 1, 12.54, 19, 2, 12.56, 19, 1, 12.59, 19, 2, 12.62, 19, 2, 12.66, 20, 1, 12.67, 20, 0, 12.66, 19, 1, 12.65, 21, 1, 12.64, 20, -1, 12.6, 21, 0, 12.53, 20, -3, 12.51, 20, -4, 12.48, 21, -3, 12.49, 22, -3, 12.48, 21, -2, 12.48, 22, -3, 12.49, 21, -2, 12.49, 22, -3, 12.48, 22, -5, 12.42, 22, -4, 12.35, 21, -6, 12.34, 23, -6, 12.36, 22, -6, 12.36, 23, -5, 12.37, 23, -6, 12.37, 23, -6, 12.35, 23, -7, 12.31, 22, -8, 12.27, 22, -9, 12.26, 22, -9, 12.28, 23, -8, 12.28, 22, -8, 12.3, 22, -8, 12.32, 21, -9, 12.2, 20, -11, 12.15, 19, -13, 12.11, 20, -13, 12.07, 21, -12, 12.08, 20, -13, 12.08, 21, -12, 12.07, 20, -11, 12.07, 21, -11, 12.07, 20, -12, 12.08, 21, -11, 12.08, 20, -13, 12.04, 19, -13, 11.99, 19, -14, 12.01, 20, -14, 12.03, 19, -13, 12, 18, -13, 12.01, 20, -13, 12.01, 20, -14, 12.02, 21, -14, 12.02, 20, -13, 12.03, 21, -13, 12.04, 20, -12, 12.04, 20, -12, 12.06, 21, -12, 12.08, 20, -12, 12.12, 20, -11, 12.16, 20, -10, 12.2, 20, -11, 12.24, 20, -9, 12.27, 20, -10, 12.3, 20, -9, 12.33, 20, -9, 12.36, 19, -8, 12.39, 20, -8, 12.41, 19, -8, 12.43, 20, -7, 12.46, 19, -7, 12.48, 20, -7, 12.49, 19, -6, 12.51, 19, -6, 12.53, 19, -6, 12.54, 19, -5, 12.56, 19, -5, 12.57, 19, -4, 12.58, 19, -5, 12.6, 19, -3, 12.61, 18, -4, 12.62, 19, -3, 12.63, 19, -3, 12.64, 18, -2, 12.65, 19, -2, 12.65, 18, -2, 12.66, 18, -2, 12.67, 18, -1, 12.67, 19, 0, 12.68, 18, -1, 12.69, 18, 0, 12.69, 18, 0, 12.7, 18, 1, 12.7, 18, 1, 12.71, 18, 1, 12.71, 17, 1, 12.71, 18, 2, 12.72, 18, 3, 12.72, 17, 2, 12.72, 18, 3, 12.73, 17, 3, 12.73, 18, 4, 12.73, 17, 3, 12.73, 17, 5, 12.74, 17, 4, 12.74, 18, 5, 12.74, 17, 5, 12.74, 17, 5, 12.74, 17, 6, 12.75, 17, 6, 12.75, 17, 6, 12.75, 16, 7, 12.75, 17, 7, 12.75, 17, 7, 12.75, 17, 8, 12.75, 16, 8, 12.75, 17, 8, 12.76, 16, 9, 12.76, 17, 8, 12.76, 17, 8, 12.7, 16, 3, 12.58, 18, 1, 12.58, 18, -1, 12.57, 20, 0, 12.61, 19, 0, 12.65, 20, 0, 12.66, 19, 0, 12.66, 20, 1, 12.67, 19, 1, 12.65, 20, 1, 12.65, 20, 1, 12.66, 21, 1, 12.66, 21, 1, 12.66, 21, 2, 12.66, 21, 1, 12.66, 22, 1, 12.66, 22, 1, 12.66, 22, 1, 12.66, 22, 1, 12.66, 23, 1, 12.66, 23, 2, 12.66, 23, 1, 12.66, 24, 1, 12.66, 24, 1, 12.66, 24, 2, 12.66, 24, 1, 12.66, 25, 1, 12.66, 25, 1, 12.66, 25, 2, 12.66, 24, 1, 12.65, 25, 0, 12.61, 25, 0, 12.6, 25, -1, 12.65, 24, 0, 12.68, 25, 0, 12.71, 24, 0, 12.74, 24, 1, 12.76, 24, 1, 12.78, 24, 2, 12.81, 24, 1, 12.83, 24, 3, 12.85, 24, 2, 12.87, 23, 3, 12.88, 24, 3, 12.9, 23, 3, 12.91, 24, 4, 12.93, 23, 4, 12.94, 23, 4, 12.95, 23, 5, 12.96, 24, 5, 12.96, 22, 5, 12.95, 23, 6, 12.93, 23, 5, 12.91, 23, 6, 12.87, 22, 7, 12.82, 22, 7, 12.77, 23, 7, 12.71, 22, 7, 12.64, 22, 8, 12.58, 22, 6, 12.47, 19, -1, 12.22, 20, -10, 12.18, 17, -11, 12.09, 17, -12, 12.04, 14, -15, 11.94, 13, -15, 11.86, 12, -15, 11.77, 13, -16, 11.8, 13, -16, 11.84, 14, -15, 11.9, 13, -15, 11.95, 14, -14, 12.02, 13, -14, 12.09, 14, -14, 12.17, 13, -13, 12.25, 13, -13, 12.34, 14, -12, 12.43, 13, -12, 12.52, 14, -12, 12.62, 13, -11, 12.73, 13, -11, 12.84, 13, -10, 12.95, 13, -10, 13.06, 13, -10, 13.18, 13, -9, 13.29, 13, -8, 13.42, 13, -9, 13.54, 13, -8, 13.66, 12, -7, 13.79, 13, -7, 13.92, 12, -7, 14.05)); AddData(new Array(12, -6, 14.18, 12, -6, 14.32, 12, -6, 14.45, 12, -5, 14.59, 11, -5, 14.72, 12, -5, 14.86, 11, -5, 15, 12, -4, 15.14, 11, -4, 15.28, 11, -4, 15.42, 12, -4, 15.57, 11, -3, 15.71, 11, -3, 15.85, 11, -3, 16, 11, -2, 16.14, 12, -2, 16.28, 11, -2, 16.43, 11, -2, 16.58, 11, -2, 16.72, 12, -1, 16.87, 11, -1, 17.02, 12, 0, 17.16, 11, 0, 17.31, 12, 0, 17.46, 12, 1, 17.6, 12, 1, 17.75, 11, 1, 17.89, 12, 2, 18.02, 12, 2, 18.14, 12, 3, 18.25, 11, 3, 18.36, 12, 3, 18.45, 11, 4, 18.54, 12, 4, 18.63, 11, 5, 18.71, 11, 4, 18.78, 12, 6, 18.85, 11, 5, 18.91, 11, 6, 18.95, 11, 6, 18.97, 11, 6, 18.99, 10, 7, 18.99, 11, 7, 19, 11, 7, 19, 10, 8, 19.01, 11, 8, 19.01, 11, 8, 19.01, 10, 8, 19.01, 11, 9, 19.02, 10, 9, 19.02, 11, 10, 19.02, 10, 9, 19.02, 10, 10, 19.03, 11, 11, 19.03, 10, 10, 19.03, 10, 11, 19.03, 10, 12, 19.03, 11, 11, 19.03, 10, 12, 19.04, 10, 12, 19.04, 10, 12, 19.04, 10, 13, 19.04, 10, 13, 19.04, 10, 13, 19.04, 10, 14, 19.04, 10, 14, 19.04, 10, 14, 19.04, 10, 14, 19.04, 9, 15, 19.05, 10, 15, 19.05, 10, 15, 19.05, 10, 15, 19.05, 9, 16, 19.05, 10, 16, 19.05, 10, 17, 19.05, 9, 16, 19.05, 10, 17, 19.05, 9, 18, 19.05, 10, 17, 19.05, 9, 18, 19.05, 10, 18, 19.05, 14, 10, 19.26, 14, 2, 19.21, 15, 3, 19.17, 16, 2, 19.14, 17, 1, 19.11, 15, 1, 19.07, 17, 2, 19.06, 17, 3, 19.05, 16, 3, 19.04, 17, 3, 19.03, 17, 3, 19.05, 17, 3, 19.05, 17, 3, 19.03, 18, 2, 19.02, 19, 3, 19.02, 18, 2, 19.01, 19, 1, 18.98, 19, 2, 18.95, 19, 1, 18.94, 20, 1, 18.94, 20, 1, 18.94, 20, 1, 18.94, 21, 1, 18.94, 21, 1, 18.94, 21, 1, 18.94, 21, 1, 18.94, 22, 1, 18.94, 22, 1, 18.94, 22, 1, 18.93, 23, 1, 18.92, 23, 0, 18.92, 23, 1, 18.92, 23, 1, 18.92, 24, 0, 18.92, 24, 1, 18.92, 24, 1, 18.92, 25, 0, 18.91, 24, 0, 18.89, 25, 0, 18.88, 25, 0, 18.88, 25, 0, 18.88, 25, 0, 18.88, 24, -1, 18.88, 25, 0, 18.88, 25, 0, 18.88, 25, 0, 18.88, 25, -1, 18.88, 25, 0, 18.88, 25, -1, 18.87, 24, -1, 18.82, 25, -3, 18.77, 24, -4, 18.74, 24, -4, 18.73, 24, -5, 18.68, 24, -5, 18.64, 24, -6, 18.66, 24, -7, 18.64, 24, -7, 18.58, 22, -8, 18.54, 21, -12, 18.46, 20, -12, 18.44, 20, -14, 18.43, 20, -14, 18.48, 20, -11, 18.5, 20, -12, 18.52, 20, -11, 18.56, 20, -11, 18.6, 21, -11, 18.65, 20, -10, 18.7, 20, -10, 18.77, 21, -10, 18.84, 20, -9, 18.91, 20, -8, 18.99, 20, -9, 19.08, 20, -8, 19.17, 20, -7, 19.26, 20, -7, 19.36, 20, -7, 19.46, 20, -6, 19.57, 19, -6, 19.68, 20, -6, 19.79, 19, -5, 19.9, 20, -4, 20.02, 19, -5, 20.14, 19, -4, 20.26, 19, -3, 20.39, 18, -4, 20.52, 19, -3, 20.64, 18, -2, 20.77, 19, -3, 20.91, 18, -2, 21.04, 18, -2, 21.17, 18, -1, 21.31, 18, -2, 21.45, 18, -1, 21.58, 17, 0, 21.72, 18, -1, 21.86, 18, 0, 22, 17, 0, 22.14, 18, 0, 22.29, 17, 0, 22.43, 18, 1, 22.57, 17, 1, 22.71, 18, 1, 22.86, 17, 2, 23, 18, 1, 23.15, 18, 3, 23.28, 17, 2, 23.41, 18, 3, 23.53, 18, 3, 23.64, 17, 4, 23.74, 18, 4, 23.84, 17, 4, 23.93, 18, 5, 24.01, 17, 5, 24.09, 18, 6, 24.16, 17, 5, 24.23, 18, 6, 24.29, 17, 7, 24.35, 17, 7, 24.41, 17, 7, 24.46, 17, 7, 24.51, 17, 8, 24.55, 17, 8, 24.6, 17, 9, 24.64, 17, 8, 24.67, 17, 9, 24.7, 17, 9, 24.74, 17, 9, 24.77, 17, 10, 24.79, 17, 10, 24.82, 17, 11, 24.84, 17, 10, 24.87, 16, 11, 24.89, 17, 11, 24.91, 16, 12, 24.92, 17, 12, 24.94, 16, 12, 24.96, 17, 12, 24.97, 16, 13, 24.99, 16, 13, 25, 16, 13, 25.01, 16, 14, 25.02, 17, 14, 25.04, 16, 14, 25.05, 15, 14, 25.06, 16, 15, 25.06, 16, 15, 25.07, 16, 15, 25.08, 16, 16, 25.09, 15, 16, 25.09, 16, 16, 25.1, 16, 16, 25.11, 16, 11, 25.1, 18, -2, 25.06, 18, -2, 24.99, 18, -2, 24.93, 20, -3, 24.99, 19, 0, 24.99, 20, -1, 24.99, 20, -1, 24.99, 19, 0, 25, 20, 0, 25, 19, 1, 25, 19, 0, 25.01, 20, 1, 25.01, 19, 1, 25.06, 20, 1, 25.1, 20, 0, 25.15, 20, -1, 25.17, 20, -2, 25.2, 19, -4, 25.25, 19, -5, 25.28, 19, -5, 25.25, 20, -3, 25.28, 21, -3, 25.29, 20, -3, 25.3, 20, -2, 25.31, 20, -3, 25.32, 20, -1, 25.33, 20, -2, 25.32, 20, -2, 25.29, 17, -7, 25.07, 15, -9, 24.78, 15, -8, 24.49, 13, -10, 24.39, 14, -12, 24.45, 15, -13, 24.54, 15, -12, 24.6, 14, -11, 24.65, 15, -10, 24.71, 14, -10, 24.78, 15, -10, 24.85, 14, -10, 24.93, 15, -9, 25.01, 14, -8, 25.1, 15, -9, 25.19, 14, -8, 25.29, 14, -7, 25.39, 15, -7, 25.49, 14, -7, 25.6, 14, -6, 25.71, 14, -6, 25.83, 14, -5, 25.93, 14, -5, 26.03, 14, -5, 26.11, 13, -5, 26.18, 14, -4, 26.23, 13, -4, 26.27, 14, -3, 26.3, 13, -4, 26.31, 13, -3, 26.32, 14, -2, 26.33, 13, -3, 26.35, 13, -2, 26.36, 13, -2, 26.37, 13, -1, 26.37, 13, -1, 26.38, 13, -1, 26.39, 13, 0, 26.4, 13, 0, 26.4, 13, 0, 26.41, 13, 1, 26.42, 13, 1, 26.42, 12, 1, 26.43, 13, 2, 26.43, 13, 2, 26.44, 12, 2, 26.44, 13, 3, 26.45, 13, 3, 26.45, 12, 3, 26.45, 12, 3, 26.46, 13, 4, 26.46, 12, 5, 26.46, 13, 4, 26.47, 12, 5, 26.47, 12, 5, 26.47, 12, 5, 26.47, 12, 6, 26.48, 13, 6, 26.48, 12, 7, 26.48, 12, 6, 26.48, 12, 7, 26.48, 12, 8, 26.48, 12, 7, 26.49, 11, 8, 26.49, 12, 9, 26.49, 12, 8, 26.48, 12, 9, 26.46, 12, 9, 26.43, 11, 9, 26.39, 12, 10, 26.36, 11, 10, 26.33, 12, 10, 26.3, 12, 10, 26.27, 11, 11, 26.24, 11, 11, 26.22, 12, 12, 26.2, 11, 12, 26.18, 12, 12, 26.16, 11, 12, 26.14, 11, 13, 26.12, 11, 13, 26.1, 11, 13, 26.09, 12, 13, 26.07, 12, 11, 25.94, 13, 5, 25.64, 12, 5, 25.33, 15, 1, 25.27, 15, 1, 25.25, 17, 2, 25.3, 17, 1, 25.32, 18, 3, 25.33, 17, 3, 25.34, 17, 3, 25.35, 17, 3, 25.36, 17, 4, 25.37, 16, 4, 25.38, 17, 4, 25.39, 17, 5, 25.38, 17, 3, 25.34, 17, 1, 25.28, 17, 0, 25.28, 17, -2, 25.26, 18, -1, 25.25, 18, -1, 25.25, 19, 0, 25.24, 18, 1, 25.24, 18, 1, 25.24, 18, 1, 25.24, 18, 1, 25.22, 18, 0, 25.17, 18, 0, 25.14, 19, 0, 25.16, 20, 0, 25.16, 19, -1, 25.16, 20, 0, 25.16, 20, 0, 25.16, 20, -1, 25.16, 21, 0, 25.15, 20, -2, 25.13, 21, 0, 25.11, 21, -2, 25.11, 22, -1, 25.11, 21, -2, 25.1, 22, -3, 25.06, 21, -4, 25.04, 22, -6, 25.06, 21, -6, 25.09, 21, -7, 25.08, 21, -5, 25.1, 22, -5, 25.13, 22, -4, 25.16, 21, -4, 25.18, 22, -4, 25.2, 21, -4, 25.23, 21, -3, 25.25, 21, -2, 25.26, 22, -3, 25.28, 21, -2, 25.3, 21, -2, 25.31, 20, -1, 25.33, 21, -1, 25.34, 21, -1, 25.36, 21, 0, 25.37, 20, 0, 25.38, 21, 0, 25.4, 21, 1, 25.43, 20, 1, 25.47, 21, 1, 25.51, 20, 1, 25.54, 22, 1, 25.54, 21, 1, 25.53, 21, 0, 25.51, 22, 0, 25.46, 21, 0, 25.39, 22, -1, 25.28, 22, 1, 25.23, 23, 0, 25.16, 22, 1, 25.13, 23, 0, 25.16, 23, -1, 25.15, 23, 0, 25.15, 24, -2, 25.13, 24, -2, 25.09, 22, -3, 25.06, 24, -5, 25.04, 23, -7, 25.08, 22, -6, 25.01, 24, -6, 24.97, 23, -5, 24.95, 25, -6, 24.94, 24, -6, 24.94, 24, -6, 24.92, 22, -8, 24.89, 21, -9, 24.79, 21, -13, 24.71, 19, -13, 24.59, 16, -17, 24.47, 15, -17, 24.37, 14, -19, 24.31, 16, -17, 24.28, 15, -17, 24.27, 15, -17, 24.25, 15, -16, 24.23, 15, -16, 24.22, 16, -15, 24.21, 15, -15, 24.19, 15, -15, 24.18, 15, -14, 24.17, 14, -14, 24.16, 15, -14, 24.15, 15, -13, 24.14, 15, -13, 24.13, 15, -12, 24.13, 14, -12, 24.13, 15, -12, 24.14, 15, -12, 24.16, 14, -11, 24.2, 15, -10, 24.24, 15, -11, 24.27, 14, -10, 24.31, 15, -9, 24.34, 14, -10, 24.37, 14, -8, 24.4, 15, -9, 24.43, 14, -8, 24.45, 14, -8, 24.47, 14, -7, 24.5, 15, -7, 24.52, 14, -7, 24.53, 14, -6, 24.55, 14, -6, 24.57, 13, -6, 24.59, 14, -5, 24.6, 14, -5, 24.61, 14, -4, 24.63, 14, -5, 24.64, 13, -3, 24.65, 14, -4, 24.66, 13, -3, 24.67, 14, -3, 24.68, 13, -2, 24.69, 14, -2, 24.7, 13, -2, 24.7, 14, -2, 24.71, 13, -1, 24.72, 13, -1, 24.72, 13, 0, 24.73, 13, 0, 24.73, 14, 0, 24.74, 13, 1, 24.74, 13, 1, 24.75, 13, 1, 24.75, 12, 1, 24.76, 13, 2, 24.76, 13, 2, 24.76, 13, 3, 24.77, 13, 3, 24.77)); AddData(new Array(12, 3, 24.77, 13, 4, 24.77, 13, 3, 24.78, 12, 4, 24.78, 13, 5, 24.78, 12, 5, 24.78, 13, 5, 24.79, 12, 5, 24.79, 13, 6, 24.79, 12, 6, 24.79, 12, 6, 24.79, 12, 7, 24.79, 13, 7, 24.79, 12, 7, 24.8, 12, 8, 24.8, 12, 8, 24.8, 12, 8, 24.8, 12, 8, 24.8, 12, 9, 24.8, 12, 9, 24.8, 12, 10, 24.8, 11, 10, 24.8, 12, 10, 24.8, 12, 10, 24.8, 12, 10, 24.8, 11, 11, 24.81, 12, 12, 24.81, 12, 11, 24.81, 11, 12, 24.81, 12, 12, 24.81, 11, 12, 24.81, 12, 13, 24.81, 11, 13, 24.81, 11, 13, 24.81, 12, 14, 24.81, 11, 14, 24.81, 11, 14, 24.81, 12, 14, 24.81, 11, 15, 24.81, 11, 15, 24.81, 11, 15, 24.81, 11, 16, 24.81, 11, 15, 24.81, 11, 17, 24.81, 11, 16, 24.81, 11, 17, 24.81, 11, 17, 24.81, 11, 17, 24.81, 10, 17, 24.81, 11, 18, 24.81, 11, 18, 24.81, 11, 18, 24.81, 10, 19, 24.81, 11, 19, 24.81, 13, 10, 25.25, 13, -1, 25.17, 13, -2, 25.18, 13, -2, 25.18, 13, -2, 25.18, 14, -2, 25.17, 14, 0, 25.17, 14, -1, 25.16, 14, 0, 25.16, 14, 0, 25.15, 14, 1, 25.15, 14, 0, 25.18, 15, 1, 25.19, 15, 0, 25.18, 15, 0, 25.18, 15, 0, 25.18, 16, 0, 25.18, 16, 0, 25.18, 16, 0, 25.18, 17, 0, 25.18, 17, 0, 25.18, 17, 0, 25.18, 17, -1, 25.15, 18, 0, 25.14, 18, -1, 25.13, 18, -1, 25.14, 18, -1, 25.14, 19, -1, 25.14, 19, 0, 25.13, 19, -1, 25.13, 20, -2, 25.11, 19, -2, 25.05, 18, -5, 24.91, 16, -7, 24.72, 12, -11, 24.45, 12, -12, 24.34, 12, -13, 24.3, 13, -13, 24.3, 14, -11, 24.22, 13, -11, 24.16, 13, -11, 24.08, 13, -10, 24, 12, -10, 23.92, 13, -9, 23.83, 13, -9, 23.73, 13, -9, 23.63, 13, -8, 23.53, 13, -8, 23.43, 13, -7, 23.32, 13, -7, 23.21, 12, -7, 23.09, 13, -6, 22.97, 13, -6, 22.85, 13, -6, 22.73, 13, -5, 22.61, 13, -5, 22.48, 13, -5, 22.35, 13, -4, 22.22, 13, -4, 22.09, 14, -4, 21.96, 13, -4, 21.82, 13, -3, 21.69, 13, -3, 21.55, 12, -3, 21.41, 13, -3, 21.28, 13, -2, 21.14, 13, -2, 21, 12, -2, 20.85, 13, -1, 20.71, 12, -2, 20.57, 13, -1, 20.43, 12, 0, 20.28, 12, -1, 20.14, 11, 0, 19.99, 12, 1, 19.85, 12, 0, 19.7, 11, 1, 19.56, 11, 2, 19.41, 11, 2, 19.27, 12, 2, 19.12, 10, 2, 18.97, 11, 4, 18.82, 11, 3, 18.68, 11, 4, 18.53, 11, 4, 18.38, 10, 5, 18.23, 11, 5, 18.08, 11, 6, 17.93, 11, 6, 17.79, 10, 6, 17.64, 11, 7, 17.49, 11, 7, 17.34, 11, 8, 17.19, 11, 7, 17.04, 11, 8, 16.89, 11, 9, 16.74, 12, 9, 16.59, 11, 9, 16.44, 11, 9, 16.29, 12, 9, 16.14, 11, 10, 15.99, 12, 10, 15.84, 11, 10, 15.69, 12, 10, 15.54, 11, 10, 15.39, 11, 11, 15.24, 12, 11, 15.09, 11, 11, 14.95, 11, 11, 14.82, 11, 12, 14.7, 11, 12, 14.59, 11, 12, 14.48, 10, 12, 14.38, 11, 13, 14.29, 10, 13, 14.21, 11, 13, 14.13, 10, 13, 14.04, 11, 14, 13.95, 10, 14, 13.85, 10, 15, 13.76, 10, 14, 13.65, 10, 15, 13.55, 10, 15, 13.44, 10, 16, 13.33, 9, 15, 13.21, 10, 16, 13.1, 11, 8, 12.96, 14, -1, 13.07, 15, -1, 13.13, 16, -1, 13.19, 15, -2, 13.18, 15, -1, 13.16, 15, 0, 13.15, 15, 1, 13.15, 16, 0, 13.14, 15, 1, 13.14, 15, 2, 13.13, 15, 1, 13.1, 16, 0, 13.04, 15, 0, 12.96, 16, 0, 12.85, 16, -1, 12.72, 16, 1, 12.62, 17, 1, 12.53, 16, -1, 12.54, 17, -1, 12.56, 18, -2, 12.59, 18, -1, 12.6, 18, -1, 12.59, 18, -2, 12.55, 18, -1, 12.48, 19, -2, 12.46, 18, -4, 12.46, 20, -2, 12.46, 19, -3, 12.46, 19, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 20, -3, 12.46, 21, -3, 12.46, 21, -3, 12.46, 20, -4, 12.46, 22, -3, 12.46, 21, -4, 12.42, 21, -5, 12.36, 20, -7, 12.35, 19, -9, 12.3, 19, -11, 12.22, 19, -10, 12.08, 16, -11, 12, 19, -12, 12.01, 19, -13, 12.04, 19, -12, 12.03, 20, -12, 12.03, 19, -11, 12.03, 19, -11, 12.03, 19, -11, 12.03, 19, -10, 12.03, 19, -10, 12.03, 19, -10, 12.03, 19, -9, 12.03, 19, -9, 12.03, 19, -8, 12.03, 19, -8, 12.03, 18, -8, 12.03, 19, -8, 12.03, 18, -7, 12.03, 19, -6, 12.03, 18, -7, 12.03, 19, -6, 12.03, 18, -5, 12.03, 18, -6, 12.03, 18, -5, 12.03, 18, -4, 12.03, 18, -5, 12.03, 18, -4, 12.03, 18, -3, 12.03, 18, -3, 12.03, 18, -3, 12.03, 18, -3, 12.03, 17, -2, 12.03, 18, -2, 12.03, 18, -1, 12.03, 17, -1, 12.03, 17, -1, 12.03, 18, -1, 12.03, 17, 0, 12.03, 17, 0, 12.03, 18, 1, 12.03, 17, 1, 12.03, 17, 1, 12.03, 17, 1, 12.04, 17, 2, 12.06, 17, 2, 12.09, 17, 2, 12.11, 17, 3, 12.14, 17, 3, 12.16, 17, 4, 12.19, 17, 3, 12.21, 16, 5, 12.23, 17, 4, 12.24, 16, 5, 12.26, 17, 5, 12.28, 16, 5, 12.29, 17, 6, 12.31, 16, 6, 12.32, 16, 6, 12.33, 17, 7, 12.34, 16, 6, 12.35, 16, 8, 12.36, 16, 7, 12.37, 16, 8, 12.38, 16, 8, 12.39, 16, 9, 12.4, 16, 8, 12.4, 15, 9, 12.41, 16, 10, 12.42, 16, 9, 12.42, 15, 10, 12.43, 16, 11, 12.43, 15, 10, 12.44, 16, 11, 12.44, 15, 11, 12.45, 15, 12, 12.45, 16, 11, 12.46, 15, 12, 12.46, 15, 13, 12.46, 15, 12, 12.47, 15, 13, 12.47, 15, 13, 12.47, 15, 14, 12.47, 15, 14, 12.48, 15, 14, 12.48, 15, 14, 12.48, 15, 15, 12.48, 15, 15, 12.48, 14, 15, 12.49, 15, 15, 12.49, 14, 16, 12.49, 15, 15, 12.53, 17, 11, 12.78, 20, 6, 12.88, 19, 1, 12.79, 20, 2, 12.73, 19, 3, 12.69, 20, 5, 12.67, 20, 4, 12.65, 20, 5, 12.63, 20, 4, 12.64, 20, 5, 12.66, 21, 5, 12.68, 22, 5, 12.71, 21, 5, 12.74, 22, 6, 12.78, 23, 5, 12.82, 22, 5, 12.84, 23, 4, 12.81, 22, 2, 12.81, 23, 1, 12.78, 23, 1, 12.72, 24, 3, 12.71, 23, 3, 12.69, 25, 2, 12.69, 24, 3, 12.69, 25, 2, 12.66, 24, 0, 12.67, 25, -1, 12.66, 25, 1, 12.65, 24, 1, 12.67, 24, 0, 12.63, 24, 1, 12.63, 24, 0, 12.64, 25, 1, 12.63, 25, 0, 12.63, 25, 0, 12.63, 25, 1, 12.62, 25, 0, 12.61, 25, 0, 12.61, 24, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 24, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 24, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.62, 24, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 24, 0, 12.61, 25, 0, 12.61, 25, 0, 12.61, 24, 0, 12.61, 24, 0, 12.61, 25, 0, 12.61, 24, 0, 12.61, 24, 0, 12.61, 24, 0, 12.61, 24, 0, 12.61, 24, 0, 12.61, 23, 0, 12.61, 24, 0, 12.61, 24, 0, 12.61, 23, 0, 12.61, 24, 0, 12.61, 23, 0, 12.61, 23, 0, 12.61, 24, -2, 12.68, 23, -2, 12.76, 23, -1, 12.8, 23, -1, 12.85, 23, 0, 12.89, 23, -1, 12.92, 23, 0, 12.94, 22, -1, 12.96, 23, 0, 12.96, 22, 0, 12.96, 22, 0, 12.96, 22, 1, 12.95, 22, 0, 12.93, 22, 0, 12.9, 22, 1, 12.87, 22, 1, 12.84, 21, 1, 12.79, 21, 1, 12.78, 21, 1, 12.71, 21, 0, 12.64, 21, 2, 12.58, 22, 0, 12.58, 21, 0, 12.61, 22, 0, 12.62, 21, 0, 12.62, 21, 0, 12.61, 22, 0, 12.61, 21, 0, 12.61, 21, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 21, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 20, 0, 12.61, 19, 0, 12.61)); StopData(); } static function GetItem(_arg1:int, _arg2:int):PlayerRecord{ var _local3:Array; if ((((_arg1 < 0)) || ((_arg1 >= recordings.length)))){ return (null); }; _local3 = recordings[_arg1]; if ((((_arg2 < 0)) || ((_arg2 >= (_local3.length / 3))))){ return (null); }; pr.x = (_local3[((_arg2 * 3) + 0)] as Number); pr.y = (_local3[((_arg2 * 3) + 1)] as Number); pr.rot = (_local3[((_arg2 * 3) + 2)] as Number); pr.frame = 0; return (pr); } static function InitOnce(){ recordings = new Array(); routeInfo = new Array(); } static function StartData(_arg1:int){ currentData = new Array(); routeInfo.push(_arg1); } public static function GetRouteIndex(_arg1:int, _arg2:int){ var _local3:int; var _local4:int; var _local5:Array; var _local6:int; var _local7:int; _local3 = 0; _local4 = 0; _local5 = new Array(); _local4 = 0; while (_local4 < 100) { _local5.push(0); _local4++; }; for each (_local6 in routeInfo) { var _local10 = _local5; var _local11 = _local6; var _local12 = (_local10[_local11] + 1); _local10[_local11] = _local12; }; _local4 = 0; _local7 = _local5[_arg1]; for each (_local6 in routeInfo) { if (_local6 == _arg1){ if (_local3 == _arg2){ return (_local4); }; _local3++; if (_local3 >= _local7){ _local3 = 0; }; }; _local4++; }; return (0); } } }//package
Section 221
//Poly (Poly) package { import flash.display.*; import flash.geom.*; public class Poly { var param0:String; var param1:String; var subTypeName:String; var active:Boolean; var name:String; var pointList:Array; var typeName:String; var boundingRectangle:Rectangle; var iparam0:int; var lineList:Array; var closed:Boolean; var hitCallback:Object; var type:int; var catmullRomLength:Number; public static const polytype_WALL = 1; public static const polytype_CEILING = 6; public static const polytype_ZONE = 3; public static const polytype_PATH = 0; public static const polytype_FLOOR = 5; public static const polytype_OVERLAY = 4; public static const polytype_TRIGGER = 2; public function Poly(_arg1:String, _arg2:int, _arg3:Number, _arg4:Number):void{ lineList = new Array(); active = true; type = _arg2; name = _arg1; boundingRectangle = null; hitCallback = null; closed = false; pointList = new Array(); pointList.push(new Point(_arg3, _arg4)); } function PointOnCurve(_arg1:Number, _arg2:Point, _arg3:Point, _arg4:Point, _arg5:Point):Point{ var _local6:Point; var _local7:Number; var _local8:Number; _local6 = new Point(); _local7 = (_arg1 * _arg1); _local8 = (_local7 * _arg1); _local6.x = (0.5 * ((((2 * _arg3.x) + ((-(_arg2.x) + _arg4.x) * _arg1)) + (((((2 * _arg2.x) - (5 * _arg3.x)) + (4 * _arg4.x)) - _arg5.x) * _local7)) + ((((-(_arg2.x) + (3 * _arg3.x)) - (3 * _arg4.x)) + _arg5.x) * _local8))); _local6.y = (0.5 * ((((2 * _arg3.y) + ((-(_arg2.y) + _arg4.y) * _arg1)) + (((((2 * _arg2.y) - (5 * _arg3.y)) + (4 * _arg4.y)) - _arg5.y) * _local7)) + ((((-(_arg2.y) + (3 * _arg3.y)) - (3 * _arg4.y)) + _arg5.y) * _local8))); return (_local6); } public function GetPoint(_arg1:int):Point{ return (new Point(pointList[_arg1].x, pointList[_arg1].y)); } public function GetPointNormal(_arg1:int):Point{ return (new Point(lineList[_arg1].nx, lineList[_arg1].ny)); } public function GetPointOnCatmullRom(_arg1:Number):Point{ var _local2:int; var _local3:int; var _local4:Point; var _local5:Point; var _local6:Point; var _local7:Point; var _local8:Number; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Point; _local2 = GetNumPoints(); if (_local2 < 4){ return (new Point(0, 0)); }; _local3 = (_local2 - 1); _local8 = (Number(_local3) * _arg1); _local9 = _local8; _local10 = (_local9 - 1); _local11 = _local9; _local12 = (_local9 + 1); _local13 = (_local9 + 2); if (_local10 < 0){ _local10 = 0; }; if (_local12 > (_local2 - 1)){ _local12 = (_local2 - 1); }; if (_local13 > (_local2 - 1)){ _local13 = (_local2 - 1); }; _local4 = pointList[_local10]; _local5 = pointList[_local11]; _local6 = pointList[_local12]; _local7 = pointList[_local13]; _local14 = (_local9 + 1); _local15 = ((1 / Number(_local3)) * _local9); _local16 = ((1 / Number(_local3)) * _local14); _local17 = ((1 / (_local16 - _local15)) * (_arg1 - _local15)); _local18 = PointOnCurve(_local17, _local4, _local5, _local6, _local7); return (_local18); } public function AddLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local5:Line; var _local6:Rectangle; _local5 = new Line(_arg1, _arg2, _arg3, _arg4); lineList.push(_local5); pointList.push(new Point(_arg3, _arg4)); if (boundingRectangle == null){ boundingRectangle = _local5.boundingRect; } else { _local6 = boundingRectangle.clone(); boundingRectangle = _local6.union(_local5.boundingRect); }; } public function GetLine(_arg1:int):Line{ return (lineList[_arg1]); } public function CalculateCatmullRomLength(){ var _local1:Array; var _local2:int; var _local3:int; var _local4:Number; var _local5:Point; var _local6:Point; var _local7:Point; _local1 = new Array(); _local3 = GetNumPoints(); if (_local3 < 4){ catmullRomLength = 0; } else { _local4 = 0; while (_local4 < 1) { _local5 = GetPointOnCatmullRom(_local4); _local1.push(_local5); _local4 = (_local4 + 0.025); }; }; catmullRomLength = 0; _local2 = 0; while (_local2 < (_local1.length - 2)) { _local6 = _local1[_local2]; _local7 = _local1[(_local2 + 1)]; catmullRomLength = (catmullRomLength + Utils.DistBetweenPoints(_local6.x, _local6.y, _local7.x, _local7.y)); _local2++; }; _local1 = null; } public function Finish(_arg1:Boolean){ var _local2:Line; var _local3:Line; var _local4:Line; var _local5:Rectangle; if (_arg1){ _local2 = lineList[0]; _local3 = lineList[(lineList.length - 1)]; _local4 = new Line(_local3.x1, _local3.y1, _local2.x0, _local2.y0); lineList.push(_local4); _local5 = boundingRectangle.clone(); boundingRectangle = _local5.union(_local4.boundingRect); }; closed = _arg1; } public function GetCatmullRomLength():Number{ return (catmullRomLength); } public function GetNumLines():int{ return (lineList.length); } public function OffsetFromStartPoint(){ var _local1:*; var _local2:*; var _local3:int; var _local4:Line; _local1 = -(pointList[0].x); _local2 = -(pointList[0].y); _local3 = 0; while (_local3 < pointList.length) { pointList[_local3].x = (pointList[_local3].x + _local1); pointList[_local3].y = (pointList[_local3].y + _local2); _local3++; }; _local3 = 0; while (_local3 < lineList.length) { _local4 = lineList[_local3]; lineList[_local3].x0 = (_local4.x0 + _local1); _local4.x1 = (_local4.x1 + _local1); _local4.y0 = (_local4.y0 + _local2); _local4.y1 = (_local4.y1 + _local2); _local3++; }; } public function DrawCatmullRom(_arg1:BitmapData, _arg2:uint, _arg3:Number, _arg4:Number){ var _local5:int; var _local6:Number; var _local7:Point; _local5 = GetNumPoints(); if (_local5 < 4){ return; }; _local6 = 0; while (_local6 < 1) { _local7 = GetPointOnCatmullRom(_local6); _arg1.setPixel32((_local7.x + _arg3), (_local7.y + _arg4), _arg2); _local6 = (_local6 + 0.001); }; } public function GetNumPoints():int{ return (pointList.length); } public static function MakeSplineFromPointList(_arg1:Array):Poly{ var _local2:Point; var _local3:Point; var _local4:Poly; var _local5:int; var _local6:int; _local2 = _arg1[0]; _local4 = new Poly("", 0, _local2.x, _local2.y); _local5 = _arg1.length; _local6 = 0; while (_local6 < (_local5 - 1)) { _local2 = _arg1[_local6]; _local3 = _arg1[(_local6 + 1)]; _local4.AddLine(_local2.x, _local2.y, _local3.x, _local3.y); _local6++; }; _local4.Finish(false); _local4.CalculateCatmullRomLength(); return (_local4); } public static function FindAllByType(_arg1:int, _arg2:Array):Array{ var _local3:Array; var _local4:Poly; _local3 = new Array(); for each (_local4 in _arg2) { if (_local4.type == _arg1){ _local3.push(_local4); }; }; return (_local3); } public static function FindByName(_arg1:String, _arg2:Array):Poly{ var _local3:Poly; for each (_local3 in _arg2) { if (_local3.name == _arg1){ return (_local3); }; }; return (null); } public static function FindIndexByName(_arg1:String, _arg2:Array):int{ var _local3:int; var _local4:Poly; _local3 = 0; for each (_local4 in _arg2) { if (_local4.name == _arg1){ return (_local3); }; _local3++; }; return (-1); } } }//package
Section 222
//popwav (popwav) package { import flash.media.*; public dynamic class popwav extends Sound { } }//package
Section 223
//PortalEntry (PortalEntry) package { import flash.display.*; public dynamic class PortalEntry extends MovieClip { } }//package
Section 224
//PortalEntry2 (PortalEntry2) package { import flash.display.*; public dynamic class PortalEntry2 extends MovieClip { } }//package
Section 225
//PortalExit (PortalExit) package { import flash.display.*; public dynamic class PortalExit extends MovieClip { } }//package
Section 226
//PortalExit2 (PortalExit2) package { import flash.display.*; public dynamic class PortalExit2 extends MovieClip { } }//package
Section 227
//portalINsparks (portalINsparks) package { import flash.display.*; public dynamic class portalINsparks extends MovieClip { } }//package
Section 228
//portalOUTsparks (portalOUTsparks) package { import flash.display.*; public dynamic class portalOUTsparks extends MovieClip { } }//package
Section 229
//portalwav (portalwav) package { import flash.media.*; public dynamic class portalwav extends Sound { } }//package
Section 230
//SaveData (SaveData) package { import flash.net.*; public class SaveData { static var id:String = "GuineaPop99"; public static function Clear():void{ var _local1:SharedObject; _local1 = SharedObject.getLocal(id); _local1.clear(); _local1.close(); _local1.flush(); trace("SaveData Data Cleared"); trace(("len: " + _local1.size)); } public static function Save():void{ var _local1:int; var _local2:SharedObject; var _local3:Array; var _local4:Array; var _local5:Array; var _local6:Level; _local2 = SharedObject.getLocal(id); if (_local2 == null){ trace("SO null"); return; }; if (_local2.size == 0){ trace("SO size 0"); }; _local2.clear(); _local3 = new Array(); _local4 = new Array(); _local5 = new Array(); _local1 = 0; while (_local1 < 100) { _local6 = Game.GetLevel(_local1); if (_local6 != null){ _local3.push(_local6.bestTimeTotal); _local4.push(_local6.available); _local5.push(_local6.complete); }; _local1++; }; _local2.data.besttimes = _local3; _local2.data.availables = _local4; _local2.data.completes = _local5; _local2.close(); trace("Saved Data OK"); } public static function Load():void{ var _local1:SharedObject; var _local2:int; var _local3:Level; _local1 = SharedObject.getLocal(id); if (_local1 == null){ trace((("Shared Object: " + id) + " is null")); return; }; if (_local1.size == 0){ trace((("Shared Object: " + id) + " size=0")); _local1.close(); return; }; _local2 = 0; while (_local2 < 100) { _local3 = Game.GetLevel(_local2); if (_local3 != null){ _local3.bestTimeTotal = _local1.data.besttimes[_local2]; _local3.available = _local1.data.availables[_local2]; _local3.complete = _local1.data.completes[_local2]; }; _local2++; }; _local1.close(); trace("Loaded data OK"); } public static function DontLoad():void{ } public static function Exists():Boolean{ var _local1:SharedObject; _local1 = SharedObject.getLocal(id); if (_local1 == null){ trace((("Shared Object: " + id) + " null")); return (false); }; if (_local1.size == 0){ trace((("Shared Object: " + id) + " size 0")); _local1.close(); return (false); }; _local1.close(); return (true); } public static function DontSave():void{ } } }//package
Section 231
//SeeSaw (SeeSaw) package { import flash.display.*; public dynamic class SeeSaw extends MovieClip { } }//package
Section 232
//ShockwaveLogo (ShockwaveLogo) package { import flash.display.*; public dynamic class ShockwaveLogo extends MovieClip { } }//package
Section 233
//Shop (Shop) package { import flash.events.*; import flash.display.*; public class Shop { static var itemNames:Array; static var titleMC:MovieClip; public static function Init(){ var _local1:int; var _local2:MovieClip; itemNames = new Array(); itemNames.push("Speed"); itemNames.push("Accelaration"); itemNames.push("Brake"); itemNames.push("Boost"); itemNames.push("Spin"); Game.pause = true; _local1 = 0; while (_local1 < 5) { _local2 = (titleMC.getChildByName(("item" + _local1.toString())) as MovieClip); _local2.itemIndex = _local1; _local2.addEventListener(MouseEvent.CLICK, ItemPressed, false, 0, true); _local1++; }; titleMC.buttonExit.addEventListener(MouseEvent.CLICK, buttonExitPressed, false, 0, true); UpdateStuff(); } public static function InitOnce(){ } public static function buttonExitPressed(_arg1:MouseEvent){ Game.pause = false; Game.main.removeChild(titleMC); titleMC = null; KeyReader.InitOnce(Game.main.stage); } static function UpdateStuff():void{ var _local1:int; var _local2:MovieClip; titleMC.textCash.text = ("Money: " + Game.cash); _local1 = 0; while (_local1 < 5) { _local2 = (titleMC.getChildByName(("item" + _local1.toString())) as MovieClip); _local2.upgradeIcon.gotoAndStop((_local1 + 1)); _local2.upgradeIndicator.gotoAndStop((Player.GetLevel(_local1) + 1)); _local2.upgradeText.text = itemNames[_local1]; _local2.costText.text = ("cost: " + Player.GetCost(_local1).toString()); _local1++; }; } static function ItemPressed(_arg1:MouseEvent){ var _local2:int; _local2 = _arg1.currentTarget.itemIndex; Game.cash = (Game.cash - Player.GetCost(_local2)); Player.Upgrade(_local2); UpdateStuff(); } } }//package
Section 234
//ShotController (ShotController) package { public class ShotController { public var timer:int; public var shotTypeName:String; public var yoff:Number; public var xoff:Number; public var shotDefIndex:int; public function Set(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number){ timer = 0; shotTypeName = _arg1; shotDefIndex = WaveDefs.GetShotDefIndexByName(_arg2); xoff = _arg3; yoff = _arg4; } public function clone():ShotController{ var _local1:ShotController; _local1 = new ShotController(); _local1.timer = timer; _local1.shotTypeName = shotTypeName; _local1.shotDefIndex = shotDefIndex; _local1.xoff = xoff; _local1.yoff = yoff; return (_local1); } } }//package
Section 235
//ShotDef (ShotDef) package { public class ShotDef { var spreadRange:Number; var name:String; var spreadAng:Number; var intervalTicks:Number; var numShots:int; var type:int; public function ShotDef(_arg1:String){ name = _arg1; type = 0; intervalTicks = 0; } public function SetSpreadPulse(_arg1:Number, _arg2:int, _arg3:Number, _arg4=-1){ intervalTicks = (Defs.fps * _arg1); type = 1; numShots = _arg2; spreadRange = Utils.DegToRad(_arg3); spreadAng = -1; if (_arg4 != -1){ spreadAng = Utils.DegToRad(_arg4); }; } public function SetNormal(_arg1:Number){ intervalTicks = (Defs.fps * _arg1); type = 0; } } }//package
Section 236
//SiteLock (SiteLock) package { import flash.events.*; public class SiteLock { static var miniclip_locked:Boolean = false; static var sitelockActive:Boolean = false; public static function GetFullDomain():String{ var _local1:String; var _local2:Number; var _local3:Number; var _local4:String; _local1 = Main.theStage.loaderInfo.url; _local2 = (_local1.indexOf("://") + 3); _local3 = _local1.indexOf("/", _local2); _local4 = _local1.substring(_local2, _local3); return (_local4); } public static function InitOnce():void{ } public static function IsLocked():Boolean{ var _local1:String; var _local2:String; _local1 = GetDomain(); _local2 = GetFullDomain(); if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ if (((!((_local1 == "timeforkids.com"))) && (!((_local1 == "sikids.com"))))){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMENINJA){ if (_local1 != "gameninja.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_BORED){ if (_local1 != "bored.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_KONGREGATE){ if (_local1 != "kongregate.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_MINIJUEGOS){ if (_local1 == "minijuegos.com"){ return (false); }; if (_local1 == "minijuegosgratis.com"){ return (false); }; if (_local2 == "72.36.157.12"){ return (false); }; if (_local2 == "72.36.157.13"){ return (false); }; if (_local2 == "72.36.157.16"){ return (false); }; if (_local2 == "72.36.157.14"){ return (false); }; if (_local2 == "72.36.157.26"){ return (false); }; if (_local2 == "72.36.157.50"){ return (false); }; if (_local2 == "72.36.157.11"){ return (false); }; if (_local2 == "72.36.157.10"){ return (false); }; if (_local2 == "72.36.157.9"){ return (false); }; if (_local2 == "72.36.157.8"){ return (false); }; return (true); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_MOUSEBREAKER){ if (_local1 != "mousebreaker.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_KING){ if (((!((_local1 == "king.com"))) && (!((_local1 == "midasplayer.com"))))){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMEZHERO){ if (_local1 != "gamezhero.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_ARMORGAMES){ if (_local1 != "armorgames.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_BUBBLEBOX){ if (_local1 != "bubblebox.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_ANDKON){ if (_local1 != "andkon.com"){ return (true); }; return (false); }; if (Licensors.GetLicensor() == Licensors.LICENSOR_BIGFISH){ if (((((((((((!((_local1 == "bigfishgames.com"))) && (!((_local1 == "bigfishgames.de"))))) && (!((_local1 == "bigfishgames.fr"))))) && (!((_local1 == "bigfishgames.es"))))) && (!((_local1 == "bigfishgames.mx"))))) && (!((_local1 == "bigfishgames.jp"))))){ return (true); }; return (false); }; return (false); } public static function GetDomain():String{ var _local1:String; var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; var _local6:Number; _local1 = Main.theStage.loaderInfo.url; _local2 = (_local1.indexOf("://") + 3); _local3 = _local1.indexOf("/", _local2); _local4 = _local1.substring(_local2, _local3); _local5 = (_local4.lastIndexOf(".") - 1); _local6 = (_local4.lastIndexOf(".", _local5) + 1); _local4 = _local4.substring(_local6, _local4.length); return (_local4); } public static function GetDomainFromUrl(_arg1:String):String{ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; var _local6:Number; _local2 = (_arg1.indexOf("://") + 3); _local3 = _arg1.indexOf("/", _local2); _local4 = _arg1.substring(_local2, _local3); _local5 = (_local4.lastIndexOf(".") - 1); _local6 = (_local4.lastIndexOf(".", _local5) + 1); _local4 = _local4.substring(_local6, _local4.length); return (_local4); } static function onInvalidDomain(_arg1:Event):void{ trace("Miniclip sitelock INVALID"); miniclip_locked = true; } static function onValidDomain(_arg1:Event):void{ trace("Miniclip sitelock OK"); miniclip_locked = false; } } }//package
Section 237
//SnakeEnd (SnakeEnd) package { import flash.display.*; public dynamic class SnakeEnd extends MovieClip { } }//package
Section 238
//SoundPlayer (SoundPlayer) package { import flash.utils.*; import flash.media.*; public class SoundPlayer { public static const minPlayTime = 3; static var doSFX:Boolean; static var channel:SoundChannel; public static var startTimes:Array; static var timer:Timer; static var active = false; public static var sounds:Array; public static var sound:Sound; public static var times:Array; public static var volumes:Array; public static var lengths:Array; public static var soundTransform:SoundTransform; static var Instances:Array; public static var names:Array; public static var soundTransforms:Array; static var main:Main; static var playingFlag:Boolean; public static var soundChannels:Array; static function AddSound(_arg1:String){ var classRef:Class; var s:Sound; var _soundName = _arg1; try { classRef = (getDefinitionByName(_soundName) as Class); } catch(e:Object) { classRef = null; }; if (classRef == null){ trace(("AddSound Error: Can't find sound " + _soundName)); sounds.push(null); } else { s = (new (classRef) as Sound); sounds.push(s); }; names.push(_soundName); startTimes.push(0); lengths.push(0); volumes.push(1); times.push(0); } public static function InitOnce(_arg1:Main):void{ doSFX = Game.soundon; main = _arg1; startTimes = new Array(); lengths = new Array(); sounds = new Array(); names = new Array(); times = new Array(); volumes = new Array(); soundChannels = new Array(); soundTransforms = new Array(); AddSound("blowwav"); AddSound("popwav"); AddSound("bounce01"); AddSound("bounce02"); AddSound("bounce03"); AddSound("bounce04"); AddSound("bounce05"); AddSound("bounce06"); AddSound("launch01"); AddSound("launch02"); AddSound("launch03"); AddSound("guineadie01"); AddSound("guineadie02"); AddSound("guineadie03"); AddSound("switchwav"); AddSound("animal_elephant"); AddSound("animal_giraffe"); AddSound("animal_gorilla"); AddSound("animal_hippo"); AddSound("animal_penguin"); AddSound("animal_tortoise"); AddSound("baddie"); AddSound("cannonwav"); AddSound("generatewav"); AddSound("magnetwav"); AddSound("mincerwav"); AddSound("mincerplopwav"); AddSound("objectbreakwav"); AddSound("pinballbouncerwav"); AddSound("portalwav"); AddSound("springboardwav"); AddSound("line2wav"); soundTransform = new SoundTransform(1, 0); active = true; playingFlag = false; } public static function UpdateOncePerFrame():void{ var _local1:int; var _local2:int; _local2 = times.length; _local1 = 0; while (_local1 < _local2) { if (times[_local1] > 0){ var _local3 = times; var _local4 = _local1; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; }; _local1++; }; } public static function PlayRandomBetween(_arg1:String, _arg2:String, _arg3:Number=1):void{ var _local4:int; var _local5:int; var _local6:int; if (doSFX == false){ return; }; _local4 = names.indexOf(_arg1); _local5 = names.indexOf(_arg2); _local6 = Utils.RandBetweenInt(_local4, _local5); PlayById(_local6, _arg3); } public static function Play(_arg1:String, _arg2:Number=1):void{ var _local3:int; if (doSFX == false){ return; }; _local3 = names.indexOf(_arg1); PlayById(_local3, _arg2); } public static function PlayById(_arg1:int, _arg2:Number=1):void{ var _local3:SoundTransform; var _local4:Sound; if (doSFX == false){ return; }; if (times[_arg1] > 0){ return; }; if (sounds[_arg1] != null){ _local4 = sounds[_arg1]; _local3 = new SoundTransform(); _local3.volume = _arg2; _local4.play(0, 0, _local3); times[_arg1] = 5; } else { trace(("SoundPlayer: Cant find sound " + _arg1)); }; } public static function ToggleMute(){ doSFX = (doSFX == false); } public static function GetId(_arg1:String):int{ var _local2:int; _local2 = names.indexOf(_arg1); return (_local2); } } }//package import flash.events.*; import flash.utils.*; import flash.media.*; class SoundPlay { private var channel:SoundChannel; private var timer:Timer; private var playingFlag; private function SoundPlay(){ } private function timerHandler(_arg1:TimerEvent):void{ timer.stop(); channel.stop(); playingFlag = false; } public function Clear():void{ playingFlag = false; timer = null; } public function Active():Boolean{ return (playingFlag); } public function Play(_arg1:int):void{ channel = SoundPlayer.sound.play(SoundPlayer.startTimes[_arg1], 1, SoundPlayer.soundTransform); timer = new Timer(SoundPlayer.lengths[_arg1]); timer.addEventListener(TimerEvent.TIMER, timerHandler); timer.start(); playingFlag = true; } }
Section 239
//Springboard (Springboard) package { import flash.display.*; public dynamic class Springboard extends MovieClip { } }//package
Section 240
//springboardwav (springboardwav) package { import flash.media.*; public dynamic class springboardwav extends Sound { } }//package
Section 241
//Stat (Stat) package { public class Stat { var value:Number; var name:String; public function Stat(_arg1:String, _arg2:Number){ name = _arg1; value = _arg2; } } }//package
Section 242
//StaticObjects (StaticObjects) package { import flash.display.*; public dynamic class StaticObjects extends MovieClip { } }//package
Section 243
//Stats (Stats) package { public class Stats { static var list:Array; public static function InitOnce(){ list = new Array(); } public static function Add(_arg1:String, _arg2:Number){ var _local3:Stat; _local3 = FindByName(_arg1); _local3.value = (_local3.value + _arg2); } public static function FindByName(_arg1:String):Stat{ var _local2:Stat; for each (_local2 in list) { if (_local2.name == _arg1){ return (_local2); }; }; return (null); } public static function Create(_arg1:String, _arg2:Number){ list.push(new Stat(_arg1, _arg2)); } } }//package
Section 244
//switch_blue (switch_blue) package { import flash.display.*; public dynamic class switch_blue extends MovieClip { } }//package
Section 245
//switch_green (switch_green) package { import flash.display.*; public dynamic class switch_green extends MovieClip { } }//package
Section 246
//switch_red (switch_red) package { import flash.display.*; public dynamic class switch_red extends MovieClip { } }//package
Section 247
//switch_regular (switch_regular) package { import flash.display.*; public dynamic class switch_regular extends MovieClip { } }//package
Section 248
//SwitchCage (SwitchCage) package { import flash.display.*; public dynamic class SwitchCage extends MovieClip { } }//package
Section 249
//switchStickers (switchStickers) package { import flash.display.*; public dynamic class switchStickers extends MovieClip { } }//package
Section 250
//switchwav (switchwav) package { import flash.media.*; public dynamic class switchwav extends Sound { } }//package
Section 251
//titleScreen (titleScreen) package { import flash.display.*; public dynamic class titleScreen extends MovieClip { public var buttonLongAnimals:SimpleButton; public var buttonViewOutro:SimpleButton; public var buttonMoreGames:SimpleButton; public var buttonPlay:SimpleButton; public var sponsorBar:MovieClip; } }//package
Section 252
//TitleScreenState (TitleScreenState) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import flash.filters.*; import flash.ui.*; public class TitleScreenState { static const numLevelsPerWorld:int = 5; static var showingInstructions:Boolean; static var selectedBikeIndex:int; static var selectedAchievementIndex:int; static var creditsMC:MovieClip; static var main:Main; static var greyFilter:ColorMatrixFilter = new ColorMatrixFilter([0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0, 0, 0, 1, 0]); static var levelSelect_selectedLevel:int; static var instructionIndex:int; static var overlayMC:MovieClip = null; static var titleMC:MovieClip; static var instructionsMC:MovieClip; public static function LevelSelect_levelOver(_arg1:MouseEvent){ var _local2:int; _local2 = _arg1.currentTarget.levelID; levelSelect_selectedLevel = _local2; Game.currentLevel = _local2; LevelSelect_Update(); } public static function buttonStart1Pressed(_arg1:MouseEvent){ } public static function SponsorBar_cheatsPressed(_arg1:MouseEvent){ SponsorBar_GoToCheatsUrl(); } public static function buttonSkipOutroPressed(_arg1:MouseEvent){ overlayMC.stop(); main.removeChild(overlayMC); overlayMC = null; MusicPlayer.StopMusic(); MusicPlayer.StartStream(4); } public static function LevelSelect_levelOut(_arg1:MouseEvent){ levelSelect_selectedLevel = -1; Game.currentLevel = levelSelect_selectedLevel; LevelSelect_Update(); } public static function InitBikeSelect(){ var _local1:Level; var _local2:int; var _local3:PlayerBikeData; var _local4:MovieClip; var _local5:int; Mouse.show(); _local1 = Game.GetCurrentLevel(); Game.currentBikeIndex = -1; titleMC.buttonBack.addEventListener(MouseEvent.CLICK, BikeSelect_buttonBackPressed, false, 0, true); _local2 = 0; while (_local2 < 20) { _local3 = PlayerBikes.GetBikeData(_local2); _local4 = titleMC[("bike" + (_local2 + 1).toString())]; _local4.bikeID = _local2; _local4.bikerName.text = _local3.name; _local4.gotoAndStop(_local3.selectFrame); _local4.addEventListener(MouseEvent.CLICK, BikeSelect_buttonNextPressed, false, 0, true); _local4.addEventListener(MouseEvent.MOUSE_OVER, BikeSelect_bikeOver, false, 0, true); _local4.addEventListener(MouseEvent.MOUSE_OUT, BikeSelect_bikeOut, false, 0, true); _local4.chosenBox.visible = false; if (_local3.available){ _local4.filters = []; _local4.characterLock.visible = false; } else { _local4.filters = [greyFilter]; _local4.characterLock.visible = true; }; if (_local1.exclusiveChar != -1){ _local5 = (_local1.exclusiveChar - 1); if (_local5 == _local2){ _local4.characterLock.visible = false; _local4.filters = []; } else { _local4.characterLock.visible = true; _local4.filters = [greyFilter]; }; }; _local4.useHandCursor = true; _local4.buttonMode = true; _local2++; }; BikeSelect_SetSelected(); } static function LevelSelect_Update(){ var _local1:int; var _local2:Level; var _local3:int; var _local4:String; var _local5:MovieClip; if (levelSelect_selectedLevel == -1){ titleMC.textTrackName.text = ""; titleMC.textStat0.text = ""; titleMC.textStat1.text = ""; } else { _local2 = Game.GetLevel(levelSelect_selectedLevel); titleMC.textTrackName.text = _local2.name; titleMC.textStat0.text = ""; titleMC.textStat1.text = ""; if (_local2.complete){ titleMC.textStat0.text = (((((("Best Time: " + Utils.CounterToSecondsString(_local2.bestTimeTotal)) + " ( Gold = ") + Utils.CounterToSecondsString(_local2.goldTime)) + " Silver = ") + Utils.CounterToSecondsString(_local2.silverTime)) + " )"); _local3 = Game.GetLevelAward(_local2); if (_local3 == 0){ titleMC.textStat1.text = "Bronze Medal"; }; if (_local3 == 1){ titleMC.textStat1.text = "Silver Medal"; }; if (_local3 == 2){ titleMC.textStat1.text = "Gold Medal"; }; } else { titleMC.textStat0.text = (((("( Gold = " + Utils.CounterToSecondsString(_local2.goldTime)) + " Silver = ") + Utils.CounterToSecondsString(_local2.silverTime)) + " )"); }; }; _local1 = 0; while (_local1 < Game.levels.length) { _local4 = ("level" + _local1); _local5 = (titleMC.getChildByName(_local4) as MovieClip); if (_local1 == levelSelect_selectedLevel){ _local5.clipSelected.visible = true; } else { _local5.clipSelected.visible = false; }; _local1++; }; } public static function buttonSkipPressed(_arg1:MouseEvent){ overlayMC.stop(); main.removeChild(overlayMC); overlayMC = null; MusicPlayer.StopMusic(); MusicPlayer.StartStream(4); InitLevelSelect(); } public static function buttonCreditsBackPressed(_arg1:MouseEvent){ Game.main.removeChild(creditsMC); creditsMC = null; } public static function WorldSelect_worldOver(_arg1:MouseEvent){ var _local2:int; _local2 = _arg1.currentTarget.worldID; Game.currentWorldID = _local2; WorldSelect_Update(); titleMC.textInfo.text = ("World " + (_local2 + 1)); } static function instructionsContinuePressed(_arg1:MouseEvent){ var _local2:Level; _local2 = Game.GetCurrentLevel(); instructionIndex++; if (instructionIndex > _local2.helpscreenFrames.length){ Game.main.removeChild(instructionsMC); instructionsMC = null; showingInstructions = false; Game.InitLevelState(Game.levelState_Play); Mouse.hide(); } else { instructionsMC.gotoAndStop(_local2.helpscreenFrames[instructionIndex]); instructionsMC.buttonContinue.visible = false; if (_local2.helpscreenFrames.length > (instructionIndex + 1)){ instructionsMC.buttonContinue.visible = true; }; instructionsMC.buttonDone.visible = (instructionsMC.buttonContinue.visible == false); }; } static function PlayOutro(){ MusicPlayer.StopMusic(); MusicPlayer.StartStream(5); overlayMC = main.AddMovieClip(0, 0, new Outro()); overlayMC.buttonMenu.addEventListener(MouseEvent.CLICK, buttonSkipOutroPressed, false, 0, true); overlayMC.gotoAndPlay(1); } public static function InitLevelStartScreen(){ var _local1:Level; var _local2:int; var _local3:Achievement; var _local4:TextField; Mouse.show(); Game.pause = true; _local1 = Game.GetCurrentLevel(); titleMC.textTitle.text = ("Starting Level " + (Game.currentLevel + 1)); titleMC.textAchievement0.text = ""; titleMC.textAchievement1.text = ""; titleMC.textAchievement2.text = ""; titleMC.complete0.gotoAndStop(1); titleMC.complete1.gotoAndStop(1); titleMC.complete2.gotoAndStop(1); _local2 = 0; for each (_local3 in Game.achievements.list) { if ((_local3.specificLevel - 1) == Game.currentLevel){ _local4 = titleMC[("textAchievement" + _local2)]; _local4.text = _local3.name; _local4.text = (_local4.text + "\n"); _local4.text = (_local4.text + _local3.description); _local2++; }; }; titleMC.textBest.text = "Best Time: 1.23"; titleMC.buttonNext.addEventListener(MouseEvent.CLICK, LevelStart_buttonNextPressed, false, 0, true); } public static function BikeSelect_SetSelected(){ var _local1:int; var _local2:int; var _local3:PlayerBikeData; var _local4:MovieClip; _local1 = Game.currentBikeIndex; if (_local1 == -1){ titleMC.chosen.visible = false; titleMC.textBikerName.text = ""; titleMC.textBikerBio.text = ""; } else { _local3 = PlayerBikes.GetBikeData(_local1); titleMC.chosen.visible = true; titleMC.chosen.gotoAndStop(_local3.selectFrame); titleMC.textBikerName.text = _local3.name; titleMC.textBikerBio.text = _local3.bio; }; _local2 = 0; while (_local2 < 20) { _local3 = PlayerBikes.GetBikeData(_local2); _local4 = titleMC[("bike" + (_local2 + 1).toString())]; if (_local1 == _local2){ _local4.chosenBox.visible = true; } else { _local4.chosenBox.visible = false; }; _local2++; }; } public static function buttonGameNinjaPressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.gameninja.com"), "_blank"); } public static function SponsorBar_GoToCheatsUrl(){ if (Licensors.GetLicensor() == Licensors.LICENSOR_BUBBLEBOX){ navigateToURL(new URLRequest("http://www.bubblebox.com/gameinfo/bubbleguineapop.htm"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ANDKON){ buttonAndkonGuidePressed(null); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ navigateToURL(new URLRequest("http://www.sikids.com/games/bubbleguineapophints"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SHOCKWAVE){ } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ARMORGAMES){ } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMENINJA){ navigateToURL(new URLRequest("http://www.gameninja.com/bubbleguineapop-guide.html"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_MOUSEBREAKER){ navigateToURL(new URLRequest("http://www.mousebreaker.com/games/bubbleguineapopguide/playgame"), "_blank"); } else { navigateToURL(new URLRequest("http://www.kongregate.com/games/LongAnimals/bubbleguineapop-guide?gamereferral=bubbleguineapop"), "_blank"); }; }; }; }; }; }; }; } public static function buttonClearSaveDataPressed(_arg1:MouseEvent){ SaveData.Clear(); } public static function WorldSelect_Next(){ var _local1:int; var _local2:MovieClip; _local1 = 0; while (_local1 < 5) { _local2 = titleMC[("level" + (_local1 + 1).toString())]; _local2.removeEventListener(MouseEvent.CLICK, WorldSelect_worldPressed); _local2.removeEventListener(MouseEvent.MOUSE_OVER, WorldSelect_worldOver); _local2.removeEventListener(MouseEvent.MOUSE_OUT, WorldSelect_worldOut); _local1++; }; Game.main.removeChild(titleMC); titleMC = null; InitLevelSelect(); } public static function LevelSelect_buttonNextPressed(_arg1:MouseEvent){ var _local2:Boolean; var _local3:int; var _local4:Level; var _local5:int; var _local6:String; var _local7:MovieClip; _local2 = false; _local3 = _arg1.currentTarget.levelID; _local4 = Game.GetLevel(_local3); if (_local4.available){ _local2 = true; }; if (Game.usedebug){ _local2 = true; }; if (_local2 == false){ return; }; _local5 = 0; while (_local5 < Game.levels.length) { _local6 = ("level" + _local5); _local7 = (titleMC.getChildByName(_local6) as MovieClip); _local7.removeEventListener(MouseEvent.CLICK, LevelSelect_buttonNextPressed); _local7.removeEventListener(MouseEvent.MOUSE_OVER, LevelSelect_levelOver); _local7.removeEventListener(MouseEvent.MOUSE_OUT, LevelSelect_levelOut); _local5++; }; Game.main.removeChild(titleMC); titleMC = null; SaveData.Save(); Mouse.hide(); Game.main.SetGameState(Main.gameState_LEVEL_PLAY); } static function buttonLonganimalsPressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.longanimalsgames.com?referal=bubbleguineapop"), "_blank"); } static function Cheats(_arg1:SimpleButton):void{ _arg1.addEventListener(MouseEvent.CLICK, buttonEnterCheatsPressed, false, 0, true); _arg1.visible = false; if (Licensors.GetLicensor() == Licensors.LICENSOR_KONGREGATE){ _arg1.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_KIBA){ _arg1.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_BUBBLEBOX){ _arg1.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ANDKON){ _arg1.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ _arg1.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SHOCKWAVE){ _arg1.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ARMORGAMES){ _arg1.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_MINIJUEGOS){ _arg1.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_MOUSEBREAKER){ _arg1.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMENINJA){ _arg1.visible = true; }; }; }; }; }; }; }; }; }; }; } public static function MovieFinished(){ Game.InitGame(); main.SetGameState(Main.gameState_LEVEL_PLAY); } public static function InitAchievementScreen(){ var _local1:int; var _local2:Achievement; var _local3:MovieClip; Mouse.show(); overlayMC.buttonBack.addEventListener(MouseEvent.CLICK, AchievementScreen_buttonBackPressed, false, 0, true); _local1 = 0; for each (_local2 in Game.achievements.list) { _local3 = (overlayMC.getChildByName(("ach" + _local1.toString())) as MovieClip); if (_local3 != null){ _local3.addEventListener(MouseEvent.CLICK, AchievementScreen_achievementPressed, false, 0, true); _local3.achID = _local1; _local3.textNumber.text = (_local1 + 1).toString(); _local3.tick.visible = false; if (_local2.complete){ _local3.tick.visible = true; }; _local3.selectedClip.visible = false; }; _local1++; }; selectedAchievementIndex = -1; overlayMC.textName.text = ""; overlayMC.textDescription.text = ""; } public static function buttonViewOutroPressed(_arg1:MouseEvent){ PlayOutro(); } public static function LevelSelect_buttonBackPressed(_arg1:MouseEvent){ Game.main.removeChild(titleMC); titleMC = null; SaveData.Save(); InitWorldSelect(); } public static function buttonStartPressed(_arg1:MouseEvent){ main.removeChild(titleMC); titleMC = null; Game.InitGame(); SaveData.Load(); PlayIntro(); } static function MainLogo(_arg1:MovieClip):void{ _arg1.logoKongregate.visible = false; _arg1.logoKiba.visible = false; _arg1.logoBubbleBox.visible = false; _arg1.logoAndkon.visible = false; _arg1.logoSIKids.visible = false; _arg1.logoShockwave.visible = false; _arg1.logoArmorGames.visible = false; _arg1.logoMinijuegos.visible = false; _arg1.logoMousebreaker.visible = false; _arg1.logoGameNinja.visible = false; _arg1.logoKongregate.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.logoBubbleBox.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.logoAndkon.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.logoSIKids.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.logoArmorGames.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.logoGameNinja.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); if (Licensors.GetLicensor() == Licensors.LICENSOR_KONGREGATE){ _arg1.logoKongregate.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_KIBA){ _arg1.logoKiba.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_BUBBLEBOX){ _arg1.logoBubbleBox.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ANDKON){ _arg1.logoAndkon.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ _arg1.logoSIKids.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SHOCKWAVE){ _arg1.logoShockwave.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ARMORGAMES){ _arg1.logoArmorGames.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_MINIJUEGOS){ _arg1.logoMinijuegos.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_MOUSEBREAKER){ _arg1.logoMousebreaker.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMENINJA){ _arg1.logoGameNinja.visible = true; }; }; }; }; }; }; }; }; }; }; } public static function LevelEnd_buttonNextPressed(_arg1:MouseEvent){ Mouse.hide(); Game.main.removeChild(titleMC); titleMC = null; Game.NextLevel(); } public static function Init(_arg1:Main){ Mouse.show(); main = _arg1; MusicPlayer.StopMusic(); MusicPlayer.StartStream(4); main.InitStage(); titleMC = main.AddMovieClip(0, 0, new titleScreen()); titleMC.buttonPlay.addEventListener(MouseEvent.CLICK, buttonStartPressed, false, 0, true); titleMC.buttonMoreGames.addEventListener(MouseEvent.CLICK, SponsorBar_moreGamesPressed, false, 0, true); titleMC.buttonViewOutro.addEventListener(MouseEvent.CLICK, buttonViewOutroPressed, false, 0, true); titleMC.buttonLongAnimals.addEventListener(MouseEvent.CLICK, buttonLonganimalsPressed, false, 0, true); titleMC.buttonViewOutro.visible = false; if (Game.AreAllLevelsComplete()){ titleMC.buttonViewOutro.visible = true; }; SponsorBar(titleMC.sponsorBar); } public static function WorldSelect_buttonBackPressed(_arg1:MouseEvent){ } public static function WorldSelect_Update(){ var _local1:int; var _local2:MovieClip; _local1 = 0; while (_local1 < 5) { _local2 = titleMC[("level" + (_local1 + 1).toString())]; _local2.selectedMC.visible = false; if (_local1 == Game.currentWorldID){ _local2.selectedMC.visible = true; }; _local1++; }; } public static function BikeSelect_buttonNextPressed(_arg1:MouseEvent){ var _local2:int; var _local3:MovieClip; _local2 = 0; while (_local2 < 20) { _local3 = titleMC[("bike" + (_local2 + 1).toString())]; _local3.removeEventListener(MouseEvent.CLICK, BikeSelect_buttonNextPressed); _local3.removeEventListener(MouseEvent.MOUSE_OVER, BikeSelect_bikeOver); _local3.removeEventListener(MouseEvent.MOUSE_OUT, BikeSelect_bikeOut); _local2++; }; Game.main.removeChild(titleMC); titleMC = null; Game.InitLevel2(); } public static function buttonAndkonPressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.andkon.com/arcade/"), "_blank"); } public static function buttonEnterCheatsPressed(_arg1:MouseEvent){ } public static function LevelFail_buttonNextPressed(_arg1:MouseEvent){ Mouse.hide(); Game.main.removeChild(titleMC); titleMC = null; Game.RestartLevel(); } public static function WorldSelect_worldPressed(_arg1:MouseEvent){ WorldSelect_Next(); } public static function buttonKongregatePressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.kongregate.com/?gamereferral=bubbleguineapop"), "_blank"); } public static function AchievementScreen_buttonBackPressed(_arg1:MouseEvent){ Game.main.removeChild(overlayMC); overlayMC = null; } public static function BikeSelect_buttonBackPressed(_arg1:MouseEvent){ Game.main.removeChild(titleMC); titleMC = null; InitLevelSelect(); } public static function LevelEnd_buttonMenuPressed(_arg1:MouseEvent){ Game.main.removeChild(titleMC); titleMC = null; InitLevelSelect(); } public static function BikeSelect_bikeOut(_arg1:MouseEvent){ Game.currentBikeIndex = -1; BikeSelect_SetSelected(); } public static function buttonAchievementsPressed(_arg1:MouseEvent){ InitAchievementScreen(); } public static function buttonSIKidsPressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.sikids.com"), "_blank"); } static function instructionsClosePressed(_arg1:MouseEvent){ Game.main.removeChild(instructionsMC); instructionsMC = null; Mouse.hide(); showingInstructions = false; Game.InitLevelState(Game.levelState_Play); } public static function InitLevelSelect(){ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:Level; var _local11:MovieClip; var _local12:int; Mouse.show(); levelSelect_selectedLevel = -1; titleMC = main.AddMovieClip(0, 0, new LevelSelectScreen()); SponsorBar(titleMC.sponsorBar); _local6 = 650; _local2 = 30; _local1 = _local2; _local3 = 50; _local4 = 70; _local5 = 70; _local7 = 0; _local8 = 0; while (_local8 < 1) { _local9 = 0; while (_local9 < Game.levels.length) { _local10 = Game.GetLevel(_local9); _local11 = new LevelSelectItem(); _local11.name = ("level" + _local9); _local11.levelID = _local9; _local11.gotoAndStop(1); _local11.clipComplete.visible = false; _local11.clipSelected.visible = false; _local11.clipLocked.visible = false; if (_local10.available == false){ _local11.clipLocked.visible = true; }; if (_local10.complete == true){ _local11.clipComplete.visible = true; _local12 = Game.GetLevelAward(_local10); if (_local12 == 0){ _local11.clipComplete.gotoAndStop(1); }; if (_local12 == 1){ _local11.clipComplete.gotoAndStop(2); }; if (_local12 == 2){ _local11.clipComplete.gotoAndStop(3); }; }; _local11.textLevelNumber.text = (_local9 + 1).toString(); _local11.x = _local1; _local11.y = _local3; _local11.addEventListener(MouseEvent.CLICK, LevelSelect_buttonNextPressed, false, 0, true); _local11.addEventListener(MouseEvent.MOUSE_OVER, LevelSelect_levelOver, false, 0, true); _local11.addEventListener(MouseEvent.MOUSE_OUT, LevelSelect_levelOut, false, 0, true); _local11.useHandCursor = true; _local11.buttonMode = true; titleMC.addChild(_local11); _local1 = (_local1 + _local4); if (_local1 > _local6){ if (_local7 == 0){ _local7 = 25; } else { _local7 = 0; }; _local1 = (_local2 + _local7); _local3 = (_local3 + _local5); }; _local9++; }; _local3 = (_local3 + (_local5 + 20)); _local1 = _local2; _local8++; }; titleMC.textScore.text = ("Score: " + Game.currentScore); titleMC.textTrackName.text = ""; titleMC.textStat0.text = ""; titleMC.textStat1.text = ""; LevelSelect_Update(); } static function SponsorBar(_arg1:MovieClip):void{ _arg1.visible = true; _arg1.buttonLogoKongregate.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.buttonLogoAndkon.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.buttonLogoBubbleBox.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.buttonLogoSIKids.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.buttonLogoGameNinja.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.buttonLogoBored.addEventListener(MouseEvent.CLICK, SponsorBar_logoPressed, false, 0, true); _arg1.buttonLogoBored.buttonMode = true; _arg1.buttonLogoBored.useHandCursor = true; _arg1.buttonMoreGames.addEventListener(MouseEvent.CLICK, SponsorBar_moreGamesPressed, false, 0, true); _arg1.buttonAndkonArcade.addEventListener(MouseEvent.CLICK, SponsorBar_moreGamesPressed, false, 0, true); _arg1.buttonCheats.addEventListener(MouseEvent.CLICK, SponsorBar_cheatsPressed, false, 0, true); _arg1.buttonAndkonArcade.visible = false; _arg1.buttonLogoAndkon.visible = false; _arg1.buttonLogoBubbleBox.visible = false; _arg1.buttonLogoKongregate.visible = false; _arg1.buttonLogoSIKids.visible = false; _arg1.buttonLogoGameNinja.visible = false; _arg1.buttonLogoBored.visible = false; if (Licensors.GetLicensor() == Licensors.LICENSOR_KONGREGATE){ _arg1.buttonLogoKongregate.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_NOBRANDING){ _arg1.background.visible = true; _arg1.buttonMoreGames.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_BORED){ _arg1.buttonLogoBored.visible = true; _arg1.buttonMoreGames.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_KIBA){ _arg1.buttonLogoKongregate.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_BUBBLEBOX){ _arg1.background.visible = false; _arg1.buttonLogoBubbleBox.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ANDKON){ _arg1.buttonAndkonArcade.visible = true; _arg1.buttonMoreGames.visible = false; _arg1.buttonLogoAndkon.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ _arg1.buttonMoreGames.visible = true; _arg1.buttonLogoSIKids.visible = true; _arg1.background.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SHOCKWAVE){ _arg1.buttonMoreGames.visible = false; _arg1.background.visible = false; _arg1.buttonCheats.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ARMORGAMES){ _arg1.buttonMoreGames.visible = false; _arg1.background.visible = false; _arg1.buttonCheats.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_MINIJUEGOS){ _arg1.visible = false; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_MOUSEBREAKER){ _arg1.buttonMoreGames.visible = false; _arg1.background.visible = false; _arg1.buttonCheats.visible = true; } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMENINJA){ _arg1.buttonMoreGames.visible = true; _arg1.background.visible = false; _arg1.buttonCheats.visible = true; _arg1.buttonLogoGameNinja.visible = true; }; }; }; }; }; }; }; }; }; }; }; }; _arg1.buttonCheats.visible = false; _arg1.background.visible = false; } public static function buttonAndkonGuidePressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("guide.html"), "_blank"); } public static function InitLevelEndScreen(){ var _local1:Level; var _local2:int; var _local3:String; Mouse.show(); _local1 = Game.GetCurrentLevel(); titleMC = main.AddMovieClip(0, 0, new LevelEndScreen()); titleMC.innerholder.inner.textStat0.text = (("You took " + Utils.CounterToSecondsString(Game.levelTimer)) + " seconds"); titleMC.innerholder.inner.textStat1.text = (((Game.numPigsSacrificed + " Guinea Pigs = ") + (Game.numPigsSacrificed * 5)) + " sec. penalty"); titleMC.innerholder.inner.textStat2.text = (("Final Time: " + Utils.CounterToSecondsString(_local1.lastTimeTotal)) + " seconds"); _local2 = Game.GetLastLevelAward(_local1); _local3 = ""; if (_local2 == 0){ _local3 = "Bronze Medal Awarded"; }; if (_local2 == 1){ _local3 = "Silver Medal Awarded"; }; if (_local2 == 2){ _local3 = "Gold Medal Awarded"; }; titleMC.innerholder.inner.textStat3.text = _local3; titleMC.innerholder.inner.textStat4.text = ("Score: " + Game.currentScore); titleMC.buttonNext.addEventListener(MouseEvent.CLICK, LevelEnd_buttonNextPressed, false, 0, true); titleMC.buttonMainMenu.addEventListener(MouseEvent.CLICK, LevelEnd_buttonMenuPressed, false, 0, true); SponsorBar(titleMC.sponsorBar); } public static function LevelFail_buttonMenuPressed(_arg1:MouseEvent){ Game.main.removeChild(titleMC); titleMC = null; InitLevelSelect(); } public static function buttonBubbleBoxPressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.bubblebox.com"), "_blank"); } public static function AchievementScreen_achievementPressed(_arg1:MouseEvent){ var _local2:Achievement; var _local3:int; var _local4:MovieClip; selectedAchievementIndex = _arg1.currentTarget.achID; _local2 = Game.achievements.list[selectedAchievementIndex]; overlayMC.textName.text = _local2.name; overlayMC.textDescription.text = _local2.description; _local3 = 0; for each (_local2 in Game.achievements.list) { _local4 = (overlayMC.getChildByName(("ach" + _local3.toString())) as MovieClip); if (_local4 != null){ _local4.selectedClip.visible = false; if (_local3 == selectedAchievementIndex){ _local4.selectedClip.visible = true; }; }; _local3++; }; } public static function SponsorBar_andkonPressed(_arg1:MouseEvent){ buttonAndkonPressed(_arg1); } public static function buttonBoredPressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.bored.com?referral=bubbleguineapop"), "_blank"); } public static function InitWorldSelect(){ var _local1:int; var _local2:MovieClip; Mouse.show(); titleMC.textInfo.text = ""; Game.currentWorldID = -1; _local1 = 0; while (_local1 < 5) { _local2 = titleMC[("level" + (_local1 + 1).toString())]; _local2.addEventListener(MouseEvent.CLICK, WorldSelect_worldPressed, false, 0, true); _local2.addEventListener(MouseEvent.MOUSE_OVER, WorldSelect_worldOver, false, 0, true); _local2.addEventListener(MouseEvent.MOUSE_OUT, WorldSelect_worldOut, false, 0, true); _local2.worldID = _local1; _local2.gotoAndStop((_local1 + 1)); _local2.lock.visible = true; _local2.selectedMC.visible = false; _local1++; }; WorldSelect_Update(); } public static function KongAIAdClicked(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.kongregate.com/games/Kongregate/Kongai?gamereferral=bubbleguineapop"), "_blank"); } public static function Update(_arg1:Main){ } public static function buttonKongregateGamePressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.kongregate.com/games/LongAnimals/bubbleguineapop?gamereferral=bubbleguineapop"), "_blank"); } public static function GameOverScreenComplete(){ main.removeChild(titleMC); titleMC = null; Game.main.SetGameState(Main.gameState_TITLE); } public static function WorldSelect_worldOut(_arg1:MouseEvent){ Game.currentWorldID = -1; WorldSelect_Update(); titleMC.textInfo.text = ""; } public static function InitEndGameScreen(){ } public static function SponsorBar_logoPressed(_arg1:MouseEvent){ if (Licensors.GetLicensor() == Licensors.LICENSOR_KONGREGATE){ navigateToURL(new URLRequest("http://www.kongregate.com/?gamereferral=bubbleguineapop"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ANDKON){ buttonAndkonPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_BORED){ buttonBoredPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_BUBBLEBOX){ buttonBubbleBoxPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_KIBA){ navigateToURL(new URLRequest("http://www.kongregate.com/?gamereferral=bubbleguineapop"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ buttonSIKidsPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SHOCKWAVE){ } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ARMORGAMES){ buttonArmorGamesPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMENINJA){ buttonGameNinjaPressed(_arg1); }; }; }; }; }; }; }; }; }; } public static function SponsorBar_moreGamesPressed(_arg1:MouseEvent){ if (Licensors.GetLicensor() == Licensors.LICENSOR_BORED){ buttonBoredPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_KONGREGATE){ navigateToURL(new URLRequest("http://www.kongregate.com/?gamereferral=bubbleguineapop"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_KIBA){ navigateToURL(new URLRequest("http://www.kongregate.com/?gamereferral=bubbleguineapop"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ANDKON){ buttonAndkonPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_BUBBLEBOX){ buttonBubbleBoxPressed(_arg1); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SIKIDS){ navigateToURL(new URLRequest("http://www.sikids.com/games"), "_blank"); } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_SHOCKWAVE){ } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_ARMORGAMES){ } else { if (Licensors.GetLicensor() == Licensors.LICENSOR_GAMENINJA){ buttonGameNinjaPressed(_arg1); }; }; }; }; }; }; }; }; }; } public static function BikeSelect_bikeOver(_arg1:MouseEvent){ var _local2:int; _local2 = _arg1.currentTarget.bikeID; trace(("bike id " + _local2)); Game.currentBikeIndex = _local2; BikeSelect_SetSelected(); } static function PlayIntro(){ MusicPlayer.StopMusic(); main.InitStage(); overlayMC = main.AddMovieClip(0, 0, new INTRO()); overlayMC.buttonSkip.addEventListener(MouseEvent.CLICK, buttonSkipPressed, false, 0, true); overlayMC.gotoAndPlay(1); } static function InitLevelInstructions(){ var _local1:Level; showingInstructions = false; _local1 = Game.GetCurrentLevel(); if (_local1.helpscreenFrames.length == 0){ Game.InitLevelState(Game.levelState_Play); return; }; Mouse.show(); showingInstructions = true; instructionIndex = 0; instructionsMC = new IngameHelpClip(); instructionsMC.buttonContinue.addEventListener(MouseEvent.CLICK, instructionsContinuePressed, false, 0, true); instructionsMC.buttonDone.addEventListener(MouseEvent.CLICK, instructionsClosePressed, false, 0, true); Game.main.addChild(instructionsMC); instructionsMC.buttonContinue.visible = false; if (_local1.helpscreenFrames.length > (instructionIndex + 1)){ instructionsMC.buttonContinue.visible = true; }; instructionsMC.buttonDone.visible = (instructionsMC.buttonContinue.visible == false); instructionsMC.visible = true; instructionsMC.gotoAndStop(_local1.helpscreenFrames[instructionIndex]); } public static function buttonCreditsPressed(_arg1:MouseEvent){ } public static function LevelStart_buttonNextPressed(_arg1:MouseEvent){ Game.main.removeChild(titleMC); titleMC = null; Game.pause = false; KeyReader.InitOnce(Game.main.stage); } public static function buttonArmorGamesPressed(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.armorgames.com"), "_blank"); } public static function InitLevelFailScreen(){ var _local1:Level; Mouse.show(); _local1 = Game.GetCurrentLevel(); titleMC = main.AddMovieClip(0, 0, new LevelFailScreen()); titleMC.buttonNext.addEventListener(MouseEvent.CLICK, LevelFail_buttonNextPressed, false, 0, true); titleMC.buttonMainMenu.addEventListener(MouseEvent.CLICK, LevelFail_buttonMenuPressed, false, 0, true); SponsorBar(titleMC.sponsorBar); } } }//package
Section 253
//track01 (track01) package { import flash.media.*; public dynamic class track01 extends Sound { } }//package
Section 254
//track02 (track02) package { import flash.media.*; public dynamic class track02 extends Sound { } }//package
Section 255
//track03 (track03) package { import flash.media.*; public dynamic class track03 extends Sound { } }//package
Section 256
//track04 (track04) package { import flash.media.*; public dynamic class track04 extends Sound { } }//package
Section 257
//track05 (track05) package { import flash.media.*; public dynamic class track05 extends Sound { } }//package
Section 258
//Utils (Utils) package { import flash.display.*; import flash.geom.*; public class Utils { static function RandBetweenFloat(_arg1:Number, _arg2:Number):Number{ var _local3:Number; _local3 = (Math.random() * (_arg2 - _arg1)); _local3 = (_local3 + _arg1); return (_local3); } public static function RemoveWhiteSpace(_arg1:String):String{ _arg1 = _arg1.replace(" ", ""); return (_arg1); } public static function DegToRad(_arg1:Number):Number{ return ((((Math.PI * 2) / 360) * _arg1)); } public static function PointArrayFromString(_arg1:String):Array{ var _local2:Array; var _local3:Array; var _local4:int; var _local5:int; var _local6:Point; _local2 = new Array(); _local3 = _arg1.split(","); if ((((_local3.length < 2)) || (((_local3.length % 2) == 1)))){ trace(((("PointArrayFromString. Error, numpoints=" + _local3.length) + " , string= ") + _arg1)); return (_local2); }; _local5 = (_local3.length / 2); _local4 = 0; while (_local4 < _local5) { _local6 = new Point(0, 0); _local6.x = Number(_local3[((_local4 * 2) + 0)]); _local6.y = Number(_local3[((_local4 * 2) + 1)]); _local2.push(_local6); _local4++; }; return (_local2); } public static function ScaleTo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Number{ var _local6:Number; var _local7:Number; var _local8:Number; _local6 = (_arg4 - _arg3); _local7 = (_arg2 - _arg1); _local8 = ((1 / _local6) * (_arg5 - _arg3)); _local8 = ((_local7 * _local8) + _arg1); return (_local8); } public static function DP2(_arg1:Number):Number{ var _local2:Number; _local2 = (Math.ceil((_arg1 * 100)) / 100); return (_local2); } static function RenderDotLine(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:int, _arg7:uint):void{ var _local8:int; var _local9:int; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; _local9 = _arg6; _local10 = ((_arg4 - _arg2) / Number(_local9)); _local11 = ((_arg5 - _arg3) / Number(_local9)); _arg1.setPixel32(int(_arg2), int(_arg3), _arg7); _local12 = _arg2; _local13 = _arg3; _local8 = 0; while (_local8 < _local9) { _arg2 = (_arg2 + _local10); _arg3 = (_arg3 + _local11); _arg1.setPixel32(int(_arg2), int(_arg3), _arg7); _local8++; }; } static function RenderRectangle(_arg1:BitmapData, _arg2:Rectangle, _arg3:uint):void{ RenderDotLine(_arg1, _arg2.left, _arg2.top, _arg2.right, _arg2.top, 100, _arg3); RenderDotLine(_arg1, _arg2.left, _arg2.bottom, _arg2.right, _arg2.bottom, 100, _arg3); RenderDotLine(_arg1, _arg2.left, _arg2.top, _arg2.left, _arg2.bottom, 100, _arg3); RenderDotLine(_arg1, _arg2.right, _arg2.top, _arg2.right, _arg2.bottom, 100, _arg3); } public static function NumberToString2DP(_arg1:Number):String{ var _local2:String; var _local3:int; var _local4:int; _local2 = DP2(_arg1).toString(); _local3 = _local2.lastIndexOf("."); if (_local3 == -1){ _local2.concat(".00"); } else { _local4 = _local2.length; if (_local3 == (_local4 - 1)){ _local2.concat("0"); }; }; return (_local2); } public static function LimitNumber(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg3 < _arg1){ _arg3 = _arg1; }; if (_arg3 > _arg2){ _arg3 = _arg2; }; return (_arg3); } public static function DP1(_arg1:Number):Number{ var _local2:Number; _local2 = (Math.ceil((_arg1 * 10)) / 10); return (_local2); } static function DotProduct(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number; _local5 = ((_arg1 * _arg3) + (_arg2 * _arg4)); return (_local5); } static function Dist2BetweenPoints(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number; var _local6:Number; _local5 = (_arg3 - _arg1); _local6 = (_arg4 - _arg2); return (((_local5 * _local5) + (_local6 * _local6))); } static function SideOfLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{ var _local7:Number; _local7 = DotProduct((_arg3 - _arg1), (_arg4 - _arg2), (_arg5 - _arg1), (_arg6 - _arg2)); if (_local7 < 0){ return (false); }; return (true); } public static function rgbToHex(_arg1:uint):String{ var _local2:String; var _local3:String; var _local4:int; _local2 = _arg1.toString(16); _local3 = ("00000" + _local2); _local4 = _local3.length; _local3 = _local3.substring((_local4 - 6), _local4); return (_local3.toUpperCase()); } static function DotProductAng(_arg1:Number, _arg2:Number):Number{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local3 = Math.cos(_arg1); _local4 = Math.sin(_arg1); _local5 = Math.cos(_arg2); _local6 = Math.sin(_arg2); _local7 = ((_local3 * _local5) + (_local4 * _local6)); return (_local7); } public static function RandCircle():Number{ return ((Math.random() * (Math.PI * 2))); } public static function RadToDeg(_arg1:Number):Number{ return (((360 / (Math.PI * 2)) * _arg1)); } public static function CounterToSecondsString(_arg1:int):String{ var _local2:String; var _local3:int; var _local4:int; var _local5:Number; _local2 = ""; _local3 = (_arg1 / int(Defs.fps)); _local4 = (_arg1 % int(Defs.fps)); _local2 = (_local2 + (_local3.toString() + ":")); _local5 = ((100 / Defs.fps) * Number(_local4)); _local2 = (_local2 + Math.floor(_local5).toString()); return (_local2); } public static function LineLength(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number; var _local6:Number; _local5 = (_arg3 - _arg1); _local6 = (_arg4 - _arg2); return (Math.sqrt(((_local5 * _local5) + (_local6 * _local6)))); } static function RandBetweenInt(_arg1:int, _arg2:int):int{ var _local3:int; _local3 = (Math.random() * ((_arg2 - _arg1) + 1)); _local3 = (_local3 + _arg1); return (_local3); } static function DistBetweenPoints(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number; var _local6:Number; _local5 = (_arg3 - _arg1); _local6 = (_arg4 - _arg2); return (Math.sqrt(((_local5 * _local5) + (_local6 * _local6)))); } public static function ScaleBetween(_arg1:Number, _arg2:Number, _arg3:Number):Number{ var _local4:Number; _local4 = ((_arg2 - _arg1) * _arg3); _local4 = (_arg1 + _local4); return (_local4); } static function RenderCircle(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:uint):void{ var _local6:int; var _local7:Number; var _local8:int; var _local9:Number; var _local10:Number; var _local11:Number; _local6 = 50; _local7 = ((Math.PI * 2) / _local6); _local9 = 0; _local8 = 0; while (_local8 < _local6) { _local10 = (_arg2 + (Math.cos(_local9) * _arg4)); _local11 = (_arg3 + (Math.sin(_local9) * _arg4)); _local9 = (_local9 + _local7); _arg1.setPixel32(int(_local10), int(_local11), _arg5); _local8++; }; } } }//package
Section 259
//WaveDef (WaveDef) package { public class WaveDef { public var pathID:int; public var absoluteGenTime:int; public var gapSeconds:Number; public var actionLen:Number; public var actionType:Number; public var pos:Number; public var side:int; public var waveID:int; public var pathSpeed:Number; public var numInWave:int; public var typeName:String; public var xflip:Boolean; public var type:int; public var actionPos:Number; public var pathType:int; public function WaveDef(_arg1:int, _arg2:int, _arg3:Number, _arg4:String, _arg5:int, _arg6:int, _arg7:Number){ type = 0; side = _arg2; pos = _arg3; typeName = _arg4; pathID = _arg5; pathType = _arg6; absoluteGenTime = _arg1; pathSpeed = _arg7; numInWave = 0; waveID = -1; actionLen = 0; actionPos = 0; actionType = -1; xflip = false; } public function SetID(_arg1:int, _arg2:int){ waveID = _arg1; numInWave = _arg2; } } }//package
Section 260
//WaveDefs (WaveDefs) package { public class WaveDefs { static const s_bxf = 4; static const p_sm = 1; static const s_b = 3; static const s_txf = 5; static const s_l = 0; static const s_r = 1; static const p_sp = 2; static const s_t = 2; static const p_ln = 0; static var startTime:int; static var startPos:int; static var waveID:int; public static var currentPos:int; static var list:Array; static var currentTime:int; static var shotDefList:Array; public static var nextWaveDef:WaveDef; static function WaitForBoss(_arg1:Number){ var _local2:WaveDef; var _local3:int; currentTime = (currentTime + (_arg1 * Defs.fps)); _local3 = currentTime; _local2 = new WaveDef(_local3, 2, 0, "WaitForBoss", 0, 0, 0); list.push(_local2); waveID++; currentPos = (currentPos + 1); } static function addPause1(_arg1:WaveDef){ _arg1.actionPos = 400; _arg1.actionLen = (Defs.fps * 2); _arg1.actionType = 0; } public static function GetCurrentDef():WaveDef{ return (nextWaveDef); } public static function InitOnce(){ } static function AddShop(_arg1:Number, _arg2:Number){ var _local3:WaveDef; var _local4:int; currentTime = (currentTime + (_arg1 * Defs.fps)); _local4 = currentTime; _local3 = new WaveDef(_local4, 2, _arg2, "Shop", 0, 0, 0); _local3.SetID(waveID, 1); list.push(_local3); waveID++; currentPos = (currentPos + 1); } static function AddWave(_arg1:Number, _arg2:int, _arg3:Object, _arg4:int, _arg5:Number, _arg6:String, _arg7:String, _arg8:int, _arg9:Number, _arg10:Function=null){ var _local11:WaveDef; var _local12:int; var _local13:Array; var _local14:int; var _local15:Number; var _local16:int; if ((_arg3 is Array)){ _local13 = (_arg3 as Array); }; if ((_arg3 is Number)){ _local13 = new Array(); _local13.push(Number(_arg3)); }; _local14 = Poly.FindIndexByName(_arg7, Game.polygonList); if (_local14 == -1){ _local14 = 0; trace(("ERROR: AddWave = Path not found: " + _arg7)); }; currentTime = (currentTime + (_arg1 * Defs.fps)); for each (_local15 in _local13) { _local12 = 0; while (_local12 < _arg4) { _local16 = currentTime; _local16 = (_local16 + ((_local12 * _arg5) * Defs.fps)); if (_arg2 == s_t){ _local11 = new WaveDef(_local16, 2, _local15, _arg6, _local14, _arg8, _arg9); _local11.SetID(waveID, (_arg4 * _local13.length)); if (_arg10 != null){ _arg10(_local11); }; list.push(_local11); }; if (_arg2 == s_txf){ _local11 = new WaveDef(_local16, 2, _local15, _arg6, _local14, _arg8, _arg9); _local11.xflip = true; _local11.SetID(waveID, (_arg4 * _local13.length)); if (_arg10 != null){ _arg10(_local11); }; list.push(_local11); }; if (_arg2 == s_b){ _local11 = new WaveDef(_local16, 3, _local15, _arg6, _local14, _arg8, _arg9); _local11.SetID(waveID, (_arg4 * _local13.length)); if (_arg10 != null){ _arg10(_local11); }; list.push(_local11); }; if (_arg2 == s_bxf){ _local11 = new WaveDef(_local16, 4, _local15, _arg6, _local14, _arg8, _arg9); _local11.xflip = true; _local11.SetID(waveID, (_arg4 * _local13.length)); if (_arg10 != null){ _arg10(_local11); }; list.push(_local11); }; if (_arg2 == s_l){ _local11 = new WaveDef(_local16, 0, _local15, _arg6, _local14, _arg8, _arg9); _local11.SetID(waveID, (_arg4 * _local13.length)); if (_arg10 != null){ _arg10(_local11); }; list.push(_local11); }; if (_arg2 == s_r){ _local11 = new WaveDef(_local16, 1, _local15, _arg6, _local14, _arg8, _arg9); _local11.xflip = true; _local11.SetID(waveID, (_arg4 * _local13.length)); if (_arg10 != null){ _arg10(_local11); }; list.push(_local11); }; _local12++; }; }; waveID++; currentPos = (currentPos + (_arg4 * _local13.length)); } public static function GetShotDefIndexByName(_arg1:String):int{ var _local2:int; var _local3:int; var _local4:ShotDef; _local3 = shotDefList.length; _local2 = 0; while (_local2 < _local3) { _local4 = shotDefList[_local2]; if (_local4.name == _arg1){ return (_local2); }; _local2++; }; return (0); } static function StartHere(){ startTime = currentTime; startPos = currentPos; trace(((startPos + " ") + startTime)); } public static function AdvanceWave(){ currentPos++; if (currentPos >= list.length){ nextWaveDef = null; }; nextWaveDef = list[currentPos]; } public static function Reset(){ currentPos = startPos; nextWaveDef = list[currentPos]; } } }//package
Section 261
//Vec (Vec) package { import flash.geom.*; public class Vec { public var speed:Number; public var rot:Number; public function Vec(){ rot = 0; speed = 0; } public function Add(_arg1:Vec){ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local2 = (Math.cos(rot) * speed); _local3 = (Math.sin(rot) * speed); _local4 = (Math.cos(_arg1.rot) * _arg1.speed); _local5 = (Math.sin(_arg1.rot) * _arg1.speed); _local6 = (_local2 + _local4); _local7 = (_local3 + _local5); rot = Math.atan2(_local7, _local6); speed = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); } public function Set(_arg1:Number, _arg2:Number){ rot = _arg1; speed = _arg2; } public function GetUnitYComponent():Number{ return (Math.sin(rot)); } public function dotRot(_arg1:Number):Number{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = Math.cos(rot); _local3 = Math.sin(rot); _local4 = Math.cos(_arg1); _local5 = Math.sin(_arg1); _local6 = ((_local2 * _local4) + (_local3 * _local5)); return (_local6); } function NormalizeRot():void{ while (rot < 0) { rot = (rot + (Math.PI * 2)); }; while (rot > (Math.PI * 2)) { rot = (rot - (Math.PI * 2)); }; } public function GetUnitTangent():Point{ var _local1:Number; var _local2:Point; _local1 = (rot + (Math.PI * 0.5)); _local2 = new Point(Math.cos(_local1), Math.sin(_local1)); return (_local2); } public function NearRot(_arg1:Number, _arg2:Number):Boolean{ var _local3:Number; var _local4:Number; _local3 = (rot - _arg1); _local4 = Math.abs(_local3); if (_local3 > Math.PI){ if (_arg1 < rot){ _arg1 = (_arg1 + (Math.PI * 2)); } else { _arg1 = (_arg1 - (Math.PI * 2)); }; _local3 = (rot - _arg1); }; if (Math.abs(_local3) <= _arg2){ return (true); }; return (false); } public function SetAng(_arg1:Number){ rot = _arg1; } public function GetYComponent():Number{ return ((Math.sin(rot) * speed)); } public function GetXComponent():Number{ return ((Math.cos(rot) * speed)); } public function AddRot(_arg1:Number):void{ rot = (rot + _arg1); NormalizeRot(); } public function GetUnitXComponent():Number{ return (Math.cos(rot)); } } }//package
Section 262
//XmlHelper (XmlHelper) package { public class XmlHelper { public static function GetAttrString(_arg1:Object, _arg2:String=""):String{ var _local3:String; _local3 = _arg2; if (_arg1 != undefined){ _local3 = String(_arg1); }; return (_local3); } public static function GetAttrBoolean(_arg1:Object, _arg2:Boolean=false):Boolean{ var _local3:Boolean; var _local4:String; _local3 = _arg2; if (_arg1 != null){ _local3 = false; _local4 = String(_arg1); _local4 = _local4.toLowerCase(); if (_arg1 == "true"){ _local3 = true; }; }; return (_local3); } public static function GetAttrInt(_arg1:Object, _arg2:int=0):int{ var _local3:int; _local3 = _arg2; if (_arg1 != undefined){ _local3 = int(_arg1); }; return (_local3); } public static function GetAttrNumber(_arg1:Object, _arg2:Number=0):Number{ var _local3:Number; var _local4:String; _local3 = _arg2; if (_arg1 != undefined){ _local4 = String(_arg1); if (_local4.charAt(0) == "%"){ _local4 = _local4.replace("%", ""); _local3 = Number(ExternalData.constants[_local4]); } else { _local3 = Number(_arg1); }; }; return (_local3); } } }//package

Library Items

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

Instance Names

"preloaderMC"Frame 1Symbol 1191 MovieClip
"buttonMenu"Symbol 168 MovieClip {Outro} Frame 1Symbol 167 Button
"buttonSkip"Symbol 403 MovieClip {INTRO} Frame 1Symbol 178 Button
"buttonContinue"Symbol 640 MovieClip {IngameHelpClip} Frame 1Symbol 474 Button
"buttonDone"Symbol 640 MovieClip {IngameHelpClip} Frame 1Symbol 476 Button
"buttonContinue"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 684 Button
"buttonMusic"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 689 Button
"tickMusic"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 687 MovieClip
"buttonSFX"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 691 Button
"tickSFX"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 687 MovieClip
"buttonQuit"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 693 Button
"buttonHelp"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 695 Button
"buttonHints"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 697 Button
"buttonRestartLevel"Symbol 700 MovieClip {PauseMenuClip} Frame 1Symbol 699 Button
"background"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 718 MovieClip
"buttonMoreGames"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 720 Button
"buttonLogoKongregate"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 723 Button
"buttonCheats"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 730 Button
"buttonAndkonArcade"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 736 Button
"buttonLogoAndkon"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 738 Button
"buttonLogoBubbleBox"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 745 Button
"buttonLogoSIKids"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 748 Button
"buttonLogoGameNinja"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 751 Button
"buttonLogoBored"Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49} Frame 1Symbol 766 MovieClip
"buttonNext"Symbol 768 MovieClip {LevelFailScreen} Frame 1Symbol 710 MovieClip {BubbleGuineaPop_Bored_fla.retry_level_mc_130}
"buttonMainMenu"Symbol 768 MovieClip {LevelFailScreen} Frame 1Symbol 716 MovieClip {BubbleGuineaPop_Bored_fla.main_menu_mc_124}
"sponsorBar"Symbol 768 MovieClip {LevelFailScreen} Frame 1Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49}
"textStat0"Symbol 781 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInner_127} Frame 1Symbol 776 EditableText
"textStat1"Symbol 781 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInner_127} Frame 1Symbol 777 EditableText
"textStat2"Symbol 781 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInner_127} Frame 1Symbol 778 EditableText
"textStat3"Symbol 781 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInner_127} Frame 1Symbol 779 EditableText
"textStat4"Symbol 781 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInner_127} Frame 1Symbol 780 EditableText
"inner"Symbol 782 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInnerAnim_126} Frame 1Symbol 781 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInner_127}
"buttonNext"Symbol 783 MovieClip {LevelEndScreen} Frame 1Symbol 775 MovieClip {BubbleGuineaPop_Bored_fla.next_level_mc_122}
"buttonMainMenu"Symbol 783 MovieClip {LevelEndScreen} Frame 1Symbol 716 MovieClip {BubbleGuineaPop_Bored_fla.main_menu_mc_124}
"innerholder"Symbol 783 MovieClip {LevelEndScreen} Frame 1Symbol 782 MovieClip {BubbleGuineaPop_Bored_fla.LevelEndScreenInnerAnim_126}
"sponsorBar"Symbol 783 MovieClip {LevelEndScreen} Frame 1Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49}
"clipSelected"Symbol 795 MovieClip {LevelSelectItem} Frame 1Symbol 785 MovieClip
"textLevelNumber"Symbol 795 MovieClip {LevelSelectItem} Frame 1Symbol 787 EditableText
"clipComplete"Symbol 795 MovieClip {LevelSelectItem} Frame 1Symbol 792 MovieClip
"clipLocked"Symbol 795 MovieClip {LevelSelectItem} Frame 1Symbol 794 MovieClip
"sponsorBar"Symbol 802 MovieClip {LevelSelectScreen} Frame 1Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49}
"textTrackName"Symbol 802 MovieClip {LevelSelectScreen} Frame 1Symbol 798 EditableText
"textStat0"Symbol 802 MovieClip {LevelSelectScreen} Frame 1Symbol 799 EditableText
"textStat1"Symbol 802 MovieClip {LevelSelectScreen} Frame 1Symbol 800 EditableText
"textScore"Symbol 802 MovieClip {LevelSelectScreen} Frame 1Symbol 801 EditableText
"flash"Symbol 926 MovieClip {KongregateKongAIAd} Frame 1Symbol 924 MovieClip {BubbleGuineaPop_Bored_fla.flash_102}
"buttonViewOutro"Symbol 1085 MovieClip {titleScreen} Frame 1Symbol 1076 Button
"buttonMoreGames"Symbol 1085 MovieClip {titleScreen} Frame 1Symbol 720 Button
"buttonPlay"Symbol 1085 MovieClip {titleScreen} Frame 1Symbol 1078 Button
"buttonLongAnimals"Symbol 1085 MovieClip {titleScreen} Frame 1Symbol 1084 Button
"sponsorBar"Symbol 1085 MovieClip {titleScreen} Frame 1Symbol 767 MovieClip {BubbleGuineaPop_Bored_fla.sponsorbar_49}
"insertname"Symbol 1186 MovieClip {bubblebox_score} Frame 1Symbol 1182 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.
Protect (24)Timeline Frame 10 bytes ""
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 256, ScriptTimeout: 35 seconds

Labels

"breathing in"Symbol 430 MovieClip {guinea_pig3} Frame 1
"blowing"Symbol 430 MovieClip {guinea_pig3} Frame 23
"breathing in"Symbol 459 MovieClip {guinea_pig2} Frame 1
"blowing"Symbol 459 MovieClip {guinea_pig2} Frame 23
"breathing in"Symbol 834 MovieClip {guinea_pig} Frame 1
"blowing"Symbol 834 MovieClip {guinea_pig} Frame 23




http://swfchan.com/27/132762/info.shtml
Created: 18/2 -2019 03:45:28 Last modified: 18/2 -2019 03:45:28 Server time: 10/05 -2024 02:35:48