1 |
global.damagefont = font_add_sprite_ext(spr_numbersfontbig, "0123456789+-%", 20, 0); |
2 |
global.damagefontgold = font_add_sprite_ext(spr_numbersfontbig_gold, "0123456789+-%", 20, 0); |
3 |
global.fighting = 0; |
4 |
global.char[0] = 1; |
5 |
global.char[1] = 2; |
6 |
global.char[2] = 0; |
7 |
global.gold = 0; |
8 |
global.xp = 0; |
9 |
global.inv = 0; |
10 |
global.invc = 1; |
11 |
for (i = 0; i < 3; i += 1) |
12 |
{ |
13 |
global.charauto[i] = 0; |
14 |
global.charmove[i] = 0; |
15 |
global.charcantarget[i] = 0; |
16 |
global.chardead[i] = 0; |
17 |
global.invincible[i] = 1; |
18 |
} |
19 |
global.charauto[0] = 0; |
20 |
global.charauto[1] = 0; |
21 |
global.charauto[2] = 0; |
22 |
global.charauto[3] = 0; |
23 |
for (i = 0; i < 4; i += 1) |
24 |
{ |
25 |
global.hp[i] = 200; |
26 |
global.maxhp[i] = 250; |
27 |
global.at[i] = 10; |
28 |
global.df[i] = 0; |
29 |
global.mag[i] = 0; |
30 |
for (j = 0; j < 12; j += 1) |
31 |
global.spell[i][j] = 0; |
32 |
} |
33 |
global.charname[0] = stringsetloc( " ", "obj_initializer_slash_Create_0_gml_47_0" ); |
34 |
global.charname[1] = stringsetloc(Kris"Kris", "obj_initializer_slash_Create_0_gml_48_0" ); |
35 |
global.charname[2] = stringsetloc(Susie"Susie", "obj_initializer_slash_Create_0_gml_49_0" ); |
36 |
global.charname[3] = stringsetloc(Ralsei"Ralsei", "obj_initializer_slash_Create_0_gml_50_0" ); |
37 |
global.hp[0] = 0; |
38 |
global.maxhp[0] = 0; |
39 |
global.hp[1] = 90; |
40 |
global.maxhp[1] = 90; |
41 |
global.at[1] = 10; |
42 |
global.hp[2] = 120; |
43 |
global.maxhp[2] = 120; |
44 |
global.at[2] = 14; |
45 |
global.mag[2] = 1; |
46 |
global.hp[3] = 70; |
47 |
global.maxhp[3] = 70; |
48 |
global.at[3] = 8; |
49 |
global.mag[3] = 12; |
50 |
global.spell[2][0] = 4; |
51 |
global.spell[3][0] = 2; |
52 |
scr_spellinfo_allscr_spellinfo_allfunction scr_spellinfo_all()
{
for (j = 0; j < 6; j += 1)
{
for (i = 0; i < 12; i += 1)
{
spellid = global.spell[j][i];
scr_spellinfo(spellid);
global.spellname[j][i] = spellname;
global.spellnameb[j][i] = spellnameb;
global.spelldescb[j][i] = spelldescb;
global.spelldesc[j][i] = spelldesc;
global.spellcost[j][i] = cost;
global.spellusable[j][i] = spellusable;
global.spelltarget[j][i] = spelltarget;
}
}
} (); |
53 |
global.item[0] = 1; |
54 |
global.item[1] = 1; |
55 |
global.item[2] = 1; |
56 |
global.item[3] = 1; |
57 |
global.item[4] = 1; |
58 |
global.item[5] = 1; |
59 |
global.item[6] = 1; |
60 |
global.item[7] = 1; |
61 |
global.item[8] = 1; |
62 |
global.item[9] = 1; |
63 |
global.item[10] = 1; |
64 |
global.item[11] = 1; |
65 |
global.item[12] = 0; |
66 |
scr_iteminfo_allscr_iteminfo_allfunction scr_iteminfo_all()
{
for (i = 0; i < 12; i += 1)
{
itemid = global.item[i];
scr_iteminfo(itemid);
global.itemnameb[i] = itemnameb;
global.itemdescb[i] = itemdescb;
global.itemvalue[i] = value;
global.itemusable[i] = usable;
}
} (); |
67 |
global.l_item[0] = 1; |
68 |
global.l_item[1] = 1; |
69 |
global.l_item[2] = 2; |
70 |
global.l_item[3] = 2; |
71 |
global.l_item[4] = 1; |
72 |
global.l_item[5] = 1; |
73 |
global.l_item[6] = 2; |
74 |
global.l_item[7] = 2; |
75 |
global.l_item[8] = 1; |
76 |
global.l_item[9] = 1; |
77 |
global.l_item[10] = 2; |
78 |
global.l_item[11] = 1; |
79 |
global.l_item[12] = 0; |
80 |
global.tension = 500; |
81 |
global.maxtension = 1000; |
82 |
global.grazetotal = 0; |
83 |
global.grazeturn = 0; |
84 |
for (i = 0; i < 3; i += 1) |
85 |
{ |
86 |
global.monster[i] = 1; |
87 |
global.monstername[i] = stringsetloc(Known Quantity"Known Quantity", "obj_initializer_slash_Create_0_gml_114_0" ); |
88 |
global.monstertype[i] = 1Enemy (placeholder/G-BODY); |
89 |
global.monsterat[i] = 3; |
90 |
global.monsterdf[i] = 2; |
91 |
global.monsterhp[i] = 20; |
92 |
global.monstermaxhp[i] = 20; |
93 |
} |
94 |
global.bmenuno = 0; |
95 |
for (i = 0; i < 20; i += 1) |
96 |
{ |
97 |
for (j = 0; j < 20; j += 1) |
98 |
global.bmenucoord[i][j] = 0; |
99 |
} |
100 |
global.myfight = 0; |
101 |
global.mnfight = 0; |
102 |
draw_set_color(c_white); |
103 |
global.fc = 2; |
104 |
global.fe = 0; |
105 |
global.typer = 3; |
106 |
global.msg = " "; |
107 |
global.msc = 0; |
108 |
global.darkzone = 1; |
109 |
for (i = 0; i < 10; i += 1) |
110 |
{ |
111 |
global.smdir[i] = 90; |
112 |
global.smspeed[i] = 2; |
113 |
global.smface[i] = 505050; |
114 |
global.smsprite[i] = spr_smallface_s0; |
115 |
global.smalarm[i] = 20; |
116 |
global.smtype[i] = 0; |
117 |
global.smxx[i] = 100; |
118 |
global.smyy[i] = 110; |
119 |
global.smcolor[i] = c_purple; |
120 |
global.smstring[i] = stringsetloc( " ", "obj_initializer_slash_Create_0_gml_158_0" ); |
121 |
} |
122 |
global.smalarm[1] = 15; |
123 |
global.smyy[1] = 70; |
124 |
global.smxx[1] = 700; |
125 |
global.smdir[1] = 180; |
126 |
global.smspeed[1] = 40; |
127 |
global.smtype[1] = 3; |
128 |
global.smsprite[1] = spr_smallface_a2; |
129 |
global.smcolor[1] = c_white; |
130 |
global.smstring[1] = stringsetloc( " ", "obj_initializer_slash_Create_0_gml_169_0" ); |
131 |
for (i = 0; i < 100; i += 1) |
132 |
global.msg[i] = stringsetloc(Close MessageClose Message"%%", "obj_initializer_slash_Create_0_gml_173_0" ); |