identify all player items

This commit is contained in:
theo3
2022-03-28 15:08:37 -07:00
parent 270476488f
commit 7c16e8d50a
46 changed files with 531 additions and 515 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -205,7 +205,7 @@ void sub_0802805C(Entity* this) {
}
if ((this->actionDelay & 3) == 0) {
EnqueueSFX(SFX_104);
EnqueueSFX(SFX_PLACE_OBJ);
}
}
}
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);