[EndBattle]
type display
level 5
HANDLER deployhandler
MODAL
SCRIPT EndBattle.BSF


[EndBattleText]
type text
x 128
y 260
width 768
height 200
textleft 138
textwidth 748
texttop 220
colour ffffffff
font BattleTextFont
center
string ids_battlewon


[EndBattleOK]
type button
x 484
y 700
width 64
height 64
file Button_Accept.dds
HOTKEY SPACE 
command disable EndBattle
gamepadbutton buttonA
sfxfocus 7
sfx 5
tooltip IDS_OK

[EndBattlePanel]
type image
x 306
y 502
width 412
height 129

[EndBattleDifficultyBack]
type image
x 295
y 530
width 320
height 110
parent EndBattlePanel

[EndBattleDifficultyButton2]
type button
x 364
y 560
width 56
height 56
file Button_Difficulty_1.dds
parent EndBattleDifficultyBack
GROUP 89
GROUPINDEX 2

[EndBattleDifficultyTab2]
type image
file Button_Selected.dds
x 354
y 550
width 65
height 65
parent EndBattleDifficultyBack
KEEPSQUARE

[EndBattleDifficultyButton1]
type button
x 424
y 560
width 56
height 56
file Button_Difficulty_2.dds
parent EndBattleDifficultyBack
GROUP 89
GROUPINDEX 1

[EndBattleDifficultyTab1]
type image
file Button_Selected.dds
x 414
y 550
width 65
height 65
parent EndBattleDifficultyBack
KEEPSQUARE

[EndBattleDifficultyButton0]
type button
x 484
y 560
width 56
height 56
file Button_Difficulty_3.dds
parent EndBattleDifficultyBack
GROUP 89
GROUPINDEX 0

[EndBattleDifficultyTab0]
type image
file Button_Selected.dds
x 474
y 550
width 65
height 65
parent EndBattleDifficultyBack
KEEPSQUARE

[EndBattleDifficultyButton3]
type button
x 544
y 560
width 56
height 56
file Button_Difficulty_4.dds
parent EndBattleDifficultyBack
GROUP 89
GROUPINDEX 3

[EndBattleDifficultyTab3]
type image
file Button_Selected.dds
x 534
y 550
width 65
height 65
parent EndBattleDifficultyBack
KEEPSQUARE

[EndBattleDifficultyButton4]
type button
x 604
y 560
width 56
height 56
file Button_Difficulty_5.dds
parent EndBattleDifficultyBack
GROUP 89
GROUPINDEX 4

[EndBattleDifficultyTab4]
type image
file Button_Selected.dds
x 594
y 550
width 65
height 65
parent EndBattleDifficultyBack
KEEPSQUARE

[EndBattleDifficultyText]
type text
x 354
y 615
width 316
height 60
colour ffffffff
border ff000000
font tinyfont
parent EndBattleDifficultyBack
center

[EndBattleChangeDiffText]
type text
x 354
y 510
width 316
height 60
colour ffffffff
border ff000000
font TooltipFont
parent EndBattleDifficultyBack
center

[EndBattle_Title]
type image
x 288
y 16
width 448
height 448
FILE Title.dds
KEEPSQUARE

[EndBattle_BarTopLeft]
type image
x 0
y 30
width 512
height 18
FILE Elements.dds
IMAGELEFT 0
IMAGETOP 0
IMAGEWIDTH 512
IMAGEHEIGHT 18

[EndBattle_BarTopRight]
type image
x 512
y 30
width 512
height 18
FILE Elements.dds
IMAGELEFT 0
IMAGETOP 0
IMAGEWIDTH 512
IMAGEHEIGHT 18

[EndBattle_BarBottomLeft]
type image
x 0
y 670
width 512
height 18
FILE Elements.dds
IMAGELEFT 0
IMAGETOP 0
IMAGEWIDTH 512
IMAGEHEIGHT 18

[EndBattle_BarBottomRight]
type image
x 512
y 670
width 512
height 18
FILE Elements.dds
IMAGELEFT 0
IMAGETOP 0
IMAGEWIDTH 512
IMAGEHEIGHT 18

[EndBattle_FadeTop]
type image
x 0
y 0
width 1024
height 44
file Fade_Down.tga

[EndBattle_FadeCentre]
type image
x 0
y 44
width 1024
height 629
FILE Fade_Centre.tga

[EndBattle_FadeBottom]
type image
x 0
y 673
width 1024
height 95
file Fade_Up.tga

[EndBattle_Back]
LEVEL 0
type image
x 0
y 0
width 1024
height 768
FILE Background.dds