| 1234567891011121314151617181920212223242526272829 |
- depth = 10;
- if self_check_activated()
- {
- activated = true;
- exit;
- }
-
- event_inherited();
- dist_tor = 144;
- dist_y_tor = 144;
- indi_y_offset = -96;
- activated = false;
- callback = function()
- {
- if global.save_data.player.abilities.accesscard == false
- type(["It seems that you'll need an access card to open this door."],
- unlock_player);
- else
- {
- control.animation_spd = 0.25;
- indi_img_index = 0;
- activated = true;
- lock_player();
- autosave();
- }
- }
|