~SA2B 2.2 Port Credits~
XG5(Me!)- Ported the level pack to 2.2
STHE123O/OmegaShow- Made the original level pack
Mr. Thompson/HYPER SONILDOW- Helped port the original 2.0 version
vectorfan1/ViluVector- Made the Big the cat sprites
Glaber- Provided the base 2.0 wad, old srb2 assets and fixed Final Rush as well as helping me out in some places 
Xian- Provided the lua script responsible for making the 8 minute unlock work

MainCfg
INTROTOPLAY = 1
GAMEDATA = SA2B.DAT
TITLESCROLLSPEED = 100
TitlePicsMode = old
Titlemap = 0
LOOPTITLE = 0
NumDemos = 0
SStage_Start = 50
SMPStage_Start = 60
TutorialMap = 0

Clear All


# Levels

Level 1
LevelName = City Escape
Subtitle = Escape from the military persuit
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = CIES
NextLevel = 2
SkyNum = 2
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 2
LevelName = Wild Canyon
Subtitle = Find 3 emeralds!
TypeOfLevel = Singleplayer,Co-op
Act = 0
Music = WDCN
NextLevel = 3
SkyNum = 2
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 3
LevelName = Prison Lane
Subtitle = Find the core of the prison!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = PRLN
NextLevel = 4
SkyNum = 2
ForceCharacter = 255
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 4
LevelName = Metal Harbor
Subtitle = Escape from the military base!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = MTHB
NextLevel = 5
SkyNum = 2
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 5
LevelName = Green Forest
Subtitle = Escape from the Island!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = GRFR
NextLevel = 6
SkyNum = 103
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 6
LevelName = Pumpkin Hill
Subtitle = Find 3 emeralds!
TypeOfLevel = Singleplayer,Co-op
Act = 0
Music = PKHL
NextLevel = 7
SkyNum = 6684
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 7
LevelName = Mission Street
Subtitle = Elude enemy persuit!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = MIST
NextLevel = 8
SkyNum = 9
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 8
LevelName = Route 101
Subtitle = Chase the President s limousine!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = RT11
NextLevel = 9
SkyNum = 2
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 9
LevelName = Hidden Base
Subtitle = Find the entrace to Hidden Base!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = HDBS
NextLevel = 10
SkyNum = 2
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 10
LevelName = Pyramid Cave
Subtitle = Infiltrate Eggman's hidden Base!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = PYCV
NextLevel = 11
SkyNum = 9
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 11
LevelName = Death Chamber
Subtitle = Find 3 emeralds!
TypeOfLevel = Singleplayer,Co-op
Act = 0
Music = DTCH
NextLevel = 12
SkyNum = 9
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 12
LevelName = Eternal Engine
Subtitle = Destroy the power generator!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = ENEG
NextLevel = 13
SkyNum = 9
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 13
LevelName = Meteor Herd
Subtitle = Find 3 emeralds!
TypeOfLevel = Singleplayer,Co-op
Act = 0
Music = MTHR
NextLevel = 14
SkyNum = 9
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 14
LevelName = Final Rush
Subtitle = Hurry and find the cannon!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = FLRS
NextLevel = 1102
SkyNum = 9
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
LevelSelect = 1
SelectHeading = Levels
SaveGame = true

Level 15
LevelName = 2D City Escape
Subtitle = Get to the goal!
TypeOfLevel = Singleplayer,Co-op,2D
Act = 0
Music = CIES
SkyNum = 2
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
Unlockable = 4
LevelSelect = 2
SelectHeading = Bonus Stages
NextLevel = 1100

Level 16
LevelName = Green Hill
Subtitle = Get to the goal!
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = MP_GHZ
SkyNum = 2
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
Unlockable = 6
LevelSelect = 2
SelectHeading = Bonus Stages
NextLevel = 1100

Level 17
LevelName = Extra level
Subtitle = :P
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = MAPAKM
NextLevel = 1100
SkyNum = 9
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
Unlockable = 8
SelectHeading = Bonus Stages
LevelSelect = 2

Level 18
LevelName = Chao Garden
Subtitle = Welcome to Chao World!
TypeOfLevel = Singleplayer,Co-op
NoZone = 1
Music = CHAO
SkyNum = 2
Hidden = 0
NextLevel = 1100
RecordAttack = false
Unlockable = 5
SelectHeading = Bonus Stages
LevelSelect = 2

Level 101
LevelName = Kingdom Valley
Subtitle = The famous NG level
TypeOfLevel = Singleplayer,Co-op,Competition,Race
Act = 0
Music = KGVL
NextLevel = 1100
SkyNum = 20
Weather = 0
NoZone = 1
Hidden = 0
RecordAttack = true
Unlockable = 7
SelectHeading = Bonus Stages
LevelSelect = 2

# Unlocks

Unlockable 1
Name = Record Attack
Objective = Complete City Escape
Type = RecordAttack
Height = 30
ConditionSet = 1
var = 1

Unlockable 2
Name = Level Select
Objective = Beat Hero story
Type = LevelSelect
Height = 30
ConditionSet = 2
var = 1

Unlockable 3
Name = Bonus Levels
Objective = Unlock a bonus level
Type = LevelSelect
Height = 40
ConditionSet = 3
var = 2
NoCecho = true

Unlockable 4
Name = 2D City Escape
Objective = Beat 1P w/emeralds
ConditionSet = 4
Type = Warp
Var = 15

Unlockable 5
Name = Chao Garden
Objective = Get 15 Emblems
ConditionSet = 5
Type = Warp
Var = 18

Unlockable 6
Name = Green Hill
Objective = Get 35 Emblems
ConditionSet = 6
Type = Warp
Var = 19

Unlockable 7
Name = Kingdom Valley
Objective = Get ALL Emblems
ConditionSet = 7
Type = Warp
Var = a1

Unlockable 8
Name = Extra Level
Objective = Complete game in 8 minutes
ConditionSet = 8
Type = Warp
Var = 17

#---#

# Complete City Escape
ConditionSet 1
Condition 1 = MapBeaten 01

# Complete Story
ConditionSet 2
Condition 1 = GameClear

# Unlock a bonus level
ConditionSet 3
Condition 1 = AllEmeralds
Condition 2 = TotalEmblems 15
Condition 3 = Trigger 7

# Complete 1P w/emeralds
ConditionSet 4
Condition 1 = AllEmeralds

# Find 15 Emblems
ConditionSet 5
Condition1 = TotalEmblems 15

# Find 35 Emblems
ConditionSet 6
Condition1 = TotalEmblems 35

# Find All Emblems
ConditionSet 7
Condition1 = TotalEmblems 41

# Complete game in 8 minutes
ConditionSet 8
Condition1 = Trigger 8

# Extra Emblems

ExtraEmblem 1
Name = Complete Story
Objective = Complete Story
Sprite = U
Color = SKINCOLOR_BLUE
ConditionSet = 2

ExtraEmblem 2
Name = Complete w/emeralds
Objective = Complete w/emeralds
Sprite = H
Color = SKINCOLOR_EMERALD
ConditionSet = 4

# Emblems

# City Escape

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 01
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 01
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 01
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Wild Canyon

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 02
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 02
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 02
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Prison Lane

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 03
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 03
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 03
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Metal Harbor

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 04
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 04
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 04
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Green Forest

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 05
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 05
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 05
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Pumpkin Hill

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 06
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 06
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 06
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Mission Street

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 07
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 07
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 07
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Hidden Base

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 09
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 09
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 09
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Pyramid Cave

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 10
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 10
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 10
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Death Chamber

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 11
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 11
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 11
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Eternal Engine

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 12
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 12
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 12
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Meteor Herd

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 13
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 13
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 13
Sprite = W
Skin = 2
Color = SKINCOLOR_RED

# Final Rush

Emblem
Type = Global
var = 0
Tag = 0
MapNum = 14
Sprite = U
Skin = 0
Color = SKINCOLOR_BLUE

Emblem
Type = Global
var = 0
Tag = 1
MapNum = 14
Sprite = V
Skin = 1
Color = SKINCOLOR_ORANGE

Emblem
Type = Global
var = 0
Tag = 2
MapNum = 14
Sprite = W
Skin = 2
Color = SKINCOLOR_RED
