UI Development notes Six interceptors mod - XCOM:EU 2012

From Nexus Mods Wiki
Jump to: navigation, search

Overview

This page contains the development notes kept during the development of the UI portion (actionscript) of the mod to enable up to six interceptors. This primarily relates to the Launch interceptors UI.

Six_interceptors_mod_-_XCOM:EU_2012


Development Notes for Sprites

Additional ship selections Launch sprite.

The goal of this set of notes is to add a 5th (and if possible a 6th) sprite to allow for more interceptors.

Basic sprite call looks like:
 <PlaceObject2 idref='225' name='ship0' depth='1' matrix='t7041,-576'/> 22 bytes
BF 06 10 00 00 00 26 01 00 E1 00 1C DC 0F B8 00 73 68 69 70 30 00

Can shave of 3 bytes by renaming 's0', and each additional sprite would take 19 bytes.

To have six sprites would take 19*6 = 114 bytes.
Existing four sprites take 22*4 = 88 bytes.

Need 114 - 88 = 26 additional bytes to add the desired sprites.

A bit earlier is some text: There are two of these blocks ... one for Firestorm, one for Interceptor.
CLICK TO LAUNCH FIGHTER -- could be simplified to LAUNCH, saving 23-6 = 17 bytes

entire section is:
<p align="left"><font face="$NormalFont" size="20" color="#808080" letterSpacing="0.000000" kerning="0">Ship Status</font></p>.¿.....ß.H...........¨...à.wû.Âÿ°#ðí3....ÿÑ8ÿ.......(..<p align="left"><font face="$TitleFont" size="20" color="#ffd138" letterSpacing="0.000000" kerning="0">CLICK TO LAUNCH FIGHTER</font></p>

Can resize the 0.000000 to 0.0 saving 5*2 bytes. The two together would free up to 27 bytes, 1 more than is needed.

original hex block to manipulate:
ÿ.)...Ú.ubþŠ.BQØudžƒ”\Qp..... ...ÿÑ8ÿ.%Õ’.]ðGŒ...¨...Û.wû.Âÿ°#ðí3....ÿÑ8ÿ.......(..  
FF 14 29 00 00 00 DA 00 75 62 FE 8A 14 42 51 D8 75 64 9E 83 94 5C 51 70 01 00 01 14 00 A0 02 00 03 FF D1 38 FF 01 25 D5 92 14 5D F0 47 8C 00 7F 09 A8 00 00 00 DB 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 

<p align="left"><font face="$TitleFont" size="20" color="#ffd138" letterSpacing="0.000000" kerning="0">CLICK TO LAUNCH FIGHTER</font></p>. 
3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 43 4C 49 43 4B 20 54 4F 20 4C 41 55 4E 43 48 20 46 49 47 48 54 45 52 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 

¿.....Û.H.........ÿ.'...Ü.ub^‡.”.`ub~†‹–.X.......€€€ÿ.%Õ‰‹—ðGè.......Ý.wû.ðÿ°.Pí1....€€€ÿ.......(..INTERCEPTOR 035.¿.....Ý.H...........*...Þ.wû.í.°.(í1K...€€€ÿ.......(..Weapon Name.¿.....Þ.H...............ß.wû.í.°.(í3K...€€€ÿ.......(.. 
BF 12 0C 00 00 00 DB 00 48 00 00 00 00 00 00 00 00 00 FF 14 27 00 00 00 DC 00 75 62 5E 87 0B 94 2E 60 75 62 7E 86 8B 96 2E 58 01 00 01 02 00 00 00 80 80 80 FF 01 25 D5 89 8B 97 F0 47 E8 00 7F 09 2E 00 00 00 DD 00 77 FB 0B F0 FF B0 15 50 ED 31 1F 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 49 4E 54 45 52 43 45 50 54 4F 52 20 30 33 35 00 BF 12 0C 00 00 00 DD 00 48 00 00 00 00 00 00 00 00 00 7F 09 2A 00 00 00 DE 00 77 FB 0B ED 7F B0 12 28 ED 31 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 57 65 61 70 6F 6E 20 4E 61 6D 65 00 BF 12 0C 00 00 00 DE 00 48 00 00 00 00 00 00 00 00 00 7F 09 9D 00 00 00 DF 00 77 FB 0B ED 7F B0 12 28 ED 33 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 

<p align="left"><font face="$NormalFont" size="20" color="#808080" letterSpacing="0.000000" kerning="0">Ship Status</font></p>. 
3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 4E 6F 72 6D 61 6C 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 38 30 38 30 38 30 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 53 68 69 70 20 53 74 61 74 75 73 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 

¿.....ß.H...........¨...à.wû.Âÿ°#ðí3....ÿÑ8ÿ.......(..  
BF 12 0C 00 00 00 DF 00 48 00 00 00 00 00 00 00 00 00 7F 09 A8 00 00 00 E0 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 

<p align="left"><font face="$TitleFont" size="20" color="#ffd138" letterSpacing="0.000000" kerning="0">CLICK TO LAUNCH FIGHTER</font></p>. 
3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 43 4C 49 43 4B 20 54 4F 20 4C 41 55 4E 43 48 20 46 49 47 48 54 45 52 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 

¿.....à.H.........ÿ.ã...á.5.ÿ.....normal.†....Æ..†....Ç..¿.....&..È..WØg€name.¿.....&..É..W¸É.weapon.¿.....&..Ê..W¹..status.¿.....&..Í.ÅZ>..:S.æ@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]ÿ.....disabled.…....Î.¿.....6..Ï..WØg€..name.¿.....6..Ð..W¸É...weapon.¿.....6..Ñ..W¹[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]ÿ.....selected.…....Ò.…....Ó.¿.....6..Ô..WØg€..name.¿.....6..Õ..W¸É...weapon.¿.....6..Ö..W¹....status.¿.....6..Ù.ÅZ>..:S.æ@..shipIcon.†....Ú..¿.....6..Û..hYOÀ..launch.¿.....6..<.._‰k€[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]ÿ.....selected_disabled.…....Ü.¿.....6..Ý..WØg€&.name.¿.....6..Þ..W¸É.&.weapon.¿.....6..ß..W¹..&.status.¿.....6..à..hYOÀ&[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]
BF 12 0C 00 00 00 E0 00 48 00 00 00 00 00 00 00 00 00 FF 09 E3 02 00 00 E1 00 35 00 FF 0A 07 00 00 00 6E 6F 72 6D 61 6C 00 86 06 06 03 00 C6 00 00 86 06 06 04 00 C7 00 00 BF 06 0F 00 00 00 26 05 00 C8 00 1D 57 D8 67 80 6E 61 6D 65 00 BF 06 11 00 00 00 26 06 00 C9 00 1D 57 B8 C9 00 77 65 61 70 6F 6E 00 BF 06 11 00 00 00 26 07 00 CA 00 1D 57 B9 03 00 73 74 61 74 75 73 00 BF 06 18 00 00 00 26 08 00 CD 00 C5 5A 3E AD 1F 3A 53 10 E6 40 73 68 69 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 FF 0A 09 00 00 00 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 CE 00 BF 06 11 00 00 00 36 05 00 CF 00 1D 57 D8 67 80 0E 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D0 00 1D 57 B8 C9 00 0E 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D1 00 1D 57 B9 03 00 0E 00 73 74 61 74 75 73 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 08 00 FF 0A 09 00 00 00 73 65 6C 65 63 74 65 64 00 85 06 03 03 00 D2 00 85 06 03 04 00 D3 00 BF 06 11 00 00 00 36 05 00 D4 00 1D 57 D8 67 80 1A 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D5 00 1D 57 B8 C9 00 1A 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D6 00 1D 57 B9 03 00 1A 00 73 74 61 74 75 73 00 BF 06 1A 00 00 00 36 08 00 D9 00 C5 5A 3E AD 1F 3A 53 10 E6 40 1A 00 73 68 69 70 49 63 6F 6E 00 86 06 06 0A 00 DA 00 00 BF 06 13 00 00 00 36 0B 00 DB 00 1D 68 59 4F C0 1A 00 6C 61 75 6E 63 68 00 BF 06 18 00 00 00 36 0C 00 3C 00 1D 5F 89 6B 80 1A 00 62 74 6E 48 65 6C 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 0A 00 02 07 0B 00 FF 0A 12 00 00 00 73 65 6C 65 63 74 65 64 5F 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 DC 00 BF 06 11 00 00 00 36 05 00 DD 00 1D 57 D8 67 80 26 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 DE 00 1D 57 B8 C9 00 26 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 DF 00 1D 57 B9 03 00 26 00 73 74 61 74 75 73 00 BF 06 13 00 00 00 36 0A 00 E0 00 1D 68 59 4F C0 26 00 6C 61 75 6E 63 68 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 00 00 

// multiship sprite defintion
FF 09 60 00 00 00 E2 00 01 00 BF 06 10 00 00 00 26 01 00 E1 00 1C DC 0F B8 00 73 68 69 70 30 00 BF 06 10 00 00 00 26 0E 00 E1 00 1C DC 09 12 E0 73 68 69 70 31 00 BF 06 10 00 00 00 26 1B 00 E1 00 1C DC 0A 6D C0 73 68 69 70 32 00 BF 06 10 00 00 00 26 28 00 E1 00 1C DC 0B C8 A0 73 68 69 70 33 00 40 00 00 00



--------------------------------------------------

reworked hex block:
ÿ.)...Ú.ubþŠ.BQØudžƒ”\Qp..... ...ÿÑ8ÿ.%Õ’.]ðGŒ...¨...Û.wû.Âÿ°#ðí3....ÿÑ8ÿ.......(..  DB

FF 14 29 00 00 00 DA 00 75 62 FE 8A 14 42 51 D8 75 64 9E 83 94 5C 51 70 01 00 01 14 00 A0 02 00 03 FF D1 38 FF 01 25 D5 92 14 5D F0 47 8C 00 

//tag that include marked up text -- reduce size by 22 = 0x16, from 0xA8 to 0x92
7F 09 92 00 00 00 DB 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 

//replace text 'CLICK TO LAUNCH FIGHTER' with 'LAUNCH' -- frees 17 bytes
  43 4C 49 43 4B 20 54 4F 20 4C 41 55 4E 43 48 20 46 49 47 48 54 45 52 with 4C 41 55 4E 43 48
//replace "0.000000" with "0.0" -- frees 5 bytes
  30 2E 30 30 30 30 30 30 with 30 2E 30
<p align="left"><font face="$TitleFont" size="20" color="#ffd138" letterSpacing="0.000000" kerning="0">CLICK TO LAUNCH FIGHTER</font></p>. 
3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 4C 41 55 4E 43 48 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 

¿.....Û.H.........ÿ.'...Ü.ub^‡.”.`ub~†‹–.X.......€€€ÿ.%Õ‰‹—ðGè.......Ý.wû.ðÿ°.Pí1....€€€ÿ.......(..INTERCEPTOR 035.¿.....Ý.H...........*...Þ.wû.í.°.(í1K...€€€ÿ.......(..Weapon Name.¿.....Þ.H...............ß.wû.í.°.(í3K...€€€ÿ.......(.. 
BF 12 0C 00 00 00 DB 00 48 00 00 00 00 00 00 00 00 00 FF 14 27 00 00 00 DC 00 75 62 5E 87 0B 94 2E 60 75 62 7E 86 8B 96 2E 58 01 00 01 02 00 00 00 80 80 80 FF 01 25 D5 89 8B 97 F0 47 E8 00 7F 09 2E 00 00 00 DD 00 77 FB 0B F0 FF B0 15 50 ED 31 1F 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 49 4E 54 45 52 43 45 50 54 4F 52 20 30 33 35 00 BF 12 0C 00 00 00 DD 00 48 00 00 00 00 00 00 00 00 00 7F 09 2A 00 00 00 DE 00 77 FB 0B ED 7F B0 12 28 ED 31 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 57 65 61 70 6F 6E 20 4E 61 6D 65 00 BF 12 0C 00 00 00 DE 00 48 00 00 00 00 00 00 00 00 00 

//tag that includes marked-up text
7F 09 9D 00 00 00 DF 00 77 FB 0B ED 7F B0 12 28 ED 33 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 

<p align="left"><font face="$NormalFont" size="20" color="#808080" letterSpacing="0.000000" kerning="0">Ship Status</font></p>. 
3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 4E 6F 72 6D 61 6C 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 38 30 38 30 38 30 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 53 68 69 70 20 53 74 61 74 75 73 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 

¿.....ß.H...........¨...à.wû.Âÿ°#ðí3....ÿÑ8ÿ.......(..  
BF 12 0C 00 00 00 DF 00 48 00 00 00 00 00 00 00 00 00 

//tag that includes marked up text -- reduce size by 22 = 0x16, from 0xA8 to 0x92
7F 09 92 00 00 00 E0 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 

//replace text 'CLICK TO LAUNCH FIGHTER' with 'LAUNCH' -- frees 17 bytes
  43 4C 49 43 4B 20 54 4F 20 4C 41 55 4E 43 48 20 46 49 47 48 54 45 52 with 4C 41 55 4E 43 48
//replace "0.000000" with "0.0" -- frees 5 bytes43 
  30 2E 30 30 30 30 30 30 with 30 2E 30
<p align="left"><font face="$TitleFont" size="20" color="#ffd138" letterSpacing="0.000000" kerning="0">CLICK TO LAUNCH FIGHTER</font></p>. 
3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 4C 41 55 4E 43 48 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 

¿.....à.H.........ÿ.ã...á.5.ÿ.....normal.†....Æ..†....Ç..¿.....&..È..WØg€name.¿.....&..É..W¸É.weapon.¿.....&..Ê..W¹..status.¿.....&..Í.ÅZ>..:S.æ@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]ÿ.....disabled.…....Î.¿.....6..Ï..WØg€..name.¿.....6..Ð..W¸É...weapon.¿.....6..Ñ..W¹[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]ÿ.....selected.…....Ò.…....Ó.¿.....6..Ô..WØg€..name.¿.....6..Õ..W¸É...weapon.¿.....6..Ö..W¹....status.¿.....6..Ù.ÅZ>..:S.æ@..shipIcon.†....Ú..¿.....6..Û..hYOÀ..launch.¿.....6..<.._‰k€[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected][email protected]ÿ.....selected_disabled.…....Ü.¿.....6..Ý..WØg€&.name.¿.....6..Þ..W¸É.&.weapon.¿.....6..ß..W¹..&.status.¿.....6..à..hYOÀ&[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]
BF 12 0C 00 00 00 E0 00 48 00 00 00 00 00 00 00 00 00 FF 09 E3 02 00 00 E1 00 35 00 FF 0A 07 00 00 00 6E 6F 72 6D 61 6C 00 86 06 06 03 00 C6 00 00 86 06 06 04 00 C7 00 00 BF 06 0F 00 00 00 26 05 00 C8 00 1D 57 D8 67 80 6E 61 6D 65 00 BF 06 11 00 00 00 26 06 00 C9 00 1D 57 B8 C9 00 77 65 61 70 6F 6E 00 BF 06 11 00 00 00 26 07 00 CA 00 1D 57 B9 03 00 73 74 61 74 75 73 00 BF 06 18 00 00 00 26 08 00 CD 00 C5 5A 3E AD 1F 3A 53 10 E6 40 73 68 69 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 FF 0A 09 00 00 00 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 CE 00 BF 06 11 00 00 00 36 05 00 CF 00 1D 57 D8 67 80 0E 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D0 00 1D 57 B8 C9 00 0E 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D1 00 1D 57 B9 03 00 0E 00 73 74 61 74 75 73 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 08 00 FF 0A 09 00 00 00 73 65 6C 65 63 74 65 64 00 85 06 03 03 00 D2 00 85 06 03 04 00 D3 00 BF 06 11 00 00 00 36 05 00 D4 00 1D 57 D8 67 80 1A 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D5 00 1D 57 B8 C9 00 1A 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D6 00 1D 57 B9 03 00 1A 00 73 74 61 74 75 73 00 BF 06 1A 00 00 00 36 08 00 D9 00 C5 5A 3E AD 1F 3A 53 10 E6 40 1A 00 73 68 69 70 49 63 6F 6E 00 86 06 06 0A 00 DA 00 00 BF 06 13 00 00 00 36 0B 00 DB 00 1D 68 59 4F C0 1A 00 6C 61 75 6E 63 68 00 BF 06 18 00 00 00 36 0C 00 3C 00 1D 5F 89 6B 80 1A 00 62 74 6E 48 65 6C 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 0A 00 02 07 0B 00 FF 0A 12 00 00 00 73 65 6C 65 63 74 65 64 5F 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 DC 00 BF 06 11 00 00 00 36 05 00 DD 00 1D 57 D8 67 80 26 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 DE 00 1D 57 B8 C9 00 26 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 DF 00 1D 57 B9 03 00 26 00 73 74 61 74 75 73 00 BF 06 13 00 00 00 36 0A 00 E0 00 1D 68 59 4F C0 26 00 6C 61 75 6E 63 68 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 00 00 

// multiship sprite defintion
<DefineSprite id='226'> (old size -- 0x60 = 96 bytes) (new size -- 0x8C = 140 bytes)
FF 09 8C 00 00 00 E2 00 01 00 
  <PlaceObject2 idref='225' name='ship0' depth='1' matrix='t7041,-1140'/>
		BF 06 10 00 00 00 26 42 00 E1 00 1C DC 0F 71 80 73 68 69 70 30 00 
									1C -- 14 bits: 0 11011100000011110111000110000000 = DC 0F 71 80
										TX : 01101110000001 =0x1B81 = 7041 
										TY : 11101110001100 =0x3B8C = -1140 
		
  <PlaceObject2 idref='225' name='ship1' depth='14' matrix='t7041,1135'/>
		BF 06 10 00 00 00 26 35 00 E1 00 1C DC 08 8D E0 73 68 69 70 31 00 
									1C -- 14 bits: 0 11011100000010001000110111100000 = DC 08 8D E0
										TX : 01101110000001 =0x1B81 = 7041 
										TY : 00010001101111 =0x46F = 1135 
		
  <PlaceObject2 idref='225' name='ship2' depth='27' matrix='t7041,3410'/>
		BF 06 10 00 00 00 26 28 00 E1 00 1C DC 09 AA 40 73 68 69 70 32 00 
									1C -- 14 bits: 0 11011100000010011010101001000000 = DC 09 AA 40
										TX : 01101110000001 =0x1B81 = 7041 
										TY : 00110101010010 =0xD52 = 3410 
		
  <PlaceObject2 idref='225' name='ship3' depth='40' matrix='t7041,5685'/>
		BF 06 10 00 00 00 26 1B 00 E1 00 1C DC 0A C6 A0 73 68 69 70 33 00 
									1C -- 14 bits: 0 11011100000010101100011010100000 = DC 0A C6 A0
										TX : 01101110000001 =0x1B81 = 7041 
										TY : 01011000110101 =0x1635 = 5685 

  <PlaceObject2 idref='225' name='ship4' depth='53' matrix='t7041,7960'/>
		BF 06 10 00 00 00 26 0E 00 E1 00 1C DC 0B E3 00 73 68 69 70 34 00 
									1C -- 14 bits: 0 11011100000010111110001100000000 = DC 0B E3 00
										TX : 01101110000001 =0x1B81 = 7041 
										TY : 01111100011000 =0x1F18 = 7960 

  <PlaceObject2 idref='225' name='ship5' depth='66' matrix='t7041,10235'/>
		BF 06 10 00 00 00 26 01 00 E1 00 1E 6E 05 3F D8 73 68 69 70 35 00 
									1E -- 15 bits: 0 01101110000001010011111111011000 = 6E 05 3F D8
										TX : 001101110000001 =0x1B81 = 7041 
										TY : 010011111111011 =0x27FB = 10235 
		
  <ShowFrame/>
40 00 00 00

----------------------------------

consolidated hex:
original:
FF 14 29 00 00 00 DA 00 75 62 FE 8A 14 42 51 D8 75 64 9E 83 94 5C 51 70 01 00 01 14 00 A0 02 00 03 FF D1 38 FF 01 25 D5 92 14 5D F0 47 8C 00 7F 09 A8 00 00 00 DB 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 43 4C 49 43 4B 20 54 4F 20 4C 41 55 4E 43 48 20 46 49 47 48 54 45 52 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 BF 12 0C 00 00 00 DB 00 48 00 00 00 00 00 00 00 00 00 FF 14 27 00 00 00 DC 00 75 62 5E 87 0B 94 2E 60 75 62 7E 86 8B 96 2E 58 01 00 01 02 00 00 00 80 80 80 FF 01 25 D5 89 8B 97 F0 47 E8 00 7F 09 2E 00 00 00 DD 00 77 FB 0B F0 FF B0 15 50 ED 31 1F 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 49 4E 54 45 52 43 45 50 54 4F 52 20 30 33 35 00 BF 12 0C 00 00 00 DD 00 48 00 00 00 00 00 00 00 00 00 7F 09 2A 00 00 00 DE 00 77 FB 0B ED 7F B0 12 28 ED 31 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 57 65 61 70 6F 6E 20 4E 61 6D 65 00 BF 12 0C 00 00 00 DE 00 48 00 00 00 00 00 00 00 00 00 7F 09 9D 00 00 00 DF 00 77 FB 0B ED 7F B0 12 28 ED 33 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 4E 6F 72 6D 61 6C 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 38 30 38 30 38 30 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 53 68 69 70 20 53 74 61 74 75 73 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 BF 12 0C 00 00 00 DF 00 48 00 00 00 00 00 00 00 00 00 7F 09 A8 00 00 00 E0 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 43 4C 49 43 4B 20 54 4F 20 4C 41 55 4E 43 48 20 46 49 47 48 54 45 52 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 BF 12 0C 00 00 00 E0 00 48 00 00 00 00 00 00 00 00 00 FF 09 E3 02 00 00 E1 00 35 00 FF 0A 07 00 00 00 6E 6F 72 6D 61 6C 00 86 06 06 03 00 C6 00 00 86 06 06 04 00 C7 00 00 BF 06 0F 00 00 00 26 05 00 C8 00 1D 57 D8 67 80 6E 61 6D 65 00 BF 06 11 00 00 00 26 06 00 C9 00 1D 57 B8 C9 00 77 65 61 70 6F 6E 00 BF 06 11 00 00 00 26 07 00 CA 00 1D 57 B9 03 00 73 74 61 74 75 73 00 BF 06 18 00 00 00 26 08 00 CD 00 C5 5A 3E AD 1F 3A 53 10 E6 40 73 68 69 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 FF 0A 09 00 00 00 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 CE 00 BF 06 11 00 00 00 36 05 00 CF 00 1D 57 D8 67 80 0E 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D0 00 1D 57 B8 C9 00 0E 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D1 00 1D 57 B9 03 00 0E 00 73 74 61 74 75 73 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 08 00 FF 0A 09 00 00 00 73 65 6C 65 63 74 65 64 00 85 06 03 03 00 D2 00 85 06 03 04 00 D3 00 BF 06 11 00 00 00 36 05 00 D4 00 1D 57 D8 67 80 1A 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D5 00 1D 57 B8 C9 00 1A 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D6 00 1D 57 B9 03 00 1A 00 73 74 61 74 75 73 00 BF 06 1A 00 00 00 36 08 00 D9 00 C5 5A 3E AD 1F 3A 53 10 E6 40 1A 00 73 68 69 70 49 63 6F 6E 00 86 06 06 0A 00 DA 00 00 BF 06 13 00 00 00 36 0B 00 DB 00 1D 68 59 4F C0 1A 00 6C 61 75 6E 63 68 00 BF 06 18 00 00 00 36 0C 00 3C 00 1D 5F 89 6B 80 1A 00 62 74 6E 48 65 6C 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 0A 00 02 07 0B 00 FF 0A 12 00 00 00 73 65 6C 65 63 74 65 64 5F 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 DC 00 BF 06 11 00 00 00 36 05 00 DD 00 1D 57 D8 67 80 26 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 DE 00 1D 57 B8 C9 00 26 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 DF 00 1D 57 B9 03 00 26 00 73 74 61 74 75 73 00 BF 06 13 00 00 00 36 0A 00 E0 00 1D 68 59 4F C0 26 00 6C 61 75 6E 63 68 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 00 00 FF 09 60 00 00 00 E2 00 01 00 BF 06 10 00 00 00 26 01 00 E1 00 1C DC 0F B8 00 73 68 69 70 30 00 BF 06 10 00 00 00 26 0E 00 E1 00 1C DC 09 12 E0 73 68 69 70 31 00 BF 06 10 00 00 00 26 1B 00 E1 00 1C DC 0A 6D C0 73 68 69 70 32 00 BF 06 10 00 00 00 26 28 00 E1 00 1C DC 0B C8 A0 73 68 69 70 33 00 40 00 00 00 

new:
FF 14 29 00 00 00 DA 00 75 62 FE 8A 14 42 51 D8 75 64 9E 83 94 5C 51 70 01 00 01 14 00 A0 02 00 03 FF D1 38 FF 01 25 D5 92 14 5D F0 47 8C 00 7F 09 92 00 00 00 DB 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 4C 41 55 4E 43 48 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 BF 12 0C 00 00 00 DB 00 48 00 00 00 00 00 00 00 00 00 FF 14 27 00 00 00 DC 00 75 62 5E 87 0B 94 2E 60 75 62 7E 86 8B 96 2E 58 01 00 01 02 00 00 00 80 80 80 FF 01 25 D5 89 8B 97 F0 47 E8 00 7F 09 2E 00 00 00 DD 00 77 FB 0B F0 FF B0 15 50 ED 31 1F 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 49 4E 54 45 52 43 45 50 54 4F 52 20 30 33 35 00 BF 12 0C 00 00 00 DD 00 48 00 00 00 00 00 00 00 00 00 7F 09 2A 00 00 00 DE 00 77 FB 0B ED 7F B0 12 28 ED 31 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 57 65 61 70 6F 6E 20 4E 61 6D 65 00 BF 12 0C 00 00 00 DE 00 48 00 00 00 00 00 00 00 00 00 7F 09 9D 00 00 00 DF 00 77 FB 0B ED 7F B0 12 28 ED 33 4B 00 90 01 80 80 80 FF 00 00 00 00 00 00 00 28 00 00 3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 4E 6F 72 6D 61 6C 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 38 30 38 30 38 30 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 30 30 30 30 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 53 68 69 70 20 53 74 61 74 75 73 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 BF 12 0C 00 00 00 DF 00 48 00 00 00 00 00 00 00 00 00 7F 09 92 00 00 00 E0 00 77 FB 0C C2 FF B0 23 F0 ED 33 1F 00 90 01 FF D1 38 FF 00 00 00 00 00 00 00 28 00 00 3C 70 20 61 6C 69 67 6E 3D 22 6C 65 66 74 22 3E 3C 66 6F 6E 74 20 66 61 63 65 3D 22 24 54 69 74 6C 65 46 6F 6E 74 22 20 73 69 7A 65 3D 22 32 30 22 20 63 6F 6C 6F 72 3D 22 23 66 66 64 31 33 38 22 20 6C 65 74 74 65 72 53 70 61 63 69 6E 67 3D 22 30 2E 30 22 20 6B 65 72 6E 69 6E 67 3D 22 30 22 3E 4C 41 55 4E 43 48 3C 2F 66 6F 6E 74 3E 3C 2F 70 3E 00 BF 12 0C 00 00 00 E0 00 48 00 00 00 00 00 00 00 00 00 FF 09 E3 02 00 00 E1 00 35 00 FF 0A 07 00 00 00 6E 6F 72 6D 61 6C 00 86 06 06 03 00 C6 00 00 86 06 06 04 00 C7 00 00 BF 06 0F 00 00 00 26 05 00 C8 00 1D 57 D8 67 80 6E 61 6D 65 00 BF 06 11 00 00 00 26 06 00 C9 00 1D 57 B8 C9 00 77 65 61 70 6F 6E 00 BF 06 11 00 00 00 26 07 00 CA 00 1D 57 B9 03 00 73 74 61 74 75 73 00 BF 06 18 00 00 00 26 08 00 CD 00 C5 5A 3E AD 1F 3A 53 10 E6 40 73 68 69 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 FF 0A 09 00 00 00 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 CE 00 BF 06 11 00 00 00 36 05 00 CF 00 1D 57 D8 67 80 0E 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D0 00 1D 57 B8 C9 00 0E 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D1 00 1D 57 B9 03 00 0E 00 73 74 61 74 75 73 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 08 00 FF 0A 09 00 00 00 73 65 6C 65 63 74 65 64 00 85 06 03 03 00 D2 00 85 06 03 04 00 D3 00 BF 06 11 00 00 00 36 05 00 D4 00 1D 57 D8 67 80 1A 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 D5 00 1D 57 B8 C9 00 1A 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 D6 00 1D 57 B9 03 00 1A 00 73 74 61 74 75 73 00 BF 06 1A 00 00 00 36 08 00 D9 00 C5 5A 3E AD 1F 3A 53 10 E6 40 1A 00 73 68 69 70 49 63 6F 6E 00 86 06 06 0A 00 DA 00 00 BF 06 13 00 00 00 36 0B 00 DB 00 1D 68 59 4F C0 1A 00 6C 61 75 6E 63 68 00 BF 06 18 00 00 00 36 0C 00 3C 00 1D 5F 89 6B 80 1A 00 62 74 6E 48 65 6C 70 49 63 6F 6E 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 02 07 05 00 02 07 06 00 02 07 07 00 02 07 0A 00 02 07 0B 00 FF 0A 12 00 00 00 73 65 6C 65 63 74 65 64 5F 64 69 73 61 62 6C 65 64 00 85 06 03 04 00 DC 00 BF 06 11 00 00 00 36 05 00 DD 00 1D 57 D8 67 80 26 00 6E 61 6D 65 00 BF 06 13 00 00 00 36 06 00 DE 00 1D 57 B8 C9 00 26 00 77 65 61 70 6F 6E 00 BF 06 13 00 00 00 36 07 00 DF 00 1D 57 B9 03 00 26 00 73 74 61 74 75 73 00 BF 06 13 00 00 00 36 0A 00 E0 00 1D 68 59 4F C0 26 00 6C 61 75 6E 63 68 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 3F 03 02 00 00 00 07 00 40 00 00 00 FF 09 8C 00 00 00 E2 00 01 00 BF 06 10 00 00 00 26 42 00 E1 00 1C DC 0F 71 80 73 68 69 70 30 00 BF 06 10 00 00 00 26 35 00 E1 00 1C DC 08 8D E0 73 68 69 70 31 00 BF 06 10 00 00 00 26 28 00 E1 00 1C DC 09 AA 40 73 68 69 70 32 00 BF 06 10 00 00 00 26 1B 00 E1 00 1C DC 0A C6 A0 73 68 69 70 33 00 BF 06 10 00 00 00 26 0E 00 E1 00 1C DC 0B E3 00 73 68 69 70 34 00 BF 06 10 00 00 00 26 01 00 E1 00 1E 6E 05 3F D8 73 68 69 70 35 00 40 00 00 00

Unfortunately, not all of the Launch Windows fit onto the screen at once.

The windows can be squeezed together. There are approximately 40 pixels = 800 thingies extra space between them.

There is also 165 empty pixels above the top launch window.

A launch window goes from 166 to 329 pixels (when inactive), so ~163 pixels high
A launch window goes from 744 to 970 pixels (when active), so ~226 pixels high.

Currently there is 2775 = 138.75 pixels of space between each sprite. This corresponds to my screen resolution of ~203 pixels between sprite.

With proper centering (see below), there is room for 5 1/3 windows. This means that the windows need to be squeezed together to at least 16/18 = 88% of original total size. Completely removing all blank space would achieve about an 80% reduction.

Lets aim for an 82% overall reduction in size, to minimize the expanded windows spilling off the edge of the screen, but still leaving a little space between interceptors. 2775 * 0.82 ~= 2275, so that will be the new offset.

The first negative offset should be about 50% of the window size, for proper centering (without having to resort to the later offset).

First offset should be around -1140.
Offsets should be :
-1140, 1135, 3410, 5685, 7960, 10235

this works with SHIP_HEIGHT_OFFSET of -48.

Reverse the stack order so that the text on the bottom is not clipped.

With fewer interceptors, the entire stack is shifted further up, instead of being shifted down.

Development Notes for Scripts

Some of this might be automatically fixed by some resizing code in RadarContactAlert, 
	this.shipListMC._y=RadarContactAlert.MAX_NUM_INTERCEPTORS/this.numInterceptors*this.shipListDefaultHeight/RadarContactAlert.MAX_NUM_INTERCEPTORS-RadarContactAlert.SHIP_HEIGHT_OFFSET*0.5;

based on the constants:
 RadarContactAlert.MAX_NUM_INTERCEPTORS
 RadarContactAlert.SHIP_HEIGHT_OFFSET
 
MAX_NUM_INTERCEPTORS can be changed by changing:
96 09 00 04 01 08 0f 07 04 00 00 00
to
96 09 00 04 01 08 0f 07 06 00 00 00

SHIP_HEIGHT_OFFSET can be changed by changing:
96 09 00 04 01 08 1a 07 28 00 00 00    // 0x28 = 40
to
96 09 00 04 01 08 1a 07 30 00 00 00 ??? d0 ff ff ff - -48

Changing the number of max interceptors fixed the issue of not being able to select the 5th window (clipping off the edge of the screen), but did not do anything to fix the placement of the sprite.

Need to change the SHIP_HEIGHT OFFSET -- it is biasing the window down toward the bottom of the screen.

Setting it to zero didn't help much. The major part of the equation is this.shipListDefaultHeight, which is defined in OnLoad via this.shipListDefaultHeight=this.shipListMC._height;

The offset calculation function has a bug in it. The MAX_NUM_INTERCEPTORS is being factored out. 

Currently function = (Max/Num) * (Height/Max) - offset * 0.5 = Height/Num - Offset * 0.5

This generates less offset the more interceptors there are, since it is an offset relative to the top edge of the screen.

Want y offset to be EffectiveHeight * 0.5 + offset

EffectiveHeight = Height * Num / Max = Height * (1 - Num/Max)

So offset should be = Height * Num/Max * 0.5 + offset

Hex code for original offset calculation: (( looks just like RPN on the old HP calculators))
		; 96 04 00 04 01 08 08
		loc0863:Push register1 "shipListMC" // 7 bytes
		; 4e
		GetMember // 1 byte
		; 96 04 00 08 0b 08 01
		Push "_y" "RadarContactAlert" // 7 bytes
		; 1c
		GetVariable
		; 96 02 00 08 0f
		Push "MAX_NUM_INTERCEPTORS"
		; 4e
		GetMember
		; 96 04 00 04 01 08 16
		Push register1 "numInterceptors"
		; 4e
		GetMember
		; 0d
		Divide
		; 96 04 00 04 01 08 0c
		Push register1 "shipListDefaultHeight"
		; 4e
		GetMember
		; 96 02 00 08 01
		Push "RadarContactAlert"
		; 1c
		GetVariable
		; 96 02 00 08 0f
		Push "MAX_NUM_INTERCEPTORS"
		; 4e
		GetMember
		; 0d
		Divide
		; 0c
		Multiply
		; 96 02 00 08 01
		Push "RadarContactAlert"
		; 1c
		GetVariable
		; 96 02 00 08 1a
		Push "SHIP_HEIGHT_OFFSET"
		; 4e
		GetMember
		; 96 09 00 06 00 00 e0 3f 00 00 00 00
		Push 0.5
		; 0c
		Multiply
		; 0b
		Subtract
		; 4f
		SetMember
		
want new hex to be:
		; 96 04 00 04 01 08 08
		loc0863:Push register1 "shipListMC" 
		; 4e
		GetMember 
		; 96 0b 00 08 0b 06 00 00 f0 3f 00 00 00 00
		Push "_y" 1.0
		; 96 04 00 04 01 08 16
		Push register1 "numInterceptors" 
		; 4e
		GetMember
		; 96 02 00 08 01
		Push "RadarContactAlert"
		; 1c
		GetVariable
		; 96 02 00 08 0f
		Push "MAX_NUM_INTERCEPTORS"
		; 4e
		GetMember
		; 0d
		Divide
		; 0b
		Subtract
		; 96 04 00 04 01 08 0c
		Push register1 "shipListDefaultHeight"
		; 4e
		GetMember
		; 0c
		Multiply
				//; 96 09 00 06 00 00 f0 3f 00 00 00 00
				//Push 1.0
		; 96 09 00 06 00 00 e0 3f 00 00 00 00
		Push 0.5
		; 0c
		Multiply
		; 96 02 00 08 01
		Push "RadarContactAlert"
		; 1c
		GetVariable
		; 96 02 00 08 1a
		Push "SHIP_HEIGHT_OFFSET"
		; 4e
		GetMember
		; 0a  
		Add
		; 4f
		SetMember

--------------------------------------------------
consolidated hex:
original: (80 bytes)
96 04 00 04 01 08 08 4e 96 04 00 08 0b 08 01 1c 96 02 00 08 0f 4e 96 04 00 04 01 08 16 4e 0d 96 04 00 04 01 08 0c 4e 96 02 00 08 01 1c 96 02 00 08 0f 4e 0d 0c 96 02 00 08 01 1c 96 02 00 08 1a 4e 96 09 00 06 00 00 e0 3f 00 00 00 00 0c 0b 4f

new:
96 04 00 04 01 08 08 4e 96 0b 00 08 0b 06 00 00 f0 3f 00 00 00 00 96 04 00 04 01 08 16 4e 96 02 00 08 01 1c 96 02 00 08 0f 4e 0d 0b 96 04 00 04 01 08 0c 4e 0c 96 09 00 06 00 00 e0 3f 00 00 00 00 0c 96 02 00 08 01 1c 96 02 00 08 1a 4e 0a 4f

This does (mostly) properly center the sprite. The top windows was aligned with the top of the screen, and the bottom window (sixth interceptor) was clipped off -- about 1/3 of the window was visible.

Need to recode the matrix offsets for the six sprites to squeeze them together a bit more. This might cause some slight overlapping of the expanded window upon mouseover.

References

Referred to by this article:

That refer to this article: