ReC98/th04/hud/popup[bss].asm

28 lines
737 B
NASM

POPUP_TRAM_Y = 2
POPUP_LEN = 8
POPUP_DURATION = 128
public _popup_gaiji_len, _popup_id_cur, _popup_dest_reached, _popup_shiftbuf
public _popup_cur_tram_x, _popup_dest_tram_x, _bgm_title_id, _popup_id_new
public _overlay_text_fp, _popup_fp, _popup_byte_unknown, _popup_bonus
_popup_gaiji_len dw ?
_popup_id_cur db ?
_popup_dest_reached db ?
; Buffer used for shifting in the popup text from the right of the playfield.
; Only used while the text isn't fully visible.
_popup_shiftbuf db (POPUP_LEN + 1) dup(?)
db ? ; (word alignment)
if GAME eq 5
dd ? ;
endif
_popup_cur_tram_x dw ?
_popup_dest_tram_x dw ?
_bgm_title_id db ?
_popup_id_new db ?
_overlay_text_fp dw ?
_popup_fp dw ?
_popup_byte_unknown db ?
db ?
_popup_bonus dd ?