MOG Battle Result - Learned Skills Tweak

Hello! 👋

I was hoping someone could help me a small change to MOG's Battle Result script.

By defult, when you level up and learn skills, it will cycle through all the new skills you've just learned. The issue I'm running into through is that I actually give characters a bunch of skills upon level up, but only access to certain skills, based on their class.

What I'm hoping is to tweak the script to instead of going through all the unlocked skills, to instead just say "New Skills Learned" once (as opposed to giving the message for each individual skill).

I hope this makes sense. By all means, let me know if you have any questions.

Thank you!
Should be either line 827 or 922 with 924 commented out.
Not sure which one will stop the skill message.
First change 922 to say "New Skills Learned"
and comment out 924.
If that doesn't work change line 827 to draw_text instead of calling the show_new_skill
Thanks for the quick reply!

I tried out your suggestions. Changing lines 922 and 924 worked great for removing the skill name. The only thing now is that if I learn 10 skills at a level up, it gives me the message 10 times.

I tried the line 827 change, but got a crash.
Code:
MOG_Battle_Result:827:in `create_new_skill_window': undefined local variable or method `draw_text' for #<Battle_Result:0xaec539c>, NameError

Alternatively, if there was a way to have the script skip any skills that have a notetag in the class' level up moves slot, that would work great too.
got a crash.
Yea the command draw_text was not the whole thing, just the beginning of it. I was leaving that for you to put in.
I'll look more into it.

*EDIT
So put the show_new_skill back at line 827

On line 761 you see this
Code:
      if @new_skills_index == @new_skills.size or
         @new_skills[@new_skills_index] == nil
         @new_skills = nil
      end
You can modify this or add on a new condition if you like.
Code:
      if @new_skills_index == @new_skills.size or
         @new_skills[@new_skills_index] == nil or 
         @new_skills_index >= 1
         @new_skills = nil
      end
or add on after that if statement
Code:
      if @new_skills_index >= 1 
         @new_skills = nil
      end
Awesome, seems to be working great!

Thank you very much! 🙏
I also need help!

In the Victory Phase (When the Victory Image is showing) i just want a Fade in/ Fade out effect without the zooming effect. Can someone help me?
@Rpg Gear Moderator note: Please do not hijack someone else's thread with a question of your own, plus this is a Necropost and you already have a thread with this query. Please read the Forum Rules which you can find here.

As the OP's query was resolved, I am closing this.

Original thread: https://forums.rpgmakerweb.com/threads/mog-battle-result-learned-skills-tweak.107066/