Hey, I need a little edit on one of the scripts that I have, so that when you select the enemy it makes the window a smaller width, I have done this but it makes the help message window at the top make it do it all the time which is what I don't want, hope this explains it, got some pics to explain it a bit better, also got the script of what ive done so far!...
This is what it is like when you select the enemy
View attachment 572
But unfortunalty it happens to the skills and item
View attachment 571
This is set as a new script above main at the moment
Thank You :D
This is what it is like when you select the enemy
View attachment 572
But unfortunalty it happens to the skills and item
View attachment 571
This is set as a new script above main at the moment
Code:
class Window_Help < Window_Base
def initialize
super(0, 0, 350, 66) # 350, 64
self.contents = Bitmap.new(width - 32, height - 32) # 32, 32
end
def set_enemy(enemy)
text = enemy.name
state_text = make_battler_state_text(enemy, 112, false)
if state_text != ""
text += " " + state_text
end
text += " " + enemy.hp.to_s + "/" + enemy.maxhp.to_s
draw_slant_bar(x + 120 ,y + 27, enemy.hp, enemy.maxhp, 80, 6)
set_text(text, 1)
end
end
Thank You :D