Advertisement
exodus122

OoT- Glitched Item Actions

Jan 22nd, 2019 (edited)
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. There is a table in OoT which keeps track of which action each item does. When you use a glitched item, it uses a invalid index for that table, so it reads some data immediately after that table as if it were an action value. After that table, there are a bunch of pointers to memory addresses of the form 8038xxxx, where xxxx is some hexadecimal number. It uses action 0x80 for one glitched item, 0x38 for the next, then two other values for next two items. This repeats. On most versions, every 4th glitched item uses action value 0x38, which corresponds to Eye Drops. Any action value above 0x42 crashes.
  2.  
  3. Here is a google doc with four relevant spreadsheets:
  4. https://docs.google.com/spreadsheets/d/1xnnnWGMQckNOzamxZENF9hurLahkfsHlfmMLNodS5RA/htmlview#
  5.  
  6. Sheet Explanation
  7. Item Actions (All versions): what each item does on each version
  8. Item Action List: a list of item actions in the game
  9. Item Action Values: the actions used for items 0-255 on each version (in numerical form)
  10. Item List: The list of items in the game in order, from 0-255
  11.  
  12. An example:
  13. On the Item Action Values sheet, NTSC 1.0 has a value 38 for item 129. If you go to the Item Action List sheet, then scroll down to 38 under the hex column, you will see it corresponds to Eye Drops. This means that on version 1.0, Item 129 will act like Eye Drops.
  14.  
  15. It is also worth noting that Items 89, 252, and 255 are hardcoded to certain actions, so they will not use the value on the Item Action Values table
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement