![]() |
Routines |
| Prev: B731 | Up: Map | Next: B7A8 |
|
On action, mark the bomb carried and play SoundsTakeObject.
|
||||||||
|
On action, mark the bomb carried and play SoundsTakeObject.
|
||||||||
| CollectBomb | B785 | CALL TestActionKey | Call TestActionKey. | |||||
| B788 | JR NZ,CollectBomb_TestRange | Jump to CollectBomb_TestRange if action is pressed. | ||||||
| B78A | RES 7,(IX+$08) | Reset bit 7 of the actor flags. | ||||||
|
Mark the bomb as carried if Jetman can collect it.
|
||||||||
| CollectBomb_TestRange | B78E | CALL TestJetmanAction | Call TestJetmanAction. | |||||
| B791 | JR NC,CollectBomb_Loop | Jump to CollectBomb_Loop if Jetman cannot collect it. | ||||||
| B793 | LD (IX+$08),$81 | Write 81 to the actor flags. | ||||||
| B797 | LD A,($6080) | Fetch Jetman_Flags. | ||||||
| B79A | OR %00000001 | Set bit 0. | ||||||
| B79C | LD ($6080),A | Write it back. | ||||||
| B79F | CALL SoundsTakeObject | Call SoundsTakeObject. | ||||||
|
This entry point is used by the routines at CarryBomb and FlyThrownBomb.
|
||||||||
| CollectBomb_Loop | B7A2 | CALL Handler_Bomb | Call Handler_Bomb. | |||||
| B7A5 | JP DrawCurrentActor_Draw | Jump to DrawCurrentActor_Draw. | ||||||
| Prev: B731 | Up: Map | Next: B7A8 |