{"id":183,"date":"2011-04-17T10:36:35","date_gmt":"2011-04-17T15:36:35","guid":{"rendered":"http:\/\/snarfblam.com\/words\/?p=183"},"modified":"2014-01-13T19:59:54","modified_gmt":"2014-01-14T00:59:54","slug":"doors-with-editroid","status":"publish","type":"post","link":"http:\/\/snarfblam.com\/words\/?p=183","title":{"rendered":"Doors With Editroid"},"content":{"rendered":"<p>I know I was pretty confused about how doors work when I started messing with Metroid, and it&#8217;s been a recurring question. The trickiest part is scrolling, but I&#8217;ll go over a couple other points, too, so here&#8217;s the scoop.<!--more--><\/p>\n<ol>\n<li><a href=\"#scrolling\">Scrolling<\/a><\/li>\n<li><a href=\"#music\">Music Changing Doors<\/a><\/li>\n<li><a href=\"#itemdoor\">Doors In Item Data<\/a><\/li>\n<\/ol>\n<p><a name=\"scrolling\"><\/a><\/p>\n<h2>1. Scrolling<\/h2>\n<figure id=\"attachment_184\" aria-describedby=\"caption-attachment-184\" style=\"width: 147px\" class=\"wp-caption alignright\"><a href=\"http:\/\/snarfblam.com\/words\/wp-content\/uploads\/2011\/04\/Yellow-Doors.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-184\" title=\"Yellow Doorways\" alt=\"Yellow doorways used to connect horizontal rooms\" src=\"http:\/\/snarfblam.com\/words\/wp-content\/uploads\/2011\/04\/Yellow-Doors.png\" width=\"147\" height=\"190\" \/><\/a><figcaption id=\"caption-attachment-184\" class=\"wp-caption-text\">Yellow Doorways<\/figcaption><\/figure>\n<p>The trickiest aspect of the doors in Metroid is how they affect scrolling. A room scrolls either horizontally or vertically. The direction a room scrolls is determined by the doorway in the previous room. This makes things unintuitive and confusing, but this is the way it is.<\/p>\n<p>To get a better picture of what&#8217;s going on, enable <code>Display Physics<\/code> under the <code>View<\/code> menu. There are two types of doorways: green and yellow. Using Brinstar as an example, green doorways are object type 3, and yellow doorways are object type 4.<\/p>\n<h3>Standard Doorways<\/h3>\n<p>In a normal Metroid ROM most doorways are green. A green doorway toggles scrolling between horizontal and vertical when the player passes through the door. Green doorways are used to connect two rooms that scroll in different directions.<\/p>\n<p>Yellow doorways are special doorways that always set scrolling horizontal. These are intended to connect two horizontal rooms together. (There is no way to connect two vertical rooms together.)<\/p>\n<h3>Doorway Scrolling Patch<\/h3>\n<p>Editroid provides a patch that modifies how doorways affect scrolling. When the patch is applied, green doorways will always set scrolling to vertical, and yellow doorways will always set scrolling to horizontal. Understand that when the player passes through a doorway, scrolling is based on the color of the doorway in the room the player came from, not the doorway in the room he entered.<\/p>\n<p>To connect two vertical rooms together, use green doorways. To connect two horizontal rooms, use yellow doorways. To connect a horizontal room to a vertical room, place a green door in the horizontal room and a yellow door in the vertical room.<\/p>\n<h3>Non-Scrolling Rooms<\/h3>\n<p>There are a number of non-scrolling (single screen) rooms in Metroid. Note that even though these rooms may not scroll, they are still considered to be a horizontal or vertical room.<\/p>\n<p>A horizontal room can be made to be non-scrolling by placing a door on both sides of the screen. Alternatively, a horizontal room wont scroll if the screen next to it is disabled on the map. (In Editroid, you can disable a map location by clicking on the screen <em>in the editor area<\/em>, and selecting <code>Disable Selected Screen<\/code> under <code>Tools<\/code>.)<\/p>\n<p>A vertical room will only be non-scrolling if the map locations above and below it are disabled.<\/p>\n<p><a name=\"music\"><\/a><\/p>\n<h2>2. Music Changing Doors<\/h2>\n<p>There are four types of door bubbles. There are the familiar standard doors (blue), missile doors (red), and ten-missile doors (purple or orange). Additionally, there are music changing doors. These are only used in Tourian, for the doors that lead into and out of the room containing Mother Brain. These doors cause the music to change between the normal level music and the Mother Brain music. They may stop the music or play the wrong music if used incorrectly or in the wrong area.<br \/>\n<a name=\"itemdoor\"><\/a><\/p>\n<h2>3. Doors In Item Data<\/h2>\n<figure id=\"attachment_191\" aria-describedby=\"caption-attachment-191\" style=\"width: 105px\" class=\"wp-caption alignright\"><a href=\"http:\/\/snarfblam.com\/words\/wp-content\/uploads\/2011\/04\/Item-Data-Doors.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-191\" title=\"Item Data Doors\" alt=\"Doors as shown when stored in item data\" src=\"http:\/\/snarfblam.com\/words\/wp-content\/uploads\/2011\/04\/Item-Data-Doors.png\" width=\"105\" height=\"223\" \/><\/a><figcaption id=\"caption-attachment-191\" class=\"wp-caption-text\">Item data doors<\/figcaption><\/figure>\n<p>In Metroid, door bubbles are normally part of a screen&#8217;s layout. (They will show up everywhere that same screen is used.)\u00a0 There are a few door bubbles that are stored in the level&#8217;s item data. In Editroid, a door bubble stored in item data will appear further from the doorway than a normal door bubble, as shown to the right.<\/p>\n<p>The door bubbles stored in item data generally behave the same as normal door bubbles, but there are a couple of differences when it comes to editing. The doors in item data are edited with the item editing interface (a list appears above the map when the door is selected), and they can not be deleted from the room the same way a normal door bubble can. To delete a door from item data, use the <code>Advanced Item Editor<\/code> under <code>Tools<\/code>. You can also easily move the door to another room by showing the level&#8217;s items on the map, and dragging the door&#8217;s icon to a different room.<\/p>\n<p>When a room contains both a normal door bubble and a door bubble in item data, <del>the door in item data takes precedence<\/del> the <em>normal<\/em> door in <em>room data<\/em> takes precedence (thanks to <strong>Polick<\/strong> for making me aware of that). For example, in the very tall shaft in Norfair, a screen with a blue door bubble on the left is reused several times. The door going to the high jump boots <del>however, has been replaced with a red missile door<\/del> has red door bubbles in item data, but these are ignored. (The fact that these red door bubbles are not tracked by the password indicates that the developers were aware that they would not appear in-game.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know I was pretty confused about how doors work when I started messing with Metroid, and it&#8217;s been a recurring question. The trickiest part is scrolling, but I&#8217;ll go over a couple other points, too, so here&#8217;s the scoop.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,3],"tags":[17,10,13,12,9],"class_list":["post-183","post","type-post","status-publish","format-standard","hentry","category-editroid-romhacking","category-romhacking","tag-editroid","tag-hacking","tag-level-editor","tag-nes","tag-rom"],"_links":{"self":[{"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183"}],"version-history":[{"count":22,"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions"}],"predecessor-version":[{"id":520,"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=\/wp\/v2\/posts\/183\/revisions\/520"}],"wp:attachment":[{"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/snarfblam.com\/words\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}