mirror of
https://github.com/zeldaret/tmc
synced 2026-08-16 13:17:13 -04:00
Name some script commands
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user