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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -33,9 +33,8 @@ void sub_08090F00(Entity* this) {
DeleteThisEntity(); DeleteThisEntity();
} }
} }
if ((((gPlayerState.flags.all & 0x80) && sub_080041A0(this, &gPlayerEntity, 4, 4)) && if ((gPlayerState.flags.all & 0x80) && sub_080041A0(this, &gPlayerEntity, 4, 4) &&
(gPlayerEntity.height.HALF.HI == 0)) && (gPlayerEntity.height.HALF.HI == 0) && (((u16)gPlayerState.field_0x90.HALF.LO) & gUnk_0812225C[this->type2])) {
(((u16)gPlayerState.field_0x90.HALF.LO) & gUnk_0812225C[this->type2])) {
DoExitTransition((Entity*)GetCurrentRoomProperty(this->actionDelay)); DoExitTransition((Entity*)GetCurrentRoomProperty(this->actionDelay));
} }
} }