label a bunch of stuff

This commit is contained in:
Behemoth
2020-09-01 00:57:40 +02:00
parent cc5bb0133b
commit 662e221f89
142 changed files with 670 additions and 658 deletions
+3 -3
View File
@@ -10,7 +10,7 @@
extern void sub_0807DD50(Entity *);
extern void sub_0807DD94(Entity *,u32);
extern void sub_08004488(u32);
extern void EnqueSFX(u32);
extern void sub_08080964(u32,u32);
@@ -25,11 +25,11 @@ void Carlov(Entity *this)
}
if ((this->frames.all & 0x10) != 0) {
this->frames.all = this->frames.all & 0xef;
sub_08004488(0x104);
EnqueSFX(0x104);
sub_08080964(0x10,0);
}
if ((this->frames.all & 0x20) != 0) {
this->frames.all = this->frames.all & 0xdf;
sub_08004488(0x7c);
EnqueSFX(0x7c);
}
}
+1 -1
View File
@@ -94,7 +94,7 @@ void sub_08069068(Entity* ent) {
InitAnimationForceUpdate(ent, ent->animationState + 4);
}
sub_080AEF88(ent);
ProcessMovement(ent);
UpdateAnimationSingleFrame(ent);
{
+2 -2
View File
@@ -12,7 +12,7 @@ extern void sub_0806F118(Entity*);
extern void sub_0807DDAC(Entity*, u32);
extern void sub_0807DDE4(Entity*);
extern u32 sub_080040A8(Entity*);
extern void sub_08004488(u32);
extern void EnqueSFX(u32);
extern u32 sub_0801E99C(Entity*);
extern void sub_08078784(Entity*, u32);
extern void sub_0807000C(Entity*);
@@ -99,7 +99,7 @@ void sub_08068780(Entity* this) {
if (sub_080040A8(this) == 0) {
PlaySFX(gUnk_0811153E[(s32)Random() % 3]);
} else {
sub_08004488(gUnk_08111538[(s32)Random() % 3]);
EnqueSFX(gUnk_08111538[(s32)Random() % 3]);
}
ent = CreateFx(this, 0x3d, 0x20);
if (ent != NULL) {
+2 -2
View File
@@ -27,7 +27,7 @@ extern u32 GetFacingDirection(Entity*, Entity*);
extern void sub_080606D8(Entity*);
extern void sub_0807DD94(Entity*, u32);
extern void sub_080788E0(Entity*);
extern void sub_08004488(u32);
extern void EnqueSFX(u32);
extern void sub_080606C0(Entity*);
extern void sub_0800451C(Entity*);
extern void sub_08078784(Entity*, u32);
@@ -178,7 +178,7 @@ void sub_08060528(Entity *this)
this->field_0x20 = 0x20000;
this->field_0x6c.HALF.HI = 1;
sub_080788E0(this);
sub_08004488(0x7c);
EnqueSFX(0x7c);
}
else {
this->field_0x6a.HWORD -= 1;
+1 -1
View File
@@ -222,7 +222,7 @@ void sub_08061E90(Entity* this, Entity* arg1) {
if (animIndex != this->animIndex) {
InitializeAnimation(this, animIndex);
}
sub_080AEF88(this);
ProcessMovement(this);
iVar4 = this->x.HALF.HI - *(s16*)&this->field_0x6a.HWORD;
if (0x10 < iVar4) {
this->x.HALF.HI = this->field_0x6a.HWORD + 0x10;