Each enemy is an actor: a 0x40-byte record at 0xCE80 (20 of them) or
a 0x20-byte one at 0xD460 (18), with its type in the first byte. Each type
has its start-up and what it does every frame in two tables (p04:6360 and
p04:64D1); p04:7791 draws them with sprites or with pieces of background
characters (p04:7A5F). The stage script (p04:625E) puts them in, watching
how far the scroll has gone (0xCA34).
The GIFs are played by the cartridge (tools/enemigos.py): the stage
with the ship invincible and not firing, so each enemy goes through its
whole path, from the frame in which each type first appears. When several
types come one after another they share a GIF (a wave: those appearing in
its first 120 frames), with the list of those that debut. Full screen and at
the MSX's pace (see Under the hood). There are no enemy
names in the cartridge: they go by their type number.
Under each stage, each type on its own, in the stage where it first
appears (tools/enemigo_suelto.py): on a frame where it is seen, the game is
copied and that type is removed from the copy; what changes between the two
screens three frames later is what it draws, and the cut-out is that area
(enlarged three times, with whatever is around it). Those in the 0xD460
records are shots to the game (p04:7840); those whose removal changes
nothing draw nothing themselves (they set others going), and there is one or
another whose removal changes the whole screen.