Prev: 54620 Up: Map Next: 54688
54649: Goldfish Game: Player Controls
Used by the routine at GoldfishGame.
GoldfishGame_PlayerControls 54649 LD IX,56334 IX=GoldfishGame_PlayerAttributes.
54653 LD A,(23530) Jump to Controls_KempstonJoystick if *ControlMethod is set to Kempston joystick (12).
54656 CP 12
54658 JP Z,Controls_KempstonJoystick
54661 CALL 654 Call KEY_SCAN.
54664 LD A,E A=the keypress.
54665 LD HL,23531 Jump to GoldfishGame_PlayerMoveLeft if A is equal to *UserDefinedKeys_Left.
54668 CP (HL)
54669 JP Z,GoldfishGame_PlayerMoveLeft
54672 INC HL Jump to GoldfishGame_PlayerMoveRight if A is equal to *UserDefinedKeys_Right.
54673 CP (HL)
54674 JP Z,GoldfishGame_PlayerMoveRight
54677 INC HL Jump to GoldfishGame_PlayerMoveUp if A is equal to *UserDefinedKeys_Up.
54678 CP (HL)
54679 JP Z,GoldfishGame_PlayerMoveUp
54682 INC HL Jump to GoldfishGame_PlayerMoveDown if A is equal to *UserDefinedKeys_Down.
54683 CP (HL)
54684 JP Z,GoldfishGame_PlayerMoveDown
54687 RET Return.
Prev: 54620 Up: Map Next: 54688