En_Item00

From CloudModding MM Wiki
Jump to: navigation, search

Error

En_Item00 is the file name for the Collectible Items actor. Unlike most actors, En_Item00 is stored within code, rather than an overlay, making it trickier to find information related to it.

Notes

(J) 1.0 Debug Purpose
1016B0 "Data" block start. 0x20 bytes contains the standard actor information
101720 Segment offset to the item drop icons in gameplay_keep. 17 records.
101764 Randomized item drop table. 11 records, 0x10 bytes long each. 1 byte corresponds to an item it becomes, FF is no item.
101874 B8C804 Item multiplier. Spawns self? N number of items. 1 byte for each byte in the table above.
Collision Cylinder (At least for 3D hearts)
  • Code file function 800A9908: Item drop table handler.
    • a3 = relevant argument

(J) 1.0 Item Drop Table Data

(101764 - 101874 / 801A8E04 - 801A8F14)

                0000    01FF    FF10    10FF    FF04    0FFF
FFFF    0312    00FF    FFFF    FF10    10FF    FFFF    0FFF
0303    0312    0000    FFFF    FF10    10FF    FF04    0F0E
0E03    0312    00FF    0102    FF10    10FF    FF04    0FFF
FF03    0312    1010    1010    FFFF    FFFF    FFFF    FFFF
FFFF    FFFF    FFFF    FFFF    FFFF    FFFF    FFFF    FFFF
FFFF    FFFF    FFFF    FFFF    0303    0303    0303    0303
0303    0312    0303    0303    0303    0303    0303    0303
0303    0303    0000    0001    01FF    FFFF    FFFF    FFFF
FFFF    FFFF    0101    0101    0101    0101    0102    0202
0202    0202    0505    0505    0505    0505    0505    0808
0F0F    0E0E    FFFF    FFFF    FFFF    FF04    0404    0404
0404    0404    FFFF    FFFF    FFFF    FFFF    0F0F    0F0F
0F0F    0E0E    0F0F    0F0F    0F0F    0F0F    0F0F    0E0E
0E0E    0E0E    FFFF    FFFF    0C0C    FF05    0505    0D0D
FF03    0312    0001    0102    FF05    0508    04FF    0D0F
0E03    0312    0003    030F    10FF    FFFF    FFFF    FFFF
FFFF    FFFF   

(J) 1.0 Item Drop Multiplier Table Data

(101874 - 101984 / 801A8F14 - 801A9024)

                0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0301    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0103    0301    0303    0303    0303    0303    0303    0303
0303    0303    0101    0101    0101    0101    0101    0101
0101    0101    0303    0303    0303    0303    0301    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0101    0101    0101    0101    0101
0101    0101    0101    0301    0101    0101    0101    0101
0101    0301    0101    0101    0101    0101    0101    0101
0101    0101

Item Drop Icons

(101720 - 101764 / 801A8DC0 - 801A8E04)

1.0 Debug Item Icon
04062010 Green Rupee
04062030 Blue Rupee
04062050 Red Rupee
04062090 Orange Rupee
04062070 Pink Rupee
0405E740 Recovery Heart
0405CF40 Bomb
0405BF40 Arrows x1
0405B740 Arrows x2
0405C740 Arrows x3
0405CF40 Bomb
04060810 Deku Nut
04061010 Deku Stick
04061810 Large Magic Jar
04060010 Small Magic Jar
00000000 [Blank]
0405F810 Small Key

The blank entry is equivalent to the Deku Seed drop in OoT, which was removed from MM because Child Link now uses a bow and not a slingshot.

Drop Table Types

ID Purpose
00 Green Rupee
01 Blue Rupee
02 Red Rupee
03 Recovery Heart
04 Bomb
05 Arrow (1)
06 Piece of Heart
07 Heart Container [Early]
08 Deku Seeds or Arrows (5)
09 Deku Seeds (5) or Arrows (10)
0A Deku Seeds (5) or Arrows (30)
0B Bomb (5)
0C Deku Nut
0D Deku Stick
0E Large Magic Jar
0F Small Magic Jar
10 Deku Seeds or Arrows (5)
11 Small Key
12 Flexible Drop
13 Orange Rupee
14 Pink Rupee
15 Deku Shield
16 Hylian Shield
17 Zora Tunic
18 Goron Tunic
19 Bomb (5)

The flexible drop is a special drop that will be converted into an item that you're low on. The rules are as follows:

  • If you have <= 1 heart it becomes a fairy
  • else if 1 < hearts <= 3 it becomes three hearts, or triple green Rupee if at max health
  • else if 3 < hearts <= 5 it becomes a single heart, or green Rupee if at max health
  • if you don't have magic, it skips past the MP check
  • else if you have 0 MP it becomes a Large Magic Jar
  • else if you are child and you have <= 5 seeds it becomes Deku Seeds (5), or nothing without a slingshot
  • else if you are adult and you have <= 5 arrows it becomes a large arrow bundle (10), or nothing without a bow
  • else if you have <= 5 bombs it becomes bombs (5), or nothing without a bomb item
  • else if you have <= 10 Rupees it becomes a red Rupee
  • else it becomes nothing