Skip to content

String references

Working with STRREFs.

REPLACE_STRREF_TRA patch

Reads an strref at the given offset. In the string, replaces occurences of old_substring_traref with new_substring_traref. SAYs the new string back to the offset.

INT_VARDescriptionTypeDefault
new_substring_trareftraref of replacement textintrequired
offsetstrref offsetintrequired
old_substring_trareftraref of text to be replacedintrequired