mirror of
https://github.com/zeldaret/tmc
synced 2026-08-08 02:31:11 -04:00
Decompile a few functions in objectutils
This commit is contained in:
@@ -91,7 +91,7 @@ void BigIceBlock_Action2(BigIceBlockEntity* this) {
|
||||
if (super->type != 2) {
|
||||
SetFlag(this->unk_86);
|
||||
} else {
|
||||
sub_080A2A3C(super, 0x53, 0, this->unk_86);
|
||||
CreateGroundItemWithFlags(super, 0x53, 0, this->unk_86);
|
||||
}
|
||||
}
|
||||
super->action = 3;
|
||||
|
||||
@@ -66,7 +66,7 @@ void sub_08094774(Object68Entity* this) {
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
child = sub_080A2A20(&gPlayerEntity, 0x60, 0);
|
||||
child = CreateGroundItem(&gPlayerEntity, 0x60, 0);
|
||||
super->child = child;
|
||||
if (child != NULL) {
|
||||
child->actionDelay = 1;
|
||||
|
||||
@@ -138,10 +138,10 @@ void SmallIceBlock_Action3(SmallIceBlockEntity* this) {
|
||||
}
|
||||
sub_0805EC9C(super, 0x100, gUnk_08123748[super->actionDelay >> 5], 0);
|
||||
if (super->type == 1) {
|
||||
sub_080A2A3C(super, 0x53, 0, this->unk_86);
|
||||
CreateGroundItemWithFlags(super, 0x53, 0, this->unk_86);
|
||||
SoundReq(SFX_SECRET);
|
||||
} else if (super->type == 2) {
|
||||
sub_080A2A3C(super, 0x52, 0, this->unk_86);
|
||||
CreateGroundItemWithFlags(super, 0x52, 0, this->unk_86);
|
||||
SoundReq(SFX_SECRET);
|
||||
}
|
||||
super->action = 4;
|
||||
|
||||
Reference in New Issue
Block a user