|
1
|
for (i = 0; i < (wd / 2); i += 1)
|
|
2
|
{
|
|
3
|
if (draw_getpixel(x + (i * 2), y + (line * 2)) == c_white)
|
|
4
|
ossafe_file_text_write_string(file, "1");
|
|
5
|
else
|
|
6
|
ossafe_file_text_write_string(file, "0");
|
|
7
|
if (global.osflavor >= 3)
|
|
8
|
ossafe_file_text_writeln(file);
|
|
9
|
}
|
|
10
|
if (myvapor == 0)
|
|
11
|
line += 1;
|
|
12
|
line += 1;
|
|
13
|
if (line > (ht / 2))
|
|
14
|
{
|
|
15
|
ossafe_file_text_write_string(file, "2");
|
|
16
|
ossafe_file_text_close(file);
|
|
17
|
instance_destroy();
|
|
18
|
exit;
|
|
19
|
}
|
|
20
|
alarm[0] = 1 + myvapor; gml_Object_obj_vaporacquirer_Alarm_0.gml
for (i = 0; i < (wd / 2); i += 1)
{
if (draw_getpixel(x + (i * 2), y + (line * 2)) == c_white)
ossafe_file_text_write_string(file, "1");
else
ossafe_file_text_write_string(file, "0");
if (global.osflavor >= 3)
ossafe_file_text_writeln(file);
}
if (myvapor == 0)
line += 1;
line += 1;
if (line > (ht / 2))
{
ossafe_file_text_write_string(file, "2");
ossafe_file_text_close(file);
instance_destroy();
exit;
}
alarm[0] = 1 + myvapor;
|