Routines |
Prev: E2F1 | Up: Map | Next: E320 |
Used by the routine at F43E.
|
||||
E2FD | LD A,($E5B2) | Return if the player has pressed fire (10). | ||
E300 | CP $10 | |||
E302 | RET Z | |||
E303 | LD A,($D832) | Return if *D832 is equal to 02. | ||
E306 | CP $02 | |||
E308 | RET Z | |||
E309 | CP $00 | Return if *D832 is equal to 00. | ||
E30B | RET Z | |||
E30C | LD A,($D82C) | Return if *DestinationCursor_Y_Position is not equal to *StorageCursor_Y_Position. | ||
E30F | LD HL,$D830 | |||
E312 | CP (HL) | |||
E313 | RET NZ | |||
E314 | LD A,($D82D) | Return if *DestinationCursor_X_Position is not equal to *StorageCursor_X_Position. | ||
E317 | LD HL,$D831 | |||
E31A | CP (HL) | |||
E31B | RET NZ | |||
E31C | CALL Remove_PlayerCursor | Call Remove_PlayerCursor. | ||
E31F | RET | Return. |
Prev: E2F1 | Up: Map | Next: E320 |