I was getting a bug where once the player had been killed, while still inside the application, starting a new game insta killed the player.
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