Need Help with Yanfly Journal System Plugin for MV

Hi everyone! I am mainly needing someone with greater JS knowledge than the average user and knowledge of the following plugins:

- YEP_Quest_Journal -> http://yanfly.moe/2017/10/13/yep-152-quest-journal-system-rpg-maker-mv/
- YEP_X_MapQuestWindow -> http://yanfly.moe/2017/11/10/yep-156-map-quest-window-rpg-maker-mv/

I want to know if there is a way to check which Quest is Active with yanflys journal system. However, I'm thinking this would have to do with his MapQuestWindow Plugin extension as it is the plugin that adds the capability of setting the active quest for the map window.

All I want to do is be able to check via conditional branch exactly what ID the quest is that's active? Reason is, I have a compass system in my game that works by switches and I would like it to point you in the right direction after setting the active quest.

I did not include images because there would be just too many and this question might even need a small snippet of code of some sort to work and someone will have to have used these plugins before.

Here is the code that I see which gets the ID of the active quest. (bare with me because I could be wrong, I'm not a coder.)

Code:
Game_System.prototype.getActiveQuestId = function() {
  if (this._activeQuestId === undefined) this.initMapQuestWindowSettings();
  return this._activeQuestId;
};

I just need to find this out in a conditional branch if it equals a certain ID. Any way I can find out the ID and use it in a conditional to turn on a switch would be helpful.
Try this to see if it works:
Use the Control Variables command, and type this into the 'script' option:
Code:
$gameSystem.getActiveQuestId()

Then you can do normal conditional branches with it
that did it! Thank you ever so much! You are a life saver! 🙂
And this works in the conditonal as well like this:

$gameSystem.getActiveQuestId() == ID

ID being the correct ID your looking for.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-yanfly-journal-system-plugin-for-mv.95582/