1 |
var battle_box = obj_dialogue_box_battle_transformation_any |
2 |
var point_x = battle_box.x + (lengthdir_x(85, coin_bag_offset)) |
3 |
var point_y = battle_box.y + (lengthdir_y(85, coin_bag_offset)) |
4 |
var coin_bag = instance_create_depth(point_x, point_y, -1000000, obj_attack_mooch_coin_bag) |
5 |
for (var i = 0; i < array_length(coin); i++) |
6 |
coin_bag.coin[i] = coin[i] |
7 |
alarm[2] = coin_offset_time * 2 + 20alarm[2]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))
var new_coin = instance_create_depth(point_x, point_y, -999999, obj_attack_mooch_coin_bag_coin)
coin_dir_offset += coin_dir_inc
obj_attack_mooch_coin_bag.coin[coin_current] = new_coin
coin_current += 1
if (coin_current > coin_number_max)
return;
alarm[2] = coin_offset_time * 2 |