Jump to content
New account registrations are disabed. This website is now an archive. Read more here.

Question

Everytime I try fighting a normal enemy I get this error code, yet when I tested it in a boss battle against a boss I created, I didn't get it, what's wrong?

post-28656-0-51055900-1436993294_thumb.jpg

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Yeah, I'm using Yanfly Engine Melody. It's a script I found online. But the weird thing is, I've been using it for a fewdays Ithout problems, I changed some enemies, giving me potions and suddenly I get this problem. Could it be because in battle I use characterrs I have,'t given any victory quotes yet?

Share this post


Link to post
Share on other sites
  • 0

Post the code for that script that the error is yelling about. The Game_Troop. If you made any edits make sure to tell us what the new line is for the error.

Share this post


Link to post
Share on other sites
  • 0

it's about this part of the code:

 

#--------------------------------------------------------------------------
  # * Battle Event Setup
  #--------------------------------------------------------------------------
  def setup_battle_event
    return if @interpreter.running?
    if $game_temp.common_event_id > 0
      common_event = $data_common_events[$game_temp.common_event_id]
      @interpreter.setup(common_event.list)
      $game_temp.common_event_id = 0
      return
    end
    for page in troop.pages
      next unless conditions_met?(page)
      @interpreter.setup(page.list)
      if page.span <= 1
        @event_flags

= true
      end
      return
    end
  end

Share this post


Link to post
Share on other sites
  • 0

 

it's about this part of the code:

 

#--------------------------------------------------------------------------
  # * Battle Event Setup
  #--------------------------------------------------------------------------
  def setup_battle_event
    return if @interpreter.running?
    if $game_temp.common_event_id > 0
      common_event = $data_common_events[$game_temp.common_event_id]
      @interpreter.setup(common_event.list)
      $game_temp.common_event_id = 0
      return
    end
    for page in troop.pages
      next unless conditions_met?(page)
      @interpreter.setup(page.list)
      if page.span <= 1
        @event_flags
      end
      return
    end
  end

 


= true

What part of it exactly? Because the exact line is what i need to know.

Share this post


Link to post
Share on other sites
  • 0

I was able to solve that problem, but now after test playing my game for a while, this is the new problem I have. I have no idea how to solve it.

 

  #--------------------------------------------------------------------------
  # new method: weapon1_icon
  #--------------------------------------------------------------------------
  def weapon1_icon
    return @cache_weapon_icon[1] if @cache_weapon_icon[1] != nil
    icon = 0
    icon = weapons[0].icon_index if weapons.compact.size > 0
    for state in states
      next unless state.weapon_icon > 0
      icon = state.weapon_icon
      break
    end
    @cache_weapon_icon[1] = icon
    return @cache_weapon_icon[1]
  end

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...