This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
yoshis_story [2019/09/26 22:51] shygoo [Objects] |
yoshis_story [2019/09/26 22:52] shygoo |
||
---|---|---|---|
Line 102: | Line 102: | ||
{ | { | ||
u16 objectId; // object ID | u16 objectId; // object ID | ||
- | u16 layer; // seems to be the drawing layer, collision is active on layer 0x0001 | + | u16 tag; // purpose seems to depend on the type of object |
f32 x; // x coordinate in level | f32 x; // x coordinate in level | ||
f32 y; // y coordinate in level | f32 y; // y coordinate in level | ||
Line 112: | Line 112: | ||
The object lookup table is at 0x000A1C90 in ROM as an array of 1582 ObjectEntry structs. | The object lookup table is at 0x000A1C90 in ROM as an array of 1582 ObjectEntry structs. | ||
- | [[yoshis_story:object_ids]] | ||
==== ObjectEntry struct ==== | ==== ObjectEntry struct ==== | ||
<code C> | <code C> | ||
Line 123: | Line 122: | ||
}; | }; | ||
</code> | </code> | ||
+ | |||
+ | [[yoshis_story:object_ids]] | ||
==== ObjectDefA_00 struct ==== | ==== ObjectDefA_00 struct ==== |