symbol StartCutscene

This commit is contained in:
theo3
2020-06-15 21:49:06 -07:00
parent d92be5f9cc
commit 80214ba9ee
17 changed files with 48 additions and 56 deletions
+18
View File
@@ -7,10 +7,15 @@ extern void sub_0807DDE4(Entity*);
extern void UpdateAnimationSingleFrame(Entity*);
extern void sub_0806ED78(Entity*);
extern void PlaySFX(u32);
extern void sub_0805E3A0(Entity*, u32);
extern void sub_0806A8C8(Entity*);
extern void sub_0807DD94(Entity*, u32);
extern void (*gUnk_08112260[])(Entity*);
extern void (*gUnk_08112278[])(Entity*);
extern void gUnk_08012F0C;
void sub_0806A358(Entity* this) {
gUnk_08112260[this->entityType.parameter1](this);
}
@@ -34,4 +39,17 @@ void sub_0806a370(Entity* this) {
PlaySFX(0x219);
}
}
}
void sub_0806A3D8(Entity *this)
{
u32 *uVar1;
this->action = 1;
this->parameter3 = 0xb4;
sub_0805E3A0(this, 2);
sub_0806A8C8(this);
uVar1 = StartCutscene(this,&gUnk_08012F0C);
*(u32 *)&this->cutsceneBeh = (u32)uVar1;
sub_0807DD94(this, 0);
}
+1 -1
View File
@@ -108,7 +108,7 @@ void sub_080656D4(Entity* this) {
} else {
if (this->interactType != 0) {
if (GetInventoryValue(0x37) != 0) { // keyLonLon
sub_0807DAD0(this, &gUnk_0800B41C);
StartCutscene(this, &gUnk_0800B41C);
goto label2;
} else {
this->field_0x69 = this->action;