// SDF Blocked v1.1.0
// sdfblock.txt
// by Kelandon (tomwatts@berkeley.edu)
// Memory Cells - 
//	0,1 - Coordinates of an SDF. If this flag is set, the party cannot enter
//		this space.

beginterrainscript; 

variables;

body;

beginstate INIT_STATE; // state 0 
break;

beginstate START_STATE; // state 2 
break;

beginstate SEARCH_STATE; // state 100 
break;
	
beginstate BLOCK_MOVE_STATE; // state 112
break;
	
beginstate STEP_INTO_SPOT_STATE; // state 114
	block_entry(get_flag(get_memory_cell(0),get_memory_cell(1)));
break;

beginstate UNLOCK_SPELL_STATE; // state 101 
break; 

beginstate SANCTIFICATION_STATE; // state 102 
break;

beginstate DISPEL_BARRIER_STATE; // state 113 
break; 