shithub: pokecrystal

ref: 115a5c236d727adec155817626a418c2f66fa498
dir: /maps/OlivineTimsHouse.asm/

View raw version
const_value set 2
	const OLIVINETIMSHOUSE_TIM

OlivineTimsHouse_MapScriptHeader:
.SceneScripts:
	db 0

.MapCallbacks:
	db 0

Tim:
	faceplayer
	opentext
	trade NPCTRADE_TIM
	waitbutton
	closetext
	end

TimsHouseBookshelf:
	jumpstd magazinebookshelf

OlivineTimsHouse_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 2
	warp_def 2, 7, 3, OLIVINE_CITY
	warp_def 3, 7, 3, OLIVINE_CITY

.CoordEvents:
	db 0

.BGEvents:
	db 2
	bg_event 0, 1, BGEVENT_READ, TimsHouseBookshelf
	bg_event 1, 1, BGEVENT_READ, TimsHouseBookshelf

.ObjectEvents:
	db 1
	object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Tim, -1