Twili Posted October 19, 2011 Share Posted October 19, 2011 Repost from Z64. Japanese version only right now. It starts at 0xC77F84. The first entry should be this: 03000000 801BF2CC 801D92E0 Scene has 3 entrances. Only the first byte of the first word is significant. The others are padding. Entrance index is at RAM offset 0x1BF2CC. Scene name is at RAM offset 0x1D92E0. If reading this table is to be implemented in a program, it needs a "hackish" way to follow the RAM pointers. Add 0xAB7960. Let's check out the scene name. 0x1D92E0 + 0xAB7960 = 0xC90C40. Following 0xC90C40 in the ROM, this scene's name is Z2_SONCHONOIE. For the record, this is NOT Southern Swamp, as mislabeled by the old documentation on the wiki. This is actually the Mayor's Residence. æ‘長ã®家 (soncho no ie) translates as "mayor's house". Now let's look at the entrance index. 0x1BF2CC + 0xAB7960 = 0xC76C2C. Following 0xC76C2C in the ROM, this is the entrance index: 801BF2C0 801BF2C4 801BF2C8 More RAM pointers! You know what to do. And finally, here's the entrances themselves pointed to by those offsets: 12 00 41 02 12 01 41 02 12 02 41 02 The format now is the same as OoT. First byte is the scene number. Second byte is the entrance number. Third byte is the fade-in value. Fourth byte is the fade-out value. Were you to look at scene 0x12, you would discover that it is indeed the Mayor's Residence. Note that there can be more than one entry per entrance, unlike the example here. The entrance index does not always count by 4. In the case of multiple entries for each entrance, I would assume that it has something to do with the different Link forms, but I don't know what to make of them yet. Some entrances also use peculiar scene numbers such as 0xF5, which is clearly higher than the total amount. That's another mystery at the moment. But there you go. Something I forgot to mention. I don't see any clear correlation between the exit values in scene files from MM and entries in the exit table yet... Link to comment Share on other sites More sharing options...
Twili Posted November 15, 2011 Author Share Posted November 15, 2011 Link to comment Share on other sites More sharing options...
Recommended Posts