TheoAllen

TSBS position dummy patch

Aug 19th, 2014
552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.21 KB | None | 0 0
  1. class Game_Actor
  2.   def clear_tsbs
  3.     super
  4.     @ori_x = 0
  5.     @ori_y = 0
  6.   end
  7.  
  8.   def original_x
  9.     ActorPos[index][0] || 0 rescue 0
  10.   end
  11.  
  12.   def original_y
  13.     ActorPos[index][1] || 0 rescue 0
  14.   end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment