Routines |
Prev: 651F | Up: Map | Next: 665B |
Used by the routine at 6965.
|
||||
DropFuelPod | 6630 | LD A,($5D00) | ||
6633 | AND $3F | |||
6635 | RET Z | |||
6636 | CP $03 | |||
6638 | RET NC | |||
6639 | LD HL,$6030 | HL=$6030 | ||
663C | LD DE,$5D38 | DE=5D38 | ||
663F | LD BC,$0008 | BC=$0008 | ||
6642 | LD A,(DE) | A=(DE) | ||
6643 | AND A | |||
6644 | RET NZ | |||
6645 | LD A,($5D35) | Check if ActivePlayerNum_Fuel_Pods is $06? Is the ship full of fuel? | ||
6648 | CP $06 | |||
664A | RET NC | |||
This entry point is used by the routine at 651F.
|
||||
DropFuelPod_0 | 664B | LD A,($5DCC) | ||
664E | CPL | |||
664F | AND $0F | |||
6651 | RET NZ | |||
6652 | LDIR | |||
6654 | CALL $6612 | |||
6657 | LD ($5D39),A | |||
665A | RET | Return |
Prev: 651F | Up: Map | Next: 665B |