[Ace] McDohl's Journal Script

I have been wondering about this; after I finally found a Journal script.

Is it possible to add a switch on it? I want the journal to show on the menu screen when its switch turns on at some point on the game or when the player received/acquired the needed "item" to activate the journal.

Certainly.

Add in
Switch = 1 # change to your desired switch
to the module. Maybe line 80.

Then modify the menu command to show up when the switch is on, like this
add_command(RETCON::Journal::Name, :journal, $game_party.journal_active) if $game_switches[RETCON::Journal::Switch]
line 415
Certainly.

Add in
Switch = 1 # change to your desired switch
to the module. Maybe line 80.

Then modify the menu command to show up when the switch is on, like this
add_command(RETCON::Journal::Name, :journal, $game_party.journal_active) if $game_switches[RETCON::Journal::Switch]
line 415
Like this:
Spoiler: Images
954564744e80e9e875ce6ac294497b9f4128c423fb71a82d54fbfac2f75e2eb4033b4da1.jpg

8916173618b2cddf7e2dc0bb30687256a93587da922d55313b7edd01d1fdd7f9b6f427d0.jpg

I tried putting it in like 415 but it gave me an error so I tried putting it in line 417-418:

But it still gave me this error:
86239807ef1144207a43ff88bf0b4831d66991668a0789bbb9a62ac57b2d58c5a832d6bc.jpg

50366582c614e1e247fb3cf494b73452d59ad5bd8982dd517dae65a1d76643ecca2bb6dd.jpg

Edit: Wait. It worked now. I just added another end in line 421. The problem now is that the journal is still active or is shown even if the switch isn't on yet.

Edit: Nevermind! I got it to worked now xD I read your reply again and tried putting the if back to the same line with the add_command.

Thank you!
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/ace-mcdohls-journal-script.108161/