#include "game_types.h"

/* Sub_0801317C @ 0x0801317C (real 24B) -- conditional field-24 update with flag OR. Mirrors src/matched/Sub_0801317C.c. */
/* Runs the shared fetch helper; when field 24 differs, stores it and ORs
   15 into field 0. */
extern int Script_FetchHelper_08013030(void);

void Sub_0801317C(char *st)
{
    int v = Script_FetchHelper_08013030();
    if (st[24] != v) {
        st[24] = (char)v;
        st[0] = (char)(st[0] | 15);
    }
}
