mirror of
https://github.com/zeldaret/tmc
synced 2026-08-20 22:24:01 -04:00
identify all player items
This commit is contained in:
+1
-1
@@ -243,7 +243,7 @@ void sub_0802CAF8(Entity* this) {
|
||||
sub_0802CBC4(this);
|
||||
} else {
|
||||
if (this->field_0x80.HALF.HI && sub_080044EC(this, 0x2800) == 1) {
|
||||
EnqueueSFX(SFX_104);
|
||||
EnqueueSFX(SFX_PLACE_OBJ);
|
||||
}
|
||||
sub_0802CC18(this);
|
||||
RegisterCarryEntity(this);
|
||||
|
||||
@@ -90,7 +90,7 @@ void sub_080220F0(Entity* this) {
|
||||
fx->y.HALF.HI += off->v;
|
||||
}
|
||||
}
|
||||
EnqueueSFX(SFX_104);
|
||||
EnqueueSFX(SFX_PLACE_OBJ);
|
||||
} else if (this->frame & 1) {
|
||||
this->damage = 4;
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ void sub_0802805C(Entity* this) {
|
||||
}
|
||||
|
||||
if ((this->actionDelay & 3) == 0) {
|
||||
EnqueueSFX(SFX_104);
|
||||
EnqueueSFX(SFX_PLACE_OBJ);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -452,7 +452,7 @@ void sub_0802A098(Entity* this) {
|
||||
if (sub_08029F48(this)) {
|
||||
sub_08029E0C(this);
|
||||
sub_08029EEC(this);
|
||||
EnqueueSFX(SFX_104);
|
||||
EnqueueSFX(SFX_PLACE_OBJ);
|
||||
}
|
||||
|
||||
sub_08029FB4(this, this->x.HALF.HI - uVar1, this->y.HALF.HI - uVar2);
|
||||
|
||||
@@ -188,7 +188,7 @@ void Rollobite_RolledUp(Entity* this) {
|
||||
RegisterCarryEntity(this);
|
||||
} else {
|
||||
if (unk == 1)
|
||||
EnqueueSFX(SFX_104);
|
||||
EnqueueSFX(SFX_PLACE_OBJ);
|
||||
|
||||
if ((this->direction & 0x80) == 0)
|
||||
ProcessMovement2(this);
|
||||
|
||||
@@ -71,7 +71,7 @@ void RupeeLike_OnCollision(Entity* this) {
|
||||
this->field_0x82.HALF.HI = 0x41;
|
||||
this->flags2 &= 0xfc;
|
||||
this->field_0x80.HALF.LO = gPlayerEntity.spritePriority.b1;
|
||||
EnqueueSFX(SFX_104);
|
||||
EnqueueSFX(SFX_PLACE_OBJ);
|
||||
} else {
|
||||
if (this->confusedTime != 0) {
|
||||
Create0x68FX(this, FX_STARS);
|
||||
|
||||
Reference in New Issue
Block a user