<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.cloudmodding.com/oot/Notes/Ocarina_Functions/history?feed=atom</id>
		<title>Notes/Ocarina Functions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.cloudmodding.com/oot/Notes/Ocarina_Functions/history?feed=atom"/>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/oot/Notes/Ocarina_Functions/history"/>
		<updated>2026-04-06T04:42:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=4355&amp;oldid=prev</id>
		<title>Mzxrules at 17:20, 26 November 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=4355&amp;oldid=prev"/>
				<updated>2015-11-26T17:20:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:20, 26 November 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{subpage}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;THE DATA:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;THE DATA:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mzxrules</name></author>	</entry>

	<entry>
		<id>https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=4354&amp;oldid=prev</id>
		<title>Mzxrules: Mzxrules moved page Ocarina Functions to Notes/Ocarina Functions without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=4354&amp;oldid=prev"/>
				<updated>2015-11-26T17:19:23Z</updated>
		
		<summary type="html">&lt;p&gt;Mzxrules moved page &lt;a href=&quot;/oot/Ocarina_Functions/edit?redlink=1&quot; class=&quot;new&quot; title=&quot;Ocarina Functions (page does not exist)&quot;&gt;Ocarina Functions&lt;/a&gt; to &lt;a href=&quot;/oot/Notes/Ocarina_Functions&quot; title=&quot;Notes/Ocarina Functions&quot;&gt;Notes/Ocarina Functions&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:19, 26 November 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mzxrules</name></author>	</entry>

	<entry>
		<id>https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=1398&amp;oldid=prev</id>
		<title>Mzxrules: Mzxrules moved page Zelda 64: Ocarina functions to Ocarina Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=1398&amp;oldid=prev"/>
				<updated>2014-07-06T10:51:20Z</updated>
		
		<summary type="html">&lt;p&gt;Mzxrules moved page &lt;a href=&quot;/oot/Zelda_64:_Ocarina_functions/edit?redlink=1&quot; class=&quot;new&quot; title=&quot;Zelda 64: Ocarina functions (page does not exist)&quot;&gt;Zelda 64: Ocarina functions&lt;/a&gt; to &lt;a href=&quot;/oot/Ocarina_Functions/edit?redlink=1&quot; class=&quot;new&quot; title=&quot;Ocarina Functions (page does not exist)&quot;&gt;Ocarina Functions&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:51, 6 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mzxrules</name></author>	</entry>

	<entry>
		<id>https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=189&amp;oldid=prev</id>
		<title>Mzxrules: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=189&amp;oldid=prev"/>
				<updated>2014-06-08T23:21:43Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:21, 8 June 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mzxrules</name></author>	</entry>

	<entry>
		<id>https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=188&amp;oldid=prev</id>
		<title>Mzxrules at 00:49, 1 February 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/woot/index.php?title=Notes/Ocarina_Functions&amp;diff=188&amp;oldid=prev"/>
				<updated>2013-02-01T00:49:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;THE DATA:&lt;br /&gt;
&lt;br /&gt;
I set these all to 0 or FF and it disabled effects.&lt;br /&gt;
&lt;br /&gt;
--POSSIBLE EFFECT VALUES--&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[79]           0x5b9095b3, 0x00000000, [I64 I32 I16 I8 ]&lt;br /&gt;
&lt;br /&gt;
[80]           0x5b9095b6, 0x00000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[81]           0x5b9095b7, 0x00000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[82]           0x5b9095b8, 0x00000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[83]           0x5b9095b9, 0x00000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[84]           0x5b9095ba, 0x00000000, [I64 I32 ]&lt;br /&gt;
&lt;br /&gt;
[85]           0x5b9095bb, 0x00000000, [I64 I32 ]&lt;br /&gt;
&lt;br /&gt;
[86]           0x5b9095bc, 0x00000000, [I64 I32 I16 ]&lt;br /&gt;
&lt;br /&gt;
[87]           0x5b9095bd, 0x00000000, [I64 I32 I16 I8 ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
-probably not these-&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[106]           0x5b962657, 0x300000000000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[107]           0x5b962658, 0x3000000000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[108]           0x5b962659, 0x30000000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[109]           0x5b96265a, 0x300000000, [I64 ]&lt;br /&gt;
&lt;br /&gt;
[110]           0x5b96265b, 0x03000000, [I64 I32 ]&lt;br /&gt;
&lt;br /&gt;
[111]           0x5b96265c, 0x00030000, [I64 I32 ]&lt;br /&gt;
&lt;br /&gt;
[112]           0x5b96265d, 0x00000300, [I64 I32 I16 ]&lt;br /&gt;
&lt;br /&gt;
[113]           0x5b96265e, 0x00000003, [I64 I32 I16 I8 ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--------------------&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[114]           0x5b9626df, 0x00000000, [I8 ]&lt;br /&gt;
&lt;br /&gt;
[115]           0x5b9626e3, 0x00000000, [I32 I16 I8 ]&lt;br /&gt;
&lt;br /&gt;
[116]           0x5b962aff, 0x00000000, [I64 I32 I16 I8 ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
80130F38 - cutscene-like mode boolean value&lt;br /&gt;
&lt;br /&gt;
8016B9F9 - Sheik songs (first time you play songs)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
0x800EE6F4 to 0x800EE818 - Ocarina playing functions such as:&lt;br /&gt;
Cutscene-like mode (unable to move when completed a song)&lt;br /&gt;
&lt;br /&gt;
Note/Title rendering (when you're playing a song) 0x800EE790&lt;br /&gt;
&lt;br /&gt;
Note playing 0x800EE758&lt;br /&gt;
&lt;br /&gt;
Note/Song checking&lt;br /&gt;
&lt;br /&gt;
Note checking (play a wrong note and you get a 'ding' sound, like when &lt;br /&gt;
you're learning a song.)&lt;br /&gt;
&lt;br /&gt;
I think that's it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
800ED5B4 - play 09 note automatically if nopd  &lt;br /&gt;
                                                &lt;br /&gt;
8016BA20 - note buffer                          &lt;br /&gt;
                                                &lt;br /&gt;
80131878 - song to play                         &lt;br /&gt;
                                                &lt;br /&gt;
T9 - song number?                               &lt;br /&gt;
                                                &lt;br /&gt;
A2 - song length                                &lt;br /&gt;
                                                &lt;br /&gt;
V1 - successful matches                         &lt;br /&gt;
                                                &lt;br /&gt;
0x800ED200 - this function.                     &lt;br /&gt;
                                                &lt;br /&gt;
@0x800ED2FC - 'note buffer' address; 0x8016BA20 &lt;br /&gt;
                                                &lt;br /&gt;
@0x800EE758 - button press function check,  &lt;br /&gt;
              will play a note if you nop&lt;br /&gt;
              some beqs, im sure it's possible&lt;br /&gt;
              to play by changing values in ram&lt;br /&gt;
              somewhere. just got to look further into&lt;br /&gt;
              this.&lt;br /&gt;
&lt;br /&gt;
@0x800ECD80, 0x800ECC94,0x800ECCCC - counts until it starts to check, &lt;br /&gt;
The game only starts to check what you're playing once you've hit&lt;br /&gt;
the 5th note!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
THE HACK:&lt;br /&gt;
&lt;br /&gt;
;Change instruction which clears song value when ocarina is used.&lt;br /&gt;
&lt;br /&gt;
;Coincidentally (or not!), T3 already has Epona's song value in it.&lt;br /&gt;
&lt;br /&gt;
;So we use it instead of R0 (Which holds zero, always)&lt;br /&gt;
&lt;br /&gt;
.ORG 0x800ECCD4&lt;br /&gt;
&lt;br /&gt;
SB T3, 0x1878(AT)&lt;br /&gt;
&lt;br /&gt;
;Instruction which clears song value once ocarina is being used,&lt;br /&gt;
&lt;br /&gt;
;we get rid of this so it doesn't happen.&lt;br /&gt;
&lt;br /&gt;
.ORG 0x800ECB0C&lt;br /&gt;
&lt;br /&gt;
NOP&lt;br /&gt;
&lt;br /&gt;
[[Category:Notes]]&lt;/div&gt;</summary>
		<author><name>Mzxrules</name></author>	</entry>

	</feed>