frozenLake

Untitled

Feb 28th, 2016
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. freeslot(
  2. "SPR_SNCN"
  3. )
  4.  
  5. addHook("MobjThinker", do
  6. for player in players.iterate
  7. if player.mo
  8. if player.mo.skin == "sonic"
  9. print "skin is sonic"
  10. if player.mo.state >= S_NIGHTSFLY1A and player.mo.state <= S_NIGHTSHURT32
  11. print "Loop segment 1"
  12. if player.mo.state >= S_NIGHTSFLY1A and player.mo.state <= S_NIGHTSDRILL1D
  13. print "Loop segment 2"
  14. player.mo.sprite = SPR_SNCN
  15. player.mo.frame = 1
  16. end
  17. end
  18. end
  19. end
  20. end
  21. end, MT_PLAYER)
Advertisement
Add Comment
Please, Sign In to add comment