identify more objects

This commit is contained in:
theo3
2021-12-17 11:26:16 -08:00
parent 929f6000a6
commit c2ba47d796
50 changed files with 426 additions and 425 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ typedef enum {
FORGE_HELPER,
MINISH_UNLIT_CANDLE,
MINISH_GEARS,
DOUBLE_BOOKSHELF,
DOUBLE_BOOKSHELF_STATIC,
MINISH_DECOR1,
MINISH_DECOR2,
MINISH_JAM,
@@ -7,7 +7,7 @@
extern Hitbox gHitbox_1;
void Object9E(Entity* this) {
void TreeThorns(Entity* this) {
Entity* ent;
u32 tilePos;
u8* layer;
@@ -29,7 +29,7 @@ void Object9E(Entity* this) {
SetTile(0x4066, tilePos - 1, *layer);
SetTile(0x4065, tilePos, *layer);
UpdateSpriteForCollisionLayer(this);
ent = CreateObject(OBJECT_9E, 1, 0);
ent = CreateObject(TREE_THORNS, 1, 0);
if (ent != NULL) {
this->child = ent;
CopyPosition(this, ent);