Repository navigation
SCRIPT.DAT
Contains all the scripts run by the game. Unlike TALK.DAT it handles more of map logic, then dialog.
| Type | Size | Description |
|---|---|---|
| uInt | 4 byte | Number of scripts |
| uInt | 4 byte | Zero |
Next there is a list of addresses (4 byte) flowered by a equal length list of Ids (4 byte). Afterwards the binary script data starts.
Each command consists of a op code (byte) flowed by char that indicates the size of the body that contains the arguments.
| Name | Op Code | Arguments | Arguments Size | Description |
|---|---|---|---|---|
| LockUser | 05 | None | 0 byte | Takes away control from user |
| LockUser | 05 | None | 0 byte | Takes away control from user |
- Op Code: 05
- Construction: 05 00
- Arguments: None
Disables the control of the camera and game interaction. However the user still can progress throw the dialog.