#include "macros/btlcmd.inc"


_000:
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_FIGHTING, _081
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_FLYING, _087
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_POISON, _093
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_GROUND, _099
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_ROCK, _105
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_BUG, _111
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_GHOST, _117
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_STEEL, _123
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_FIRE, _129
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_WATER, _135
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_GRASS, _141
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_ELECTRIC, _147
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_PSYCHIC, _153
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_ICE, _159
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_DRAGON, _165
    CheckItemHoldEffect CHECK_HAVE, BTLSCR_ATTACKER, HOLD_EFFECT_ARCEUS_DARK, _171
    GoTo _175

_081:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_FIGHTING
    GoTo _175

_087:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_FLYING
    GoTo _175

_093:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_POISON
    GoTo _175

_099:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_GROUND
    GoTo _175

_105:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_ROCK
    GoTo _175

_111:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_BUG
    GoTo _175

_117:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_GHOST
    GoTo _175

_123:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_STEEL
    GoTo _175

_129:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_FIRE
    GoTo _175

_135:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_WATER
    GoTo _175

_141:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_GRASS
    GoTo _175

_147:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_ELECTRIC
    GoTo _175

_153:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_PSYCHIC
    GoTo _175

_159:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_ICE
    GoTo _175

_165:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_DRAGON
    GoTo _175

_171:
    UpdateVar OPCODE_SET, BTLVAR_MOVE_TYPE, TYPE_DARK

_175:
    CalcCrit 
    CalcDamage 
    End 
