|
1
|
function scr_initializescr_initialize
function scr_initialize()
{
randomize();
global.player_level = 1;
global.current_hp_self = 20;
global.max_hp_self = 20;
global.max_hp_boosted = 20;
global.player_x = 150;
global.player_y = 140;
global.player_direction = "down";
global.player_area = "";
global.player_area_value = 0;
global.player_can_run = true;
global.current_pp_self = 0;
global.max_pp_self = 99;
global.current_sp_self = 0;
global.max_sp_self = 99;
global.current_rp_self = 0;
global.max_rp_self = 99;
global.player_gold = 0;
global.player_sprites = "normal";
global.player_name = "Clover";
global.party_member = -4;
global.player_attack = 10;
global.player_defense = 10;
global.player_speed = 3;
global.player_invulnerability = 30;
global.player_exp = 0;
global.player_weapon = "Toy Gun";
global.player_armor = "Worn Hat";
global.player_weapon_modifier = "Rubber Ammo";
global.player_armor_modifier = "Patch";
global.player_weapon_attack = script_execute(scr_determine_weapon_attack);
global.player_armor_defense = script_execute(scr_determine_armor_defense);
global.player_weapon_modifier_attack = script_execute(scr_determine_weapon_modifier_attack);
global.player_armor_modifier_defense = script_execute(scr_determine_armor_modifier_defense);
global.player_has_satchel = false;
global.player_can_travel = false;
global.saved_datetime = date_current_datetime();
global.elapsed_seconds = 0;
global.last_room_overworld = "rm_ruins_01";
global.story = 0;
global.lastroom = 7;
scr_init_flags_ruins();
scr_init_flags_snowdin();
scr_init_flags_dunes();
scr_init_flags_steamworks();
scr_init_flags_hotland();
scr_init_flags_flowey();
global.flowey_death_pop = 0;
global.flowey_save_number = 1;
global.fighting_flowey = 0;
global.flowey_battle_1_phase = 0;
global.save_count = 0;
global.extra_flag[1] = false;
global.extra_flag[2] = false;
global.extra_flag[3] = false;
global.extra_flag[4] = false;
global.extra_flag[5] = false;
global.extra_flag[6] = false;
global.extra_flag[7] = false;
global.extra_flag[8] = false;
global.extra_flag[9] = false;
global.encounter_flag[0] = 0;
global.route = 2;
global.kill_number[0] = 9999;
global.kill_area[0][0] = 9999;
global.kill_number[1] = 20;
for (var i = 0; i <= 6; i++)
global.kill_area[1][i] = 5;
global.kill_number[2] = 20;
for (var i = 0; i <= 7; i++)
global.kill_area[2][i] = 5;
global.kill_number[3] = 20;
for (var i = 0; i <= 8; i++)
global.kill_area[3][i] = 3;
global.kill_number[4] = 20;
for (var i = 0; i <= 12; i++)
global.kill_area[4][i] = 3;
global.kill_area_current = 0;
global.flGenoCutscene = 0;
global.geno_complete[1] = false;
global.geno_complete[2] = false;
global.geno_complete[3] = false;
global.geno_complete[4] = false;
global.geno_complete[5] = false;
global.item_stock[0] = 1;
global.item_stock[1] = 1;
global.item_stock[2] = 1;
global.item_stock[3] = 1;
global.item_stock[4] = 1;
global.item_stock[5] = 1;
global.item_stock[6] = 1;
global.item_stock[7] = 1;
global.item_stock[8] = 3;
global.item_stock[9] = 1;
global.item_stock[10] = 1;
global.item_stock[11] = 1;
global.item_stock[12] = 2;
global.item_stock[13] = 2;
global.item_stock[14] = 1;
... ()
|
|
2
|
{
|
|
3
|
randomize();
|
|
4
|
global.player_level = 1;
|
|
5
|
global.current_hp_self = 20;
|
|
6
|
global.max_hp_self = 20;
|
|
7
|
global.max_hp_boosted = 20;
|
|
8
|
global.player_x = 150;
|
|
9
|
global.player_y = 140;
|
|
10
|
global.player_direction = "down";
|
|
11
|
global.player_area = "";
|
|
12
|
global.player_area_value = 0;
|
|
13
|
global.player_can_run = true;
|
|
14
|
global.current_pp_self = 0;
|
|
15
|
global.max_pp_self = 99;
|
|
16
|
global.current_sp_self = 0;
|
|
17
|
global.max_sp_self = 99;
|
|
18
|
global.current_rp_self = 0;
|
|
19
|
global.max_rp_self = 99;
|
|
20
|
global.player_gold = 0;
|
|
21
|
global.player_sprites = "normal";
|
|
22
|
global.player_name = "Clover";
|
|
23
|
global.party_member = -4;
|
|
24
|
global.player_attack = 10;
|
|
25
|
global.player_defense = 10;
|
|
26
|
global.player_speed = 3;
|
|
27
|
global.player_invulnerability = 30;
|
|
28
|
global.player_exp = 0;
|
|
29
|
global.player_weapon = "Toy Gun";
|
|
30
|
global.player_armor = "Worn Hat";
|
|
31
|
global.player_weapon_modifier = "Rubber Ammo";
|
|
32
|
global.player_armor_modifier = "Patch";
|
|
33
|
global.player_weapon_attack = script_execute(scr_determine_weapon_attack);
|
|
34
|
global.player_armor_defense = script_execute(scr_determine_armor_defense);
|
|
35
|
global.player_weapon_modifier_attack = script_execute(scr_determine_weapon_modifier_attack);
|
|
36
|
global.player_armor_modifier_defense = script_execute(scr_determine_armor_modifier_defense);
|
|
37
|
global.player_has_satchel = false;
|
|
38
|
global.player_can_travel = false;
|
|
39
|
global.saved_datetime = date_current_datetime();
|
|
40
|
global.elapsed_seconds = 0;
|
|
41
|
global.last_room_overworld = "rm_ruins_01";
|
|
42
|
global.story = 0;
|
|
43
|
global.lastroom = 7;
|
|
44
|
scr_init_flags_ruinsscr_init_flags_ruins
function scr_init_flags_ruins()
{
global.flag[0 Lemonade collected] = 0;
global.flag[1 First Dark Ruins switch puzzle completion] = 0;
global.flag[2 First Dark Ruins light puzzle completion] = 0;
global.flag[3 Dalv second cutscene completion status] = 0;
global.flag[4 Pulled the lever immediately after the second Dalv monologue] = 0;
global.flag[5 Pulled the lever in the corn maze] = 0;
global.flag[6 Second Dark Ruins light puzzle completion] = 0;
global.flag[7 Found the hidden entrance in rm_ruins_13] = 0;
global.flag[8 Obtained Candy Corn] = 0;
global.flag[9 Killed the Intro Froggit] = 0;
global.flag[10 Obtained Feather] = 0;
global.flag[11 Obtained Corn Dog] = 0;
global.flag[12 Gate lever activated] = 0;
global.flag[13 Unused] = 0;
global.flag[14 Obtained Pebbles ammo] = 0;
global.flag[15 Decibat fate] = 0;
global.flag[16 Watched Decibat sentinel of silence cutscene] = 0;
global.flag[17 Dalv fate] = 0;
global.flag[18 Micro Froggit fate] = 0;
global.flag[19 Obtained Golden Pear] = 0;
global.flag[20 Dark Ruins Clover wakeup cutscene] = 0;
global.flag[21 Hurt Dalv during battle?] = 0;
global.flag[22 Unused] = 0;
global.flag[23 Rescue Ending rope status] = 0;
global.flag[24 Flowey introduction progress] = 0;
global.flag[25 Dalv meeting cutscene] = 0;
global.flag[26 Dalv cutscene outside his house completed] = 0;
global.flag[27 Cutscene surrounding the Dalv fight completed] = 0;
global.flag[28 Spoken to Dalv in his house] = 0;
global.flag[29 Dalv board destruction cutscene] = 0;
global.sideNpc[5] = 0;
global.interaction_count_doorway_dalvshouse = 0;
global.interaction_count_wardrobe = 0;
global.interaction_count_broom = 0;
global.interaction_count_books = 0;
global.interaction_count_mini_fridge = 0;
global.interaction_count_painting = 0;
global.interaction_count_dalvsroom_chest = 0;
global.interaction_count_flower_pot = 0;
global.interaction_count_doorway_dalvshouse = 0;
global.interaction_count_dalvroomhall_door = 0;
global.dalv_house_enter_count = 0;
global.ruins_flag[0] = 0;
global.ruins_flag[1] = 0;
global.ruins_flag[2] = 0;
global.ruins_flag[3] = 0;
} ();
|
|
45
|
scr_init_flags_snowdinscr_init_flags_snowdin
function scr_init_flags_snowdin()
{
global.snowdin_flag[0] = 0;
global.snowdin_flag[1] = 0;
global.snowdin_flag[2] = 0;
global.snowdin_flag[3] = 0;
global.snowdin_flag[4] = 0;
global.snowdin_flag[5] = 0;
global.snowdin_flag[6] = 0;
global.snowdin_flag[7] = 0;
global.snowdin_flag[8] = 0;
global.snowdin_flag[9] = 0;
global.snowdin_flag[10] = 0;
global.snowdin_flag[11] = 0;
global.snowdin_flag[12] = 0;
global.snowdin_flag[13] = 0;
global.snowdin_flag[14] = 0;
global.snowdin_flag[15] = 1;
global.snowdin_flag[16] = 0;
global.snowdin_flag[17] = 0;
global.snowdin_flag[18] = 0;
global.snowdin_flag[19] = 0;
global.snowdin_flag[20] = 0;
global.snowdin_flag[21] = 0;
global.snowdin_flag[22] = 0;
} ();
|
|
46
|
scr_init_flags_dunesscr_init_flags_dunes
function scr_init_flags_dunes()
{
global.dunes_flag[0] = 0;
global.dunes_flag[1] = 0;
global.dunes_flag[2] = 0;
global.dunes_flag[3] = 0;
global.dunes_flag[4] = 0;
global.dunes_flag[5] = 0;
global.dunes_flag[6] = 0;
global.dunes_flag[7] = 0;
global.dunes_flag[8] = 0;
global.dunes_flag[9] = 0;
global.dunes_flag[10] = 0;
global.dunes_flag[11] = 0;
global.dunes_flag[12] = 0;
global.dunes_flag[13] = 0;
global.dunes_flag[14] = 0;
global.dunes_flag[15] = 0;
global.dunes_flag[16] = 0;
global.dunes_flag[17] = 0;
global.dunes_flag[18] = 0;
global.dunes_flag[19] = 0;
global.dunes_flag[20] = 0;
global.dunes_flag[21] = 0;
global.dunes_flag[22] = 0;
global.dunes_flag[23] = 0;
global.dunes_flag[24] = 0;
global.dunes_flag[25] = 0;
global.dunes_flag[26] = 0;
global.dunes_flag[27] = 0;
global.dunes_flag[28] = 0;
global.dunes_flag[29] = 0;
global.dunes_flag[30] = 0;
global.dunes_flag[31] = 0;
global.dunes_flag[32] = 0;
global.dunes_flag[33] = 0;
global.dunes_flag[34] = 0;
global.dunes_flag[35] = 0;
global.dunes_flag[36] = 0;
global.dunes_flag[37] = 0;
global.dunes_flag[38] = 0;
global.dunes_flag[39] = 0;
global.dunes_flag[40] = 0;
global.dunes_flag[41] = 0;
global.dunes_flag[42] = 0;
global.dunes_flag[43] = 0;
global.dunes_flag[44] = 0;
global.dunes_flag[45] = 0;
global.dunes_flag[46] = 0;
global.dunes_flag[47] = 0;
global.dunes_flag[48] = 0;
global.dunes_flag[49] = 0;
global.dunes_flag[50] = 0;
global.dunes_flag[51] = 0;
global.dunes_flag[52] = 0;
global.dunes_flag[53] = 0;
global.dunes_flag[54] = 0;
global.dunes_flag[55] = 0;
global.dunes_flag_ext[0] = 0;
global.dunes_flag_ext[1] = 0;
global.dunes_flag_ext[2] = 0;
global.dunes_flag_ext[3] = 0;
global.dunes_flag_ext[4] = 0;
global.dunes_flag_ext[5] = 0;
global.dunes_flag_ext[6] = 0;
} ();
|
|
47
|
scr_init_flags_steamworksscr_init_flags_steamworks
function scr_init_flags_steamworks()
{
global.sworks_flag[0] = 0;
global.sworks_flag[1] = 0;
global.sworks_flag[2] = 0;
global.sworks_flag[3] = 0;
global.sworks_flag[4] = 0;
global.sworks_flag[5] = 0;
global.sworks_flag[6] = 0;
global.sworks_flag[7] = 0;
global.sworks_flag[8] = 0;
global.sworks_flag[9] = 0;
global.sworks_flag[10] = 0;
global.sworks_flag[11] = 0;
global.sworks_flag[12] = 0;
global.sworks_flag[13] = 0;
global.sworks_flag[14] = 0;
global.sworks_flag[15] = 0;
global.sworks_flag[16] = 0;
global.sworks_flag[17] = 0;
global.sworks_flag[18] = 0;
global.sworks_flag[19] = 0;
global.sworks_flag[20] = 0;
global.sworks_flag[21] = 0;
global.sworks_flag[22] = 0;
global.sworks_flag[23] = 0;
global.sworks_flag[24] = 0;
global.sworks_flag[25] = 0;
global.sworks_flag[26] = 0;
global.sworks_flag[27] = 0;
global.sworks_flag[28] = 0;
global.sworks_flag[29] = 0;
global.sworks_flag[30] = 0;
global.sworks_flag[31] = 0;
global.sworks_flag[32] = 0;
global.sworks_flag[33] = 0;
global.sworks_flag[34] = 0;
global.sworks_flag[35] = 0;
global.sworks_flag[36] = 0;
global.sworks_flag[37] = 0;
global.sworks_flag[38] = 0;
global.sworks_flag[39] = 0;
global.sworks_flag[40] = 0;
global.sworks_flag[41] = 0;
global.sworks_flag[42] = 0;
global.sworks_flag[43] = 0;
global.sworks_flag[44] = 0;
global.sworks_flag[45] = 0;
global.sworks_flag[46] = 0;
global.sworks_flag[47] = 0;
global.sworks_flag[48] = 0;
global.sworks_flag[49] = 0;
global.sworks_flag[50] = 0;
global.sworks_flag[51] = 0;
global.sworks_flag[52] = 0;
global.sworks_flag[53] = 0;
global.sworks_flag[54] = 0;
global.sworks_flag[55] = 0;
global.sworks_flag[56] = 0;
global.sworks_flag[57] = 0;
global.sworks_flag[58] = 0;
global.sworks_flag[59] = 0;
global.sworks_flag[60] = 0;
global.sworks_flag[61] = 0;
global.sworks_flag[62] = 0;
global.factory_code = string(irandom_range(1, 9)) + string(irandom_range(1, 9)) + string(irandom_range(1, 9)) + string(irandom_range(1, 9));
global.factory_code_2 = ds_list_create();
global.factory_code_3 = string(irandom_range(1, 9)) + string(irandom_range(1, 9)) + string(irandom_range(1, 9)) + string(irandom_range(1, 9));
ds_list_add(global.factory_code_2, irandom_range(0, 3), irandom_range(4, 7), irandom_range(8, 11), irandom_range(12, 15));
ds_list_shuffle(global.factory_code_2);
global.sworks_robot_count = 0;
global.sworks_robot_sprite[0] = 0;
global.sworks_robot_x[0] = 0;
global.sworks_robot_y[0] = 0;
global.sworks_robot_depth[0] = 0;
global.sworks_robot_angle[0] = 0;
global.sworks_robot_scale[0] = 1;
global.sworks_id_grid = ds_grid_create(208, 147);
} ();
|
|
48
|
scr_init_flags_hotlandscr_init_flags_hotland
function scr_init_flags_hotland()
{
global.hotland_flag[0] = 0;
global.hotland_flag[1] = 0;
global.hotland_flag[2] = 0;
global.hotland_flag[3] = 0;
global.hotland_flag[4] = 0;
global.hotland_flag[5] = 0;
global.hotland_flag[6] = 0;
global.hotland_flag[7] = 0;
global.hotland_flag[8] = 0;
global.hotland_flag[9] = 0;
global.hotland_flag[10] = 0;
global.hotland_flag[11] = 0;
global.hotland_flag[12] = 0;
global.hotland_flag[13] = 0;
global.hotland_flag[14] = 0;
global.hotland_flag[15] = 0;
} ();
|
|
49
|
scr_init_flags_floweyscr_init_flags_flowey
function scr_init_flags_flowey()
{
global.flowey_flag[0] = 0;
global.flowey_flag[1] = 0;
global.flowey_flag[2] = 0;
global.flowey_flag[3] = 0;
global.flowey_flag[4] = 0;
global.flowey_flag[5] = 0;
global.flowey_flag[6] = 0;
global.flowey_flag[7] = 0;
global.flowey_flag[8] = 0;
global.flowey_flag[9] = 0;
global.flowey_flag[10] = 0;
global.flowey_flag[11] = 0;
global.flowey_flag[12] = 0;
global.flowey_flag[13] = 0;
global.flowey_flag[14] = 0;
global.flowey_flag[15] = 0;
global.flowey_flag[16] = 0;
global.flowey_flag[17] = 0;
global.flowey_flag[18] = 0;
global.flowey_flag[19] = 0;
global.flowey_flag[20] = 0;
global.flowey_flag[21] = 0;
global.flowey_flag[22] = 0;
global.flowey_flag[23] = 0;
global.flowey_flag[24] = 0;
global.flowey_flag[25] = 0;
global.flowey_flag[26] = 0;
global.flowey_flag[27] = 0;
global.flowey_flag[28] = 0;
global.flowey_flag[29] = 0;
global.flowey_flag[30] = 0;
global.flowey_flag[31] = 0;
global.flowey_flag[32] = 0;
global.flowey_flag[33] = 0;
global.flowey_flag[34] = 0;
global.flowey_flag[35] = 0;
global.flowey_flag[36] = 0;
global.flowey_flag[37] = 0;
global.flowey_flag[38] = 0;
} ();
|
|
50
|
global.flowey_death_pop = 0;
|
|
51
|
global.flowey_save_number = 1;
|
|
52
|
global.fighting_flowey = 0;
|
|
53
|
global.flowey_battle_1_phase = 0;
|
|
54
|
global.save_count = 0;
|
|
55
|
global.extra_flag[1] = false;
|
|
56
|
global.extra_flag[2] = false;
|
|
57
|
global.extra_flag[3] = false;
|
|
58
|
global.extra_flag[4] = false;
|
|
59
|
global.extra_flag[5] = false;
|
|
60
|
global.extra_flag[6] = false;
|
|
61
|
global.extra_flag[7] = false;
|
|
62
|
global.extra_flag[8] = false;
|
|
63
|
global.extra_flag[9] = false;
|
|
64
|
global.encounter_flag[0] = 0;
|
|
65
|
global.route = 2;
|
|
66
|
global.kill_number[0] = 9999;
|
|
67
|
global.kill_area[0][0] = 9999;
|
|
68
|
global.kill_number[1] = 20;
|
|
69
|
for (var i = 0; i <= 6; i++)
|
|
70
|
global.kill_area[1][i] = 5;
|
|
71
|
global.kill_number[2] = 20;
|
|
72
|
for (var i = 0; i <= 7; i++)
|
|
73
|
global.kill_area[2][i] = 5;
|
|
74
|
global.kill_number[3] = 20;
|
|
75
|
for (var i = 0; i <= 8; i++)
|
|
76
|
global.kill_area[3][i] = 3;
|
|
77
|
global.kill_number[4] = 20;
|
|
78
|
for (var i = 0; i <= 12; i++)
|
|
79
|
global.kill_area[4][i] = 3;
|
|
80
|
global.kill_area_current = 0;
|
|
81
|
global.flGenoCutscene = 0;
|
|
82
|
global.geno_complete[1] = false;
|
|
83
|
global.geno_complete[2] = false;
|
|
84
|
global.geno_complete[3] = false;
|
|
85
|
global.geno_complete[4] = false;
|
|
86
|
global.geno_complete[5] = false;
|
|
87
|
global.item_stock[0] = 1;
|
|
88
|
global.item_stock[1] = 1;
|
|
89
|
global.item_stock[2] = 1;
|
|
90
|
global.item_stock[3] = 1;
|
|
91
|
global.item_stock[4] = 1;
|
|
92
|
global.item_stock[5] = 1;
|
|
93
|
global.item_stock[6] = 1;
|
|
94
|
global.item_stock[7] = 1;
|
|
95
|
global.item_stock[8] = 3;
|
|
96
|
global.item_stock[9] = 1;
|
|
97
|
global.item_stock[10] = 1;
|
|
98
|
global.item_stock[11] = 1;
|
|
99
|
global.item_stock[12] = 2;
|
|
100
|
global.item_stock[13] = 2;
|
|
101
|
global.item_stock[14] = 1;
|
|
102
|
global.item_stock[15] = 1;
|
|
103
|
global.item_stock[16] = 2;
|
|
104
|
global.item_stock[17] = 2;
|
|
105
|
global.item_stock[18] = 2;
|
|
106
|
global.item_stock[19] = 1;
|
|
107
|
global.item_stock[20] = 1;
|
|
108
|
global.item_stock[21] = 1;
|
|
109
|
global.item_stock[22] = 1;
|
|
110
|
global.item_stock[23] = 1;
|
|
111
|
global.death_count[1] = 0;
|
|
112
|
global.death_count[2] = 0;
|
|
113
|
global.death_count[3] = 0;
|
|
114
|
global.death_count[4] = 0;
|
|
115
|
global.death_count[5] = 0;
|
|
116
|
global.death_count[6] = 0;
|
|
117
|
global.death_count[7] = 0;
|
|
118
|
global.death_count_total = 0;
|
|
119
|
global.dialogue_open = false;
|
|
120
|
global.npc_map = ds_map_create();
|
|
121
|
global.talk_map = ds_map_create();
|
|
122
|
global.item_used_overworld = undefined;
|
|
123
|
global.fast_travel_point = "None";
|
|
124
|
global.fast_travel_newroom = -4;
|
|
125
|
global.fast_travel_newx = 0;
|
|
126
|
global.fast_travel_newy = 0;
|
|
127
|
for (var i = 1; i <= 8; i++)
|
|
128
|
global.item_slot[i] = "Nothing";
|
|
129
|
global.box_slot_list = ds_list_create();
|
|
130
|
global.mail_pinned = false;
|
|
131
|
global.mail_count = 0;
|
|
132
|
global.mail_list_read = ds_list_create();
|
|
133
|
global.mail_list = ds_list_create();
|
|
134
|
global.mail_unclaimed_list = ds_list_create();
|
|
135
|
global.mail_flag[0] = false;
|
|
136
|
global.mail_flag[1] = false;
|
|
137
|
global.mail_flag[2] = false;
|
|
138
|
global.mail_flag[3] = false;
|
|
139
|
global.mail_flag[4] = false;
|
|
140
|
global.mail_flag[5] = false;
|
|
141
|
global.mail_flag[6] = false;
|
|
142
|
global.mail_flag[7] = false;
|
|
143
|
global.mail_flag[8] = false;
|
|
144
|
global.mail_flag[9] = false;
|
|
145
|
global.spam_mail_chance = 10;
|
|
146
|
global.steal_list = ds_list_create();
|
|
147
|
global.fast_travel_list = ds_list_create();
|
|
148
|
global.encounter_list = ds_list_create();
|
|
149
|
gamepad_set_axis_deadzone(0, global.gamepad_deadzone);
|
|
150
|
global.using_gamepad = false;
|
|
151
|
global.pause_key = "C";
|
|
152
|
global.action_key = "Z";
|
|
153
|
global.cancel_key = "X";
|
|
154
|
if (!instance_exists(obj_controller))
|
|
155
|
instance_create(x, y, obj_controller);
|
|
156
|
if (!instance_exists(obj_radio))
|
|
157
|
instance_create(x, y, obj_radio);
|
|
158
|
if (!instance_exists(obj_pl))
|
|
159
|
instance_create(global.player_x, global.player_y, obj_pl);
|
|
160
|
global.item_slot[1] = "Missing Poster";
|
|
161
|
global.fun_value = irandom_range(0, 80);
|
|
162
|
global.fun_swig_name = "Swig";
|
|
163
|
if (global.fun_value == 1)
|
|
164
|
global.fun_swig_name = "Dave";
|
|
165
|
global.fun_event[0] = 0;
|
|
166
|
global.fun_event[1] = 0;
|
|
167
|
global.menu_sprite = 2418;
|
|
168
|
global.current_room_overworld = -4;
|
|
169
|
scr_initialize_battlescr_initialize_battle
function scr_initialize_battle()
{
global.font_type_text = 1;
global.player_1_using_keyboard = true;
global.player_1_using_gamepad = false;
global.player_1_control_keyboard_up = 38;
global.player_1_control_keyboard_down = 40;
global.player_1_control_keyboard_right = 39;
global.player_1_control_keyboard_left = 37;
global.player_1_control_keyboard_button_1 = 90;
global.player_1_control_keyboard_button_2 = 88;
global.player_1_control_keyboard_button_3 = 67;
global.player_1_control_keyboard_button_4 = 13;
global.player_1_control_keyboard_button_5 = 16;
global.player_1_control_keyboard_button_6 = 17;
global.player_1_control_gamepad_up = 32781;
global.player_1_control_gamepad_down = 32782;
global.player_1_control_gamepad_right = 32784;
global.player_1_control_gamepad_left = 32783;
global.player_1_control_gamepad_button_1 = 32769;
global.player_1_control_gamepad_button_2 = 32770;
global.player_1_control_gamepad_button_3 = 32771;
global.player_1_control_gamepad_button_4 = 32772;
global.player_1_control_gamepad_button_5 = 32777;
global.player_1_control_gamepad_button_6 = 32778;
global.text_counter_max = 5;
global.text_speed = 1;
global.hold_speed = 1;
global.twitchy_text_probability = 500;
global.twitchy_text_intensity = 1;
global.shaky_text_intensity = 1;
global.circle_text_angle_default = 0;
global.circle_text_radius = 1;
global.circle_text_speed = 45;
global.turns_passed = 0;
global.game_mode = "yellow";
global.draw_scanlines = false;
global.sound_carry_overworld = false;
global.debug_menu = false;
global.player_character = "CLOVER";
global.game_time_counter = 0;
global.game_time_counter_add = 0;
global.game_time_seconds = 0;
global.game_time_seconds_add = 0;
global.game_time_minutes = 0;
global.game_time_minutes_add = 0;
global.talk_speed_rorrim = 0.3;
global.talk_speed_dalv = 0.2;
global.talk_speed_frostermit = 0.3;
global.talk_speed_shufflers_rephil = 0.2;
global.talk_speed_martlet = 0.2;
global.talk_speed_el_bailador = 0.2;
global.talk_speed_starlo = 0.2;
global.talk_speed_author = 0.2;
global.talk_speed_honeydew_bear = 0.2;
global.talk_speed_default = 0.2;
global.talk_speed_toriel = 0.2;
global.talk_speed_toriel_idle = 0.2;
global.talk_speed_flowey = 0.2;
global.attack_surface = 0;
global.autofire_on = 0;
global.enemy_dead = 0;
global.enemy_dead_2 = 0;
global.enemy_dead_3 = 0;
scr_base_stats();
scr_intro_portrait_disjoints();
} ();
|
|
170
|
global.meta_flowey_fight_count = 0;
|
|
171
|
global.meta_flowey_introduction_count = 0;
|
|
172
|
global.game_finished_pacifist = 0;
|
|
173
|
global.game_finished_pacifist_kill = 0;
|
|
174
|
global.game_finished_murder = 0;
|
|
175
|
if (file_exists("Save02.sav"))
|
|
176
|
{
|
|
177
|
ini_open("Save02.sav");
|
|
178
|
global.meta_flowey_introduction_count = ini_read_real("00", "00", 0);
|
|
179
|
global.meta_flowey_fight_count = ini_read_real("00", "01", 0);
|
|
180
|
ini_close();
|
|
181
|
}
|
|
182
|
}
|