Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_bowll_bull_bull_Create_0

(view raw script w/o annotations or w/e)
1
damage_number = scr_determine_damage_number_enemy
scr_determine_damage_number_enemy

function scr_determine_damage_number_enemy(argument0, argument1, argument2) //gml_Script_scr_determine_damage_number_enemy { var enemy_count = global.enemy_count if (global.battle_enemy_name_1 == argument0) return 1; else if (enemy_count >= 2 && global.battle_enemy_name_2 == argument1) return 2; else if (enemy_count >= 3 && global.battle_enemy_name_3 == argument2) return 3; else return 0; }
("bowll a", "bowll b", "bowll c")
2
id_cape = global.id_store
3
default_imspd = 0.4
4
fade_speed = 0.1
5
x_dir = (-id_cape.x_dir)
6
y_dir = (-id_cape.y_dir)
7
charge_speed = 6
8
charge_alarm = 20
9
chalm_mult = instance_number(obj_battle_enemy_attack_bowll_bull_bull)
10
chalm_sub = charge_alarm - 10
11
warning_alarm = 1
12
dust_alarm = 5
13
dust_disjoint = 30
14
cape_distance = 11 * charge_speed
15
can_charge = false
16
in_box = false
17
image_speed = 0
18
image_index = 0
19
image_alpha = 0
20
image_angle = id_cape.image_angle
21
global.id_store = id