function wea_boot_equip() /* entry=251 class_id=0x045B slot=0x0A */
{
  var
    referent, /* [BP+00h] type=0x69 */
    var, /* [BP+0Ah] type=0x69 */
    counter; /* [BP-02h] type=0x69 */

  entry:
    set_info(0x0211, *(arg_06));
    process_exclude();
    class_0A0C_slot_33(0x021B, *(arg_06));
    /* global_address global_id=0x3C */
    /* global_address global_id=0x3C */

  block_0125:
    if (Item.getFrame(arg_06) != 5) goto block_0177;

  block_0137:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    goto block_0125;

  block_0177:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    if ((global[0x001F] != 0) && (global[0x001F] < 15)) goto block_01C5;

  block_01B5:
    goto block_01D0;

  block_01C5:

  block_01D0:
    counter = 0;

  block_01D7:
    if (counter <= 4) goto block_0222;

  block_01DF:
    spawn class_0A0C_slot_32(pid, 10, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_01D7;

  block_0222:
    spawn class_045B_enterFastArea(arg_06);
    return;

}
