![]() |
Routines |
Prev: 24967 | Up: Map | Next: 25021 |
|
||||
PlayerInitialisation | 24986 | LD HL,24592 | HL Source address: Initialisation_Player | |
24989 | LD DE,23808 | DE Target address: JETMAN_FRAME | ||
24992 | LD BC,8 | BC=loop counter | ||
24995 | LDIR | Action! Copy source to target, decrease counter, repeat until zero | ||
24997 | LD A,128 | A=$80 | ||
24999 | LD HL,23795 | if bit 0 is set for GameOptions (is this a 2UP game) then jump to PlayerInitialisation_0 | ||
25002 | BIT 0,(HL) | |||
25004 | JR Z,PlayerInitialisation_0 | |||
25006 | ADD A,127 | Add $7F to A and update PlayDelay_Counter with the result | ||
PlayerInitialisation_0 | 25008 | LD (24023),A | ||
25011 | LD A,(24049) | Decrease ActivePlayer_Lives by 1 | ||
25014 | DEC A | |||
25015 | LD (24049),A | |||
25018 | JP DisplayPlayerLives | Jump to DisplayPlayerLives |
Prev: 24967 | Up: Map | Next: 25021 |