Stardew_Valley_Mods/new 1.txt

38 lines
1.3 KiB
Plaintext

this.mostRecentBed = Utility.PointToVector2((this.currentLocation as FarmHouse).getBedSpot()) * (float)Game1.tileSize;
Game1.player.position = Utility.PointToVector2(Utility.getHomeOfFarmer(Game1.player).getBedSpot()) * (float)Game1.tileSize;
else if (Game1.farmEvent != null && Game1.farmEvent.tickUpdate(gameTime))
{
Game1.farmEvent.makeChangesToLocation();
Game1.timeOfDay = 600;
Game1.UpdateOther(gameTime);
Game1.displayHUD = true;
Game1.farmEvent = null;
Game1.currentLocation = Game1.getLocationFromName("FarmHouse");
Game1.player.position = Utility.PointToVector2(Utility.getHomeOfFarmer(Game1.player).getBedSpot()) * (float)Game1.tileSize;
Farmer expr_9F3_cp_0_cp_0 = Game1.player;
expr_9F3_cp_0_cp_0.position.X = expr_9F3_cp_0_cp_0.position.X - (float)Game1.tileSize;
Game1.changeMusicTrack("none");
Game1.currentLocation.resetForPlayerEntry();
Game1.player.forceCanMove();
Game1.freezeControls = false;
Game1.displayFarmer = true;
Game1.outdoorLight = Color.White;
Game1.viewportFreeze = false;
Game1.fadeToBlackAlpha = 0f;
Game1.fadeToBlack = false;
Game1.globalFadeToClear(null, 0.02f);
Game1.player.mailForTomorrow.Clear();
Game1.showEndOfNightStuff();
}
public static void newDayAfterFade()