Browse Source

Merge pull request #3 from fernjager/dialogueChanges

Fix Score Screen bugs and inbalences
pull/4/head
Robert Chen 11 years ago
parent
commit
1bc0788752
  1. 2
      js/screens.js
  2. 2
      js/ui.js

2
js/screens.js

@ -552,7 +552,7 @@ function ScoreScreen( stage, gameState ){ @@ -552,7 +552,7 @@ function ScoreScreen( stage, gameState ){
outerConditionText.x = 310;
outerConditionText.y = 320;
var coreConditionText = new createjs.Text( coreScoreChart[ turkeyState.skin.cond[2] ], "20px Arial", "black" );
var coreConditionText = new createjs.Text( coreScoreChart[ turkeyState.core.cond[2] ], "20px Arial", "black" );
coreConditionText.x = 310;
coreConditionText.y = 340;

2
js/ui.js

@ -959,7 +959,7 @@ function MarketItem( gameState, name, x, y, cost, mouseOutImg, mouseOverImg, mou @@ -959,7 +959,7 @@ function MarketItem( gameState, name, x, y, cost, mouseOutImg, mouseOverImg, mou
// if we bought a clock, enable it!
if( that.name.indexOf("Alarm") != -1 ) gameState.alarmBought = true;
if( that.name.indexOf("Frills") != -1 ) gameState.frillsModifier = 5;
if( that.name.indexOf("Frills") != -1 ) gameState.frillsModifier = 1.05;
if( that.name.indexOf("Exquisite") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.08 ? gameState.stuffingTypeModifier : 1.08; }
if( that.name.indexOf("Special") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.17 ? gameState.stuffingTypeModifier : 1.17; }

Loading…
Cancel
Save