mirror of
https://github.com/zeldaret/tmc
synced 2026-08-12 11:53:02 -04:00
quick fix 🙂
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ void sub_08068FC0(Entity* ent) {
|
||||
|
||||
ent->action = 1;
|
||||
ent->animationState = ent->type2;
|
||||
ent->nonPlanarMovement = 0x40;
|
||||
ent->speed = 0x40;
|
||||
|
||||
ent->field_0x6c.HALF.HI = 0xFF;
|
||||
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ void sub_08060428(Entity* this) {
|
||||
void* data;
|
||||
|
||||
this->actionDelay = 0x5a;
|
||||
this->nonPlanarMovement = 0x180;
|
||||
this->speed = 0x180;
|
||||
if (this->type2 != 0) {
|
||||
data = GetCurrentRoomProperty(this->type2);
|
||||
} else {
|
||||
|
||||
@@ -241,7 +241,7 @@ void sub_0806AF78(Entity* this, ScriptExecutionContext* context) {
|
||||
|
||||
void sub_0806AFA0(Entity* this) {
|
||||
if (sub_0806ED78(this)) {
|
||||
sub_0806F62C(this, -this->nonPlanarMovement, this->direction);
|
||||
sub_0806F62C(this, -this->speed, this->direction);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -208,7 +208,7 @@ void sub_08061E90(Entity* this, Entity* arg1) {
|
||||
}
|
||||
this->direction = (u8)animIndex;
|
||||
this->animationState = sub_0806F5B0(animIndex);
|
||||
this->nonPlanarMovement = gUnk_0810B74A[this->type];
|
||||
this->speed = gUnk_0810B74A[this->type];
|
||||
}
|
||||
animIndex = (this->animationState >> 1) + 4;
|
||||
if (animIndex != this->animIndex) {
|
||||
|
||||
Reference in New Issue
Block a user