Changed some malformed code in program hooked in inst_rom_3