Use PlayerFlags where possible

This commit is contained in:
Tal Hayon
2022-01-29 16:21:57 +02:00
parent d34aa9166f
commit b4f8429a2c
16 changed files with 40 additions and 35 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ void ShowNPCDialogue(Entity* ent, Dialog* dia) {
uVar2 = dia->data.indices.b;
break;
case 6:
if ((gPlayerState.flags & 0x80) != 0) {
if ((gPlayerState.flags & PL_MINISH) != 0) {
uVar2 = dia->data.indices.b;
} else {
uVar2 = dia->data.indices.a;