1 |
function cutscene_battle_initiate(arg0, arg1, arg2) |
2 |
{ |
3 |
global.battle_enemy_name = arg0; |
4 |
if (arg1 == true) |
5 |
{ |
6 |
global.battling_enemy = false; |
7 |
global.battling_boss = true; |
8 |
} |
9 |
else |
10 |
{ |
11 |
global.battling_enemy = true; |
12 |
global.battling_boss = false; |
13 |
} |
14 |
global.battle_start = true; |
15 |
global.sound_carry_overworld = arg2; |
16 |
if (room != rm_death_screen) |
17 |
global.current_room_overworld = room_get_name(room); |
18 |
instance_create(obj_pl.x, obj_pl.y, obj_heart_initiate_battle); |
19 |
cutscene_advance(); |
20 |
return true; |
21 |
} |