Your original code will still be programmed into the system, because scantronic panels are fitted with NVMs which hold the system programming even after complete power failure.
Power your system down mains first the battery.The cable your neighbour has disconnected should be reconnected then power your system up again battery first, your original code will then work the system.
Pete alarm engineer, June 2009