              
                    <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://castlevaniaspeedruns.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=SOTN%2FMedusa_Head</id>
		<title>SOTN/Medusa Head - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://castlevaniaspeedruns.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=SOTN%2FMedusa_Head"/>
		<link rel="alternate" type="text/html" href="https://castlevaniaspeedruns.com/mediawiki/index.php?title=SOTN/Medusa_Head&amp;action=history"/>
		<updated>2026-04-25T14:29:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://castlevaniaspeedruns.com/mediawiki/index.php?title=SOTN/Medusa_Head&amp;diff=2582&amp;oldid=prev</id>
		<title>SestrenExsis: Fix code block</title>
		<link rel="alternate" type="text/html" href="https://castlevaniaspeedruns.com/mediawiki/index.php?title=SOTN/Medusa_Head&amp;diff=2582&amp;oldid=prev"/>
				<updated>2023-11-17T23:22:42Z</updated>
		
		<summary type="html">&lt;p&gt;Fix code block&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:22, 17 November 2023&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-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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;elif player.screenX &amp;gt;= 177:&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;elif player.screenX &amp;gt;= 177:&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;&amp;#160;&amp;#160; &amp;#160; side = 0 # Always spawn on the left side, since the player is too far right&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;&amp;#160;&amp;#160; &amp;#160; side = 0 # Always spawn on the left side, since the player is too far right&lt;/div&gt;&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;elif (rand() &amp;amp; 3):&lt;/ins&gt;&lt;/div&gt;&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;&amp;#160; &amp;#160; side = 1 - player.facing # Spawn in front of the player&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;else:&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;else:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;if (rand() &amp;amp; 3):&lt;/del&gt;&lt;/div&gt;&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;&amp;#160;&amp;#160; &amp;#160; side = player.facing # Spawn behind the player&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; side = 1 - player.facing # Spawn in front of the player&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; else:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;side = player.facing # Spawn behind the player&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SestrenExsis</name></author>	</entry>

	<entry>
		<id>https://castlevaniaspeedruns.com/mediawiki/index.php?title=SOTN/Medusa_Head&amp;diff=2580&amp;oldid=prev</id>
		<title>SestrenExsis: Add Medusa Head page</title>
		<link rel="alternate" type="text/html" href="https://castlevaniaspeedruns.com/mediawiki/index.php?title=SOTN/Medusa_Head&amp;diff=2580&amp;oldid=prev"/>
				<updated>2023-11-17T22:59:07Z</updated>
		
		<summary type="html">&lt;p&gt;Add Medusa Head page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The Medusa Head is an enemy that periodically spawns on the left or right side of the screen in certain areas and flies in a [https://en.wikipedia.org/wiki/Sine_wave| sine wave] pattern.&lt;br /&gt;
&lt;br /&gt;
One room Medusa Heads are found is in the Outer Wall, where they can spawn in the region above the Soul of Wolf Relic location. While in a spawning zone, the game will periodically (TODO: How often?) spawn a Medusa Head just outside the viewing area of the camera. When spawned, a Medusa Head has a chance ([[SOTN/RNG|1 in 8 using Evil RNG]]) of being a Golden Medusa Head, which will petrify the player on contact. A Medusa Head always spawns initially at the same vertical height as the player, although they will start out on a random spot in the sine wave ([[SOTN/RNG|1 of 8 outcomes using Nice RNG]]), meaning the midline of their trajectory will be different.&lt;br /&gt;
&lt;br /&gt;
If the player is far enough left or right that the camera is locked and the player is away from the center of the screen, then the side the Medusa spawns in on is fixed; the Medusa will spawn on the side of the screen furthest from the player in these instances. Otherwise, the Medusa Head will randomly choose which side of the screen to spawn in on, and will consider the direction the player is facing when doing so ([[SOTN/RNG|1 in 4 chance, using Evil RNG, of spawning behind the player instead of in front]]).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# Pseudo-code of the logic Medusa Heads use to determine which side of the screen to choose&lt;br /&gt;
side = 0&lt;br /&gt;
if player.screenX &amp;lt; 80:&lt;br /&gt;
    side = 1 # Always spawn on the right side, since the player is too far left&lt;br /&gt;
elif player.screenX &amp;gt;= 177:&lt;br /&gt;
    side = 0 # Always spawn on the left side, since the player is too far right&lt;br /&gt;
else:&lt;br /&gt;
    if (rand() &amp;amp; 3):&lt;br /&gt;
        side = 1 - player.facing # Spawn in front of the player&lt;br /&gt;
    else:&lt;br /&gt;
        side = player.facing # Spawn behind the player&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>SestrenExsis</name></author>	</entry>

	</feed>