diff --git a/include/player.h b/include/player.h index d4dd3923..142e02ae 100644 --- a/include/player.h +++ b/include/player.h @@ -427,8 +427,8 @@ typedef enum { ANIM_WALK_MINISH = 0xc04, ANIM_ROLL_MINISH = 0xc08, ANIM_SWIM_MINISH = 0xc0c, - ANIM_C10 = 0xc10, - ANIM_C14 = 0xc14, + ANIM_DASH_MINISH = 0xc10, + ANIM_DASH_CHARGE_MINISH = 0xc14, ANIM_BOUNCE_MINISH = 0xc18, ANIM_DROWN_MINISH = 0xc19, ANIM_DIE1_MINISH = 0xc1a, diff --git a/src/item/itemPegasusBoots.c b/src/item/itemPegasusBoots.c index 4001405b..1f4aa52a 100644 --- a/src/item/itemPegasusBoots.c +++ b/src/item/itemPegasusBoots.c @@ -68,10 +68,10 @@ void sub_080768F8(ItemBehavior* this, u32 index) { if (bVar1 == 0) { gPlayerState.dash_state = 1; gPlayerState.bow_state = bVar1; - if ((gPlayerState.flags & PL_MINISH) == 0) { + if (!(gPlayerState.flags & PL_MINISH)) { this->timer = 0x10; } else { - gPlayerState.animation = ANIM_C14; + gPlayerState.animation = ANIM_DASH_CHARGE_MINISH; } sub_08077D38(this, index); sub_08076964(this, index); @@ -119,7 +119,7 @@ void sub_08076964(ItemBehavior* this, u32 index) { SetItemAnim(this, ANIM_WALK); return; } else { - gPlayerState.animation = ANIM_C10; + gPlayerState.animation = ANIM_DASH_MINISH; return; } } else {