Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Window_ActorMenuStatus
- alias :wncrsfix_initialize :initialize unless $@
- def initialize( *args, &block )
- wncrsfix_initialize( *args, &block )
- file = STRRGSS2::WCURSOR_FN
- @strcursor = Sprite_WindowCursor.new( file, nil )
- end
- alias :wncrsfix_dispose :dispose unless $@
- def dispose( *args, &block )
- wncrsfix_dispose( *args, &block )
- @strcursor.dispose()
- end
- alias :wncrsfix_update :update unless $@
- def update( *args, &block )
- wncrsfix_update( *args, &block )
- @strcursor.x = self.x - 8
- @strcursor.y = self.y + ((self.height - @strcursor.height) / 2)
- @strcursor.z = self.z + 1
- @strcursor.visible = self.visible && self.active
- @strcursor.opacity = 255
- @strcursor.update()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment