OneIsland_MapScripts:: @ 8167484
	map_script MAP_SCRIPT_ON_TRANSITION, OneIsland_OnTransition
	map_script MAP_SCRIPT_ON_FRAME_TABLE, OneIsland_OnFrame
	.byte 0

OneIsland_OnTransition:: @ 816748F
	setworldmapflag FLAG_WORLD_MAP_ONE_ISLAND
	end

OneIsland_OnFrame:: @ 8167493
	map_script_2 VAR_MAP_SCENE_ONE_ISLAND_HARBOR, 2, EventScript_16749D
	.2byte 0

EventScript_16749D:: @ 816749D
	lockall
	textcolor 0
	applymovement OBJ_EVENT_ID_PLAYER, Movement_167505
	waitmovement 0
	msgbox gUnknown_818161B
	closemessage
	applymovement 1, Movement_167507
	applymovement OBJ_EVENT_ID_PLAYER, Movement_1674F4
	waitmovement 0
	opendoor 14, 5
	waitdooranim
	applymovement 1, Movement_167514
	applymovement OBJ_EVENT_ID_PLAYER, Movement_167501
	waitmovement 0
	closedoor 14, 5
	waitdooranim
	removeobject 1
	setvar VAR_MAP_SCENE_ONE_ISLAND_HARBOR, 3
	warp MAP_ONE_ISLAND_POKEMON_CENTER_1F, 255, 9, 9
	waitstate
	releaseall
	end

Movement_1674F4:: @ 81674F4
	walk_up
	walk_up
	walk_up
	walk_up
	walk_up
	walk_right
	walk_right
	walk_up
	walk_up
	walk_up
	walk_up
	walk_up
	step_end

Movement_167501:: @ 8167501
	walk_up
	walk_up
	set_invisible
	step_end

Movement_167505:: @ 8167505
	walk_up
	step_end

Movement_167507:: @ 8167507
	walk_up
	walk_up
	walk_up
	walk_up
	walk_right
	walk_right
	walk_up
	walk_up
	walk_up
	walk_up
	walk_up
	walk_up
	step_end

Movement_167514:: @ 8167514
	walk_up
	set_invisible
	step_end

OneIsland_EventScript_167517:: @ 8167517
	lock
	faceplayer
	goto_if_set FLAG_SYS_CAN_LINK_WITH_RS, EventScript_16753F
	goto_if_set FLAG_SEVII_DETOUR_FINISHED, EventScript_167535
	msgbox gUnknown_818174E
	release
	end

EventScript_167535:: @ 8167535
	msgbox gUnknown_8181858
	release
	end

EventScript_16753F:: @ 816753F
	msgbox gUnknown_8181901
	release
	end

OneIsland_EventScript_167549:: @ 8167549
	msgbox gUnknown_8181A4A, MSGBOX_NPC
	end

OneIsland_EventScript_167552:: @ 8167552
	msgbox gUnknown_81819E1, MSGBOX_SIGN
	end

OneIsland_EventScript_16755B:: @ 816755B
	msgbox gUnknown_8181A0A, MSGBOX_SIGN
	end
