Update AimTarget.gd

This commit is contained in:
TheThomaas 2026-10-02 21:40:19 +02:00
parent bc57c99331
commit 0933d9b71d

View file

@ -64,3 +64,10 @@ func set_locked(value : bool) -> void:
is_locked = value
if indicator: indicator.visible = value
locked_changed.emit(value)
func try_mount(target_pokemon : PokemonData) -> bool:
if !MountRegistry.can_mount_on(target_pokemon, MountProfile.Surface.GROUND):
return false
play_char.current_mount = target_pokemon
transitioned.emit(self, "MountedState")
return true