Josh64

Untitled

May 29th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. has.YourCostume = false
  2. Mod.JULIEN = Isaac.GetCostumeIdByPath("gfx/characters/julien.anm2")
  3.  
  4. function Mod:onInit(player)
  5. if game:GetFrameCount() == 1 then
  6. if player:GetName() == "Julien" -- not sure about the character
  7. and has.YourCostume == false then
  8. has.YourCostume = true
  9. player:AddNullCostume(Mod.JULIEN)
  10. end
  11. end
  12. end
  13. Mod:AddCallback(ModCallbacks.MC_POST_PEFFECT_UPDATE, Mod.onInit)
Advertisement
Add Comment
Please, Sign In to add comment