public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

VXACERegen/Degen Battle Log

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Regen/Degen Battle Log
  • Original author: ovate
  • Original date: November 17, 2019
  • Source thread: https://forums.rpgmakerweb.com/threads/regen-degen-battle-log.115350/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS3 Scripts (RMVX Ace)

Summary

Regen Battle Log 2019/03/09 Creator name: Ru/むっくRu (Rutan)​ Introduction Possible to see Regeneration/Degeneration message in the battlelog.

Archived First Post

Regen Battle Log 2019/03/09

Creator name: Ru/むっくRu (Rutan)​

Introduction
Possible to see Regeneration/Degeneration message in the battlelog.

Note: This script is based on futokoro's DisplayRegenerateMessage.js to VX Ace

Features
Displays amount of HP / MP / TP in the battle log at the end of the turn

Screen
kfNCmMi.png


Also works for poison status.

How to Use
Paste this script above Main.

Script link
https://raw.githubusercontent.com/ovate/torigoya-rgss3/main/torigoya_RegenLog.rb

Code:
# encoding: utf-8
#===============================================================================
# ■ Regeneration in battle log
#-------------------------------------------------------------------------------
# 2019/03/09 Ruたん
# License - Public Domain, allows commercial use and credit is not necessary
#-------------------------------------------------------------------------------
# Conversion of futokoro's FTKR_DisplayRegenerateMessage.js to VX Ace
# https://github.com/futokoro/RPGMaker/blob/master/FTKR_DisplayRegenerateMessage.ja.md
#-------------------------------------------------------------------------------
# Displays amount of HP / MP / TP in the battle log at the end of the turn
#-------------------------------------------------------------------------------
# 【Changelog】
# 2019/03/09 Released
#-------------------------------------------------------------------------------

#===============================================================================
# ● Setting
#===============================================================================
module Torigoya
  module DisplayRegenerateMessage
    module Template
      HP_MESSAGE = {
        # ● Message when HP recovers
        #    %1 … Target's name
        #    %2 … Status name
        #    %3 … Increased amount
        gain: '%1 recovered %3 %2!',

        # ● Message when HP decreases
        #    %1 … Target's name
        #    %2 … Status name
        #    %3 … Increased amount
        lose: '%1 lost %3 %2!',
      }

      MP_MESSAGE = {
        # ● Message when MP recovers
        #    %1 … Target's name
        #    %2 … Status name
        #    %3 … Increased amount
        gain: '%1 recovered %3 %2!',

        # ● Message when MP decreases
        #    %1 … Target's name
        #    %2 … Status name
        #    %3 … Increased amount
        lose: '%1 lost %3 %2!',
      }

      TP_MESSAGE = {
        # ● Message when TP recovers
        #    %1 … Target's name
        #    %2 … Status name
        #    %3 … Increased amount
        gain: '%1 recovered %3 %2!',

        # ● Message when TP decreases
        #    %1 … Target's name
        #    %2 … Status name
        #    %3 … Increased amount
        lose: '%1 lost %3 %2!',
      }
    end
  end
end

#===============================================================================
# ↑   Setting   ↑
# ↓ Script part ↓
#===============================================================================

module Torigoya
  module DisplayRegenerateMessage
    class << self
      def in_turn_end_process?
        !!@in_turn_end_process
      end

      def turn_end_process(&block)
        @in_turn_end_process = true
        block.call
        @in_turn_end_process = false
      end

      def generate_message(type, name, value)
        template, status =
          case type
          when :hp
            [Template::HP_MESSAGE, Vocab.hp]
          when :mp
            [Template::MP_MESSAGE, Vocab.mp]
          when :tp
            [Template::TP_MESSAGE, Vocab.tp]
          else
            raise 'must not happen'
          end
        template[value > 0 ? :lose : :gain].gsub('%1', name).gsub('%2', status).gsub('%3', value.abs.to_s)
      end
    end
  end
end

class Window_BattleLog < Window_Selectable
  #--------------------------------------------------------------------------
  # ● Automatic status display (alias)
  #--------------------------------------------------------------------------
  alias torigoya_display_regenerate_message_display_auto_affected_status display_auto_affected_status
  def display_auto_affected_status(target)
    display_regenerate_message(target) if Torigoya::DisplayRegenerateMessage.in_turn_end_process?
    torigoya_display_regenerate_message_display_auto_affected_status(target)
  end
  #--------------------------------------------------------------------------
  # ● Display recovery message
  #--------------------------------------------------------------------------
  def display_regenerate_message(target)
    [:hp_damage, :mp_damage, :tp_damage].each do |name|
      next if target.result.public_send(name) == 0
      add_text(Torigoya::DisplayRegenerateMessage.generate_message(:hp, target.name, target.result.public_send(name)))
      wait
    end
  end
end

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # ● End of turn (alias)
  #--------------------------------------------------------------------------
  alias torigoya_display_regenerate_message_turn_end turn_end
  def turn_end
    Torigoya::DisplayRegenerateMessage.turn_end_process do
      torigoya_display_regenerate_message_turn_end
    end
  end
end

Credit and Thanks
- Original Author: futokoro
- Conversion: Rutan

License - Public Domain | MIT License: http://opensource.org/licenses/mit-license.php

Source
https://github.com/rutan/torigoya_rpg_maker_vxace_rgss3

Features Mentioned

  • Displays amount of HP / MP / TP in the battle log at the end of the turn
  • Screen
  • "lightbox_close": "Close",
  • "lightbox_next": "Next",
  • "lightbox_previous": "Previous",
  • "lightbox_error": "The requested content cannot be loaded. Please try again later.",
  • "lightbox_start_slideshow": "Start slideshow",
  • "lightbox_stop_slideshow": "Stop slideshow",
  • "lightbox_full_screen": "Full screen",
  • "lightbox_thumbnails": "Thumbnails",
  • "lightbox_download": "Download",
  • "lightbox_share": "Share",
  • "lightbox_zoom": "Zoom",
  • "lightbox_new_window": "New window",
  • "lightbox_toggle_sidebar": "Toggle sidebar"
  • Also works for poison status.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

# License - Public Domain, allows commercial use and credit is not necessary #------------------------------------------------------------------------------- # Conversion of futokoro's FTKR_DisplayRegenerateMessage.js to VX Ace # https://github.com/futokoro/RPGMaker/blob/master/FTKR_DisplayRegenerateMessage.ja.md

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rgss3#script-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar