mirror of
https://github.com/zeldaret/tmc
synced 2026-08-16 05:09:24 -04:00
Renamed Entity fields for knockback
SolidifiedGaming identified these while glitchhunting.
This commit is contained in:
@@ -34,7 +34,7 @@ void sub_080A9334(Entity* this) {
|
||||
if ((this->bitfield & 0x3f) != 0) {
|
||||
ModHealth(-2);
|
||||
sub_080A9488(this);
|
||||
this->field_0x42 = 0;
|
||||
this->knockbackDuration = 0;
|
||||
this->iframes = 0;
|
||||
} else {
|
||||
DeleteThisEntity();
|
||||
@@ -107,7 +107,7 @@ void sub_080A9488(Entity* this) {
|
||||
this->flags &= 0x7f;
|
||||
this->actionDelay = 2;
|
||||
this->field_0x20 = 0x18000;
|
||||
this->animationState = (this->field_0x3e & 0x18) >> 3;
|
||||
this->animationState = (this->knockbackDirection & 0x18) >> 3;
|
||||
EnqueueSFX(SFX_METAL_CLINK);
|
||||
sub_080A94C0(this, this->animationState);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user