Skip to navigation

Elite on the BBC Micro and NES

Ship blueprints O

[Elite-A]

ELITE-A SHIP BLUEPRINTS FILE O Elite-A is an extended version of BBC Micro Elite by Angus Duggan The original Elite was written by Ian Bell and David Braben and is copyright Acornsoft 1984, and the extra code in Elite-A is copyright Angus Duggan The code on this site is identical to Angus Duggan's source discs (it's just been reformatted, and the label names have been changed to be consistent with the sources for the original BBC Micro disc version on which it is based) The commentary is copyright Mark Moxon, and any misunderstandings or mistakes in the documentation are entirely my fault The terminology and notations used in this commentary are explained at https://www.bbcelite.com/terminology The deep dive articles referred to in this commentary can be found at https://www.bbcelite.com/deep_dives
This source file produces the following binary file: * S.O.bin
INCLUDE "1-source-files/main-sources/elite-build-options.asm" _RELEASED = (_VARIANT = 1) _SOURCE_DISC = (_VARIANT = 2) _BUG_FIX = (_VARIANT = 3) GUARD &6000 \ Guard against assembling over screen memory
Configuration variables
CODE% = &5600 \ The flight code runs this file at address &5600, at \ label XX21 LOAD% = &5600 \ The flight code loads this file at address &5600, at \ label XX21 SHIP_MISSILE = &7F00 \ The address of the missile ship blueprint \ \ [Show more]
\ \ This variable is used by the following: \ \ * XX21 \ \ This list only includes code that refers to the \ variable by name; there may be other references to \ this memory location that don't use this label, and \ these will not be mentioned above
ORG CODE%
Name: XX21 [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprints lookup table for the S.O file Deep dive: Ship blueprints in Elite-A
Context: See this variable on its own page References: No direct references to this variable in this source file
.XX21 EQUW SHIP_MISSILE \ MSL = 1 = Missile Missile EQUW SHIP_CORIOLIS \ SST = 2 = Coriolis space station Station EQUW SHIP_ESCAPE_POD \ ESC = 3 = Escape pod Escape pod EQUW 0 \ Cargo EQUW SHIP_CANISTER \ OIL = 5 = Cargo canister Cargo EQUW SHIP_BOULDER \ 6 = Boulder Mining EQUW SHIP_ASTEROID \ AST = 7 = Asteroid Mining EQUW SHIP_SPLINTER \ SPL = 8 = Splinter Mining EQUW SHIP_SHUTTLE_MK_2 \ SHU = 9 = Shuttle Mk II Shuttle EQUW 0 \ Transporter EQUW SHIP_PYTHON \ 11 = Python Trader EQUW SHIP_MORAY \ 12 = Moray Trader EQUW SHIP_ADDER \ 13 = Adder Trader EQUW 0 \ Large ship EQUW 0 \ Small ship EQUW SHIP_VIPER \ COPS = 16 = Viper Cop EQUW SHIP_COBRA_MK_1 \ 17 = Cobra Mk I Pirate EQUW 0 \ Pirate EQUW SHIP_ADDER \ 19 = Adder Pirate EQUW 0 \ Pirate EQUW 0 \ Pirate EQUW SHIP_MORAY \ 22 = Moray Pirate EQUW SHIP_PYTHON \ 23 = Python Pirate EQUW 0 \ Pirate EQUW 0 \ Bounty hunter EQUW 0 \ Bounty hunter EQUW SHIP_MORAY \ 27 = Moray Bounty hunter EQUW SHIP_ADDER \ 28 = Adder Bounty hunter EQUW 0 \ Thargoid EQUW 0 \ Thargoid EQUW 0 \ Constrictor
Name: E% [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprints default NEWB flags for the S.O file Deep dive: Ship blueprints in Elite-A Advanced tactics with the NEWB flags
Context: See this variable on its own page References: No direct references to this variable in this source file
.E% EQUB %00000000 \ Missile EQUB %01000000 \ Coriolis space station Cop EQUB %01000001 \ Escape pod Trader, cop EQUB 0 EQUB %00000000 \ Cargo canister EQUB %00000000 \ Boulder EQUB %00000000 \ Asteroid EQUB %00000000 \ Splinter EQUB %00100001 \ Shuttle Mk II Trader, innocent EQUB 0 EQUB %10100000 \ Python Innocent, escape pod EQUB %10100001 \ Moray Trader, innocent, escape pod EQUB %10100000 \ Adder Innocent, escape pod EQUB 0 EQUB 0 EQUB %11000010 \ Viper Bounty hunter, cop, escape pod EQUB %10001100 \ Cobra Mk I Hostile, pirate, escape pod EQUB 0 EQUB %10000100 \ Adder Hostile, escape pod EQUB 0 EQUB 0 EQUB %10001100 \ Moray Hostile, pirate, escape pod EQUB %10000100 \ Python Hostile, escape pod EQUB 0 EQUB 0 EQUB 0 EQUB %10000010 \ Moray Bounty hunter, escape pod EQUB %10100010 \ Adder Bounty hunter, innocent, escape pod EQUB 0 EQUB 0 EQUB 0
Name: VERTEX [Show more] Type: Macro Category: Drawing ships Summary: Macro definition for adding vertices to ship blueprints Deep dive: Ship blueprints
Context: See this macro on its own page References: This macro is used as follows: * SHIP_ADDER uses VERTEX * SHIP_ASTEROID uses VERTEX * SHIP_BOULDER uses VERTEX * SHIP_CANISTER uses VERTEX * SHIP_COBRA_MK_1 uses VERTEX * SHIP_CORIOLIS uses VERTEX * SHIP_ESCAPE_POD uses VERTEX * SHIP_MORAY uses VERTEX * SHIP_PYTHON uses VERTEX * SHIP_SHUTTLE_MK_2 uses VERTEX * SHIP_SPLINTER uses VERTEX * SHIP_VIPER uses VERTEX

The following macro is used to build the ship blueprints: VERTEX x, y, z, face1, face2, face3, face4, visibility See the deep dive on "Ship blueprints" for details of how vertices are stored in the ship blueprints, and the deep dive on "Drawing ships" for information on how vertices are used to draw 3D wireframe ships.
Arguments: x The vertex's x-coordinate y The vertex's y-coordinate z The vertex's z-coordinate face1 The number of face 1 associated with this vertex face2 The number of face 2 associated with this vertex face3 The number of face 3 associated with this vertex face4 The number of face 4 associated with this vertex visibility The visibility distance, beyond which the vertex is not shown
MACRO VERTEX x, y, z, face1, face2, face3, face4, visibility IF x < 0 s_x = 1 << 7 ELSE s_x = 0 ENDIF IF y < 0 s_y = 1 << 6 ELSE s_y = 0 ENDIF IF z < 0 s_z = 1 << 5 ELSE s_z = 0 ENDIF s = s_x + s_y + s_z + visibility f1 = face1 + (face2 << 4) f2 = face3 + (face4 << 4) ax = ABS(x) ay = ABS(y) az = ABS(z) EQUB ax, ay, az, s, f1, f2 ENDMACRO
Name: EDGE [Show more] Type: Macro Category: Drawing ships Summary: Macro definition for adding edges to ship blueprints Deep dive: Ship blueprints
Context: See this macro on its own page References: This macro is used as follows: * SHIP_ADDER uses EDGE * SHIP_ASTEROID uses EDGE * SHIP_BOULDER uses EDGE * SHIP_CANISTER uses EDGE * SHIP_COBRA_MK_1 uses EDGE * SHIP_CORIOLIS uses EDGE * SHIP_ESCAPE_POD uses EDGE * SHIP_MORAY uses EDGE * SHIP_PYTHON uses EDGE * SHIP_SHUTTLE_MK_2 uses EDGE * SHIP_VIPER uses EDGE

The following macro is used to build the ship blueprints: EDGE vertex1, vertex2, face1, face2, visibility See the deep dive on "Ship blueprints" for details of how edges are stored in the ship blueprints, and the deep dive on "Drawing ships" for information on how edges are used to draw 3D wireframe ships.
Arguments: vertex1 The number of the vertex at the start of the edge vertex1 The number of the vertex at the end of the edge face1 The number of face 1 associated with this edge face2 The number of face 2 associated with this edge visibility The visibility distance, beyond which the edge is not shown
MACRO EDGE vertex1, vertex2, face1, face2, visibility f = face1 + (face2 << 4) EQUB visibility, f, vertex1 << 2, vertex2 << 2 ENDMACRO
Name: FACE [Show more] Type: Macro Category: Drawing ships Summary: Macro definition for adding faces to ship blueprints Deep dive: Ship blueprints
Context: See this macro on its own page References: This macro is used as follows: * SHIP_ADDER uses FACE * SHIP_ASTEROID uses FACE * SHIP_BOULDER uses FACE * SHIP_CANISTER uses FACE * SHIP_COBRA_MK_1 uses FACE * SHIP_CORIOLIS uses FACE * SHIP_ESCAPE_POD uses FACE * SHIP_MORAY uses FACE * SHIP_PYTHON uses FACE * SHIP_SHUTTLE_MK_2 uses FACE * SHIP_SPLINTER uses FACE * SHIP_VIPER uses FACE

The following macro is used to build the ship blueprints: FACE normal_x, normal_y, normal_z, visibility See the deep dive on "Ship blueprints" for details of how faces are stored in the ship blueprints, and the deep dive on "Drawing ships" for information on how faces are used to draw 3D wireframe ships.
Arguments: normal_x The face normal's x-coordinate normal_y The face normal's y-coordinate normal_z The face normal's z-coordinate visibility The visibility distance, beyond which the edge is always shown
MACRO FACE normal_x, normal_y, normal_z, visibility IF normal_x < 0 s_x = 1 << 7 ELSE s_x = 0 ENDIF IF normal_y < 0 s_y = 1 << 6 ELSE s_y = 0 ENDIF IF normal_z < 0 s_z = 1 << 5 ELSE s_z = 0 ENDIF s = s_x + s_y + s_z + visibility ax = ABS(normal_x) ay = ABS(normal_y) az = ABS(normal_z) EQUB s, ax, ay, az ENDMACRO
Name: SHIP_CORIOLIS [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a Coriolis space station Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_CORIOLIS
.SHIP_CORIOLIS EQUB 0 \ Max. canisters on demise = 0 EQUW 160 * 160 \ Targetable area = 160 * 160 EQUB LO(SHIP_CORIOLIS_EDGES - SHIP_CORIOLIS) \ Edges data offset (low) EQUB LO(SHIP_CORIOLIS_FACES - SHIP_CORIOLIS) \ Faces data offset (low) EQUB 85 \ Max. edge count = (85 - 1) / 4 = 21 EQUB 0 \ Gun vertex = 0 EQUB 54 \ Explosion count = 12, as (4 * n) + 6 = 54 EQUB 96 \ Number of vertices = 96 / 6 = 16 EQUB 28 \ Number of edges = 28 EQUW 0 \ Bounty = 0 EQUB 56 \ Number of faces = 56 / 4 = 14 EQUB 120 \ Visibility distance = 120 EQUB 240 \ Max. energy = 240 EQUB 0 \ Max. speed = 0 EQUB HI(SHIP_CORIOLIS_EDGES - SHIP_CORIOLIS) \ Edges data offset (high) EQUB HI(SHIP_CORIOLIS_FACES - SHIP_CORIOLIS) \ Faces data offset (high) EQUB 0 \ Normals are scaled by = 2^0 = 1 EQUB %00000110 \ Laser power = 0 \ Missiles = 6 .SHIP_CORIOLIS_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX 160, 0, 160, 0, 1, 2, 6, 31 \ Vertex 0 VERTEX 0, 160, 160, 0, 2, 3, 8, 31 \ Vertex 1 VERTEX -160, 0, 160, 0, 3, 4, 7, 31 \ Vertex 2 VERTEX 0, -160, 160, 0, 1, 4, 5, 31 \ Vertex 3 VERTEX 160, -160, 0, 1, 5, 6, 10, 31 \ Vertex 4 VERTEX 160, 160, 0, 2, 6, 8, 11, 31 \ Vertex 5 VERTEX -160, 160, 0, 3, 7, 8, 12, 31 \ Vertex 6 VERTEX -160, -160, 0, 4, 5, 7, 9, 31 \ Vertex 7 VERTEX 160, 0, -160, 6, 10, 11, 13, 31 \ Vertex 8 VERTEX 0, 160, -160, 8, 11, 12, 13, 31 \ Vertex 9 VERTEX -160, 0, -160, 7, 9, 12, 13, 31 \ Vertex 10 VERTEX 0, -160, -160, 5, 9, 10, 13, 31 \ Vertex 11 VERTEX 10, -30, 160, 0, 0, 0, 0, 30 \ Vertex 12 VERTEX 10, 30, 160, 0, 0, 0, 0, 30 \ Vertex 13 VERTEX -10, 30, 160, 0, 0, 0, 0, 30 \ Vertex 14 VERTEX -10, -30, 160, 0, 0, 0, 0, 30 \ Vertex 15 .SHIP_CORIOLIS_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 3, 0, 1, 31 \ Edge 0 EDGE 0, 1, 0, 2, 31 \ Edge 1 EDGE 1, 2, 0, 3, 31 \ Edge 2 EDGE 2, 3, 0, 4, 31 \ Edge 3 EDGE 3, 4, 1, 5, 31 \ Edge 4 EDGE 0, 4, 1, 6, 31 \ Edge 5 EDGE 0, 5, 2, 6, 31 \ Edge 6 EDGE 5, 1, 2, 8, 31 \ Edge 7 EDGE 1, 6, 3, 8, 31 \ Edge 8 EDGE 2, 6, 3, 7, 31 \ Edge 9 EDGE 2, 7, 4, 7, 31 \ Edge 10 EDGE 3, 7, 4, 5, 31 \ Edge 11 EDGE 8, 11, 10, 13, 31 \ Edge 12 EDGE 8, 9, 11, 13, 31 \ Edge 13 EDGE 9, 10, 12, 13, 31 \ Edge 14 EDGE 10, 11, 9, 13, 31 \ Edge 15 EDGE 4, 11, 5, 10, 31 \ Edge 16 EDGE 4, 8, 6, 10, 31 \ Edge 17 EDGE 5, 8, 6, 11, 31 \ Edge 18 EDGE 5, 9, 8, 11, 31 \ Edge 19 EDGE 6, 9, 8, 12, 31 \ Edge 20 EDGE 6, 10, 7, 12, 31 \ Edge 21 EDGE 7, 10, 7, 9, 31 \ Edge 22 EDGE 7, 11, 5, 9, 31 \ Edge 23 EDGE 12, 13, 0, 0, 30 \ Edge 24 EDGE 13, 14, 0, 0, 30 \ Edge 25 EDGE 14, 15, 0, 0, 30 \ Edge 26 EDGE 15, 12, 0, 0, 30 \ Edge 27 .SHIP_CORIOLIS_FACES \ normal_x, normal_y, normal_z, visibility FACE 0, 0, 160, 31 \ Face 0 FACE 107, -107, 107, 31 \ Face 1 FACE 107, 107, 107, 31 \ Face 2 FACE -107, 107, 107, 31 \ Face 3 FACE -107, -107, 107, 31 \ Face 4 FACE 0, -160, 0, 31 \ Face 5 FACE 160, 0, 0, 31 \ Face 6 FACE -160, 0, 0, 31 \ Face 7 FACE 0, 160, 0, 31 \ Face 8 FACE -107, -107, -107, 31 \ Face 9 FACE 107, -107, -107, 31 \ Face 10 FACE 107, 107, -107, 31 \ Face 11 FACE -107, 107, -107, 31 \ Face 12 FACE 0, 0, -160, 31 \ Face 13
Name: SHIP_ESCAPE_POD [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for an escape pod Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_ESCAPE_POD
.SHIP_ESCAPE_POD EQUB 0 + (2 << 4) \ Max. canisters on demise = 0 \ Market item when scooped = 2 + 1 = 3 (slaves) EQUW 16 * 16 \ Targetable area = 16 * 16 EQUB LO(SHIP_ESCAPE_POD_EDGES - SHIP_ESCAPE_POD) \ Edges data offset (low) EQUB LO(SHIP_ESCAPE_POD_FACES - SHIP_ESCAPE_POD) \ Faces data offset (low) EQUB 25 \ Max. edge count = (25 - 1) / 4 = 6 EQUB 0 \ Gun vertex = 0 EQUB 22 \ Explosion count = 4, as (4 * n) + 6 = 22 EQUB 24 \ Number of vertices = 24 / 6 = 4 EQUB 6 \ Number of edges = 6 EQUW 0 \ Bounty = 0 EQUB 16 \ Number of faces = 16 / 4 = 4 EQUB 8 \ Visibility distance = 8 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 17 \ Max. energy = 17 \ --- And replaced by: --------------------------------> EQUB 8 \ Max. energy = 8 \ --- End of replacement ------------------------------> EQUB 8 \ Max. speed = 8 EQUB HI(SHIP_ESCAPE_POD_EDGES - SHIP_ESCAPE_POD) \ Edges data offset (high) EQUB HI(SHIP_ESCAPE_POD_FACES - SHIP_ESCAPE_POD) \ Faces data offset (high) EQUB 4 \ Normals are scaled by = 2^4 = 16 EQUB %00000000 \ Laser power = 0 \ Missiles = 0 .SHIP_ESCAPE_POD_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX -7, 0, 36, 2, 1, 3, 3, 31 \ Vertex 0 VERTEX -7, -14, -12, 2, 0, 3, 3, 31 \ Vertex 1 VERTEX -7, 14, -12, 1, 0, 3, 3, 31 \ Vertex 2 VERTEX 21, 0, 0, 1, 0, 2, 2, 31 \ Vertex 3 .SHIP_ESCAPE_POD_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 1, 3, 2, 31 \ Edge 0 EDGE 1, 2, 3, 0, 31 \ Edge 1 EDGE 2, 3, 1, 0, 31 \ Edge 2 EDGE 3, 0, 2, 1, 31 \ Edge 3 EDGE 0, 2, 3, 1, 31 \ Edge 4 EDGE 3, 1, 2, 0, 31 \ Edge 5 .SHIP_ESCAPE_POD_FACES \ normal_x, normal_y, normal_z, visibility FACE 52, 0, -122, 31 \ Face 0 FACE 39, 103, 30, 31 \ Face 1 FACE 39, -103, 30, 31 \ Face 2 FACE -112, 0, 0, 31 \ Face 3
Name: SHIP_CANISTER [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a cargo canister Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_CANISTER
.SHIP_CANISTER EQUB 0 \ Max. canisters on demise = 0 EQUW 20 * 20 \ Targetable area = 20 * 20 EQUB LO(SHIP_CANISTER_EDGES - SHIP_CANISTER) \ Edges data offset (low) EQUB LO(SHIP_CANISTER_FACES - SHIP_CANISTER) \ Faces data offset (low) EQUB 49 \ Max. edge count = (49 - 1) / 4 = 12 EQUB 0 \ Gun vertex = 0 EQUB 18 \ Explosion count = 3, as (4 * n) + 6 = 18 EQUB 60 \ Number of vertices = 60 / 6 = 10 EQUB 15 \ Number of edges = 15 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUW 0 \ Bounty = 0 \ --- And replaced by: --------------------------------> EQUW 1 \ Bounty = 1 \ --- End of replacement ------------------------------> EQUB 28 \ Number of faces = 28 / 4 = 7 EQUB 12 \ Visibility distance = 12 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 17 \ Max. energy = 17 \ --- And replaced by: --------------------------------> EQUB 8 \ Max. energy = 8 \ --- End of replacement ------------------------------> EQUB 15 \ Max. speed = 15 EQUB HI(SHIP_CANISTER_EDGES - SHIP_CANISTER) \ Edges data offset (high) EQUB HI(SHIP_CANISTER_FACES - SHIP_CANISTER) \ Faces data offset (high) EQUB 2 \ Normals are scaled by = 2^2 = 4 EQUB %00000000 \ Laser power = 0 \ Missiles = 0 .SHIP_CANISTER_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX 24, 16, 0, 0, 1, 5, 5, 31 \ Vertex 0 VERTEX 24, 5, 15, 0, 1, 2, 2, 31 \ Vertex 1 VERTEX 24, -13, 9, 0, 2, 3, 3, 31 \ Vertex 2 VERTEX 24, -13, -9, 0, 3, 4, 4, 31 \ Vertex 3 VERTEX 24, 5, -15, 0, 4, 5, 5, 31 \ Vertex 4 VERTEX -24, 16, 0, 1, 5, 6, 6, 31 \ Vertex 5 VERTEX -24, 5, 15, 1, 2, 6, 6, 31 \ Vertex 6 VERTEX -24, -13, 9, 2, 3, 6, 6, 31 \ Vertex 7 VERTEX -24, -13, -9, 3, 4, 6, 6, 31 \ Vertex 8 VERTEX -24, 5, -15, 4, 5, 6, 6, 31 \ Vertex 9 .SHIP_CANISTER_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 1, 0, 1, 31 \ Edge 0 EDGE 1, 2, 0, 2, 31 \ Edge 1 EDGE 2, 3, 0, 3, 31 \ Edge 2 EDGE 3, 4, 0, 4, 31 \ Edge 3 EDGE 0, 4, 0, 5, 31 \ Edge 4 EDGE 0, 5, 1, 5, 31 \ Edge 5 EDGE 1, 6, 1, 2, 31 \ Edge 6 EDGE 2, 7, 2, 3, 31 \ Edge 7 EDGE 3, 8, 3, 4, 31 \ Edge 8 EDGE 4, 9, 4, 5, 31 \ Edge 9 EDGE 5, 6, 1, 6, 31 \ Edge 10 EDGE 6, 7, 2, 6, 31 \ Edge 11 EDGE 7, 8, 3, 6, 31 \ Edge 12 EDGE 8, 9, 4, 6, 31 \ Edge 13 EDGE 9, 5, 5, 6, 31 \ Edge 14 .SHIP_CANISTER_FACES \ normal_x, normal_y, normal_z, visibility FACE 96, 0, 0, 31 \ Face 0 FACE 0, 41, 30, 31 \ Face 1 FACE 0, -18, 48, 31 \ Face 2 FACE 0, -51, 0, 31 \ Face 3 FACE 0, -18, -48, 31 \ Face 4 FACE 0, 41, -30, 31 \ Face 5 FACE -96, 0, 0, 31 \ Face 6
Name: SHIP_VIPER [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a Viper Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_VIPER
.SHIP_VIPER EQUB 0 \ Max. canisters on demise = 0 EQUW 75 * 75 \ Targetable area = 75 * 75 EQUB LO(SHIP_VIPER_EDGES - SHIP_VIPER) \ Edges data offset (low) EQUB LO(SHIP_VIPER_FACES - SHIP_VIPER) \ Faces data offset (low) EQUB 77 \ Max. edge count = (77 - 1) / 4 = 19 EQUB 0 \ Gun vertex = 0 EQUB 42 \ Explosion count = 9, as (4 * n) + 6 = 42 EQUB 90 \ Number of vertices = 90 / 6 = 15 EQUB 20 \ Number of edges = 20 EQUW 0 \ Bounty = 0 EQUB 28 \ Number of faces = 28 / 4 = 7 EQUB 23 \ Visibility distance = 23 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 100 \ Max. energy = 100 \ --- And replaced by: --------------------------------> EQUB 91 \ Max. energy = 91 \ --- End of replacement ------------------------------> EQUB 32 \ Max. speed = 32 EQUB HI(SHIP_VIPER_EDGES - SHIP_VIPER) \ Edges data offset (high) EQUB HI(SHIP_VIPER_FACES - SHIP_VIPER) \ Faces data offset (high) EQUB 1 \ Normals are scaled by = 2^1 = 2 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB %00010001 \ Laser power = 2 \ \ Missiles = 1 \ --- And replaced by: --------------------------------> EQUB %00101001 \ Laser power = 5 \ Missiles = 1 \ --- End of replacement ------------------------------> .SHIP_VIPER_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX 0, 0, 72, 1, 2, 3, 4, 31 \ Vertex 0 VERTEX 0, 16, 24, 0, 1, 2, 2, 30 \ Vertex 1 VERTEX 0, -16, 24, 3, 4, 5, 5, 30 \ Vertex 2 VERTEX 48, 0, -24, 2, 4, 6, 6, 31 \ Vertex 3 VERTEX -48, 0, -24, 1, 3, 6, 6, 31 \ Vertex 4 VERTEX 24, -16, -24, 4, 5, 6, 6, 30 \ Vertex 5 VERTEX -24, -16, -24, 5, 3, 6, 6, 30 \ Vertex 6 VERTEX 24, 16, -24, 0, 2, 6, 6, 31 \ Vertex 7 VERTEX -24, 16, -24, 0, 1, 6, 6, 31 \ Vertex 8 VERTEX -32, 0, -24, 6, 6, 6, 6, 19 \ Vertex 9 VERTEX 32, 0, -24, 6, 6, 6, 6, 19 \ Vertex 10 VERTEX 8, 8, -24, 6, 6, 6, 6, 19 \ Vertex 11 VERTEX -8, 8, -24, 6, 6, 6, 6, 19 \ Vertex 12 VERTEX -8, -8, -24, 6, 6, 6, 6, 18 \ Vertex 13 VERTEX 8, -8, -24, 6, 6, 6, 6, 18 \ Vertex 14 .SHIP_VIPER_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 3, 2, 4, 31 \ Edge 0 EDGE 0, 1, 1, 2, 30 \ Edge 1 EDGE 0, 2, 3, 4, 30 \ Edge 2 EDGE 0, 4, 1, 3, 31 \ Edge 3 EDGE 1, 7, 0, 2, 30 \ Edge 4 EDGE 1, 8, 0, 1, 30 \ Edge 5 EDGE 2, 5, 4, 5, 30 \ Edge 6 EDGE 2, 6, 3, 5, 30 \ Edge 7 EDGE 7, 8, 0, 6, 31 \ Edge 8 EDGE 5, 6, 5, 6, 30 \ Edge 9 EDGE 4, 8, 1, 6, 31 \ Edge 10 EDGE 4, 6, 3, 6, 30 \ Edge 11 EDGE 3, 7, 2, 6, 31 \ Edge 12 EDGE 3, 5, 6, 4, 30 \ Edge 13 EDGE 9, 12, 6, 6, 19 \ Edge 14 EDGE 9, 13, 6, 6, 18 \ Edge 15 EDGE 10, 11, 6, 6, 19 \ Edge 16 EDGE 10, 14, 6, 6, 18 \ Edge 17 EDGE 11, 14, 6, 6, 16 \ Edge 18 EDGE 12, 13, 6, 6, 16 \ Edge 19 .SHIP_VIPER_FACES \ normal_x, normal_y, normal_z, visibility FACE 0, 32, 0, 31 \ Face 0 FACE -22, 33, 11, 31 \ Face 1 FACE 22, 33, 11, 31 \ Face 2 FACE -22, -33, 11, 31 \ Face 3 FACE 22, -33, 11, 31 \ Face 4 FACE 0, -32, 0, 31 \ Face 5 FACE 0, 0, -48, 31 \ Face 6
Name: SHIP_MORAY [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a Moray Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_MORAY
.SHIP_MORAY EQUB 1 \ Max. canisters on demise = 1 EQUW 30 * 30 \ Targetable area = 30 * 30 EQUB LO(SHIP_MORAY_EDGES - SHIP_MORAY) \ Edges data offset (low) EQUB LO(SHIP_MORAY_FACES - SHIP_MORAY) \ Faces data offset (low) EQUB 69 \ Max. edge count = (69 - 1) / 4 = 17 EQUB 0 \ Gun vertex = 0 EQUB 26 \ Explosion count = 5, as (4 * n) + 6 = 26 EQUB 84 \ Number of vertices = 84 / 6 = 14 EQUB 19 \ Number of edges = 19 EQUW 50 \ Bounty = 50 EQUB 36 \ Number of faces = 36 / 4 = 9 EQUB 40 \ Visibility distance = 40 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 100 \ Max. energy = 100 \ --- And replaced by: --------------------------------> EQUB 89 \ Max. energy = 89 \ --- End of replacement ------------------------------> EQUB 25 \ Max. speed = 25 EQUB HI(SHIP_MORAY_EDGES - SHIP_MORAY) \ Edges data offset (high) EQUB HI(SHIP_MORAY_FACES - SHIP_MORAY) \ Faces data offset (high) EQUB 2 \ Normals are scaled by = 2^2 = 4 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB %00010000 \ Laser power = 2 \ \ Missiles = 0 \ --- And replaced by: --------------------------------> EQUB %00101010 \ Laser power = 5 \ Missiles = 2 \ --- End of replacement ------------------------------> .SHIP_MORAY_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX 15, 0, 65, 2, 0, 8, 7, 31 \ Vertex 0 VERTEX -15, 0, 65, 1, 0, 7, 6, 31 \ Vertex 1 VERTEX 0, 18, -40, 15, 15, 15, 15, 17 \ Vertex 2 VERTEX -60, 0, 0, 3, 1, 6, 6, 31 \ Vertex 3 VERTEX 60, 0, 0, 5, 2, 8, 8, 31 \ Vertex 4 VERTEX 30, -27, -10, 5, 4, 8, 7, 24 \ Vertex 5 VERTEX -30, -27, -10, 4, 3, 7, 6, 24 \ Vertex 6 VERTEX -9, -4, -25, 4, 4, 4, 4, 7 \ Vertex 7 VERTEX 9, -4, -25, 4, 4, 4, 4, 7 \ Vertex 8 VERTEX 0, -18, -16, 4, 4, 4, 4, 7 \ Vertex 9 VERTEX 13, 3, 49, 0, 0, 0, 0, 5 \ Vertex 10 VERTEX 6, 0, 65, 0, 0, 0, 0, 5 \ Vertex 11 VERTEX -13, 3, 49, 0, 0, 0, 0, 5 \ Vertex 12 VERTEX -6, 0, 65, 0, 0, 0, 0, 5 \ Vertex 13 .SHIP_MORAY_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 1, 7, 0, 31 \ Edge 0 EDGE 1, 3, 6, 1, 31 \ Edge 1 EDGE 3, 6, 6, 3, 24 \ Edge 2 EDGE 5, 6, 7, 4, 24 \ Edge 3 EDGE 4, 5, 8, 5, 24 \ Edge 4 EDGE 0, 4, 8, 2, 31 \ Edge 5 EDGE 1, 6, 7, 6, 15 \ Edge 6 EDGE 0, 5, 8, 7, 15 \ Edge 7 EDGE 0, 2, 2, 0, 15 \ Edge 8 EDGE 1, 2, 1, 0, 15 \ Edge 9 EDGE 2, 3, 3, 1, 17 \ Edge 10 EDGE 2, 4, 5, 2, 17 \ Edge 11 EDGE 2, 5, 5, 4, 13 \ Edge 12 EDGE 2, 6, 4, 3, 13 \ Edge 13 EDGE 7, 8, 4, 4, 5 \ Edge 14 EDGE 7, 9, 4, 4, 7 \ Edge 15 EDGE 8, 9, 4, 4, 7 \ Edge 16 EDGE 10, 11, 0, 0, 5 \ Edge 17 EDGE 12, 13, 0, 0, 5 \ Edge 18 .SHIP_MORAY_FACES \ normal_x, normal_y, normal_z, visibility FACE 0, 43, 7, 31 \ Face 0 FACE -10, 49, 7, 31 \ Face 1 FACE 10, 49, 7, 31 \ Face 2 FACE -59, -28, -101, 24 \ Face 3 FACE 0, -52, -78, 24 \ Face 4 FACE 59, -28, -101, 24 \ Face 5 FACE -72, -99, 50, 31 \ Face 6 FACE 0, -83, 30, 31 \ Face 7 FACE 72, -99, 50, 31 \ Face 8
Name: SHIP_SHUTTLE_MK_2 [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a Shuttle Mk II Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_SHUTTLE_MK_2
\ --- Mod: Code added for Elite-A: --------------------> .SHIP_SHUTTLE_MK_2 EQUB 15 \ Max. canisters on demise = 15 EQUW 50 * 50 \ Targetable area = 50 * 50 EQUB LO(SHIP_SHUTTLE_MK_2_EDGES - SHIP_SHUTTLE_MK_2) \ Edges data offset (low) EQUB LO(SHIP_SHUTTLE_MK_2_FACES - SHIP_SHUTTLE_MK_2) \ Faces data offset (low) EQUB 89 \ Max. edge count = (89 - 1) / 4 = 22 EQUB 0 \ Gun vertex = 0 EQUB 38 \ Explosion count = 8, as (4 * n) + 6 = 38 EQUB 102 \ Number of vertices = 102 / 6 = 17 EQUB 28 \ Number of edges = 28 EQUW 0 \ Bounty = 0 EQUB 52 \ Number of faces = 52 / 4 = 13 EQUB 10 \ Visibility distance = 10 EQUB 32 \ Max. energy = 32 EQUB 9 \ Max. speed = 9 EQUB HI(SHIP_SHUTTLE_MK_2_EDGES - SHIP_SHUTTLE_MK_2) \ Edges data offset (high) EQUB HI(SHIP_SHUTTLE_MK_2_FACES - SHIP_SHUTTLE_MK_2) \ Faces data offset (high) EQUB 2 \ Normals are scaled by = 2^2 = 4 EQUB %00000000 \ Laser power = 0 \ Missiles = 0 .SHIP_SHUTTLE_MK_2_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX 0, 0, 40, 3, 2, 1, 0, 31 \ Vertex 0 VERTEX 0, 20, 30, 4, 3, 0, 0, 31 \ Vertex 1 VERTEX -20, 0, 30, 5, 1, 0, 0, 31 \ Vertex 2 VERTEX 0, -20, 30, 6, 2, 1, 1, 31 \ Vertex 3 VERTEX 20, 0, 30, 7, 3, 2, 2, 31 \ Vertex 4 VERTEX -20, 20, 20, 8, 5, 4, 0, 31 \ Vertex 5 VERTEX -20, -20, 20, 9, 6, 5, 1, 31 \ Vertex 6 VERTEX 20, -20, 20, 10, 7, 6, 2, 31 \ Vertex 7 VERTEX 20, 20, 20, 11, 7, 4, 3, 31 \ Vertex 8 VERTEX 0, 20, -40, 12, 11, 8, 4, 31 \ Vertex 9 VERTEX -20, 0, -40, 12, 9, 8, 5, 31 \ Vertex 10 VERTEX 0, -20, -40, 12, 10, 9, 6, 31 \ Vertex 11 VERTEX 20, 0, -40, 12, 11, 10, 7, 31 \ Vertex 12 VERTEX -4, 4, -40, 12, 12, 12, 12, 10 \ Vertex 13 VERTEX -4, -4, -40, 12, 12, 12, 12, 10 \ Vertex 14 VERTEX 4, -4, -40, 12, 12, 12, 12, 10 \ Vertex 15 VERTEX 4, 4, -40, 12, 12, 12, 12, 10 \ Vertex 16 .SHIP_SHUTTLE_MK_2_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 2, 1, 0, 31 \ Edge 0 EDGE 0, 3, 2, 1, 31 \ Edge 1 EDGE 0, 4, 3, 2, 31 \ Edge 2 EDGE 0, 1, 0, 3, 31 \ Edge 3 EDGE 1, 5, 4, 0, 31 \ Edge 4 EDGE 2, 5, 5, 0, 31 \ Edge 5 EDGE 2, 6, 5, 1, 31 \ Edge 6 EDGE 3, 6, 6, 1, 31 \ Edge 7 EDGE 3, 7, 6, 2, 31 \ Edge 8 EDGE 4, 7, 7, 2, 31 \ Edge 9 EDGE 4, 8, 7, 3, 31 \ Edge 10 EDGE 1, 8, 4, 3, 31 \ Edge 11 EDGE 5, 9, 8, 4, 31 \ Edge 12 EDGE 5, 10, 8, 5, 31 \ Edge 13 EDGE 6, 10, 9, 5, 31 \ Edge 14 EDGE 6, 11, 9, 6, 31 \ Edge 15 EDGE 7, 11, 10, 6, 31 \ Edge 16 EDGE 7, 12, 10, 7, 31 \ Edge 17 EDGE 8, 12, 11, 7, 31 \ Edge 18 EDGE 8, 9, 11, 4, 31 \ Edge 19 EDGE 9, 10, 12, 8, 31 \ Edge 20 EDGE 10, 11, 12, 9, 31 \ Edge 21 EDGE 11, 12, 12, 10, 31 \ Edge 22 EDGE 12, 9, 12, 11, 31 \ Edge 23 EDGE 13, 14, 12, 12, 10 \ Edge 24 EDGE 14, 15, 12, 12, 10 \ Edge 25 EDGE 15, 16, 12, 12, 10 \ Edge 26 EDGE 16, 13, 12, 12, 10 \ Edge 27 .SHIP_SHUTTLE_MK_2_FACES \ normal_x, normal_y, normal_z, visibility FACE -39, 39, 78, 31 \ Face 0 FACE -39, -39, 78, 31 \ Face 1 FACE 39, -39, 78, 31 \ Face 2 FACE 39, 39, 78, 31 \ Face 3 FACE 0, 96, 0, 31 \ Face 4 FACE -96, 0, 0, 31 \ Face 5 FACE 0, -96, 0, 31 \ Face 6 FACE 96, 0, 0, 31 \ Face 7 FACE -66, 66, -22, 31 \ Face 8 FACE -66, -66, -22, 31 \ Face 9 FACE 66, -66, -22, 31 \ Face 10 FACE 66, 66, -22, 31 \ Face 11 FACE 0, 0, -96, 31 \ Face 12 \ --- End of added code ------------------------------->
Name: SHIP_BOULDER [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a boulder Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_BOULDER
.SHIP_BOULDER EQUB 0 \ Max. canisters on demise = 0 EQUW 30 * 30 \ Targetable area = 30 * 30 EQUB LO(SHIP_BOULDER_EDGES - SHIP_BOULDER) \ Edges data offset (low) EQUB LO(SHIP_BOULDER_FACES - SHIP_BOULDER) \ Faces data offset (low) EQUB 45 \ Max. edge count = (45 - 1) / 4 = 11 EQUB 0 \ Gun vertex = 0 EQUB 14 \ Explosion count = 2, as (4 * n) + 6 = 14 EQUB 42 \ Number of vertices = 42 / 6 = 7 EQUB 15 \ Number of edges = 15 EQUW 1 \ Bounty = 1 EQUB 40 \ Number of faces = 40 / 4 = 10 EQUB 20 \ Visibility distance = 20 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 20 \ Max. energy = 20 \ --- And replaced by: --------------------------------> EQUB 16 \ Max. energy = 16 \ --- End of replacement ------------------------------> EQUB 30 \ Max. speed = 30 EQUB HI(SHIP_BOULDER_EDGES - SHIP_BOULDER) \ Edges data offset (high) EQUB HI(SHIP_BOULDER_FACES - SHIP_BOULDER) \ Faces data offset (high) EQUB 2 \ Normals are scaled by = 2^2 = 4 EQUB %00000000 \ Laser power = 0 \ Missiles = 0 .SHIP_BOULDER_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX -18, 37, -11, 1, 0, 9, 5, 31 \ Vertex 0 VERTEX 30, 7, 12, 2, 1, 6, 5, 31 \ Vertex 1 VERTEX 28, -7, -12, 3, 2, 7, 6, 31 \ Vertex 2 VERTEX 2, 0, -39, 4, 3, 8, 7, 31 \ Vertex 3 VERTEX -28, 34, -30, 4, 0, 9, 8, 31 \ Vertex 4 VERTEX 5, -10, 13, 15, 15, 15, 15, 31 \ Vertex 5 VERTEX 20, 17, -30, 15, 15, 15, 15, 31 \ Vertex 6 .SHIP_BOULDER_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 1, 5, 1, 31 \ Edge 0 EDGE 1, 2, 6, 2, 31 \ Edge 1 EDGE 2, 3, 7, 3, 31 \ Edge 2 EDGE 3, 4, 8, 4, 31 \ Edge 3 EDGE 4, 0, 9, 0, 31 \ Edge 4 EDGE 0, 5, 1, 0, 31 \ Edge 5 EDGE 1, 5, 2, 1, 31 \ Edge 6 EDGE 2, 5, 3, 2, 31 \ Edge 7 EDGE 3, 5, 4, 3, 31 \ Edge 8 EDGE 4, 5, 4, 0, 31 \ Edge 9 EDGE 0, 6, 9, 5, 31 \ Edge 10 EDGE 1, 6, 6, 5, 31 \ Edge 11 EDGE 2, 6, 7, 6, 31 \ Edge 12 EDGE 3, 6, 8, 7, 31 \ Edge 13 EDGE 4, 6, 9, 8, 31 \ Edge 14 .SHIP_BOULDER_FACES \ normal_x, normal_y, normal_z, visibility FACE -15, -3, 8, 31 \ Face 0 FACE -7, 12, 30, 31 \ Face 1 FACE 32, -47, 24, 31 \ Face 2 FACE -3, -39, -7, 31 \ Face 3 FACE -5, -4, -1, 31 \ Face 4 FACE 49, 84, 8, 31 \ Face 5 FACE 112, 21, -21, 31 \ Face 6 FACE 76, -35, -82, 31 \ Face 7 FACE 22, 56, -137, 31 \ Face 8 FACE 40, 110, -38, 31 \ Face 9
Name: SHIP_ADDER [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for an Adder Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_ADDER
.SHIP_ADDER EQUB 0 \ Max. canisters on demise = 0 EQUW 50 * 50 \ Targetable area = 50 * 50 EQUB LO(SHIP_ADDER_EDGES - SHIP_ADDER) \ Edges data offset (low) EQUB LO(SHIP_ADDER_FACES - SHIP_ADDER) \ Faces data offset (low) EQUB 97 \ Max. edge count = (97 - 1) / 4 = 24 EQUB 0 \ Gun vertex = 0 EQUB 22 \ Explosion count = 4, as (4 * n) + 6 = 22 EQUB 108 \ Number of vertices = 108 / 6 = 18 EQUB 29 \ Number of edges = 29 EQUW 40 \ Bounty = 40 EQUB 60 \ Number of faces = 60 / 4 = 15 EQUB 23 \ Visibility distance = 23 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 85 \ Max. energy = 85 \ --- And replaced by: --------------------------------> EQUB 72 \ Max. energy = 72 \ --- End of replacement ------------------------------> EQUB 24 \ Max. speed = 24 EQUB HI(SHIP_ADDER_EDGES - SHIP_ADDER) \ Edges data offset (high) EQUB HI(SHIP_ADDER_FACES - SHIP_ADDER) \ Faces data offset (high) EQUB 2 \ Normals are scaled by = 2^2 = 4 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB %00010000 \ Laser power = 2 \ \ Missiles = 0 \ --- And replaced by: --------------------------------> EQUB %00100001 \ Laser power = 4 \ Missiles = 1 \ --- End of replacement ------------------------------> .SHIP_ADDER_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX -18, 0, 40, 1, 0, 12, 11, 31 \ Vertex 0 VERTEX 18, 0, 40, 1, 0, 3, 2, 31 \ Vertex 1 VERTEX 30, 0, -24, 3, 2, 5, 4, 31 \ Vertex 2 VERTEX 30, 0, -40, 5, 4, 6, 6, 31 \ Vertex 3 VERTEX 18, -7, -40, 6, 5, 14, 7, 31 \ Vertex 4 VERTEX -18, -7, -40, 8, 7, 14, 10, 31 \ Vertex 5 VERTEX -30, 0, -40, 9, 8, 10, 10, 31 \ Vertex 6 VERTEX -30, 0, -24, 10, 9, 12, 11, 31 \ Vertex 7 VERTEX -18, 7, -40, 8, 7, 13, 9, 31 \ Vertex 8 VERTEX 18, 7, -40, 6, 4, 13, 7, 31 \ Vertex 9 VERTEX -18, 7, 13, 9, 0, 13, 11, 31 \ Vertex 10 VERTEX 18, 7, 13, 2, 0, 13, 4, 31 \ Vertex 11 VERTEX -18, -7, 13, 10, 1, 14, 12, 31 \ Vertex 12 VERTEX 18, -7, 13, 3, 1, 14, 5, 31 \ Vertex 13 VERTEX -11, 3, 29, 0, 0, 0, 0, 5 \ Vertex 14 VERTEX 11, 3, 29, 0, 0, 0, 0, 5 \ Vertex 15 VERTEX 11, 4, 24, 0, 0, 0, 0, 4 \ Vertex 16 VERTEX -11, 4, 24, 0, 0, 0, 0, 4 \ Vertex 17 .SHIP_ADDER_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 1, 1, 0, 31 \ Edge 0 EDGE 1, 2, 3, 2, 7 \ Edge 1 EDGE 2, 3, 5, 4, 31 \ Edge 2 EDGE 3, 4, 6, 5, 31 \ Edge 3 EDGE 4, 5, 14, 7, 31 \ Edge 4 EDGE 5, 6, 10, 8, 31 \ Edge 5 EDGE 6, 7, 10, 9, 31 \ Edge 6 EDGE 7, 0, 12, 11, 7 \ Edge 7 EDGE 3, 9, 6, 4, 31 \ Edge 8 EDGE 9, 8, 13, 7, 31 \ Edge 9 EDGE 8, 6, 9, 8, 31 \ Edge 10 EDGE 0, 10, 11, 0, 31 \ Edge 11 EDGE 7, 10, 11, 9, 31 \ Edge 12 EDGE 1, 11, 2, 0, 31 \ Edge 13 EDGE 2, 11, 4, 2, 31 \ Edge 14 EDGE 0, 12, 12, 1, 31 \ Edge 15 EDGE 7, 12, 12, 10, 31 \ Edge 16 EDGE 1, 13, 3, 1, 31 \ Edge 17 EDGE 2, 13, 5, 3, 31 \ Edge 18 EDGE 10, 11, 13, 0, 31 \ Edge 19 EDGE 12, 13, 14, 1, 31 \ Edge 20 EDGE 8, 10, 13, 9, 31 \ Edge 21 EDGE 9, 11, 13, 4, 31 \ Edge 22 EDGE 5, 12, 14, 10, 31 \ Edge 23 EDGE 4, 13, 14, 5, 31 \ Edge 24 EDGE 14, 15, 0, 0, 5 \ Edge 25 EDGE 15, 16, 0, 0, 3 \ Edge 26 EDGE 16, 17, 0, 0, 4 \ Edge 27 EDGE 17, 14, 0, 0, 3 \ Edge 28 .SHIP_ADDER_FACES \ normal_x, normal_y, normal_z, visibility FACE 0, 39, 10, 31 \ Face 0 FACE 0, -39, 10, 31 \ Face 1 FACE 69, 50, 13, 31 \ Face 2 FACE 69, -50, 13, 31 \ Face 3 FACE 30, 52, 0, 31 \ Face 4 FACE 30, -52, 0, 31 \ Face 5 FACE 0, 0, -160, 31 \ Face 6 FACE 0, 0, -160, 31 \ Face 7 FACE 0, 0, -160, 31 \ Face 8 FACE -30, 52, 0, 31 \ Face 9 FACE -30, -52, 0, 31 \ Face 10 FACE -69, 50, 13, 31 \ Face 11 FACE -69, -50, 13, 31 \ Face 12 FACE 0, 28, 0, 31 \ Face 13 FACE 0, -28, 0, 31 \ Face 14
Name: SHIP_ASTEROID [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for an asteroid Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_ASTEROID
.SHIP_ASTEROID EQUB 0 \ Max. canisters on demise = 0 EQUW 80 * 80 \ Targetable area = 80 * 80 EQUB LO(SHIP_ASTEROID_EDGES - SHIP_ASTEROID) \ Edges data offset (low) EQUB LO(SHIP_ASTEROID_FACES - SHIP_ASTEROID) \ Faces data offset (low) EQUB 65 \ Max. edge count = (65 - 1) / 4 = 16 EQUB 0 \ Gun vertex = 0 EQUB 34 \ Explosion count = 7, as (4 * n) + 6 = 34 EQUB 54 \ Number of vertices = 54 / 6 = 9 EQUB 21 \ Number of edges = 21 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUW 5 \ Bounty = 5 \ --- And replaced by: --------------------------------> EQUW 15 \ Bounty = 15 \ --- End of replacement ------------------------------> EQUB 56 \ Number of faces = 56 / 4 = 14 EQUB 50 \ Visibility distance = 50 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 60 \ Max. energy = 60 \ --- And replaced by: --------------------------------> EQUB 56 \ Max. energy = 56 \ --- End of replacement ------------------------------> EQUB 30 \ Max. speed = 30 EQUB HI(SHIP_ASTEROID_EDGES - SHIP_ASTEROID) \ Edges data offset (high) EQUB HI(SHIP_ASTEROID_FACES - SHIP_ASTEROID) \ Faces data offset (high) EQUB 1 \ Normals are scaled by = 2^1 = 2 EQUB %00000000 \ Laser power = 0 \ Missiles = 0 .SHIP_ASTEROID_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX 0, 80, 0, 15, 15, 15, 15, 31 \ Vertex 0 VERTEX -80, -10, 0, 15, 15, 15, 15, 31 \ Vertex 1 VERTEX 0, -80, 0, 15, 15, 15, 15, 31 \ Vertex 2 VERTEX 70, -40, 0, 15, 15, 15, 15, 31 \ Vertex 3 VERTEX 60, 50, 0, 5, 6, 12, 13, 31 \ Vertex 4 VERTEX 50, 0, 60, 15, 15, 15, 15, 31 \ Vertex 5 VERTEX -40, 0, 70, 0, 1, 2, 3, 31 \ Vertex 6 VERTEX 0, 30, -75, 15, 15, 15, 15, 31 \ Vertex 7 VERTEX 0, -50, -60, 8, 9, 10, 11, 31 \ Vertex 8 .SHIP_ASTEROID_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 1, 2, 7, 31 \ Edge 0 EDGE 0, 4, 6, 13, 31 \ Edge 1 EDGE 3, 4, 5, 12, 31 \ Edge 2 EDGE 2, 3, 4, 11, 31 \ Edge 3 EDGE 1, 2, 3, 10, 31 \ Edge 4 EDGE 1, 6, 2, 3, 31 \ Edge 5 EDGE 2, 6, 1, 3, 31 \ Edge 6 EDGE 2, 5, 1, 4, 31 \ Edge 7 EDGE 5, 6, 0, 1, 31 \ Edge 8 EDGE 0, 5, 0, 6, 31 \ Edge 9 EDGE 3, 5, 4, 5, 31 \ Edge 10 EDGE 0, 6, 0, 2, 31 \ Edge 11 EDGE 4, 5, 5, 6, 31 \ Edge 12 EDGE 1, 8, 8, 10, 31 \ Edge 13 EDGE 1, 7, 7, 8, 31 \ Edge 14 EDGE 0, 7, 7, 13, 31 \ Edge 15 EDGE 4, 7, 12, 13, 31 \ Edge 16 EDGE 3, 7, 9, 12, 31 \ Edge 17 EDGE 3, 8, 9, 11, 31 \ Edge 18 EDGE 2, 8, 10, 11, 31 \ Edge 19 EDGE 7, 8, 8, 9, 31 \ Edge 20 .SHIP_ASTEROID_FACES \ normal_x, normal_y, normal_z, visibility FACE 9, 66, 81, 31 \ Face 0 FACE 9, -66, 81, 31 \ Face 1 FACE -72, 64, 31, 31 \ Face 2 FACE -64, -73, 47, 31 \ Face 3 FACE 45, -79, 65, 31 \ Face 4 FACE 135, 15, 35, 31 \ Face 5 FACE 38, 76, 70, 31 \ Face 6 FACE -66, 59, -39, 31 \ Face 7 FACE -67, -15, -80, 31 \ Face 8 FACE 66, -14, -75, 31 \ Face 9 FACE -70, -80, -40, 31 \ Face 10 FACE 58, -102, -51, 31 \ Face 11 FACE 81, 9, -67, 31 \ Face 12 FACE 47, 94, -63, 31 \ Face 13
Name: SHIP_SPLINTER [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a splinter Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_SPLINTER

The ship blueprint for the splinter is supposed to reuse the edges data from the escape pod, but there is a bug in Elite-A that breaks splinters. The edges data offset is negative, as it should be, but the offset value is incorrect and doesn't even point to edge data - in the Tube version, it points into the middle of the Thargoid's vertex data, while in the disc version it points to a different place depending on the structure of the individual blueprint file. In all cases the offset is wrong, so splinters in Elite-A appear as a random mess of lines. The correct value of the offset should be: SHIP_ESCAPE_POD_EDGES - SHIP_SPLINTER split into the high byte and low byte, as it is in the disc version.
.SHIP_SPLINTER EQUB 0 + (11 << 4) \ Max. canisters on demise = 0 \ Market item when scooped = 11 + 1 = 12 (Minerals) EQUW 16 * 16 \ Targetable area = 16 * 16 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB LO(SHIP_ESCAPE_POD_EDGES - SHIP_SPLINTER) \ Edges from escape pod \ --- And replaced by: --------------------------------> IF _RELEASED OR _SOURCE_DISC EQUB &5A \ This value is incorrect (see above) ELIF _BUG_FIX EQUB LO(SHIP_ESCAPE_POD_EDGES - SHIP_SPLINTER) \ Edges from escape pod ENDIF \ --- End of replacement ------------------------------> EQUB LO(SHIP_SPLINTER_FACES - SHIP_SPLINTER) + 24 \ Faces data offset (low) EQUB 25 \ Max. edge count = (25 - 1) / 4 = 6 EQUB 0 \ Gun vertex = 0 EQUB 22 \ Explosion count = 4, as (4 * n) + 6 = 22 EQUB 24 \ Number of vertices = 24 / 6 = 4 EQUB 6 \ Number of edges = 6 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUW 0 \ Bounty = 0 \ --- And replaced by: --------------------------------> EQUW 1 \ Bounty = 1 \ --- End of replacement ------------------------------> EQUB 16 \ Number of faces = 16 / 4 = 4 EQUB 8 \ Visibility distance = 8 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 20 \ Max. energy = 20 \ --- And replaced by: --------------------------------> EQUB 16 \ Max. energy = 16 \ --- End of replacement ------------------------------> EQUB 10 \ Max. speed = 10 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB HI(SHIP_ESCAPE_POD_EDGES - SHIP_SPLINTER) \ Edges from escape pod \ --- And replaced by: --------------------------------> IF _RELEASED OR _SOURCE_DISC EQUB &FE \ This value is incorrect (see above) ELIF _BUG_FIX EQUB HI(SHIP_ESCAPE_POD_EDGES - SHIP_SPLINTER) \ Edges from escape pod ENDIF \ --- End of replacement ------------------------------> EQUB HI(SHIP_SPLINTER_FACES - SHIP_SPLINTER) \ Faces data offset (low) EQUB 5 \ Normals are scaled by = 2^5 = 32 EQUB %00000000 \ Laser power = 0 \ Missiles = 0 .SHIP_SPLINTER_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX -24, -25, 16, 2, 1, 3, 3, 31 \ Vertex 0 VERTEX 0, 12, -10, 2, 0, 3, 3, 31 \ Vertex 1 VERTEX 11, -6, 2, 1, 0, 3, 3, 31 \ Vertex 2 VERTEX 12, 42, 7, 1, 0, 2, 2, 31 \ Vertex 3 .SHIP_SPLINTER_FACES \ normal_x, normal_y, normal_z, visibility FACE 35, 0, 4, 31 \ Face 0 FACE 3, 4, 8, 31 \ Face 1 FACE 1, 8, 12, 31 \ Face 2 FACE 18, 12, 0, 31 \ Face 3
Name: SHIP_COBRA_MK_1 [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a Cobra Mk I Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_COBRA_MK_1
.SHIP_COBRA_MK_1 EQUB 3 \ Max. canisters on demise = 3 EQUW 99 * 99 \ Targetable area = 99 * 99 EQUB LO(SHIP_COBRA_MK_1_EDGES - SHIP_COBRA_MK_1) \ Edges data offset (low) EQUB LO(SHIP_COBRA_MK_1_FACES - SHIP_COBRA_MK_1) \ Faces data offset (low) EQUB 69 \ Max. edge count = (69 - 1) / 4 = 17 EQUB 40 \ Gun vertex = 40 / 4 = 10 EQUB 26 \ Explosion count = 5, as (4 * n) + 6 = 26 EQUB 66 \ Number of vertices = 66 / 6 = 11 EQUB 18 \ Number of edges = 18 EQUW 75 \ Bounty = 75 EQUB 40 \ Number of faces = 40 / 4 = 10 EQUB 19 \ Visibility distance = 19 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 90 \ Max. energy = 90 \ --- And replaced by: --------------------------------> EQUB 81 \ Max. energy = 81 \ --- End of replacement ------------------------------> EQUB 26 \ Max. speed = 26 EQUB HI(SHIP_COBRA_MK_1_EDGES - SHIP_COBRA_MK_1) \ Edges data offset (high) EQUB HI(SHIP_COBRA_MK_1_FACES - SHIP_COBRA_MK_1) \ Faces data offset (high) EQUB 2 \ Normals are scaled by = 2^2 = 4 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB %00010010 \ Laser power = 2 \ \ Missiles = 2 \ --- And replaced by: --------------------------------> EQUB %00100010 \ Laser power = 4 \ Missiles = 2 \ --- End of replacement ------------------------------> .SHIP_COBRA_MK_1_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX -18, -1, 50, 1, 0, 3, 2, 31 \ Vertex 0 VERTEX 18, -1, 50, 1, 0, 5, 4, 31 \ Vertex 1 VERTEX -66, 0, 7, 3, 2, 8, 8, 31 \ Vertex 2 VERTEX 66, 0, 7, 5, 4, 9, 9, 31 \ Vertex 3 VERTEX -32, 12, -38, 6, 2, 8, 7, 31 \ Vertex 4 VERTEX 32, 12, -38, 6, 4, 9, 7, 31 \ Vertex 5 VERTEX -54, -12, -38, 3, 1, 8, 7, 31 \ Vertex 6 VERTEX 54, -12, -38, 5, 1, 9, 7, 31 \ Vertex 7 VERTEX 0, 12, -6, 2, 0, 6, 4, 20 \ Vertex 8 VERTEX 0, -1, 50, 1, 0, 1, 1, 2 \ Vertex 9 VERTEX 0, -1, 60, 1, 0, 1, 1, 31 \ Vertex 10 .SHIP_COBRA_MK_1_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 1, 0, 1, 0, 31 \ Edge 0 EDGE 0, 2, 3, 2, 31 \ Edge 1 EDGE 2, 6, 8, 3, 31 \ Edge 2 EDGE 6, 7, 7, 1, 31 \ Edge 3 EDGE 7, 3, 9, 5, 31 \ Edge 4 EDGE 3, 1, 5, 4, 31 \ Edge 5 EDGE 2, 4, 8, 2, 31 \ Edge 6 EDGE 4, 5, 7, 6, 31 \ Edge 7 EDGE 5, 3, 9, 4, 31 \ Edge 8 EDGE 0, 8, 2, 0, 20 \ Edge 9 EDGE 8, 1, 4, 0, 20 \ Edge 10 EDGE 4, 8, 6, 2, 16 \ Edge 11 EDGE 8, 5, 6, 4, 16 \ Edge 12 EDGE 4, 6, 8, 7, 31 \ Edge 13 EDGE 5, 7, 9, 7, 31 \ Edge 14 EDGE 0, 6, 3, 1, 20 \ Edge 15 EDGE 1, 7, 5, 1, 20 \ Edge 16 EDGE 10, 9, 1, 0, 2 \ Edge 17 .SHIP_COBRA_MK_1_FACES \ normal_x, normal_y, normal_z, visibility FACE 0, 41, 10, 31 \ Face 0 FACE 0, -27, 3, 31 \ Face 1 FACE -8, 46, 8, 31 \ Face 2 FACE -12, -57, 12, 31 \ Face 3 FACE 8, 46, 8, 31 \ Face 4 FACE 12, -57, 12, 31 \ Face 5 FACE 0, 49, 0, 31 \ Face 6 FACE 0, 0, -154, 31 \ Face 7 FACE -121, 111, -62, 31 \ Face 8 FACE 121, 111, -62, 31 \ Face 9
Name: SHIP_PYTHON [Show more] Type: Variable Category: Drawing ships Summary: Ship blueprint for a Python Deep dive: Ship blueprints
Context: See this variable on its own page References: This variable is used as follows: * XX21 uses SHIP_PYTHON
.SHIP_PYTHON EQUB 5 \ Max. canisters on demise = 5 EQUW 80 * 80 \ Targetable area = 80 * 80 EQUB LO(SHIP_PYTHON_EDGES - SHIP_PYTHON) \ Edges data offset (low) EQUB LO(SHIP_PYTHON_FACES - SHIP_PYTHON) \ Faces data offset (low) EQUB 85 \ Max. edge count = (85 - 1) / 4 = 21 EQUB 0 \ Gun vertex = 0 EQUB 42 \ Explosion count = 9, as (4 * n) + 6 = 42 EQUB 66 \ Number of vertices = 66 / 6 = 11 EQUB 26 \ Number of edges = 26 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUW 0 \ Bounty = 0 \ --- And replaced by: --------------------------------> EQUW 300 \ Bounty = 300 \ --- End of replacement ------------------------------> EQUB 52 \ Number of faces = 52 / 4 = 13 EQUB 40 \ Visibility distance = 40 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB 250 \ Max. energy = 250 \ --- And replaced by: --------------------------------> EQUB 125 \ Max. energy = 125 \ --- End of replacement ------------------------------> EQUB 20 \ Max. speed = 20 EQUB HI(SHIP_PYTHON_EDGES - SHIP_PYTHON) \ Edges data offset (high) EQUB HI(SHIP_PYTHON_FACES - SHIP_PYTHON) \ Faces data offset (high) EQUB 0 \ Normals are scaled by = 2^0 = 1 \ --- Mod: Code removed for Elite-A: ------------------> \ EQUB %00011011 \ Laser power = 3 \ \ Missiles = 3 \ --- And replaced by: --------------------------------> EQUB %00101100 \ Laser power = 5 \ Missiles = 4 \ --- End of replacement ------------------------------> .SHIP_PYTHON_VERTICES \ x, y, z, face1, face2, face3, face4, visibility VERTEX 0, 0, 224, 0, 1, 2, 3, 31 \ Vertex 0 \ --- Mod: Code removed for Elite-A: ------------------> \ VERTEX 0, 48, 48, 0, 1, 4, 5, 31 \ Vertex 1 \ --- And replaced by: --------------------------------> VERTEX 0, 48, 48, 0, 1, 4, 5, 30 \ Vertex 1 \ --- End of replacement ------------------------------> VERTEX 96, 0, -16, 15, 15, 15, 15, 31 \ Vertex 2 VERTEX -96, 0, -16, 15, 15, 15, 15, 31 \ Vertex 3 \ --- Mod: Code removed for Elite-A: ------------------> \ VERTEX 0, 48, -32, 4, 5, 8, 9, 31 \ Vertex 4 \ --- And replaced by: --------------------------------> VERTEX 0, 48, -32, 4, 5, 8, 9, 30 \ Vertex 4 \ --- End of replacement ------------------------------> VERTEX 0, 24, -112, 9, 8, 12, 12, 31 \ Vertex 5 VERTEX -48, 0, -112, 8, 11, 12, 12, 31 \ Vertex 6 VERTEX 48, 0, -112, 9, 10, 12, 12, 31 \ Vertex 7 \ --- Mod: Code removed for Elite-A: ------------------> \ VERTEX 0, -48, 48, 2, 3, 6, 7, 31 \ Vertex 8 \ VERTEX 0, -48, -32, 6, 7, 10, 11, 31 \ Vertex 9 \ VERTEX 0, -24, -112, 10, 11, 12, 12, 31 \ Vertex 10 \ --- And replaced by: --------------------------------> VERTEX 0, -48, 48, 2, 3, 6, 7, 30 \ Vertex 8 VERTEX 0, -48, -32, 6, 7, 10, 11, 30 \ Vertex 9 VERTEX 0, -24, -112, 10, 11, 12, 12, 30 \ Vertex 10 \ --- End of replacement ------------------------------> .SHIP_PYTHON_EDGES \ vertex1, vertex2, face1, face2, visibility \ --- Mod: Code removed for Elite-A: ------------------> \ EDGE 0, 8, 2, 3, 31 \ Edge 0 \ --- And replaced by: --------------------------------> EDGE 0, 8, 2, 3, 30 \ Edge 0 \ --- End of replacement ------------------------------> EDGE 0, 3, 0, 2, 31 \ Edge 1 EDGE 0, 2, 1, 3, 31 \ Edge 2 \ --- Mod: Code removed for Elite-A: ------------------> \ EDGE 0, 1, 0, 1, 31 \ Edge 3 \ EDGE 2, 4, 9, 5, 31 \ Edge 4 \ EDGE 1, 2, 1, 5, 31 \ Edge 5 \ EDGE 2, 8, 7, 3, 31 \ Edge 6 \ EDGE 1, 3, 0, 4, 31 \ Edge 7 \ EDGE 3, 8, 2, 6, 31 \ Edge 8 \ EDGE 2, 9, 7, 10, 31 \ Edge 9 \ EDGE 3, 4, 4, 8, 31 \ Edge 10 \ EDGE 3, 9, 6, 11, 31 \ Edge 11 \ EDGE 3, 5, 8, 8, 7 \ Edge 12 \ EDGE 3, 10, 11, 11, 7 \ Edge 13 \ EDGE 2, 5, 9, 9, 7 \ Edge 14 \ EDGE 2, 10, 10, 10, 7 \ Edge 15 \ --- And replaced by: --------------------------------> EDGE 0, 1, 0, 1, 30 \ Edge 3 EDGE 2, 4, 9, 5, 29 \ Edge 4 EDGE 1, 2, 1, 5, 29 \ Edge 5 EDGE 2, 8, 7, 3, 29 \ Edge 6 EDGE 1, 3, 0, 4, 29 \ Edge 7 EDGE 3, 8, 2, 6, 29 \ Edge 8 EDGE 2, 9, 7, 10, 29 \ Edge 9 EDGE 3, 4, 4, 8, 29 \ Edge 10 EDGE 3, 9, 6, 11, 29 \ Edge 11 EDGE 3, 5, 8, 8, 5 \ Edge 12 EDGE 3, 10, 11, 11, 5 \ Edge 13 EDGE 2, 5, 9, 9, 5 \ Edge 14 EDGE 2, 10, 10, 10, 5 \ Edge 15 \ --- End of replacement ------------------------------> EDGE 2, 7, 9, 10, 31 \ Edge 16 EDGE 3, 6, 8, 11, 31 \ Edge 17 EDGE 5, 6, 8, 12, 31 \ Edge 18 EDGE 5, 7, 9, 12, 31 \ Edge 19 \ --- Mod: Code removed for Elite-A: ------------------> \ EDGE 7, 10, 12, 10, 31 \ Edge 20 \ EDGE 6, 10, 11, 12, 31 \ Edge 21 \ EDGE 4, 5, 8, 9, 31 \ Edge 22 \ EDGE 9, 10, 10, 11, 31 \ Edge 23 \ EDGE 1, 4, 4, 5, 31 \ Edge 24 \ EDGE 8, 9, 6, 7, 31 \ Edge 25 \ --- And replaced by: --------------------------------> EDGE 7, 10, 12, 10, 29 \ Edge 20 EDGE 6, 10, 11, 12, 29 \ Edge 21 EDGE 4, 5, 8, 9, 29 \ Edge 22 EDGE 9, 10, 10, 11, 29 \ Edge 23 EDGE 1, 4, 4, 5, 29 \ Edge 24 EDGE 8, 9, 6, 7, 29 \ Edge 25 \ --- End of replacement ------------------------------> .SHIP_PYTHON_FACES \ --- Mod: Code removed for Elite-A: ------------------> \ \ normal_x, normal_y, normal_z, visibility \ FACE -27, 40, 11, 31 \ Face 0 \ FACE 27, 40, 11, 31 \ Face 1 \ FACE -27, -40, 11, 31 \ Face 2 \ FACE 27, -40, 11, 31 \ Face 3 \ FACE -19, 38, 0, 31 \ Face 4 \ FACE 19, 38, 0, 31 \ Face 5 \ FACE -19, -38, 0, 31 \ Face 6 \ FACE 19, -38, 0, 31 \ Face 7 \ FACE -25, 37, -11, 31 \ Face 8 \ FACE 25, 37, -11, 31 \ Face 9 \ FACE 25, -37, -11, 31 \ Face 10 \ FACE -25, -37, -11, 31 \ Face 11 \ FACE 0, 0, -112, 31 \ Face 12 \ --- And replaced by: --------------------------------> \ normal_x, normal_y, normal_z, visibility FACE -27, 40, 11, 30 \ Face 0 FACE 27, 40, 11, 30 \ Face 1 FACE -27, -40, 11, 30 \ Face 2 FACE 27, -40, 11, 30 \ Face 3 FACE -19, 38, 0, 30 \ Face 4 FACE 19, 38, 0, 30 \ Face 5 FACE -19, -38, 0, 30 \ Face 6 FACE 19, -38, 0, 30 \ Face 7 FACE -25, 37, -11, 30 \ Face 8 FACE 25, 37, -11, 30 \ Face 9 FACE 25, -37, -11, 30 \ Face 10 FACE -25, -37, -11, 30 \ Face 11 FACE 0, 0, -112, 30 \ Face 12 \ --- End of replacement ------------------------------> EQUB 3 \ This byte appears to be unused
Save S.O.bin
PRINT "S.S.O ", ~CODE%, " ", ~P%, " ", ~LOAD%, " ", ~LOAD% SAVE "3-assembled-output/S.O.bin", CODE%, CODE% + &0A00