LilycoveCity_DepartmentStoreElevator_MapScripts:: @ 815A39B
	.byte 0

LilycoveCity_DepartmentStoreElevator_EventScript_15A39C:: @ 815A39C
	lock
	faceplayer
	call_if_unset FLAG_TEMP_2, LilycoveCity_DepartmentStoreElevator_EventScript_15A4CF
	copyvar VAR_0x8005, VAR_DEPT_STORE_FLOOR
	special DisplayCurrentElevatorFloor
	message LilycoveCity_DepartmentStoreElevator_Text_1A0EF6
	waitmessage
	multichoice 0, 0, 57, 0
	switch VAR_RESULT
	case 0, LilycoveCity_DepartmentStoreElevator_EventScript_15A402
	case 1, LilycoveCity_DepartmentStoreElevator_EventScript_15A425
	case 2, LilycoveCity_DepartmentStoreElevator_EventScript_15A448
	case 3, LilycoveCity_DepartmentStoreElevator_EventScript_15A46B
	case 4, LilycoveCity_DepartmentStoreElevator_EventScript_15A48E
	case 127, LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	end

LilycoveCity_DepartmentStoreElevator_EventScript_15A402:: @ 815A402
	setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1
	compare VAR_DEPT_STORE_FLOOR, 0
	goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	call LilycoveCity_DepartmentStoreElevator_EventScript_15A4B8
	setvar VAR_DEPT_STORE_FLOOR, 0
	goto LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	end

LilycoveCity_DepartmentStoreElevator_EventScript_15A425:: @ 815A425
	setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1
	compare VAR_DEPT_STORE_FLOOR, 1
	goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	call LilycoveCity_DepartmentStoreElevator_EventScript_15A4B8
	setvar VAR_DEPT_STORE_FLOOR, 1
	goto LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	end

LilycoveCity_DepartmentStoreElevator_EventScript_15A448:: @ 815A448
	setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1
	compare VAR_DEPT_STORE_FLOOR, 2
	goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	call LilycoveCity_DepartmentStoreElevator_EventScript_15A4B8
	setvar VAR_DEPT_STORE_FLOOR, 2
	goto LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	end

LilycoveCity_DepartmentStoreElevator_EventScript_15A46B:: @ 815A46B
	setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1
	compare VAR_DEPT_STORE_FLOOR, 3
	goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	call LilycoveCity_DepartmentStoreElevator_EventScript_15A4B8
	setvar VAR_DEPT_STORE_FLOOR, 3
	goto LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	end

LilycoveCity_DepartmentStoreElevator_EventScript_15A48E:: @ 815A48E
	setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1
	compare VAR_DEPT_STORE_FLOOR, 4
	goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	call LilycoveCity_DepartmentStoreElevator_EventScript_15A4B8
	setvar VAR_DEPT_STORE_FLOOR, 4
	goto LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1
	end

LilycoveCity_DepartmentStoreElevator_EventScript_15A4B1:: @ 815A4B1
	erasebox 0, 0, 29, 19
	release
	end

LilycoveCity_DepartmentStoreElevator_EventScript_15A4B8:: @ 815A4B8
	erasebox 0, 0, 29, 19
	applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
	waitmovement 0
	special ShakeScreenInElevator
	waitstate
	setflag FLAG_TEMP_2
	return

LilycoveCity_DepartmentStoreElevator_EventScript_15A4CF:: @ 815A4CF
	special SetDepartmentStoreFloorVar
	return
