Primary Zelda Hacking

Oracles Hacking => Help => Topic started by: Fatories on June 28, 2010, 11:24:27 PM



Title: Maple
Post by: Fatories on June 28, 2010, 11:24:27 PM
So this may seem weird, but do you know what script(s) cause maple's occurrences and/or drops? If you know of any please tell me how to access them.


Title: Re: Maple
Post by: Lin on June 28, 2010, 11:51:37 PM
I have no idea, but to find out, you could set a write access point on CC46/CC35, which is the current music index (I forgot how they differ), and trace back to what controls if it's to be changed, which could lead to the maps that contain Maple's appearance. Here's a map I found for Present, but no luck searching with either a bitmask or plain bytes in a hex editor. http://www.gamefaqs.com/gbc/472313-the-legend-of-zelda-oracle-of-ages/faqs/12496


Title: Re: Maple
Post by: Jigglysaint on June 29, 2010, 12:16:26 AM
At B732 is the list of bits that determine if Maple shows up or not.  One byte equals 8 rooms.  Oddly enough, there are 3 region entries for maple, and 4 are defined as bitmasks.  Also above there somewhere is Maple's appearance ASM.  41C6 is Maple's kill counter.


Title: Re: Maple
Post by: Fatories on June 29, 2010, 12:32:05 AM
Is it possible that one of the unknown interactions is actually what causes the appearance of maple on a map?


Title: Re: Maple
Post by: Jigglysaint on June 29, 2010, 01:02:01 AM
No.  As far as I am aware, Maple is not an interaction, but an event coded seperatly.  At 44EC6 is a pointer to the graphics used for Maple's items.  Somebody else can figure out the format and where the item properties are, but it's pretty much going to be in that area.  It's also worth noting that in Seasons, the data is there, but one whole bank lower.


Title: Re: Maple
Post by: Lin on June 29, 2010, 01:53:03 AM
At B732 is the list of bits that determine if Maple shows up or not.  One byte equals 8 rooms.  Oddly enough, there are 3 region entries for maple, and 4 are defined as bitmasks.  Also above there somewhere is Maple's appearance ASM.  41C6 is Maple's kill counter.
Hmm... Either that image is wrong or I had the bitmap wrong. I'm gonna look into it.