From 20b90a633b18acef8bc75128c3cdf5fd05f958e1 Mon Sep 17 00:00:00 2001 From: mracsys Date: Fri, 26 Aug 2022 02:50:44 -0400 Subject: [PATCH] use correct name for player trade item comparison in en_ko (#1365) --- src/overlays/actors/ovl_En_Ko/z_en_ko.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlays/actors/ovl_En_Ko/z_en_ko.c b/src/overlays/actors/ovl_En_Ko/z_en_ko.c index 13e76d5b99..c01712fccd 100644 --- a/src/overlays/actors/ovl_En_Ko/z_en_ko.c +++ b/src/overlays/actors/ovl_En_Ko/z_en_ko.c @@ -950,7 +950,7 @@ void func_80A9877C(EnKo* this, PlayState* play) { ENKO_TYPE == ENKO_TYPE_CHILD_FADO && play->sceneId == SCENE_SPOT10) { this->actor.textId = INV_CONTENT(ITEM_TRADE_ADULT) > ITEM_ODD_POTION ? 0x10B9 : 0x10DF; - if (func_8002F368(play) == ENKO_TYPE_CHILD_9) { + if (func_8002F368(play) == EXCH_ITEM_ODD_POTION) { this->actor.textId = GET_INFTABLE(INFTABLE_BC) ? 0x10B8 : 0x10B7; this->unk_210 = 0; }