function main:settings/scoreboards/load
function main:menu/remove
tag @s add brawler
tag @s add melee_class
tag @s remove ranged_class
function main:settings/player_data/main {"id":1}
scoreboard players set @s brawler 1
scoreboard players set .q brawler 0
scoreboard players set .combust brawler 0
scoreboard players set .combust_duration brawler 0
scoreboard players set .rc_animation_hold brawler 0
scoreboard players set .rc_animation brawler 0
scoreboard players set .weapon_animation brawler 0
scoreboard players set .shift_animation brawler 0
scoreboard players set .q_animation brawler 0
scoreboard players set .normals_cd brawler 0


attribute @s minecraft:scale base set 1
execute at @s run playsound block.note_block.harp master @s ~ ~ ~ 1 0.6
execute as @e[type=text_display,tag=choice] run data modify entity @s background set value 7566195
data modify entity @n[type=text_display,tag=brawler] background set value -16777216
function main:characters/brawler/info/info_simple

fill 65 -58 19 63 -56 19 red_stained_glass
fill 65 -58 20 63 -56 20 red_concrete_powder

#icon
kill @e[type=item_display,tag=classes]
kill @e[type=text_display,tag=fake_start]
kill @e[type=interaction,tag=fake_start]
execute at @e[type=block_display,tag=main_menu] run particle dust{color:[1,0,0],scale:0.5} 64 -56.5 18 .5 0.5 0.5 1 25
execute at @e[type=block_display,tag=main_menu] run summon item_display 64 -56.5 18 {Glowing:1b,Tags:["classes"],Rotation:[0f,0f],item:{id:"minecraft:warped_fungus_on_a_stick",count:1,components:{item_model:"minecraft:weapons/brawler/brawler"}}}
team join red_color @e[type=minecraft:item_display]

execute at @s run playsound item.firecharge.use master @a ~ ~ ~ 0.5 1
execute at @s run playsound block.piston.extend master @a ~ ~ ~ 3 0.5
execute at @s run playsound block.furnace.fire_crackle master @a ~ ~ ~ 3 0

#start
kill @e[type=interaction,tag=start]
kill @e[type=text_display,tag=start]
 

 