1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-10 19:20:13 +00:00

use correct name for player trade item comparison in en_ko (#1365)

This commit is contained in:
mracsys 2022-08-26 02:50:44 -04:00 committed by GitHub
parent 9e2aee3fa3
commit 20b90a633b
No account linked to committer's email address

View file

@ -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;
}