#include "game_types.h"

/* Script_IncrementOffset @ 0x08013720 (real 10B) -- advances script cursor, returns byte under old cursor. Mirrors src/matched/Script_IncrementOffset.c. */
/* Advances the script cursor at struct+64 and returns the byte under the old cursor. */
unsigned char Script_IncrementOffset(char *st)
{
    unsigned char **cursor = (unsigned char **)(st + 64);
    unsigned char *p = *cursor;
    *cursor = p + 1;
    return *p;
}
