1 |
function 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":
... () //gml_Script_scr_determine_world_value_yellow |
2 |
{ |
3 |
if (room != rm_battle && room != rm_shop && room != rm_mainmenu && room != rm_death_screen) |
4 |
global.current_room_overworld = room_get_name(room) |
5 |
var current_room_overworld = global.current_room_overworld |
6 |
switch current_room_overworld |
7 |
{ |
8 |
case "rm_ruins_01_yellow": |
9 |
case "rm_ruins_02_yellow": |
10 |
case "rm_ruins_03_yellow": |
11 |
case "rm_ruins_04_yellow": |
12 |
case "rm_ruins_05_yellow": |
13 |
case "rm_ruins_06_yellow": |
14 |
return 0; |
15 |
case "rm_darkruins_01": |
16 |
case "rm_darkruins_02": |
17 |
case "rm_darkruins_03": |
18 |
case "rm_darkruins_04": |
19 |
case "rm_darkruins_05": |
20 |
case "rm_darkruins_06": |
21 |
case "rm_darkruins_07": |
22 |
case "rm_darkruins_08": |
23 |
case "rm_darkruins_08b": |
24 |
case "rm_darkruins_09": |
25 |
case "rm_darkruins_09b": |
26 |
case "rm_darkruins_10": |
27 |
case "rm_darkruins_11": |
28 |
case "rm_darkruins_12": |
29 |
case "rm_darkruins_13": |
30 |
case "rm_darkruins_14": |
31 |
case "rm_darkruins_14b": |
32 |
case "rm_darkruins_15": |
33 |
case "rm_darkruins_16": |
34 |
case "rm_darkruins_16b": |
35 |
case "rm_darkruins_16c": |
36 |
case "rm_darkruins_17": |
37 |
case "rm_darkruins_18": |
38 |
case "rm_dalvhallway": |
39 |
case "rm_dalvshouse": |
40 |
case "rm_dalvsroom": |
41 |
case "rm_dalvroomhall": |
42 |
case "rm_dalvExit": |
43 |
return 1; |
44 |
case "rm_snowdin_01_yellow": |
45 |
case "rm_snowdin_02_yellow": |
46 |
case "rm_snowdin_03_yellow": |
47 |
case "rm_snowdin_03b_yellow": |
48 |
case "rm_snowdin_04_yellow": |
49 |
case "rm_snowdin_05_yellow": |
50 |
case "rm_snowdin_06_yellow": |
51 |
case "rm_snowdin_07_yellow": |
52 |
case "rm_snowdin_08_yellow": |
53 |
case "rm_snowdin_08b_yellow": |
54 |
case "rm_snowdin_09_yellow": |
55 |
case "rm_snowdin_10_yellow": |
56 |
case "rm_snowdin_11_yellow": |
57 |
case "rm_snowdin_12_yellow": |
58 |
case "rm_snowdin_13_yellow": |
59 |
case "rm_snowdin_14_yellow": |
60 |
case "rm_snowdin_14b_yellow": |
61 |
case "rm_snowdin_14c_yellow": |
62 |
case "rm_snowdin_14d_yellow": |
63 |
case "rm_snowdin_14e_yellow": |
64 |
case "rm_snowdin_15_yellow": |
65 |
case "rm_snowdin_16_yellow": |
66 |
case "rm_snowdin_16b_yellow": |
67 |
case "rm_snowdin_17_yellow": |
68 |
case "rm_snowdin_18_yellow": |
69 |
case "rm_snowdin_19_yellow": |
70 |
case "rm_snowdin_20_yellow": |
71 |
case "rm_snowdin_21_yellow": |
72 |
case "rm_snowdin_22_yellow": |
73 |
return 2; |
74 |
case "rm_dunes_01": |
75 |
case "rm_dunes_02": |
76 |
case "rm_dunes_03": |
77 |
case "rm_dunes_04": |
78 |
case "rm_dunes_05": |
79 |
case "rm_dunes_06": |
80 |
case "rm_dunes_07": |
81 |
case "rm_dunes_08": |
82 |
case "rm_dunes_08b": |
83 |
case "rm_dunes_09": |
84 |
case "rm_dunes_10": |
85 |
case "rm_dunes_11": |
86 |
case "rm_dunes_12": |
87 |
case "rm_dunes_12b": |
88 |
case "rm_dunes_13": |
89 |
case "rm_dunes_14": |
90 |
case "rm_dunes_15": |
91 |
case "rm_dunes_16": |
92 |
case "rm_dunes_17": |
93 |
case "rm_dunes_18": |
94 |
case "rm_dunes_19": |
95 |
case "rm_dunes_19B": |
96 |
case "rm_dunes_20": |
97 |
case "rm_dunes_21": |
98 |
case "rm_dunes_22": |
99 |
case "rm_dunes_23": |
100 |
case "rm_dunes_24": |
101 |
case "rm_dunes_25": |
102 |
case "rm_dunes_25b": |
103 |
case "rm_dunes_26": |
104 |
case "rm_dunes_28": |
105 |
case "rm_dunes_28b": |
106 |
case "rm_dunes_28c": |
107 |
case "rm_dunes_29": |
108 |
case "rm_dunes_29b": |
109 |
case "rm_dunes_30": |
110 |
case "rm_dunes_30_house_1": |
111 |
case "rm_dunes_30_house_2": |
112 |
case "rm_dunes_30_house_3": |
113 |
case "rm_dunes_30b": |
114 |
case "rm_dunes_31": |
115 |
case "rm_dunes_32": |
116 |
case "rm_dunes_33": |
117 |
case "rm_dunes_34": |
118 |
case "rm_dunes_35": |
119 |
case "rm_dunes_35b": |
120 |
case "rm_dunes_36": |
121 |
case "rm_dunes_37_barn": |
122 |
case "rm_dunes_37_feistyhouse": |
123 |
case "rm_dunes_37_hospital": |
124 |
case "rm_dunes_37_jail": |
125 |
case "rm_dunes_37_saloon": |
126 |
case "rm_dunes_37": |
127 |
case "rm_dunes_38": |
128 |
case "rm_dunes_39": |
129 |
case "rm_dunes_40": |
130 |
case "rm_dunes_41": |
131 |
case "rm_dunes_42": |
132 |
case "rm_dunes_42_b": |
133 |
case "rm_dunes_42_c": |
134 |
case "rm_dunes_42_d": |
135 |
case "rm_dunes_43": |
136 |
case "rm_mansion_entrance": |
137 |
return 3; |
138 |
case "rm_steamworks_05": |
139 |
case "rm_steamworks_09": |
140 |
case "rm_steamworks_15": |
141 |
case "rm_steamworks_16": |
142 |
case "rm_steamworks_19": |
143 |
case "rm_steamworks_22": |
144 |
case "rm_steamworks_23": |
145 |
case "rm_steamworks_25": |
146 |
case "rm_steamworks_26": |
147 |
case "rm_steamworks_29": |
148 |
case "rm_steamworks_30": |
149 |
case "rm_steamworks_30_b": |
150 |
case "rm_steamworks_31": |
151 |
case "rm_steamworks_32": |
152 |
case "rm_steamworks_chem_02": |
153 |
case "rm_steamworks_chem_03": |
154 |
case "rm_steamworks_chem_04": |
155 |
case "rm_steamworks_chem_05": |
156 |
case "rm_steamworks_chem_06": |
157 |
case "rm_steamworks_chem_07": |
158 |
case "rm_steamworks_factory_01": |
159 |
case "rm_steamworks_factory_04": |
160 |
case "rm_steamworks_34": |
161 |
case "rm_steamworks_35": |
162 |
case "rm_steamworks_36": |
163 |
case "rm_steamworks_macro_froggit_room": |
164 |
return 4; |
165 |
case "rm_hotland_complex_1": |
166 |
return 5; |
167 |
default: |
168 |
show_debug_message("WARNING NO KILL WORLD/ARENA PRESENT") |
169 |
global.kill_area_current = 0 |
170 |
return 0; |
171 |
} |
172 |
|
173 |
} |