|
1
|
damage_number = scr_determine_damage_number_enemyscr_determine_damage_number_enemy
function scr_determine_damage_number_enemy(arg0, arg1, arg2)
{
var enemy_count = global.enemy_count;
if (global.battle_enemy_name_1 == arg0)
return 1;
else if (enemy_count >= 2 && global.battle_enemy_name_2 == arg1)
return 2;
else if (enemy_count >= 3 && global.battle_enemy_name_3 == arg2)
return 3;
else
return 0;
} ("sweet corn a", "sweet corn b", "sweet corn c");
|
|
2
|
image_speed = 0;
|
|
3
|
image_index = 0;
|
|
4
|
image_alpha = 0;
|
|
5
|
if (x > obj_dialogue_box_battle_transformation_any.bbox_right)
|
|
6
|
image_xscale = -1;
|
|
7
|
x_speed = 6;
|
|
8
|
if (x > obj_dialogue_box_battle_transformation_any.bbox_right)
|
|
9
|
x_speed = -x_speed;
|
|
10
|
starting_position_x = x;
|
|
11
|
starting_position_y = y;
|
|
12
|
animation_disjoint_x = 0;
|
|
13
|
animation_disjoint_y = 0;
|
|
14
|
reverse = true;
|
|
15
|
can_move = false;
|
|
16
|
can_vanish = false;
|
|
17
|
var app_sound = audio_play_sound(snd_undertale_appear, 1, 0);
|
|
18
|
audio_sound_gain(app_sound, 0.5, 0);
|