sSaveStation 0 -1 -90 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 saveenabled = 1; image_speed = 0; if (oControl.mod_insanitymode == 1) sprite_index = sSaveBroken; 1 603 7 0 0 -1 2 self 0 0 1 if (image_alpha >= 1) { image_alpha += 0.01; alarm[0]=1; } 1 603 7 0 0 -1 2 self 0 0 1 // if (collision_line(x, y - 2, x + 32, y - 2, oCharacter, false, true)) { enabled = 1; } else enabled = 0; // if (collision_line(x + 8, y - 2, x + 24, y - 2, oCharacter, false, true)) { cansave = 1; } else cansave = 0; // if (enabled == 1 && image_index < sprite_get_number(sprite_index) - 1) image_index += 1; if (enabled == 0 && image_index > 0.2) image_index -= 0.2; // if (saveenabled == 1 && cansave == 1 && (oCharacter.state == 10 || oCharacter.state == 12) && (oCharacter.statetime >= 10 || oControl.kUp)) { if (oControl.mod_insanitymode == 1) { exit; } global.savexpos = x + 16; saveenabled = 0; with (oCharacter) { state = SAVING; savedisplay = 0; statetime = 0; canrun = 0; if (facing == RIGHT) sprite_index = sFrontR; if (facing == LEFT) sprite_index = sFrontL; } global.start_room = room; global.save_x = x + 16; global.save_y = y; } // if (oCharacter.state == 33 && (distance_to_point(oCharacter.x, oCharacter.y < 64))) saveenabled = 0; // added distance check for rare randomgame+ bug with suit transitions 1 603 7 0 0 -1 2 self 0 0 1 if (collision_line(x, y - 2, x + 32, y - 2, oCharacter, false, true)) { //image_alpha = 0; image_index = sprite_get_number(sprite_index) - 1; with (oControl) event_user(3); //alarm[0]=1; } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1