# show music track credits
# @s = unspecified
# at unspecified
# run from ambiance/music/pick
# run from ambiance/music/pick_sped_up

# spring / other (music by BartTheBart)
execute unless score $current_area gm4_pb_data matches 2.. if score $music.track gm4_pb_data matches 0 run title @a actionbar {"translate":"gm4_pb.music.1","fallback":"♫ \"Reset\" by BartTheBart ♫","color":"gray"}
execute unless score $current_area gm4_pb_data matches 2.. if score $music.track gm4_pb_data matches 1 run title @a actionbar {"translate":"gm4_pb.music.2","fallback":"♫ \"Undo\" by BartTheBart ♫","color":"gray"}
execute unless score $current_area gm4_pb_data matches 2.. if score $music.track gm4_pb_data matches 2 run title @a actionbar {"translate":"gm4_pb.music.3","fallback":"♫ \"View\" by BartTheBart ♫","color":"gray"}
# winter (music by ToffeeMax)
execute if score $current_area gm4_pb_data matches 2 if score $music.track gm4_pb_data matches 0 run title @a actionbar {"translate":"gm4_pb.music.4","fallback":"♫ \"Bells and Angels\" by ToffeeMax ♫","color":"gray"}
execute if score $current_area gm4_pb_data matches 2 if score $music.track gm4_pb_data matches 1 run title @a actionbar {"translate":"gm4_pb.music.5","fallback":"♫ \"Godless Pacing\" by ToffeeMax ♫","color":"gray"}
execute if score $current_area gm4_pb_data matches 2 if score $music.track gm4_pb_data matches 2 run title @a actionbar {"translate":"gm4_pb.music.6","fallback":"♫ \"Ice and Ash\" by ToffeeMax ♫","color":"gray"}
# autumn (music by ToffeeMax)
execute if score $current_area gm4_pb_data matches 3 if score $music.track gm4_pb_data matches 0 run title @a actionbar {"translate":"gm4_pb.music.7","fallback":"♫ \"Bricks and Mortar\" by ToffeeMax ♫","color":"gray"}
execute if score $current_area gm4_pb_data matches 3 if score $music.track gm4_pb_data matches 1 run title @a actionbar {"translate":"gm4_pb.music.8","fallback":"♫ \"Challenging Builder\" by ToffeeMax ♫","color":"gray"}
execute if score $current_area gm4_pb_data matches 3 if score $music.track gm4_pb_data matches 2 run title @a actionbar {"translate":"gm4_pb.music.9","fallback":"♫ \"Hazy Fireplace\" by ToffeeMax ♫","color":"gray"}
# summer (music by ToffeeMax)
execute if score $current_area gm4_pb_data matches 4..5 if score $music.track gm4_pb_data matches 0 run title @a actionbar {"translate":"gm4_pb.music.10","fallback":"♫ \"Amongst The Treefolk\" by ToffeeMax ♫","color":"gray"}
execute if score $current_area gm4_pb_data matches 4..5 if score $music.track gm4_pb_data matches 1 run title @a actionbar {"translate":"gm4_pb.music.11","fallback":"♫ \"Evergreen Trees\" by ToffeeMax ♫","color":"gray"}
execute if score $current_area gm4_pb_data matches 4 if score $music.track gm4_pb_data matches 2 run title @a actionbar {"translate":"gm4_pb.music.12","fallback":"♫ \"And Near be Driftwood\" by ToffeeMax ♫","color":"gray"}
execute if score $current_area gm4_pb_data matches 5 if score $music.track gm4_pb_data matches 2 run title @a actionbar {"translate":"gm4_pb.music.13","fallback":"♫ \"Glade Calling\" by ToffeeMax ♫","color":"gray"}
