//===================================================================== // LoadData : Sets up the statistics for the plays (c) 1996 // Author : Chris Strickland // Company : New Horizons Software // : Links to the WEB page are welcomed // : Any copying of the code on this page will be under the // : standard shareware license agreement. Donations are // : appreciated and will encourage future development of WEB // : products. // Developed: Sep 4, 98 - Extracted from initfoot. // : Nov 6, 98 - Added Tight End pass. //===================================================================== function initTeams() { this.PlayerName=new initStringArray(2); this.PlayerName[0]="FSU"; this.PlayerName[1]="Florida"; } function initVars() { this.NO=0; this.YES=1; } function initMessages() { this.Message=new initStringArray(23); this.Scramble=NO; this.Dive=1; this.Stuff=2; this.Crush=3; this.BreakHole=4; this.CloseHole=5; this.PushBack=6; this.BackField=7; this.CBReadPlay=8; this.NotFooled=9; this.DefenseFooled=10; this.CBStayedZone=11; this.DEReadPlay=12; this.Incomplete=13; this.Sack=14; this.Scramble=15; this.Awesome=16; this.Dump=17; this.BigRun=18; this.Fumble=19; this.Interception=20; this.TD=21; this.Lost=99; this.NoTurnOver=100; this.Message[Scramble]="The QB breaks it open"; this.Message[Dive]="The QB Dives Over the Center"; this.Message[Stuff]="The Defense Stuffed Them"; this.Message[Crush]="The Defense Crushed the Offensive Line"; this.Message[BreakHole]="The Running Back Breaks Through the Hole"; this.Message[CloseHole]="The Linebacker Closed the Hole Quickly"; this.Message[PushBack]="The Defense Pushed the Tackle backwards into the Back"; this.Message[BackField]="The Defense Tackled the Back in the Backfield"; this.Message[CBReadPlay]="The Cornerback Read the Play"; this.Message[NotFooled]="The Defensive End Wasn't Fool on this Play"; this.Message[DefenseFooled]="The Defense Was Fooled on This One"; this.Message[CBStayedZone]="The Cornerback Stayed in His Zone"; this.Message[DEReadPlay]="The Defensive End Read this Play all the Way"; this.Message[Incomplete]="Incomplete Pass"; this.Message[Sack]="The Quarterback was slammed to the turf"; this.Message[Scramble]="The Quarterback is under pressure, he gets away"; this.Message[Awesome]="QB throws an awesome pass"; this.Message[Dump]="QB had to dump the pass"; this.Message[BigRun]="What a Run!!!"; this.Message[Fumble]="

What a hit!!! The ball was fumbled!!!

"; this.Message[Interception]="

Wait, no!!! The ball was intercepted!!!

"; this.Message[TD]="

You Won!!! TouchDown!!!

"; } function initOffensivePlays() { this.TotOffensePlays=9; this.OffenseCall=100; this.QBSneak=0; this.OffTackle=1; this.Sweep=2; this.Draw=3; this.Reverse=4; this.PassPlay=5; this.Screen=5; this.TEPass=6; this.MedPass=7; this.Fly=8; } //--------------------------------------------------------- function initDefensivePlays(){ this.TotDefensePlays=6; this.DefenseCall=200; this.ShortYardage=0; this.RunDefense=1; this.ShortPass=2; this.Standard=3; this.Prevent=4; this.Blitz=5; } //--------------------------------------------------------- function storePlayNames() { this.OffensePlayName= new initStringArray(TotOffensePlays); this.OffensePlayName[QBSneak]="QB Sneak"; this.OffensePlayName[OffTackle]="Off Tackle"; this.OffensePlayName[Sweep]="Sweep"; this.OffensePlayName[Draw]="Draw"; this.OffensePlayName[Reverse]="Reverse"; this.OffensePlayName[Screen]="Screen"; this.OffensePlayName[TEPass]="Tight End Pass"; this.OffensePlayName[MedPass]="Flare"; this.OffensePlayName[Fly]="Post"; this.DefensePlayName= new initStringArray(TotDefensePlays); this.DefensePlayName[ShortYardage]="Short Yardage [8-3]"; this.DefensePlayName[RunDefense]="Run Defense [5-4-2]"; this.DefensePlayName[ShortPass]="Short Pass [4-3-4]"; this.DefensePlayName[Standard]="Standard [3-4-4]"; this.DefensePlayName[Prevent]="Prevent [3-3-5]"; this.DefensePlayName[Blitz]="Blitz"; }