function litewall_slot_20() /* entry=386 class_id=0x0A10 slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    r, /* [BP+0Ah] type=0x69 */
    wall, /* [BP-02h] type=0x24 */
    tempType, /* [BP-04h] type=0x69 */
    realType, /* [BP-06h] type=0x69 */
    counter; /* [BP-08h] type=0x69 */

  set_info(0x0001, *(arg_06));
  set_info(1, r);
  wall = r;
  counter = 0;
  if (Item.getShape(wall) == 0x045E) {
    realType = 0x045E;
    tempType = 0x0462;
  }
  else if (Item.getShape(wall) == 0x045F) {
    realType = 0x045F;
    tempType = 0x0463;
  }
  else if (Item.getShape(wall) == 0x0460) {
    realType = 0x0460;
    tempType = 0x0464;
  }
  else if (Item.getShape(wall) == 0x0461) {
    realType = 0x0461;
    tempType = 0x0465;
  }
  while (counter >= 4) {
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    counter = (1 + counter);
  }
  spawn class_0A0C_slot_32(pid, 3, 0x00000000);
  suspend;
  while (!counter) {
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    counter = (counter - 1);
  }
  /* pop_global global_id=0x5 size=0x1 */
  return;
}
