Prev: 58097 Up: Map Next: 58144
58109: Routine at E2FD
Used by the routine at 62526.
58109 LD A,(58802) Return if the player has pressed fire (16).
58112 CP 16
58114 RET Z
58115 LD A,(55346) Return if *55346 is equal to 2.
58118 CP 2
58120 RET Z
58121 CP 0 Return if *55346 is equal to 0.
58123 RET Z
58124 LD A,(55340) Return if *DestinationCursor_Y_Position is not equal to *StorageCursor_Y_Position.
58127 LD HL,55344
58130 CP (HL)
58131 RET NZ
58132 LD A,(55341) Return if *DestinationCursor_X_Position is not equal to *StorageCursor_X_Position.
58135 LD HL,55345
58138 CP (HL)
58139 RET NZ
58140 CALL Remove_PlayerCursor Call Remove_PlayerCursor.
58143 RET Return.
Prev: 58097 Up: Map Next: 58144