|
1
|
if (!i_ex(obj_battlecontroller))
|
|
2
|
instance_destroy();
|
|
3
|
if (!i_ex(obj_elnina_rematch_enemy) && !i_ex(obj_lanino_rematch_enemy))
|
|
4
|
{
|
|
5
|
endtimer++;
|
|
6
|
if (endtimer == 30)
|
|
7
|
scr_wincombatscr_wincombat
function scr_wincombat()
{
if (global.flag[60 dojo_next_encounter] == 0 || global.flag[36 dojo_failure] == 1)
{
global.myfight = 7;
global.mnfight = -1;
with (obj_battlecontroller)
victory = 1;
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
}
else
{
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
global.encounterno = global.flag[60 dojo_next_encounter];
scr_encountersetup(global.encounterno);
global.flag[60 dojo_next_encounter] = 0;
for (__j = 0; __j < 3; __j++)
{
if (global.monstertype[__j] != 0(None))
{
_newmonster = scr_monster_add(global.monstertype[__j], global.monsterinstancetype[__j]);
global.monsterinstance[_newmonster].x = camerax() + 800;
global.monsterinstance[_newmonster].y = global.monstermakey[__j];
with (global.monsterinstance[_newmonster])
scr_move_to_point_over_time(global.monstermakex[myself], global.monstermakey[myself], 10);
}
}
global.myfight = 5;
myfightreturntimer = 15;
global.mnfight = -1;
}
} ();
|
|
8
|
exit;
|
|
9
|
}
|
|
10
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("menu"))
|
|
11
|
{
|
|
12
|
if (!calculated_forecast)
|
|
13
|
{
|
|
14
|
forecast_turn = turns;
|
|
15
|
var _sprite = spr_weather_hale;
|
|
16
|
if (attack_prev == "rain")
|
|
17
|
attack_chosen = choose("snow", "sun", "moon");
|
|
18
|
if (attack_prev == "snow")
|
|
19
|
attack_chosen = choose("rain", "sun", "moon");
|
|
20
|
if (attack_prev == "sun")
|
|
21
|
attack_chosen = choose("rain", "snow", "moon");
|
|
22
|
if (attack_prev == "moon")
|
|
23
|
attack_chosen = choose("rain", "snow", "sun");
|
|
24
|
attack_prev = attack_chosen;
|
|
25
|
var _temp_min = 50;
|
|
26
|
var _temp_max = 60;
|
|
27
|
if (attack_chosen == "snow" || attack_chosen == "moon")
|
|
28
|
{
|
|
29
|
_temp_min = 10;
|
|
30
|
_temp_max = 30;
|
|
31
|
}
|
|
32
|
if (attack_chosen == "sun")
|
|
33
|
{
|
|
34
|
_temp_min = 90;
|
|
35
|
_temp_max = 130;
|
|
36
|
}
|
|
37
|
if (attack_chosen == "rain")
|
|
38
|
_sprite = spr_weather_rain;
|
|
39
|
if (attack_chosen == "snow")
|
|
40
|
_sprite = spr_weather_snow;
|
|
41
|
if (attack_chosen == "sun")
|
|
42
|
_sprite = spr_weather_sun;
|
|
43
|
if (attack_chosen == "moon")
|
|
44
|
_sprite = spr_weather_moon;
|
|
45
|
forecasts[0] = [irandom_range(_temp_min, _temp_max), _sprite, _sprite];
|
|
46
|
forecasts[1] = [irandom_range(_temp_min, _temp_max), _sprite, _sprite];
|
|
47
|
forecasts[2] = [irandom_range(_temp_min, _temp_max), _sprite, _sprite];
|
|
48
|
calculated_forecast = true;
|
|
49
|
debug_message("did forecast");
|
|
50
|
}
|
|
51
|
}
|
|
52
|
var lanino = obj_lanino_rematch_enemy;
|
|
53
|
var elnina = obj_elnina_rematch_enemy;
|
|
54
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talked == 0 && !i_ex(obj_rouxls_ch3_enemy))
|
|
55
|
{
|
|
56
|
if (phase < 3)
|
|
57
|
{
|
|
58
|
with (obj_lanino_rematch_enemy)
|
|
59
|
head = 1271;
|
|
60
|
with (obj_elnina_rematch_enemy)
|
|
61
|
head = 4845;
|
|
62
|
}
|
|
63
|
scr_randomtargetscr_randomtarget
function scr_randomtarget()
{
abletotarget = 1;
if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0)
abletotarget = 0;
mytarget = choose(0, 1, 2);
if (abletotarget == 1)
{
while (global.charcantarget[mytarget] == 0)
mytarget = choose(0, 1, 2);
}
else
{
mytarget = 3;
}
global.targeted[mytarget] = 1;
if (global.chapter >= 2 && mytarget != 3)
{
if (global.charcantarget[0])
global.targeted[0] = 1;
if (global.charcantarget[1])
global.targeted[1] = 1;
if (global.charcantarget[2])
global.targeted[2] = 1;
mytarget = 4;
}
} ();
|
|
64
|
if (!instance_exists(obj_darkener))
|
|
65
|
instance_create(0, 0, obj_darkener);
|
|
66
|
talked = 1;
|
|
67
|
attacked = 0;
|
|
68
|
ballooncon = 0;
|
|
69
|
balloonsubcon = 0;
|
|
70
|
balloonend = 1;
|
|
71
|
talkedcon = 0;
|
|
72
|
ralseitalks = 0;
|
|
73
|
susietalks = 0;
|
|
74
|
attackdone = 0;
|
|
75
|
spadepower = 0;
|
|
76
|
yarnendturn = 0;
|
|
77
|
elnina_attack = 0;
|
|
78
|
lanino_attack = 0;
|
|
79
|
calculated_forecast = false;
|
|
80
|
turns += 1;
|
|
81
|
global.typer = 50;
|
|
82
|
if (phase == 3)
|
|
83
|
{
|
|
84
|
msgsetloc(0, ..."...", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_96_0" );
|
|
85
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (lanino.x - 10, global.monstery[lanino.myself] - 10, 10);
|
|
86
|
msgsetloc(0, ..."...", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_99_0" );
|
|
87
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (elnina.x - 10, global.monstery[elnina.myself] - 10, 10);
|
|
88
|
with (obj_lanino_rematch_enemy)
|
|
89
|
pose = 1;
|
|
90
|
with (obj_elnina_rematch_enemy)
|
|
91
|
pose = 1;
|
|
92
|
ballooncon = 1;
|
|
93
|
balloonend = 0;
|
|
94
|
}
|
|
95
|
else
|
|
96
|
{
|
|
97
|
msgsetloc(0, Tonight's weather is..."Tonight's weather&is...", "obj_elnina_lanino_controller_slash_Step_0_gml_245_0" );
|
|
98
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (lanino.x - 10, global.monstery[lanino.myself] - 10, 10);
|
|
99
|
msgsetloc(0, Tonight's weather is..."Tonight's weather&is...", "obj_elnina_lanino_controller_slash_Step_0_gml_248_0" );
|
|
100
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (elnina.x - 10, global.monstery[elnina.myself] - 10, 10);
|
|
101
|
with (obj_lanino_rematch_enemy)
|
|
102
|
{
|
|
103
|
talking = true;
|
|
104
|
pose = 1;
|
|
105
|
}
|
|
106
|
with (obj_elnina_rematch_enemy)
|
|
107
|
{
|
|
108
|
talking = true;
|
|
109
|
pose = 1;
|
|
110
|
}
|
|
111
|
ballooncon = 1;
|
|
112
|
balloonend = 0;
|
|
113
|
}
|
|
114
|
if (ralseitalks == 1 && instance_exists(obj_heroralsei))
|
|
115
|
{
|
|
116
|
global.typer = 74;
|
|
117
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (obj_heroralsei.x + 75, obj_heroralsei.y + 15, 7);
|
|
118
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_heroralsei);
|
|
119
|
}
|
|
120
|
else if (susietalks == 1 && instance_exists(obj_herosusie))
|
|
121
|
{
|
|
122
|
global.typer = 75;
|
|
123
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (obj_herosusie.x + 75, obj_herosusie.y + 15, 7);
|
|
124
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_herosusie);
|
|
125
|
}
|
|
126
|
ralseitalks = 0;
|
|
127
|
susietalks = 0;
|
|
128
|
if (balloonend == 1)
|
|
129
|
{
|
|
130
|
talked = 0.7;
|
|
131
|
talktimer = 0;
|
|
132
|
alarm[6] = 1; gml_Object_obj_elnina_lanino_rematch_controller_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
talktimer = 0;
}
else
{
talked = 0.6;
talktimer = 0;
if (global.mnfight == 2)
{
talked = 0;
afterbulletcon = 0;
}
}
|
|
133
|
}
|
|
134
|
else
|
|
135
|
{
|
|
136
|
talked = 0.6;
|
|
137
|
talktimer = 0;
|
|
138
|
}
|
|
139
|
rtimer = 0;
|
|
140
|
}
|
|
141
|
if (talked == 0.5)
|
|
142
|
{
|
|
143
|
talktimer++;
|
|
144
|
if (((button3_p() && talktimer > 15) || button1_p()) && talktimer > 15)
|
|
145
|
{
|
|
146
|
with (obj_writer)
|
|
147
|
instance_destroy();
|
|
148
|
alarm[6] = 1; gml_Object_obj_elnina_lanino_rematch_controller_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
talktimer = 0;
}
else
{
talked = 0.6;
talktimer = 0;
if (global.mnfight == 2)
{
talked = 0;
afterbulletcon = 0;
}
}
|
|
149
|
}
|
|
150
|
}
|
|
151
|
if (talked == 0.6)
|
|
152
|
{
|
|
153
|
talktimer++;
|
|
154
|
if (((button3_p() && talktimer > 15) || button1_p()) && talktimer > 15)
|
|
155
|
{
|
|
156
|
with (obj_writer)
|
|
157
|
instance_destroy();
|
|
158
|
with (obj_lanino_rematch_enemy)
|
|
159
|
talking = false;
|
|
160
|
with (obj_elnina_rematch_enemy)
|
|
161
|
talking = false;
|
|
162
|
if (phase == 3 && ballooncon == 1)
|
|
163
|
{
|
|
164
|
msgsetloc(0, ..."...", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_166_0" );
|
|
165
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (lanino.x - 40, global.monstery[lanino.myself] - 10, 10);
|
|
166
|
msgsetloc(0, ..."...", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_169_0" );
|
|
167
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (elnina.x - 40, global.monstery[elnina.myself] - 10, 10);
|
|
168
|
with (obj_lanino_rematch_enemy)
|
|
169
|
{
|
|
170
|
talking = true;
|
|
171
|
pose = 2;
|
|
172
|
}
|
|
173
|
with (obj_elnina_rematch_enemy)
|
|
174
|
{
|
|
175
|
talking = true;
|
|
176
|
pose = 2;
|
|
177
|
}
|
|
178
|
snd_play(snd_impact);
|
|
179
|
ballooncon = 1.1;
|
|
180
|
}
|
|
181
|
else if (ballooncon == 1)
|
|
182
|
{
|
|
183
|
if (attack_chosen == "rain")
|
|
184
|
{
|
|
185
|
msgsetloc(0, Drop."Drop.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_182_0" );
|
|
186
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (lanino.x - 40, global.monstery[lanino.myself] - 10, 10);
|
|
187
|
msgsetloc(0, Moisturous drop."Moisturous drop.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_185_0" );
|
|
188
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (elnina.x - 40, global.monstery[elnina.myself] - 10, 10);
|
|
189
|
}
|
|
190
|
if (attack_chosen == "snow")
|
|
191
|
{
|
|
192
|
msgsetloc(0, Crystal."Crystal.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_190_0" );
|
|
193
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (lanino.x - 40, global.monstery[lanino.myself] - 10, 10);
|
|
194
|
msgsetloc(0, Shinerous crystal."Shinerous crystal.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_193_0" );
|
|
195
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (elnina.x - 40, global.monstery[elnina.myself] - 10, 10);
|
|
196
|
}
|
|
197
|
if (attack_chosen == "moon")
|
|
198
|
{
|
|
199
|
msgsetloc(0, Moon."Moon.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_198_0" );
|
|
200
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (lanino.x - 40, global.monstery[lanino.myself] - 10, 10);
|
|
201
|
msgsetloc(0, Glorious moon."Glorious moon.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_201_0" );
|
|
202
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (elnina.x - 40, global.monstery[elnina.myself] - 10, 10);
|
|
203
|
}
|
|
204
|
if (attack_chosen == "sun")
|
|
205
|
{
|
|
206
|
msgsetloc(0, Sun."Sun.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_206_0" );
|
|
207
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (lanino.x - 40, global.monstery[lanino.myself] - 10, 10);
|
|
208
|
msgsetloc(0, Brilliant sun."Brilliant sun.", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_209_0" );
|
|
209
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (elnina.x - 40, global.monstery[elnina.myself] - 10, 10);
|
|
210
|
}
|
|
211
|
with (obj_lanino_rematch_enemy)
|
|
212
|
{
|
|
213
|
talking = true;
|
|
214
|
pose = 2;
|
|
215
|
}
|
|
216
|
with (obj_elnina_rematch_enemy)
|
|
217
|
{
|
|
218
|
talking = true;
|
|
219
|
pose = 2;
|
|
220
|
}
|
|
221
|
snd_play(snd_impact);
|
|
222
|
ballooncon = 1.1;
|
|
223
|
}
|
|
224
|
else if (ballooncon == 1.1)
|
|
225
|
{
|
|
226
|
ballooncon = 0;
|
|
227
|
balloonend = 1;
|
|
228
|
}
|
|
229
|
talked = 0.7;
|
|
230
|
global.typer = 50;
|
|
231
|
if (ralseitalks == 1 && instance_exists(obj_heroralsei))
|
|
232
|
{
|
|
233
|
global.typer = 74;
|
|
234
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("ralsei");
|
|
235
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_heroralsei);
|
|
236
|
}
|
|
237
|
else if (susietalks == 1 && instance_exists(obj_herosusie))
|
|
238
|
{
|
|
239
|
global.typer = 75;
|
|
240
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
241
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_herosusie);
|
|
242
|
}
|
|
243
|
ralseitalks = 0;
|
|
244
|
susietalks = 0;
|
|
245
|
alarm[6] = 1; gml_Object_obj_elnina_lanino_rematch_controller_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
talktimer = 0;
}
else
{
talked = 0.6;
talktimer = 0;
if (global.mnfight == 2)
{
talked = 0;
afterbulletcon = 0;
}
}
|
|
246
|
}
|
|
247
|
}
|
|
248
|
if (talked == 1 && scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && !i_ex(obj_writer))
|
|
249
|
global.mnfight = 1.5;
|
|
250
|
if (global.mnfight == 1 && !i_ex(obj_writer))
|
|
251
|
{
|
|
252
|
if (!instance_exists(obj_growtangle))
|
|
253
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 180, obj_growtangle);
|
|
254
|
if (!instance_exists(obj_moveheart))
|
|
255
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
256
|
global.mnfight = 2;
|
|
257
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
258
|
ballooncon = -1;
|
|
259
|
with (obj_lanino_rematch_enemy)
|
|
260
|
{
|
|
261
|
talking = false;
|
|
262
|
pose = 0;
|
|
263
|
laughtimer = 0;
|
|
264
|
}
|
|
265
|
with (obj_elnina_rematch_enemy)
|
|
266
|
{
|
|
267
|
talking = false;
|
|
268
|
pose = 0;
|
|
269
|
laughtimer = 0;
|
|
270
|
}
|
|
271
|
}
|
|
272
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("bullets") && attacked == 0)
|
|
273
|
{
|
|
274
|
rtimer += 1;
|
|
275
|
if (rtimer == 12)
|
|
276
|
{
|
|
277
|
var _a = 993;
|
|
278
|
if (!i_ex(obj_lanino_rematch_enemy))
|
|
279
|
_a = 1591;
|
|
280
|
if (global.mercymod[obj_lanino_rematch_enemy.myself] == 90 && i_ex(obj_elnina_umbrella))
|
|
281
|
{
|
|
282
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
283
|
with (_a)
|
|
284
|
{
|
|
285
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
286
|
dc.type = 141;
|
|
287
|
dc.special = 0;
|
|
288
|
dc.difficulty = 0;
|
|
289
|
}
|
|
290
|
}
|
|
291
|
else if (global.mercymod[obj_elnina_rematch_enemy.myself] == 95 && i_ex(obj_elnina_umbrella))
|
|
292
|
{
|
|
293
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
294
|
with (_a)
|
|
295
|
{
|
|
296
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
297
|
dc.type = 141;
|
|
298
|
dc.special = 0;
|
|
299
|
dc.difficulty = 3;
|
|
300
|
}
|
|
301
|
}
|
|
302
|
else if (global.mercymod[obj_elnina_rematch_enemy.myself] == 100)
|
|
303
|
{
|
|
304
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (60);
|
|
305
|
}
|
|
306
|
else
|
|
307
|
{
|
|
308
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
309
|
with (_a)
|
|
310
|
{
|
|
311
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
312
|
dc.type = 130;
|
|
313
|
dc.special = 0;
|
|
314
|
dc.difficulty = 3;
|
|
315
|
if (other.attack_chosen == "rain")
|
|
316
|
dc.difficulty = 1;
|
|
317
|
if (other.attack_chosen == "snow")
|
|
318
|
dc.difficulty = 2;
|
|
319
|
if (other.attack_chosen == "moon")
|
|
320
|
dc.difficulty = 3;
|
|
321
|
if (other.attack_chosen == "sun")
|
|
322
|
dc.difficulty = 4;
|
|
323
|
}
|
|
324
|
}
|
|
325
|
global.typer = 6;
|
|
326
|
global.fc = 0;
|
|
327
|
global.battlemsg[0] = stringsetloc(* lol"* lol", "obj_elnina_lanino_rematch_controller_slash_Step_0_gml_319_0" );
|
|
328
|
attacked = 1;
|
|
329
|
talked = 0;
|
|
330
|
balloonend = 0;
|
|
331
|
ballooncon = -1;
|
|
332
|
}
|
|
333
|
}
|
|
334
|
if (global.mnfight == 2 && global.turntimer <= 1)
|
|
335
|
{
|
|
336
|
with (obj_bullet_blocker)
|
|
337
|
instance_destroy();
|
|
338
|
if (global.mercymod[obj_lanino_rematch_enemy.myself] == 100)
|
|
339
|
{
|
|
340
|
obj_elnina_rematch_enemy.head = 4435;
|
|
341
|
obj_lanino_rematch_enemy.head = 3264;
|
|
342
|
}
|
|
343
|
}
|
|
344
|
|
|
345
|
enum e__VW
|
|
346
|
{
|
|
347
|
XView,
|
|
348
|
YView,
|
|
349
|
WView,
|
|
350
|
HView,
|
|
351
|
Angle,
|
|
352
|
HBorder,
|
|
353
|
VBorder,
|
|
354
|
HSpeed,
|
|
355
|
VSpeed,
|
|
356
|
Object,
|
|
357
|
Visible,
|
|
358
|
XPort,
|
|
359
|
YPort,
|
|
360
|
WPort,
|
|
361
|
HPort,
|
|
362
|
Camera,
|
|
363
|
SurfaceID
|
|
364
|
}
|