Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- freeslot(
- "SPR_SNCN"
- )
- addHook("MobjThinker", do
- for player in players.iterate
- if player.mo
- if player.mo.skin == "sonic"
- print "skin is sonic"
- if player.mo.state >= S_NIGHTSFLY1A and player.mo.state <= S_NIGHTSHURT32
- print "Loop segment 1"
- if player.mo.state >= S_NIGHTSFLY1A and player.mo.state <= S_NIGHTSDRILL1D
- print "Loop segment 2"
- player.mo.sprite = SPR_SNCN
- player.mo.frame = 1
- end
- end
- end
- end
- end
- end, MT_PLAYER)
Advertisement
Add Comment
Please, Sign In to add comment