Prev: B4CE Up: Map Next: B5B3
B55B: Updates the display with the correct keys defined for play.
Used by the routine at MainMenu.
Input
Output
Menu_UpdateKeys B55B LD A,(Input_Flag) Check for type of input for game keys.
B55E OR A
B55F JR Z,Menu_UpdateKeys_0
Kempston Mode.
B561 LD C,$43 Display '#' signs next to each key text, showing that kempston has been chosen.
B563 LD E,$09
B565 LD D,$0F
B567 LD A,$23
B569 CALL Tile_BlitDoubleHeight
B56C LD E,$1B
B56E CALL Tile_BlitDoubleHeight
B571 LD E,$14
B573 LD D,$12
B575 CALL Tile_BlitDoubleHeight
B578 RET
Key Mode.
Menu_UpdateKeys_0 B579 LD A,(Game_InputLeftAddr) Display the key for each of the game inputs on screen as characters.
B57C LD C,A
B57D LD A,(Game_InputLeft)
B580 CALL Game_InputAsAscii
B583 LD E,$09
B585 LD D,$0F
B587 LD C,$43
B589 CALL Tile_BlitDoubleHeight
B58C LD A,(Game_InputRightAddr)
B58F LD C,A
B590 LD A,(Game_InputRight)
B593 CALL Game_InputAsAscii
B596 LD E,$1B
B598 LD D,$0F
B59A LD C,$43
B59C CALL Tile_BlitDoubleHeight
B59F LD A,(Game_InputJumpAddr)
B5A2 LD C,A
B5A3 LD A,(Game_InputJump)
B5A6 CALL Game_InputAsAscii
B5A9 LD E,$14
B5AB LD D,$12
B5AD LD C,$43
B5AF CALL Tile_BlitDoubleHeight
B5B2 RET
Prev: B4CE Up: Map Next: B5B3