Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. -- manage music
  2. -- manage i am error
  3. if Room:GetType() == RoomType.ROOM_ERROR then
  4. SMB8th:SpecialPlay(Isaac.GetMusicIdByName("error"), false)
  5. -- manage super secret room
  6. elseif Room:GetType() == RoomType.ROOM_SUPERSECRET then
  7. SMB8th:SpecialPlay(Isaac.GetMusicIdByName("supersecret"), false)
  8. -- manage boss rush
  9. elseif Room:GetType() == RoomType.ROOM_BOSSRUSH
  10. and Room:IsAmbushActive() then
  11. SMB8th:SpecialPlay(Isaac.GetMusicIdByName("bossrush"), true)
  12. -- manage challenges
  13. elseif Room:GetType() == RoomType.ROOM_CHALLENGE
  14. and Room:IsAmbushActive() then
  15. if Level:HasBossChallenge() then
  16. SMB8th:SpecialPlay(Isaac.GetMusicIdByName("bosschallenge"), true)
  17. else
  18. SMB8th:SpecialPlay(Isaac.GetMusicIdByName("regularchallenge"), true)
  19. end
  20. -- manage black market
  21. elseif Room:GetType() == RoomType.ROOM_BLACKMARKET then
  22. SMB8th:SpecialPlay(Isaac.GetMusicIdByName("blackmarket"), false)
  23. ETC.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement