mirror of
https://github.com/zeldaret/tmc
synced 2026-06-05 03:08:20 -04:00
Use PlayerFlags where possible
This commit is contained in:
@@ -137,8 +137,8 @@ u32 sub_0805B1CC(Manager1A* this) {
|
||||
u32 re = 0;
|
||||
if (CheckPlayerProximity(this->unk_20, this->unk_22, this->unk_24, this->unk_26)) {
|
||||
if ((gPlayerState.flags & PL_DROWNING) && (gPlayerState.flags & PL_BUSY)) {
|
||||
gPlayerState.flags |= 0x8000;
|
||||
} else if (gPlayerState.flags & 0x8000) {
|
||||
gPlayerState.flags |= PL_FLAGS8000;
|
||||
} else if (gPlayerState.flags & PL_FLAGS8000) {
|
||||
re = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user