Dancer_A

Ignore Victory Theme

Aug 4th, 2022 (edited)
1,336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.89 KB | None | 0 0
  1. ## Disabling Victory Theme
  2. ## Personally I use this as a case by case basis, but in theory it could always just be set to true
  3. ## Scene_Map_Menus.cs ~line 1234
  4.         internal static bool ignore_victory_check()
  5.         { // you do not need the switch if you want a blanket change
  6.             string chID = Global.game_system.chapter_id;
  7.             switch (chID)
  8.             { // examples from fe6a
  9.                 case "Ch8":
  10.                 case "Ch16":
  11.                 case "Ch22":
  12.                 case "Ch25":
  13.                     return true; // the music will not change to victory theme
  14.                 default:
  15.                     return false; // by default, it will change to victory theme
  16.             }
  17.         }
  18.  
  19. ## Game_State_Map.cs ~line 1484
  20. ## add in before the enemies check
  21.             // Skitty
  22.             if (Scene_Map.ignore_victory_check())
  23.                 return false;
Advertisement
Add Comment
Please, Sign In to add comment