Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_wind_gust_wind_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
global.ps = part_system_create()
4
part_system_depth(global.ps, -1)
5
global.pt_Effect1 = part_type_create()
6
part_type_shape(global.pt_Effect1, 0)
7
part_type_size(global.pt_Effect1, 1, 1, 0, 0)
8
part_type_scale(global.pt_Effect1, 2, 18)
9
part_type_orientation(global.pt_Effect1, 0, 0, 0, 0, 0)
10
part_type_color3(global.pt_Effect1, 9868950, 9868950, 9868950)
11
part_type_alpha3(global.pt_Effect1, 0, 0.3, 0)
12
part_type_blend(global.pt_Effect1, 0)
13
part_type_life(global.pt_Effect1, 20, 20)
14
part_type_speed(global.pt_Effect1, 8, 8, 0, 0)
15
part_type_direction(global.pt_Effect1, 270, 270, 0, 0)
16
part_type_gravity(global.pt_Effect1, 0, 0)
17
global.pe_Effect1 = part_emitter_create(global.ps)
18
var xp = x
19
var yp = y
20
part_emitter_region(global.ps, global.pe_Effect1, (xp - 80), (xp + 80), (yp - 30), (yp + 30), 0, 0)