RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Changing 'Normal' Status

Started by paxx0r, May 11, 2007, 04:33:39 PM

0 Members and 1 Guest are viewing this topic.

paxx0r

If a character has no status ailments, it says [Normal] in the menu. Is there anyway to change it to [Healthy] or something similar?

Falcon

Check the system tab, if it's anywhere it would be there.

Kokowam

If it's not, you can go through the scripts and look up "Normal" :P

SirJackRex

#3
I think I found it some where when I was tweaking stuff in the scripts.

EDIT:

Found it:

Window_Base Line 175

Quote#--------------------------------------------------------------------------
  # * Make State Text String for Drawing
  #     actor       : actor
  #     width       : draw spot width
  #     need_normal : Whether or not [normal] is needed (true / false)
  #--------------------------------------------------------------------------
  def make_battler_state_text(battler, width, need_normal)
    # Get width of brackets
    brackets_width = self.contents.text_size("[]").width
    # Make text string for state names
    text = ""
    for i in battler.states
      if $data_states.rating >= 1
        if text == ""
          text = $data_states.name
        else
          new_text = text + "/" + $data_states.name
          text_width = self.contents.text_size(new_text).width
          if text_width > width - brackets_width
            break
          end
          text = new_text
        end
      end
    end
    # If text string for state names is empty, make it [normal]
    if text == ""
      if need_normal
        text = "[Normal]"
      end
    else
      # Attach brackets
      text = "[" + text + "]"
    end
    # Return completed text string
    return text
  end

So go into Scripts and find Window_Base and then find line 175 and replace Normal with what ever.

I recomend adding [Resolved] to the topic title now.

Rukishou

Quote from: Mexneto on May 11, 2007, 08:57:28 PM
I recomend adding [Resolved] to the topic title now.

Damn! You came here before me! >_<


Rukinet. - the dot's included!