Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(SamusAction==SAMUS_ACTION_CROUCH_LEFT || SamusAction==SAMUS_ACTION_CROUCH_RIGHT){
- if(Link->PressLeft){
- SamusAction=SAMUS_ACTION_CROUCH_LEFT;
- Link->PressLeft= false;
- Link->InputLeft = false;
- Link->Dir= DIR_LEFT;
- }
- else if(Link->PressRight){
- SamusAction=SAMUS_ACTION_CROUCH_RIGHT;
- Link->PressRight= false;
- Link->InputRight = false;
- Link->Dir= DIR_RIGHT;
- }
- else if(Link->PressDown && OnGround()){
- if(Link->Item[I_MORPH_BALL])isMorphed = true;
- }
- else if(Link->PressUp||Link->InputUp||Link->Jump>0)
- SamusAction= SAMUS_ACTION_NONE;
- if(SamusAction==SAMUS_ACTION_CROUCH_LEFT)
- Screen->DrawCombo(2, drawX, drawY-16, SAMUS_CROUCH_COMBO, 1, 2, SAMUS_CSET, -1, -1, 0, 0, 0, -1, 0, true, 128);
- else if(SamusAction==SAMUS_ACTION_CROUCH_RIGHT)
- Screen->DrawCombo(2, drawX, drawY-16, SAMUS_CROUCH_COMBO+1, 1, 2, SAMUS_CSET, -1, -1, 0, 0, 0, -1, 0, true, 128);
- else
- Screen->DrawCombo(2, drawX, drawY-16, SAMUS_CROUCH_COMBO+1, 1, 2, SAMUS_CSET, -1, -1, 0, 0, 0, -1, 0, true, 128);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement