Quest log and maps before title(RPG Maker XP)

I want to use Mobius "Quests" log and "Maps before title" from Valdred. But they don't work together. I can't script myself so I hoped someone on this forum could help me. I think that the problem has to do with the fact that the questlog $game_variables and $game_switches needs, while "Maps before title" prevents that these things are made.

Mobius quests
link

"Maps before title" by Valdred
link
Here is more information about the problem.

When I start the game with both scripts, it gives the error: Script 'quest' line 677: NoMethodError occurred. undefined method 'data_check' for nil:NilClass

Line 677 says $game_quest.data_check(id)

On line 307 it says:
def data_check(id)
@all_quest[id].data_check

On line 124 it says:
def data_check
if Mobius::Quests::USE_SWITCHES_VARIABLES
@phase = $game_variables[@phase_variable]
@known = $game_switches[@known_switch]
@completed = $game_switches[@completed_switch]

Is it possible to solve this by creating $game_variables, and $game_switches(which "Maps before title" might prevent)? Or can I "deactivate" the questlog, and activate it once the game really starts? And how do I do this? Or do I need to do something else?
Hi there! I see you are having issues with compatibility between my script and Valdred's. So, here's the issue. My script is designed to work correctly only when you select 'New Game' or 'Load Game'. This is because it relies on a bunch of things that are created when you select one of those options. If you don't need my quest journal until after the game starts, I can take a look at making a patch for script to enable that.
The error is saying it can't find the data_check method of a nil object ($game_quest is nil at that time).

Try swapping the order of the scripts. Mobius' script aliases Scene_Title and calls the aliased method. Valdred's only calls the aliased method under certain circumstances. Put the quest script below the other one. XP is an absolute pain for making scripts compatible. The methods are so large that a lot of scripts have to duplicate a whole stack of stuff they're not touching, just to get to the couple of lines they do want to modify. It's usually a case of having to merge the functionality into a new script unique to your project.

Please remove the scripts from your post. You've already provided links, and if you open the spoilers and look at them, you'll see all the indentation is lost, making them hard to read, and because you've just pasted them and not used code blocks, some of the characters have been changed by the forum software. The only time it's appropriate to add a script to your post is if it's not available online to link to, or if you have made significant changes to it.
Thank you both for your reply. I just found out it actually works together. In the map before the title screen, I used switches. This caused the problem. Once I changed the switches to self-switches, the problem was gone.

(PS Changing the order of the scripts didn't work while there was an event on the map before the title screen)

Original thread: https://forums.rpgmakerweb.com/threads/quest-log-and-maps-before-title-rpg-maker-xp.87949/