Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/319"
Jump to navigation
Jump to search
ffrtt>BukTop m (2 revisions imported) |
ffrtt>Mav (Add opcode description) |
||
Line 1: | Line 1: | ||
* Opcode: '''0x319''' | * Opcode: '''0x319''' | ||
* Name: | * Name: set map options | ||
* Two-word opcode: No | * Two-word opcode: No | ||
Line 11: | Line 11: | ||
|- | |- | ||
| Stack | | Stack | ||
| | | Options | ||
| | | Bitmask with map options, see below | ||
|} | |} | ||
==== Notes ==== | ==== Notes ==== | ||
Sets map and camera options, using a bitmask, with following possible values: | |||
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; text-align:center" | |||
! style="background:rgb(204,204,204)" align="center" | Value | |||
! style="background:rgb(204,204,204)" align="center" | Meaning | |||
|- | |||
| 0 | |||
| (default) mini map on, normal camera | |||
|- | |||
| 1 | |||
| camera low | |||
|- | |||
| 2 | |||
| show heading on the mini map | |||
|- | |||
| 4 | |||
| show big map | |||
|- | |||
| 8 | |||
| hide mini map | |||
|} | |||
NOTE: Setting the Options argument to 3 results in a weird, "close-up" camera with player hovering over ground and no ability to move. |
Latest revision as of 13:37, 5 April 2020
- Opcode: 0x319
- Name: set map options
- Two-word opcode: No
Parameters
Location | Name | Description |
---|---|---|
Stack | Options | Bitmask with map options, see below |
Notes
Sets map and camera options, using a bitmask, with following possible values:
Value | Meaning |
---|---|
0 | (default) mini map on, normal camera |
1 | camera low |
2 | show heading on the mini map |
4 | show big map |
8 | hide mini map |
NOTE: Setting the Options argument to 3 results in a weird, "close-up" camera with player hovering over ground and no ability to move.