Source code in the ROM

There's a lot of source on display...

$0044

Level definitions?

s40     DW      &2c4,belt138
        DW      &2d6,be

$007a

Continuing from $0044...

140
        DW      &36,belt141
        DW      -1

; ------------- FOOD -----------

s41     DW      &268,trap1
        DW      &270,trap2
        DW      &1f0,trap3
        DW      &170,trap4

$3dd2

Level passwords (see below).

RD"
        TEXT "
MOTHER"
        TEXT "
SUNHAT"
        TEXT "
NICKEL"
        TEXT "
LITTLE"
        TEXT "
TREATY"
        TEXT "
LISTER"
        TEXT "
SHARKS"
        TEXT "
PLURAL"
        TEXT "
RUNNER"
        TEXT "
STRIPE"
        TEXT "
GUITAR"
        TEXT "
COYOTE"
        TEXT "
LONDON"
        TEXT "
FOREST"
        TEXT "
APOLLO"
        TEXT "
BORDER"
        TEXT "
CARPET"
        TEXT "
ENERGY"
        TEXT "
ENGINE"
        TEXT "
DOCTOR"
        TEXT "
ACROSS"
        TEXT "
FLOWER"
        TEXT "
SYSTEM"
        TEXT "
INSIDE"
        TEXT "
CINEMA"
        TEXT "
KEYPAD"
        TEXT "
SISTER"
        TEXT "
CAMERA"
        TEXT "
SPIDER"
        TEXT "
ORCHID"
        TEXT "
SATURN"
        TEXT "
AMAZON"
        TEXT "
PEOPLE"
        TEXT "
AROUND"
        TEXT "
H

$7ab5

Platform physics

man inside box by more than 1 pixel?
        OR      A
        JR      Z,$NO_DIE2
        JP      QUIT_LIFE               ;yes ...oh shit ....BANG!
        ;
$NO_DIE2        LD      A,(SXPOS)               ;else stop last x movement
        LD      (XPOS),A
        ;
$LEAVELR        LD      A,(JUMPING)             ;if on floor leave
        OR      A
        RET     Z
        LD      A,(VELOC+1)             ;if going up in a jmp leave
        BIT     7,A
        RET     NZ
        ;
        LD      DE,#0010                ;else stick to top of box
        LD      L,(IX+1)                ;box ypos
        LD      H,(IX+2)
        OR      A
        SBC     HL,DE
        PUSH    HL
        ;
        LD      DE,(YPOS)               ;check if new ypos is more than 7 pix from old
        EX      HL,DE           ;ypos if is then dont do it
        OR      A
        SBC     HL,DE
        JR      C,$END
        LD      A,L
        CP      A,#07
        JR      NC,$END
        POP     HL
        LD      (YPOS),HL
        ;
        LD      HL,#0000                ;stop fall
        LD      (VELOC),HL
        XOR     A
        LD      (JUMPING),A
        LD      A,#01
        LD      (RESTDEL),A
        RET
        ;
$END    POP     HL
        RET











COLIS_X LD      A,(UWATER)
        OR      A
        RET     NZ
        ;
        LD      A,(JUMPING)
        OR      A
        JR      Z,$JUSTMID              ;if jumping chk both blks
        ;
        LD      A,(COLNUMBB)    ;below bot blk
        CP      A,15
        JR      Z,$HITX         ;only for big door cols
        ;
        LD      A,(COLNUMB)             ;bot blk
        CP      A,#04
        JR      Z,$HITX
        CP      A,15            ;new big door collsion!
        JR      Z,$HITX
        ;
$JUSTMID        LD      A,(COLNUMM)             ;mid blk
        CP      A,15            ;new big door collision!
        JR      Z,$HITX
        CP      A,#04
        RET     NZ
$HITX   LD      A,(SXPOS)
        LD      (XPOS),A
        LD      A,#01
        LD      (HITXLAST),A

Level passwords

The game is set up with a password for every level, stored from $37608 to $3785f, but many of them have been disabled (by setting the first letter of the password to the character 0) and those that remain seem to be overwritten from the list seen in the source (above) and in the Mega Drive version (which retains all the passwords). Each is exactly six letters long, making it easier for the game to look them up. Here is the full list:

StagePasswordStagePasswordStagePasswordStagePasswordStagePasswordStagePassword
1CRUMBS21KNIGHT41DODGER61TENNIS71GOALIE81BADGER
2JUMPED220ICKEL420YSTEM620YPING720ISCUS820AGUAR
3JIGSAW230ITTLE430NSIDE630NITED730OMANS830UNDAY
4WARSAW240REATY440INEMA640ANDLE740UBBER840UBLIC
5BANANA250ISTER450EYPAD650UGGLE750IVELY850EADER
6CAMERA26WARPED46PENCIL66RADISH76BALLET86NUMBER
70ENNIS270LURAL470AMERA670LAYER770LUFFY870WENTY
80SLAND280UNNER480PIDER680EDUSA780OCCER880AMJAR
90RATER290TRIPE490RCHID690ABBIT790UARTZ890ATURE
100ENNIS300UITAR500ATURN700ADING800ALLEY900URROW
11DESIGN31KRYTON51JUNGLE71GOALIE81BADGER91ASYLUM
120ATMAN320ONDON520EOPLE720ISCUS820AGUAR920EESAW
130UMMER330OREST530ROUND730OMANS830UNDAY930EANUT
140LOUDS340POLLO540AMLET740UBBER840UBLIC940RENCH
150EBABS350ORDER550ARMER750IVELY850EADER950PRITE
16DRIVER36DRENCH56RABBIT76BALLET86NUMBER96WALLOP
170ILVER370NERGY570ASTLE770LUFFY870WENTY970ROZEN
180RIDGE380NGINE580ONGUE780OCCER880AMJAR980GNITE
190ECORD390OCTOR590UXURY790UARTZ890ATURE990UMICE
200OTHER400CROSS600ECOND800ALLEY900URROW1000OTTOM

The passwords CAMERA, TENNIS and RABBIT seem to be in there more than once (there are no other English words that end with the same five letters), probably due to the rearrangement of the available passwords.




Return to top
0.233s