Route110_TrickHousePuzzle1_MapScripts:: @ 8161CF8
	map_script MAP_SCRIPT_ON_LOAD, Route110_TrickHousePuzzle1_MapScript1_161CFE
	.byte 0

Route110_TrickHousePuzzle1_MapScript1_161CFE:: @ 8161CFE
	compare VAR_TRICK_HOUSE_PUZZLE_1_STATE, 2
	goto_if_eq Route110_TrickHousePuzzle1_EventScript_161D0A
	end

Route110_TrickHousePuzzle1_EventScript_161D0A:: @ 8161D0A
	setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
	end

Route110_TrickHousePuzzle1_EventScript_161D14:: @ 8161D14
	lockall
	compare VAR_TRICK_HOUSE_PUZZLE_1_STATE, 0
	goto_if_eq Route110_TrickHousePuzzle1_EventScript_161D26
	goto Route110_TrickHousePuzzle1_EventScript_161892
	end

Route110_TrickHousePuzzle1_EventScript_161D26:: @ 8161D26
	setvar VAR_TRICK_HOUSE_PUZZLE_1_STATE, 1
	goto Route110_TrickHousePuzzle1_EventScript_16189C
	end

Route110_TrickHousePuzzle1_EventScript_161D31:: @ 8161D31
	trainerbattle_single TRAINER_SALLY, Route110_TrickHousePuzzle1_Text_19CB4F, Route110_TrickHousePuzzle1_Text_19CB93
	msgbox Route110_TrickHousePuzzle1_Text_19CBAB, MSGBOX_AUTOCLOSE
	end

Route110_TrickHousePuzzle1_EventScript_161D48:: @ 8161D48
	trainerbattle_single TRAINER_EDDIE, Route110_TrickHousePuzzle1_Text_19CBD6, Route110_TrickHousePuzzle1_Text_19CC06
	msgbox Route110_TrickHousePuzzle1_Text_19CC1B, MSGBOX_AUTOCLOSE
	end

Route110_TrickHousePuzzle1_EventScript_161D5F:: @ 8161D5F
	trainerbattle_single TRAINER_ROBIN, Route110_TrickHousePuzzle1_Text_19CC68, Route110_TrickHousePuzzle1_Text_19CC86
	msgbox Route110_TrickHousePuzzle1_Text_19CCAA, MSGBOX_AUTOCLOSE
	end
