Use PlayerActions enum in several places

This commit is contained in:
Tal Hayon
2022-01-29 15:43:09 +02:00
parent fd9049f598
commit b34067cb0b
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ void sub_080929A4(Entity* this) {
// Probably related to knocking it down
void sub_08092A94(Entity* this) {
// Check for the first frame of bonking animation
if (gPlayerEntity.action != 6) {
if (gPlayerEntity.action != PLAYER_BOUNCE) {
return;
}
+1 -1
View File
@@ -413,7 +413,7 @@ void sub_08094FA8(Object6AEntity* this) {
}
break;
case 3:
if (gPlayerEntity.action != 12) {
if (gPlayerEntity.action != PLAYER_EMPTYBOTTLE) {
super->action = 4;
#ifndef EU
if (!CheckGlobalFlag(BIN_DOGFOOD)) {