1 |
var battle_box = obj_dialogue_box_battle_transformation_any |
2 |
var point_x = battle_box.x + (lengthdir_x(75, coin_dir_offset)) |
3 |
var point_y = battle_box.y + (lengthdir_y(75, coin_dir_offset)) |
4 |
coin[coin_current] = instance_create_depth(point_x, point_y, -999999, obj_attack_mooch_coin_bag_coin) |
5 |
coin_dir_offset += coin_dir_inc |
6 |
coin_current += 1 |
7 |
coin_number -= 1 |
8 |
if (coin_number == 0) |
9 |
{ |
10 |
alarm[1] = 15alarm[1]var battle_box = obj_dialogue_box_battle_transformation_any
var point_x = battle_box.x + (lengthdir_x(85, coin_bag_offset))
var point_y = battle_box.y + (lengthdir_y(85, coin_bag_offset))
var coin_bag = instance_create_depth(point_x, point_y, -1000000, obj_attack_mooch_coin_bag)
for (var i = 0; i < array_length(coin); i++)
coin_bag.coin[i] = coin[i]
alarm[2] = coin_offset_time * 2 + 20 |
11 |
return; |
12 |
} |
13 |
else |
14 |
alarm[0] = coin_offset_timealarm[0]var battle_box = obj_dialogue_box_battle_transformation_any
var point_x = battle_box.x + (lengthdir_x(75, coin_dir_offset))
var point_y = battle_box.y + (lengthdir_y(75, coin_dir_offset))
coin[coin_current] = instance_create_depth(point_x, point_y, -999999, obj_attack_mooch_coin_bag_coin)
coin_dir_offset += coin_dir_inc
coin_current += 1
coin_number -= 1
if (coin_number == 0)
{
alarm[1] = 15
return;
}
else
alarm[0] = coin_offset_time |