Support for changing turn choice when executing
Build / Build (push) Successful in 50s

This commit is contained in:
Deukhoofd committed 2025-06-15 14:23:28 +02:00
1 parent b11203cb3a
commit e305cfaef6
23 files changed
+34 -28

No files matched your search

+1 -1
View File
@@ -296,7 +296,7 @@ public class BattleImpl : ScriptSource, IBattle
ITurnChoice? forcedChoice = null;
pokemon.RunScriptHook(script =>
script.ForceTurnSelection(battleData.SideIndex, battleData.Position, ref forcedChoice));
script.ForceTurnSelection(this, battleData.SideIndex, battleData.Position, ref forcedChoice));
choice = forcedChoice;
return choice != null;
}