Fixed Pipe Transitions

main
DodoBirb 4 years ago
parent dbcad6bbe8
commit dda919cefb

@ -7,5 +7,3 @@ targetroom = 22
targetx = 1104 targetx = 1104
targety = 448 targety = 448
alarm[0] = 1 alarm[0] = 1
if (!(is_undefined(ds_map_find_value(global.roommap, id))))
AR_Pipe_Code()

@ -4,6 +4,8 @@ if (state == 1)
{ {
if (statetime == 0) if (statetime == 0)
{ {
if (!(is_undefined(ds_map_find_value(global.roommap, id))))
AR_Pipe_Code()
image_index = 8 image_index = 8
door_open = 1 door_open = 1
oCharacter.canbehit = 0 oCharacter.canbehit = 0
@ -59,6 +61,8 @@ if (state == 2)
{ {
if (statetime == 0) if (statetime == 0)
{ {
if (!(is_undefined(ds_map_find_value(global.roommap, id))))
AR_Pipe_Code()
depth = -90 depth = -90
image_index = 0 image_index = 0
fx = instance_create((oCharacter.x + lengthdir_x(160, direction)), (oCharacter.y + lengthdir_y(160, direction)), oWarpPlayerFX) fx = instance_create((oCharacter.x + lengthdir_x(160, direction)), (oCharacter.y + lengthdir_y(160, direction)), oWarpPlayerFX)

Loading…
Cancel
Save