Bush Transparency Help

Hello! I feel like this is a simple fix, but I'm not good with scripting. I essentially want the functionality of both of these two scripts.

class Game_CharacterBasedef update_bush_depth if normal_priority? && !object_character? && bush? && !jumping? @opacity = 80 unless moving? else @opacity = 255 end endend
Code:
class Game_CharacterBase  # OVERWRITE  def update_bush_depth    if normal_priority? && !object_character? && bush? && !jumping?      @bush_depth = 8 unless moving?    else      @bush_depth = 0    end  endend
I've tried putting both in, mixing them together, all kinds of things, but I can't seem to get it to work. The result I'm looking for is the character being partially covered by a bush, preferably a bit more than default, with the bit of the bush that's covering the character being completely opaque.

If someone could figure out how to combine these scripts, or if there's an easier solution, I would be very grateful!
Just put the changes to both properties inside one of the If statements.

    if normal_priority? && !object_character? && bush? && !jumping?

      if not moving?
        @opacity = 80

        @bush_depth = 8

      end
    else
      @opacity = 255

      @bush_depth = 0
    end
 

I rearranged it just slightly for efficiency, but the results would be the same as putting "unless moving?" behind both property changes.

What happens is that you have an overwriting definition and can only use one.

def some_method

  return "foo"

end

def some_method

  return "bar"

end

When the method is replaced, the original stuff is destroyed.  Remove one of the two definitions and make your changes inside the method that still exists.  The above example will never ever return "foo" because that method is completely gone.
I tried that, and unfortunately it's still only giving me the option to make my entire character more or less transparent, or, make my character have the default transparency at different heights.
The one changing the opacity modifies the total transparency of the whole sprite... while bush depth determines which part should be transparent when in the bush. The first script doesn't take into account bush depth, so they won't work together.

In essence, you'd only want the one that modifies the bush depth, and modify the transparency on the part which actually handles bush transparency which is somewhere else (not sure where as I don't have Ace here). 
Yeah, okay. That makes sense. I'll dig around for the bush transparency then. Thanks guys!

Original thread: https://forums.rpgmakerweb.com/threads/bush-transparency-help.35911/