Update src/object/minishSizedEntrance.c

Co-authored-by: Ibot02 <jtp.jtp@gmx.de>
This commit is contained in:
notyourav
2021-03-21 22:56:42 -07:00
committed by GitHub
parent 2773daf3a7
commit 6a79a1f4e6
+2 -3
View File
@@ -33,9 +33,8 @@ void sub_08090F00(Entity* this) {
DeleteThisEntity();
}
}
if ((((gPlayerState.flags.all & 0x80) && sub_080041A0(this, &gPlayerEntity, 4, 4)) &&
(gPlayerEntity.height.HALF.HI == 0)) &&
(((u16)gPlayerState.field_0x90.HALF.LO) & gUnk_0812225C[this->type2])) {
if ((gPlayerState.flags.all & 0x80) && sub_080041A0(this, &gPlayerEntity, 4, 4) &&
(gPlayerEntity.height.HALF.HI == 0) && (((u16)gPlayerState.field_0x90.HALF.LO) & gUnk_0812225C[this->type2])) {
DoExitTransition((Entity*)GetCurrentRoomProperty(this->actionDelay));
}
}