1 |
xs = 1 |
2 |
ys = 1 |
3 |
sizex = 1 |
4 |
sizey = 1 |
5 |
enlarge = 0 |
6 |
color = 16777215 |
7 |
image_index = 0 |
8 |
image_speed = 0 |
9 |
itemBox = false |
10 |
statBox = false |
11 |
p1 = true |
12 |
p2 = false |
13 |
roomname = "Dark Ruins - Hallway" |
14 |
color2 = 16777215 |
15 |
done = false |
16 |
ready = false |
17 |
scr_determine_save_areascr_determine_save_areafunction scr_determine_save_area() //gml_Script_scr_determine_save_area
{
var current_room = room_get_name(room)
switch current_room
{
case "rm_darkruins_03":
current_save_number = 1
global.saveroom = "Dark Ruins - Entrance"
break
case "rm_darkruins_08":
current_save_number = 2
global.saveroom = "Dark Ruins - Atrium"
break
case "rm_darkruins_10":
current_save_number = 3
global.saveroom = "Dark Ruins - Cliff"
break
case "rm_darkruins_12":
current_save_number = 4
global.saveroom = "Dark Ruins - Puzzle"
break
case "rm_darkruins_16":
current_save_number = 5
global.saveroom = "Dark Ruins - Hall"
break
case "rm_snowdin_03_yellow":
current_save_number = 1
global.saveroom = "Snowdin - Delta Rock"
break
case "rm_snowdin_08_yellow":
current_save_number = 2
global.saveroom = "Snowdin - Ruined Shack"
break
case "rm_snowdin_12_yellow":
current_save_number = 3
global.saveroom = "Snowdin - Pathway"
break
case "rm_snowdin_14_yellow":
current_save_number = 4
global.saveroom = "Snowdin - Resort"
break
case "rm_snowdin_20_yellow":
current_save_number = 5
global.saveroom = "Snowdin - Corridor"
break
case "rm_dunes_02":
current_save_number = 1
global.saveroom = "Dunes - Cave"
break
case "rm_dunes_08":
current_save_number = 2
global.saveroom = "Dunes - Tree"
break
case "rm_dunes_14":
current_save_number = 3
global.saveroom = "Mines - Elevator"
break
case "rm_dunes_20":
current_save_number = 4
global.saveroom = "Mines - Minecart"
break
case "rm_dunes_25":
current_save_number = 5
global.saveroom = "Dunes - Mountaintop"
break
case "rm_dunes_28":
current_save_number = 6
global.saveroom = "Dunes - Playground"
break
case "rm_dunes_34":
current_save_number = 7
global.saveroom = "Dunes - Well"
break
case "rm_dunes_37":
current_save_number = 8
global.saveroom = "Wild East - Town"
break
case "rm_dunes_39":
current_save_number = 9
global.saveroom = "Wild East - Outskirts"
break
case "rm_dunes_41":
current_save_number = 10
global.saveroom = "Wild East - Sunnyside"
break
case "rm_steamworks_05":
current_save_number = 11
global.saveroom = "Steamw. - Generator"
break
case "rm_steamworks_09":
current_save_number = 12
global.saveroom = "Steamw. - Raised Path"
break
case "rm_steamworks_15":
current_save_number = 13
global.saveroom = "Steamw. - Lake"
break
case "rm_steamworks_19":
current_save_number = 14
global.saveroom = "Steamw. - Offices"
break
... () |
18 |
var current_world_value = scr_determine_world_value_yellowscr_determine_world_value_yellowfunction scr_determine_world_value_yellow() //gml_Script_scr_determine_world_value_yellow
{
if (room != rm_battle && room != rm_shop && room != rm_mainmenu && room != rm_death_screen)
global.current_room_overworld = room_get_name(room)
var current_room_overworld = global.current_room_overworld
switch current_room_overworld
{
case "rm_ruins_01_yellow":
case "rm_ruins_02_yellow":
case "rm_ruins_03_yellow":
case "rm_ruins_04_yellow":
case "rm_ruins_05_yellow":
case "rm_ruins_06_yellow":
return 0;
case "rm_darkruins_01":
case "rm_darkruins_02":
case "rm_darkruins_03":
case "rm_darkruins_04":
case "rm_darkruins_05":
case "rm_darkruins_06":
case "rm_darkruins_07":
case "rm_darkruins_08":
case "rm_darkruins_08b":
case "rm_darkruins_09":
case "rm_darkruins_09b":
case "rm_darkruins_10":
case "rm_darkruins_11":
case "rm_darkruins_12":
case "rm_darkruins_13":
case "rm_darkruins_14":
case "rm_darkruins_14b":
case "rm_darkruins_15":
case "rm_darkruins_16":
case "rm_darkruins_16b":
case "rm_darkruins_16c":
case "rm_darkruins_17":
case "rm_darkruins_18":
case "rm_dalvhallway":
case "rm_dalvshouse":
case "rm_dalvsroom":
case "rm_dalvroomhall":
case "rm_dalvExit":
return 1;
case "rm_snowdin_01_yellow":
case "rm_snowdin_02_yellow":
case "rm_snowdin_03_yellow":
case "rm_snowdin_03b_yellow":
case "rm_snowdin_04_yellow":
case "rm_snowdin_05_yellow":
case "rm_snowdin_06_yellow":
case "rm_snowdin_07_yellow":
case "rm_snowdin_08_yellow":
case "rm_snowdin_08b_yellow":
case "rm_snowdin_09_yellow":
case "rm_snowdin_10_yellow":
case "rm_snowdin_11_yellow":
case "rm_snowdin_12_yellow":
case "rm_snowdin_13_yellow":
case "rm_snowdin_14_yellow":
case "rm_snowdin_14b_yellow":
case "rm_snowdin_14c_yellow":
case "rm_snowdin_14d_yellow":
case "rm_snowdin_14e_yellow":
case "rm_snowdin_15_yellow":
case "rm_snowdin_16_yellow":
case "rm_snowdin_16b_yellow":
case "rm_snowdin_17_yellow":
case "rm_snowdin_18_yellow":
case "rm_snowdin_19_yellow":
case "rm_snowdin_20_yellow":
case "rm_snowdin_21_yellow":
case "rm_snowdin_22_yellow":
return 2;
case "rm_dunes_01":
case "rm_dunes_02":
case "rm_dunes_03":
case "rm_dunes_04":
case "rm_dunes_05":
case "rm_dunes_06":
case "rm_dunes_07":
case "rm_dunes_08":
case "rm_dunes_08b":
case "rm_dunes_09":
case "rm_dunes_10":
case "rm_dunes_11":
case "rm_dunes_12":
case "rm_dunes_12b":
case "rm_dunes_13":
case "rm_dunes_14":
case "rm_dunes_15":
case "rm_dunes_16":
case "rm_dunes_17":
case "rm_dunes_18":
case "rm_dunes_19":
case "rm_dunes_19B":
case "rm_dunes_20":
case "rm_dunes_21":
case "rm_dunes_22":
case "rm_dunes_23":
case "rm_dunes_24":
case "rm_dunes_25":
... () |
19 |
switch current_world_value |
20 |
{ |
21 |
case 1: |
22 |
global.menu_sprite = 2628 |
23 |
break |
24 |
case 2: |
25 |
global.menu_sprite = 1245 |
26 |
break |
27 |
case 3: |
28 |
global.menu_sprite = 3298 |
29 |
break |
30 |
case 4: |
31 |
global.menu_sprite = 3691 |
32 |
break |
33 |
case 5: |
34 |
global.menu_sprite = 3091 |
35 |
break |
36 |
} |
37 |
|
38 |
if (room == rm_newhome_03) |
39 |
global.menu_sprite = 2772 |