Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
update credits and final words
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed Jul 31, 2023
1 parent 659f922 commit e0fe741
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 80 deletions.
19 changes: 16 additions & 3 deletions RogueLegacy/EnemyObj_LastBoss.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RogueLegacyRandomizer - EnemyObj_LastBoss.cs
// Last Modified 2023-07-30 1:29 PM by
// Last Modified 2023-07-30 7:21 PM by
//
// This project is based on the modified disassembly of Rogue Legacy's engine, with permission to do so by its
// original creators. Therefore, the former creators' copyright notice applies to the original disassembly.
Expand Down Expand Up @@ -1645,10 +1645,23 @@ public void Part3()

var finalWords = DialogueManager.GetText("FinalBossTalk03");
finalWords.Dialogue = finalWords.Dialogue.Take(finalWords.Dialogue.Length - 2)
.Append("I have one last thing to say...")
.Append(Game.FinalWords)
.Append("I only have one last thing to say...")
.Append(Game.FinalWords.Item2)
.ToArray();

if (string.IsNullOrEmpty(Game.FinalWords.Item1))
{
finalWords.Speakers = finalWords.Speakers.Take(finalWords.Dialogue.Length - 1)
.Append($"The Fountain of Youth (by Anonymous)")
.ToArray();
}
else
{
finalWords.Speakers = finalWords.Speakers.Take(finalWords.Dialogue.Length - 1)
.Append($"The Fountain of Youth (by {Game.FinalWords.Item1})")
.ToArray();
}

rCScreenManager.DialogueScreen.SetDialogue("FinalBossTalk03");
rCScreenManager.DialogueScreen.SetConfirmEndHandler(this, "Part4");
rCScreenManager.DisplayScreen(13, true);
Expand Down
74 changes: 37 additions & 37 deletions RogueLegacy/Game.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// RogueLegacyRandomizer - Game.cs
// Last Modified 2023-07-30 6:58 PM by
//
// Last Modified 2023-07-30 7:19 PM by
//
// This project is based on the modified disassembly of Rogue Legacy's engine, with permission to do so by its
// original creators. Therefore, the former creators' copyright notice applies to the original disassembly.
//
//
// Original Source - © 2011-2018, Cellar Door Games Inc.
// Rogue Legacy™ is a trademark or registered trademark of Cellar Door Games Inc. All Rights Reserved.

Expand Down Expand Up @@ -82,40 +82,40 @@ public Game()
SleepUtil.DisableScreensaver();
}

public static Cue LineageSongCue { get; set; }
public static RCScreenManager ScreenManager { get; set; }
public static Effect BWMaskEffect { get; set; }
public static Effect ColourSwapShader { get; set; }
public static Effect HSVEffect { get; set; }
public static Effect InvertShader { get; set; }
public static Effect MaskEffect { get; set; }
public static Effect ParallaxEffect { get; set; }
public static Effect RippleEffect { get; set; }
public static Effect ShadowEffect { get; set; }
public static EquipmentSystem EquipmentSystem { get; set; }
public static GaussianBlur GaussianBlur { get; set; }
public static PlayerStats PlayerStats { get; set; }
public static bool Retired { get; set; }
public static InputMap GlobalInput { get; set; }
public static List<string> NameArray { get; set; }
public static List<string> FemaleNameArray { get; set; }
public static SpriteFont PixelArtFont { get; set; }
public static SpriteFont PixelArtFontBold { get; set; }
public static SpriteFont JunicodeFont { get; set; }
public static SpriteFont EnemyLevelFont { get; set; }
public static SpriteFont PlayerLevelFont { get; set; }
public static SpriteFont GoldFont { get; set; }
public static SpriteFont HerzogFont { get; set; }
public static SpriteFont JunicodeLargeFont { get; set; }
public static SpriteFont CinzelFont { get; set; }
public static SpriteFont BitFont { get; set; }
public static Texture2D GenericTexture { get; set; }
public static float PlaySessionLength { get; set; }
public static float TotalGameTimeSeconds { get; set; }
public static float TotalGameTimeHours { get; set; }
public static string ProfileName { get; set; }
public Queue<NetworkItem> NextChildItemQueue { get; set; }
public static string FinalWords { get; private set; }
public static Cue LineageSongCue { get; set; }
public static RCScreenManager ScreenManager { get; set; }
public static Effect BWMaskEffect { get; set; }
public static Effect ColourSwapShader { get; set; }
public static Effect HSVEffect { get; set; }
public static Effect InvertShader { get; set; }
public static Effect MaskEffect { get; set; }
public static Effect ParallaxEffect { get; set; }
public static Effect RippleEffect { get; set; }
public static Effect ShadowEffect { get; set; }
public static EquipmentSystem EquipmentSystem { get; set; }
public static GaussianBlur GaussianBlur { get; set; }
public static PlayerStats PlayerStats { get; set; }
public static bool Retired { get; set; }
public static InputMap GlobalInput { get; set; }
public static List<string> NameArray { get; set; }
public static List<string> FemaleNameArray { get; set; }
public static SpriteFont PixelArtFont { get; set; }
public static SpriteFont PixelArtFontBold { get; set; }
public static SpriteFont JunicodeFont { get; set; }
public static SpriteFont EnemyLevelFont { get; set; }
public static SpriteFont PlayerLevelFont { get; set; }
public static SpriteFont GoldFont { get; set; }
public static SpriteFont HerzogFont { get; set; }
public static SpriteFont JunicodeLargeFont { get; set; }
public static SpriteFont CinzelFont { get; set; }
public static SpriteFont BitFont { get; set; }
public static Texture2D GenericTexture { get; set; }
public static float PlaySessionLength { get; set; }
public static float TotalGameTimeSeconds { get; set; }
public static float TotalGameTimeHours { get; set; }
public static string ProfileName { get; set; }
public Queue<NetworkItem> NextChildItemQueue { get; set; }
public static Tuple<string, string> FinalWords { get; private set; }

public GraphicsDeviceManager GraphicsDeviceManager { get; }
public PhysicsManager PhysicsManager { get; }
Expand Down
85 changes: 49 additions & 36 deletions RogueLegacy/GameEV.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// RogueLegacyRandomizer - GameEV.cs
// Last Modified 2023-07-30 1:27 PM by
//
// Last Modified 2023-07-30 7:18 PM by
//
// This project is based on the modified disassembly of Rogue Legacy's engine, with permission to do so by its
// original creators. Therefore, the former creators' copyright notice applies to the original disassembly.
//
//
// Original Source - © 2011-2018, Cellar Door Games Inc.
// Rogue Legacy™ is a trademark or registered trademark of Cellar Door Games Inc. All Rights Reserved.

using System;
using DS2DEngine;
using RogueLegacy.Enums;
using static RogueLegacy.Enums.InputType;
Expand Down Expand Up @@ -90,40 +91,52 @@ internal class GameEV
public static int[] GOLDCHEST_ITEMDROP_CHANCE;
public static int[] STATDROP_CHANCE;

public static string[] FinalWords = new[]
public static Tuple<string, string>[] FinalWords = new[]
{
"Bury me with my money.",
"See how easy it is with DeathLink on?",
"Is that really the fastest it takes you to beat me?",
"See you in Rogue Legacy 2.",
"Don't... eat... the... gazpacho...",
"They came from... behind...",
"I'll be back...",
"Did I leave my oven on?",
"Have you played any of the other games in Archipelago?",
"Delete my \"homework\" folder.",
"Skill issue...",
"Ha! No way I'm dying!",
"This was a triumph. I'm making a note here: Huge success.",
"You think you've won? Time for Phase 3! Wait, where's my Phase 3? Curse you, Cellar Door Games!",
"Next time I'm hiding the key in a fairy chest...",
"I blame Phar for my defeat.",
"That wasn't very poggers of you.",
"Gah, I'm defeated! ...I sure hope no one is streaming this!",
"I just remembered... I've still got that library book!",
"The sun... I had forgotten how much it BURRRNS!!! AAAAAHHH!",
"Could you do me one favor, though? Feed my pets while I'm gone.",
"By all known laws of aviation, there's no way a bee should be able to fly...",
"Meow meow meow meow meow meow meow meow meow meow meow... Meow.",
"I'm about to do what's called a, \"Pro Gamer move.\"",
"ERROR reading from FinalWords[], index -1 out of range. Stack trace follows: ...Just kidding!",
"The sun... is about 25% helium. That's why it doesn't fall down.",
"I guess this is the end of my Rogue Legacy...",
"Did you find the Silver Arrows in The Maya?",
"My disappointment is immeasurable, and my day is ruined.",
"My only regret is I have boneitis.",
"Please take care of my pet rock Bocchi.",
"This armor's getting heavy... Where's the zipper on this thing?",
new Tuple<string, string>("", "Bury me with my money."),
new Tuple<string, string>("Hopop", "See how easy it is with Deathlink on?"),
new Tuple<string, string>("Hopop", "Is that really the fastest it takes you to beat me?"),
new Tuple<string, string>("Hopop", "See you in Rouge Legacy 2."),
new Tuple<string, string>("Hopop", "When was the last time you played vanilla?"),
new Tuple<string, string>("", "Don't... eat... the... gazpacho..."),
new Tuple<string, string>("", "They came from... behind..."),
new Tuple<string, string>("", "I'll be back..."),
new Tuple<string, string>("Hopop", "Did I leave my oven on?"),
new Tuple<string, string>("Hopop", "Have you played other games with Archipelago?"),
new Tuple<string, string>("Adrem", "Im sorry but your princess is in another world."),
new Tuple<string, string>("", "Skill issue..."),
new Tuple<string, string>("Mav", "Delete my \"homework\" folder..."),
new Tuple<string, string>("Mav", "What does this button do...?"),
new Tuple<string, string>("Mav", "Ha! No way I'm dying!"),
new Tuple<string, string>("", "I knew I shouldn't of eaten taco bell for dinner."),
new Tuple<string, string>("", "This was a triumph. I'm making a note here: Huge Success."),
new Tuple<string, string>("", "You think you've won? Time for Phase 3! Wait, where's my Phase 3? Curse you, Phar!"),
new Tuple<string, string>("", "Next time I'm hiding the key in a fairy chest..."),
new Tuple<string, string>("Blank/Owl", "I blame Phar for my defeat."),
new Tuple<string, string>("Blank/Owl", "Now you will never enjoy vanilla Rogue Legacy again. So in the end, I win."),
new Tuple<string, string>("MrPokemon11", "That wasn't very \"poggers\" of you,"),
new Tuple<string, string>("MrPokemon11", "My heart will go on..."),
new Tuple<string, string>("StevenRoy", "Gah, I'm defeated! I sure hope no one is streaming this!"),
new Tuple<string, string>("StevenRoy", "Uhh... Umm... Line?"),
new Tuple<string, string>("", "Aba-aba-aba-aba- That's all folks!"),
new Tuple<string, string>("StevenRoy", "The sun... I had forgotten how much it BURRRNS!!! AAAAAHHH!"),
new Tuple<string, string>("", "By all known laws of aviation, there's no way a bee should be able to fly..."),
new Tuple<string, string>("StevenRoy", "The sun... is round."),
new Tuple<string, string>("StevenRoy", "Meow meow meow meow meow meow meow meow meow meow meow... Meow."),
new Tuple<string, string>("", "I'm about to do what's called a \"Pro Gamer move.\""),
new Tuple<string, string>("StevenRoy", "ERROR reading from randomdeathquotelist[], index -1 out of range. Stack trace follows: ...Just kidding!"),
new Tuple<string, string>("Scipio", "I guess this is the end of my Rogue Legacy..."),
new Tuple<string, string>("Mav", "This isn't perma-death right?"),
new Tuple<string, string>("AGDBisnotfunny", "You should have gotten into Pharcoin."),
new Tuple<string, string>("Pory", "Sayonara, Sir Lee the Hedgehog."),
new Tuple<string, string>("Niles Sebek", "My only regret is I have boneitis."),
new Tuple<string, string>("StevenRoy", "This armor's getting heavy... Where's the zipper on this thing?"),
new Tuple<string, string>("StevenRoy", "Wanna see some pictures of my cats?"),
new Tuple<string, string>("", "Please take care of my pet rock Bocchi."),
new Tuple<string, string>("Silver", "My disappointment is immeasurable, and my day is ruined."),
new Tuple<string, string>("Phar", "Phar stop breaking things."),
new Tuple<string, string>("Phar", "The worst part of orange juice with pulp, is the orange juice."),
new Tuple<string, string>("Phar", "Don't forget to like, comment, and subscribe."),
};

public static string[] TutorialDownStrikeHint => new[]
Expand Down
8 changes: 4 additions & 4 deletions RogueLegacy/Screens/GameOverBossScreen.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// RogueLegacyRandomizer - GameOverBossScreen.cs
// Last Modified 2023-07-30 1:29 PM by
//
// Last Modified 2023-07-30 7:19 PM by
//
// This project is based on the modified disassembly of Rogue Legacy's engine, with permission to do so by its
// original creators. Therefore, the former creators' copyright notice applies to the original disassembly.
//
//
// Original Source - © 2011-2018, Cellar Door Games Inc.
// Rogue Legacy™ is a trademark or registered trademark of Cellar Door Games Inc. All Rights Reserved.

Expand Down Expand Up @@ -137,7 +137,7 @@ public override void OnEnter()
Tween.To(Camera, 1f, Quad.EaseInOut, "X", _lastBoss.AbsX.ToString(), "Y",
(_lastBoss.Bounds.Bottom - 10).ToString());
Tween.RunFunction(2f, _lastBoss, "PlayAnimation", false);
(_dialoguePlate.GetChildAt(2) as TextObj).Text = Game.FinalWords;
(_dialoguePlate.GetChildAt(2) as TextObj).Text = Game.FinalWords.Item2;
(_dialoguePlate.GetChildAt(3) as TextObj).Text = "-" + _lastBoss.Name + "'s Parting Words";
Tween.To(_dialoguePlate, 0.5f, Tween.EaseNone, "delay", "2", "Opacity", "1");
Tween.RunFunction(4f, this, "DropStats");
Expand Down

0 comments on commit e0fe741

Please sign in to comment.