1 |
if live_call() |
2 |
return global.live_result; |
3 |
depth = -701 |
4 |
walk_speed = global.speed_self * 1.3 + 1 * sign(global.current_sp_self) |
5 |
image_speed = 0 |
6 |
image_index = 0 |
7 |
vulnerable = true |
8 |
moveable = false |
9 |
hsp_current = 0 |
10 |
vsp_current = 0 |
11 |
hsp_factor = 0 |
12 |
vsp_factor = 0 |
13 |
x_previous = x |
14 |
y_previous = y |
15 |
last_move_x = 0 |
16 |
last_move_y = 0 |
17 |
move_x_count = 0 |
18 |
move_y_count = 0 |
19 |
idle_x_count = 0 |
20 |
idle_y_count = 0 |
21 |
max_move_counter = 100 |
22 |
last_hsp = 0 |
23 |
last_vsp = 0 |
24 |
move_hsp_count = 0 |
25 |
move_vsp_count = 0 |
26 |
idle_hsp_count = 0 |
27 |
idle_vsp_count = 0 |
28 |
max_speed_counter = 100 |
29 |
speed_sound_noloop = false |
30 |
var player_character = global.player_character |
31 |
switch player_character |
32 |
{ |
33 |
case "CLOVER": |
34 |
sprite_index = spr_heart_yellow_down |
35 |
break |
36 |
} |
37 |
|
38 |
instance_create(x, y, obj_heart_red_hitbox) |
39 |
if (global.current_pp_self > 0) |
40 |
instance_create(x, y, obj_heart_battle_effect_glow) |
41 |
event_user(0) |
42 |
x_list = ds_list_create() |
43 |
y_list = ds_list_create() |
44 |
max_points_trail = 5 |
45 |
trail_cc_max = 3 |
46 |
trail_cc_start = trail_cc_max - 1 |
47 |
trail_cc_current = trail_cc_start |
48 |
trail_sprite = 1677 |