#  MERGE4 v1.01 17.03.93
#  This works for NTSC/PAL output if rendering with field rendering.
#  This is setup for a 1,2 field environment.  (With version 2.6, the 
#  inter* series can be used instead, for more flexibility.)
#
#  The difference between MERGE2 and MERGE4 is that MERGE4 deletes
#  the field rendered images after they have been merged together.
#
#  usage: MERGE4 <filename> <frame> <counter> <field>
#

if( $4 == "2" ) then
   mergeField $1.$2.2 $1.$2.1 $1.$2
   rm $1.$2.1.pic $1.$2.2.pic
endif

