mirror of
https://github.com/zeldaret/tmc
synced 2026-06-30 11:51:43 -04:00
Use PlayerActions enum in several places
This commit is contained in:
+2
-2
@@ -64,7 +64,7 @@ void nullsub_110(void) {
|
||||
|
||||
void sub_080663D4(Entity* this) {
|
||||
if (this->x.HALF.HI == this->field_0x7c.HALF_U.HI - 8) {
|
||||
if (gPlayerEntity.action != 0xf) {
|
||||
if (gPlayerEntity.action != PLAYER_080720DC) {
|
||||
this->action = 4;
|
||||
this->direction = 0;
|
||||
this->speed = 0;
|
||||
@@ -95,7 +95,7 @@ void sub_0806643C(Entity* this) {
|
||||
}
|
||||
|
||||
void sub_08066474(void) {
|
||||
if (gPlayerEntity.action != 0xf) {
|
||||
if (gPlayerEntity.action != PLAYER_080720DC) {
|
||||
gUnk_02034490[0] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -132,7 +132,7 @@ void sub_0806B540(Entity* this) {
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if ((gPlayerEntity.action != 8)) {
|
||||
if ((gPlayerEntity.action != PLAYER_ITEMGET)) {
|
||||
context->wait = 0x2d;
|
||||
return;
|
||||
}
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ void sub_080652E4(Entity* this) {
|
||||
if (this->actionDelay != 0) {
|
||||
this->actionDelay -= 1;
|
||||
} else {
|
||||
if (gPlayerEntity.action != 8) {
|
||||
if (gPlayerEntity.action != PLAYER_ITEMGET) {
|
||||
this->subAction += 1;
|
||||
MessageNoOverlap(0x2c19, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user