Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_circle_final_feather_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
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; }
("martlet", "void", "void")
4
can_fade_in = false
5
angle_position_current = 0
6
spawner_id = -4
7
global.id_store = id
8
state = 0
9
spin_radius_speed = 0
10
spin_radius_speed_multiplier = 20
11
sign_modifier_spin = 1
12
time_elapsed_spin = 0
13
time_max_spin = 30
14
time_increase_spin = 1
15
max_rise_spin = 30
16
no_loop_target = false
17
attack_speed = 28
18
in_box = false
19
x_list = ds_list_create()
20
y_list = ds_list_create()
21
angle_list = ds_list_create()
22
max_points_trail = 10
23
trail_cc_max = 3
24
trail_cc_start = trail_cc_max - 1
25
trail_cc_current = trail_cc_start
26
explosion_angle = 0
27
feather_targetted = true
28
feather_create_count = 7
29
bullet_hit_points = 2
30
bullet_hit_draw_timer = 0
31
bullet_destroy_self = false
32
id_target = -4