# ▽△▽ XRXSv9. BaST-VX.AB2. バトラーフェイス ▽△▽ # # publish 2010/ 4/14 # update - # #============================================================================== # カスタマイズポイント #============================================================================== module XRXSV9 # # 顔グラフィックの表示位置と縦幅 # ABOY = 80 ABHeight = 80 end #============================================================================== # アクターバトラースプライト #============================================================================== class Sprite_ActorBattler < Sprite_Battler #-------------------------------------------------------------------------- # ▼ 転送元ビットマップの更新 #-------------------------------------------------------------------------- def update_battler_bitmap update_bitmap update_jumping update_damageshake end #-------------------------------------------------------------------------- # 転送元ビットマップの更新 #-------------------------------------------------------------------------- def update_bitmap if @battler_name != @battler.face_name or @face_index != @battler.face_index bitmap = Cache.face(@battler.face_name) fw = 96 fh = XRXSV9::ABHeight fx = (@battler.face_index % 4) * 96 fy = (@battler.face_index / 4) * 96 face_rect = Rect.new(fx, fy, fw, fh) self.bitmap = Bitmap.new(fw, fh) self.bitmap.blt(0, 0, bitmap, face_rect) self.ox = fw / 2 self.oy = XRXSV9::ABOY @battler_name = @battler.face_name @face_index = @battler.face_index end end end