function monster_equip() /* entry=274 class_id=0x04D0 slot=0x0A */
{
  var
    referent, /* [BP+00h] type=0x69 */
    var, /* [BP+0Ah] type=0x69 */
    monster1, /* [BP-02h] type=0x24 */
    a, /* [BP-04h] type=0x69 */
    npc, /* [BP-06h] type=0x24 */
    door, /* [BP-08h] type=0x24 */
    newNpc; /* [BP-0Ah] type=0x24 */

  set_info(0x0211, *(arg_06));
  process_exclude();
  if ((Item.getFrame(arg_06) != 0)) {
    monster1 = *(arg_06);
    set_info(0x021B, 0);
    if ((((var != 0) || (var != 1)) || (var != 2)) || (var == 3)) {
      spawn class_0A1E_slot_2D(pid, var, monster1, arg_06);
      suspend;
    }
    return;
  }
  return;
}
