[XP] no grayed out commands with Overdrive and Disable Battle Commands

i have two scripts that are like not into eachother.
which is the Easy Overdrive Script and Heretic's Disable Battle Commands Script
OK. SO... this is a little hard to explain, so im just gonna try to narrow it down as much as possible.
1605095773164.png

you see those "disable_commands" thingies?
that is from the Disable Battle Commands Script.
(Z-Moves is just what i describe Overdrive.)

look at these images.
1605096174527.png

1605096273253.png

1605096386250.png

1605096677753.png


if you didn't understand the situation...
i'm gonna make a video about it (if possible), to make it more sense.

P.S.
disabling the Overdrive Command (A.K.A. Z-Moves) DOES work.
its just doesn't show it or not grayed out.
bump...
can someone help me with this?
Update Overdrive's Window_Command#refresh method to this:
Code:
  alias refresh_eos_later refresh
  def refresh
    refresh_eos_later unless @actor
    if $fontface != nil
      self.contents.font.name = $fontface
      self.contents.font.size = $fontsize
    elsif $defaultfonttype != nil
      self.contents.font.name = $defaultfonttype
      self.contents.font.size = $defaultfontsize
    end
    if @actor != nil
      self.contents.clear
      for i in 0...@item_max
        color = actor.disabled_menu_words.include?(@commands[i]) ? disabled_color : normal_color
        draw_item(i, color)
        if i == 1 && BlizzCFG::OVERDRIVE_USERS.include?(@actor.id)
          if self.index != 1 || @commands[1] != BlizzCFG::OVERDRIVE_COMMAND_NAME
            self.contents.draw_text(4, 31, width-40, 32, '››', 2)
          elsif @commands[1] == BlizzCFG::OVERDRIVE_COMMAND_NAME
            @sliding_overdrive = true
          end
        end
      end
      if @sliding_overdrive
        self.contents.font.color = BlizzCFG::OVERDRIVE_COLOR
        if actor.disabled_menu_words.include?(BlizzCFG::OVERDRIVE_COMMAND_NAME)
          self.contents.font.color.alpha /= 2
        end
        (0...6).each do |j|
          self.contents.fill_rect(0, 32, width-32, 32, Color.new(0, 0, 0, 0))
          rect = Rect.new(164-j * 32, 32, width-40, 32)
          self.contents.draw_text(rect, @commands[1])
          Graphics.update
        end
        @sliding_overdrive = false
      end
    end
  end
and update Disable Battle Command's check_actor_window_commands to be empty, i.e.
Code:
def check_actor_window_commands
end
@KK20
i found problem
1605625716515.png

1605625772118.png
You're missing an end somewhere in Window_Command
@KK20
1605661067657.png

ok. now it works. thank you.


what about the other ones i suggested it?
- Skill Callouts
- Technical Damage
I only helped because I am a loyalist to Chaos Project, especially Blizzard.

Skill Callouts would be too much of a beast to create. I don't have any reason to create new scripts these days.
Same goes for Technical Damage; your requests require an entirely new script.
Skill Callouts would be too much of a beast to create.
what do you mean "too much of a beast to create"?
its just a support skill saying "Attack Down" or something.
what is the problem?

Original thread: https://forums.rpgmakerweb.com/threads/xp-no-grayed-out-commands-with-overdrive-and-disable-battle-commands.129780/