1 |
draw_set_color(c_black); |
2 |
ossafe_fill_rectangle(x, (y - 1) + voff, x + 330, y + 242 + voff); |
3 |
if (write == 1) |
4 |
{ |
5 |
draw_set_color(c_yellow); |
6 |
tx += 1; |
7 |
if (doom == 1) |
8 |
tx += 4; |
9 |
scr_setfontscr_setfontvar newfont = argument0;
if (global.language == "ja")
{
if (newfont == fnt_main)
newfont = fnt_ja_main;
if (newfont == fnt_maintext)
newfont = fnt_ja_maintext;
if (newfont == fnt_plain)
newfont = fnt_ja_plain;
}
draw_set_font(newfont); (fnt_maintext); |
10 |
if (doom == 0) |
11 |
draw_text((x + 320) - tx, y + 10 + voff, stringer); |
12 |
if (doom == 1) |
13 |
draw_text_transformed((x + 320) - tx, y + 10 + voff, stringer, 2, 1, 0); |
14 |
} |
15 |
draw_sprite(spr_tickerlogo, 0, x, y); |
16 |
if (doom == 1) |
17 |
{ |
18 |
doomtimer += 1; |
19 |
if (doomtimer > 150) |
20 |
event_user(1); |
21 |
} |
22 |
if (voff > 0) |
23 |
voff -= 4; |
24 |
if (voff <= 0) |
25 |
voff = 0; |
26 |
if (y > room_height) |
27 |
instance_destroy(); |