List of Opcodes: Difference between revisions

Happylappy (talk | contribs)
World Map Opcode edits
Happylappy (talk | contribs)
m More World Map Opcode stuff
Line 6,641: Line 6,641:
|uint
|uint
|world_map_marker_id
|world_map_marker_id
|
|The world map id to move the camera to.
|}
|}


Line 6,680: Line 6,680:
|uint
|uint
|world_map_marker_id
|world_map_marker_id
|The world map id to center the camera on.
|The world map id to set the camera to.
|}
|}
=== 0x17a - worldmap_SetLevel ===
=== 0x17a - worldmap_SetLevel ===
Line 6,699: Line 6,699:
|}
|}
=== 0x17b - worldmap_SetMark ===
=== 0x17b - worldmap_SetMark ===
<TO DO: Opcode description>
Enables a yellow dot for the specified world map marker.


{| class="wikitable"
{| class="wikitable"
Line 6,711: Line 6,711:
|1
|1
|uint
|uint
|unk0
|world_map_marker_id
|
|The world map id to enable the yellow dot for.
|}
|}
=== 0x17c - worldmap_SetMessage ===
=== 0x17c - worldmap_SetMessage ===
<TO DO: Opcode description>
<TO DO: Opcode description>
Seemingly unused in vanilla.


{| class="wikitable"
{| class="wikitable"
Line 6,748: Line 6,750:


=== 0x17e - worldmap_SetMode ===
=== 0x17e - worldmap_SetMode ===
Sets the "mode" of the world map, to align with a particular purpose. Mode 3 is for handling moving clouds.
Sets the "mode" of the world map, to align with a particular purpose.  
 
Mode 1 seems to be for handling travel to a dungeon or area.
 
Mode 3 is for handling moving clouds.  


{| class="wikitable"
{| class="wikitable"