Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- manage music
- -- manage i am error
- if Room:GetType() == RoomType.ROOM_ERROR then
- SMB8th:SpecialPlay(Isaac.GetMusicIdByName("error"), false)
- -- manage super secret room
- elseif Room:GetType() == RoomType.ROOM_SUPERSECRET then
- SMB8th:SpecialPlay(Isaac.GetMusicIdByName("supersecret"), false)
- -- manage boss rush
- elseif Room:GetType() == RoomType.ROOM_BOSSRUSH
- and Room:IsAmbushActive() then
- SMB8th:SpecialPlay(Isaac.GetMusicIdByName("bossrush"), true)
- -- manage challenges
- elseif Room:GetType() == RoomType.ROOM_CHALLENGE
- and Room:IsAmbushActive() then
- if Level:HasBossChallenge() then
- SMB8th:SpecialPlay(Isaac.GetMusicIdByName("bosschallenge"), true)
- else
- SMB8th:SpecialPlay(Isaac.GetMusicIdByName("regularchallenge"), true)
- end
- -- manage black market
- elseif Room:GetType() == RoomType.ROOM_BLACKMARKET then
- SMB8th:SpecialPlay(Isaac.GetMusicIdByName("blackmarket"), false)
- ETC.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement