Prev: 54289 Up: Map Next: 54345
54317: Move right
Used by the routine at 54289
54317 CALL ScreenScroll_Right Scroll the screen right.
54320 LD DE,1024
54323 LD HL,54365 Point to the cash deposit box reference at CashboxReference_Active.
54326 LD A,(HL) Move up a box.
54327 INC A
54328 LD (HL),A
54329 CP 13 If we went past box 12, go back to box 1
54331 JR C,54335
54333 LD (HL),1
This entry point is used by the routine at 54345.
54335 CALL ActiveDoors Highlight the active doors.
54338 LD A,(54365) Put a copy of the current index in CashboxReference_Inactive.
54341 LD (54364),A
54344 RET
Prev: 54289 Up: Map Next: 54345