Skip to main content

Introduction and ending

Home · The engine in ten minutes · The start menu · Saving and restoring

In brief​

The game has two fixed sequences of pictures, texts, animations and music. The introduction plays when the program starts, before the start menu, and again from that menu's RUN INTRODUCTION line; a key skips it once the first scene is on screen. The ending plays once, after the final opponent's second form dies on level 16 and the game has written FINAL.SAV; the program then returns to DOS. Neither sequence changes the game: no party, item or flag is touched. Each one is played by an overlay of its own, from pictures in CPS files, with durations counted in ticks of the game's free-running counter.

Where the introduction and the ending stand. The program starts with the introduction, which a key skips once the first scene is shown, then the start menu, whose RUN INTRODUCTION line plays it again. The game follows. When the final opponent’s second form dies on level 16, the game writes FINAL.SAV, plays the ending and returns to DOS.
The introduction leads to the start menu, the ending to DOS.

The pages of this chapter​

PageWhat it covers
The introductionIts sequence, scenes, animation lists, texts, music, skipping and display modes.
The endingIts sequence, scenes, animation lists, credits, last picture, music and display modes.

Sources​

The figure is drawn by make_sequence_figures.py; the introduction and the ending give their own sources.