mirror of
https://github.com/zeldaret/tmc
synced 2026-07-30 16:04:07 -04:00
Use FrameState enum in a few places
This commit is contained in:
@@ -124,7 +124,7 @@ void PullableLever_HandleSubAction0(PullableLeverEntity* this) {
|
||||
super->field_0xf = 2;
|
||||
}
|
||||
if (player->animationState >> 1 == super->type2) {
|
||||
if (gPlayerState.framestate == 0x1a) {
|
||||
if (gPlayerState.framestate == PL_STATE_PULL) {
|
||||
if (gPlayerState.heldObject & 2) {
|
||||
if (gPlayerEntity.frame & 2) {
|
||||
sub_0809153C(this);
|
||||
|
||||
Reference in New Issue
Block a user