Fix Lab Man actor breaking and the invisible UI glitch (#4599)

* fix Lab Man actor breaking and the invisible UI glitch

* address review
This commit is contained in:
Pepper0ni
2024-12-01 01:59:13 +00:00
committed by GitHub
parent 573d846cd7
commit ee628059d8
2 changed files with 15 additions and 5 deletions

View File

@@ -98,9 +98,8 @@ void func_80AACA40(EnMk* this, PlayState* play) {
void func_80AACA94(EnMk* this, PlayState* play) {
if (Actor_HasParent(&this->actor, play) != 0 || !GameInteractor_Should(VB_TRADE_FROG, true, this)) {
this->actor.parent = NULL;
this->actionFunc = func_80AACA40;
Flags_SetRandomizerInf(RAND_INF_ADULT_TRADES_LH_TRADE_FROG);
if (GameInteractor_Should(VB_TRADE_TIMER_EYEDROPS, true)) {
if (GameInteractor_Should(VB_TRADE_TIMER_EYEDROPS, true, this)) {
this->actionFunc = func_80AACA40;
func_80088AA0(240);
gSaveContext.eventInf[1] &= ~1;
}