Combining Character Shadows and Pet Followers

Hello there! 🙂

I'm working on a game, and in that game I have a character that is a "Non-Combat" party member. In order to ensure that he's Non-Combat, and that the player can't equip items and see his status, etc.,

I've added him to the party using Neon Black's Pet Follower Script. That way, he still is visable on the map, but can't be accessed in combat or in the menu!

However, I am also using prexus' Character Shadow script! These shadows really add alot to the game, visually speaking. Unfortunately, it seems the "pet" made by Neon Black's script doesn't have a shadow 

underneath. I tried looking at the scripts and taking a crack at it, but sadly my programming knowledge is limited to very basic java (but I'm learning! 😀 ). I would really appreciate it if anyone could make a script to make these two compatible? I'll provide links below. I hope this isn't too hard of a request (I don't think it should be) but of course I'm still very inexperienced when it comes to programming so I could definitely be wrong. Thanks soooo much!

Character Shadows:

http://forums.rpgmakerweb.com/index.php?/topic/1174-prx-ace-character-shadows/

Pet Follower:

http://forums.rpgmakerweb.com/index.php?/topic/2635-pet-follower-script/
Bump  BD
Bump!  🙂
This should do the trick!
Just put it right below the other two scripts. Just let me know if you have any issues!

Code:
 class Sprite_Character < Sprite_Base  #--------------------------------------------------------------------------  # * update_shadow : validate, draw if necessary, adjust position, destroy  #--------------------------------------------------------------------------  def update_shadow    is_pet =  @character.is_a?(Game_Follower) &&  @character.pet?    is_pet =  is_pet && $game_player.followers.pet_name != ""     if @character.shadow and [email protected]      if @character.is_a?(Game_Follower) and [email protected]? and !is_pet        dispose_shadow if @shadow_sprite        return      end      start_shadow unless @shadow_sprite      @shadow_sprite.x = x      @shadow_sprite.y = y - @shadow_sprite.height      @shadow_sprite.z = z - 1    else      dispose_shadow if @shadow_sprite    end  end  end 
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/combining-character-shadows-and-pet-followers.39189/