Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Here is the bugfix after hours of trying to figure out what it was!!! Needed to make this standalone script under the shared HP script:

#------------
# Reset Weapon HP After Game Over
#------------
# Place below Shared HP Script.
# Recover weapon actors to full HP after Game Over happens!
# by: playerzer0
# 7/22/2026
#------------

class Scene_Gameover

  alias reset_weapon_hp_main main

  def main

    # Restore all party actors to full HP
    $game_party.actors.each do |actor|
      actor.hp = actor.maxhp
    end

    reset_weapon_hp_main

  end

end