Local UID = _GetName(対象ユニットID,_GetIDFromArgs())
_CenteringCheck UID
Local C_X = WX(UID)
Local C_Y = WY(UID)
Local WP_FILE = _GetBmpFromArgs()
Local G_S = _GetPicSizeFromArgs()
Local X_P
Local T_COL_F = _ColorTime(_IsLight())
Local UID = _GetName(対象ユニットID,_GetIDFromArgs())
_CenteringCheck UID
Local C_X = WX(UID)
Local C_Y = WY(UID)
Local G_S = _GetPicSizeFromArgs()
Local EFFECT_FILE = _GetBmpFromArgs()
Local i
Local ANG = _GetAngle(UID)
Local X_F = _GetCircumference(ANG,X)
Local Y_F = _GetCircumference(ANG,Y)
Local W_X W_Y X_P LN
Local BMP_FILE = _GetBMPName(UID)
Local BMP_FILE2 = _GetTileName(UID)
Local DRCT = ""
Local DRCT2 = ""
Local T_COL_F = _ColorTime(_IsLight())
Local T_COL = _ColorTime()
_UnSetBattleAnimeValue
Switch _GetMotionFromArgs()
# -8, -8
Case "振り"
Set ANG 0
Set X_P (8 - (G_S \ 2))
Set W_Y (C_Y + 24 - G_S)
If (X(UID) >= _Get_X(相手ユニットID)) Then
Set W_X (C_X - G_S + 0)
Set DRCT ""
Else
Set W_X (C_X + 0)
Set DRCT 左右反転
EndIf
Local UID = _GetName(対象ユニットID,Args(8))
_CenteringCheck 相手ユニットID
Local C_X = WX(相手ユニットID)
Local C_Y = WY(相手ユニットID)
Local A_X = WX(UID)
Local A_Y = WY(UID)
Local BMP_FILE = _GetBMPName(UID)
Local BMP_FILE2 = _GetTileName(UID)
Local G_S1 = _GetName(32,Args(2))
Local G_S2 = _GetName(32,Args(4))
Local W_Y1 = (C_Y + 32 - G_S1)
Local W_Y2 = (C_Y + 32 - G_S2)
Local ANG = _GetAngle(UID)
Local X_F = _GetCircumference(ANG,X)
Local Y_F = _GetCircumference(ANG,Y)
Local i LN
Local ANG2
Local DRCT = ""
Local DRCT2 = ""
Local F_X1 F_Y1 F_X2 F_Y2 X_P W_X
Local T_COL_F = _ColorTime(_IsLight())
Local T_COL1 = _ColorTime(1)
Local T_COL = _ColorTime()
Set X_P (16 - (G_S1 \ 2))
//Set W_Y (C_Y + 32 - G_S1)
Set W_Y1 (C_Y + 24 - G_S1)
Set DRCT2 ""
If (X(UID) >= X(相手ユニットID)) Then
// Set W_X (C_X - G_S1 + 16)
Set W_X (C_X - G_S1 + 36)
Set DRCT ""
Else
// Set W_X (C_X + 16)
Set W_X (C_X - 4)
Set DRCT 左右反転
EndIf