now the most important part for this to work, the tag number.
if you see the line of code which sets the trigger to do its normal job you will have this
25000080 00000000
and if you see the text trigger line number 1 from the room trigger table (subfile 1_08) you get this
01030000 00800000 0000ACC1 00000000 00002EC2 14AEFF40 00000000 18AEDF40 00000000
this two lines despite to be totally different have something in common, the 80 number close to the start of each line, that is how you link them to communicate each other. whit this new knowledge we can understand a little more about how this conditioned scripted door is working in this specific room and this is:
if all the status checked enemies are dead, convert the first text trigger to a door sending you to room 5540 spawning at coordinate set 1 using transition door 02 (05360002) else (if not all the status checked enemies are dead) just execute the text trigger, end the if.
all that is expressed in cv scd like this =
0130
040301000000
040302000000
040303000000
040304000000
040305000000
040306000000
25000000 05360002 0000
020C
25000080 00000000 0300