April 21, 2014, 09:40:41 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: There is now an official Primary Zelda Hacking
Press!
Home
Help
Search
Login
Register
Primary Zelda Hacking
>
Oracles Hacking
>
Opinions and Experiments
>
Interaction 60
Pages: [
1
]
« previous
next »
Print
Author
Topic: Interaction 60 (Read 309 times)
Lin
ZOLE Creator
Administrator
Hero Member
Offline
Posts: 580
Interaction 60
«
on:
July 11, 2011, 09:24:41 AM »
I was tracing some stuff trying to find out how to make those statue things turn into enemies, and I came across code for interaction 2109 that would I guess create a key, and what I found was interaction 60. It appears to be an item, and when in the room as soon as you enter, you'll acquire the item. When created by something like a script, an item will appear. The ID is specified by the second byte in the interaction ID. If the interaction was a type 9 with another byte, you could set Dx43, which controls the item's level.
Pretty interesting.
~Lin
Logged
Jigglysaint
Hacking Guru
Full Member
Offline
Posts: 150
Re: Interaction 60
«
Reply #1 on:
July 11, 2011, 11:37:24 PM »
Yeah I already figured this out. In fact chests basically add interaction 60 using the data it gets from the chest data in the chest data bank. Also it appears as if D040 is hardwired to handle items, thus if you do anything fancy as to write 60 to an interaction, it should be that one. Note that most ASM routines that add items usually load the item and subindex into BC, then do a subroutine which I assume involves interaction 60.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
The Site
-----------------------------
=> Announcements
=> Suggestions
-----------------------------
Oracles Hacking
-----------------------------
=> ZOLE
===> Bug Reports
===> Progress
=> Zelda Oracles Hacking Suite
===> Beta Releases
=> ZOLE Live
=> ZOSE
===> Bug Reports
===> Progress
===> Help
===> Tutorials
===> Scripts
===> Show Off
=> Help
=> Opinions and Experiments
=> Discussion
=> Lists
=> Tutorials
=> Projects
===> Ideas
=> Tools
=> Finished Hacks
-----------------------------
Link's Awakening Hacking
-----------------------------
=> LALE
===> Suggestions
===> Bug Reports
===> Progress
=> Help
=> Opinions and Experiments
=> Discussion
=> Lists and Data
=> Tutorials
=> Projects
===> Ideas
=> Finished Hacks
-----------------------------
General GameBoy Hacking
-----------------------------
=> Hacks
=> Help
=> Documents
=> Projects
=> General GameBoy Talk
-----------------------------
Other
-----------------------------
=> General Discussion
=> Programming Discussion
Loading...