Advertisement
Archeia

Victory Aftermath Fix by Yami

Mar 30th, 2014
905
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.80 KB | None | 0 0
  1. class Window_VictoryLevelUp < Window_Base
  2.   def draw_former_stats(actor)
  3.     dw = contents.width / 2 - 12
  4.     dy = 0
  5.     change_color(normal_color)
  6.     draw_text(0, dy, dw, line_height, actor.level.group, 2)
  7.     for i in 0...8
  8.       dy += line_height
  9.       draw_text(0, dy, dw, line_height, actor.param_base(i).group, 2)
  10.     end
  11.   end
  12.   def draw_newer_stats(actor, temp_actor)
  13.     dx = contents.width / 2 + 12
  14.     dw = contents.width - dx
  15.     dy = 0
  16.     change_color(param_change_color(actor.level - temp_actor.level))
  17.     draw_text(dx, dy, dw, line_height, actor.level.group, 0)
  18.     for i in 0...8
  19.       dy += line_height
  20.       change_color(param_change_color(actor.param_base(i) - temp_actor.param_base(i)))
  21.       draw_text(dx, dy, dw, line_height, actor.param_base(i).group, 0)
  22.     end
  23.   end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement