@@ -413,7 +413,19 @@ sellayer = real(sch_br_layer1) - 1
413413 schematic_cell_set (mySchematic, zvel, a + 3 , 2 , 0 , 0 )
414414 schematic_cell_set (mySchematic, zvel, a + 3 , 0 , sch_exp_ins_block[nblockins[z, nblocks]], 0 )
415415 noteblockx[z, nblocks] = a + 3
416- } else {
416+ } else if (schematic_block_get (mySchematic, zvel, a + 3 , 1 ) = 25 ) && (schematic_block_get (mySchematic, zvel, a + 1 , 1 ) = 0 ) {
417+ schematic_cell_set (mySchematic, zvel, a + 1 , 1 , 25 , 0 )
418+ schematic_cell_set (mySchematic, zvel, a + 1 , 2 , 0 , 0 )
419+ schematic_cell_set (mySchematic, zvel, a + 1 , 0 , sch_exp_ins_block[nblockins[z, nblocks]], 0 )
420+ noteblockx[z, nblocks] = a + 1
421+ show_debug_message (" note block in way" )
422+ } else if (schematic_block_get (mySchematic, zvel, a + 1 , 1 ) = 25 ) && (schematic_block_get (mySchematic, zvel, a + 3 , 1 ) = 0 ) {
423+ schematic_cell_set (mySchematic, zvel, a + 3 , 1 , 25 , 0 )
424+ schematic_cell_set (mySchematic, zvel, a + 3 , 2 , 0 , 0 )
425+ schematic_cell_set (mySchematic, zvel, a + 3 , 0 , sch_exp_ins_block[nblockins[z, nblocks]], 0 )
426+ noteblockx[z, nblocks] = a + 3
427+ show_debug_message (" note block in way" )
428+ } else {
417429 schematic_cell_set (mySchematic, zvel, a + 2 , 1 , 25 , 0 )
418430 schematic_cell_set (mySchematic, zvel, a + 2 , 2 , 0 , 0 )
419431 schematic_cell_set (mySchematic, zvel, a + 2 , 0 , sch_exp_ins_block[nblockins[z, nblocks]], 0 )
0 commit comments