[Ace] Prexus Shadows Incompatibility issue

● ARCHIVED · READ-ONLY
Started by tvghost 4 posts View original ↗
  1. Looks like the balloon script's update needed to be alias'd not super'd
    Code:
      alias r2_update_b4kcs   update
      def update
        r2_update_b4kcs
    #~    super
    That's because both of those scripts are using Sprite_Character

    Sixth is the best.
    I forgot that it is it's own class that has the parent of Sprite_Character.
  2. Yeah, the balloon script uses Sprite_Character for the balloon display unnecessarily, which causes those shadows for the balloons to appear.
    This snippet should prevent that from happening:
    Spoiler
    Code:
    class Sprite_Remind < Sprite_Character
    
      def update_shadow
        # Removed...
      end
    
    end
    Not tested, of course. :p

    @Roninator2
    The super call is correct there actually, since that method is not defined directly in Sprite_Remind class. In these cases super should be used instead of alias.
    Using Sprite_Character as the parent class is still unnecessary, lots of useless update methods will run for it, but still, super is the correct way there.
  3. Sixth said:
    Yeah, the balloon script uses Sprite_Character for the balloon display unnecessarily, which causes those shadows for the balloons to appear.
    This snippet should prevent that from happening:
    Spoiler
    Code:
    class Sprite_Remind < Sprite_Character
    
      def update_shadow
        # Removed...
      end
    
    end
    Not tested, of course. :p

    @Roninator2
    The super call is correct there actually, since that method is not defined directly in Sprite_Remind class. In these cases super should be used instead of alias.
    Using Sprite_Character as the parent class is still unnecessary, lots of useless update methods will run for it, but still, super is the correct way there.
    Works perfectly, yeah. The farthest I had gotten to fixing the issue originally was removing the shadow once a balloon popped up, but this fixes the issue. Thank you to you both :)