function flamebox_slot_20() /* entry=229 class_id=0x0403 slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    flame, /* [BP+0Ah] type=0x24 */
    direction, /* [BP+0Ch] type=0x69 */
    count, /* [BP-02h] type=0x69 */
    flame2; /* [BP-04h] type=0x24 */

  set_info(0x00F0, *(arg_06));
  if (!getAnimationsDisabled()) {
    while ((Item.getFrame(flame) == 5) && (Item.isOnScreen(flame) != 1)) {
      spawn class_0A0C_slot_32(pid, 2, 0x00000000);
      suspend;
    }
  }
  class_0A1E_slot_23(4, flame);
  spawn class_0A0B_slot_20(flame);
  if (direction == 0) {
    if (!getAnimationsDisabled()) {
    }
  }
  else if (direction == 1) {
    if (!getAnimationsDisabled()) {
    }
  }
  class_0A1E_slot_23(4, flame2);
  spawn class_0A0B_slot_20(flame2);
  return;
}
