• Will inject all relevant dialogue tokens that exist in the BattleScene.currentBattle.mysteryEncounter.dialogueTokens, into i18n text. Also adds BBCodeText fragments for colored text, if applicable

    Parameters

    • scene: default
    • OptionalkeyOrString: string
    • OptionalprimaryStyle: TextStyle

      Can define a text style to be applied to the entire string. Must be defined for BBCodeText styles to be applied correctly

    • uiTheme: UiTheme = UiTheme.DEFAULT

    Returns string | null