Disable try_mount function

This commit is contained in:
TheThomaas 2026-10-04 17:23:15 +02:00
parent ed83a2f364
commit 040e9df45e

View file

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