{
    "format_version": "1.20",
    "animation_controllers": {
        "controller.animation.vernier_test": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "power_on": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && q.is_jumping"
                        }
                    ],
                    "on_entry": [
                        "/scoreboard players set @e[type=ga:gms_Ω_gquuuuuux,y=~-15.5,r=0.5,c=1,tag=hasrider] ms_jump 0"
                    ]
                },
                "power_on": {
                    "transitions": [
                        {
                            "default": "!q.is_jumping"
                        },
                        {
                            "keep": "q.is_jumping"
                        }
                    ],
                    "on_entry": [
                        "/scoreboard players set @e[type=ga:gms_Ω_gquuuuuux,y=~-15.5,r=0.5,c=1,tag=hasrider] ms_jump 1"
                    ]
                },
                "keep": {
                    "transitions": [
                        {
                            "power_on": "1.0"
                        }
                    ]
                }
            }
        },
        "controller.animation.player_guide": {
            "states": {
                "default": {
                    "on_entry": [
                        "/function player/massage/start_guide",
                        "/ride @s stop_riding",
                        "/function roading_reset"
                    ]
                }
            }
        },
        "controller.animation.player_gq_change_camera": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "change": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && query.is_item_name_any('slot.weapon.mainhand', 0, 'ga:fp_change') && query.is_using_item > 0"
                        },
                        {
                            "unchange": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && query.is_item_name_any('slot.weapon.mainhand', 0, 'ga:tp_unchange') && query.is_using_item > 0"
                        }
                    ]
                },
                "change": {
                    "transitions": [
                        {
                            "default": "1.0"
                        }
                    ],
                    "on_entry": [
                        "/function gq_fp_change",
                        "/playsound fp_change @s ~~~ 10 1.0",
                        "/tag @s add gq_fp",
                        "/tag @s remove gq_tp"
                    ]
                },
                "unchange": {
                    "transitions": [
                        {
                            "default": "1.0"
                        }
                    ],
                    "on_entry": [
                        "/function gq_tp_change",
                        "/playsound tp_change @s ~~~ 10 1.0",
                        "/tag @s add gq_tp",
                        "/tag @s remove gq_fp"
                    ]
                }
            }
        },
        "controller.animation.player_action": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "gquuuuuux": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux')"
                        }
                    ],
                    "on_entry": [
                        "/camera @s clear"
                    ]
                },
                "gquuuuuux": {
                    "transitions": [
                        {
                            "default": "!query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux')"
                        }
                    ],
                    "on_entry": [
                        "/event entity @s gaplyaer:ride_ms",
                        "/tag @s add gq_tp",
                        "/hud @s hide horse_health",
                        "/function player/massage/gaid",
                        "/function player/gquuuuuux/gquuuuuux_command"
                    ],
                    "on_exit": [
                        "/camera @s clear",
                        "/tag @s remove gq_tp",
                        "/tag @s remove gq_fp",
                        "/hud @s reset horse_health",
                        "/function player/normal"
                    ]
                }
            }
        },
        "controller.animation.player_ms_shoot_action_gq": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "use_r": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && query.is_item_name_any('slot.weapon.mainhand', 0, 'ga:weapon_use') && query.is_using_item"
                        },
                        {
                            "use_l": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && query.is_item_name_any('slot.weapon.mainhand', 0, 'ga:weapon_use') && variable.attack_time"
                        }
                    ]
                },
                "use_r": {
                    "transitions": [
                        {
                            "default": "!query.is_using_item"
                        }
                    ],
                    "on_entry": [
                        "/scoreboard players set @e[type=ga:gms_Ω_gquuuuuux,y=~-15.5,r=0.5,c=1,tag=hasrider] ms_rwp_use 1"
                    ],
                    "on_exit": [
                        "/scoreboard players set @e[type=ga:gms_Ω_gquuuuuux,y=~-15.5,r=0.5,c=1,tag=hasrider] ms_rwp_use 0"
                    ]
                },
                "use_l": {
                    "transitions": [
                        {
                            "default": "!variable.attack_time"
                        }
                    ],
                    "on_entry": [
                        "/scoreboard players set @e[type=ga:gms_Ω_gquuuuuux,y=~-15.5,r=0.5,c=1,tag=hasrider,scores={ms_lwp_use=0}] ms_lwp_use 1"
                    ]
                }
            }
        },
        "controller.animation.player_ms_mode_change": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "active": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && q.player_level >= 25"
                        },
                        {
                            "none": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && q.player_level < 25"
                        }
                    ]
                },
                "active": {
                    "transitions": [
                        {
                            "default": "q.player_level < 25 || !query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux')"
                        }
                    ],
                    "on_entry": [
                        "/event entity @e[type=ga:gms_Ω_gquuuuuux,tag=hasrider,y=~-15.5,r=0.5,c=1,tag=!omega_mode] omega_psychommu_unlock",
                        "/execute at @e[type=ga:gms_Ω_gquuuuuux,tag=hasrider,y=~-15.5,r=0.5,c=1,tag=omega_mode] run playsound bolt @a[r=30] ~~~ 50 1.0"
                    ]
                },
                "none": {
                    "transitions": [
                        {
                            "default": "q.player_level >= 25 || !query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux')"
                        }
                    ],
                    "on_entry": [
                        "/event entity @e[type=ga:gms_Ω_gquuuuuux,tag=hasrider,y=~-15.5,r=0.5,c=1,tag=omega_mode] normal"
                    ]
                }
            }
        },
        "controller.animation.player_move_switch": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "run": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && query.is_item_name_any('slot.weapon.mainhand', 0, 'ga:run_change') && query.is_using_item > 0"
                        },
                        {
                            "walk": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux') && query.is_item_name_any('slot.weapon.mainhand', 0, 'ga:walk_change') && query.is_using_item > 0"
                        }
                    ]
                },
                "run": {
                    "transitions": [
                        {
                            "default": "1.0"
                        }
                    ],
                    "on_entry": [
                        "/event entity @e[tag=ground,type=ga:gms_Ω_gquuuuuux,tag=hasrider,tag=!jumping,y=~-15.5,r=0.5,c=1] ground_run",
                        "/event entity @e[tag=flying,type=ga:gms_Ω_gquuuuuux,tag=hasrider,tag=!jumping,y=~-15.5,r=0.5,c=1] thruster_boost",
                        "/tag @e[type=ga:gms_Ω_gquuuuuux,tag=hasrider,y=~-18,r=0.5,c=1] add run",
                        "/function walk_change"
                    ]
                },
                "walk": {
                    "transitions": [
                        {
                            "default": "1.0"
                        }
                    ],
                    "on_entry": [
                        "/event entity @e[tag=ground,type=ga:gms_Ω_gquuuuuux,tag=hasrider,tag=!jumping,y=~-15.5,r=0.5,c=1] ground_walk",
                        "/event entity @e[tag=flying,type=ga:gms_Ω_gquuuuuux,tag=hasrider,tag=!jumping,y=~-15.5,r=0.5,c=1] thruster_normal",
                        "/tag @e[type=ga:gms_Ω_gquuuuuux,tag=hasrider,y=~-18,r=0.5,c=1] add walk",
                        "/function run_change"
                    ]
                }
            }
        },
        "controller.animation.player_action2": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "ride_on": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux')"
                        }
                    ]
                },
                "ride_on": {
                    "transitions": [
                        {
                            "default": "1.0"
                        }
                    ],
                    "on_entry": [
                        "/effect @s invisibility 1 1 true"
                    ]
                }
            }
        },
        "controller.animation.player_action3": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "ride_on_z": "query.is_riding_any_entity_of_type('ga:gms_Ω_gquuuuuux')"
                        }
                    ],
                    "on_entry": [
                        "@s gaplayer:unride_ms"
                    ]
                },
                "ride_on_z": {
                    "transitions": [
                        {
                            "ride_on_z2": "!query.is_riding"
                        }
                    ]
                },
                "ride_on_z2": {
                    "transitions": [
                        {
                            "default": "1.0"
                        }
                    ],
                    "on_entry": [
                        "@s gaplayer:unride_ms"
                    ]
                }
            }
        }
    }
}
