Infinite Lives
POKE 36965,0
Removes the instruction which would otherwise decrease ActivePlayer_Lives.
36962 LD A,(24225)
36965 DEC A
36966 LD (24225),A
To:
36962 LD A,(24225)
36965 NOP
36966 LD (24225),A
255 Lives
POKE 43093,255
POKE 43117,255
This changes the starting lives from 4 (1UP) and 5 (2UP) to 255. The 2UP value is one higher than 1UP because of how ChangePlayer copies the inactive player.
43092 LD A,4
43094 LD (24225),A
43116 LD A,5
43118 LD (24229),A
To:
43092 LD A,255
43094 LD (24225),A
43116 LD A,255
43118 LD (24229),A
Infinite Fuel
POKE 36268,0
POKE 36269,0
Removes the subtract which would otherwise take the spent fuel off FuelLevel_1.
36260 LD HL,(24718)
36268 SBC HL,BC
To:
36260 LD HL,(24718)
36268 NOP
36269 NOP
Immunity
POKE 45776,195
POKE 45781,167
TickThenExplode_TestHeight is the height test used before an actor explodes on Jetman.
45776 JP P,45781
45779 NEG
45781 CP E
45782 RET
To:
45776 JP 45781
45781 AND A
45782 RET
The first poke always jumps to TickThenExplode_Compare. The second clears carry, so the following RET never comes back with carry set.
Infinite Time
POKE 43997,24
Turns the type check into an unconditional skip, so *IX+23 is never decreased and Handler_Missile_ConvertExploding is never called from here.
43992 LD A,(24696)
43995 CP 129
43997 JR Z,44005
43999 DEC (IX+23)
To:
43992 LD A,(24696)
43995 CP 129
43997 JR 44005
No Enemies
POKE 37999,201
Turns the delay check in SpawnAlien into an immediate return, so a new alien is never copied into a free slot.
37995 LD A,(24167)
37998 AND A
37999 RET NZ
To:
37995 LD A,(24167)
37998 AND A
37999 RET
Destroy Missile With One Shot
POKE 44906,24
Treats the missile as destroyed as soon as one hit is taken off *IX+22.
44903 DEC (IX+22)
44906 JR Z,44977
To:
44903 DEC (IX+22)
44906 JR 44977