pokecrystal-board/maps/OlivineTimsHouse.asm

42 lines
669 B
NASM

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