Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. def multishine(ai_state, controller):
  2. #If standing, crouching, landing, or squatting, shine
  3. if ai_state.action == enums.Action.STANDING or ai_state.action == enums.Action.LANDING\
  4. or ai_state.action == enums.Action.DAMAGE_NEUTRAL_2:
  5. controller.press_button(enums.Button.BUTTON_B)
  6. controller.tilt_analog(enums.Button.BUTTON_MAIN, .5, 0)
  7. return
  8. else:
  9. print(ai_state.action)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement