Unlimited Battle Dialogue Length
Surprised that this was never made, so here it is.
Makes the character limit for battle dialogue (probably) infinite: Now your OC can yap with style!
Shoutout to Project Moon Community Hub Discord and Cyaminthe for writing the code and handholding me though the whole process.
Here is code. (idk why no spaces). Note that you will need a publicizer for Unity.TextMeshPro.dll
https://imgur.com/a/krafs-publicizer-dummies-FxTU1nD
class Initializer : ModInitializer
{
public override void OnInitializeMod()
{
var checkerObject = new GameObject("LimitChecker");
UnityEngine.Object.DontDestroyOnLoad(checkerObject);
checkerObject.AddComponent<LimitChecker>();
}
class LimitChecker : MonoBehaviour
{
void Update()
{
if (UICustomizePopup.Instance)
{
UICustomizePopup.Instance.scriptPanel.inputField.characterLimit = 0;
Destroy(gameObject);
}
}
}
}