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
mylerpfall = -4;
13
if (room == room_dw_city_postbaseball_3)
14
{
15
    sprite_index = spr_bg_city_balloon_carrier;
16
    mode = 2;
17
}
18
paused = 0;
19
rem_hspeed = hspeed;
20
rem_friction = friction;
21
rem_gravity = gravity;