Remove rando specific getitemid check (#3237)

This commit is contained in:
inspectredc 2023-10-04 16:09:00 +01:00 committed by GitHub
commit a92844fa92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,8 +134,7 @@ void func_808BAF40(BgTokiSwd* this, PlayState* play) {
BgTokiSwd_SetupAction(this, func_808BB0AC); BgTokiSwd_SetupAction(this, func_808BB0AC);
} else { } else {
Player* player = GET_PLAYER(play); Player* player = GET_PLAYER(play);
if (Actor_IsFacingPlayer(&this->actor, 0x2000) && if (Actor_IsFacingPlayer(&this->actor, 0x2000)) {
(!IS_RANDO || (IS_RANDO && player->getItemId == GI_NONE))) {
func_8002F580(&this->actor, play); func_8002F580(&this->actor, play);
} }
} }