mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-23 06:35:33 -07:00
man on roof = done
This commit is contained in:
parent
b4dc22dd07
commit
a065e43455
2 changed files with 16 additions and 2 deletions
|
@ -1538,6 +1538,8 @@ RandomizerCheck Randomizer::GetCheckFromActor(s16 sceneNum, s16 actorId, s16 act
|
||||||
} else {
|
} else {
|
||||||
return KAK_ANJU_AS_CHILD;
|
return KAK_ANJU_AS_CHILD;
|
||||||
}
|
}
|
||||||
|
case 359:
|
||||||
|
return KAK_MAN_ON_ROOF;
|
||||||
}
|
}
|
||||||
case 17:
|
case 17:
|
||||||
switch (actorId) {
|
switch (actorId) {
|
||||||
|
|
|
@ -125,16 +125,28 @@ void func_809B0558(EnAni* this, GlobalContext* globalCtx) {
|
||||||
EnAni_SetupAction(this, func_809B0524);
|
EnAni_SetupAction(this, func_809B0524);
|
||||||
}
|
}
|
||||||
gSaveContext.itemGetInf[1] |= 0x20;
|
gSaveContext.itemGetInf[1] |= 0x20;
|
||||||
|
} else {
|
||||||
|
if (gSaveContext.n64ddFlag) {
|
||||||
|
s32 getItemId =
|
||||||
|
GetRandomizedItemId(GI_HEART_PIECE, this->actor.id, this->actor.params, globalCtx->sceneNum);
|
||||||
|
func_8002F434(&this->actor, globalCtx, getItemId, 10000.0f, 200.0f);
|
||||||
} else {
|
} else {
|
||||||
func_8002F434(&this->actor, globalCtx, GI_HEART_PIECE, 10000.0f, 200.0f);
|
func_8002F434(&this->actor, globalCtx, GI_HEART_PIECE, 10000.0f, 200.0f);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void func_809B05F0(EnAni* this, GlobalContext* globalCtx) {
|
void func_809B05F0(EnAni* this, GlobalContext* globalCtx) {
|
||||||
if (Actor_TextboxIsClosing(&this->actor, globalCtx)) {
|
if (Actor_TextboxIsClosing(&this->actor, globalCtx)) {
|
||||||
EnAni_SetupAction(this, func_809B0558);
|
EnAni_SetupAction(this, func_809B0558);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gSaveContext.n64ddFlag) {
|
||||||
|
s32 getItemId = GetRandomizedItemId(GI_HEART_PIECE, this->actor.id, this->actor.params, globalCtx->sceneNum);
|
||||||
|
func_8002F434(&this->actor, globalCtx, getItemId, 10000.0f, 200.0f);
|
||||||
|
} else {
|
||||||
func_8002F434(&this->actor, globalCtx, GI_HEART_PIECE, 10000.0f, 200.0f);
|
func_8002F434(&this->actor, globalCtx, GI_HEART_PIECE, 10000.0f, 200.0f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void func_809B064C(EnAni* this, GlobalContext* globalCtx) {
|
void func_809B064C(EnAni* this, GlobalContext* globalCtx) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue