.include "cpctelera.h.s"
.include "sys/render.h.s"
.include "cpct_functions.h.s"
.include "man/end.h.s"
.include "cmp/entity.h.s"
.include "man/entity.h.s"
.include "man/menu.h.s"



string_end:         .asciz "SPACE TO FINISH"
string:             .asciz "GAME OVER"


man_end_init::

    call sys_eren_init
    
    ld hl, #0x0001
    call cpct_setDrawCharM0_asm
    ld iy, #string_end
    ld hl, #0xC000
    call cpct_drawStringM0_asm

    ld hl, #0x0003
    call cpct_setDrawCharM0_asm
    ld iy, #string
    ld hl, #0xC800
    call cpct_drawStringM0_asm


    ret