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