Hi everyone,,PLEASE help me out!
I have an in-game-variable #139 that counts the total amount of experience gained by the hero. How can I display what's stored in game_variable[139] in the Window_MenuStatus.
Here is the refresh method for Window_MenuStatus:
----------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
x = 64
y = i * 116
actor = $game_party.actors['i'] <---- this 'i' isn't in quotes,,I added quotes because html code thinks I am declaring an italics font
draw_actor_graphic(actor, x - 40, y + 80)
draw_actor_name(actor, x, y)
draw_actor_class(actor, x + 144, y)
draw_actor_level(actor, x, y + 32)
draw_actor_state(actor, x + 90, y + 32)
draw_actor_exp(actor, x, y + 64) <--- this line I want to get rid of and replace it with a line that displays the contents stored in game_variable[139] roughly at the same x, y position.
draw_actor_hp(actor, x + 236, y + 32)
draw_actor_sp(actor, x + 236, y + 64)
end
end
----------------------------------------------
Thx in advance