List of Opcodes: Difference between revisions

RRad (talk | contribs)
Making a crude supervision_SpecialActing start (better than nothing). Spotlight info courtesy of Adex
RRad (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 6,230: Line 6,230:
# Bubble stream (only used in base game by the Krabby in V01P04B scenes) <TODO: Details?>
# Bubble stream (only used in base game by the Krabby in V01P04B scenes) <TODO: Details?>
# Bubble stream 2 (only used in base game by the Krabby in V01P05B scenes) <TODO: Details?>
# Bubble stream 2 (only used in base game by the Krabby in V01P05B scenes) <TODO: Details?>
# Unsure; only used in scene <code>m26a0606</code> (beach bubble or light effect related)<TODO: Details>
# Unsure; only used in scene <code>m26a0606</code> (beach bubble or light effect related) <TODO: Details>
# Waterfall Cave flood. <TODO: Details?>
# Waterfall Cave flood. <TODO: Details?>
# <li value="10">"Glass shards" effect used when Primal Dialga stops Celebi in scene <code>m19b1008</code>. <TODO: Details?></li>
# <li value="10">"Glass shards" effect used when Primal Dialga stops Celebi in scene <code>m19b1008</code>. <TODO: Details?></li>
# <li value="13">"Boss battle starts" wipe. <TODO: Details?></li>
# <li value="13">"Boss battle starts" wipe. <TODO: Details?></li>
# Crystal effect used while Azelf blocks off the Crystal Lake in scene <code>m15b0908</code>. <TODO: Details?>
# Crystal effect used while Azelf blocks off the Crystal Lake in scene <code>m15b0908</code>. <TODO: Details?>
# <li value="16">Unsure; used by <code>m01a01a</code>, a debug Waterfall Cave geyser script. <TODO: Details></li>
# <li value="16">Unsure; used by <code>V00P03/m01a01a</code>, a debug Waterfall Cave geyser script. <TODO: Details></li>
# "Frozen time zone expands to left" electric effect used in scene <code>m08a0802</code> (Underground Lake). <TODO: Details?>
# "Frozen time zone expands to left" electric effect used in scene <code>m14a0802</code> (Underground Lake). <TODO: Details?>
# "Frozen time zone expands to right" electric effect used in scene <code>m08a0802</code>. <TODO: Details?>
# "Frozen time zone expands to right" electric effect used in scene <code>m14a0803</code>. <TODO: Details?>
# Unsure; used by the Luminous Spring <code>evolve</code> script. <TODO: Details>
# Unsure; used by the Luminous Spring <code>evolve</code> script. <TODO: Details>
# Unsure; one of the effects in scene <code>m24a0204</code> (finding Hidden Land scene). <TODO: Details>
# Unsure; one of the effects in scene <code>m24a0204</code> (finding Hidden Land scene). <TODO: Details>
Line 6,245: Line 6,245:
# Related to special Team Charm "Boss battle starts" wipe (heart effect). <TODO: Details>
# Related to special Team Charm "Boss battle starts" wipe (heart effect). <TODO: Details>
# Related to special Team Charm "Boss battle starts" wipe (heart effect). <TODO: Details>
# Related to special Team Charm "Boss battle starts" wipe (heart effect). <TODO: Details>
# <li value="27">Allocating memory for the spotlight (see SE1 intro scene); MUST USE ONCE WHEN CREATING A SPOTLIGHT</li>
# <li value="27">Allocating memory for the spotlight (see <code>n01a0101</code>, the SE1 intro scene); MUST USE ONCE WHEN CREATING A SPOTLIGHT</li>
# Sets the center of the spotlight at X and Y coordinates (in pixels)
# Sets the center of the spotlight at X and Y coordinates (in pixels)
# SIZE parameter is the size of the spotlight. Third parameter seems unused.
# SIZE parameter is the size of the spotlight. Third parameter seems unused.
Line 6,251: Line 6,251:
# FRAMES parameter is the amount of frames it will take for the spotlight to open. Third parameter seems unused.
# FRAMES parameter is the amount of frames it will take for the spotlight to open. Third parameter seems unused.
# Frees up the memory; MUST USE ONCE WHEN ENDING A SPOTLIGHT!
# Frees up the memory; MUST USE ONCE WHEN ENDING A SPOTLIGHT!
# <li value="34">Northeast-moving "poison cloud" filter used on Sky Peak Summit. <TODO: Details?></li>
# <li value="34">Unsure; used solely alongside <code>back_SetWeather(11);</code> (purple smog) in Sky Peak Summit cutscenes, but the smog seems functional without this. <TODO: Details></li>
|-
|-
|2
|2
Line 6,263: Line 6,263:
|Function is dependent on parameter 1.
|Function is dependent on parameter 1.
|}
|}
=== 0x13b - supervision_Station ===
=== 0x13b - supervision_Station ===
Loads a sector of the Sub scene.
Loads a sector of the Sub scene.