Advertisement
FlipelyFlip

Array Showing

Feb 18th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. array_name = [1,2,3]
  2.  
  3.  
  4. for i in 0..$game_enemy.states
  5. if array_name.include?(target.states[i])
  6. #dein code
  7. else #optional
  8. #dein code
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement