diff --git a/objects/godmode_GD.object.gmx b/objects/godmode_GD.object.gmx index 39ff8c3c..df971e2a 100644 --- a/objects/godmode_GD.object.gmx +++ b/objects/godmode_GD.object.gmx @@ -51,34 +51,34 @@ switch step { case 0: - if keyboard_check(ord('I')) { step++; } + if keyboard_check(ord("I")) { step++; } break; case 1: - if keyboard_check(ord('D')) { step++; } + if keyboard_check(ord("D")) { step++; } break; case 2: - if keyboard_check(ord('S')) { step++; } + if keyboard_check(ord("S")) { step++; } break; case 3: - if keyboard_check(ord('P')) { step++; } + if keyboard_check(ord("P")) { step++; } break; case 4: - if keyboard_check(ord('I')) { step++; } + if keyboard_check(ord("I")) { step++; } break; case 5: - if keyboard_check(ord('S')) { step++; } + if keyboard_check(ord("S")) { step++; } break; case 6: - if keyboard_check(ord('P')) { step++; } + if keyboard_check(ord("P")) { step++; } break; case 7: - if keyboard_check(ord('O')) { step++; } + if keyboard_check(ord("O")) { step++; } break; case 8: - if keyboard_check(ord('P')) { step++; } + if keyboard_check(ord("P")) { step++; } break; case 9: - if keyboard_check(ord('D')) + if keyboard_check(ord("D")) { step++; if (global.godmode == 1) diff --git a/objects/oCharacter.object.gmx b/objects/oCharacter.object.gmx index 7b48d4f7..eb0dbc01 100644 --- a/objects/oCharacter.object.gmx +++ b/objects/oCharacter.object.gmx @@ -579,7 +579,7 @@ sfx_stop(sndAbsorbX); instance_create(x, y - 16, oHatchling); } } - if (oControl.mod_earlybaby == 1 && global.event[304] == 0 && !instance_exists(oHatchling) && room_get_name(room) != 'rm_a7c01') instance_create(x, y - 16, oHatchling); + if (oControl.mod_earlybaby == 1 && global.event[304] == 0 && !instance_exists(oHatchling) && room_get_name(room) != "rm_a7c01") instance_create(x, y - 16, oHatchling); spawn_random_septogg(1, max(1, floor(room_width/500), floor(room_height/500)), 18); diff --git a/objects/oControl.object.gmx b/objects/oControl.object.gmx index 7e2b56a3..33dbaa1a 100644 --- a/objects/oControl.object.gmx +++ b/objects/oControl.object.gmx @@ -288,27 +288,27 @@ subScrItemOffset = 0; ini_open("lang/fonts/sizes.ini"); if(file_exists("lang/fonts/04b09.ttf")) { - font_replace(fontGUI, "lang/fonts/04b09.ttf", ini_read_real('Sizes', '04b09_(large)', 16), false, false, 32, 255); - font_replace(fontSubScr, "lang/fonts/04b09.ttf", ini_read_real('Sizes', '04b09_(small)', 8), false, false, 32, 255); - GUIOffset = ini_read_real('Offsets', '04b09_(large)_offset', 0); - subScrHeaderOffset = ini_read_real('Offsets', '04b09_(small)_offset', 0); + font_replace(fontGUI, "lang/fonts/04b09.ttf", ini_read_real("Sizes", "04b09_(large)", 16), false, false, 32, 255); + font_replace(fontSubScr, "lang/fonts/04b09.ttf", ini_read_real("Sizes", "04b09_(small)", 8), false, false, 32, 255); + GUIOffset = ini_read_real("Offsets", "04b09_(large)_offset", 0); + subScrHeaderOffset = ini_read_real("Offsets", "04b09_(small)_offset", 0); } if(file_exists("lang/fonts/Acknowledge_TT_BRK.ttf")) { - font_replace(fontGUI2, "lang/fonts/Acknowledge_TT_BRK.ttf", ini_read_real('Sizes', 'Acknowledge_TT_BRK', 13), false, false, 32, 255); + font_replace(fontGUI2, "lang/fonts/Acknowledge_TT_BRK.ttf", ini_read_real("Sizes", "Acknowledge_TT_BRK", 13), false, false, 32, 255); } if(file_exists("lang/fonts/uni_05_53.ttf")) { - font_replace(fontMenuSmall, "lang/fonts/uni_05_53.ttf", ini_read_real('Sizes', 'uni_05_53', 8), false, false, 32, 255); + font_replace(fontMenuSmall, "lang/fonts/uni_05_53.ttf", ini_read_real("Sizes", "uni_05_53", 8), false, false, 32, 255); } if(file_exists("lang/fonts/04b24.ttf")) { - font_replace(fontMenuTiny, "lang/fonts/04b24.ttf", ini_read_real('Sizes', '04b24', 16), false, false, 32, 255); - subScrItemOffset = ini_read_real('Offsets', '04b24_offset', -6); + font_replace(fontMenuTiny, "lang/fonts/04b24.ttf", ini_read_real("Sizes", "04b24", 16), false, false, 32, 255); + subScrItemOffset = ini_read_real("Offsets", "04b24_offset", -6); } if(file_exists("lang/fonts/Glasstown_NBP.ttf")) { - font_replace(fontMenuSmall2, "lang/fonts/Glasstown_NBP.ttf", ini_read_real('Sizes', 'Glasstown_NBP', 16), false, false, 32, 255); + font_replace(fontMenuSmall2, "lang/fonts/Glasstown_NBP.ttf", ini_read_real("Sizes", "Glasstown_NBP", 16), false, false, 32, 255); } ini_close(); @@ -845,40 +845,40 @@ if (os_is_browser) set_fullscreen(global.opfullscreen); switch translatestep { case 0: - if keyboard_check(ord('T')) { translatestep++; } + if keyboard_check(ord("T")) { translatestep++; } break; case 1: - if keyboard_check(ord('R')) { translatestep++; } + if keyboard_check(ord("R")) { translatestep++; } break; case 2: - if keyboard_check(ord('A')) { translatestep++; } + if keyboard_check(ord("A")) { translatestep++; } break; case 3: - if keyboard_check(ord('N')) { translatestep++; } + if keyboard_check(ord("N")) { translatestep++; } break; case 4: - if keyboard_check(ord('S')) { translatestep++; } + if keyboard_check(ord("S")) { translatestep++; } break; case 5: - if keyboard_check(ord('L')) { translatestep++; } + if keyboard_check(ord("L")) { translatestep++; } break; case 6: - if keyboard_check(ord('A')) { translatestep++; } + if keyboard_check(ord("A")) { translatestep++; } break; case 7: - if keyboard_check(ord('T')) { translatestep++; } + if keyboard_check(ord("T")) { translatestep++; } break; case 8: - if keyboard_check(ord('E')) { translatestep++; } + if keyboard_check(ord("E")) { translatestep++; } break; case 9: - if keyboard_check(ord('5')) { translatestep++; } + if keyboard_check(ord("5")) { translatestep++; } break; case 10: - if keyboard_check(ord('7')) { translatestep++; } + if keyboard_check(ord("7")) { translatestep++; } break; case 11: - if keyboard_check(ord('4')) + if keyboard_check(ord("4")) { translatestep++; global.targetx = 64; diff --git a/objects/oFadeTiles.object.gmx b/objects/oFadeTiles.object.gmx index 3e36b724..53d13319 100644 --- a/objects/oFadeTiles.object.gmx +++ b/objects/oFadeTiles.object.gmx @@ -27,7 +27,7 @@ 1 targetalpha = 0; falpha = 1; -layer = -101; +layerVariable = -101; @@ -129,7 +129,7 @@ for (i = 0; i < array_length_1d(tile_list); i += 1) { 1 - tile_list = tile_get_ids_at_depth(layer); + tile_list = tile_get_ids_at_depth(layerVariable); @@ -153,7 +153,7 @@ for (i = 0; i < array_length_1d(tile_list); i += 1) { 1 draw_set_font(fontMenuSmall); -draw_text_shadow(x, y, string(layer)); +draw_text_shadow(x, y, string(layerVariable)); diff --git a/objects/oItemBall.object.gmx b/objects/oItemBall.object.gmx index 5782a027..47035e01 100644 --- a/objects/oItemBall.object.gmx +++ b/objects/oItemBall.object.gmx @@ -402,7 +402,7 @@ if (global.item[item]) instance_destroy(); //original } -if (room_get_name(room) == 'rm_a2a07') { image_speed = 0; } +if (room_get_name(room) == "rm_a2a07") { image_speed = 0; } diff --git a/objects/oTilesRandomAlpha.object.gmx b/objects/oTilesRandomAlpha.object.gmx index 2c50935e..c0b349a5 100644 --- a/objects/oTilesRandomAlpha.object.gmx +++ b/objects/oTilesRandomAlpha.object.gmx @@ -26,7 +26,7 @@ 1 falpha = 1; -layer = 99; +layerVariable = 99; @@ -132,7 +132,7 @@ tile_list = ds_list_create(); t = 0; for (i = 0; i < room_width / 16; i += 1) { for (j = 0; j < room_height / 16; j += 1) { - t_id = tile_layer_find(layer, i * 16, j * 16); + t_id = tile_layer_find(layerVariable, i * 16, j * 16); if (t_id != -1) { ds_list_add(tile_list, t_id); t += 1; @@ -162,7 +162,7 @@ for (i = 0; i < room_width / 16; i += 1) { 1 draw_set_font(fontMenuSmall); -draw_text_shadow(x, y, string(layer)); +draw_text_shadow(x, y, string(layerVariable)); diff --git a/rooms/rm_a0h02.room.gmx b/rooms/rm_a0h02.room.gmx index 9e6fdebc..7d734d48 100644 --- a/rooms/rm_a0h02.room.gmx +++ b/rooms/rm_a0h02.room.gmx @@ -191,7 +191,7 @@ load_timeofday_bgs(global.timeofday); - + diff --git a/rooms/rm_a0h02a.room.gmx b/rooms/rm_a0h02a.room.gmx index 67df6fc5..982bf7d9 100644 --- a/rooms/rm_a0h02a.room.gmx +++ b/rooms/rm_a0h02a.room.gmx @@ -160,7 +160,7 @@ load_timeofday_bgs(global.timeofday); - + diff --git a/rooms/rm_a0h04.room.gmx b/rooms/rm_a0h04.room.gmx index 5ee4ad1a..a099c4a2 100644 --- a/rooms/rm_a0h04.room.gmx +++ b/rooms/rm_a0h04.room.gmx @@ -187,7 +187,7 @@ make_liquid(0, 896, 1, 0, 0, 0, 0); - + diff --git a/rooms/rm_a0h11.room.gmx b/rooms/rm_a0h11.room.gmx index 271b0748..62dcac64 100644 --- a/rooms/rm_a0h11.room.gmx +++ b/rooms/rm_a0h11.room.gmx @@ -507,7 +507,7 @@ mus_change(mus_get_main_song()); - + diff --git a/rooms/rm_a0h17e.room.gmx b/rooms/rm_a0h17e.room.gmx index bcff6572..ee8a37fa 100644 --- a/rooms/rm_a0h17e.room.gmx +++ b/rooms/rm_a0h17e.room.gmx @@ -82,7 +82,7 @@ if (global.event[172] == 3) { - + diff --git a/rooms/rm_a0h32.room.gmx b/rooms/rm_a0h32.room.gmx index 1d99e8e5..a784c4bf 100644 --- a/rooms/rm_a0h32.room.gmx +++ b/rooms/rm_a0h32.room.gmx @@ -464,7 +464,7 @@ global.objdeactivate = 0; - + diff --git a/rooms/rm_a1a06.room.gmx b/rooms/rm_a1a06.room.gmx index dda6166e..aed0bf5f 100644 --- a/rooms/rm_a1a06.room.gmx +++ b/rooms/rm_a1a06.room.gmx @@ -137,7 +137,7 @@ mus_change(musArea1A); - + diff --git a/rooms/rm_a2a07.room.gmx b/rooms/rm_a2a07.room.gmx index 16129715..c8893f22 100644 --- a/rooms/rm_a2a07.room.gmx +++ b/rooms/rm_a2a07.room.gmx @@ -140,11 +140,11 @@ mus_change_itemroom(); - + - + diff --git a/rooms/rm_a2a08.room.gmx b/rooms/rm_a2a08.room.gmx index c7fd03c6..f473c8da 100644 --- a/rooms/rm_a2a08.room.gmx +++ b/rooms/rm_a2a08.room.gmx @@ -112,7 +112,7 @@ instance_create(128, 64, scr_itemsopen(oControl.mod_150)); - + diff --git a/rooms/rm_a2a09.room.gmx b/rooms/rm_a2a09.room.gmx index 1a70eb5b..4fae66d9 100644 --- a/rooms/rm_a2a09.room.gmx +++ b/rooms/rm_a2a09.room.gmx @@ -114,8 +114,8 @@ instance_create(56, 48, scr_itemsopen(oControl.mod_151)); - - + + @@ -125,7 +125,7 @@ instance_create(56, 48, scr_itemsopen(oControl.mod_151)); - + diff --git a/rooms/rm_a3a19.room.gmx b/rooms/rm_a3a19.room.gmx index 328bbf09..5c33fa24 100644 --- a/rooms/rm_a3a19.room.gmx +++ b/rooms/rm_a3a19.room.gmx @@ -448,7 +448,7 @@ if ((oControl.mod_purerandombool == 1) || (oControl.mod_splitrandom == 1)) { - + diff --git a/rooms/rm_a4a06.room.gmx b/rooms/rm_a4a06.room.gmx index 417441f3..93f4785e 100644 --- a/rooms/rm_a4a06.room.gmx +++ b/rooms/rm_a4a06.room.gmx @@ -256,7 +256,7 @@ global.objdeactivate = 1; - + diff --git a/rooms/rm_a4a08.room.gmx b/rooms/rm_a4a08.room.gmx index e2279433..41df4f80 100644 --- a/rooms/rm_a4a08.room.gmx +++ b/rooms/rm_a4a08.room.gmx @@ -166,7 +166,7 @@ instance_create(592, 192, scr_itemsopen(oControl.mod_256)); - + diff --git a/rooms/rm_a4b02a.room.gmx b/rooms/rm_a4b02a.room.gmx index 23327808..daf70e8b 100644 --- a/rooms/rm_a4b02a.room.gmx +++ b/rooms/rm_a4b02a.room.gmx @@ -163,7 +163,7 @@ make_escape_sequence_fx(2); - + diff --git a/rooms/rm_a4b02b.room.gmx b/rooms/rm_a4b02b.room.gmx index 717ea9d5..9fc8a056 100644 --- a/rooms/rm_a4b02b.room.gmx +++ b/rooms/rm_a4b02b.room.gmx @@ -81,7 +81,7 @@ instance_create(314, 192, scr_itemsopen(oControl.mod_253)); // fix for random/ne - + diff --git a/rooms/rm_a6a13.room.gmx b/rooms/rm_a6a13.room.gmx index 13155043..82b1b027 100644 --- a/rooms/rm_a6a13.room.gmx +++ b/rooms/rm_a6a13.room.gmx @@ -431,8 +431,8 @@ global.objdeactivate = 0; - - + + diff --git a/rooms/rm_a8a07.room.gmx b/rooms/rm_a8a07.room.gmx index 3ee23912..59d16d2c 100644 --- a/rooms/rm_a8a07.room.gmx +++ b/rooms/rm_a8a07.room.gmx @@ -87,7 +87,7 @@ create_log_trigger(true, 2, 323, 208, -26, true); - + diff --git a/scripts/hdM_change.gml b/scripts/hdM_change.gml index 3cc4b9b8..45316391 100644 --- a/scripts/hdM_change.gml +++ b/scripts/hdM_change.gml @@ -1,9 +1,9 @@ //Argument0 = Section | Argument1 = Field | Argument2 = Default value -ini_open('modifiers.ini'); +ini_open("modifiers.ini"); hd = argument2 * abs(ini_read_real(argument0, argument1, argument2)); -//if (ini_read_real('Header', 'Cheating', 0) == 1) +//if (ini_read_real("Header", "Cheating", 0) == 1) //{ // return hd; //} diff --git a/scripts/hd_change.gml b/scripts/hd_change.gml index 5e92d69a..9fc19aec 100644 --- a/scripts/hd_change.gml +++ b/scripts/hd_change.gml @@ -1,10 +1,10 @@ //Argument0 = Section | Argument1 = Field | Argument2 = Default value -ini_open('modifiers.ini'); +ini_open("modifiers.ini"); hd = abs(ini_read_real(argument0, argument1, argument2)); //var temp_cheating = false; -//if (ini_read_real('Header', 'Cheating', 0) == 1) +//if (ini_read_real("Header", "Cheating", 0) == 1) //{ // temp_cheating = true; //} diff --git a/scripts/keyboard_key_initalize.gml b/scripts/keyboard_key_initalize.gml index a3870bcf..f5f4109d 100644 --- a/scripts/keyboard_key_initalize.gml +++ b/scripts/keyboard_key_initalize.gml @@ -138,7 +138,7 @@ l_c2s[? 222] = "Quote"; l_s2c[? "quote"] = 222; l_s2c[? "apostrophe"] = 222; l_s2c[? "'"] = 222; -l_s2c[?chr(34)/* '"' */] = 222; +l_s2c[?chr(34)/* """ */] = 222; for (l_k = 65; l_k <= 90; l_k += 1) { l_c = chr(l_k); l_c2s[?l_k] = l_c; diff --git a/scripts/load_resources.gml b/scripts/load_resources.gml index 15702d9a..a353c933 100644 --- a/scripts/load_resources.gml +++ b/scripts/load_resources.gml @@ -266,7 +266,7 @@ sprite_delete(color); // Monster palettes ini_open("mods/palettes/monsters/config.ini"); -MonsterPalettesFusionOnly = ini_read_real('PaletteMode', 'FusionOnly', 1); +MonsterPalettesFusionOnly = ini_read_real("PaletteMode", "FusionOnly", 1); ini_close(); diff --git a/scripts/mod_wat_scr.gml b/scripts/mod_wat_scr.gml index c6b44298..be245fd4 100644 --- a/scripts/mod_wat_scr.gml +++ b/scripts/mod_wat_scr.gml @@ -1,16 +1,16 @@ /* switch (argument2) { - case 'ETanks': + case "ETanks": if (argument0 > 20) { return 20; } if (argument0 < 0) { return 0; } break; - case 'Missiles': + case "Missiles": if (argument0 > 149) { return 149; } if (argument0 < 0) { return 0; } break; - case 'SuperMissiles': - case 'PowerBombs': + case "SuperMissiles": + case "PowerBombs": if (argument0 > 24) { return 24; } if (argument0 < 0) { return 0; } break; diff --git a/scripts/save_modifiers.gml b/scripts/save_modifiers.gml index 68d97fea..bde8974e 100644 --- a/scripts/save_modifiers.gml +++ b/scripts/save_modifiers.gml @@ -2,7 +2,7 @@ // Only writing necessary stuff from the Gameplay Menu here -ini_open('modifiers.ini'); +ini_open("modifiers.ini"); ini_write_real("RandomizerSeed", "UseManualSeed", oControl.mod_usemanualseed); ini_write_real("RandomizerSeed", "Seed", oControl.mod_seed); diff --git a/scripts/scr_fixitem.gml b/scripts/scr_fixitem.gml index 939c0ccd..182908c2 100644 --- a/scripts/scr_fixitem.gml +++ b/scripts/scr_fixitem.gml @@ -1,32 +1,32 @@ /* ini_open(working_directory + "random" + string(global.saveslot + 1) + ".ini"); var can_return = false; -if (ini_read_real('Items', string(argument0), argument0) == argument0) { can_return = true; } +if (ini_read_real("Items", string(argument0), argument0) == argument0) { can_return = true; } if (can_return) { ini_close(); return argument0; } -var current_item = ini_read_real('Items', string(argument0), argument0) +var current_item = ini_read_real("Items", string(argument0), argument0) var temp_item = 1; -if (ini_read_real('Items', '0', 0) == argument0) { temp_item = 0; } -if (ini_read_real('Items', '2', 2) == argument0) { temp_item = 2; } -if (ini_read_real('Items', '3', 3) == argument0) { temp_item = 3; } -if (ini_read_real('Items', '4', 4) == argument0) { temp_item = 4; } -if (ini_read_real('Items', '5', 5) == argument0) { temp_item = 5; } -if (ini_read_real('Items', '6', 6) == argument0) { temp_item = 6; } -if (ini_read_real('Items', '7', 7) == argument0) { temp_item = 7; } -if (ini_read_real('Items', '8', 8) == argument0) { temp_item = 8; } -if (ini_read_real('Items', '10', 10) == argument0) { temp_item = 10; } -if (ini_read_real('Items', '11', 11) == argument0) { temp_item = 11; } -if (ini_read_real('Items', '12', 12) == argument0) { temp_item = 12; } -if (ini_read_real('Items', '13', 13) == argument0) { temp_item = 13; } -if (ini_read_real('Items', '14', 14) == argument0) { temp_item = 14; } +if (ini_read_real("Items", "0", 0) == argument0) { temp_item = 0; } +if (ini_read_real("Items", "2", 2) == argument0) { temp_item = 2; } +if (ini_read_real("Items", "3", 3) == argument0) { temp_item = 3; } +if (ini_read_real("Items", "4", 4) == argument0) { temp_item = 4; } +if (ini_read_real("Items", "5", 5) == argument0) { temp_item = 5; } +if (ini_read_real("Items", "6", 6) == argument0) { temp_item = 6; } +if (ini_read_real("Items", "7", 7) == argument0) { temp_item = 7; } +if (ini_read_real("Items", "8", 8) == argument0) { temp_item = 8; } +if (ini_read_real("Items", "10", 10) == argument0) { temp_item = 10; } +if (ini_read_real("Items", "11", 11) == argument0) { temp_item = 11; } +if (ini_read_real("Items", "12", 12) == argument0) { temp_item = 12; } +if (ini_read_real("Items", "13", 13) == argument0) { temp_item = 13; } +if (ini_read_real("Items", "14", 14) == argument0) { temp_item = 14; } ini_close(); if (temp_item == 1) { return argument0; } ini_open(working_directory + "random" + string(global.saveslot + 1) + ".ini"); -ini_write_real('Items', string(argument0), argument0); -ini_write_real('Items', string(temp_item), current_item); +ini_write_real("Items", string(argument0), argument0); +ini_write_real("Items", string(temp_item), current_item); ini_close(); return argument0; diff --git a/scripts/scr_fixitem_encrypted.gml b/scripts/scr_fixitem_encrypted.gml index 590beb02..85dc1278 100644 --- a/scripts/scr_fixitem_encrypted.gml +++ b/scripts/scr_fixitem_encrypted.gml @@ -2,200 +2,200 @@ if (file_exists(working_directory + "\swap.ini")) file_delete(working_directory + "\swap.ini"); ini_open(working_directory + "\swap.ini"); -ini_write_real('Items', string(oControl.mod_plasma), 14); -ini_write_real('Items', string(oControl.mod_spazer), 13); -ini_write_real('Items', string(oControl.mod_wave), 12); -ini_write_real('Items', string(oControl.mod_ice), 11); -ini_write_real('Items', string(oControl.mod_charge), 10); -ini_write_real('Items', string(oControl.mod_gravity), 9); -ini_write_real('Items', string(oControl.mod_screwattack), 8); -ini_write_real('Items', string(oControl.mod_speedbooster), 7); -ini_write_real('Items', string(oControl.mod_spacejump), 6); -ini_write_real('Items', string(oControl.mod_varia), 5); -ini_write_real('Items', string(oControl.mod_hijump), 4); -ini_write_real('Items', string(oControl.mod_jumpball), 3); -ini_write_real('Items', string(oControl.mod_spider), 2); -ini_write_real('Items', string(oControl.mod_bombs), 0); +ini_write_real("Items", string(oControl.mod_plasma), 14); +ini_write_real("Items", string(oControl.mod_spazer), 13); +ini_write_real("Items", string(oControl.mod_wave), 12); +ini_write_real("Items", string(oControl.mod_ice), 11); +ini_write_real("Items", string(oControl.mod_charge), 10); +ini_write_real("Items", string(oControl.mod_gravity), 9); +ini_write_real("Items", string(oControl.mod_screwattack), 8); +ini_write_real("Items", string(oControl.mod_speedbooster), 7); +ini_write_real("Items", string(oControl.mod_spacejump), 6); +ini_write_real("Items", string(oControl.mod_varia), 5); +ini_write_real("Items", string(oControl.mod_hijump), 4); +ini_write_real("Items", string(oControl.mod_jumpball), 3); +ini_write_real("Items", string(oControl.mod_spider), 2); +ini_write_real("Items", string(oControl.mod_bombs), 0); //Missiles -ini_write_real('Items', string(oControl.mod_52), 52); -ini_write_real('Items', string(oControl.mod_53), 53); -ini_write_real('Items', string(oControl.mod_54), 54); -ini_write_real('Items', string(oControl.mod_55), 55); -ini_write_real('Items', string(oControl.mod_56), 56); -ini_write_real('Items', string(oControl.mod_57), 57); -ini_write_real('Items', string(oControl.mod_60), 60); -ini_write_real('Items', string(oControl.mod_100), 100); -ini_write_real('Items', string(oControl.mod_101), 101); -ini_write_real('Items', string(oControl.mod_102), 102); -ini_write_real('Items', string(oControl.mod_104), 104); -ini_write_real('Items', string(oControl.mod_105), 105); -ini_write_real('Items', string(oControl.mod_106), 106); -ini_write_real('Items', string(oControl.mod_107), 107); -ini_write_real('Items', string(oControl.mod_109), 109); -ini_write_real('Items', string(oControl.mod_111), 111); -ini_write_real('Items', string(oControl.mod_150), 150); -ini_write_real('Items', string(oControl.mod_151), 151); -ini_write_real('Items', string(oControl.mod_152), 152); -ini_write_real('Items', string(oControl.mod_153), 153); -ini_write_real('Items', string(oControl.mod_154), 154); -ini_write_real('Items', string(oControl.mod_155), 155); -ini_write_real('Items', string(oControl.mod_156), 156); -ini_write_real('Items', string(oControl.mod_159), 159); -ini_write_real('Items', string(oControl.mod_161), 161); -ini_write_real('Items', string(oControl.mod_163), 163); -ini_write_real('Items', string(oControl.mod_202), 202); -ini_write_real('Items', string(oControl.mod_203), 203); -ini_write_real('Items', string(oControl.mod_204), 204); -ini_write_real('Items', string(oControl.mod_205), 205); -ini_write_real('Items', string(oControl.mod_208), 208); -ini_write_real('Items', string(oControl.mod_210), 210); -ini_write_real('Items', string(oControl.mod_211), 211); -ini_write_real('Items', string(oControl.mod_214), 214); -ini_write_real('Items', string(oControl.mod_250), 250); -ini_write_real('Items', string(oControl.mod_252), 252); -ini_write_real('Items', string(oControl.mod_255), 255); -ini_write_real('Items', string(oControl.mod_257), 257); -ini_write_real('Items', string(oControl.mod_259), 259); -ini_write_real('Items', string(oControl.mod_303), 303); -ini_write_real('Items', string(oControl.mod_304), 304); -ini_write_real('Items', string(oControl.mod_307), 307); -ini_write_real('Items', string(oControl.mod_308), 308); -ini_write_real('Items', string(oControl.mod_309), 309); +ini_write_real("Items", string(oControl.mod_52), 52); +ini_write_real("Items", string(oControl.mod_53), 53); +ini_write_real("Items", string(oControl.mod_54), 54); +ini_write_real("Items", string(oControl.mod_55), 55); +ini_write_real("Items", string(oControl.mod_56), 56); +ini_write_real("Items", string(oControl.mod_57), 57); +ini_write_real("Items", string(oControl.mod_60), 60); +ini_write_real("Items", string(oControl.mod_100), 100); +ini_write_real("Items", string(oControl.mod_101), 101); +ini_write_real("Items", string(oControl.mod_102), 102); +ini_write_real("Items", string(oControl.mod_104), 104); +ini_write_real("Items", string(oControl.mod_105), 105); +ini_write_real("Items", string(oControl.mod_106), 106); +ini_write_real("Items", string(oControl.mod_107), 107); +ini_write_real("Items", string(oControl.mod_109), 109); +ini_write_real("Items", string(oControl.mod_111), 111); +ini_write_real("Items", string(oControl.mod_150), 150); +ini_write_real("Items", string(oControl.mod_151), 151); +ini_write_real("Items", string(oControl.mod_152), 152); +ini_write_real("Items", string(oControl.mod_153), 153); +ini_write_real("Items", string(oControl.mod_154), 154); +ini_write_real("Items", string(oControl.mod_155), 155); +ini_write_real("Items", string(oControl.mod_156), 156); +ini_write_real("Items", string(oControl.mod_159), 159); +ini_write_real("Items", string(oControl.mod_161), 161); +ini_write_real("Items", string(oControl.mod_163), 163); +ini_write_real("Items", string(oControl.mod_202), 202); +ini_write_real("Items", string(oControl.mod_203), 203); +ini_write_real("Items", string(oControl.mod_204), 204); +ini_write_real("Items", string(oControl.mod_205), 205); +ini_write_real("Items", string(oControl.mod_208), 208); +ini_write_real("Items", string(oControl.mod_210), 210); +ini_write_real("Items", string(oControl.mod_211), 211); +ini_write_real("Items", string(oControl.mod_214), 214); +ini_write_real("Items", string(oControl.mod_250), 250); +ini_write_real("Items", string(oControl.mod_252), 252); +ini_write_real("Items", string(oControl.mod_255), 255); +ini_write_real("Items", string(oControl.mod_257), 257); +ini_write_real("Items", string(oControl.mod_259), 259); +ini_write_real("Items", string(oControl.mod_303), 303); +ini_write_real("Items", string(oControl.mod_304), 304); +ini_write_real("Items", string(oControl.mod_307), 307); +ini_write_real("Items", string(oControl.mod_308), 308); +ini_write_real("Items", string(oControl.mod_309), 309); //Super Missiles -ini_write_real('Items', string(oControl.mod_51), 51); -ini_write_real('Items', string(oControl.mod_110), 110); -ini_write_real('Items', string(oControl.mod_162), 162); -ini_write_real('Items', string(oControl.mod_206), 206); -ini_write_real('Items', string(oControl.mod_207), 207); -ini_write_real('Items', string(oControl.mod_209), 209); -ini_write_real('Items', string(oControl.mod_215), 215); -ini_write_real('Items', string(oControl.mod_256), 256); -ini_write_real('Items', string(oControl.mod_300), 300); -ini_write_real('Items', string(oControl.mod_305), 305); +ini_write_real("Items", string(oControl.mod_51), 51); +ini_write_real("Items", string(oControl.mod_110), 110); +ini_write_real("Items", string(oControl.mod_162), 162); +ini_write_real("Items", string(oControl.mod_206), 206); +ini_write_real("Items", string(oControl.mod_207), 207); +ini_write_real("Items", string(oControl.mod_209), 209); +ini_write_real("Items", string(oControl.mod_215), 215); +ini_write_real("Items", string(oControl.mod_256), 256); +ini_write_real("Items", string(oControl.mod_300), 300); +ini_write_real("Items", string(oControl.mod_305), 305); //Energy Tanks -ini_write_real('Items', string(oControl.mod_50), 50); -ini_write_real('Items', string(oControl.mod_103), 103); -ini_write_real('Items', string(oControl.mod_108), 108); -ini_write_real('Items', string(oControl.mod_157), 157); -ini_write_real('Items', string(oControl.mod_158), 158); -ini_write_real('Items', string(oControl.mod_200), 200); -ini_write_real('Items', string(oControl.mod_201), 201); -ini_write_real('Items', string(oControl.mod_251), 251); -ini_write_real('Items', string(oControl.mod_254), 254); -ini_write_real('Items', string(oControl.mod_306), 306); +ini_write_real("Items", string(oControl.mod_50), 50); +ini_write_real("Items", string(oControl.mod_103), 103); +ini_write_real("Items", string(oControl.mod_108), 108); +ini_write_real("Items", string(oControl.mod_157), 157); +ini_write_real("Items", string(oControl.mod_158), 158); +ini_write_real("Items", string(oControl.mod_200), 200); +ini_write_real("Items", string(oControl.mod_201), 201); +ini_write_real("Items", string(oControl.mod_251), 251); +ini_write_real("Items", string(oControl.mod_254), 254); +ini_write_real("Items", string(oControl.mod_306), 306); //Power Bombs -ini_write_real('Items', string(oControl.mod_58), 58); -ini_write_real('Items', string(oControl.mod_59), 59); -ini_write_real('Items', string(oControl.mod_112), 112); -ini_write_real('Items', string(oControl.mod_160), 160); -ini_write_real('Items', string(oControl.mod_212), 212); -ini_write_real('Items', string(oControl.mod_213), 213); -ini_write_real('Items', string(oControl.mod_253), 253); -ini_write_real('Items', string(oControl.mod_258), 258); -ini_write_real('Items', string(oControl.mod_301), 301); -ini_write_real('Items', string(oControl.mod_302), 302); +ini_write_real("Items", string(oControl.mod_58), 58); +ini_write_real("Items", string(oControl.mod_59), 59); +ini_write_real("Items", string(oControl.mod_112), 112); +ini_write_real("Items", string(oControl.mod_160), 160); +ini_write_real("Items", string(oControl.mod_212), 212); +ini_write_real("Items", string(oControl.mod_213), 213); +ini_write_real("Items", string(oControl.mod_253), 253); +ini_write_real("Items", string(oControl.mod_258), 258); +ini_write_real("Items", string(oControl.mod_301), 301); +ini_write_real("Items", string(oControl.mod_302), 302); ini_close(); ini_open(working_directory + "\swap.ini"); var can_return = false; -if (ini_read_real('Items', string(argument0), argument0) == argument0) { can_return = true; } +if (ini_read_real("Items", string(argument0), argument0) == argument0) { can_return = true; } if (can_return) { ini_close(); return argument0; } -var swap_location = ini_read_real('Items', string(argument0), argument0) +var swap_location = ini_read_real("Items", string(argument0), argument0) var swap_item = 1; //Powerups -if (ini_read_real('Items', '0', 0) == argument1) { swap_item = 0; } -if (ini_read_real('Items', '2', 2) == argument1) { swap_item = 2; } -if (ini_read_real('Items', '3', 3) == argument1) { swap_item = 3; } -if (ini_read_real('Items', '4', 4) == argument1) { swap_item = 4; } -if (ini_read_real('Items', '5', 5) == argument1) { swap_item = 5; } -if (ini_read_real('Items', '6', 6) == argument1) { swap_item = 6; } -if (ini_read_real('Items', '7', 7) == argument1) { swap_item = 7; } -if (ini_read_real('Items', '8', 8) == argument1) { swap_item = 8; } -if (ini_read_real('Items', '10', 10) == argument1) { swap_item = 10; } -if (ini_read_real('Items', '11', 11) == argument1) { swap_item = 11; } -if (ini_read_real('Items', '12', 12) == argument1) { swap_item = 12; } -if (ini_read_real('Items', '13', 13) == argument1) { swap_item = 13; } -if (ini_read_real('Items', '14', 14) == argument1) { swap_item = 14; } +if (ini_read_real("Items", "0", 0) == argument1) { swap_item = 0; } +if (ini_read_real("Items", "2", 2) == argument1) { swap_item = 2; } +if (ini_read_real("Items", "3", 3) == argument1) { swap_item = 3; } +if (ini_read_real("Items", "4", 4) == argument1) { swap_item = 4; } +if (ini_read_real("Items", "5", 5) == argument1) { swap_item = 5; } +if (ini_read_real("Items", "6", 6) == argument1) { swap_item = 6; } +if (ini_read_real("Items", "7", 7) == argument1) { swap_item = 7; } +if (ini_read_real("Items", "8", 8) == argument1) { swap_item = 8; } +if (ini_read_real("Items", "10", 10) == argument1) { swap_item = 10; } +if (ini_read_real("Items", "11", 11) == argument1) { swap_item = 11; } +if (ini_read_real("Items", "12", 12) == argument1) { swap_item = 12; } +if (ini_read_real("Items", "13", 13) == argument1) { swap_item = 13; } +if (ini_read_real("Items", "14", 14) == argument1) { swap_item = 14; } //Missiles -if (ini_read_real('Items', '52', 52) == argument1) { swap_item = 52; } -if (ini_read_real('Items', '53', 53) == argument1) { swap_item = 53; } -if (ini_read_real('Items', '54', 54) == argument1) { swap_item = 54; } -if (ini_read_real('Items', '55', 55) == argument1) { swap_item = 55; } -if (ini_read_real('Items', '56', 56) == argument1) { swap_item = 56; } -if (ini_read_real('Items', '57', 57) == argument1) { swap_item = 57; } -if (ini_read_real('Items', '60', 60) == argument1) { swap_item = 60; } -if (ini_read_real('Items', '100', 100) == argument1) { swap_item = 100; } -if (ini_read_real('Items', '101', 101) == argument1) { swap_item = 101; } -if (ini_read_real('Items', '102', 102) == argument1) { swap_item = 102; } -if (ini_read_real('Items', '104', 104) == argument1) { swap_item = 104; } -if (ini_read_real('Items', '105', 105) == argument1) { swap_item = 105; } -if (ini_read_real('Items', '106', 106) == argument1) { swap_item = 106; } -if (ini_read_real('Items', '107', 107) == argument1) { swap_item = 107; } -if (ini_read_real('Items', '109', 109) == argument1) { swap_item = 109; } -if (ini_read_real('Items', '111', 111) == argument1) { swap_item = 111; } -if (ini_read_real('Items', '150', 150) == argument1) { swap_item = 150; } -if (ini_read_real('Items', '151', 151) == argument1) { swap_item = 151; } -if (ini_read_real('Items', '152', 152) == argument1) { swap_item = 152; } -if (ini_read_real('Items', '153', 153) == argument1) { swap_item = 153; } -if (ini_read_real('Items', '154', 154) == argument1) { swap_item = 154; } -if (ini_read_real('Items', '155', 155) == argument1) { swap_item = 155; } -if (ini_read_real('Items', '156', 156) == argument1) { swap_item = 156; } -if (ini_read_real('Items', '159', 159) == argument1) { swap_item = 159; } -if (ini_read_real('Items', '161', 161) == argument1) { swap_item = 161; } -if (ini_read_real('Items', '163', 163) == argument1) { swap_item = 163; } -if (ini_read_real('Items', '202', 202) == argument1) { swap_item = 202; } -if (ini_read_real('Items', '203', 203) == argument1) { swap_item = 203; } -if (ini_read_real('Items', '204', 204) == argument1) { swap_item = 204; } -if (ini_read_real('Items', '205', 205) == argument1) { swap_item = 205; } -if (ini_read_real('Items', '208', 208) == argument1) { swap_item = 208; } -if (ini_read_real('Items', '210', 210) == argument1) { swap_item = 210; } -if (ini_read_real('Items', '211', 211) == argument1) { swap_item = 211; } -if (ini_read_real('Items', '214', 214) == argument1) { swap_item = 214; } -if (ini_read_real('Items', '250', 250) == argument1) { swap_item = 250; } -if (ini_read_real('Items', '252', 252) == argument1) { swap_item = 252; } -if (ini_read_real('Items', '255', 255) == argument1) { swap_item = 255; } -if (ini_read_real('Items', '257', 257) == argument1) { swap_item = 257; } -if (ini_read_real('Items', '259', 259) == argument1) { swap_item = 259; } -if (ini_read_real('Items', '303', 303) == argument1) { swap_item = 303; } -if (ini_read_real('Items', '304', 304) == argument1) { swap_item = 304; } -if (ini_read_real('Items', '307', 307) == argument1) { swap_item = 307; } -if (ini_read_real('Items', '308', 308) == argument1) { swap_item = 308; } -if (ini_read_real('Items', '309', 309) == argument1) { swap_item = 309; } +if (ini_read_real("Items", "52", 52) == argument1) { swap_item = 52; } +if (ini_read_real("Items", "53", 53) == argument1) { swap_item = 53; } +if (ini_read_real("Items", "54", 54) == argument1) { swap_item = 54; } +if (ini_read_real("Items", "55", 55) == argument1) { swap_item = 55; } +if (ini_read_real("Items", "56", 56) == argument1) { swap_item = 56; } +if (ini_read_real("Items", "57", 57) == argument1) { swap_item = 57; } +if (ini_read_real("Items", "60", 60) == argument1) { swap_item = 60; } +if (ini_read_real("Items", "100", 100) == argument1) { swap_item = 100; } +if (ini_read_real("Items", "101", 101) == argument1) { swap_item = 101; } +if (ini_read_real("Items", "102", 102) == argument1) { swap_item = 102; } +if (ini_read_real("Items", "104", 104) == argument1) { swap_item = 104; } +if (ini_read_real("Items", "105", 105) == argument1) { swap_item = 105; } +if (ini_read_real("Items", "106", 106) == argument1) { swap_item = 106; } +if (ini_read_real("Items", "107", 107) == argument1) { swap_item = 107; } +if (ini_read_real("Items", "109", 109) == argument1) { swap_item = 109; } +if (ini_read_real("Items", "111", 111) == argument1) { swap_item = 111; } +if (ini_read_real("Items", "150", 150) == argument1) { swap_item = 150; } +if (ini_read_real("Items", "151", 151) == argument1) { swap_item = 151; } +if (ini_read_real("Items", "152", 152) == argument1) { swap_item = 152; } +if (ini_read_real("Items", "153", 153) == argument1) { swap_item = 153; } +if (ini_read_real("Items", "154", 154) == argument1) { swap_item = 154; } +if (ini_read_real("Items", "155", 155) == argument1) { swap_item = 155; } +if (ini_read_real("Items", "156", 156) == argument1) { swap_item = 156; } +if (ini_read_real("Items", "159", 159) == argument1) { swap_item = 159; } +if (ini_read_real("Items", "161", 161) == argument1) { swap_item = 161; } +if (ini_read_real("Items", "163", 163) == argument1) { swap_item = 163; } +if (ini_read_real("Items", "202", 202) == argument1) { swap_item = 202; } +if (ini_read_real("Items", "203", 203) == argument1) { swap_item = 203; } +if (ini_read_real("Items", "204", 204) == argument1) { swap_item = 204; } +if (ini_read_real("Items", "205", 205) == argument1) { swap_item = 205; } +if (ini_read_real("Items", "208", 208) == argument1) { swap_item = 208; } +if (ini_read_real("Items", "210", 210) == argument1) { swap_item = 210; } +if (ini_read_real("Items", "211", 211) == argument1) { swap_item = 211; } +if (ini_read_real("Items", "214", 214) == argument1) { swap_item = 214; } +if (ini_read_real("Items", "250", 250) == argument1) { swap_item = 250; } +if (ini_read_real("Items", "252", 252) == argument1) { swap_item = 252; } +if (ini_read_real("Items", "255", 255) == argument1) { swap_item = 255; } +if (ini_read_real("Items", "257", 257) == argument1) { swap_item = 257; } +if (ini_read_real("Items", "259", 259) == argument1) { swap_item = 259; } +if (ini_read_real("Items", "303", 303) == argument1) { swap_item = 303; } +if (ini_read_real("Items", "304", 304) == argument1) { swap_item = 304; } +if (ini_read_real("Items", "307", 307) == argument1) { swap_item = 307; } +if (ini_read_real("Items", "308", 308) == argument1) { swap_item = 308; } +if (ini_read_real("Items", "309", 309) == argument1) { swap_item = 309; } //Super Missiles -if (ini_read_real('Items', '51', 51) == argument1) { swap_item = 51; } -if (ini_read_real('Items', '110', 110) == argument1) { swap_item = 110; } -if (ini_read_real('Items', '162', 162) == argument1) { swap_item = 162; } -if (ini_read_real('Items', '206', 206) == argument1) { swap_item = 206; } -if (ini_read_real('Items', '207', 207) == argument1) { swap_item = 207; } -if (ini_read_real('Items', '209', 209) == argument1) { swap_item = 209; } -if (ini_read_real('Items', '215', 215) == argument1) { swap_item = 215; } -if (ini_read_real('Items', '256', 256) == argument1) { swap_item = 256; } -if (ini_read_real('Items', '300', 300) == argument1) { swap_item = 300; } -if (ini_read_real('Items', '305', 305) == argument1) { swap_item = 305; } +if (ini_read_real("Items", "51", 51) == argument1) { swap_item = 51; } +if (ini_read_real("Items", "110", 110) == argument1) { swap_item = 110; } +if (ini_read_real("Items", "162", 162) == argument1) { swap_item = 162; } +if (ini_read_real("Items", "206", 206) == argument1) { swap_item = 206; } +if (ini_read_real("Items", "207", 207) == argument1) { swap_item = 207; } +if (ini_read_real("Items", "209", 209) == argument1) { swap_item = 209; } +if (ini_read_real("Items", "215", 215) == argument1) { swap_item = 215; } +if (ini_read_real("Items", "256", 256) == argument1) { swap_item = 256; } +if (ini_read_real("Items", "300", 300) == argument1) { swap_item = 300; } +if (ini_read_real("Items", "305", 305) == argument1) { swap_item = 305; } //Energy Tanks -if (ini_read_real('Items', '50', 50) == argument1) { swap_item = 50; } -if (ini_read_real('Items', '103', 103) == argument1) { swap_item = 103; } -if (ini_read_real('Items', '108', 108) == argument1) { swap_item = 108; } -if (ini_read_real('Items', '157', 157) == argument1) { swap_item = 157; } -if (ini_read_real('Items', '158', 158) == argument1) { swap_item = 158; } -if (ini_read_real('Items', '200', 200) == argument1) { swap_item = 200; } -if (ini_read_real('Items', '201', 201) == argument1) { swap_item = 201; } -if (ini_read_real('Items', '251', 251) == argument1) { swap_item = 251; } -if (ini_read_real('Items', '254', 254) == argument1) { swap_item = 254; } -if (ini_read_real('Items', '306', 306) == argument1) { swap_item = 306; } +if (ini_read_real("Items", "50", 50) == argument1) { swap_item = 50; } +if (ini_read_real("Items", "103", 103) == argument1) { swap_item = 103; } +if (ini_read_real("Items", "108", 108) == argument1) { swap_item = 108; } +if (ini_read_real("Items", "157", 157) == argument1) { swap_item = 157; } +if (ini_read_real("Items", "158", 158) == argument1) { swap_item = 158; } +if (ini_read_real("Items", "200", 200) == argument1) { swap_item = 200; } +if (ini_read_real("Items", "201", 201) == argument1) { swap_item = 201; } +if (ini_read_real("Items", "251", 251) == argument1) { swap_item = 251; } +if (ini_read_real("Items", "254", 254) == argument1) { swap_item = 254; } +if (ini_read_real("Items", "306", 306) == argument1) { swap_item = 306; } //Power Bombs -if (ini_read_real('Items', '58', 58) == argument1) { swap_item = 58; } -if (ini_read_real('Items', '59', 59) == argument1) { swap_item = 59; } -if (ini_read_real('Items', '112', 112) == argument1) { swap_item = 112; } -if (ini_read_real('Items', '160', 160) == argument1) { swap_item = 160; } -if (ini_read_real('Items', '212', 212) == argument1) { swap_item = 212; } -if (ini_read_real('Items', '213', 213) == argument1) { swap_item = 213; } -if (ini_read_real('Items', '253', 253) == argument1) { swap_item = 253; } -if (ini_read_real('Items', '258', 258) == argument1) { swap_item = 258; } -if (ini_read_real('Items', '301', 301) == argument1) { swap_item = 301; } -if (ini_read_real('Items', '302', 302) == argument1) { swap_item = 302; } +if (ini_read_real("Items", "58", 58) == argument1) { swap_item = 58; } +if (ini_read_real("Items", "59", 59) == argument1) { swap_item = 59; } +if (ini_read_real("Items", "112", 112) == argument1) { swap_item = 112; } +if (ini_read_real("Items", "160", 160) == argument1) { swap_item = 160; } +if (ini_read_real("Items", "212", 212) == argument1) { swap_item = 212; } +if (ini_read_real("Items", "213", 213) == argument1) { swap_item = 213; } +if (ini_read_real("Items", "253", 253) == argument1) { swap_item = 253; } +if (ini_read_real("Items", "258", 258) == argument1) { swap_item = 258; } +if (ini_read_real("Items", "301", 301) == argument1) { swap_item = 301; } +if (ini_read_real("Items", "302", 302) == argument1) { swap_item = 302; } ini_close(); if (file_exists(working_directory + "\swap.ini")) file_delete(working_directory + "\swap.ini"); diff --git a/scripts/scr_ini_write.gml b/scripts/scr_ini_write.gml index 4f11f135..de4c7abe 100644 --- a/scripts/scr_ini_write.gml +++ b/scripts/scr_ini_write.gml @@ -4,98 +4,98 @@ if (file_exists(working_directory + "\qwerty.ini")) file_delete(working_director ini_open(working_directory + "\qwerty.ini"); -ini_write_real('Items', string(oControl.mod_plasma), 14); -ini_write_real('Items', string(oControl.mod_spazer), 13); -ini_write_real('Items', string(oControl.mod_wave), 12); -ini_write_real('Items', string(oControl.mod_ice), 11); -ini_write_real('Items', string(oControl.mod_charge), 10); -ini_write_real('Items', string(oControl.mod_gravity), 9); -ini_write_real('Items', string(oControl.mod_screwattack), 8); -ini_write_real('Items', string(oControl.mod_speedbooster), 7); -ini_write_real('Items', string(oControl.mod_spacejump), 6); -ini_write_real('Items', string(oControl.mod_varia), 5); -ini_write_real('Items', string(oControl.mod_hijump), 4); -ini_write_real('Items', string(oControl.mod_jumpball), 3); -ini_write_real('Items', string(oControl.mod_spider), 2); -ini_write_real('Items', string(oControl.mod_bombs), 0); +ini_write_real("Items", string(oControl.mod_plasma), 14); +ini_write_real("Items", string(oControl.mod_spazer), 13); +ini_write_real("Items", string(oControl.mod_wave), 12); +ini_write_real("Items", string(oControl.mod_ice), 11); +ini_write_real("Items", string(oControl.mod_charge), 10); +ini_write_real("Items", string(oControl.mod_gravity), 9); +ini_write_real("Items", string(oControl.mod_screwattack), 8); +ini_write_real("Items", string(oControl.mod_speedbooster), 7); +ini_write_real("Items", string(oControl.mod_spacejump), 6); +ini_write_real("Items", string(oControl.mod_varia), 5); +ini_write_real("Items", string(oControl.mod_hijump), 4); +ini_write_real("Items", string(oControl.mod_jumpball), 3); +ini_write_real("Items", string(oControl.mod_spider), 2); +ini_write_real("Items", string(oControl.mod_bombs), 0); //Missiles -ini_write_real('Items', string(oControl.mod_52), 52); -ini_write_real('Items', string(oControl.mod_53), 53); -ini_write_real('Items', string(oControl.mod_54), 54); -ini_write_real('Items', string(oControl.mod_55), 55); -ini_write_real('Items', string(oControl.mod_56), 56); -ini_write_real('Items', string(oControl.mod_57), 57); -ini_write_real('Items', string(oControl.mod_60), 60); -ini_write_real('Items', string(oControl.mod_100), 100); -ini_write_real('Items', string(oControl.mod_101), 101); -ini_write_real('Items', string(oControl.mod_102), 102); -ini_write_real('Items', string(oControl.mod_104), 104); -ini_write_real('Items', string(oControl.mod_105), 105); -ini_write_real('Items', string(oControl.mod_106), 106); -ini_write_real('Items', string(oControl.mod_107), 107); -ini_write_real('Items', string(oControl.mod_109), 109); -ini_write_real('Items', string(oControl.mod_111), 111); -ini_write_real('Items', string(oControl.mod_150), 150); -ini_write_real('Items', string(oControl.mod_151), 151); -ini_write_real('Items', string(oControl.mod_152), 152); -ini_write_real('Items', string(oControl.mod_153), 153); -ini_write_real('Items', string(oControl.mod_154), 154); -ini_write_real('Items', string(oControl.mod_155), 155); -ini_write_real('Items', string(oControl.mod_156), 156); -ini_write_real('Items', string(oControl.mod_159), 159); -ini_write_real('Items', string(oControl.mod_161), 161); -ini_write_real('Items', string(oControl.mod_163), 163); -ini_write_real('Items', string(oControl.mod_202), 202); -ini_write_real('Items', string(oControl.mod_203), 203); -ini_write_real('Items', string(oControl.mod_204), 204); -ini_write_real('Items', string(oControl.mod_205), 205); -ini_write_real('Items', string(oControl.mod_208), 208); -ini_write_real('Items', string(oControl.mod_210), 210); -ini_write_real('Items', string(oControl.mod_211), 211); -ini_write_real('Items', string(oControl.mod_214), 214); -ini_write_real('Items', string(oControl.mod_250), 250); -ini_write_real('Items', string(oControl.mod_252), 252); -ini_write_real('Items', string(oControl.mod_255), 255); -ini_write_real('Items', string(oControl.mod_257), 257); -ini_write_real('Items', string(oControl.mod_259), 259); -ini_write_real('Items', string(oControl.mod_303), 303); -ini_write_real('Items', string(oControl.mod_304), 304); -ini_write_real('Items', string(oControl.mod_307), 307); -ini_write_real('Items', string(oControl.mod_308), 308); -ini_write_real('Items', string(oControl.mod_309), 309); +ini_write_real("Items", string(oControl.mod_52), 52); +ini_write_real("Items", string(oControl.mod_53), 53); +ini_write_real("Items", string(oControl.mod_54), 54); +ini_write_real("Items", string(oControl.mod_55), 55); +ini_write_real("Items", string(oControl.mod_56), 56); +ini_write_real("Items", string(oControl.mod_57), 57); +ini_write_real("Items", string(oControl.mod_60), 60); +ini_write_real("Items", string(oControl.mod_100), 100); +ini_write_real("Items", string(oControl.mod_101), 101); +ini_write_real("Items", string(oControl.mod_102), 102); +ini_write_real("Items", string(oControl.mod_104), 104); +ini_write_real("Items", string(oControl.mod_105), 105); +ini_write_real("Items", string(oControl.mod_106), 106); +ini_write_real("Items", string(oControl.mod_107), 107); +ini_write_real("Items", string(oControl.mod_109), 109); +ini_write_real("Items", string(oControl.mod_111), 111); +ini_write_real("Items", string(oControl.mod_150), 150); +ini_write_real("Items", string(oControl.mod_151), 151); +ini_write_real("Items", string(oControl.mod_152), 152); +ini_write_real("Items", string(oControl.mod_153), 153); +ini_write_real("Items", string(oControl.mod_154), 154); +ini_write_real("Items", string(oControl.mod_155), 155); +ini_write_real("Items", string(oControl.mod_156), 156); +ini_write_real("Items", string(oControl.mod_159), 159); +ini_write_real("Items", string(oControl.mod_161), 161); +ini_write_real("Items", string(oControl.mod_163), 163); +ini_write_real("Items", string(oControl.mod_202), 202); +ini_write_real("Items", string(oControl.mod_203), 203); +ini_write_real("Items", string(oControl.mod_204), 204); +ini_write_real("Items", string(oControl.mod_205), 205); +ini_write_real("Items", string(oControl.mod_208), 208); +ini_write_real("Items", string(oControl.mod_210), 210); +ini_write_real("Items", string(oControl.mod_211), 211); +ini_write_real("Items", string(oControl.mod_214), 214); +ini_write_real("Items", string(oControl.mod_250), 250); +ini_write_real("Items", string(oControl.mod_252), 252); +ini_write_real("Items", string(oControl.mod_255), 255); +ini_write_real("Items", string(oControl.mod_257), 257); +ini_write_real("Items", string(oControl.mod_259), 259); +ini_write_real("Items", string(oControl.mod_303), 303); +ini_write_real("Items", string(oControl.mod_304), 304); +ini_write_real("Items", string(oControl.mod_307), 307); +ini_write_real("Items", string(oControl.mod_308), 308); +ini_write_real("Items", string(oControl.mod_309), 309); //Super Missiles -ini_write_real('Items', string(oControl.mod_51), 51); -ini_write_real('Items', string(oControl.mod_110), 110); -ini_write_real('Items', string(oControl.mod_162), 162); -ini_write_real('Items', string(oControl.mod_206), 206); -ini_write_real('Items', string(oControl.mod_207), 207); -ini_write_real('Items', string(oControl.mod_209), 209); -ini_write_real('Items', string(oControl.mod_215), 215); -ini_write_real('Items', string(oControl.mod_256), 256); -ini_write_real('Items', string(oControl.mod_300), 300); -ini_write_real('Items', string(oControl.mod_305), 305); +ini_write_real("Items", string(oControl.mod_51), 51); +ini_write_real("Items", string(oControl.mod_110), 110); +ini_write_real("Items", string(oControl.mod_162), 162); +ini_write_real("Items", string(oControl.mod_206), 206); +ini_write_real("Items", string(oControl.mod_207), 207); +ini_write_real("Items", string(oControl.mod_209), 209); +ini_write_real("Items", string(oControl.mod_215), 215); +ini_write_real("Items", string(oControl.mod_256), 256); +ini_write_real("Items", string(oControl.mod_300), 300); +ini_write_real("Items", string(oControl.mod_305), 305); //Energy Tanks -ini_write_real('Items', string(oControl.mod_50), 50); -ini_write_real('Items', string(oControl.mod_103), 103); -ini_write_real('Items', string(oControl.mod_108), 108); -ini_write_real('Items', string(oControl.mod_157), 157); -ini_write_real('Items', string(oControl.mod_158), 158); -ini_write_real('Items', string(oControl.mod_200), 200); -ini_write_real('Items', string(oControl.mod_201), 201); -ini_write_real('Items', string(oControl.mod_251), 251); -ini_write_real('Items', string(oControl.mod_254), 254); -ini_write_real('Items', string(oControl.mod_306), 306); +ini_write_real("Items", string(oControl.mod_50), 50); +ini_write_real("Items", string(oControl.mod_103), 103); +ini_write_real("Items", string(oControl.mod_108), 108); +ini_write_real("Items", string(oControl.mod_157), 157); +ini_write_real("Items", string(oControl.mod_158), 158); +ini_write_real("Items", string(oControl.mod_200), 200); +ini_write_real("Items", string(oControl.mod_201), 201); +ini_write_real("Items", string(oControl.mod_251), 251); +ini_write_real("Items", string(oControl.mod_254), 254); +ini_write_real("Items", string(oControl.mod_306), 306); //Power Bombs -ini_write_real('Items', string(oControl.mod_58), 58); -ini_write_real('Items', string(oControl.mod_59), 59); -ini_write_real('Items', string(oControl.mod_112), 112); -ini_write_real('Items', string(oControl.mod_160), 160); -ini_write_real('Items', string(oControl.mod_212), 212); -ini_write_real('Items', string(oControl.mod_213), 213); -ini_write_real('Items', string(oControl.mod_253), 253); -ini_write_real('Items', string(oControl.mod_258), 258); -ini_write_real('Items', string(oControl.mod_301), 301); -ini_write_real('Items', string(oControl.mod_302), 302); +ini_write_real("Items", string(oControl.mod_58), 58); +ini_write_real("Items", string(oControl.mod_59), 59); +ini_write_real("Items", string(oControl.mod_112), 112); +ini_write_real("Items", string(oControl.mod_160), 160); +ini_write_real("Items", string(oControl.mod_212), 212); +ini_write_real("Items", string(oControl.mod_213), 213); +ini_write_real("Items", string(oControl.mod_253), 253); +ini_write_real("Items", string(oControl.mod_258), 258); +ini_write_real("Items", string(oControl.mod_301), 301); +ini_write_real("Items", string(oControl.mod_302), 302); ini_close(); diff --git a/scripts/scr_load_items.gml b/scripts/scr_load_items.gml index f56f51e6..96791724 100644 --- a/scripts/scr_load_items.gml +++ b/scripts/scr_load_items.gml @@ -1,6 +1,6 @@ -ini_open('modifiers.ini'); +ini_open("modifiers.ini"); //Header -//global.mod_cheating = ini_read_real('Header', 'Cheating', 0); +//global.mod_cheating = ini_read_real("Header", "Cheating", 0); diff --git a/scripts/scr_load_mods.gml b/scripts/scr_load_mods.gml index 70d2369f..916a6ca6 100644 --- a/scripts/scr_load_mods.gml +++ b/scripts/scr_load_mods.gml @@ -1,4 +1,4 @@ -ini_open('modifiers.ini'); +ini_open("modifiers.ini"); oControl.mod_backgroundframes = 60; oControl.mod_backgroundspeed = 8; @@ -9,23 +9,23 @@ oControl.mod_ycoordinate = 22; //Header //HellRun -//oControl.mod_insanitymode = mod_changes(ini_read_real('InsanityMode', 'InsanityMode', 0), 0); +//oControl.mod_insanitymode = mod_changes(ini_read_real("InsanityMode", "InsanityMode", 0), 0); // HELPER SEPTOGGS USED TO BE HERE //Filters -oControl.mod_color1value1 = ini_read_real('GBOriginalColorFilter', 'CustomColor1Value1', 87); -oControl.mod_color1value2 = ini_read_real('GBOriginalColorFilter', 'CustomColor1Value2', 111); -oControl.mod_color1value3 = ini_read_real('GBOriginalColorFilter', 'CustomColor1Value3', 93); -oControl.mod_color2value1 = ini_read_real('GBOriginalColorFilter', 'CustomColor2Value1', 229); -oControl.mod_color2value2 = ini_read_real('GBOriginalColorFilter', 'CustomColor2Value2', 115); -oControl.mod_color2value3 = ini_read_real('GBOriginalColorFilter', 'CustomColor2Value3', 158); -oControl.mod_color3value1 = ini_read_real('GBOriginalColorFilter', 'CustomColor3Value1', 253); -oControl.mod_color3value2 = ini_read_real('GBOriginalColorFilter', 'CustomColor3Value2', 159); -oControl.mod_color3value3 = ini_read_real('GBOriginalColorFilter', 'CustomColor3Value3', 167); -oControl.mod_color4value1 = ini_read_real('GBOriginalColorFilter', 'CustomColor4Value1', 252); -oControl.mod_color4value2 = ini_read_real('GBOriginalColorFilter', 'CustomColor4Value2', 252); -oControl.mod_color4value3 = ini_read_real('GBOriginalColorFilter', 'CustomColor4Value3', 252); +oControl.mod_color1value1 = ini_read_real("GBOriginalColorFilter", "CustomColor1Value1", 87); +oControl.mod_color1value2 = ini_read_real("GBOriginalColorFilter", "CustomColor1Value2", 111); +oControl.mod_color1value3 = ini_read_real("GBOriginalColorFilter", "CustomColor1Value3", 93); +oControl.mod_color2value1 = ini_read_real("GBOriginalColorFilter", "CustomColor2Value1", 229); +oControl.mod_color2value2 = ini_read_real("GBOriginalColorFilter", "CustomColor2Value2", 115); +oControl.mod_color2value3 = ini_read_real("GBOriginalColorFilter", "CustomColor2Value3", 158); +oControl.mod_color3value1 = ini_read_real("GBOriginalColorFilter", "CustomColor3Value1", 253); +oControl.mod_color3value2 = ini_read_real("GBOriginalColorFilter", "CustomColor3Value2", 159); +oControl.mod_color3value3 = ini_read_real("GBOriginalColorFilter", "CustomColor3Value3", 167); +oControl.mod_color4value1 = ini_read_real("GBOriginalColorFilter", "CustomColor4Value1", 252); +oControl.mod_color4value2 = ini_read_real("GBOriginalColorFilter", "CustomColor4Value2", 252); +oControl.mod_color4value3 = ini_read_real("GBOriginalColorFilter", "CustomColor4Value3", 252); //LabMonsterCount oControl.mod_monstersextremecheck = 0; @@ -47,10 +47,10 @@ global.chozo_message_item_id = -1; //oControl.mod_collecteditemsmap = 0; //E-Tank Health Multiplier -oControl.mod_etankhealthmult = mod_changes_2(ini_read_real('ETankHealth', 'Multiplier', 1), 1); +oControl.mod_etankhealthmult = mod_changes_2(ini_read_real("ETankHealth", "Multiplier", 1), 1); //MissileStartingCount -oControl.mod_Mstartingcount = mod_changes_2(ini_read_real('MissileStartCount', 'StartingCount', 30), 30); +oControl.mod_Mstartingcount = mod_changes_2(ini_read_real("MissileStartCount", "StartingCount", 30), 30); //RandomizerSettings @@ -58,133 +58,133 @@ oControl.mod_purerandombool = 0; oControl.mod_randomgamebool = 0; oControl.mod_splitrandom = 0; oControl.mod_randomitems = 1; -oControl.mod_screwattackrun = mod_changes_2(ini_read_real('RandomizerSettings', 'ScrewAttackRun', 1), 1); -oControl.mod_bombrun = mod_changes_2(ini_read_real('RandomizerSettings', 'BombRun', 1), 1); -oControl.mod_powerbombrun = mod_changes_2(ini_read_real('RandomizerSettings', 'PowerBombsRun', 1), 1); +oControl.mod_screwattackrun = mod_changes_2(ini_read_real("RandomizerSettings", "ScrewAttackRun", 1), 1); +oControl.mod_bombrun = mod_changes_2(ini_read_real("RandomizerSettings", "BombRun", 1), 1); +oControl.mod_powerbombrun = mod_changes_2(ini_read_real("RandomizerSettings", "PowerBombsRun", 1), 1); oControl.mod_bombblocks = 0; // RandomizerSeed -oControl.mod_usemanualseed = mod_changes(ini_read_real('RandomizerSeed', 'UseManualSeed', 0), 0); -oControl.mod_seed = ini_read_real('RandomizerSeed', 'Seed', 0); +oControl.mod_usemanualseed = mod_changes(ini_read_real("RandomizerSeed", "UseManualSeed", 0), 0); +oControl.mod_seed = ini_read_real("RandomizerSeed", "Seed", 0); // AlphaGamma -global.mod_alphagammaH = mod_changes(ini_read_real('AlphaGamma', 'Health', 1), 1); -global.mod_alphagammaD = mod_changes(ini_read_real('AlphaGamma', 'Damage', 1), 1); +global.mod_alphagammaH = mod_changes(ini_read_real("AlphaGamma", "Health", 1), 1); +global.mod_alphagammaD = mod_changes(ini_read_real("AlphaGamma", "Damage", 1), 1); // Gamma -global.mod_gammaelectric = mod_changes(ini_read_real('Gamma', 'Electric', 40), 40); +global.mod_gammaelectric = mod_changes(ini_read_real("Gamma", "Electric", 40), 40); // GrabbedGamma -global.mod_grabbedgammaPS = mod_changes(ini_read_real('GrabbedGamma', 'PowerSuit', 0.08), 0.08); -global.mod_grabbedgammaVS = mod_changes(ini_read_real('GrabbedGamma', 'VariaSuit', 0.05), 0.05); -global.mod_grabbedgammaGS = mod_changes(ini_read_real('GrabbedGamma', 'GravitySuit', 0.03), 0.03); +global.mod_grabbedgammaPS = mod_changes(ini_read_real("GrabbedGamma", "PowerSuit", 0.08), 0.08); +global.mod_grabbedgammaVS = mod_changes(ini_read_real("GrabbedGamma", "VariaSuit", 0.05), 0.05); +global.mod_grabbedgammaGS = mod_changes(ini_read_real("GrabbedGamma", "GravitySuit", 0.03), 0.03); // Zeta -global.mod_zetahealth = mod_changes(ini_read_real('Zeta', 'Health', 300), 300); -global.mod_zetadamage = mod_changes(ini_read_real('Zeta', 'Damage', 50), 50); -global.mod_zetadamageslash1 = mod_changes(ini_read_real('Zeta', 'DamageSlash1', 80), 80); -global.mod_zetadamageslash2 = mod_changes(ini_read_real('Zeta', 'DamageSlash2', 80), 80); -global.mod_zetadamageacid = mod_changes(ini_read_real('Zeta', 'DamageAcid', 40), 40); +global.mod_zetahealth = mod_changes(ini_read_real("Zeta", "Health", 300), 300); +global.mod_zetadamage = mod_changes(ini_read_real("Zeta", "Damage", 50), 50); +global.mod_zetadamageslash1 = mod_changes(ini_read_real("Zeta", "DamageSlash1", 80), 80); +global.mod_zetadamageslash2 = mod_changes(ini_read_real("Zeta", "DamageSlash2", 80), 80); +global.mod_zetadamageacid = mod_changes(ini_read_real("Zeta", "DamageAcid", 40), 40); // Omega -global.mod_omegahealth = mod_changes(ini_read_real('Omega', 'Health', 320), 320); -global.mod_omegadamagebackmissile = mod_changes_2(ini_read_real('Omega', 'DamageBackMissile', 30), 30); -global.mod_omegadamagebacksuper = mod_changes_2(ini_read_real('Omega', 'DamageBackSuper', 150), 150); -global.mod_omegadamage = mod_changes(ini_read_real('Omega', 'Damage', 100), 100); -global.mod_omegadamagegroundhit = mod_changes(ini_read_real('Omega', 'DamageGroundHit', 10), 10); -global.mod_omegadamageflame = mod_changes(ini_read_real('Omega', 'DamageFlame', 150), 150); -global.mod_omegadamageprojectile = mod_changes(ini_read_real('Omega', 'DamageProjectile', 250), 250); +global.mod_omegahealth = mod_changes(ini_read_real("Omega", "Health", 320), 320); +global.mod_omegadamagebackmissile = mod_changes_2(ini_read_real("Omega", "DamageBackMissile", 30), 30); +global.mod_omegadamagebacksuper = mod_changes_2(ini_read_real("Omega", "DamageBackSuper", 150), 150); +global.mod_omegadamage = mod_changes(ini_read_real("Omega", "Damage", 100), 100); +global.mod_omegadamagegroundhit = mod_changes(ini_read_real("Omega", "DamageGroundHit", 10), 10); +global.mod_omegadamageflame = mod_changes(ini_read_real("Omega", "DamageFlame", 150), 150); +global.mod_omegadamageprojectile = mod_changes(ini_read_real("Omega", "DamageProjectile", 250), 250); // AncientGuardian -global.mod_boss1Health = mod_changes(ini_read_real('AncientGuardian', 'Health', 500), 500); -global.mod_boss1Dhead = mod_changes(ini_read_real('AncientGuardian', 'DamageHead', 8), 8); -global.mod_boss1Dbeam = mod_changes(ini_read_real('AncientGuardian', 'DamageBeam', 15), 15); -global.mod_boss1DfireballO = mod_changes(ini_read_real('AncientGuardian', 'DamageFireballOrange', 20), 20); -global.mod_boss1DfireballExOR = mod_changes(ini_read_real('AncientGuardian', 'DamageFireballOrangeExplosionRight', 14), 14); -global.mod_boss1DfireballExOL = mod_changes(ini_read_real('AncientGuardian', 'DamageFireballOrangeExplosionLeft', 14), 14); -global.mod_boss1DfireballG = mod_changes(ini_read_real('AncientGuardian', 'DamageFireballGreen', 16), 16); -global.mod_boss1DfireballExG = mod_changes(ini_read_real('AncientGuardian', 'DamageFireballGreenExplosion', 5), 5); -global.mod_boss1DfireballR = mod_changes(ini_read_real('AncientGuardian', 'DamageFirebalRed', 15), 15); +global.mod_boss1Health = mod_changes(ini_read_real("AncientGuardian", "Health", 500), 500); +global.mod_boss1Dhead = mod_changes(ini_read_real("AncientGuardian", "DamageHead", 8), 8); +global.mod_boss1Dbeam = mod_changes(ini_read_real("AncientGuardian", "DamageBeam", 15), 15); +global.mod_boss1DfireballO = mod_changes(ini_read_real("AncientGuardian", "DamageFireballOrange", 20), 20); +global.mod_boss1DfireballExOR = mod_changes(ini_read_real("AncientGuardian", "DamageFireballOrangeExplosionRight", 14), 14); +global.mod_boss1DfireballExOL = mod_changes(ini_read_real("AncientGuardian", "DamageFireballOrangeExplosionLeft", 14), 14); +global.mod_boss1DfireballG = mod_changes(ini_read_real("AncientGuardian", "DamageFireballGreen", 16), 16); +global.mod_boss1DfireballExG = mod_changes(ini_read_real("AncientGuardian", "DamageFireballGreenExplosion", 5), 5); +global.mod_boss1DfireballR = mod_changes(ini_read_real("AncientGuardian", "DamageFirebalRed", 15), 15); // Arachnus -global.mod_arachnusdamage = mod_changes(ini_read_real('Arachnus', 'Damage', 20), 20); -global.mod_arachnusfireballorange = mod_changes(ini_read_real('Arachnus', 'DamageFireballOrange', 15), 15); -global.mod_arachnusfirewallorange = mod_changes(ini_read_real('Arachnus', 'DamageFireWallOrange', 15), 15); -global.mod_arachnusfireballgreen = mod_changes(ini_read_real('Arachnus', 'DamageFireballGreen', 15), 15); -global.mod_arachnusfirewallgreen = mod_changes(ini_read_real('Arachnus', 'DamageFireWallGreen', 15), 15); -global.mod_arachnusfireballred = mod_changes(ini_read_real('Arachnus', 'DamageFireballRed', 8), 8); -global.mod_arachnusdamageclaw = mod_changes(ini_read_real('Arachnus', 'DamageClaw', 22), 22); -global.mod_arachnusdamagespikes = mod_changes(ini_read_real('Arachnus', 'DamageSpikes', 10), 10); +global.mod_arachnusdamage = mod_changes(ini_read_real("Arachnus", "Damage", 20), 20); +global.mod_arachnusfireballorange = mod_changes(ini_read_real("Arachnus", "DamageFireballOrange", 15), 15); +global.mod_arachnusfirewallorange = mod_changes(ini_read_real("Arachnus", "DamageFireWallOrange", 15), 15); +global.mod_arachnusfireballgreen = mod_changes(ini_read_real("Arachnus", "DamageFireballGreen", 15), 15); +global.mod_arachnusfirewallgreen = mod_changes(ini_read_real("Arachnus", "DamageFireWallGreen", 15), 15); +global.mod_arachnusfireballred = mod_changes(ini_read_real("Arachnus", "DamageFireballRed", 8), 8); +global.mod_arachnusdamageclaw = mod_changes(ini_read_real("Arachnus", "DamageClaw", 22), 22); +global.mod_arachnusdamagespikes = mod_changes(ini_read_real("Arachnus", "DamageSpikes", 10), 10); // Torizo -global.mod_torizohealthform1 = mod_changes(ini_read_real('Torizo', 'HealthForm1', 200), 200); -global.mod_torizohealthform2 = mod_changes(ini_read_real('Torizo', 'HealthForm2', 240), 240); -global.mod_torizohealthform1hard = mod_changes(ini_read_real('Torizo', 'HealthForm1Hard', 300), 300); -global.mod_torizohealthform2hard = mod_changes(ini_read_real('Torizo', 'HealthForm2Hard', 350), 350); -global.mod_torizondamageform1 = mod_changes(ini_read_real('Torizo', 'DamageForm1', 30), 30); -global.mod_torizondamageform2 = mod_changes(ini_read_real('Torizo', 'DamageForm2', 30), 30); -global.mod_torizodamagefireball = mod_changes(ini_read_real('Torizo', 'DamageFireball', 18), 18); -global.mod_torizodamageslash = mod_changes(ini_read_real('Torizo', 'DamageSlash', 24), 24); -global.mod_torizodamageghost = mod_changes(ini_read_real('Torizo', 'DamageGhost', 18), 18); +global.mod_torizohealthform1 = mod_changes(ini_read_real("Torizo", "HealthForm1", 200), 200); +global.mod_torizohealthform2 = mod_changes(ini_read_real("Torizo", "HealthForm2", 240), 240); +global.mod_torizohealthform1hard = mod_changes(ini_read_real("Torizo", "HealthForm1Hard", 300), 300); +global.mod_torizohealthform2hard = mod_changes(ini_read_real("Torizo", "HealthForm2Hard", 350), 350); +global.mod_torizondamageform1 = mod_changes(ini_read_real("Torizo", "DamageForm1", 30), 30); +global.mod_torizondamageform2 = mod_changes(ini_read_real("Torizo", "DamageForm2", 30), 30); +global.mod_torizodamagefireball = mod_changes(ini_read_real("Torizo", "DamageFireball", 18), 18); +global.mod_torizodamageslash = mod_changes(ini_read_real("Torizo", "DamageSlash", 24), 24); +global.mod_torizodamageghost = mod_changes(ini_read_real("Torizo", "DamageGhost", 18), 18); // Tester -global.mod_testerHcannon = mod_changes(ini_read_real('Tester', 'HealthCannon', 15), 15); -global.mod_testerHeye = mod_changes(ini_read_real('Tester', 'HealthEye', 100), 100); -global.mod_testerHglass = mod_changes(ini_read_real('Tester', 'HealthGlass', 30), 30); -global.mod_testerHshield = mod_changes(ini_read_real('Tester', 'HealthShield', 200), 200); -global.mod_testerDicespark = mod_changes(ini_read_real('Tester', 'DamageIceSpark', 25), 25); -global.mod_testerDamage = mod_changes(ini_read_real('Tester', 'Damage', 40), 40); -global.mod_testerDshield = mod_changes(ini_read_real('Tester', 'DamageShield', 40), 40); -global.mod_testerDMissile = mod_changes(ini_read_real('Tester', 'DamageMissile', 40), 40); -global.mod_testerDPlasma = mod_changes(ini_read_real('Tester', 'DamagePlasma', 50), 50); -global.mod_testerDspazer = mod_changes(ini_read_real('Tester', 'DamageSpazer', 25), 25); -global.mod_testerDwave = mod_changes(ini_read_real('Tester', 'DamageWave', 35), 35); +global.mod_testerHcannon = mod_changes(ini_read_real("Tester", "HealthCannon", 15), 15); +global.mod_testerHeye = mod_changes(ini_read_real("Tester", "HealthEye", 100), 100); +global.mod_testerHglass = mod_changes(ini_read_real("Tester", "HealthGlass", 30), 30); +global.mod_testerHshield = mod_changes(ini_read_real("Tester", "HealthShield", 200), 200); +global.mod_testerDicespark = mod_changes(ini_read_real("Tester", "DamageIceSpark", 25), 25); +global.mod_testerDamage = mod_changes(ini_read_real("Tester", "Damage", 40), 40); +global.mod_testerDshield = mod_changes(ini_read_real("Tester", "DamageShield", 40), 40); +global.mod_testerDMissile = mod_changes(ini_read_real("Tester", "DamageMissile", 40), 40); +global.mod_testerDPlasma = mod_changes(ini_read_real("Tester", "DamagePlasma", 50), 50); +global.mod_testerDspazer = mod_changes(ini_read_real("Tester", "DamageSpazer", 25), 25); +global.mod_testerDwave = mod_changes(ini_read_real("Tester", "DamageWave", 35), 35); // Tank -global.mod_tankHbottom = mod_changes(ini_read_real('Tank', 'HealthBottom', 100), 100); -global.mod_tankHcannon = mod_changes(ini_read_real('Tank', 'HealthCannon', 150), 150); -global.mod_tankHcore = mod_changes(ini_read_real('Tank', 'HealthCore', 125), 125); -global.mod_tankHhead = mod_changes(ini_read_real('Tank', 'HealthHead', 100), 100); -global.mod_tankHshield = mod_changes(ini_read_real('Tank', 'HealthShield', 100), 100); -global.mod_tankDamage = mod_changes(ini_read_real('Tank', 'Damage', 40), 40); -global.mod_tankDprojectile = mod_changes(ini_read_real('Tank', 'DamageProjectile', 24), 24); +global.mod_tankHbottom = mod_changes(ini_read_real("Tank", "HealthBottom", 100), 100); +global.mod_tankHcannon = mod_changes(ini_read_real("Tank", "HealthCannon", 150), 150); +global.mod_tankHcore = mod_changes(ini_read_real("Tank", "HealthCore", 125), 125); +global.mod_tankHhead = mod_changes(ini_read_real("Tank", "HealthHead", 100), 100); +global.mod_tankHshield = mod_changes(ini_read_real("Tank", "HealthShield", 100), 100); +global.mod_tankDamage = mod_changes(ini_read_real("Tank", "Damage", 40), 40); +global.mod_tankDprojectile = mod_changes(ini_read_real("Tank", "DamageProjectile", 24), 24); // Serris -global.mod_serrisHealth = mod_changes(ini_read_real('Serris', 'Health', 100), 100); -global.mod_serrisHbody = mod_changes(ini_read_real('Serris', 'HealthBody', 10), 10); -global.mod_serrisDamage = mod_changes(ini_read_real('Serris', 'Damage', 50), 50); -global.mod_serrisDprojectile = mod_changes(ini_read_real('Serris', 'DamageBody', 50), 50); +global.mod_serrisHealth = mod_changes(ini_read_real("Serris", "Health", 100), 100); +global.mod_serrisHbody = mod_changes(ini_read_real("Serris", "HealthBody", 10), 10); +global.mod_serrisDamage = mod_changes(ini_read_real("Serris", "Damage", 50), 50); +global.mod_serrisDprojectile = mod_changes(ini_read_real("Serris", "DamageBody", 50), 50); // Genesis -global.mod_genesisHealth = mod_changes(ini_read_real('Genesis', 'Health', 250), 250); -global.mod_genesisDamage = mod_changes(ini_read_real('Genesis', 'Damage', 80), 80); -global.mod_genesisDacid = mod_changes(ini_read_real('Genesis', 'DamageAcid', 30), 30); -global.mod_genesisDslash = mod_changes(ini_read_real('Genesis', 'DamageSlash', 90), 90); +global.mod_genesisHealth = mod_changes(ini_read_real("Genesis", "Health", 250), 250); +global.mod_genesisDamage = mod_changes(ini_read_real("Genesis", "Damage", 80), 80); +global.mod_genesisDacid = mod_changes(ini_read_real("Genesis", "DamageAcid", 30), 30); +global.mod_genesisDslash = mod_changes(ini_read_real("Genesis", "DamageSlash", 90), 90); // Monsters -global.mod_monstersHealth = mod_changes(ini_read_real('Monsters', 'Health', 5), 5); -global.mod_monstersDmissiles = mod_changes(ini_read_real('Monsters', 'DamageMissiles', 1), 1); -global.mod_monstersDsuper = mod_changes(ini_read_real('Monsters', 'DamageSuperMissiles', 5), 5); -global.mod_monstersdrainPS = mod_changes(ini_read_real('Monsters', 'DrainPowerSuit', 2), 2); -global.mod_monstersdrainVS = mod_changes(ini_read_real('Monsters', 'DrainVariaSuit', 1), 1); -global.mod_monstersdrainGS = mod_changes(ini_read_real('Monsters', 'DrainGravitySuit', 0.5), 0.5); +global.mod_monstersHealth = mod_changes(ini_read_real("Monsters", "Health", 5), 5); +global.mod_monstersDmissiles = mod_changes(ini_read_real("Monsters", "DamageMissiles", 1), 1); +global.mod_monstersDsuper = mod_changes(ini_read_real("Monsters", "DamageSuperMissiles", 5), 5); +global.mod_monstersdrainPS = mod_changes(ini_read_real("Monsters", "DrainPowerSuit", 2), 2); +global.mod_monstersdrainVS = mod_changes(ini_read_real("Monsters", "DrainVariaSuit", 1), 1); +global.mod_monstersdrainGS = mod_changes(ini_read_real("Monsters", "DrainGravitySuit", 0.5), 0.5); // Queen -global.mod_queenHstart = mod_changes(ini_read_real('Queen', 'HealthStart', 600), 600); -global.mod_queenHcorridors = mod_changes(ini_read_real('Queen', 'HealthCorridors', 200), 200); -global.mod_queenHbigroom = mod_changes(ini_read_real('Queen', 'HealthBigRoom', 400), 400); -global.mod_queenHlast = mod_changes(ini_read_real('Queen', 'HealthLast', 300), 300); -global.mod_queenDbody = mod_changes(ini_read_real('Queen', 'DamageBody', 60), 60); -global.mod_queenDhead = mod_changes(ini_read_real('Queen', 'DamageHead', 90), 90); -global.mod_queenHprojectile = mod_changes(ini_read_real('Queen', 'HealthProjectile', 80), 80); -global.mod_queenDprojectile = mod_changes(ini_read_real('Queen', 'DamageProjectile', 100), 100); -global.mod_queenDfireball = mod_changes(ini_read_real('Queen', 'DamageFireball', 250), 250); -global.mod_queenDacid = mod_changes(ini_read_real('Queen', 'DamageAcid', 80), 80); +global.mod_queenHstart = mod_changes(ini_read_real("Queen", "HealthStart", 600), 600); +global.mod_queenHcorridors = mod_changes(ini_read_real("Queen", "HealthCorridors", 200), 200); +global.mod_queenHbigroom = mod_changes(ini_read_real("Queen", "HealthBigRoom", 400), 400); +global.mod_queenHlast = mod_changes(ini_read_real("Queen", "HealthLast", 300), 300); +global.mod_queenDbody = mod_changes(ini_read_real("Queen", "DamageBody", 60), 60); +global.mod_queenDhead = mod_changes(ini_read_real("Queen", "DamageHead", 90), 90); +global.mod_queenHprojectile = mod_changes(ini_read_real("Queen", "HealthProjectile", 80), 80); +global.mod_queenDprojectile = mod_changes(ini_read_real("Queen", "DamageProjectile", 100), 100); +global.mod_queenDfireball = mod_changes(ini_read_real("Queen", "DamageFireball", 250), 250); +global.mod_queenDacid = mod_changes(ini_read_real("Queen", "DamageAcid", 80), 80); // PlantDrain -global.mod_plaintdrainPS = mod_changes(ini_read_real('PlantDrain', 'PowerSuit', 0.1), 0.1); -global.mod_plaintdrainVS = mod_changes(ini_read_real('PlantDrain', 'VariaSuit', 0.05), 0.05); +global.mod_plaintdrainPS = mod_changes(ini_read_real("PlantDrain", "PowerSuit", 0.1), 0.1); +global.mod_plaintdrainVS = mod_changes(ini_read_real("PlantDrain", "VariaSuit", 0.05), 0.05); //LavaBurn -global.mod_lavaburnPS = mod_changes(ini_read_real('LavaBurn', 'PowerSuit', 0.1), 0.1); -global.mod_lavaburnVS = mod_changes(ini_read_real('LavaBurn', 'VariaSuit', 0.05), 0.05); +global.mod_lavaburnPS = mod_changes(ini_read_real("LavaBurn", "PowerSuit", 0.1), 0.1); +global.mod_lavaburnVS = mod_changes(ini_read_real("LavaBurn", "VariaSuit", 0.05), 0.05); // Spikes -global.mod_spikes1 = mod_changes(ini_read_real('Spikes', 'Damage1', 3), 3); -global.mod_spikes2 = mod_changes(ini_read_real('Spikes', 'Damage2', 7), 7); -global.mod_spikes3 = mod_changes(ini_read_real('Spikes', 'Damage3', 25), 25); -global.mod_spikes4 = mod_changes(ini_read_real('Spikes', 'Damage4', 40), 40); -global.mod_spikesceiling = mod_changes(ini_read_real('Spikes', 'DamageCeiling', 10), 10); -global.mod_spikeszeta = mod_changes(ini_read_real('Spikes', 'DamageZeta', 25), 25); +global.mod_spikes1 = mod_changes(ini_read_real("Spikes", "Damage1", 3), 3); +global.mod_spikes2 = mod_changes(ini_read_real("Spikes", "Damage2", 7), 7); +global.mod_spikes3 = mod_changes(ini_read_real("Spikes", "Damage3", 25), 25); +global.mod_spikes4 = mod_changes(ini_read_real("Spikes", "Damage4", 40), 40); +global.mod_spikesceiling = mod_changes(ini_read_real("Spikes", "DamageCeiling", 10), 10); +global.mod_spikeszeta = mod_changes(ini_read_real("Spikes", "DamageZeta", 25), 25); // RoboMineProjectile -global.mod_robominedamage = mod_changes(ini_read_real('RoboMineProjectile', 'Damage', 30), 30); +global.mod_robominedamage = mod_changes(ini_read_real("RoboMineProjectile", "Damage", 30), 30); // BladeBot -global.mod_bladebotDamage = mod_changes(ini_read_real('BladeBot', 'Damage', 60), 60); +global.mod_bladebotDamage = mod_changes(ini_read_real("BladeBot", "Damage", 60), 60); // Core-X // Arachnus @@ -212,7 +212,7 @@ global.mod_coreErisHealthYellow = ini_read_real("CoreXSerris", "HealthYellow", 4 global.mod_coreErisHealthRed = ini_read_real("CoreXSerris", "HealthRed", 3); // Translator Debug Room -// oControl.mod_debugRoom = ini_read_real('TranslatorDebug', 'Enable', 0); +// oControl.mod_debugRoom = ini_read_real("TranslatorDebug", "Enable", 0); // Close ini file ini_close(); diff --git a/scripts/scr_randomizer_read.gml b/scripts/scr_randomizer_read.gml index 5038d88c..70f71288 100644 --- a/scripts/scr_randomizer_read.gml +++ b/scripts/scr_randomizer_read.gml @@ -8,99 +8,99 @@ scr_rand_encrypt_read(); ini_open(working_directory + "random" + string(global.saveslot + 1) + ".ini"); /* comment -oControl.mod_bombs = ini_read_real('Items', '0', 0); -oControl.mod_spider = ini_read_real('Items', '2', 2); -oControl.mod_jumpball = ini_read_real('Items', '3', 3); -oControl.mod_hijump = ini_read_real('Items', '4', 4); -oControl.mod_varia = ini_read_real('Items', '5', 5); -oControl.mod_spacejump = ini_read_real('Items', '6', 6); -oControl.mod_speedbooster = ini_read_real('Items', '7', 7); -oControl.mod_screwattack = ini_read_real('Items', '8', 8); -oControl.mod_charge = ini_read_real('Items', '10', 10); -oControl.mod_ice = ini_read_real('Items', '11', 11); -oControl.mod_wave = ini_read_real('Items', '12', 12); -oControl.mod_spazer = ini_read_real('Items', '13', 13); -oControl.mod_plasma = ini_read_real('Items', '14', 14); +oControl.mod_bombs = ini_read_real("Items", "0", 0); +oControl.mod_spider = ini_read_real("Items", "2", 2); +oControl.mod_jumpball = ini_read_real("Items", "3", 3); +oControl.mod_hijump = ini_read_real("Items", "4", 4); +oControl.mod_varia = ini_read_real("Items", "5", 5); +oControl.mod_spacejump = ini_read_real("Items", "6", 6); +oControl.mod_speedbooster = ini_read_real("Items", "7", 7); +oControl.mod_screwattack = ini_read_real("Items", "8", 8); +oControl.mod_charge = ini_read_real("Items", "10", 10); +oControl.mod_ice = ini_read_real("Items", "11", 11); +oControl.mod_wave = ini_read_real("Items", "12", 12); +oControl.mod_spazer = ini_read_real("Items", "13", 13); +oControl.mod_plasma = ini_read_real("Items", "14", 14); // uncomment //Items //Missiles -oControl.mod_52 = ini_read_real('Items', '52', 52); -oControl.mod_53 = ini_read_real('Items', '53', 53); -oControl.mod_54 = ini_read_real('Items', '54', 54); -oControl.mod_55 = ini_read_real('Items', '55', 55); -oControl.mod_56 = ini_read_real('Items', '56', 56); -oControl.mod_57 = ini_read_real('Items', '57', 57); -oControl.mod_60 = ini_read_real('Items', '60', 60); -oControl.mod_100 = ini_read_real('Items', '100', 100); -oControl.mod_101 = ini_read_real('Items', '101', 101); -oControl.mod_102 = ini_read_real('Items', '102', 102); -oControl.mod_104 = ini_read_real('Items', '104', 104); -oControl.mod_105 = ini_read_real('Items', '105', 105); -oControl.mod_106 = ini_read_real('Items', '106', 106); -oControl.mod_107 = ini_read_real('Items', '107', 107); -oControl.mod_109 = ini_read_real('Items', '109', 109); -oControl.mod_111 = ini_read_real('Items', '111', 111); -oControl.mod_150 = ini_read_real('Items', '150', 150); -oControl.mod_151 = ini_read_real('Items', '151', 151); -oControl.mod_152 = ini_read_real('Items', '152', 152); -oControl.mod_153 = ini_read_real('Items', '153', 153); -oControl.mod_154 = ini_read_real('Items', '154', 154); -oControl.mod_155 = ini_read_real('Items', '155', 155); -oControl.mod_156 = ini_read_real('Items', '156', 156); -oControl.mod_159 = ini_read_real('Items', '159', 159); -oControl.mod_161 = ini_read_real('Items', '161', 161); -oControl.mod_163 = ini_read_real('Items', '163', 163); -oControl.mod_202 = ini_read_real('Items', '202', 202); -oControl.mod_203 = ini_read_real('Items', '203', 203); -oControl.mod_204 = ini_read_real('Items', '204', 204); -oControl.mod_205 = ini_read_real('Items', '205', 205); -oControl.mod_208 = ini_read_real('Items', '208', 208); -oControl.mod_210 = ini_read_real('Items', '210', 210); -oControl.mod_211 = ini_read_real('Items', '211', 211); -oControl.mod_214 = ini_read_real('Items', '214', 214); -oControl.mod_250 = ini_read_real('Items', '250', 250); -oControl.mod_252 = ini_read_real('Items', '252', 252); -oControl.mod_255 = ini_read_real('Items', '255', 255); -oControl.mod_257 = ini_read_real('Items', '257', 257); -oControl.mod_259 = ini_read_real('Items', '259', 259); -oControl.mod_303 = ini_read_real('Items', '303', 303); -oControl.mod_304 = ini_read_real('Items', '304', 304); -oControl.mod_307 = ini_read_real('Items', '307', 307); -oControl.mod_308 = ini_read_real('Items', '308', 308); -oControl.mod_309 = ini_read_real('Items', '309', 309); +oControl.mod_52 = ini_read_real("Items", "52", 52); +oControl.mod_53 = ini_read_real("Items", "53", 53); +oControl.mod_54 = ini_read_real("Items", "54", 54); +oControl.mod_55 = ini_read_real("Items", "55", 55); +oControl.mod_56 = ini_read_real("Items", "56", 56); +oControl.mod_57 = ini_read_real("Items", "57", 57); +oControl.mod_60 = ini_read_real("Items", "60", 60); +oControl.mod_100 = ini_read_real("Items", "100", 100); +oControl.mod_101 = ini_read_real("Items", "101", 101); +oControl.mod_102 = ini_read_real("Items", "102", 102); +oControl.mod_104 = ini_read_real("Items", "104", 104); +oControl.mod_105 = ini_read_real("Items", "105", 105); +oControl.mod_106 = ini_read_real("Items", "106", 106); +oControl.mod_107 = ini_read_real("Items", "107", 107); +oControl.mod_109 = ini_read_real("Items", "109", 109); +oControl.mod_111 = ini_read_real("Items", "111", 111); +oControl.mod_150 = ini_read_real("Items", "150", 150); +oControl.mod_151 = ini_read_real("Items", "151", 151); +oControl.mod_152 = ini_read_real("Items", "152", 152); +oControl.mod_153 = ini_read_real("Items", "153", 153); +oControl.mod_154 = ini_read_real("Items", "154", 154); +oControl.mod_155 = ini_read_real("Items", "155", 155); +oControl.mod_156 = ini_read_real("Items", "156", 156); +oControl.mod_159 = ini_read_real("Items", "159", 159); +oControl.mod_161 = ini_read_real("Items", "161", 161); +oControl.mod_163 = ini_read_real("Items", "163", 163); +oControl.mod_202 = ini_read_real("Items", "202", 202); +oControl.mod_203 = ini_read_real("Items", "203", 203); +oControl.mod_204 = ini_read_real("Items", "204", 204); +oControl.mod_205 = ini_read_real("Items", "205", 205); +oControl.mod_208 = ini_read_real("Items", "208", 208); +oControl.mod_210 = ini_read_real("Items", "210", 210); +oControl.mod_211 = ini_read_real("Items", "211", 211); +oControl.mod_214 = ini_read_real("Items", "214", 214); +oControl.mod_250 = ini_read_real("Items", "250", 250); +oControl.mod_252 = ini_read_real("Items", "252", 252); +oControl.mod_255 = ini_read_real("Items", "255", 255); +oControl.mod_257 = ini_read_real("Items", "257", 257); +oControl.mod_259 = ini_read_real("Items", "259", 259); +oControl.mod_303 = ini_read_real("Items", "303", 303); +oControl.mod_304 = ini_read_real("Items", "304", 304); +oControl.mod_307 = ini_read_real("Items", "307", 307); +oControl.mod_308 = ini_read_real("Items", "308", 308); +oControl.mod_309 = ini_read_real("Items", "309", 309); //Super Missiles -oControl.mod_51 = ini_read_real('Items', '51', 51); -oControl.mod_110 = ini_read_real('Items', '110', 110); -oControl.mod_162 = ini_read_real('Items', '162', 162); -oControl.mod_206 = ini_read_real('Items', '206', 206); //SPECIAL -oControl.mod_207 = ini_read_real('Items', '207', 207); -oControl.mod_209 = ini_read_real('Items', '209', 209); -oControl.mod_215 = ini_read_real('Items', '215', 215); -oControl.mod_256 = ini_read_real('Items', '256', 256); -oControl.mod_300 = ini_read_real('Items', '300', 300); -oControl.mod_305 = ini_read_real('Items', '305', 305); +oControl.mod_51 = ini_read_real("Items", "51", 51); +oControl.mod_110 = ini_read_real("Items", "110", 110); +oControl.mod_162 = ini_read_real("Items", "162", 162); +oControl.mod_206 = ini_read_real("Items", "206", 206); //SPECIAL +oControl.mod_207 = ini_read_real("Items", "207", 207); +oControl.mod_209 = ini_read_real("Items", "209", 209); +oControl.mod_215 = ini_read_real("Items", "215", 215); +oControl.mod_256 = ini_read_real("Items", "256", 256); +oControl.mod_300 = ini_read_real("Items", "300", 300); +oControl.mod_305 = ini_read_real("Items", "305", 305); //Energy Tanks -oControl.mod_50 = ini_read_real('Items', '50', 50); -oControl.mod_103 = ini_read_real('Items', '103', 103); -oControl.mod_108 = ini_read_real('Items', '108', 108); -oControl.mod_157 = ini_read_real('Items', '157', 157); -oControl.mod_158 = ini_read_real('Items', '158', 158); -oControl.mod_200 = ini_read_real('Items', '200', 200); -oControl.mod_201 = ini_read_real('Items', '201', 201); -oControl.mod_251 = ini_read_real('Items', '251', 251); -oControl.mod_254 = ini_read_real('Items', '254', 254); -oControl.mod_306 = ini_read_real('Items', '306', 306); +oControl.mod_50 = ini_read_real("Items", "50", 50); +oControl.mod_103 = ini_read_real("Items", "103", 103); +oControl.mod_108 = ini_read_real("Items", "108", 108); +oControl.mod_157 = ini_read_real("Items", "157", 157); +oControl.mod_158 = ini_read_real("Items", "158", 158); +oControl.mod_200 = ini_read_real("Items", "200", 200); +oControl.mod_201 = ini_read_real("Items", "201", 201); +oControl.mod_251 = ini_read_real("Items", "251", 251); +oControl.mod_254 = ini_read_real("Items", "254", 254); +oControl.mod_306 = ini_read_real("Items", "306", 306); //Power Bombs -oControl.mod_58 = ini_read_real('Items', '58', 58); -oControl.mod_59 = ini_read_real('Items', '59', 59); -oControl.mod_112 = ini_read_real('Items', '112', 112); -oControl.mod_160 = ini_read_real('Items', '160', 160); -oControl.mod_212 = ini_read_real('Items', '212', 212); -oControl.mod_213 = ini_read_real('Items', '213', 213); -oControl.mod_253 = ini_read_real('Items', '253', 253); //SPECIAL -oControl.mod_258 = ini_read_real('Items', '258', 258); -oControl.mod_301 = ini_read_real('Items', '301', 301); -oControl.mod_302 = ini_read_real('Items', '302', 302); +oControl.mod_58 = ini_read_real("Items", "58", 58); +oControl.mod_59 = ini_read_real("Items", "59", 59); +oControl.mod_112 = ini_read_real("Items", "112", 112); +oControl.mod_160 = ini_read_real("Items", "160", 160); +oControl.mod_212 = ini_read_real("Items", "212", 212); +oControl.mod_213 = ini_read_real("Items", "213", 213); +oControl.mod_253 = ini_read_real("Items", "253", 253); //SPECIAL +oControl.mod_258 = ini_read_real("Items", "258", 258); +oControl.mod_301 = ini_read_real("Items", "301", 301); +oControl.mod_302 = ini_read_real("Items", "302", 302); ini_close(); diff --git a/scripts/set_monster_vars.gml b/scripts/set_monster_vars.gml index 85410bf1..d703fde3 100644 --- a/scripts/set_monster_vars.gml +++ b/scripts/set_monster_vars.gml @@ -656,8 +656,8 @@ if (global.difficulty >= 2) { myaccely *= 1.2; } -//myhealth = hdM_change('AlphaGamma', 'Health', myhealth); -//damage = hdM_change('AlphaGamma', 'Damage', damage); +//myhealth = hdM_change("AlphaGamma", "Health", myhealth); +//damage = hdM_change("AlphaGamma", "Damage", damage); myhealth = myhealth * global.mod_alphagammaH; damage = damage * global.mod_alphagammaD;