execute if score @s entityid.0 matches 0 run tag @s add entityhit.nbit0
execute if score @s entityid.0 matches 1 run tag @s add entityhit.bit0
execute if score @s entityid.1 matches 0 run tag @s add entityhit.nbit1
execute if score @s entityid.1 matches 1 run tag @s add entityhit.bit1
execute if score @s entityid.2 matches 0 run tag @s add entityhit.nbit2
execute if score @s entityid.2 matches 1 run tag @s add entityhit.bit2
execute if score @s entityid.3 matches 0 run tag @s add entityhit.nbit3
execute if score @s entityid.3 matches 1 run tag @s add entityhit.bit3
execute if score @s entityid.4 matches 0 run tag @s add entityhit.nbit4
execute if score @s entityid.4 matches 1 run tag @s add entityhit.bit4
execute if score @s entityid.5 matches 0 run tag @s add entityhit.nbit5
execute if score @s entityid.5 matches 1 run tag @s add entityhit.bit5
execute if score @s entityid.6 matches 0 run tag @s add entityhit.nbit6
execute if score @s entityid.6 matches 1 run tag @s add entityhit.bit6
execute if score @s entityid.7 matches 0 run tag @s add entityhit.nbit7
execute if score @s entityid.7 matches 1 run tag @s add entityhit.bit7
execute if score @s entityid.8 matches 0 run tag @s add entityhit.nbit8
execute if score @s entityid.8 matches 1 run tag @s add entityhit.bit8
execute if score @s entityid.9 matches 0 run tag @s add entityhit.nbit9
execute if score @s entityid.9 matches 1 run tag @s add entityhit.bit9
execute if score @s entityid.10 matches 0 run tag @s add entityhit.nbit10
execute if score @s entityid.10 matches 1 run tag @s add entityhit.bit10
execute if score @s entityid.11 matches 0 run tag @s add entityhit.nbit11
execute if score @s entityid.11 matches 1 run tag @s add entityhit.bit11
execute if score @s entityid.12 matches 0 run tag @s add entityhit.nbit12
execute if score @s entityid.12 matches 1 run tag @s add entityhit.bit12
execute if score @s entityid.13 matches 0 run tag @s add entityhit.nbit13
execute if score @s entityid.13 matches 1 run tag @s add entityhit.bit13
execute if score @s entityid.14 matches 0 run tag @s add entityhit.nbit14
execute if score @s entityid.14 matches 1 run tag @s add entityhit.bit14
execute if score @s entityid.15 matches 0 run tag @s add entityhit.nbit15
execute if score @s entityid.15 matches 1 run tag @s add entityhit.bit15
execute if score @s entityid.16 matches 0 run tag @s add entityhit.nbit16
execute if score @s entityid.16 matches 1 run tag @s add entityhit.bit16
execute if score @s entityid.17 matches 0 run tag @s add entityhit.nbit17
execute if score @s entityid.17 matches 1 run tag @s add entityhit.bit17
execute if score @s entityid.18 matches 0 run tag @s add entityhit.nbit18
execute if score @s entityid.18 matches 1 run tag @s add entityhit.bit18
execute if score @s entityid.19 matches 0 run tag @s add entityhit.nbit19
execute if score @s entityid.19 matches 1 run tag @s add entityhit.bit19
execute if score @s entityid.20 matches 0 run tag @s add entityhit.nbit20
execute if score @s entityid.20 matches 1 run tag @s add entityhit.bit20
execute if score @s entityid.21 matches 0 run tag @s add entityhit.nbit21
execute if score @s entityid.21 matches 1 run tag @s add entityhit.bit21
execute if score @s entityid.22 matches 0 run tag @s add entityhit.nbit22
execute if score @s entityid.22 matches 1 run tag @s add entityhit.bit22
execute if score @s entityid.23 matches 0 run tag @s add entityhit.nbit23
execute if score @s entityid.23 matches 1 run tag @s add entityhit.bit23
execute if score @s entityid.24 matches 0 run tag @s add entityhit.nbit24
execute if score @s entityid.24 matches 1 run tag @s add entityhit.bit24
execute if score @s entityid.25 matches 0 run tag @s add entityhit.nbit25
execute if score @s entityid.25 matches 1 run tag @s add entityhit.bit25
execute if score @s entityid.26 matches 0 run tag @s add entityhit.nbit26
execute if score @s entityid.26 matches 1 run tag @s add entityhit.bit26
execute if score @s entityid.27 matches 0 run tag @s add entityhit.nbit27
execute if score @s entityid.27 matches 1 run tag @s add entityhit.bit27
execute if score @s entityid.28 matches 0 run tag @s add entityhit.nbit28
execute if score @s entityid.28 matches 1 run tag @s add entityhit.bit28
execute if score @s entityid.29 matches 0 run tag @s add entityhit.nbit29
execute if score @s entityid.29 matches 1 run tag @s add entityhit.bit29
execute if score @s entityid.30 matches 0 run tag @s add entityhit.nbit30
execute if score @s entityid.30 matches 1 run tag @s add entityhit.bit30
execute if score @s entityid.31 matches 0 run tag @s add entityhit.nbit31
execute if score @s entityid.31 matches 1 run tag @s add entityhit.bit31