I have a script:
Code:
// bandersnatch.txt - Controls the invisibility of a bandersnatch creature.// Memory Cells - // 0 - Creature typebeginterrainscript; variables; short i = 6;body;beginstate INIT_STATE; set_script_mode(3);break;beginstate START_STATE; i = 6; while (i <= 199) { print_str_color("Looping",2); if ( creature_type(i) = get_memory_cell(0) ) { print_str_color("Found BS",2); if (get_health(i) < get_max_health(i)) { print_str_color("Changing",2); set_special_ability(i, 0); print_str_color("Changed",2); } } i = i + 1; }break;
The second line print_str_color("Found BS",2); is giving me the following message: "Unmatched left parenthesis in line 22."
I've tried to figure it, but I'm stuck.