12-26-2005, 01:00 PM
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.
No support is given. If you are the owner of the thread, please contact administration.
its simple, just change in Window_Base this:
Code:
def make_battler_state_text(battler, width, need_normal)
# Selecionar comrpimento dos Colchetes
brackets_width = self.contents.text_size("[]").width
# Criar um string de Status para texto
text = ""
for i in battler.states
if $data_states[i].rating >= 1
if text == ""
text = $data_states[i].name
else
new_text = text + "/" + $data_states[i].name
text_width = self.contents.text_size(new_text).width
if text_width > width - brackets_width
break
end
text = new_text
end
end
end
# Caso esteja vazio o string de texto, tornar isto Normal
if text == ""
if need_normal
text = "[Normal]"
end
else
# Anexar Colchetes
text = "[" + text + "]"
end
# Retornar string de texto
return text
end
to this:
Code:
def make_battler_state_text(battler, width, need_normal)
# Selecionar comrpimento dos Colchetes
brackets_width = self.contents.text_size("[]").width
# Criar um string de Status para texto
text = ""
textsize = 0
for i in battler.states
if $data_states[i].rating >= 1
if textsize < 1
text += $data_states[i].name
textsize += 1
else
text += "," + $data_states[i].name
textsize += 1
end
end
end
# Caso esteja vazio o string de texto, tornar isto Normal
if text == ""
if need_normal
text = "[Normal]"
end
else
# Anexar Colchetes
text = "[" + text + "]"
end
# Retornar string de texto
return text
end