execute if score @s in_air matches ..0 if score .shift_duration brawler matches 1.. at @s run function main:characters/brawler/shift/id1/land

execute if score .shift_duration brawler matches 1.. run scoreboard players remove .shift_duration brawler 1

execute if score .shift_animation brawler matches 1 if score .shift_duration brawler matches 1.. run function main:mechanics/animation/stop {"frame":8388692}
execute if score .shift_animation brawler matches 1 if score .shift_duration brawler matches 1.. run scoreboard players set .shift_animation brawler 2
execute if score .shift_animation brawler matches 1 if score .shift_duration brawler matches ..0 run function main:mechanics/animation/stop {"frame":8388667}

execute if score .shift_animation brawler matches 1.. run scoreboard players remove .shift_animation brawler 1

execute if entity @s[tag=upgrade_8] run scoreboard players operation .upgrade_8 brawler = @s in_air