type = 0; timer = 0; init = 0; if (global.chapter == 3) { if (room == room_town_krisyard_dark) type = 1; if (room == room_town_shelter) type = 2; }