Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_cybercity_balloon_Create_0

(view raw script w/o annotations or w/e)
1
scr_darksize
scr_darksize

function scr_darksize(arg0) { inst = arg0; inst.image_xscale = 2; inst.image_yscale = 2; }
(id);
2
siner = 0;
3
flip_timer = floor(random(30));
4
mode = 0;
5
remcameray = cameray();
6
blend = 1;
7
scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
8
breakable = 0;
9
attached = 0;
10
attachedobj = obj_city_cyberballoon_mouse;
11
balloonid = -1;
12
if (room == room_dw_city_postbaseball_3)
13
{
14
    sprite_index = spr_bg_city_balloon_carrier;
15
    mode = 2;
16
}
17
paused = 0;
18
rem_hspeed = hspeed;
19
rem_friction = friction;
20
rem_gravity = gravity;