mirror of
https://github.com/zeldaret/tmc
synced 2026-08-20 14:15:10 -04:00
framestate, ezlo hint
This commit is contained in:
+2
-2
@@ -25,7 +25,7 @@ void sub_08021768(Entity* this) {
|
||||
void sub_08021780(Entity* this) {
|
||||
switch (this->bitfield) {
|
||||
case 0x80:
|
||||
if (gPlayerState.field_0xa8 == 24) {
|
||||
if (gPlayerState.framestate == PL_STATE_CLIMB) {
|
||||
sub_08021768(this);
|
||||
} else {
|
||||
this->action = 5;
|
||||
@@ -219,7 +219,7 @@ void sub_08021B64(Entity* this) {
|
||||
InitializeAnimation(this, 2);
|
||||
} else {
|
||||
int iVar4 = 1;
|
||||
if (gPlayerState.field_0xa8 != 11 && gPlayerState.field_0xa8 != 20) {
|
||||
if (gPlayerState.framestate != PL_STATE_JUMP && gPlayerState.framestate != PL_STATE_CAPE) {
|
||||
if (sub_0807953C())
|
||||
iVar4 = this->type * 3 + 8;
|
||||
|
||||
|
||||
@@ -998,13 +998,13 @@ void VaatiWrathType0PreAction(Entity* this) {
|
||||
if (gSave.unk48C[3] != 0) {
|
||||
gSave.unk48C[3]--;
|
||||
} else {
|
||||
temp = gPlayerState.field_0xa9;
|
||||
temp = gPlayerState.framestate_last;
|
||||
if (temp < 2) {
|
||||
if (temp >= 0) {
|
||||
if (gPlayerState.field_0x2c == NULL) {
|
||||
if (gPlayerEntity.field_0x7a.HWORD == 0) {
|
||||
if ((gPlayerEntity.z.HALF.HI & 0x8000U) == 0 || (gPlayerState.field_0xa != 0)) {
|
||||
sub_08078AA8(0xb70, 0);
|
||||
CreateEzloHint(0xb70, 0);
|
||||
gScreenTransition.field_0x38 |= 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user