mirror of https://github.com/zeldaret/tmc.git
labeled unused minish boots animations
This commit is contained in:
parent
0fdb9c5ac2
commit
4a1bbf3dd8
|
@ -427,8 +427,8 @@ typedef enum {
|
||||||
ANIM_WALK_MINISH = 0xc04,
|
ANIM_WALK_MINISH = 0xc04,
|
||||||
ANIM_ROLL_MINISH = 0xc08,
|
ANIM_ROLL_MINISH = 0xc08,
|
||||||
ANIM_SWIM_MINISH = 0xc0c,
|
ANIM_SWIM_MINISH = 0xc0c,
|
||||||
ANIM_C10 = 0xc10,
|
ANIM_DASH_MINISH = 0xc10,
|
||||||
ANIM_C14 = 0xc14,
|
ANIM_DASH_CHARGE_MINISH = 0xc14,
|
||||||
ANIM_BOUNCE_MINISH = 0xc18,
|
ANIM_BOUNCE_MINISH = 0xc18,
|
||||||
ANIM_DROWN_MINISH = 0xc19,
|
ANIM_DROWN_MINISH = 0xc19,
|
||||||
ANIM_DIE1_MINISH = 0xc1a,
|
ANIM_DIE1_MINISH = 0xc1a,
|
||||||
|
|
|
@ -68,10 +68,10 @@ void sub_080768F8(ItemBehavior* this, u32 index) {
|
||||||
if (bVar1 == 0) {
|
if (bVar1 == 0) {
|
||||||
gPlayerState.dash_state = 1;
|
gPlayerState.dash_state = 1;
|
||||||
gPlayerState.bow_state = bVar1;
|
gPlayerState.bow_state = bVar1;
|
||||||
if ((gPlayerState.flags & PL_MINISH) == 0) {
|
if (!(gPlayerState.flags & PL_MINISH)) {
|
||||||
this->timer = 0x10;
|
this->timer = 0x10;
|
||||||
} else {
|
} else {
|
||||||
gPlayerState.animation = ANIM_C14;
|
gPlayerState.animation = ANIM_DASH_CHARGE_MINISH;
|
||||||
}
|
}
|
||||||
sub_08077D38(this, index);
|
sub_08077D38(this, index);
|
||||||
sub_08076964(this, index);
|
sub_08076964(this, index);
|
||||||
|
@ -119,7 +119,7 @@ void sub_08076964(ItemBehavior* this, u32 index) {
|
||||||
SetItemAnim(this, ANIM_WALK);
|
SetItemAnim(this, ANIM_WALK);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
gPlayerState.animation = ANIM_C10;
|
gPlayerState.animation = ANIM_DASH_MINISH;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue