mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-07 14:50:15 +00:00
Decompiles Overlay_DoRelocation (#149)
* decompile Overlay_DoRelocation * add non-matching comments
This commit is contained in:
parent
43dfaa7518
commit
9a478a96ec
2 changed files with 129 additions and 3 deletions
|
@ -208,7 +208,7 @@ void func_809ECA50(EnDha* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
} else {
|
||||
unkVar = ~0x80;
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (&this->actor == player->actor.attachedA) {
|
||||
player->stateFlags2 &= unkVar;
|
||||
player->actor.attachedA = NULL;
|
||||
|
@ -230,7 +230,7 @@ void func_809ECF60(EnDha* this) {
|
|||
void func_809ECF8C(EnDha* this, GlobalContext* globalCtx) {
|
||||
Player* player = PLAYER;
|
||||
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (&this->actor == player->actor.attachedA) {
|
||||
player->stateFlags2 &= ~0x80;
|
||||
player->actor.attachedA = NULL;
|
||||
|
@ -267,7 +267,7 @@ void EnDha_Die(EnDha* this, GlobalContext* globalCtx) {
|
|||
Vec3f vector;
|
||||
Player* player = PLAYER;
|
||||
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (player->stateFlags2 & 0x80) {
|
||||
if (&this->actor == player->actor.attachedA) {
|
||||
player->stateFlags2 &= ~0x80;
|
||||
player->actor.attachedA = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue