Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_insomnitot_sheep_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; }
("insomnitot a", "insomnitot b", "insomnitot c")
2
starting_point_x = x
3
starting_point_y = y
4
draw_position_x = starting_point_x
5
draw_position_y = starting_point_y
6
move_speed = 1
7
distance_limit = 15
8
state = "run"
9
image_speed_default = 0.13333333333333333
10
image_speed = image_speed_default
11
image_index = 0
12
run_sprite = 2255
13
jump_sprite = 2257
14
no_loop_sprite_assign = false
15
sign_modifier = -1
16
time_elapsed = 0
17
time_max = 30
18
time_increase = 1
19
max_rise = 34