Name some script commands

This commit is contained in:
octorock
2021-12-26 23:44:43 +01:00
parent 2ccf89a1fb
commit 57f00c0eae
365 changed files with 1579 additions and 1576 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ typedef struct {
extern void sub_08078850(Entity*, u32, u8 /* TODO this is a s8 in beedle.c*/, gUnk_0810C89C_struct*);
extern void script_Object3ELeftStoneOpening; // Cutscene data type?
extern void script_Object3ELeftStoneOpening; // Cutscene data type?
extern void script_Object3ERightStoneOpening; // Cutscene data type?
const Hitbox gUnk_08114154;
+3 -3
View File
@@ -132,7 +132,7 @@ void sub_0806A550(Entity* this) {
if (this->frame == 1) {
this->frame = 0;
sub_08080964(8, 2);
gActiveScriptInfo.unk_00 |= 0x100;
gActiveScriptInfo.syncFlags |= 0x100;
SoundReq(SFX_CHEST_OPEN);
}
if ((this->frame & 0x80) != 0) {
@@ -173,7 +173,7 @@ void sub_0806A630(Entity* this) {
this->action = 1;
InitializeAnimation(this, 0x12);
}
if ((gActiveScriptInfo.unk_00 & 0x100) != 0) {
if ((gActiveScriptInfo.syncFlags & 0x100) != 0) {
GetNextFrame(this);
}
if (this->frame == 1) {
@@ -192,7 +192,7 @@ void sub_0806A830(Entity* this) {
InitializeAnimation(this, 0x14);
SetDefaultPriority(this, PRIO_MESSAGE);
}
if ((gActiveScriptInfo.unk_00 & 0x200) != 0) {
if ((gActiveScriptInfo.syncFlags & 0x200) != 0) {
DeleteThisEntity();
}
GetNextFrame(this);