Name members for R actions in struct_0200AF00

This commit is contained in:
Catobat
2023-04-30 15:10:30 +02:00
parent d1d78ed018
commit 985eeb67a1
9 changed files with 41 additions and 41 deletions
+4 -4
View File
@@ -225,9 +225,9 @@ void PlayerUpdate(Entity* this) {
static void HandlePlayerLife(Entity* this) {
u32 temp;
gUnk_0200AF00.unk_2f = 0;
gUnk_0200AF00.unk_2d = 0;
gUnk_0200AF00.unk_2e = 0;
gUnk_0200AF00.rActionPlayerState = 0;
gUnk_0200AF00.rActionInteractTile = 0;
gUnk_0200AF00.rActionGrabbing = 0;
if ((gPlayerEntity.contactFlags & 0x80) && (gPlayerEntity.iframes > 0))
SoundReq(SFX_86);
@@ -323,7 +323,7 @@ static void sub_080171F0(void) {
sub_080028E0(&gPlayerEntity);
if (gPlayerState.flags & PL_CLONING)
gUnk_0200AF00.unk_2f = 1;
gUnk_0200AF00.rActionPlayerState = 1;
sub_08078180();
gPlayerState.field_0x7 &= ~0x80;