@LabelIndex 711
@StringIndex 93
class 0 pa36_zone_controller : zone_controller {
parameter:
	int	zone_type = 0;
	int	enter_type = 0;

handler:
	EventHandler CREATED() {
		myself.i_ai0 = 0;
	}

	EventHandler TALKED(talker,i0,s0,party0,c0) {
		myself::ShowPage(talker,fnHi);
		return;
	}

	EventHandler MENU_SELECTED(talker,ask,reply) {
		if( ask == 128 ) {
			if( reply == 2 ) {
				if( zone_type > -1 && enter_type > -1 ) {
					if( myself::GetOneTimeQuestFlag(talker,128) == 0 ) {
						myself::InstantZone_Enter(talker,zone_type,enter_type);
					}
				}
			}
		}
	}

	EventHandler INSTANT_ZONE_ENTER_RETURNED(talker,reply) {
		if( reply == 0 ) {
			myself::ShowPage(talker,fnEnterFailed);
		} else if( reply == 1 ) {
			if( myself::GetOneTimeQuestFlag(talker,128) == 0 ) {
				myself::ShowPage(talker,"pa36_intro_npc_q0128_06a.htm");
			} else {
				return;
			}
		}
	}

}
