1984 · Datasoft

Bruce Lee

This minisite was contributed by unorig. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/c64/bruce-lee with me to Gold.

One joystick and fire do everything Bruce can do. In play the keyboard has just four keys, and a menu key turns the stick a quarter turn for a left-handed grip.

The joystick

Moves

Player 1’s Bruce reads the joystick in port 1. The C64-Wiki gives port 22, but on the disk studied port 2 never moved him: it is the second player’s, or a human Yamo’s ($169D, $16CF).

StickMove
left or rightwalk
fire while walkingflying kick, once he has walked for four passes ($1E70, $1EB1)
fire, standingpunch
upjump straight up, or climb a net
up-left or up-rightjump sideways
downlie flat, or climb down a net

The moves are chosen in choose_action ($1D77) when Bruce’s last move has finished.

The keyboard

Keys in the menu and in play

KeyWhenWhat it does
F3menuone player or two ($092C)
F5menuYamo played by the computer or by a person ($0908)
F7, or firemenustart ($08FC)
L, Rmenujoystick 1 left- or right-handed ($0956)
SHIFT L, SHIFT Rmenujoystick 2 left- or right-handed
SPACEplaypause, and again to go on ($1A22)
Splayswitch the title tune off or on ($1385)
Vplayshow or hide the hidden version line (show_version, $1B68)
F1playgive up and go back to the menu ($050F)

In play the game looks at only those four keys. scan_play_keys ($1462) drives one row of the keyboard for each and reads one column, from a table of four pairs ($1488), instead of scanning the whole keyboard as the menu does (read_key, $139E).

Left-handed play

A quarter turn of the stick

A left-handed player can hold the joystick turned on its side. The game turns the readings back: pushed left reads as up, right as down, up as right, and down as left (lefthand_turn, $4A85). The setting is kept for each joystick ($1383, $1384), and the menu shows “JOYSTICK #1 IS IN LEFT HANDED MODE” when it changes.

With joystick 1 set left-handed, the stick pushed left reads $0E, up, in the game’s copy of the stick ($98); set right-handed, it reads $0B, left.