dos33fsprogs/games/tfv/help_overworld.s

39 lines
715 B
ArmAsm
Raw Normal View History

2020-12-30 06:41:14 +00:00
;====================
; print help message
;====================
print_help:
2020-12-30 23:47:00 +00:00
2020-12-30 06:41:14 +00:00
lda #$a0
jsr clear_top_a
bit SET_TEXT
2020-12-30 23:47:00 +00:00
jsr normal_text
2020-12-30 06:41:14 +00:00
lda #<(help_message)
sta OUTL
2020-12-30 23:47:00 +00:00
lda #>(help_message)
sta OUTH
2020-12-30 06:41:14 +00:00
jsr move_and_print_list
jsr page_flip
jsr wait_until_keypressed
bit SET_GR ; set graphics
rts
help_message:
2021-01-05 20:32:11 +00:00
.byte 18,1,"HELP",0
.byte 3,4, "W/A/S/D,ARROWS - MOVE",0
.byte 3,8, "RETURN - ENTER / ACTION",0
.byte 3,9, "I - INVENTORY",0
.byte 3,10,"M - MAP",0
.byte 3,11,"ESC - QUIT",0
.byte 3,12,"J - JOYSTICK",0
.byte 3,13,"CONTROL-T - TOGGLE SOUND",0
2020-12-30 06:41:14 +00:00
.byte $ff