### Function: SetSpawnGroupID(spawn, new_group_id)

**Description:**
Set's the spawn's encounter new group id.

**Parameters:**
- `spawn` (Spawn) - Spawn object representing `spawn`.
- `new_group_id` (uint32) - Integer value `new_group_id`.

**Returns:** None.

**Example:**

Example Required
